@google-cloud/essential-contacts
Version:
Essential contacts client for Node.js
1,427 lines • 76 kB
JSON
{
"nested": {
"google": {
"nested": {
"cloud": {
"nested": {
"essentialcontacts": {
"nested": {
"v1": {
"options": {
"csharp_namespace": "Google.Cloud.EssentialContacts.V1",
"go_package": "cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb;essentialcontactspb",
"java_multiple_files": true,
"java_outer_classname": "EnumsProto",
"java_package": "com.google.cloud.essentialcontacts.v1",
"php_namespace": "Google\\Cloud\\EssentialContacts\\V1",
"ruby_package": "Google::Cloud::EssentialContacts::V1"
},
"nested": {
"NotificationCategory": {
"values": {
"NOTIFICATION_CATEGORY_UNSPECIFIED": 0,
"ALL": 2,
"SUSPENSION": 3,
"SECURITY": 5,
"TECHNICAL": 6,
"BILLING": 7,
"LEGAL": 8,
"PRODUCT_UPDATES": 9,
"TECHNICAL_INCIDENTS": 10
}
},
"ValidationState": {
"values": {
"VALIDATION_STATE_UNSPECIFIED": 0,
"VALID": 1,
"INVALID": 2
}
},
"EssentialContactsService": {
"options": {
"(google.api.default_host)": "essentialcontacts.googleapis.com",
"(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
},
"methods": {
"CreateContact": {
"requestType": "CreateContactRequest",
"responseType": "Contact",
"options": {
"(google.api.http).post": "/v1/{parent=projects/*}/contacts",
"(google.api.http).body": "contact",
"(google.api.http).additional_bindings.post": "/v1/{parent=organizations/*}/contacts",
"(google.api.http).additional_bindings.body": "contact",
"(google.api.method_signature)": "parent,contact"
},
"parsedOptions": [
{
"(google.api.http)": {
"post": "/v1/{parent=projects/*}/contacts",
"body": "contact",
"additional_bindings": [
{
"post": "/v1/{parent=folders/*}/contacts",
"body": "contact"
},
{
"post": "/v1/{parent=organizations/*}/contacts",
"body": "contact"
}
]
}
},
{
"(google.api.method_signature)": "parent,contact"
}
]
},
"UpdateContact": {
"requestType": "UpdateContactRequest",
"responseType": "Contact",
"options": {
"(google.api.http).patch": "/v1/{contact.name=projects/*/contacts/*}",
"(google.api.http).body": "contact",
"(google.api.http).additional_bindings.patch": "/v1/{contact.name=organizations/*/contacts/*}",
"(google.api.http).additional_bindings.body": "contact",
"(google.api.method_signature)": "contact,update_mask"
},
"parsedOptions": [
{
"(google.api.http)": {
"patch": "/v1/{contact.name=projects/*/contacts/*}",
"body": "contact",
"additional_bindings": [
{
"patch": "/v1/{contact.name=folders/*/contacts/*}",
"body": "contact"
},
{
"patch": "/v1/{contact.name=organizations/*/contacts/*}",
"body": "contact"
}
]
}
},
{
"(google.api.method_signature)": "contact,update_mask"
}
]
},
"ListContacts": {
"requestType": "ListContactsRequest",
"responseType": "ListContactsResponse",
"options": {
"(google.api.http).get": "/v1/{parent=projects/*}/contacts",
"(google.api.http).additional_bindings.get": "/v1/{parent=organizations/*}/contacts",
"(google.api.method_signature)": "parent"
},
"parsedOptions": [
{
"(google.api.http)": {
"get": "/v1/{parent=projects/*}/contacts",
"additional_bindings": [
{
"get": "/v1/{parent=folders/*}/contacts"
},
{
"get": "/v1/{parent=organizations/*}/contacts"
}
]
}
},
{
"(google.api.method_signature)": "parent"
}
]
},
"GetContact": {
"requestType": "GetContactRequest",
"responseType": "Contact",
"options": {
"(google.api.http).get": "/v1/{name=projects/*/contacts/*}",
"(google.api.http).additional_bindings.get": "/v1/{name=organizations/*/contacts/*}",
"(google.api.method_signature)": "name"
},
"parsedOptions": [
{
"(google.api.http)": {
"get": "/v1/{name=projects/*/contacts/*}",
"additional_bindings": [
{
"get": "/v1/{name=folders/*/contacts/*}"
},
{
"get": "/v1/{name=organizations/*/contacts/*}"
}
]
}
},
{
"(google.api.method_signature)": "name"
}
]
},
"DeleteContact": {
"requestType": "DeleteContactRequest",
"responseType": "google.protobuf.Empty",
"options": {
"(google.api.http).delete": "/v1/{name=projects/*/contacts/*}",
"(google.api.http).additional_bindings.delete": "/v1/{name=organizations/*/contacts/*}",
"(google.api.method_signature)": "name"
},
"parsedOptions": [
{
"(google.api.http)": {
"delete": "/v1/{name=projects/*/contacts/*}",
"additional_bindings": [
{
"delete": "/v1/{name=folders/*/contacts/*}"
},
{
"delete": "/v1/{name=organizations/*/contacts/*}"
}
]
}
},
{
"(google.api.method_signature)": "name"
}
]
},
"ComputeContacts": {
"requestType": "ComputeContactsRequest",
"responseType": "ComputeContactsResponse",
"options": {
"(google.api.http).get": "/v1/{parent=projects/*}/contacts:compute",
"(google.api.http).additional_bindings.get": "/v1/{parent=organizations/*}/contacts:compute"
},
"parsedOptions": [
{
"(google.api.http)": {
"get": "/v1/{parent=projects/*}/contacts:compute",
"additional_bindings": [
{
"get": "/v1/{parent=folders/*}/contacts:compute"
},
{
"get": "/v1/{parent=organizations/*}/contacts:compute"
}
]
}
}
]
},
"SendTestMessage": {
"requestType": "SendTestMessageRequest",
"responseType": "google.protobuf.Empty",
"options": {
"(google.api.http).post": "/v1/{resource=projects/*}/contacts:sendTestMessage",
"(google.api.http).body": "*",
"(google.api.http).additional_bindings.post": "/v1/{resource=organizations/*}/contacts:sendTestMessage",
"(google.api.http).additional_bindings.body": "*"
},
"parsedOptions": [
{
"(google.api.http)": {
"post": "/v1/{resource=projects/*}/contacts:sendTestMessage",
"body": "*",
"additional_bindings": [
{
"post": "/v1/{resource=folders/*}/contacts:sendTestMessage",
"body": "*"
},
{
"post": "/v1/{resource=organizations/*}/contacts:sendTestMessage",
"body": "*"
}
]
}
}
]
}
}
},
"Contact": {
"options": {
"(google.api.resource).type": "essentialcontacts.googleapis.com/Contact",
"(google.api.resource).pattern": "organizations/{organization}/contacts/{contact}"
},
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"email": {
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"notificationCategorySubscriptions": {
"rule": "repeated",
"type": "NotificationCategory",
"id": 3,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"languageTag": {
"type": "string",
"id": 4,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"validationState": {
"type": "ValidationState",
"id": 8,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"validateTime": {
"type": "google.protobuf.Timestamp",
"id": 9
}
}
},
"ListContactsRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "essentialcontacts.googleapis.com/Contact"
}
},
"pageSize": {
"type": "int32",
"id": 2,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"pageToken": {
"type": "string",
"id": 3,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
},
"ListContactsResponse": {
"fields": {
"contacts": {
"rule": "repeated",
"type": "Contact",
"id": 1
},
"nextPageToken": {
"type": "string",
"id": 2
}
}
},
"GetContactRequest": {
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "essentialcontacts.googleapis.com/Contact"
}
}
}
},
"DeleteContactRequest": {
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "essentialcontacts.googleapis.com/Contact"
}
}
}
},
"CreateContactRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "essentialcontacts.googleapis.com/Contact"
}
},
"contact": {
"type": "Contact",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
}
}
},
"UpdateContactRequest": {
"fields": {
"contact": {
"type": "Contact",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"updateMask": {
"type": "google.protobuf.FieldMask",
"id": 3,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
},
"ComputeContactsRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "essentialcontacts.googleapis.com/Contact"
}
},
"notificationCategories": {
"rule": "repeated",
"type": "NotificationCategory",
"id": 6
},
"pageSize": {
"type": "int32",
"id": 3,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"pageToken": {
"type": "string",
"id": 4,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
},
"ComputeContactsResponse": {
"fields": {
"contacts": {
"rule": "repeated",
"type": "Contact",
"id": 1
},
"nextPageToken": {
"type": "string",
"id": 2
}
}
},
"SendTestMessageRequest": {
"fields": {
"contacts": {
"rule": "repeated",
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "essentialcontacts.googleapis.com/Contact"
}
},
"resource": {
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "essentialcontacts.googleapis.com/Contact"
}
},
"notificationCategory": {
"type": "NotificationCategory",
"id": 3,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
}
}
}
}
}
}
}
}
},
"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
},
"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"
},
"apiVersion": {
"type": "string",
"id": 525000001,
"extend": "google.protobuf.ServiceOptions"
},
"CommonLanguageSettings": {
"fields": {
"referenceDocsUri": {
"type": "string",
"id": 1,
"options": {
"deprecated": true
}
},
"destinations": {
"rule": "repeated",
"type": "ClientLibraryDestination",
"id": 2
}
}
},
"ClientLibrarySettings": {
"fields": {
"version": {
"type": "string",
"id": 1
},
"launchStage": {
"type": "LaunchStage",
"id": 2
},
"restNumericEnums": {
"type": "bool",
"id": 3
},
"javaSettings": {
"type": "JavaSettings",
"id": 21
},
"cppSettings": {
"type": "CppSettings",
"id": 22
},
"phpSettings": {
"type": "PhpSettings",
"id": 23
},
"pythonSettings": {
"type": "PythonSettings",
"id": 24
},
"nodeSettings": {
"type": "NodeSettings",
"id": 25
},
"dotnetSettings": {
"type": "DotnetSettings",
"id": 26
},
"rubySettings": {
"type": "RubySettings",
"id": 27
},
"goSettings": {
"type": "GoSettings",
"id": 28
}
}
},
"Publishing": {
"fields": {
"methodSettings": {
"rule": "repeated",
"type": "MethodSettings",
"id": 2
},
"newIssueUri": {
"type": "string",
"id": 101
},
"documentationUri": {
"type": "string",
"id": 102
},
"apiShortName": {
"type": "string",
"id": 103
},
"githubLabel": {
"type": "string",
"id": 104
},
"codeownerGithubTeams": {
"rule": "repeated",
"type": "string",
"id": 105
},
"docTagPrefix": {
"type": "string",
"id": 106
},
"organization": {
"type": "ClientLibraryOrganization",
"id": 107
},
"librarySettings": {
"rule": "repeated",
"type": "ClientLibrarySettings",
"id": 109
},
"protoReferenceDocumentationUri": {
"type": "string",
"id": 110
},
"restReferenceDocumentationUri": {
"type": "string",
"id": 111
}
}
},
"JavaSettings": {
"fields": {
"libraryPackage": {
"type": "string",
"id": 1
},
"serviceClassNames": {
"keyType": "string",
"type": "string",
"id": 2
},
"common": {
"type": "CommonLanguageSettings",
"id": 3
}
}
},
"CppSettings": {
"fields": {
"common": {
"type": "CommonLanguageSettings",
"id": 1
}
}
},
"PhpSettings": {
"fields": {
"common": {
"type": "CommonLanguageSettings",
"id": 1
}
}
},
"PythonSettings": {
"fields": {
"common": {
"type": "CommonLanguageSettings",
"id": 1
}
}
},
"NodeSettings": {
"fields": {
"common": {
"type": "CommonLanguageSettings",
"id": 1
}
}
},
"DotnetSettings": {
"fields": {
"common": {
"type": "CommonLanguageSettings",
"id": 1
},
"renamedServices": {
"keyType": "string",
"type": "string",
"id": 2
},
"renamedResources": {
"keyType": "string",
"type": "string",
"id": 3
},
"ignoredResources": {
"rule": "repeated",
"type": "string",
"id": 4
},
"forcedNamespaceAliases": {
"rule": "repeated",
"type": "string",
"id": 5
},
"handwrittenSignatures": {
"rule": "repeated",
"type": "string",
"id": 6
}
}
},
"RubySettings": {
"fields": {
"common": {
"type": "CommonLanguageSettings",
"id": 1
}
}
},
"GoSettings": {
"fields": {
"common": {
"type": "CommonLanguageSettings",
"id": 1
}
}
},
"MethodSettings": {
"fields": {
"selector": {
"type": "string",
"id": 1
},
"longRunning": {
"type": "LongRunning",
"id": 2
},
"autoPopulatedFields": {
"rule": "repeated",
"type": "string",
"id": 3
}
},
"nested": {
"LongRunning": {
"fields": {
"initialPollDelay": {
"type": "google.protobuf.Duration",
"id": 1
},
"pollDelayMultiplier": {
"type": "float",
"id": 2
},
"maxPollDelay": {
"type": "google.protobuf.Duration",
"id": 3
},
"totalPollTimeout": {
"type": "google.protobuf.Duration",
"id": 4
}
}
}
}
},
"ClientLibraryOrganization": {
"values": {
"CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED": 0,
"CLOUD": 1,
"ADS": 2,
"PHOTOS": 3,
"STREET_VIEW": 4,
"SHOPPING": 5,
"GEO": 6,
"GENERATIVE_AI": 7
}
},
"ClientLibraryDestination": {
"values": {
"CLIENT_LIBRARY_DESTINATION_UNSPECIFIED": 0,
"GITHUB": 10,
"PACKAGE_MANAGER": 20
}
},
"LaunchStage": {
"values": {
"LAUNCH_STAGE_UNSPECIFIED": 0,
"UNIMPLEMENTED": 6,
"PRELAUNCH": 7,
"EARLY_ACCESS": 1,
"ALPHA": 2,
"BETA": 3,
"GA": 4,
"DEPRECATED": 5
}
},
"fieldBehavior": {
"rule": "repeated",
"type": "google.api.FieldBehavior",
"id": 1052,
"extend": "google.protobuf.FieldOptions",
"options": {
"packed": false
}
},
"FieldBehavior": {
"values": {
"FIELD_BEHAVIOR_UNSPECIFIED": 0,
"OPTIONAL": 1,
"REQUIRED": 2,
"OUTPUT_ONLY": 3,
"INPUT_ONLY": 4,
"IMMUTABLE": 5,
"UNORDERED_LIST": 6,
"NON_EMPTY_DEFAULT": 7,
"IDENTIFIER": 8
}
},
"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
},
"style": {
"rule": "repeated",
"type": "Style",
"id": 10
}
},
"nested": {
"History": {
"values": {
"HISTORY_UNSPECIFIED": 0,
"ORIGINALLY_SINGLE_PATTERN": 1,
"FUTURE_MULTI_PATTERN": 2
}
},
"Style": {
"values": {
"STYLE_UNSPECIFIED": 0,
"DECLARATIVE_FRIENDLY": 1
}
}
}
},
"ResourceReference": {
"fields": {
"type": {
"type": "string",
"id": 1
},
"childType": {
"type": "string",
"id": 2
}
}
}
}
},
"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": {
"FileDescriptorSet": {
"edition": "proto2",
"fields": {
"file": {
"rule": "repeated",
"type": "FileDescriptorProto",
"id": 1
}
}
},
"Edition": {
"edition": "proto2",
"values": {
"EDITION_UNKNOWN": 0,
"EDITION_PROTO2": 998,
"EDITION_PROTO3": 999,
"EDITION_2023": 1000,
"EDITION_2024": 1001,
"EDITION_1_TEST_ONLY": 1,
"EDITION_2_TEST_ONLY": 2,
"EDITION_99997_TEST_ONLY": 99997,
"EDITION_99998_TEST_ONLY": 99998,
"EDITION_99999_TEST_ONLY": 99999,
"EDITION_MAX": 2147483647
}
},
"FileDescriptorProto": {
"edition": "proto2",
"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
},
"weakDependency": {
"rule": "repeated",
"type": "int32",
"id": 11
},
"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
},
"edition": {
"type": "Edition",
"id": 14
}
}
},
"DescriptorProto": {
"edition": "proto2",
"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": {
"edition": "proto2",
"fields": {
"uninterpretedOption": {
"rule": "repeated",
"type": "UninterpretedOption",
"id": 999
},
"declaration": {
"rule": "repeated",
"type": "Declaration",
"id": 2,
"options": {
"retention": "RETENTION_SOURCE"
}
},
"features": {
"type": "FeatureSet",
"id": 50
},
"verification": {
"type": "VerificationState",
"id": 3,
"options": {
"default": "UNVERIFIED",
"retention": "RETENTION_SOURCE"
}
}
},
"extensions": [
[
1000,
536870911
]
],
"nested": {
"Declaration": {
"fields": {
"number": {
"type": "int32",
"id": 1
},
"fullName": {
"type": "string",
"id": 2
},
"type": {
"type": "string",
"id": 3
},
"reserved": {
"type": "bool",
"id": 5
},
"repeated": {
"type": "bool",
"id": 6
}
},
"reserved": [
[
4,
4
]
]
},
"VerificationState": {
"values": {
"DECLARATION": 0,
"UNVERIFIED": 1
}
}
}
},
"FieldDescriptorProto": {
"edition": "proto2",
"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_REPEATED": 3,
"LABEL_REQUIRED": 2
}
}
}
},
"OneofDescriptorProto": {
"edition": "proto2",
"fields": {
"name": {
"type": "string",
"id": 1
},
"options": {
"type": "OneofOptions",
"id": 2
}
}
},
"EnumDescriptorProto": {
"edition": "proto2",
"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": {
"edition": "proto2",
"fields": {
"name": {
"type": "string",
"id": 1
},
"number": {
"type": "int32",
"id": 2
},
"options": {
"type": "EnumValueOptions",
"id": 3
}
}
},
"ServiceDescriptorProto": {
"edition": "proto2",
"fields": {
"name": {
"type": "string",
"id": 1
},
"method": {
"rule": "repeated",
"type": "MethodDescriptorProto",
"id": 2
},
"options": {
"type": "ServiceOptions",
"id": 3
}
}
},
"MethodDescriptorProto": {
"edition": "proto2",
"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":