@enfonica/messaging
Version:
Enfonica Messaging SDK for Node.js
1,546 lines • 56.2 kB
JSON
{
"nested": {
"enfonica": {
"nested": {
"messaging": {
"nested": {
"v1": {
"options": {
"cc_enable_arenas": true,
"csharp_namespace": "Enfonica.Messaging.V1",
"go_package": "github.com/enfonica/enfonica-go/messaging/v1;messaging",
"java_multiple_files": true,
"java_outer_classname": "UnsubscribersProto",
"java_package": "com.enfonica.messaging.v1",
"objc_class_prefix": "ENFON"
},
"nested": {
"Messages": {
"options": {
"(google.api.default_host)": "messaging.api.enfonica.com",
"(google.api.oauth_scopes)": "https://api.enfonica.com/auth/messaging"
},
"methods": {
"CreateMessage": {
"requestType": "CreateMessageRequest",
"responseType": "Message",
"options": {
"(google.api.http).post": "/v1/{parent=projects/*}/messages",
"(google.api.http).body": "message",
"(google.api.method_signature)": "parent,message"
},
"parsedOptions": [
{
"(google.api.http)": {
"post": "/v1/{parent=projects/*}/messages",
"body": "message"
}
},
{
"(google.api.method_signature)": "parent,message"
}
]
},
"GetMessage": {
"requestType": "GetMessageRequest",
"responseType": "Message",
"options": {
"(google.api.http).get": "/v1/{name=projects/*/messages/*}",
"(google.api.method_signature)": "name"
},
"parsedOptions": [
{
"(google.api.http)": {
"get": "/v1/{name=projects/*/messages/*}"
}
},
{
"(google.api.method_signature)": "name"
}
]
},
"ListMessages": {
"requestType": "ListMessagesRequest",
"responseType": "ListMessagesResponse",
"options": {
"(google.api.http).get": "/v1/{parent=projects/*}/messages",
"(google.api.method_signature)": "parent"
},
"parsedOptions": [
{
"(google.api.http)": {
"get": "/v1/{parent=projects/*}/messages"
}
},
{
"(google.api.method_signature)": "parent"
}
]
}
}
},
"Message": {
"options": {
"(google.api.resource).type": "messaging.api.enfonica.com/Message",
"(google.api.resource).pattern": "projects/{project}/messages/{message}"
},
"fields": {
"name": {
"type": "string",
"id": 1
},
"to": {
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"from": {
"type": "string",
"id": 3,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"body": {
"type": "string",
"id": 4
},
"statusUpdateUrl": {
"type": "string",
"id": 5
},
"replyUrl": {
"type": "string",
"id": 6
},
"validityPeriodSeconds": {
"type": "int32",
"id": 7
},
"smartEncoding": {
"type": "bool",
"id": 8
},
"labels": {
"keyType": "string",
"type": "string",
"id": 20
},
"classification": {
"type": "MessageClassification",
"id": 21
},
"unsubscribeContentBehavior": {
"type": "UnsubscribeContentBehavior",
"id": 22
},
"direction": {
"type": "Direction",
"id": 10,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"errorCode": {
"type": "string",
"id": 11,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"errorMessage": {
"type": "string",
"id": 12,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"segmentCount": {
"type": "int32",
"id": 13,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"price": {
"type": "google.type.Money",
"id": 14,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"status": {
"type": "Status",
"id": 15,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"createIdentity": {
"type": "string",
"id": 16,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"createTime": {
"type": "google.protobuf.Timestamp",
"id": 17,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"sendTime": {
"type": "google.protobuf.Timestamp",
"id": 18,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"deliverTime": {
"type": "google.protobuf.Timestamp",
"id": 19,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"encoding": {
"type": "MessageEncoding",
"id": 23,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
}
},
"nested": {
"Status": {
"values": {
"STATUS_UNSPECIFIED": 0,
"QUEUED": 1,
"SENDING": 2,
"SENT": 3,
"FAILED": 4,
"DELIVERED": 5,
"UNDELIVERED": 6,
"RECEIVED": 7
}
},
"Direction": {
"values": {
"DIRECTION_UNSPECIFIED": 0,
"OUTGOING": 1,
"INCOMING": 2
}
},
"MessageClassification": {
"values": {
"MESSAGE_CLASSIFICATION_UNSPECIFIED": 0,
"UNCLASSIFIED": 1,
"TRANSACTIONAL": 2,
"MARKETING": 3
}
},
"UnsubscribeContentBehavior": {
"values": {
"UNSUBSCRIBE_CONTENT_BEHAVIOR_UNSPECIFIED": 0,
"NONE": 1,
"APPEND_URL": 2
}
},
"MessageEncoding": {
"values": {
"MESSAGE_ENCODING_UNSPECIFIED": 0,
"GSM7": 1,
"UCS2": 2
}
}
}
},
"CreateMessageRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "messaging.api.enfonica.com/Message"
}
},
"message": {
"type": "Message",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
}
}
},
"GetMessageRequest": {
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "messaging.api.enfonica.com/Message"
}
}
}
},
"ListMessagesRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "messaging.api.enfonica.com/Message"
}
},
"pageSize": {
"type": "int32",
"id": 2
},
"pageToken": {
"type": "string",
"id": 3
},
"startTime": {
"type": "google.protobuf.Timestamp",
"id": 4
},
"endTime": {
"type": "google.protobuf.Timestamp",
"id": 5
},
"filter": {
"type": "string",
"id": 6
}
}
},
"ListMessagesResponse": {
"fields": {
"messages": {
"rule": "repeated",
"type": "Message",
"id": 1
},
"nextPageToken": {
"type": "string",
"id": 2
}
}
},
"Unsubscribers": {
"options": {
"(google.api.default_host)": "messaging.api.enfonica.com",
"(google.api.oauth_scopes)": "https://api.enfonica.com/auth/messaging"
},
"methods": {
"CreateUnsubscriber": {
"requestType": "CreateUnsubscriberRequest",
"responseType": "Unsubscriber",
"options": {
"(google.api.http).post": "/v1/{parent=projects/*}/unsubscribers",
"(google.api.http).body": "unsubscriber",
"(google.api.method_signature)": "parent,unsubscriber"
},
"parsedOptions": [
{
"(google.api.http)": {
"post": "/v1/{parent=projects/*}/unsubscribers",
"body": "unsubscriber"
}
},
{
"(google.api.method_signature)": "parent,unsubscriber"
}
]
},
"GetUnsubscriber": {
"requestType": "GetUnsubscriberRequest",
"responseType": "Unsubscriber",
"options": {
"(google.api.http).get": "/v1/{name=projects/*/unsubscribers/*}",
"(google.api.method_signature)": "name"
},
"parsedOptions": [
{
"(google.api.http)": {
"get": "/v1/{name=projects/*/unsubscribers/*}"
}
},
{
"(google.api.method_signature)": "name"
}
]
},
"ListUnsubscribers": {
"requestType": "ListUnsubscribersRequest",
"responseType": "ListUnsubscribersResponse",
"options": {
"(google.api.http).get": "/v1/{parent=projects/*}/unsubscribers",
"(google.api.method_signature)": "parent"
},
"parsedOptions": [
{
"(google.api.http)": {
"get": "/v1/{parent=projects/*}/unsubscribers"
}
},
{
"(google.api.method_signature)": "parent"
}
]
},
"UpdateUnsubscriber": {
"requestType": "UpdateUnsubscriberRequest",
"responseType": "Unsubscriber",
"options": {
"(google.api.http).patch": "/v1/{unsubscriber.name=projects/*/unsubscribers/*}",
"(google.api.http).body": "unsubscriber",
"(google.api.method_signature)": "unsubscriber,update_mask"
},
"parsedOptions": [
{
"(google.api.http)": {
"patch": "/v1/{unsubscriber.name=projects/*/unsubscribers/*}",
"body": "unsubscriber"
}
},
{
"(google.api.method_signature)": "unsubscriber,update_mask"
}
]
},
"DeleteUnsubscriber": {
"requestType": "DeleteUnsubscriberRequest",
"responseType": "Unsubscriber",
"options": {
"(google.api.http).delete": "/v1/{name=projects/*/unsubscribers/*}",
"(google.api.method_signature)": "name"
},
"parsedOptions": [
{
"(google.api.http)": {
"delete": "/v1/{name=projects/*/unsubscribers/*}"
}
},
{
"(google.api.method_signature)": "name"
}
]
}
}
},
"Unsubscriber": {
"options": {
"(google.api.resource).type": "messaging.api.enfonica.com/Unsubscriber",
"(google.api.resource).pattern": "projects/{project}/unsubscribers/{unsubscriber}"
},
"fields": {
"name": {
"type": "string",
"id": 1
},
"phone": {
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"unsubscribeMethod": {
"type": "UnsubscribeMethod",
"id": 3
},
"labels": {
"keyType": "string",
"type": "string",
"id": 4
},
"createTime": {
"type": "google.protobuf.Timestamp",
"id": 8,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
}
},
"nested": {
"UnsubscribeMethod": {
"values": {
"UNSUBSCRIBE_METHOD_UNSPECIFIED": 0,
"URL": 1,
"MESSAGE": 2,
"MANUAL": 3
}
}
}
},
"CreateUnsubscriberRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "messaging.api.enfonica.com/Unsubscriber"
}
},
"unsubscriber": {
"type": "Unsubscriber",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
}
}
},
"GetUnsubscriberRequest": {
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "messaging.api.enfonica.com/Unsubscriber"
}
}
}
},
"ListUnsubscribersRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "messaging.api.enfonica.com/Unsubscriber"
}
},
"pageSize": {
"type": "int32",
"id": 2
},
"pageToken": {
"type": "string",
"id": 3
},
"phone": {
"type": "string",
"id": 4
}
}
},
"ListUnsubscribersResponse": {
"fields": {
"unsubscribers": {
"rule": "repeated",
"type": "Unsubscriber",
"id": 1
},
"nextPageToken": {
"type": "string",
"id": 2
}
}
},
"UpdateUnsubscriberRequest": {
"fields": {
"unsubscriber": {
"type": "Unsubscriber",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"updateMask": {
"type": "google.protobuf.FieldMask",
"id": 2
}
}
},
"DeleteUnsubscriberRequest": {
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "messaging.api.enfonica.com/Unsubscriber"
}
}
}
}
}
}
}
}
}
},
"google": {
"nested": {
"protobuf": {
"options": {
"go_package": "google.golang.org/protobuf/types/descriptorpb",
"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": {
"Timestamp": {
"fields": {
"seconds": {
"type": "int64",
"id": 1
},
"nanos": {
"type": "int32",
"id": 2
}
}
},
"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
},
"proto3Optional": {
"type": "bool",
"id": 17
}
},
"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": true
}
},
"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": [
[
4,
4
],
[
5,
5
],
[
6,
6
],
[
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
}
},
"unverifiedLazy": {
"type": "bool",
"id": 15,
"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
}
}
}
}
},
"FieldMask": {
"fields": {
"paths": {
"rule": "repeated",
"type": "string",
"id": 1
}
}
}
}
},
"api": {
"options": {
"go_package": "google.golang.org/genproto/googleapis/api/annotations;annotations",
"java_multiple_files": true,
"java_outer_classname": "ResourceProto",
"java_package": "com.google.api",
"objc_class_prefix": "GAPI",
"cc_enable_arenas": true
},
"nested": {
"http": {
"type": "HttpRule",
"id": 72295728,
"extend": "google.protobuf.MethodOptions"
},
"Http": {
"fields": {
"rules": {
"rule": "repeated",
"type": "HttpRule",
"id": 1
},
"fullyDecod