mirror of
https://github.com/googleapis/googleapis.git
synced 2026-08-14 12:42:59 +02:00
3254 lines
No EOL
107 KiB
JSON
3254 lines
No EOL
107 KiB
JSON
{
|
|
"nested": {
|
|
"google": {
|
|
"nested": {
|
|
"cloud": {
|
|
"nested": {
|
|
"speech": {
|
|
"nested": {
|
|
"v1": {
|
|
"options": {
|
|
"cc_enable_arenas": true,
|
|
"go_package": "cloud.google.com/go/speech/apiv1/speechpb;speechpb",
|
|
"java_multiple_files": true,
|
|
"java_outer_classname": "SpeechAdaptationProto",
|
|
"java_package": "com.google.cloud.speech.v1",
|
|
"objc_class_prefix": "GCS"
|
|
},
|
|
"nested": {
|
|
"Speech": {
|
|
"options": {
|
|
"(google.api.default_host)": "speech.googleapis.com",
|
|
"(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
|
|
},
|
|
"methods": {
|
|
"Recognize": {
|
|
"requestType": "RecognizeRequest",
|
|
"responseType": "RecognizeResponse",
|
|
"options": {
|
|
"(google.api.http).post": "/v1/speech:recognize",
|
|
"(google.api.http).body": "*",
|
|
"(google.api.method_signature)": "config,audio"
|
|
},
|
|
"parsedOptions": [
|
|
{
|
|
"(google.api.http)": {
|
|
"post": "/v1/speech:recognize",
|
|
"body": "*"
|
|
}
|
|
},
|
|
{
|
|
"(google.api.method_signature)": "config,audio"
|
|
}
|
|
]
|
|
},
|
|
"LongRunningRecognize": {
|
|
"requestType": "LongRunningRecognizeRequest",
|
|
"responseType": "google.longrunning.Operation",
|
|
"options": {
|
|
"(google.api.http).post": "/v1/speech:longrunningrecognize",
|
|
"(google.api.http).body": "*",
|
|
"(google.api.method_signature)": "config,audio",
|
|
"(google.longrunning.operation_info).response_type": "LongRunningRecognizeResponse",
|
|
"(google.longrunning.operation_info).metadata_type": "LongRunningRecognizeMetadata"
|
|
},
|
|
"parsedOptions": [
|
|
{
|
|
"(google.api.http)": {
|
|
"post": "/v1/speech:longrunningrecognize",
|
|
"body": "*"
|
|
}
|
|
},
|
|
{
|
|
"(google.api.method_signature)": "config,audio"
|
|
},
|
|
{
|
|
"(google.longrunning.operation_info)": {
|
|
"response_type": "LongRunningRecognizeResponse",
|
|
"metadata_type": "LongRunningRecognizeMetadata"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"StreamingRecognize": {
|
|
"requestType": "StreamingRecognizeRequest",
|
|
"requestStream": true,
|
|
"responseType": "StreamingRecognizeResponse",
|
|
"responseStream": true
|
|
}
|
|
}
|
|
},
|
|
"RecognizeRequest": {
|
|
"fields": {
|
|
"config": {
|
|
"type": "RecognitionConfig",
|
|
"id": 1,
|
|
"options": {
|
|
"(google.api.field_behavior)": "REQUIRED"
|
|
}
|
|
},
|
|
"audio": {
|
|
"type": "RecognitionAudio",
|
|
"id": 2,
|
|
"options": {
|
|
"(google.api.field_behavior)": "REQUIRED"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"LongRunningRecognizeRequest": {
|
|
"fields": {
|
|
"config": {
|
|
"type": "RecognitionConfig",
|
|
"id": 1,
|
|
"options": {
|
|
"(google.api.field_behavior)": "REQUIRED"
|
|
}
|
|
},
|
|
"audio": {
|
|
"type": "RecognitionAudio",
|
|
"id": 2,
|
|
"options": {
|
|
"(google.api.field_behavior)": "REQUIRED"
|
|
}
|
|
},
|
|
"outputConfig": {
|
|
"type": "TranscriptOutputConfig",
|
|
"id": 4,
|
|
"options": {
|
|
"(google.api.field_behavior)": "OPTIONAL"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"TranscriptOutputConfig": {
|
|
"oneofs": {
|
|
"outputType": {
|
|
"oneof": [
|
|
"gcsUri"
|
|
]
|
|
}
|
|
},
|
|
"fields": {
|
|
"gcsUri": {
|
|
"type": "string",
|
|
"id": 1
|
|
}
|
|
}
|
|
},
|
|
"StreamingRecognizeRequest": {
|
|
"oneofs": {
|
|
"streamingRequest": {
|
|
"oneof": [
|
|
"streamingConfig",
|
|
"audioContent"
|
|
]
|
|
}
|
|
},
|
|
"fields": {
|
|
"streamingConfig": {
|
|
"type": "StreamingRecognitionConfig",
|
|
"id": 1
|
|
},
|
|
"audioContent": {
|
|
"type": "bytes",
|
|
"id": 2
|
|
}
|
|
}
|
|
},
|
|
"StreamingRecognitionConfig": {
|
|
"fields": {
|
|
"config": {
|
|
"type": "RecognitionConfig",
|
|
"id": 1,
|
|
"options": {
|
|
"(google.api.field_behavior)": "REQUIRED"
|
|
}
|
|
},
|
|
"singleUtterance": {
|
|
"type": "bool",
|
|
"id": 2
|
|
},
|
|
"interimResults": {
|
|
"type": "bool",
|
|
"id": 3
|
|
},
|
|
"enableVoiceActivityEvents": {
|
|
"type": "bool",
|
|
"id": 5
|
|
},
|
|
"voiceActivityTimeout": {
|
|
"type": "VoiceActivityTimeout",
|
|
"id": 6
|
|
}
|
|
},
|
|
"nested": {
|
|
"VoiceActivityTimeout": {
|
|
"fields": {
|
|
"speechStartTimeout": {
|
|
"type": "google.protobuf.Duration",
|
|
"id": 1
|
|
},
|
|
"speechEndTimeout": {
|
|
"type": "google.protobuf.Duration",
|
|
"id": 2
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"RecognitionConfig": {
|
|
"fields": {
|
|
"encoding": {
|
|
"type": "AudioEncoding",
|
|
"id": 1
|
|
},
|
|
"sampleRateHertz": {
|
|
"type": "int32",
|
|
"id": 2
|
|
},
|
|
"audioChannelCount": {
|
|
"type": "int32",
|
|
"id": 7
|
|
},
|
|
"enableSeparateRecognitionPerChannel": {
|
|
"type": "bool",
|
|
"id": 12
|
|
},
|
|
"languageCode": {
|
|
"type": "string",
|
|
"id": 3,
|
|
"options": {
|
|
"(google.api.field_behavior)": "REQUIRED"
|
|
}
|
|
},
|
|
"alternativeLanguageCodes": {
|
|
"rule": "repeated",
|
|
"type": "string",
|
|
"id": 18
|
|
},
|
|
"maxAlternatives": {
|
|
"type": "int32",
|
|
"id": 4
|
|
},
|
|
"profanityFilter": {
|
|
"type": "bool",
|
|
"id": 5
|
|
},
|
|
"adaptation": {
|
|
"type": "SpeechAdaptation",
|
|
"id": 20
|
|
},
|
|
"speechContexts": {
|
|
"rule": "repeated",
|
|
"type": "SpeechContext",
|
|
"id": 6
|
|
},
|
|
"enableWordTimeOffsets": {
|
|
"type": "bool",
|
|
"id": 8
|
|
},
|
|
"enableWordConfidence": {
|
|
"type": "bool",
|
|
"id": 15
|
|
},
|
|
"enableAutomaticPunctuation": {
|
|
"type": "bool",
|
|
"id": 11
|
|
},
|
|
"enableSpokenPunctuation": {
|
|
"type": "google.protobuf.BoolValue",
|
|
"id": 22
|
|
},
|
|
"enableSpokenEmojis": {
|
|
"type": "google.protobuf.BoolValue",
|
|
"id": 23
|
|
},
|
|
"diarizationConfig": {
|
|
"type": "SpeakerDiarizationConfig",
|
|
"id": 19
|
|
},
|
|
"metadata": {
|
|
"type": "RecognitionMetadata",
|
|
"id": 9
|
|
},
|
|
"model": {
|
|
"type": "string",
|
|
"id": 13
|
|
},
|
|
"useEnhanced": {
|
|
"type": "bool",
|
|
"id": 14
|
|
}
|
|
},
|
|
"nested": {
|
|
"AudioEncoding": {
|
|
"values": {
|
|
"ENCODING_UNSPECIFIED": 0,
|
|
"LINEAR16": 1,
|
|
"FLAC": 2,
|
|
"MULAW": 3,
|
|
"AMR": 4,
|
|
"AMR_WB": 5,
|
|
"OGG_OPUS": 6,
|
|
"SPEEX_WITH_HEADER_BYTE": 7,
|
|
"WEBM_OPUS": 9
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"SpeakerDiarizationConfig": {
|
|
"fields": {
|
|
"enableSpeakerDiarization": {
|
|
"type": "bool",
|
|
"id": 1
|
|
},
|
|
"minSpeakerCount": {
|
|
"type": "int32",
|
|
"id": 2
|
|
},
|
|
"maxSpeakerCount": {
|
|
"type": "int32",
|
|
"id": 3
|
|
},
|
|
"speakerTag": {
|
|
"type": "int32",
|
|
"id": 5,
|
|
"options": {
|
|
"deprecated": true,
|
|
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"RecognitionMetadata": {
|
|
"options": {
|
|
"deprecated": true
|
|
},
|
|
"fields": {
|
|
"interactionType": {
|
|
"type": "InteractionType",
|
|
"id": 1
|
|
},
|
|
"industryNaicsCodeOfAudio": {
|
|
"type": "uint32",
|
|
"id": 3
|
|
},
|
|
"microphoneDistance": {
|
|
"type": "MicrophoneDistance",
|
|
"id": 4
|
|
},
|
|
"originalMediaType": {
|
|
"type": "OriginalMediaType",
|
|
"id": 5
|
|
},
|
|
"recordingDeviceType": {
|
|
"type": "RecordingDeviceType",
|
|
"id": 6
|
|
},
|
|
"recordingDeviceName": {
|
|
"type": "string",
|
|
"id": 7
|
|
},
|
|
"originalMimeType": {
|
|
"type": "string",
|
|
"id": 8
|
|
},
|
|
"audioTopic": {
|
|
"type": "string",
|
|
"id": 10
|
|
}
|
|
},
|
|
"nested": {
|
|
"InteractionType": {
|
|
"values": {
|
|
"INTERACTION_TYPE_UNSPECIFIED": 0,
|
|
"DISCUSSION": 1,
|
|
"PRESENTATION": 2,
|
|
"PHONE_CALL": 3,
|
|
"VOICEMAIL": 4,
|
|
"PROFESSIONALLY_PRODUCED": 5,
|
|
"VOICE_SEARCH": 6,
|
|
"VOICE_COMMAND": 7,
|
|
"DICTATION": 8
|
|
}
|
|
},
|
|
"MicrophoneDistance": {
|
|
"values": {
|
|
"MICROPHONE_DISTANCE_UNSPECIFIED": 0,
|
|
"NEARFIELD": 1,
|
|
"MIDFIELD": 2,
|
|
"FARFIELD": 3
|
|
}
|
|
},
|
|
"OriginalMediaType": {
|
|
"values": {
|
|
"ORIGINAL_MEDIA_TYPE_UNSPECIFIED": 0,
|
|
"AUDIO": 1,
|
|
"VIDEO": 2
|
|
}
|
|
},
|
|
"RecordingDeviceType": {
|
|
"values": {
|
|
"RECORDING_DEVICE_TYPE_UNSPECIFIED": 0,
|
|
"SMARTPHONE": 1,
|
|
"PC": 2,
|
|
"PHONE_LINE": 3,
|
|
"VEHICLE": 4,
|
|
"OTHER_OUTDOOR_DEVICE": 5,
|
|
"OTHER_INDOOR_DEVICE": 6
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"SpeechContext": {
|
|
"fields": {
|
|
"phrases": {
|
|
"rule": "repeated",
|
|
"type": "string",
|
|
"id": 1
|
|
},
|
|
"boost": {
|
|
"type": "float",
|
|
"id": 4
|
|
}
|
|
}
|
|
},
|
|
"RecognitionAudio": {
|
|
"oneofs": {
|
|
"audioSource": {
|
|
"oneof": [
|
|
"content",
|
|
"uri"
|
|
]
|
|
}
|
|
},
|
|
"fields": {
|
|
"content": {
|
|
"type": "bytes",
|
|
"id": 1
|
|
},
|
|
"uri": {
|
|
"type": "string",
|
|
"id": 2
|
|
}
|
|
}
|
|
},
|
|
"RecognizeResponse": {
|
|
"fields": {
|
|
"results": {
|
|
"rule": "repeated",
|
|
"type": "SpeechRecognitionResult",
|
|
"id": 2
|
|
},
|
|
"totalBilledTime": {
|
|
"type": "google.protobuf.Duration",
|
|
"id": 3
|
|
},
|
|
"speechAdaptationInfo": {
|
|
"type": "SpeechAdaptationInfo",
|
|
"id": 7
|
|
},
|
|
"requestId": {
|
|
"type": "int64",
|
|
"id": 8
|
|
}
|
|
}
|
|
},
|
|
"LongRunningRecognizeResponse": {
|
|
"fields": {
|
|
"results": {
|
|
"rule": "repeated",
|
|
"type": "SpeechRecognitionResult",
|
|
"id": 2
|
|
},
|
|
"totalBilledTime": {
|
|
"type": "google.protobuf.Duration",
|
|
"id": 3
|
|
},
|
|
"outputConfig": {
|
|
"type": "TranscriptOutputConfig",
|
|
"id": 6
|
|
},
|
|
"outputError": {
|
|
"type": "google.rpc.Status",
|
|
"id": 7
|
|
},
|
|
"speechAdaptationInfo": {
|
|
"type": "SpeechAdaptationInfo",
|
|
"id": 8
|
|
},
|
|
"requestId": {
|
|
"type": "int64",
|
|
"id": 9
|
|
}
|
|
}
|
|
},
|
|
"LongRunningRecognizeMetadata": {
|
|
"fields": {
|
|
"progressPercent": {
|
|
"type": "int32",
|
|
"id": 1
|
|
},
|
|
"startTime": {
|
|
"type": "google.protobuf.Timestamp",
|
|
"id": 2
|
|
},
|
|
"lastUpdateTime": {
|
|
"type": "google.protobuf.Timestamp",
|
|
"id": 3
|
|
},
|
|
"uri": {
|
|
"type": "string",
|
|
"id": 4,
|
|
"options": {
|
|
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"StreamingRecognizeResponse": {
|
|
"fields": {
|
|
"error": {
|
|
"type": "google.rpc.Status",
|
|
"id": 1
|
|
},
|
|
"results": {
|
|
"rule": "repeated",
|
|
"type": "StreamingRecognitionResult",
|
|
"id": 2
|
|
},
|
|
"speechEventType": {
|
|
"type": "SpeechEventType",
|
|
"id": 4
|
|
},
|
|
"speechEventTime": {
|
|
"type": "google.protobuf.Duration",
|
|
"id": 8
|
|
},
|
|
"totalBilledTime": {
|
|
"type": "google.protobuf.Duration",
|
|
"id": 5
|
|
},
|
|
"speechAdaptationInfo": {
|
|
"type": "SpeechAdaptationInfo",
|
|
"id": 9
|
|
},
|
|
"requestId": {
|
|
"type": "int64",
|
|
"id": 10
|
|
}
|
|
},
|
|
"nested": {
|
|
"SpeechEventType": {
|
|
"values": {
|
|
"SPEECH_EVENT_UNSPECIFIED": 0,
|
|
"END_OF_SINGLE_UTTERANCE": 1,
|
|
"SPEECH_ACTIVITY_BEGIN": 2,
|
|
"SPEECH_ACTIVITY_END": 3,
|
|
"SPEECH_ACTIVITY_TIMEOUT": 4
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"StreamingRecognitionResult": {
|
|
"fields": {
|
|
"alternatives": {
|
|
"rule": "repeated",
|
|
"type": "SpeechRecognitionAlternative",
|
|
"id": 1
|
|
},
|
|
"isFinal": {
|
|
"type": "bool",
|
|
"id": 2
|
|
},
|
|
"stability": {
|
|
"type": "float",
|
|
"id": 3
|
|
},
|
|
"resultEndTime": {
|
|
"type": "google.protobuf.Duration",
|
|
"id": 4
|
|
},
|
|
"channelTag": {
|
|
"type": "int32",
|
|
"id": 5
|
|
},
|
|
"languageCode": {
|
|
"type": "string",
|
|
"id": 6,
|
|
"options": {
|
|
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"SpeechRecognitionResult": {
|
|
"fields": {
|
|
"alternatives": {
|
|
"rule": "repeated",
|
|
"type": "SpeechRecognitionAlternative",
|
|
"id": 1
|
|
},
|
|
"channelTag": {
|
|
"type": "int32",
|
|
"id": 2
|
|
},
|
|
"resultEndTime": {
|
|
"type": "google.protobuf.Duration",
|
|
"id": 4
|
|
},
|
|
"languageCode": {
|
|
"type": "string",
|
|
"id": 5,
|
|
"options": {
|
|
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"SpeechRecognitionAlternative": {
|
|
"fields": {
|
|
"transcript": {
|
|
"type": "string",
|
|
"id": 1
|
|
},
|
|
"confidence": {
|
|
"type": "float",
|
|
"id": 2
|
|
},
|
|
"words": {
|
|
"rule": "repeated",
|
|
"type": "WordInfo",
|
|
"id": 3
|
|
}
|
|
}
|
|
},
|
|
"WordInfo": {
|
|
"fields": {
|
|
"startTime": {
|
|
"type": "google.protobuf.Duration",
|
|
"id": 1
|
|
},
|
|
"endTime": {
|
|
"type": "google.protobuf.Duration",
|
|
"id": 2
|
|
},
|
|
"word": {
|
|
"type": "string",
|
|
"id": 3
|
|
},
|
|
"confidence": {
|
|
"type": "float",
|
|
"id": 4
|
|
},
|
|
"speakerTag": {
|
|
"type": "int32",
|
|
"id": 5,
|
|
"options": {
|
|
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"SpeechAdaptationInfo": {
|
|
"fields": {
|
|
"adaptationTimeout": {
|
|
"type": "bool",
|
|
"id": 1
|
|
},
|
|
"timeoutMessage": {
|
|
"type": "string",
|
|
"id": 4
|
|
}
|
|
}
|
|
},
|
|
"CustomClass": {
|
|
"options": {
|
|
"(google.api.resource).type": "speech.googleapis.com/CustomClass",
|
|
"(google.api.resource).pattern": "projects/{project}/locations/{location}/customClasses/{custom_class}"
|
|
},
|
|
"fields": {
|
|
"name": {
|
|
"type": "string",
|
|
"id": 1
|
|
},
|
|
"customClassId": {
|
|
"type": "string",
|
|
"id": 2
|
|
},
|
|
"items": {
|
|
"rule": "repeated",
|
|
"type": "ClassItem",
|
|
"id": 3
|
|
}
|
|
},
|
|
"nested": {
|
|
"ClassItem": {
|
|
"fields": {
|
|
"value": {
|
|
"type": "string",
|
|
"id": 1
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"PhraseSet": {
|
|
"options": {
|
|
"(google.api.resource).type": "speech.googleapis.com/PhraseSet",
|
|
"(google.api.resource).pattern": "projects/{project}/locations/{location}/phraseSets/{phrase_set}"
|
|
},
|
|
"fields": {
|
|
"name": {
|
|
"type": "string",
|
|
"id": 1
|
|
},
|
|
"phrases": {
|
|
"rule": "repeated",
|
|
"type": "Phrase",
|
|
"id": 2
|
|
},
|
|
"boost": {
|
|
"type": "float",
|
|
"id": 4
|
|
}
|
|
},
|
|
"nested": {
|
|
"Phrase": {
|
|
"fields": {
|
|
"value": {
|
|
"type": "string",
|
|
"id": 1
|
|
},
|
|
"boost": {
|
|
"type": "float",
|
|
"id": 2
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"SpeechAdaptation": {
|
|
"fields": {
|
|
"phraseSets": {
|
|
"rule": "repeated",
|
|
"type": "PhraseSet",
|
|
"id": 1
|
|
},
|
|
"phraseSetReferences": {
|
|
"rule": "repeated",
|
|
"type": "string",
|
|
"id": 2,
|
|
"options": {
|
|
"(google.api.resource_reference).type": "speech.googleapis.com/PhraseSet"
|
|
}
|
|
},
|
|
"customClasses": {
|
|
"rule": "repeated",
|
|
"type": "CustomClass",
|
|
"id": 3
|
|
},
|
|
"abnfGrammar": {
|
|
"type": "ABNFGrammar",
|
|
"id": 4
|
|
}
|
|
},
|
|
"nested": {
|
|
"ABNFGrammar": {
|
|
"fields": {
|
|
"abnfStrings": {
|
|
"rule": "repeated",
|
|
"type": "string",
|
|
"id": 1
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"Adaptation": {
|
|
"options": {
|
|
"(google.api.default_host)": "speech.googleapis.com",
|
|
"(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
|
|
},
|
|
"methods": {
|
|
"CreatePhraseSet": {
|
|
"requestType": "CreatePhraseSetRequest",
|
|
"responseType": "PhraseSet",
|
|
"options": {
|
|
"(google.api.http).post": "/v1/{parent=projects/*/locations/*}/phraseSets",
|
|
"(google.api.http).body": "*",
|
|
"(google.api.method_signature)": "parent,phrase_set,phrase_set_id"
|
|
},
|
|
"parsedOptions": [
|
|
{
|
|
"(google.api.http)": {
|
|
"post": "/v1/{parent=projects/*/locations/*}/phraseSets",
|
|
"body": "*"
|
|
}
|
|
},
|
|
{
|
|
"(google.api.method_signature)": "parent,phrase_set,phrase_set_id"
|
|
}
|
|
]
|
|
},
|
|
"GetPhraseSet": {
|
|
"requestType": "GetPhraseSetRequest",
|
|
"responseType": "PhraseSet",
|
|
"options": {
|
|
"(google.api.http).get": "/v1/{name=projects/*/locations/*/phraseSets/*}",
|
|
"(google.api.method_signature)": "name"
|
|
},
|
|
"parsedOptions": [
|
|
{
|
|
"(google.api.http)": {
|
|
"get": "/v1/{name=projects/*/locations/*/phraseSets/*}"
|
|
}
|
|
},
|
|
{
|
|
"(google.api.method_signature)": "name"
|
|
}
|
|
]
|
|
},
|
|
"ListPhraseSet": {
|
|
"requestType": "ListPhraseSetRequest",
|
|
"responseType": "ListPhraseSetResponse",
|
|
"options": {
|
|
"(google.api.http).get": "/v1/{parent=projects/*/locations/*}/phraseSets",
|
|
"(google.api.method_signature)": "parent"
|
|
},
|
|
"parsedOptions": [
|
|
{
|
|
"(google.api.http)": {
|
|
"get": "/v1/{parent=projects/*/locations/*}/phraseSets"
|
|
}
|
|
},
|
|
{
|
|
"(google.api.method_signature)": "parent"
|
|
}
|
|
]
|
|
},
|
|
"UpdatePhraseSet": {
|
|
"requestType": "UpdatePhraseSetRequest",
|
|
"responseType": "PhraseSet",
|
|
"options": {
|
|
"(google.api.http).patch": "/v1/{phrase_set.name=projects/*/locations/*/phraseSets/*}",
|
|
"(google.api.http).body": "phrase_set",
|
|
"(google.api.method_signature)": "phrase_set,update_mask"
|
|
},
|
|
"parsedOptions": [
|
|
{
|
|
"(google.api.http)": {
|
|
"patch": "/v1/{phrase_set.name=projects/*/locations/*/phraseSets/*}",
|
|
"body": "phrase_set"
|
|
}
|
|
},
|
|
{
|
|
"(google.api.method_signature)": "phrase_set,update_mask"
|
|
}
|
|
]
|
|
},
|
|
"DeletePhraseSet": {
|
|
"requestType": "DeletePhraseSetRequest",
|
|
"responseType": "google.protobuf.Empty",
|
|
"options": {
|
|
"(google.api.http).delete": "/v1/{name=projects/*/locations/*/phraseSets/*}",
|
|
"(google.api.method_signature)": "name"
|
|
},
|
|
"parsedOptions": [
|
|
{
|
|
"(google.api.http)": {
|
|
"delete": "/v1/{name=projects/*/locations/*/phraseSets/*}"
|
|
}
|
|
},
|
|
{
|
|
"(google.api.method_signature)": "name"
|
|
}
|
|
]
|
|
},
|
|
"CreateCustomClass": {
|
|
"requestType": "CreateCustomClassRequest",
|
|
"responseType": "CustomClass",
|
|
"options": {
|
|
"(google.api.http).post": "/v1/{parent=projects/*/locations/*}/customClasses",
|
|
"(google.api.http).body": "*",
|
|
"(google.api.method_signature)": "parent,custom_class,custom_class_id"
|
|
},
|
|
"parsedOptions": [
|
|
{
|
|
"(google.api.http)": {
|
|
"post": "/v1/{parent=projects/*/locations/*}/customClasses",
|
|
"body": "*"
|
|
}
|
|
},
|
|
{
|
|
"(google.api.method_signature)": "parent,custom_class,custom_class_id"
|
|
}
|
|
]
|
|
},
|
|
"GetCustomClass": {
|
|
"requestType": "GetCustomClassRequest",
|
|
"responseType": "CustomClass",
|
|
"options": {
|
|
"(google.api.http).get": "/v1/{name=projects/*/locations/*/customClasses/*}",
|
|
"(google.api.method_signature)": "name"
|
|
},
|
|
"parsedOptions": [
|
|
{
|
|
"(google.api.http)": {
|
|
"get": "/v1/{name=projects/*/locations/*/customClasses/*}"
|
|
}
|
|
},
|
|
{
|
|
"(google.api.method_signature)": "name"
|
|
}
|
|
]
|
|
},
|
|
"ListCustomClasses": {
|
|
"requestType": "ListCustomClassesRequest",
|
|
"responseType": "ListCustomClassesResponse",
|
|
"options": {
|
|
"(google.api.http).get": "/v1/{parent=projects/*/locations/*}/customClasses",
|
|
"(google.api.method_signature)": "parent"
|
|
},
|
|
"parsedOptions": [
|
|
{
|
|
"(google.api.http)": {
|
|
"get": "/v1/{parent=projects/*/locations/*}/customClasses"
|
|
}
|
|
},
|
|
{
|
|
"(google.api.method_signature)": "parent"
|
|
}
|
|
]
|
|
},
|
|
"UpdateCustomClass": {
|
|
"requestType": "UpdateCustomClassRequest",
|
|
"responseType": "CustomClass",
|
|
"options": {
|
|
"(google.api.http).patch": "/v1/{custom_class.name=projects/*/locations/*/customClasses/*}",
|
|
"(google.api.http).body": "custom_class",
|
|
"(google.api.method_signature)": "custom_class,update_mask"
|
|
},
|
|
"parsedOptions": [
|
|
{
|
|
"(google.api.http)": {
|
|
"patch": "/v1/{custom_class.name=projects/*/locations/*/customClasses/*}",
|
|
"body": "custom_class"
|
|
}
|
|
},
|
|
{
|
|
"(google.api.method_signature)": "custom_class,update_mask"
|
|
}
|
|
]
|
|
},
|
|
"DeleteCustomClass": {
|
|
"requestType": "DeleteCustomClassRequest",
|
|
"responseType": "google.protobuf.Empty",
|
|
"options": {
|
|
"(google.api.http).delete": "/v1/{name=projects/*/locations/*/customClasses/*}",
|
|
"(google.api.method_signature)": "name"
|
|
},
|
|
"parsedOptions": [
|
|
{
|
|
"(google.api.http)": {
|
|
"delete": "/v1/{name=projects/*/locations/*/customClasses/*}"
|
|
}
|
|
},
|
|
{
|
|
"(google.api.method_signature)": "name"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"CreatePhraseSetRequest": {
|
|
"fields": {
|
|
"parent": {
|
|
"type": "string",
|
|
"id": 1,
|
|
"options": {
|
|
"(google.api.field_behavior)": "REQUIRED",
|
|
"(google.api.resource_reference).child_type": "speech.googleapis.com/PhraseSet"
|
|
}
|
|
},
|
|
"phraseSetId": {
|
|
"type": "string",
|
|
"id": 2,
|
|
"options": {
|
|
"(google.api.field_behavior)": "REQUIRED"
|
|
}
|
|
},
|
|
"phraseSet": {
|
|
"type": "PhraseSet",
|
|
"id": 3,
|
|
"options": {
|
|
"(google.api.field_behavior)": "REQUIRED"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"UpdatePhraseSetRequest": {
|
|
"fields": {
|
|
"phraseSet": {
|
|
"type": "PhraseSet",
|
|
"id": 1,
|
|
"options": {
|
|
"(google.api.field_behavior)": "REQUIRED"
|
|
}
|
|
},
|
|
"updateMask": {
|
|
"type": "google.protobuf.FieldMask",
|
|
"id": 2
|
|
}
|
|
}
|
|
},
|
|
"GetPhraseSetRequest": {
|
|
"fields": {
|
|
"name": {
|
|
"type": "string",
|
|
"id": 1,
|
|
"options": {
|
|
"(google.api.field_behavior)": "REQUIRED",
|
|
"(google.api.resource_reference).type": "speech.googleapis.com/PhraseSet"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ListPhraseSetRequest": {
|
|
"fields": {
|
|
"parent": {
|
|
"type": "string",
|
|
"id": 1,
|
|
"options": {
|
|
"(google.api.field_behavior)": "REQUIRED",
|
|
"(google.api.resource_reference).child_type": "speech.googleapis.com/PhraseSet"
|
|
}
|
|
},
|
|
"pageSize": {
|
|
"type": "int32",
|
|
"id": 2
|
|
},
|
|
"pageToken": {
|
|
"type": "string",
|
|
"id": 3
|
|
}
|
|
}
|
|
},
|
|
"ListPhraseSetResponse": {
|
|
"fields": {
|
|
"phraseSets": {
|
|
"rule": "repeated",
|
|
"type": "PhraseSet",
|
|
"id": 1
|
|
},
|
|
"nextPageToken": {
|
|
"type": "string",
|
|
"id": 2
|
|
}
|
|
}
|
|
},
|
|
"DeletePhraseSetRequest": {
|
|
"fields": {
|
|
"name": {
|
|
"type": "string",
|
|
"id": 1,
|
|
"options": {
|
|
"(google.api.field_behavior)": "REQUIRED",
|
|
"(google.api.resource_reference).type": "speech.googleapis.com/PhraseSet"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"CreateCustomClassRequest": {
|
|
"fields": {
|
|
"parent": {
|
|
"type": "string",
|
|
"id": 1,
|
|
"options": {
|
|
"(google.api.field_behavior)": "REQUIRED",
|
|
"(google.api.resource_reference).child_type": "speech.googleapis.com/CustomClass"
|
|
}
|
|
},
|
|
"customClassId": {
|
|
"type": "string",
|
|
"id": 2,
|
|
"options": {
|
|
"(google.api.field_behavior)": "REQUIRED"
|
|
}
|
|
},
|
|
"customClass": {
|
|
"type": "CustomClass",
|
|
"id": 3,
|
|
"options": {
|
|
"(google.api.field_behavior)": "REQUIRED"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"UpdateCustomClassRequest": {
|
|
"fields": {
|
|
"customClass": {
|
|
"type": "CustomClass",
|
|
"id": 1,
|
|
"options": {
|
|
"(google.api.field_behavior)": "REQUIRED"
|
|
}
|
|
},
|
|
"updateMask": {
|
|
"type": "google.protobuf.FieldMask",
|
|
"id": 2
|
|
}
|
|
}
|
|
},
|
|
"GetCustomClassRequest": {
|
|
"fields": {
|
|
"name": {
|
|
"type": "string",
|
|
"id": 1,
|
|
"options": {
|
|
"(google.api.field_behavior)": "REQUIRED",
|
|
"(google.api.resource_reference).type": "speech.googleapis.com/CustomClass"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ListCustomClassesRequest": {
|
|
"fields": {
|
|
"parent": {
|
|
"type": "string",
|
|
"id": 1,
|
|
"options": {
|
|
"(google.api.field_behavior)": "REQUIRED",
|
|
"(google.api.resource_reference).child_type": "speech.googleapis.com/CustomClass"
|
|
}
|
|
},
|
|
"pageSize": {
|
|
"type": "int32",
|
|
"id": 2
|
|
},
|
|
"pageToken": {
|
|
"type": "string",
|
|
"id": 3
|
|
}
|
|
}
|
|
},
|
|
"ListCustomClassesResponse": {
|
|
"fields": {
|
|
"customClasses": {
|
|
"rule": "repeated",
|
|
"type": "CustomClass",
|
|
"id": 1
|
|
},
|
|
"nextPageToken": {
|
|
"type": "string",
|
|
"id": 2
|
|
}
|
|
}
|
|
},
|
|
"DeleteCustomClassRequest": {
|
|
"fields": {
|
|
"name": {
|
|
"type": "string",
|
|
"id": 1,
|
|
"options": {
|
|
"(google.api.field_behavior)": "REQUIRED",
|
|
"(google.api.resource_reference).type": "speech.googleapis.com/CustomClass"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"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
|
|
}
|
|
}
|
|
},
|
|
"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
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"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
|
|
}
|
|
},
|
|
"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": {
|
|
"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
|
|
},
|
|
"edition": {
|
|
"type": "string",
|
|
"id": 13
|
|
}
|
|
}
|
|
},
|
|
"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
|
|
},
|
|
"declaration": {
|
|
"rule": "repeated",
|
|
"type": "Declaration",
|
|
"id": 2,
|
|
"options": {
|
|
"retention": "RETENTION_SOURCE"
|
|
}
|
|
},
|
|
"features": {
|
|
"type": "FeatureSet",
|
|
"id": 50
|
|
},
|
|
"verification": {
|
|
"type": "VerificationState",
|
|
"id": 3,
|
|
"options": {
|
|
"default": "UNVERIFIED"
|
|
}
|
|
}
|
|
},
|
|
"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": {
|
|
"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
|
|
},
|
|
"features": {
|
|
"type": "FeatureSet",
|
|
"id": 50
|
|
},
|
|
"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
|
|
},
|
|
"deprecatedLegacyJsonFieldConflicts": {
|
|
"type": "bool",
|
|
"id": 11,
|
|
"options": {
|
|
"deprecated": true
|
|
}
|
|
},
|
|
"features": {
|
|
"type": "FeatureSet",
|
|
"id": 12
|
|
},
|
|
"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
|
|
}
|
|
},
|
|
"debugRedact": {
|
|
"type": "bool",
|
|
"id": 16,
|
|
"options": {
|
|
"default": false
|
|
}
|
|
},
|
|
"retention": {
|
|
"type": "OptionRetention",
|
|
"id": 17
|
|
},
|
|
"targets": {
|
|
"rule": "repeated",
|
|
"type": "OptionTargetType",
|
|
"id": 19,
|
|
"options": {
|
|
"packed": false
|
|
}
|
|
},
|
|
"editionDefaults": {
|
|
"rule": "repeated",
|
|
"type": "EditionDefault",
|
|
"id": 20
|
|
},
|
|
"features": {
|
|
"type": "FeatureSet",
|
|
"id": 21
|
|
},
|
|
"uninterpretedOption": {
|
|
"rule": "repeated",
|
|
"type": "UninterpretedOption",
|
|
"id": 999
|
|
}
|
|
},
|
|
"extensions": [
|
|
[
|
|
1000,
|
|
536870911
|
|
]
|
|
],
|
|
"reserved": [
|
|
[
|
|
4,
|
|
4
|
|
],
|
|
[
|
|
18,
|
|
18
|
|
]
|
|
],
|
|
"nested": {
|
|
"CType": {
|
|
"values": {
|
|
"STRING": 0,
|
|
"CORD": 1,
|
|
"STRING_PIECE": 2
|
|
}
|
|
},
|
|
"JSType": {
|
|
"values": {
|
|
"JS_NORMAL": 0,
|
|
"JS_STRING": 1,
|
|
"JS_NUMBER": 2
|
|
}
|
|
},
|
|
"OptionRetention": {
|
|
"values": {
|
|
"RETENTION_UNKNOWN": 0,
|
|
"RETENTION_RUNTIME": 1,
|
|
"RETENTION_SOURCE": 2
|
|
}
|
|
},
|
|
"OptionTargetType": {
|
|
"values": {
|
|
"TARGET_TYPE_UNKNOWN": 0,
|
|
"TARGET_TYPE_FILE": 1,
|
|
"TARGET_TYPE_EXTENSION_RANGE": 2,
|
|
"TARGET_TYPE_MESSAGE": 3,
|
|
"TARGET_TYPE_FIELD": 4,
|
|
"TARGET_TYPE_ONEOF": 5,
|
|
"TARGET_TYPE_ENUM": 6,
|
|
"TARGET_TYPE_ENUM_ENTRY": 7,
|
|
"TARGET_TYPE_SERVICE": 8,
|
|
"TARGET_TYPE_METHOD": 9
|
|
}
|
|
},
|
|
"EditionDefault": {
|
|
"fields": {
|
|
"edition": {
|
|
"type": "string",
|
|
"id": 1
|
|
},
|
|
"value": {
|
|
"type": "string",
|
|
"id": 2
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"OneofOptions": {
|
|
"fields": {
|
|
"features": {
|
|
"type": "FeatureSet",
|
|
"id": 1
|
|
},
|
|
"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
|
|
}
|
|
},
|
|
"deprecatedLegacyJsonFieldConflicts": {
|
|
"type": "bool",
|
|
"id": 6,
|
|
"options": {
|
|
"deprecated": true
|
|
}
|
|
},
|
|
"features": {
|
|
"type": "FeatureSet",
|
|
"id": 7
|
|
},
|
|
"uninterpretedOption": {
|
|
"rule": "repeated",
|
|
"type": "UninterpretedOption",
|
|
"id": 999
|
|
}
|
|
},
|
|
"extensions": [
|
|
[
|
|
1000,
|
|
536870911
|
|
]
|
|
],
|
|
"reserved": [
|
|
[
|
|
5,
|
|
5
|
|
]
|
|
]
|
|
},
|
|
"EnumValueOptions": {
|
|
"fields": {
|
|
"deprecated": {
|
|
"type": "bool",
|
|
"id": 1,
|
|
"options": {
|
|
"default": false
|
|
}
|
|
},
|
|
"features": {
|
|
"type": "FeatureSet",
|
|
"id": 2
|
|
},
|
|
"debugRedact": {
|
|
"type": "bool",
|
|
"id": 3,
|
|
"options": {
|
|
"default": false
|
|
}
|
|
},
|
|
"uninterpretedOption": {
|
|
"rule": "repeated",
|
|
"type": "UninterpretedOption",
|
|
"id": 999
|
|
}
|
|
},
|
|
"extensions": [
|
|
[
|
|
1000,
|
|
536870911
|
|
]
|
|
]
|
|
},
|
|
"ServiceOptions": {
|
|
"fields": {
|
|
"features": {
|
|
"type": "FeatureSet",
|
|
"id": 34
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"features": {
|
|
"type": "FeatureSet",
|
|
"id": 35
|
|
},
|
|
"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
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"FeatureSet": {
|
|
"fields": {
|
|
"fieldPresence": {
|
|
"type": "FieldPresence",
|
|
"id": 1,
|
|
"options": {
|
|
"retention": "RETENTION_RUNTIME",
|
|
"targets": "TARGET_TYPE_FILE",
|
|
"edition_defaults.edition": "2023",
|
|
"edition_defaults.value": "EXPLICIT"
|
|
}
|
|
},
|
|
"enumType": {
|
|
"type": "EnumType",
|
|
"id": 2,
|
|
"options": {
|
|
"retention": "RETENTION_RUNTIME",
|
|
"targets": "TARGET_TYPE_FILE",
|
|
"edition_defaults.edition": "2023",
|
|
"edition_defaults.value": "OPEN"
|
|
}
|
|
},
|
|
"repeatedFieldEncoding": {
|
|
"type": "RepeatedFieldEncoding",
|
|
"id": 3,
|
|
"options": {
|
|
"retention": "RETENTION_RUNTIME",
|
|
"targets": "TARGET_TYPE_FILE",
|
|
"edition_defaults.edition": "2023",
|
|
"edition_defaults.value": "PACKED"
|
|
}
|
|
},
|
|
"stringFieldValidation": {
|
|
"type": "StringFieldValidation",
|
|
"id": 4,
|
|
"options": {
|
|
"retention": "RETENTION_RUNTIME",
|
|
"targets": "TARGET_TYPE_FILE",
|
|
"edition_defaults.edition": "2023",
|
|
"edition_defaults.value": "MANDATORY"
|
|
}
|
|
},
|
|
"messageEncoding": {
|
|
"type": "MessageEncoding",
|
|
"id": 5,
|
|
"options": {
|
|
"retention": "RETENTION_RUNTIME",
|
|
"targets": "TARGET_TYPE_FILE",
|
|
"edition_defaults.edition": "2023",
|
|
"edition_defaults.value": "LENGTH_PREFIXED"
|
|
}
|
|
},
|
|
"jsonFormat": {
|
|
"type": "JsonFormat",
|
|
"id": 6,
|
|
"options": {
|
|
"retention": "RETENTION_RUNTIME",
|
|
"targets": "TARGET_TYPE_FILE",
|
|
"edition_defaults.edition": "2023",
|
|
"edition_defaults.value": "ALLOW"
|
|
}
|
|
},
|
|
"rawFeatures": {
|
|
"type": "FeatureSet",
|
|
"id": 999,
|
|
"options": {
|
|
"targets": "TARGET_TYPE_UNKNOWN"
|
|
}
|
|
}
|
|
},
|
|
"extensions": [
|
|
[
|
|
1000,
|
|
1000
|
|
],
|
|
[
|
|
1001,
|
|
1001
|
|
],
|
|
[
|
|
9995,
|
|
9999
|
|
]
|
|
],
|
|
"nested": {
|
|
"FieldPresence": {
|
|
"values": {
|
|
"FIELD_PRESENCE_UNKNOWN": 0,
|
|
"EXPLICIT": 1,
|
|
"IMPLICIT": 2,
|
|
"LEGACY_REQUIRED": 3
|
|
}
|
|
},
|
|
"EnumType": {
|
|
"values": {
|
|
"ENUM_TYPE_UNKNOWN": 0,
|
|
"OPEN": 1,
|
|
"CLOSED": 2
|
|
}
|
|
},
|
|
"RepeatedFieldEncoding": {
|
|
"values": {
|
|
"REPEATED_FIELD_ENCODING_UNKNOWN": 0,
|
|
"PACKED": 1,
|
|
"EXPANDED": 2
|
|
}
|
|
},
|
|
"StringFieldValidation": {
|
|
"values": {
|
|
"STRING_FIELD_VALIDATION_UNKNOWN": 0,
|
|
"MANDATORY": 1,
|
|
"HINT": 2,
|
|
"NONE": 3
|
|
}
|
|
},
|
|
"MessageEncoding": {
|
|
"values": {
|
|
"MESSAGE_ENCODING_UNKNOWN": 0,
|
|
"LENGTH_PREFIXED": 1,
|
|
"DELIMITED": 2
|
|
}
|
|
},
|
|
"JsonFormat": {
|
|
"values": {
|
|
"JSON_FORMAT_UNKNOWN": 0,
|
|
"ALLOW": 1,
|
|
"LEGACY_BEST_EFFORT": 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
|
|
},
|
|
"semantic": {
|
|
"type": "Semantic",
|
|
"id": 5
|
|
}
|
|
},
|
|
"nested": {
|
|
"Semantic": {
|
|
"values": {
|
|
"NONE": 0,
|
|
"SET": 1,
|
|
"ALIAS": 2
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"Duration": {
|
|
"fields": {
|
|
"seconds": {
|
|
"type": "int64",
|
|
"id": 1
|
|
},
|
|
"nanos": {
|
|
"type": "int32",
|
|
"id": 2
|
|
}
|
|
}
|
|
},
|
|
"Any": {
|
|
"fields": {
|
|
"type_url": {
|
|
"type": "string",
|
|
"id": 1
|
|
},
|
|
"value": {
|
|
"type": "bytes",
|
|
"id": 2
|
|
}
|
|
}
|
|
},
|
|
"Empty": {
|
|
"fields": {}
|
|
},
|
|
"Timestamp": {
|
|
"fields": {
|
|
"seconds": {
|
|
"type": "int64",
|
|
"id": 1
|
|
},
|
|
"nanos": {
|
|
"type": "int32",
|
|
"id": 2
|
|
}
|
|
}
|
|
},
|
|
"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
|
|
}
|
|
}
|
|
},
|
|
"FieldMask": {
|
|
"fields": {
|
|
"paths": {
|
|
"rule": "repeated",
|
|
"type": "string",
|
|
"id": 1
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"longrunning": {
|
|
"options": {
|
|
"cc_enable_arenas": true,
|
|
"csharp_namespace": "Google.LongRunning",
|
|
"go_package": "cloud.google.com/go/longrunning/autogen/longrunningpb;longrunningpb",
|
|
"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": {
|
|
"options": {
|
|
"(google.api.default_host)": "longrunning.googleapis.com"
|
|
},
|
|
"methods": {
|
|
"ListOperations": {
|
|
"requestType": "ListOperationsRequest",
|
|
"responseType": "ListOperationsResponse",
|
|
"options": {
|
|
"(google.api.http).get": "/v1/{name=operations}",
|
|
"(google.api.method_signature)": "name,filter"
|
|
},
|
|
"parsedOptions": [
|
|
{
|
|
"(google.api.http)": {
|
|
"get": "/v1/{name=operations}"
|
|
}
|
|
},
|
|
{
|
|
"(google.api.method_signature)": "name,filter"
|
|
}
|
|
]
|
|
},
|
|
"GetOperation": {
|
|
"requestType": "GetOperationRequest",
|
|
"responseType": "Operation",
|
|
"options": {
|
|
"(google.api.http).get": "/v1/{name=operations/**}",
|
|
"(google.api.method_signature)": "name"
|
|
},
|
|
"parsedOptions": [
|
|
{
|
|
"(google.api.http)": {
|
|
"get": "/v1/{name=operations/**}"
|
|
}
|
|
},
|
|
{
|
|
"(google.api.method_signature)": "name"
|
|
}
|
|
]
|
|
},
|
|
"DeleteOperation": {
|
|
"requestType": "DeleteOperationRequest",
|
|
"responseType": "google.protobuf.Empty",
|
|
"options": {
|
|
"(google.api.http).delete": "/v1/{name=operations/**}",
|
|
"(google.api.method_signature)": "name"
|
|
},
|
|
"parsedOptions": [
|
|
{
|
|
"(google.api.http)": {
|
|
"delete": "/v1/{name=operations/**}"
|
|
}
|
|
},
|
|
{
|
|
"(google.api.method_signature)": "name"
|
|
}
|
|
]
|
|
},
|
|
"CancelOperation": {
|
|
"requestType": "CancelOperationRequest",
|
|
"responseType": "google.protobuf.Empty",
|
|
"options": {
|
|
"(google.api.http).post": "/v1/{name=operations/**}:cancel",
|
|
"(google.api.http).body": "*",
|
|
"(google.api.method_signature)": "name"
|
|
},
|
|
"parsedOptions": [
|
|
{
|
|
"(google.api.http)": {
|
|
"post": "/v1/{name=operations/**}:cancel",
|
|
"body": "*"
|
|
}
|
|
},
|
|
{
|
|
"(google.api.method_signature)": "name"
|
|
}
|
|
]
|
|
},
|
|
"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": {
|
|
"cc_enable_arenas": true,
|
|
"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
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |