1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-14 03:30:18 +00:00
musix-oss/node_modules/@google-cloud/firestore/build/protos/protos.json

4765 lines
158 KiB
JSON
Raw Normal View History

2020-03-03 20:30:50 +00:00
{
"nested": {
"google": {
"nested": {
"firestore": {
"nested": {
"admin": {
"nested": {
"v1": {
"options": {
"csharp_namespace": "Google.Cloud.Firestore.Admin.V1",
"go_package": "google.golang.org/genproto/googleapis/firestore/admin/v1;admin",
"java_multiple_files": true,
"java_outer_classname": "OperationProto",
"java_package": "com.google.firestore.admin.v1",
"objc_class_prefix": "GCFS",
"php_namespace": "Google\\Cloud\\Firestore\\Admin\\V1",
"(google.api.resource_definition).type": "firestore.googleapis.com/CollectionGroup",
"(google.api.resource_definition).pattern": "projects/{project}/databases/{database}/collectionGroups/{collection}"
},
"nested": {
"Index": {
"options": {
"(google.api.resource).type": "firestore.googleapis.com/Index",
"(google.api.resource).pattern": "projects/{project}/databases/{database}/collectionGroups/{collection}/indexes/{index}"
},
"fields": {
"name": {
"type": "string",
"id": 1
},
"queryScope": {
"type": "QueryScope",
"id": 2
},
"fields": {
"rule": "repeated",
"type": "IndexField",
"id": 3
},
"state": {
"type": "State",
"id": 4
}
},
"nested": {
"IndexField": {
"oneofs": {
"valueMode": {
"oneof": [
"order",
"arrayConfig"
]
}
},
"fields": {
"fieldPath": {
"type": "string",
"id": 1
},
"order": {
"type": "Order",
"id": 2
},
"arrayConfig": {
"type": "ArrayConfig",
"id": 3
}
},
"nested": {
"Order": {
"values": {
"ORDER_UNSPECIFIED": 0,
"ASCENDING": 1,
"DESCENDING": 2
}
},
"ArrayConfig": {
"values": {
"ARRAY_CONFIG_UNSPECIFIED": 0,
"CONTAINS": 1
}
}
}
},
"QueryScope": {
"values": {
"QUERY_SCOPE_UNSPECIFIED": 0,
"COLLECTION": 1,
"COLLECTION_GROUP": 2
}
},
"State": {
"values": {
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"READY": 2,
"NEEDS_REPAIR": 3
}
}
}
},
"Field": {
"options": {
"(google.api.resource).type": "firestore.googleapis.com/Field",
"(google.api.resource).pattern": "projects/{project}/databases/{database}/collectionGroups/{collection}/fields/{field}"
},
"fields": {
"name": {
"type": "string",
"id": 1
},
"indexConfig": {
"type": "IndexConfig",
"id": 2
}
},
"nested": {
"IndexConfig": {
"fields": {
"indexes": {
"rule": "repeated",
"type": "Index",
"id": 1
},
"usesAncestorConfig": {
"type": "bool",
"id": 2
},
"ancestorField": {
"type": "string",
"id": 3
},
"reverting": {
"type": "bool",
"id": 4
}
}
}
}
},
"FirestoreAdmin": {
"options": {
"(google.api.default_host)": "firestore.googleapis.com",
"(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/datastore"
},
"methods": {
"CreateIndex": {
"requestType": "CreateIndexRequest",
"responseType": "google.longrunning.Operation",
"options": {
"(google.api.http).post": "/v1/{parent=projects/*/databases/*/collectionGroups/*}/indexes",
"(google.api.http).body": "index",
"(google.api.method_signature)": "parent,index",
"(google.longrunning.operation_info).response_type": "Index",
"(google.longrunning.operation_info).metadata_type": "IndexOperationMetadata"
}
},
"ListIndexes": {
"requestType": "ListIndexesRequest",
"responseType": "ListIndexesResponse",
"options": {
"(google.api.http).get": "/v1/{parent=projects/*/databases/*/collectionGroups/*}/indexes",
"(google.api.method_signature)": "parent"
}
},
"GetIndex": {
"requestType": "GetIndexRequest",
"responseType": "Index",
"options": {
"(google.api.http).get": "/v1/{name=projects/*/databases/*/collectionGroups/*/indexes/*}",
"(google.api.method_signature)": "name"
}
},
"DeleteIndex": {
"requestType": "DeleteIndexRequest",
"responseType": "google.protobuf.Empty",
"options": {
"(google.api.http).delete": "/v1/{name=projects/*/databases/*/collectionGroups/*/indexes/*}",
"(google.api.method_signature)": "name"
}
},
"GetField": {
"requestType": "GetFieldRequest",
"responseType": "Field",
"options": {
"(google.api.http).get": "/v1/{name=projects/*/databases/*/collectionGroups/*/fields/*}",
"(google.api.method_signature)": "name"
}
},
"UpdateField": {
"requestType": "UpdateFieldRequest",
"responseType": "google.longrunning.Operation",
"options": {
"(google.api.http).patch": "/v1/{field.name=projects/*/databases/*/collectionGroups/*/fields/*}",
"(google.api.http).body": "field",
"(google.api.method_signature)": "field",
"(google.longrunning.operation_info).response_type": "Field",
"(google.longrunning.operation_info).metadata_type": "FieldOperationMetadata"
}
},
"ListFields": {
"requestType": "ListFieldsRequest",
"responseType": "ListFieldsResponse",
"options": {
"(google.api.http).get": "/v1/{parent=projects/*/databases/*/collectionGroups/*}/fields",
"(google.api.method_signature)": "parent"
}
},
"ExportDocuments": {
"requestType": "ExportDocumentsRequest",
"responseType": "google.longrunning.Operation",
"options": {
"(google.api.http).post": "/v1/{name=projects/*/databases/*}:exportDocuments",
"(google.api.http).body": "*",
"(google.api.method_signature)": "name",
"(google.longrunning.operation_info).response_type": "ExportDocumentsResponse",
"(google.longrunning.operation_info).metadata_type": "ExportDocumentsMetadata"
}
},
"ImportDocuments": {
"requestType": "ImportDocumentsRequest",
"responseType": "google.longrunning.Operation",
"options": {
"(google.api.http).post": "/v1/{name=projects/*/databases/*}:importDocuments",
"(google.api.http).body": "*",
"(google.api.method_signature)": "name",
"(google.longrunning.operation_info).response_type": "google.protobuf.Empty",
"(google.longrunning.operation_info).metadata_type": "ImportDocumentsMetadata"
}
}
}
},
"CreateIndexRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "firestore.googleapis.com/CollectionGroup"
}
},
"index": {
"type": "Index",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
}
}
},
"ListIndexesRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "firestore.googleapis.com/CollectionGroup"
}
},
"filter": {
"type": "string",
"id": 2
},
"pageSize": {
"type": "int32",
"id": 3
},
"pageToken": {
"type": "string",
"id": 4
}
}
},
"ListIndexesResponse": {
"fields": {
"indexes": {
"rule": "repeated",
"type": "Index",
"id": 1
},
"nextPageToken": {
"type": "string",
"id": 2
}
}
},
"GetIndexRequest": {
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "firestore.googleapis.com/Index"
}
}
}
},
"DeleteIndexRequest": {
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "firestore.googleapis.com/Index"
}
}
}
},
"UpdateFieldRequest": {
"fields": {
"field": {
"type": "Field",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"updateMask": {
"type": "google.protobuf.FieldMask",
"id": 2
}
}
},
"GetFieldRequest": {
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "firestore.googleapis.com/Field"
}
}
}
},
"ListFieldsRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "firestore.googleapis.com/CollectionGroup"
}
},
"filter": {
"type": "string",
"id": 2
},
"pageSize": {
"type": "int32",
"id": 3
},
"pageToken": {
"type": "string",
"id": 4
}
}
},
"ListFieldsResponse": {
"fields": {
"fields": {
"rule": "repeated",
"type": "Field",
"id": 1
},
"nextPageToken": {
"type": "string",
"id": 2
}
}
},
"ExportDocumentsRequest": {
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "firestore.googleapis.com/Database"
}
},
"collectionIds": {
"rule": "repeated",
"type": "string",
"id": 2
},
"outputUriPrefix": {
"type": "string",
"id": 3
}
}
},
"ImportDocumentsRequest": {
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "firestore.googleapis.com/Database"
}
},
"collectionIds": {
"rule": "repeated",
"type": "string",
"id": 2
},
"inputUriPrefix": {
"type": "string",
"id": 3
}
}
},
"LocationMetadata": {
"fields": {}
},
"IndexOperationMetadata": {
"fields": {
"startTime": {
"type": "google.protobuf.Timestamp",
"id": 1
},
"endTime": {
"type": "google.protobuf.Timestamp",
"id": 2
},
"index": {
"type": "string",
"id": 3
},
"state": {
"type": "OperationState",
"id": 4
},
"progressDocuments": {
"type": "Progress",
"id": 5
},
"progressBytes": {
"type": "Progress",
"id": 6
}
}
},
"FieldOperationMetadata": {
"fields": {
"startTime": {
"type": "google.protobuf.Timestamp",
"id": 1
},
"endTime": {
"type": "google.protobuf.Timestamp",
"id": 2
},
"field": {
"type": "string",
"id": 3
},
"indexConfigDeltas": {
"rule": "repeated",
"type": "IndexConfigDelta",
"id": 4
},
"state": {
"type": "OperationState",
"id": 5
},
"progressDocuments": {
"type": "Progress",
"id": 6
},
"progressBytes": {
"type": "Progress",
"id": 7
}
},
"nested": {
"IndexConfigDelta": {
"fields": {
"changeType": {
"type": "ChangeType",
"id": 1
},
"index": {
"type": "Index",
"id": 2
}
},
"nested": {
"ChangeType": {
"values": {
"CHANGE_TYPE_UNSPECIFIED": 0,
"ADD": 1,
"REMOVE": 2
}
}
}
}
}
},
"ExportDocumentsMetadata": {
"fields": {
"startTime": {
"type": "google.protobuf.Timestamp",
"id": 1
},
"endTime": {
"type": "google.protobuf.Timestamp",
"id": 2
},
"operationState": {
"type": "OperationState",
"id": 3
},
"progressDocuments": {
"type": "Progress",
"id": 4
},
"progressBytes": {
"type": "Progress",
"id": 5
},
"collectionIds": {
"rule": "repeated",
"type": "string",
"id": 6
},
"outputUriPrefix": {
"type": "string",
"id": 7
}
}
},
"ImportDocumentsMetadata": {
"fields": {
"startTime": {
"type": "google.protobuf.Timestamp",
"id": 1
},
"endTime": {
"type": "google.protobuf.Timestamp",
"id": 2
},
"operationState": {
"type": "OperationState",
"id": 3
},
"progressDocuments": {
"type": "Progress",
"id": 4
},
"progressBytes": {
"type": "Progress",
"id": 5
},
"collectionIds": {
"rule": "repeated",
"type": "string",
"id": 6
},
"inputUriPrefix": {
"type": "string",
"id": 7
}
}
},
"ExportDocumentsResponse": {
"fields": {
"outputUriPrefix": {
"type": "string",
"id": 1
}
}
},
"Progress": {
"fields": {
"estimatedWork": {
"type": "int64",
"id": 1
},
"completedWork": {
"type": "int64",
"id": 2
}
}
},
"OperationState": {
"values": {
"OPERATION_STATE_UNSPECIFIED": 0,
"INITIALIZING": 1,
"PROCESSING": 2,
"CANCELLING": 3,
"FINALIZING": 4,
"SUCCESSFUL": 5,
"FAILED": 6,
"CANCELLED": 7
}
}
}
}
}
},
"v1": {
"options": {
"csharp_namespace": "Google.Cloud.Firestore.V1",
"go_package": "google.golang.org/genproto/googleapis/firestore/v1;firestore",
"java_multiple_files": true,
"java_outer_classname": "FirestoreProto",
"java_package": "com.google.firestore.v1",
"objc_class_prefix": "GCFS",
"php_namespace": "Google\\Cloud\\Firestore\\V1"
},
"nested": {
"DocumentMask": {
"fields": {
"fieldPaths": {
"rule": "repeated",
"type": "string",
"id": 1
}
}
},
"Precondition": {
"oneofs": {
"conditionType": {
"oneof": [
"exists",
"updateTime"
]
}
},
"fields": {
"exists": {
"type": "bool",
"id": 1
},
"updateTime": {
"type": "google.protobuf.Timestamp",
"id": 2
}
}
},
"TransactionOptions": {
"oneofs": {
"mode": {
"oneof": [
"readOnly",
"readWrite"
]
}
},
"fields": {
"readOnly": {
"type": "ReadOnly",
"id": 2
},
"readWrite": {
"type": "ReadWrite",
"id": 3
}
},
"nested": {
"ReadWrite": {
"fields": {
"retryTransaction": {
"type": "bytes",
"id": 1
}
}
},
"ReadOnly": {
"oneofs": {
"consistencySelector": {
"oneof": [
"readTime"
]
}
},
"fields": {
"readTime": {
"type": "google.protobuf.Timestamp",
"id": 2
}
}
}
}
},
"Document": {
"fields": {
"name": {
"type": "string",
"id": 1
},
"fields": {
"keyType": "string",
"type": "Value",
"id": 2
},
"createTime": {
"type": "google.protobuf.Timestamp",
"id": 3
},
"updateTime": {
"type": "google.protobuf.Timestamp",
"id": 4
}
}
},
"Value": {
"oneofs": {
"valueType": {
"oneof": [
"nullValue",
"booleanValue",
"integerValue",
"doubleValue",
"timestampValue",
"stringValue",
"bytesValue",
"referenceValue",
"geoPointValue",
"arrayValue",
"mapValue"
]
}
},
"fields": {
"nullValue": {
"type": "google.protobuf.NullValue",
"id": 11
},
"booleanValue": {
"type": "bool",
"id": 1
},
"integerValue": {
"type": "int64",
"id": 2
},
"doubleValue": {
"type": "double",
"id": 3
},
"timestampValue": {
"type": "google.protobuf.Timestamp",
"id": 10
},
"stringValue": {
"type": "string",
"id": 17
},
"bytesValue": {
"type": "bytes",
"id": 18
},
"referenceValue": {
"type": "string",
"id": 5
},
"geoPointValue": {
"type": "google.type.LatLng",
"id": 8
},
"arrayValue": {
"type": "ArrayValue",
"id": 9
},
"mapValue": {
"type": "MapValue",
"id": 6
}
}
},
"ArrayValue": {
"fields": {
"values": {
"rule": "repeated",
"type": "Value",
"id": 1
}
}
},
"MapValue": {
"fields": {
"fields": {
"keyType": "string",
"type": "Value",
"id": 1
}
}
},
"Write": {
"oneofs": {
"operation": {
"oneof": [
"update",
"delete",
"transform"
]
}
},
"fields": {
"update": {
"type": "Document",
"id": 1
},
"delete": {
"type": "string",
"id": 2
},
"transform": {
"type": "DocumentTransform",
"id": 6
},
"updateMask": {
"type": "DocumentMask",
"id": 3
},
"currentDocument": {
"type": "Precondition",
"id": 4
}
}
},
"DocumentTransform": {
"fields": {
"document": {
"type": "string",
"id": 1
},
"fieldTransforms": {
"rule": "repeated",
"type": "FieldTransform",
"id": 2
}
},
"nested": {
"FieldTransform": {
"oneofs": {
"transformType": {
"oneof": [
"setToServerValue",
"increment",
"maximum",
"minimum",
"appendMissingElements",
"removeAllFromArray"
]
}
},
"fields": {
"fieldPath": {
"type": "string",
"id": 1
},
"setToServerValue": {
"type": "ServerValue",
"id": 2
},
"increment": {
"type": "Value",
"id": 3
},
"maximum": {
"type": "Value",
"id": 4
},
"minimum": {
"type": "Value",
"id": 5
},
"appendMissingElements": {
"type": "ArrayValue",
"id": 6
},
"removeAllFromArray": {
"type": "ArrayValue",
"id": 7
}
},
"nested": {
"ServerValue": {
"values": {
"SERVER_VALUE_UNSPECIFIED": 0,
"REQUEST_TIME": 1
}
}
}
}
}
},
"WriteResult": {
"fields": {
"updateTime": {
"type": "google.protobuf.Timestamp",
"id": 1
},
"transformResults": {
"rule": "repeated",
"type": "Value",
"id": 2
}
}
},
"DocumentChange": {
"fields": {
"document": {
"type": "Document",
"id": 1
},
"targetIds": {
"rule": "repeated",
"type": "int32",
"id": 5
},
"removedTargetIds": {
"rule": "repeated",
"type": "int32",
"id": 6
}
}
},
"DocumentDelete": {
"fields": {
"document": {
"type": "string",
"id": 1
},
"removedTargetIds": {
"rule": "repeated",
"type": "int32",
"id": 6
},
"readTime": {
"type": "google.protobuf.Timestamp",
"id": 4
}
}
},
"DocumentRemove": {
"fields": {
"document": {
"type": "string",
"id": 1
},
"removedTargetIds": {
"rule": "repeated",
"type": "int32",
"id": 2
},
"readTime": {
"type": "google.protobuf.Timestamp",
"id": 4
}
}
},
"ExistenceFilter": {
"fields": {
"targetId": {
"type": "int32",
"id": 1
},
"count": {
"type": "int32",
"id": 2
}
}
},
"StructuredQuery": {
"fields": {
"select": {
"type": "Projection",
"id": 1
},
"from": {
"rule": "repeated",
"type": "CollectionSelector",
"id": 2
},
"where": {
"type": "Filter",
"id": 3
},
"orderBy": {
"rule": "repeated",
"type": "Order",
"id": 4
},
"startAt": {
"type": "Cursor",
"id": 7
},
"endAt": {
"type": "Cursor",
"id": 8
},
"offset": {
"type": "int32",
"id": 6
},
"limit": {
"type": "google.protobuf.Int32Value",
"id": 5
}
},
"nested": {
"CollectionSelector": {
"fields": {
"collectionId": {
"type": "string",
"id": 2
},
"allDescendants": {
"type": "bool",
"id": 3
}
}
},
"Filter": {
"oneofs": {
"filterType": {
"oneof": [
"compositeFilter",
"fieldFilter",
"unaryFilter"
]
}
},
"fields": {
"compositeFilter": {
"type": "CompositeFilter",
"id": 1
},
"fieldFilter": {
"type": "FieldFilter",
"id": 2
},
"unaryFilter": {
"type": "UnaryFilter",
"id": 3
}
}
},
"CompositeFilter": {
"fields": {
"op": {
"type": "Operator",
"id": 1
},
"filters": {
"rule": "repeated",
"type": "Filter",
"id": 2
}
},
"nested": {
"Operator": {
"values": {
"OPERATOR_UNSPECIFIED": 0,
"AND": 1
}
}
}
},
"FieldFilter": {
"fields": {
"field": {
"type": "FieldReference",
"id": 1
},
"op": {
"type": "Operator",
"id": 2
},
"value": {
"type": "Value",
"id": 3
}
},
"nested": {
"Operator": {
"values": {
"OPERATOR_UNSPECIFIED": 0,
"LESS_THAN": 1,
"LESS_THAN_OR_EQUAL": 2,
"GREATER_THAN": 3,
"GREATER_THAN_OR_EQUAL": 4,
"EQUAL": 5,
"ARRAY_CONTAINS": 7,
"IN": 8,
"ARRAY_CONTAINS_ANY": 9
}
}
}
},
"UnaryFilter": {
"oneofs": {
"operandType": {
"oneof": [
"field"
]
}
},
"fields": {
"op": {
"type": "Operator",
"id": 1
},
"field": {
"type": "FieldReference",
"id": 2
}
},
"nested": {
"Operator": {
"values": {
"OPERATOR_UNSPECIFIED": 0,
"IS_NAN": 2,
"IS_NULL": 3
}
}
}
},
"Order": {
"fields": {
"field": {
"type": "FieldReference",
"id": 1
},
"direction": {
"type": "Direction",
"id": 2
}
}
},
"FieldReference": {
"fields": {
"fieldPath": {
"type": "string",
"id": 2
}
}
},
"Projection": {
"fields": {
"fields": {
"rule": "repeated",
"type": "FieldReference",
"id": 2
}
}
},
"Direction": {
"values": {
"DIRECTION_UNSPECIFIED": 0,
"ASCENDING": 1,
"DESCENDING": 2
}
}
}
},
"Cursor": {
"fields": {
"values": {
"rule": "repeated",
"type": "Value",
"id": 1
},
"before": {
"type": "bool",
"id": 2
}
}
},
"Firestore": {
"options": {
"(google.api.default_host)": "firestore.googleapis.com",
"(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/datastore"
},
"methods": {
"GetDocument": {
"requestType": "GetDocumentRequest",
"responseType": "Document",
"options": {
"(google.api.http).get": "/v1/{name=projects/*/databases/*/documents/*/**}"
}
},
"ListDocuments": {
"requestType": "ListDocumentsRequest",
"responseType": "ListDocumentsResponse",
"options": {
"(google.api.http).get": "/v1/{parent=projects/*/databases/*/documents/*/**}/{collection_id}"
}
},
"CreateDocument": {
"requestType": "CreateDocumentRequest",
"responseType": "Document",
"options": {
"(google.api.http).post": "/v1/{parent=projects/*/databases/*/documents/**}/{collection_id}",
"(google.api.http).body": "document"
}
},
"UpdateDocument": {
"requestType": "UpdateDocumentRequest",
"responseType": "Document",
"options": {
"(google.api.http).patch": "/v1/{document.name=projects/*/databases/*/documents/*/**}",
"(google.api.http).body": "document",
"(google.api.method_signature)": "document,update_mask"
}
},
"DeleteDocument": {
"requestType": "DeleteDocumentRequest",
"responseType": "google.protobuf.Empty",
"options": {
"(google.api.http).delete": "/v1/{name=projects/*/databases/*/documents/*/**}",
"(google.api.method_signature)": "name"
}
},
"BatchGetDocuments": {
"requestType": "BatchGetDocumentsRequest",
"responseType": "BatchGetDocumentsResponse",
"responseStream": true,
"options": {
"(google.api.http).post": "/v1/{database=projects/*/databases/*}/documents:batchGet",
"(google.api.http).body": "*"
}
},
"BeginTransaction": {
"requestType": "BeginTransactionRequest",
"responseType": "BeginTransactionResponse",
"options": {
"(google.api.http).post": "/v1/{database=projects/*/databases/*}/documents:beginTransaction",
"(google.api.http).body": "*",
"(google.api.method_signature)": "database"
}
},
"Commit": {
"requestType": "CommitRequest",
"responseType": "CommitResponse",
"options": {
"(google.api.http).post": "/v1/{database=projects/*/databases/*}/documents:commit",
"(google.api.http).body": "*",
"(google.api.method_signature)": "database,writes"
}
},
"Rollback": {
"requestType": "RollbackRequest",
"responseType": "google.protobuf.Empty",
"options": {
"(google.api.http).post": "/v1/{database=projects/*/databases/*}/documents:rollback",
"(google.api.http).body": "*",
"(google.api.method_signature)": "database,transaction"
}
},
"RunQuery": {
"requestType": "RunQueryRequest",
"responseType": "RunQueryResponse",
"responseStream": true,
"options": {
"(google.api.http).post": "/v1/{parent=projects/*/databases/*/documents}:runQuery",
"(google.api.http).body": "*",
"(google.api.http).additional_bindings.post": "/v1/{parent=projects/*/databases/*/documents/*/**}:runQuery",
"(google.api.http).additional_bindings.body": "*"
}
},
"Write": {
"requestType": "WriteRequest",
"requestStream": true,
"responseType": "WriteResponse",
"responseStream": true,
"options": {
"(google.api.http).post": "/v1/{database=projects/*/databases/*}/documents:write",
"(google.api.http).body": "*"
}
},
"Listen": {
"requestType": "ListenRequest",
"requestStream": true,
"responseType": "ListenResponse",
"responseStream": true,
"options": {
"(google.api.http).post": "/v1/{database=projects/*/databases/*}/documents:listen",
"(google.api.http).body": "*"
}
},
"ListCollectionIds": {
"requestType": "ListCollectionIdsRequest",
"responseType": "ListCollectionIdsResponse",
"options": {
"(google.api.http).post": "/v1/{parent=projects/*/databases/*/documents}:listCollectionIds",
"(google.api.http).body": "*",
"(google.api.http).additional_bindings.post": "/v1/{parent=projects/*/databases/*/documents/*/**}:listCollectionIds",
"(google.api.http).additional_bindings.body": "*",
"(google.api.method_signature)": "parent"
}
}
}
},
"GetDocumentRequest": {
"oneofs": {
"consistencySelector": {
"oneof": [
"transaction",
"readTime"
]
}
},
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"mask": {
"type": "DocumentMask",
"id": 2
},
"transaction": {
"type": "bytes",
"id": 3
},
"readTime": {
"type": "google.protobuf.Timestamp",
"id": 5
}
}
},
"ListDocumentsRequest": {
"oneofs": {
"consistencySelector": {
"oneof": [
"transaction",
"readTime"
]
}
},
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"collectionId": {
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"pageSize": {
"type": "int32",
"id": 3
},
"pageToken": {
"type": "string",
"id": 4
},
"orderBy": {
"type": "string",
"id": 6
},
"mask": {
"type": "DocumentMask",
"id": 7
},
"transaction": {
"type": "bytes",
"id": 8
},
"readTime": {
"type": "google.protobuf.Timestamp",
"id": 10
},
"showMissing": {
"type": "bool",
"id": 12
}
}
},
"ListDocumentsResponse": {
"fields": {
"documents": {
"rule": "repeated",
"type": "Document",
"id": 1
},
"nextPageToken": {
"type": "string",
"id": 2
}
}
},
"CreateDocumentRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"collectionId": {
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"documentId": {
"type": "string",
"id": 3
},
"document": {
"type": "Document",
"id": 4,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"mask": {
"type": "DocumentMask",
"id": 5
}
}
},
"UpdateDocumentRequest": {
"fields": {
"document": {
"type": "Document",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"updateMask": {
"type": "DocumentMask",
"id": 2
},
"mask": {
"type": "DocumentMask",
"id": 3
},
"currentDocument": {
"type": "Precondition",
"id": 4
}
}
},
"DeleteDocumentRequest": {
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"currentDocument": {
"type": "Precondition",
"id": 2
}
}
},
"BatchGetDocumentsRequest": {
"oneofs": {
"consistencySelector": {
"oneof": [
"transaction",
"newTransaction",
"readTime"
]
}
},
"fields": {
"database": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"documents": {
"rule": "repeated",
"type": "string",
"id": 2
},
"mask": {
"type": "DocumentMask",
"id": 3
},
"transaction": {
"type": "bytes",
"id": 4
},
"newTransaction": {
"type": "TransactionOptions",
"id": 5
},
"readTime": {
"type": "google.protobuf.Timestamp",
"id": 7
}
}
},
"BatchGetDocumentsResponse": {
"oneofs": {
"result": {
"oneof": [
"found",
"missing"
]
}
},
"fields": {
"found": {
"type": "Document",
"id": 1
},
"missing": {
"type": "string",
"id": 2
},
"transaction": {
"type": "bytes",
"id": 3
},
"readTime": {
"type": "google.protobuf.Timestamp",
"id": 4
}
}
},
"BeginTransactionRequest": {
"fields": {
"database": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"options": {
"type": "TransactionOptions",
"id": 2
}
}
},
"BeginTransactionResponse": {
"fields": {
"transaction": {
"type": "bytes",
"id": 1
}
}
},
"CommitRequest": {
"fields": {
"database": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"writes": {
"rule": "repeated",
"type": "Write",
"id": 2
},
"transaction": {
"type": "bytes",
"id": 3
}
}
},
"CommitResponse": {
"fields": {
"writeResults": {
"rule": "repeated",
"type": "WriteResult",
"id": 1
},
"commitTime": {
"type": "google.protobuf.Timestamp",
"id": 2
}
}
},
"RollbackRequest": {
"fields": {
"database": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"transaction": {
"type": "bytes",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
}
}
},
"RunQueryRequest": {
"oneofs": {
"queryType": {
"oneof": [
"structuredQuery"
]
},
"consistencySelector": {
"oneof": [
"transaction",
"newTransaction",
"readTime"
]
}
},
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"structuredQuery": {
"type": "StructuredQuery",
"id": 2
},
"transaction": {
"type": "bytes",
"id": 5
},
"newTransaction": {
"type": "TransactionOptions",
"id": 6
},
"readTime": {
"type": "google.protobuf.Timestamp",
"id": 7
}
}
},
"RunQueryResponse": {
"fields": {
"transaction": {
"type": "bytes",
"id": 2
},
"document": {
"type": "Document",
"id": 1
},
"readTime": {
"type": "google.protobuf.Timestamp",
"id": 3
},
"skippedResults": {
"type": "int32",
"id": 4
}
}
},
"WriteRequest": {
"fields": {
"database": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"streamId": {
"type": "string",
"id": 2
},
"writes": {
"rule": "repeated",
"type": "Write",
"id": 3
},
"streamToken": {
"type": "bytes",
"id": 4
},
"labels": {
"keyType": "string",
"type": "string",
"id": 5
}
}
},
"WriteResponse": {
"fields": {
"streamId": {
"type": "string",
"id": 1
},
"streamToken": {
"type": "bytes",
"id": 2
},
"writeResults": {
"rule": "repeated",
"type": "WriteResult",
"id": 3
},
"commitTime": {
"type": "google.protobuf.Timestamp",
"id": 4
}
}
},
"ListenRequest": {
"oneofs": {
"targetChange": {
"oneof": [
"addTarget",
"removeTarget"
]
}
},
"fields": {
"database": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"addTarget": {
"type": "Target",
"id": 2
},
"removeTarget": {
"type": "int32",
"id": 3
},
"labels": {
"keyType": "string",
"type": "string",
"id": 4
}
}
},
"ListenResponse": {
"oneofs": {
"responseType": {
"oneof": [
"targetChange",
"documentChange",
"documentDelete",
"documentRemove",
"filter"
]
}
},
"fields": {
"targetChange": {
"type": "TargetChange",
"id": 2
},
"documentChange": {
"type": "DocumentChange",
"id": 3
},
"documentDelete": {
"type": "DocumentDelete",
"id": 4
},
"documentRemove": {
"type": "DocumentRemove",
"id": 6
},
"filter": {
"type": "ExistenceFilter",
"id": 5
}
}
},
"Target": {
"oneofs": {
"targetType": {
"oneof": [
"query",
"documents"
]
},
"resumeType": {
"oneof": [
"resumeToken",
"readTime"
]
}
},
"fields": {
"query": {
"type": "QueryTarget",
"id": 2
},
"documents": {
"type": "DocumentsTarget",
"id": 3
},
"resumeToken": {
"type": "bytes",
"id": 4
},
"readTime": {
"type": "google.protobuf.Timestamp",
"id": 11
},
"targetId": {
"type": "int32",
"id": 5
},
"once": {
"type": "bool",
"id": 6
}
},
"nested": {
"DocumentsTarget": {
"fields": {
"documents": {
"rule": "repeated",
"type": "string",
"id": 2
}
}
},
"QueryTarget": {
"oneofs": {
"queryType": {
"oneof": [
"structuredQuery"
]
}
},
"fields": {
"parent": {
"type": "string",
"id": 1
},
"structuredQuery": {
"type": "StructuredQuery",
"id": 2
}
}
}
}
},
"TargetChange": {
"fields": {
"targetChangeType": {
"type": "TargetChangeType",
"id": 1
},
"targetIds": {
"rule": "repeated",
"type": "int32",
"id": 2
},
"cause": {
"type": "google.rpc.Status",
"id": 3
},
"resumeToken": {
"type": "bytes",
"id": 4
},
"readTime": {
"type": "google.protobuf.Timestamp",
"id": 6
}
},
"nested": {
"TargetChangeType": {
"values": {
"NO_CHANGE": 0,
"ADD": 1,
"REMOVE": 2,
"CURRENT": 3,
"RESET": 4
}
}
}
},
"ListCollectionIdsRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"pageSize": {
"type": "int32",
"id": 2
},
"pageToken": {
"type": "string",
"id": 3
}
}
},
"ListCollectionIdsResponse": {
"fields": {
"collectionIds": {
"rule": "repeated",
"type": "string",
"id": 1
},
"nextPageToken": {
"type": "string",
"id": 2
}
}
}
}
},
"v1beta1": {
"options": {
"csharp_namespace": "Google.Cloud.Firestore.V1Beta1",
"go_package": "google.golang.org/genproto/googleapis/firestore/v1beta1;firestore",
"java_multiple_files": true,
"java_outer_classname": "FirestoreProto",
"java_package": "com.google.firestore.v1beta1",
"objc_class_prefix": "GCFS",
"php_namespace": "Google\\Cloud\\Firestore\\V1beta1"
},
"nested": {
"DocumentMask": {
"fields": {
"fieldPaths": {
"rule": "repeated",
"type": "string",
"id": 1
}
}
},
"Precondition": {
"oneofs": {
"conditionType": {
"oneof": [
"exists",
"updateTime"
]
}
},
"fields": {
"exists": {
"type": "bool",
"id": 1
},
"updateTime": {
"type": "google.protobuf.Timestamp",
"id": 2
}
}
},
"TransactionOptions": {
"oneofs": {
"mode": {
"oneof": [
"readOnly",
"readWrite"
]
}
},
"fields": {
"readOnly": {
"type": "ReadOnly",
"id": 2
},
"readWrite": {
"type": "ReadWrite",
"id": 3
}
},
"nested": {
"ReadWrite": {
"fields": {
"retryTransaction": {
"type": "bytes",
"id": 1
}
}
},
"ReadOnly": {
"oneofs": {
"consistencySelector": {
"oneof": [
"readTime"
]
}
},
"fields": {
"readTime": {
"type": "google.protobuf.Timestamp",
"id": 2
}
}
}
}
},
"Document": {
"fields": {
"name": {
"type": "string",
"id": 1
},
"fields": {
"keyType": "string",
"type": "Value",
"id": 2
},
"createTime": {
"type": "google.protobuf.Timestamp",
"id": 3
},
"updateTime": {
"type": "google.protobuf.Timestamp",
"id": 4
}
}
},
"Value": {
"oneofs": {
"valueType": {
"oneof": [
"nullValue",
"booleanValue",
"integerValue",
"doubleValue",
"timestampValue",
"stringValue",
"bytesValue",
"referenceValue",
"geoPointValue",
"arrayValue",
"mapValue"
]
}
},
"fields": {
"nullValue": {
"type": "google.protobuf.NullValue",
"id": 11
},
"booleanValue": {
"type": "bool",
"id": 1
},
"integerValue": {
"type": "int64",
"id": 2
},
"doubleValue": {
"type": "double",
"id": 3
},
"timestampValue": {
"type": "google.protobuf.Timestamp",
"id": 10
},
"stringValue": {
"type": "string",
"id": 17
},
"bytesValue": {
"type": "bytes",
"id": 18
},
"referenceValue": {
"type": "string",
"id": 5
},
"geoPointValue": {
"type": "google.type.LatLng",
"id": 8
},
"arrayValue": {
"type": "ArrayValue",
"id": 9
},
"mapValue": {
"type": "MapValue",
"id": 6
}
}
},
"ArrayValue": {
"fields": {
"values": {
"rule": "repeated",
"type": "Value",
"id": 1
}
}
},
"MapValue": {
"fields": {
"fields": {
"keyType": "string",
"type": "Value",
"id": 1
}
}
},
"Write": {
"oneofs": {
"operation": {
"oneof": [
"update",
"delete",
"transform"
]
}
},
"fields": {
"update": {
"type": "Document",
"id": 1
},
"delete": {
"type": "string",
"id": 2
},
"transform": {
"type": "DocumentTransform",
"id": 6
},
"updateMask": {
"type": "DocumentMask",
"id": 3
},
"currentDocument": {
"type": "Precondition",
"id": 4
}
}
},
"DocumentTransform": {
"fields": {
"document": {
"type": "string",
"id": 1
},
"fieldTransforms": {
"rule": "repeated",
"type": "FieldTransform",
"id": 2
}
},
"nested": {
"FieldTransform": {
"oneofs": {
"transformType": {
"oneof": [
"setToServerValue",
"increment",
"maximum",
"minimum",
"appendMissingElements",
"removeAllFromArray"
]
}
},
"fields": {
"fieldPath": {
"type": "string",
"id": 1
},
"setToServerValue": {
"type": "ServerValue",
"id": 2
},
"increment": {
"type": "Value",
"id": 3
},
"maximum": {
"type": "Value",
"id": 4
},
"minimum": {
"type": "Value",
"id": 5
},
"appendMissingElements": {
"type": "ArrayValue",
"id": 6
},
"removeAllFromArray": {
"type": "ArrayValue",
"id": 7
}
},
"nested": {
"ServerValue": {
"values": {
"SERVER_VALUE_UNSPECIFIED": 0,
"REQUEST_TIME": 1
}
}
}
}
}
},
"WriteResult": {
"fields": {
"updateTime": {
"type": "google.protobuf.Timestamp",
"id": 1
},
"transformResults": {
"rule": "repeated",
"type": "Value",
"id": 2
}
}
},
"DocumentChange": {
"fields": {
"document": {
"type": "Document",
"id": 1
},
"targetIds": {
"rule": "repeated",
"type": "int32",
"id": 5
},
"removedTargetIds": {
"rule": "repeated",
"type": "int32",
"id": 6
}
}
},
"DocumentDelete": {
"fields": {
"document": {
"type": "string",
"id": 1
},
"removedTargetIds": {
"rule": "repeated",
"type": "int32",
"id": 6
},
"readTime": {
"type": "google.protobuf.Timestamp",
"id": 4
}
}
},
"DocumentRemove": {
"fields": {
"document": {
"type": "string",
"id": 1
},
"removedTargetIds": {
"rule": "repeated",
"type": "int32",
"id": 2
},
"readTime": {
"type": "google.protobuf.Timestamp",
"id": 4
}
}
},
"ExistenceFilter": {
"fields": {
"targetId": {
"type": "int32",
"id": 1
},
"count": {
"type": "int32",
"id": 2
}
}
},
"StructuredQuery": {
"fields": {
"select": {
"type": "Projection",
"id": 1
},
"from": {
"rule": "repeated",
"type": "CollectionSelector",
"id": 2
},
"where": {
"type": "Filter",
"id": 3
},
"orderBy": {
"rule": "repeated",
"type": "Order",
"id": 4
},
"startAt": {
"type": "Cursor",
"id": 7
},
"endAt": {
"type": "Cursor",
"id": 8
},
"offset": {
"type": "int32",
"id": 6
},
"limit": {
"type": "google.protobuf.Int32Value",
"id": 5
}
},
"nested": {
"CollectionSelector": {
"fields": {
"collectionId": {
"type": "string",
"id": 2
},
"allDescendants": {
"type": "bool",
"id": 3
}
}
},
"Filter": {
"oneofs": {
"filterType": {
"oneof": [
"compositeFilter",
"fieldFilter",
"unaryFilter"
]
}
},
"fields": {
"compositeFilter": {
"type": "CompositeFilter",
"id": 1
},
"fieldFilter": {
"type": "FieldFilter",
"id": 2
},
"unaryFilter": {
"type": "UnaryFilter",
"id": 3
}
}
},
"CompositeFilter": {
"fields": {
"op": {
"type": "Operator",
"id": 1
},
"filters": {
"rule": "repeated",
"type": "Filter",
"id": 2
}
},
"nested": {
"Operator": {
"values": {
"OPERATOR_UNSPECIFIED": 0,
"AND": 1
}
}
}
},
"FieldFilter": {
"fields": {
"field": {
"type": "FieldReference",
"id": 1
},
"op": {
"type": "Operator",
"id": 2
},
"value": {
"type": "Value",
"id": 3
}
},
"nested": {
"Operator": {
"values": {
"OPERATOR_UNSPECIFIED": 0,
"LESS_THAN": 1,
"LESS_THAN_OR_EQUAL": 2,
"GREATER_THAN": 3,
"GREATER_THAN_OR_EQUAL": 4,
"EQUAL": 5,
"ARRAY_CONTAINS": 7,
"IN": 8,
"ARRAY_CONTAINS_ANY": 9
}
}
}
},
"UnaryFilter": {
"oneofs": {
"operandType": {
"oneof": [
"field"
]
}
},
"fields": {
"op": {
"type": "Operator",
"id": 1
},
"field": {
"type": "FieldReference",
"id": 2
}
},
"nested": {
"Operator": {
"values": {
"OPERATOR_UNSPECIFIED": 0,
"IS_NAN": 2,
"IS_NULL": 3
}
}
}
},
"Order": {
"fields": {
"field": {
"type": "FieldReference",
"id": 1
},
"direction": {
"type": "Direction",
"id": 2
}
}
},
"FieldReference": {
"fields": {
"fieldPath": {
"type": "string",
"id": 2
}
}
},
"Projection": {
"fields": {
"fields": {
"rule": "repeated",
"type": "FieldReference",
"id": 2
}
}
},
"Direction": {
"values": {
"DIRECTION_UNSPECIFIED": 0,
"ASCENDING": 1,
"DESCENDING": 2
}
}
}
},
"Cursor": {
"fields": {
"values": {
"rule": "repeated",
"type": "Value",
"id": 1
},
"before": {
"type": "bool",
"id": 2
}
}
},
"Firestore": {
"options": {
"(google.api.default_host)": "firestore.googleapis.com",
"(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/datastore"
},
"methods": {
"GetDocument": {
"requestType": "GetDocumentRequest",
"responseType": "Document",
"options": {
"(google.api.http).get": "/v1beta1/{name=projects/*/databases/*/documents/*/**}"
}
},
"ListDocuments": {
"requestType": "ListDocumentsRequest",
"responseType": "ListDocumentsResponse",
"options": {
"(google.api.http).get": "/v1beta1/{parent=projects/*/databases/*/documents/*/**}/{collection_id}"
}
},
"CreateDocument": {
"requestType": "CreateDocumentRequest",
"responseType": "Document",
"options": {
"(google.api.http).post": "/v1beta1/{parent=projects/*/databases/*/documents/**}/{collection_id}",
"(google.api.http).body": "document"
}
},
"UpdateDocument": {
"requestType": "UpdateDocumentRequest",
"responseType": "Document",
"options": {
"(google.api.http).patch": "/v1beta1/{document.name=projects/*/databases/*/documents/*/**}",
"(google.api.http).body": "document",
"(google.api.method_signature)": "document,update_mask"
}
},
"DeleteDocument": {
"requestType": "DeleteDocumentRequest",
"responseType": "google.protobuf.Empty",
"options": {
"(google.api.http).delete": "/v1beta1/{name=projects/*/databases/*/documents/*/**}",
"(google.api.method_signature)": "name"
}
},
"BatchGetDocuments": {
"requestType": "BatchGetDocumentsRequest",
"responseType": "BatchGetDocumentsResponse",
"responseStream": true,
"options": {
"(google.api.http).post": "/v1beta1/{database=projects/*/databases/*}/documents:batchGet",
"(google.api.http).body": "*"
}
},
"BeginTransaction": {
"requestType": "BeginTransactionRequest",
"responseType": "BeginTransactionResponse",
"options": {
"(google.api.http).post": "/v1beta1/{database=projects/*/databases/*}/documents:beginTransaction",
"(google.api.http).body": "*",
"(google.api.method_signature)": "database"
}
},
"Commit": {
"requestType": "CommitRequest",
"responseType": "CommitResponse",
"options": {
"(google.api.http).post": "/v1beta1/{database=projects/*/databases/*}/documents:commit",
"(google.api.http).body": "*",
"(google.api.method_signature)": "database,writes"
}
},
"Rollback": {
"requestType": "RollbackRequest",
"responseType": "google.protobuf.Empty",
"options": {
"(google.api.http).post": "/v1beta1/{database=projects/*/databases/*}/documents:rollback",
"(google.api.http).body": "*",
"(google.api.method_signature)": "database,transaction"
}
},
"RunQuery": {
"requestType": "RunQueryRequest",
"responseType": "RunQueryResponse",
"responseStream": true,
"options": {
"(google.api.http).post": "/v1beta1/{parent=projects/*/databases/*/documents}:runQuery",
"(google.api.http).body": "*",
"(google.api.http).additional_bindings.post": "/v1beta1/{parent=projects/*/databases/*/documents/*/**}:runQuery",
"(google.api.http).additional_bindings.body": "*"
}
},
"Write": {
"requestType": "WriteRequest",
"requestStream": true,
"responseType": "WriteResponse",
"responseStream": true,
"options": {
"(google.api.http).post": "/v1beta1/{database=projects/*/databases/*}/documents:write",
"(google.api.http).body": "*"
}
},
"Listen": {
"requestType": "ListenRequest",
"requestStream": true,
"responseType": "ListenResponse",
"responseStream": true,
"options": {
"(google.api.http).post": "/v1beta1/{database=projects/*/databases/*}/documents:listen",
"(google.api.http).body": "*"
}
},
"ListCollectionIds": {
"requestType": "ListCollectionIdsRequest",
"responseType": "ListCollectionIdsResponse",
"options": {
"(google.api.http).post": "/v1beta1/{parent=projects/*/databases/*/documents}:listCollectionIds",
"(google.api.http).body": "*",
"(google.api.http).additional_bindings.post": "/v1beta1/{parent=projects/*/databases/*/documents/*/**}:listCollectionIds",
"(google.api.http).additional_bindings.body": "*",
"(google.api.method_signature)": "parent"
}
}
}
},
"GetDocumentRequest": {
"oneofs": {
"consistencySelector": {
"oneof": [
"transaction",
"readTime"
]
}
},
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"mask": {
"type": "DocumentMask",
"id": 2
},
"transaction": {
"type": "bytes",
"id": 3
},
"readTime": {
"type": "google.protobuf.Timestamp",
"id": 5
}
}
},
"ListDocumentsRequest": {
"oneofs": {
"consistencySelector": {
"oneof": [
"transaction",
"readTime"
]
}
},
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"collectionId": {
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"pageSize": {
"type": "int32",
"id": 3
},
"pageToken": {
"type": "string",
"id": 4
},
"orderBy": {
"type": "string",
"id": 6
},
"mask": {
"type": "DocumentMask",
"id": 7
},
"transaction": {
"type": "bytes",
"id": 8
},
"readTime": {
"type": "google.protobuf.Timestamp",
"id": 10
},
"showMissing": {
"type": "bool",
"id": 12
}
}
},
"ListDocumentsResponse": {
"fields": {
"documents": {
"rule": "repeated",
"type": "Document",
"id": 1
},
"nextPageToken": {
"type": "string",
"id": 2
}
}
},
"CreateDocumentRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"collectionId": {
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"documentId": {
"type": "string",
"id": 3
},
"document": {
"type": "Document",
"id": 4,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"mask": {
"type": "DocumentMask",
"id": 5
}
}
},
"UpdateDocumentRequest": {
"fields": {
"document": {
"type": "Document",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"updateMask": {
"type": "DocumentMask",
"id": 2
},
"mask": {
"type": "DocumentMask",
"id": 3
},
"currentDocument": {
"type": "Precondition",
"id": 4
}
}
},
"DeleteDocumentRequest": {
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"currentDocument": {
"type": "Precondition",
"id": 2
}
}
},
"BatchGetDocumentsRequest": {
"oneofs": {
"consistencySelector": {
"oneof": [
"transaction",
"newTransaction",
"readTime"
]
}
},
"fields": {
"database": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"documents": {
"rule": "repeated",
"type": "string",
"id": 2
},
"mask": {
"type": "DocumentMask",
"id": 3
},
"transaction": {
"type": "bytes",
"id": 4
},
"newTransaction": {
"type": "TransactionOptions",
"id": 5
},
"readTime": {
"type": "google.protobuf.Timestamp",
"id": 7
}
}
},
"BatchGetDocumentsResponse": {
"oneofs": {
"result": {
"oneof": [
"found",
"missing"
]
}
},
"fields": {
"found": {
"type": "Document",
"id": 1
},
"missing": {
"type": "string",
"id": 2
},
"transaction": {
"type": "bytes",
"id": 3
},
"readTime": {
"type": "google.protobuf.Timestamp",
"id": 4
}
}
},
"BeginTransactionRequest": {
"fields": {
"database": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"options": {
"type": "TransactionOptions",
"id": 2
}
}
},
"BeginTransactionResponse": {
"fields": {
"transaction": {
"type": "bytes",
"id": 1
}
}
},
"CommitRequest": {
"fields": {
"database": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"writes": {
"rule": "repeated",
"type": "Write",
"id": 2
},
"transaction": {
"type": "bytes",
"id": 3
}
}
},
"CommitResponse": {
"fields": {
"writeResults": {
"rule": "repeated",
"type": "WriteResult",
"id": 1
},
"commitTime": {
"type": "google.protobuf.Timestamp",
"id": 2
}
}
},
"RollbackRequest": {
"fields": {
"database": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"transaction": {
"type": "bytes",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
}
}
},
"RunQueryRequest": {
"oneofs": {
"queryType": {
"oneof": [
"structuredQuery"
]
},
"consistencySelector": {
"oneof": [
"transaction",
"newTransaction",
"readTime"
]
}
},
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"structuredQuery": {
"type": "StructuredQuery",
"id": 2
},
"transaction": {
"type": "bytes",
"id": 5
},
"newTransaction": {
"type": "TransactionOptions",
"id": 6
},
"readTime": {
"type": "google.protobuf.Timestamp",
"id": 7
}
}
},
"RunQueryResponse": {
"fields": {
"transaction": {
"type": "bytes",
"id": 2
},
"document": {
"type": "Document",
"id": 1
},
"readTime": {
"type": "google.protobuf.Timestamp",
"id": 3
},
"skippedResults": {
"type": "int32",
"id": 4
}
}
},
"WriteRequest": {
"fields": {
"database": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"streamId": {
"type": "string",
"id": 2
},
"writes": {
"rule": "repeated",
"type": "Write",
"id": 3
},
"streamToken": {
"type": "bytes",
"id": 4
},
"labels": {
"keyType": "string",
"type": "string",
"id": 5
}
}
},
"WriteResponse": {
"fields": {
"streamId": {
"type": "string",
"id": 1
},
"streamToken": {
"type": "bytes",
"id": 2
},
"writeResults": {
"rule": "repeated",
"type": "WriteResult",
"id": 3
},
"commitTime": {
"type": "google.protobuf.Timestamp",
"id": 4
}
}
},
"ListenRequest": {
"oneofs": {
"targetChange": {
"oneof": [
"addTarget",
"removeTarget"
]
}
},
"fields": {
"database": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"addTarget": {
"type": "Target",
"id": 2
},
"removeTarget": {
"type": "int32",
"id": 3
},
"labels": {
"keyType": "string",
"type": "string",
"id": 4
}
}
},
"ListenResponse": {
"oneofs": {
"responseType": {
"oneof": [
"targetChange",
"documentChange",
"documentDelete",
"documentRemove",
"filter"
]
}
},
"fields": {
"targetChange": {
"type": "TargetChange",
"id": 2
},
"documentChange": {
"type": "DocumentChange",
"id": 3
},
"documentDelete": {
"type": "DocumentDelete",
"id": 4
},
"documentRemove": {
"type": "DocumentRemove",
"id": 6
},
"filter": {
"type": "ExistenceFilter",
"id": 5
}
}
},
"Target": {
"oneofs": {
"targetType": {
"oneof": [
"query",
"documents"
]
},
"resumeType": {
"oneof": [
"resumeToken",
"readTime"
]
}
},
"fields": {
"query": {
"type": "QueryTarget",
"id": 2
},
"documents": {
"type": "DocumentsTarget",
"id": 3
},
"resumeToken": {
"type": "bytes",
"id": 4
},
"readTime": {
"type": "google.protobuf.Timestamp",
"id": 11
},
"targetId": {
"type": "int32",
"id": 5
},
"once": {
"type": "bool",
"id": 6
}
},
"nested": {
"DocumentsTarget": {
"fields": {
"documents": {
"rule": "repeated",
"type": "string",
"id": 2
}
}
},
"QueryTarget": {
"oneofs": {
"queryType": {
"oneof": [
"structuredQuery"
]
}
},
"fields": {
"parent": {
"type": "string",
"id": 1
},
"structuredQuery": {
"type": "StructuredQuery",
"id": 2
}
}
}
}
},
"TargetChange": {
"fields": {
"targetChangeType": {
"type": "TargetChangeType",
"id": 1
},
"targetIds": {
"rule": "repeated",
"type": "int32",
"id": 2
},
"cause": {
"type": "google.rpc.Status",
"id": 3
},
"resumeToken": {
"type": "bytes",
"id": 4
},
"readTime": {
"type": "google.protobuf.Timestamp",
"id": 6
}
},
"nested": {
"TargetChangeType": {
"values": {
"NO_CHANGE": 0,
"ADD": 1,
"REMOVE": 2,
"CURRENT": 3,
"RESET": 4
}
}
}
},
"ListCollectionIdsRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"pageSize": {
"type": "int32",
"id": 2
},
"pageToken": {
"type": "string",
"id": 3
}
}
},
"ListCollectionIdsResponse": {
"fields": {
"collectionIds": {
"rule": "repeated",
"type": "string",
"id": 1
},
"nextPageToken": {
"type": "string",
"id": 2
}
}
}
}
}
}
},
"api": {
"options": {
"cc_enable_arenas": true,
"go_package": "google.golang.org/genproto/googleapis/api/annotations;annotations",
"java_multiple_files": true,
"java_outer_classname": "FieldBehaviorProto",
"java_package": "com.google.api",
"objc_class_prefix": "GAPI"
},
"nested": {
"resourceReference": {
"type": "google.api.ResourceReference",
"id": 1055,
"extend": "google.protobuf.FieldOptions"
},
"resourceDefinition": {
"rule": "repeated",
"type": "google.api.ResourceDescriptor",
"id": 1053,
"extend": "google.protobuf.FileOptions"
},
"resource": {
"type": "google.api.ResourceDescriptor",
"id": 1053,
"extend": "google.protobuf.MessageOptions"
},
"ResourceDescriptor": {
"fields": {
"type": {
"type": "string",
"id": 1
},
"pattern": {
"rule": "repeated",
"type": "string",
"id": 2
},
"nameField": {
"type": "string",
"id": 3
},
"history": {
"type": "History",
"id": 4
},
"plural": {
"type": "string",
"id": 5
},
"singular": {
"type": "string",
"id": 6
}
},
"nested": {
"History": {
"values": {
"HISTORY_UNSPECIFIED": 0,
"ORIGINALLY_SINGLE_PATTERN": 1,
"FUTURE_MULTI_PATTERN": 2
}
}
}
},
"ResourceReference": {
"fields": {
"type": {
"type": "string",
"id": 1
},
"childType": {
"type": "string",
"id": 2
}
}
},
"http": {
"type": "HttpRule",
"id": 72295728,
"extend": "google.protobuf.MethodOptions"
},
"Http": {
"fields": {
"rules": {
"rule": "repeated",
"type": "HttpRule",
"id": 1
},
"fullyDecodeReservedExpansion": {
"type": "bool",
"id": 2
}
}
},
"HttpRule": {
"oneofs": {
"pattern": {
"oneof": [
"get",
"put",
"post",
"delete",
"patch",
"custom"
]
}
},
"fields": {
"selector": {
"type": "string",
"id": 1
},
"get": {
"type": "string",
"id": 2
},
"put": {
"type": "string",
"id": 3
},
"post": {
"type": "string",
"id": 4
},
"delete": {
"type": "string",
"id": 5
},
"patch": {
"type": "string",
"id": 6
},
"custom": {
"type": "CustomHttpPattern",
"id": 8
},
"body": {
"type": "string",
"id": 7
},
"responseBody": {
"type": "string",
"id": 12
},
"additionalBindings": {
"rule": "repeated",
"type": "HttpRule",
"id": 11
}
}
},
"CustomHttpPattern": {
"fields": {
"kind": {
"type": "string",
"id": 1
},
"path": {
"type": "string",
"id": 2
}
}
},
"methodSignature": {
"rule": "repeated",
"type": "string",
"id": 1051,
"extend": "google.protobuf.MethodOptions"
},
"defaultHost": {
"type": "string",
"id": 1049,
"extend": "google.protobuf.ServiceOptions"
},
"oauthScopes": {
"type": "string",
"id": 1050,
"extend": "google.protobuf.ServiceOptions"
},
"fieldBehavior": {
"rule": "repeated",
"type": "google.api.FieldBehavior",
"id": 1052,
"extend": "google.protobuf.FieldOptions"
},
"FieldBehavior": {
"values": {
"FIELD_BEHAVIOR_UNSPECIFIED": 0,
"OPTIONAL": 1,
"REQUIRED": 2,
"OUTPUT_ONLY": 3,
"INPUT_ONLY": 4,
"IMMUTABLE": 5
}
}
}
},
"protobuf": {
"options": {
"go_package": "github.com/golang/protobuf/protoc-gen-go/descriptor;descriptor",
"java_package": "com.google.protobuf",
"java_outer_classname": "DescriptorProtos",
"csharp_namespace": "Google.Protobuf.Reflection",
"objc_class_prefix": "GPB",
"cc_enable_arenas": true,
"optimize_for": "SPEED"
},
"nested": {
"FileDescriptorSet": {
"fields": {
"file": {
"rule": "repeated",
"type": "FileDescriptorProto",
"id": 1
}
}
},
"FileDescriptorProto": {
"fields": {
"name": {
"type": "string",
"id": 1
},
"package": {
"type": "string",
"id": 2
},
"dependency": {
"rule": "repeated",
"type": "string",
"id": 3
},
"publicDependency": {
"rule": "repeated",
"type": "int32",
"id": 10,
"options": {
"packed": false
}
},
"weakDependency": {
"rule": "repeated",
"type": "int32",
"id": 11,
"options": {
"packed": false
}
},
"messageType": {
"rule": "repeated",
"type": "DescriptorProto",
"id": 4
},
"enumType": {
"rule": "repeated",
"type": "EnumDescriptorProto",
"id": 5
},
"service": {
"rule": "repeated",
"type": "ServiceDescriptorProto",
"id": 6
},
"extension": {
"rule": "repeated",
"type": "FieldDescriptorProto",
"id": 7
},
"options": {
"type": "FileOptions",
"id": 8
},
"sourceCodeInfo": {
"type": "SourceCodeInfo",
"id": 9
},
"syntax": {
"type": "string",
"id": 12
}
}
},
"DescriptorProto": {
"fields": {
"name": {
"type": "string",
"id": 1
},
"field": {
"rule": "repeated",
"type": "FieldDescriptorProto",
"id": 2
},
"extension": {
"rule": "repeated",
"type": "FieldDescriptorProto",
"id": 6
},
"nestedType": {
"rule": "repeated",
"type": "DescriptorProto",
"id": 3
},
"enumType": {
"rule": "repeated",
"type": "EnumDescriptorProto",
"id": 4
},
"extensionRange": {
"rule": "repeated",
"type": "ExtensionRange",
"id": 5
},
"oneofDecl": {
"rule": "repeated",
"type": "OneofDescriptorProto",
"id": 8
},
"options": {
"type": "MessageOptions",
"id": 7
},
"reservedRange": {
"rule": "repeated",
"type": "ReservedRange",
"id": 9
},
"reservedName": {
"rule": "repeated",
"type": "string",
"id": 10
}
},
"nested": {
"ExtensionRange": {
"fields": {
"start": {
"type": "int32",
"id": 1
},
"end": {
"type": "int32",
"id": 2
},
"options": {
"type": "ExtensionRangeOptions",
"id": 3
}
}
},
"ReservedRange": {
"fields": {
"start": {
"type": "int32",
"id": 1
},
"end": {
"type": "int32",
"id": 2
}
}
}
}
},
"ExtensionRangeOptions": {
"fields": {
"uninterpretedOption": {
"rule": "repeated",
"type": "UninterpretedOption",
"id": 999
}
},
"extensions": [
[
1000,
536870911
]
]
},
"FieldDescriptorProto": {
"fields": {
"name": {
"type": "string",
"id": 1
},
"number": {
"type": "int32",
"id": 3
},
"label": {
"type": "Label",
"id": 4
},
"type": {
"type": "Type",
"id": 5
},
"typeName": {
"type": "string",
"id": 6
},
"extendee": {
"type": "string",
"id": 2
},
"defaultValue": {
"type": "string",
"id": 7
},
"oneofIndex": {
"type": "int32",
"id": 9
},
"jsonName": {
"type": "string",
"id": 10
},
"options": {
"type": "FieldOptions",
"id": 8
}
},
"nested": {
"Type": {
"values": {
"TYPE_DOUBLE": 1,
"TYPE_FLOAT": 2,
"TYPE_INT64": 3,
"TYPE_UINT64": 4,
"TYPE_INT32": 5,
"TYPE_FIXED64": 6,
"TYPE_FIXED32": 7,
"TYPE_BOOL": 8,
"TYPE_STRING": 9,
"TYPE_GROUP": 10,
"TYPE_MESSAGE": 11,
"TYPE_BYTES": 12,
"TYPE_UINT32": 13,
"TYPE_ENUM": 14,
"TYPE_SFIXED32": 15,
"TYPE_SFIXED64": 16,
"TYPE_SINT32": 17,
"TYPE_SINT64": 18
}
},
"Label": {
"values": {
"LABEL_OPTIONAL": 1,
"LABEL_REQUIRED": 2,
"LABEL_REPEATED": 3
}
}
}
},
"OneofDescriptorProto": {
"fields": {
"name": {
"type": "string",
"id": 1
},
"options": {
"type": "OneofOptions",
"id": 2
}
}
},
"EnumDescriptorProto": {
"fields": {
"name": {
"type": "string",
"id": 1
},
"value": {
"rule": "repeated",
"type": "EnumValueDescriptorProto",
"id": 2
},
"options": {
"type": "EnumOptions",
"id": 3
},
"reservedRange": {
"rule": "repeated",
"type": "EnumReservedRange",
"id": 4
},
"reservedName": {
"rule": "repeated",
"type": "string",
"id": 5
}
},
"nested": {
"EnumReservedRange": {
"fields": {
"start": {
"type": "int32",
"id": 1
},
"end": {
"type": "int32",
"id": 2
}
}
}
}
},
"EnumValueDescriptorProto": {
"fields": {
"name": {
"type": "string",
"id": 1
},
"number": {
"type": "int32",
"id": 2
},
"options": {
"type": "EnumValueOptions",
"id": 3
}
}
},
"ServiceDescriptorProto": {
"fields": {
"name": {
"type": "string",
"id": 1
},
"method": {
"rule": "repeated",
"type": "MethodDescriptorProto",
"id": 2
},
"options": {
"type": "ServiceOptions",
"id": 3
}
}
},
"MethodDescriptorProto": {
"fields": {
"name": {
"type": "string",
"id": 1
},
"inputType": {
"type": "string",
"id": 2
},
"outputType": {
"type": "string",
"id": 3
},
"options": {
"type": "MethodOptions",
"id": 4
},
"clientStreaming": {
"type": "bool",
"id": 5,
"options": {
"default": false
}
},
"serverStreaming": {
"type": "bool",
"id": 6,
"options": {
"default": false
}
}
}
},
"FileOptions": {
"fields": {
"javaPackage": {
"type": "string",
"id": 1
},
"javaOuterClassname": {
"type": "string",
"id": 8
},
"javaMultipleFiles": {
"type": "bool",
"id": 10,
"options": {
"default": false
}
},
"javaGenerateEqualsAndHash": {
"type": "bool",
"id": 20,
"options": {
"deprecated": true
}
},
"javaStringCheckUtf8": {
"type": "bool",
"id": 27,
"options": {
"default": false
}
},
"optimizeFor": {
"type": "OptimizeMode",
"id": 9,
"options": {
"default": "SPEED"
}
},
"goPackage": {
"type": "string",
"id": 11
},
"ccGenericServices": {
"type": "bool",
"id": 16,
"options": {
"default": false
}
},
"javaGenericServices": {
"type": "bool",
"id": 17,
"options": {
"default": false
}
},
"pyGenericServices": {
"type": "bool",
"id": 18,
"options": {
"default": false
}
},
"phpGenericServices": {
"type": "bool",
"id": 42,
"options": {
"default": false
}
},
"deprecated": {
"type": "bool",
"id": 23,
"options": {
"default": false
}
},
"ccEnableArenas": {
"type": "bool",
"id": 31,
"options": {
"default": false
}
},
"objcClassPrefix": {
"type": "string",
"id": 36
},
"csharpNamespace": {
"type": "string",
"id": 37
},
"swiftPrefix": {
"type": "string",
"id": 39
},
"phpClassPrefix": {
"type": "string",
"id": 40
},
"phpNamespace": {
"type": "string",
"id": 41
},
"phpMetadataNamespace": {
"type": "string",
"id": 44
},
"rubyPackage": {
"type": "string",
"id": 45
},
"uninterpretedOption": {
"rule": "repeated",
"type": "UninterpretedOption",
"id": 999
}
},
"extensions": [
[
1000,
536870911
]
],
"reserved": [
[
38,
38
]
],
"nested": {
"OptimizeMode": {
"values": {
"SPEED": 1,
"CODE_SIZE": 2,
"LITE_RUNTIME": 3
}
}
}
},
"MessageOptions": {
"fields": {
"messageSetWireFormat": {
"type": "bool",
"id": 1,
"options": {
"default": false
}
},
"noStandardDescriptorAccessor": {
"type": "bool",
"id": 2,
"options": {
"default": false
}
},
"deprecated": {
"type": "bool",
"id": 3,
"options": {
"default": false
}
},
"mapEntry": {
"type": "bool",
"id": 7
},
"uninterpretedOption": {
"rule": "repeated",
"type": "UninterpretedOption",
"id": 999
}
},
"extensions": [
[
1000,
536870911
]
],
"reserved": [
[
8,
8
],
[
9,
9
]
]
},
"FieldOptions": {
"fields": {
"ctype": {
"type": "CType",
"id": 1,
"options": {
"default": "STRING"
}
},
"packed": {
"type": "bool",
"id": 2
},
"jstype": {
"type": "JSType",
"id": 6,
"options": {
"default": "JS_NORMAL"
}
},
"lazy": {
"type": "bool",
"id": 5,
"options": {
"default": false
}
},
"deprecated": {
"type": "bool",
"id": 3,
"options": {
"default": false
}
},
"weak": {
"type": "bool",
"id": 10,
"options": {
"default": false
}
},
"uninterpretedOption": {
"rule": "repeated",
"type": "UninterpretedOption",
"id": 999
}
},
"extensions": [
[
1000,
536870911
]
],
"reserved": [
[
4,
4
]
],
"nested": {
"CType": {
"values": {
"STRING": 0,
"CORD": 1,
"STRING_PIECE": 2
}
},
"JSType": {
"values": {
"JS_NORMAL": 0,
"JS_STRING": 1,
"JS_NUMBER": 2
}
}
}
},
"OneofOptions": {
"fields": {
"uninterpretedOption": {
"rule": "repeated",
"type": "UninterpretedOption",
"id": 999
}
},
"extensions": [
[
1000,
536870911
]
]
},
"EnumOptions": {
"fields": {
"allowAlias": {
"type": "bool",
"id": 2
},
"deprecated": {
"type": "bool",
"id": 3,
"options": {
"default": false
}
},
"uninterpretedOption": {
"rule": "repeated",
"type": "UninterpretedOption",
"id": 999
}
},
"extensions": [
[
1000,
536870911
]
],
"reserved": [
[
5,
5
]
]
},
"EnumValueOptions": {
"fields": {
"deprecated": {
"type": "bool",
"id": 1,
"options": {
"default": false
}
},
"uninterpretedOption": {
"rule": "repeated",
"type": "UninterpretedOption",
"id": 999
}
},
"extensions": [
[
1000,
536870911
]
]
},
"ServiceOptions": {
"fields": {
"deprecated": {
"type": "bool",
"id": 33,
"options": {
"default": false
}
},
"uninterpretedOption": {
"rule": "repeated",
"type": "UninterpretedOption",
"id": 999
}
},
"extensions": [
[
1000,
536870911
]
]
},
"MethodOptions": {
"fields": {
"deprecated": {
"type": "bool",
"id": 33,
"options": {
"default": false
}
},
"idempotencyLevel": {
"type": "IdempotencyLevel",
"id": 34,
"options": {
"default": "IDEMPOTENCY_UNKNOWN"
}
},
"uninterpretedOption": {
"rule": "repeated",
"type": "UninterpretedOption",
"id": 999
}
},
"extensions": [
[
1000,
536870911
]
],
"nested": {
"IdempotencyLevel": {
"values": {
"IDEMPOTENCY_UNKNOWN": 0,
"NO_SIDE_EFFECTS": 1,
"IDEMPOTENT": 2
}
}
}
},
"UninterpretedOption": {
"fields": {
"name": {
"rule": "repeated",
"type": "NamePart",
"id": 2
},
"identifierValue": {
"type": "string",
"id": 3
},
"positiveIntValue": {
"type": "uint64",
"id": 4
},
"negativeIntValue": {
"type": "int64",
"id": 5
},
"doubleValue": {
"type": "double",
"id": 6
},
"stringValue": {
"type": "bytes",
"id": 7
},
"aggregateValue": {
"type": "string",
"id": 8
}
},
"nested": {
"NamePart": {
"fields": {
"namePart": {
"rule": "required",
"type": "string",
"id": 1
},
"isExtension": {
"rule": "required",
"type": "bool",
"id": 2
}
}
}
}
},
"SourceCodeInfo": {
"fields": {
"location": {
"rule": "repeated",
"type": "Location",
"id": 1
}
},
"nested": {
"Location": {
"fields": {
"path": {
"rule": "repeated",
"type": "int32",
"id": 1
},
"span": {
"rule": "repeated",
"type": "int32",
"id": 2
},
"leadingComments": {
"type": "string",
"id": 3
},
"trailingComments": {
"type": "string",
"id": 4
},
"leadingDetachedComments": {
"rule": "repeated",
"type": "string",
"id": 6
}
}
}
}
},
"GeneratedCodeInfo": {
"fields": {
"annotation": {
"rule": "repeated",
"type": "Annotation",
"id": 1
}
},
"nested": {
"Annotation": {
"fields": {
"path": {
"rule": "repeated",
"type": "int32",
"id": 1
},
"sourceFile": {
"type": "string",
"id": 2
},
"begin": {
"type": "int32",
"id": 3
},
"end": {
"type": "int32",
"id": 4
}
}
}
}
},
"Any": {
"fields": {
"type_url": {
"type": "string",
"id": 1
},
"value": {
"type": "bytes",
"id": 2
}
}
},
"Duration": {
"fields": {
"seconds": {
"type": "int64",
"id": 1
},
"nanos": {
"type": "int32",
"id": 2
}
}
},
"Empty": {
"fields": {}
},
"FieldMask": {
"fields": {
"paths": {
"rule": "repeated",
"type": "string",
"id": 1
}
}
},
"Timestamp": {
"fields": {
"seconds": {
"type": "int64",
"id": 1
},
"nanos": {
"type": "int32",
"id": 2
}
}
},
"Struct": {
"fields": {
"fields": {
"keyType": "string",
"type": "Value",
"id": 1
}
}
},
"Value": {
"oneofs": {
"kind": {
"oneof": [
"nullValue",
"numberValue",
"stringValue",
"boolValue",
"structValue",
"listValue"
]
}
},
"fields": {
"nullValue": {
"type": "NullValue",
"id": 1
},
"numberValue": {
"type": "double",
"id": 2
},
"stringValue": {
"type": "string",
"id": 3
},
"boolValue": {
"type": "bool",
"id": 4
},
"structValue": {
"type": "Struct",
"id": 5
},
"listValue": {
"type": "ListValue",
"id": 6
}
}
},
"NullValue": {
"values": {
"NULL_VALUE": 0
}
},
"ListValue": {
"fields": {
"values": {
"rule": "repeated",
"type": "Value",
"id": 1
}
}
},
"DoubleValue": {
"fields": {
"value": {
"type": "double",
"id": 1
}
}
},
"FloatValue": {
"fields": {
"value": {
"type": "float",
"id": 1
}
}
},
"Int64Value": {
"fields": {
"value": {
"type": "int64",
"id": 1
}
}
},
"UInt64Value": {
"fields": {
"value": {
"type": "uint64",
"id": 1
}
}
},
"Int32Value": {
"fields": {
"value": {
"type": "int32",
"id": 1
}
}
},
"UInt32Value": {
"fields": {
"value": {
"type": "uint32",
"id": 1
}
}
},
"BoolValue": {
"fields": {
"value": {
"type": "bool",
"id": 1
}
}
},
"StringValue": {
"fields": {
"value": {
"type": "string",
"id": 1
}
}
},
"BytesValue": {
"fields": {
"value": {
"type": "bytes",
"id": 1
}
}
}
}
},
"longrunning": {
"options": {
"cc_enable_arenas": true,
"csharp_namespace": "Google.LongRunning",
"go_package": "google.golang.org/genproto/googleapis/longrunning;longrunning",
"java_multiple_files": true,
"java_outer_classname": "OperationsProto",
"java_package": "com.google.longrunning",
"php_namespace": "Google\\LongRunning"
},
"nested": {
"operationInfo": {
"type": "google.longrunning.OperationInfo",
"id": 1049,
"extend": "google.protobuf.MethodOptions"
},
"Operations": {
"methods": {
"ListOperations": {
"requestType": "ListOperationsRequest",
"responseType": "ListOperationsResponse",
"options": {
"(google.api.http).get": "/v1/{name=operations}"
}
},
"GetOperation": {
"requestType": "GetOperationRequest",
"responseType": "Operation",
"options": {
"(google.api.http).get": "/v1/{name=operations/**}"
}
},
"DeleteOperation": {
"requestType": "DeleteOperationRequest",
"responseType": "google.protobuf.Empty",
"options": {
"(google.api.http).delete": "/v1/{name=operations/**}"
}
},
"CancelOperation": {
"requestType": "CancelOperationRequest",
"responseType": "google.protobuf.Empty",
"options": {
"(google.api.http).post": "/v1/{name=operations/**}:cancel",
"(google.api.http).body": "*"
}
},
"WaitOperation": {
"requestType": "WaitOperationRequest",
"responseType": "Operation"
}
}
},
"Operation": {
"oneofs": {
"result": {
"oneof": [
"error",
"response"
]
}
},
"fields": {
"name": {
"type": "string",
"id": 1
},
"metadata": {
"type": "google.protobuf.Any",
"id": 2
},
"done": {
"type": "bool",
"id": 3
},
"error": {
"type": "google.rpc.Status",
"id": 4
},
"response": {
"type": "google.protobuf.Any",
"id": 5
}
}
},
"GetOperationRequest": {
"fields": {
"name": {
"type": "string",
"id": 1
}
}
},
"ListOperationsRequest": {
"fields": {
"name": {
"type": "string",
"id": 4
},
"filter": {
"type": "string",
"id": 1
},
"pageSize": {
"type": "int32",
"id": 2
},
"pageToken": {
"type": "string",
"id": 3
}
}
},
"ListOperationsResponse": {
"fields": {
"operations": {
"rule": "repeated",
"type": "Operation",
"id": 1
},
"nextPageToken": {
"type": "string",
"id": 2
}
}
},
"CancelOperationRequest": {
"fields": {
"name": {
"type": "string",
"id": 1
}
}
},
"DeleteOperationRequest": {
"fields": {
"name": {
"type": "string",
"id": 1
}
}
},
"WaitOperationRequest": {
"fields": {
"name": {
"type": "string",
"id": 1
},
"timeout": {
"type": "google.protobuf.Duration",
"id": 2
}
}
},
"OperationInfo": {
"fields": {
"responseType": {
"type": "string",
"id": 1
},
"metadataType": {
"type": "string",
"id": 2
}
}
}
}
},
"rpc": {
"options": {
"go_package": "google.golang.org/genproto/googleapis/rpc/status;status",
"java_multiple_files": true,
"java_outer_classname": "StatusProto",
"java_package": "com.google.rpc",
"objc_class_prefix": "RPC"
},
"nested": {
"Status": {
"fields": {
"code": {
"type": "int32",
"id": 1
},
"message": {
"type": "string",
"id": 2
},
"details": {
"rule": "repeated",
"type": "google.protobuf.Any",
"id": 3
}
}
}
}
},
"type": {
"options": {
"cc_enable_arenas": true,
"go_package": "google.golang.org/genproto/googleapis/type/latlng;latlng",
"java_multiple_files": true,
"java_outer_classname": "LatLngProto",
"java_package": "com.google.type",
"objc_class_prefix": "GTP"
},
"nested": {
"LatLng": {
"fields": {
"latitude": {
"type": "double",
"id": 1
},
"longitude": {
"type": "double",
"id": 2
}
}
}
}
}
}
}
}
}