| 1 |
// Copyright 2025 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.35.2 |
| 18 |
// protoc v4.25.7 |
| 19 |
// source: google/cloud/speech/v1p1beta1/cloud_speech.proto |
| 20 |
|
| 21 |
package speechpb |
| 22 |
|
| 23 |
import ( |
| 24 |
longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" |
| 25 |
context "context" |
| 26 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 27 |
status "google.golang.org/genproto/googleapis/rpc/status" |
| 28 |
grpc "google.golang.org/grpc" |
| 29 |
codes "google.golang.org/grpc/codes" |
| 30 |
status1 "google.golang.org/grpc/status" |
| 31 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 32 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 33 |
durationpb "google.golang.org/protobuf/types/known/durationpb" |
| 34 |
timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 35 |
wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" |
| 36 |
reflect "reflect" |
| 37 |
sync "sync" |
| 38 |
) |
| 39 |
|
| 40 |
const ( |
| 41 |
// Verify that this generated code is sufficiently up-to-date. |
| 42 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 43 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 44 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 45 |
) |
| 46 |
|
| 47 |
// The encoding of the audio data sent in the request. |
| 48 |
// |
| 49 |
// All encodings support only 1 channel (mono) audio, unless the |
| 50 |
// `audio_channel_count` and `enable_separate_recognition_per_channel` fields |
| 51 |
// are set. |
| 52 |
// |
| 53 |
// For best results, the audio source should be captured and transmitted using |
| 54 |
// a lossless encoding (`FLAC` or `LINEAR16`). The accuracy of the speech |
| 55 |
// recognition can be reduced if lossy codecs are used to capture or transmit |
| 56 |
// audio, particularly if background noise is present. Lossy codecs include |
| 57 |
// `MULAW`, `AMR`, `AMR_WB`, `OGG_OPUS`, `SPEEX_WITH_HEADER_BYTE`, `MP3`, |
| 58 |
// and `WEBM_OPUS`. |
| 59 |
// |
| 60 |
// The `FLAC` and `WAV` audio file formats include a header that describes the |
| 61 |
// included audio content. You can request recognition for `WAV` files that |
| 62 |
// contain either `LINEAR16` or `MULAW` encoded audio. |
| 63 |
// If you send `FLAC` or `WAV` audio file format in |
| 64 |
// your request, you do not need to specify an `AudioEncoding`; the audio |
| 65 |
// encoding format is determined from the file header. If you specify |
| 66 |
// an `AudioEncoding` when you send send `FLAC` or `WAV` audio, the |
| 67 |
// encoding configuration must match the encoding described in the audio |
| 68 |
// header; otherwise the request returns an |
| 69 |
// [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] error |
| 70 |
// code. |
| 71 |
type RecognitionConfig_AudioEncoding int32 |
| 72 |
|
| 73 |
const ( |
| 74 |
// Not specified. |
| 75 |
RecognitionConfig_ENCODING_UNSPECIFIED RecognitionConfig_AudioEncoding = 0 |
| 76 |
// Uncompressed 16-bit signed little-endian samples (Linear PCM). |
| 77 |
RecognitionConfig_LINEAR16 RecognitionConfig_AudioEncoding = 1 |
| 78 |
// `FLAC` (Free Lossless Audio |
| 79 |
// Codec) is the recommended encoding because it is |
| 80 |
// lossless--therefore recognition is not compromised--and |
| 81 |
// requires only about half the bandwidth of `LINEAR16`. `FLAC` stream |
| 82 |
// encoding supports 16-bit and 24-bit samples, however, not all fields in |
| 83 |
// `STREAMINFO` are supported. |
| 84 |
RecognitionConfig_FLAC RecognitionConfig_AudioEncoding = 2 |
| 85 |
// 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. |
| 86 |
RecognitionConfig_MULAW RecognitionConfig_AudioEncoding = 3 |
| 87 |
// Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000. |
| 88 |
RecognitionConfig_AMR RecognitionConfig_AudioEncoding = 4 |
| 89 |
// Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000. |
| 90 |
RecognitionConfig_AMR_WB RecognitionConfig_AudioEncoding = 5 |
| 91 |
// Opus encoded audio frames in Ogg container |
| 92 |
// ([OggOpus](https://wiki.xiph.org/OggOpus)). |
| 93 |
// `sample_rate_hertz` must be one of 8000, 12000, 16000, 24000, or 48000. |
| 94 |
RecognitionConfig_OGG_OPUS RecognitionConfig_AudioEncoding = 6 |
| 95 |
// Although the use of lossy encodings is not recommended, if a very low |
| 96 |
// bitrate encoding is required, `OGG_OPUS` is highly preferred over |
| 97 |
// Speex encoding. The [Speex](https://speex.org/) encoding supported by |
| 98 |
// Cloud Speech API has a header byte in each block, as in MIME type |
| 99 |
// `audio/x-speex-with-header-byte`. |
| 100 |
// It is a variant of the RTP Speex encoding defined in |
| 101 |
// [RFC 5574](https://tools.ietf.org/html/rfc5574). |
| 102 |
// The stream is a sequence of blocks, one block per RTP packet. Each block |
| 103 |
// starts with a byte containing the length of the block, in bytes, followed |
| 104 |
// by one or more frames of Speex data, padded to an integral number of |
| 105 |
// bytes (octets) as specified in RFC 5574. In other words, each RTP header |
| 106 |
// is replaced with a single byte containing the block length. Only Speex |
| 107 |
// wideband is supported. `sample_rate_hertz` must be 16000. |
| 108 |
RecognitionConfig_SPEEX_WITH_HEADER_BYTE RecognitionConfig_AudioEncoding = 7 |
| 109 |
// MP3 audio. MP3 encoding is a Beta feature and only available in |
| 110 |
// v1p1beta1. Support all standard MP3 bitrates (which range from 32-320 |
| 111 |
// kbps). When using this encoding, `sample_rate_hertz` has to match the |
| 112 |
// sample rate of the file being used. |
| 113 |
RecognitionConfig_MP3 RecognitionConfig_AudioEncoding = 8 |
| 114 |
// Opus encoded audio frames in WebM container |
| 115 |
// ([WebM](https://www.webmproject.org/docs/container/)). |
| 116 |
// `sample_rate_hertz` must be one of 8000, 12000, 16000, 24000, or 48000. |
| 117 |
RecognitionConfig_WEBM_OPUS RecognitionConfig_AudioEncoding = 9 |
| 118 |
// 8-bit samples that compand 13-bit audio samples using G.711 PCMU/a-law. |
| 119 |
RecognitionConfig_ALAW RecognitionConfig_AudioEncoding = 10 |
| 120 |
) |
| 121 |
|
| 122 |
// Enum value maps for RecognitionConfig_AudioEncoding. |
| 123 |
var ( |
| 124 |
RecognitionConfig_AudioEncoding_name = map[int32]string{ |
| 125 |
0: "ENCODING_UNSPECIFIED", |
| 126 |
1: "LINEAR16", |
| 127 |
2: "FLAC", |
| 128 |
3: "MULAW", |
| 129 |
4: "AMR", |
| 130 |
5: "AMR_WB", |
| 131 |
6: "OGG_OPUS", |
| 132 |
7: "SPEEX_WITH_HEADER_BYTE", |
| 133 |
8: "MP3", |
| 134 |
9: "WEBM_OPUS", |
| 135 |
10: "ALAW", |
| 136 |
} |
| 137 |
RecognitionConfig_AudioEncoding_value = map[string]int32{ |
| 138 |
"ENCODING_UNSPECIFIED": 0, |
| 139 |
"LINEAR16": 1, |
| 140 |
"FLAC": 2, |
| 141 |
"MULAW": 3, |
| 142 |
"AMR": 4, |
| 143 |
"AMR_WB": 5, |
| 144 |
"OGG_OPUS": 6, |
| 145 |
"SPEEX_WITH_HEADER_BYTE": 7, |
| 146 |
"MP3": 8, |
| 147 |
"WEBM_OPUS": 9, |
| 148 |
"ALAW": 10, |
| 149 |
} |
| 150 |
) |
| 151 |
|
| 152 |
func (x RecognitionConfig_AudioEncoding) Enum() *RecognitionConfig_AudioEncoding { |
| 153 |
p := new(RecognitionConfig_AudioEncoding) |
| 154 |
*p = x |
| 155 |
return p |
| 156 |
} |
| 157 |
|
| 158 |
func (x RecognitionConfig_AudioEncoding) String() string { |
| 159 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 160 |
} |
| 161 |
|
| 162 |
func (RecognitionConfig_AudioEncoding) Descriptor() protoreflect.EnumDescriptor { |
| 163 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_enumTypes[0].Descriptor() |
| 164 |
} |
| 165 |
|
| 166 |
func (RecognitionConfig_AudioEncoding) Type() protoreflect.EnumType { |
| 167 |
return &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_enumTypes[0] |
| 168 |
} |
| 169 |
|
| 170 |
func (x RecognitionConfig_AudioEncoding) Number() protoreflect.EnumNumber { |
| 171 |
return protoreflect.EnumNumber(x) |
| 172 |
} |
| 173 |
|
| 174 |
// Deprecated: Use RecognitionConfig_AudioEncoding.Descriptor instead. |
| 175 |
func (RecognitionConfig_AudioEncoding) EnumDescriptor() ([]byte, []int) { |
| 176 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescGZIP(), []int{5, 0} |
| 177 |
} |
| 178 |
|
| 179 |
// Use case categories that the audio recognition request can be described |
| 180 |
// by. |
| 181 |
type RecognitionMetadata_InteractionType int32 |
| 182 |
|
| 183 |
const ( |
| 184 |
// Use case is either unknown or is something other than one of the other |
| 185 |
// values below. |
| 186 |
RecognitionMetadata_INTERACTION_TYPE_UNSPECIFIED RecognitionMetadata_InteractionType = 0 |
| 187 |
// Multiple people in a conversation or discussion. For example in a |
| 188 |
// meeting with two or more people actively participating. Typically |
| 189 |
// all the primary people speaking would be in the same room (if not, |
| 190 |
// see PHONE_CALL) |
| 191 |
RecognitionMetadata_DISCUSSION RecognitionMetadata_InteractionType = 1 |
| 192 |
// One or more persons lecturing or presenting to others, mostly |
| 193 |
// uninterrupted. |
| 194 |
RecognitionMetadata_PRESENTATION RecognitionMetadata_InteractionType = 2 |
| 195 |
// A phone-call or video-conference in which two or more people, who are |
| 196 |
// not in the same room, are actively participating. |
| 197 |
RecognitionMetadata_PHONE_CALL RecognitionMetadata_InteractionType = 3 |
| 198 |
// A recorded message intended for another person to listen to. |
| 199 |
RecognitionMetadata_VOICEMAIL RecognitionMetadata_InteractionType = 4 |
| 200 |
// Professionally produced audio (eg. TV Show, Podcast). |
| 201 |
RecognitionMetadata_PROFESSIONALLY_PRODUCED RecognitionMetadata_InteractionType = 5 |
| 202 |
// Transcribe spoken questions and queries into text. |
| 203 |
RecognitionMetadata_VOICE_SEARCH RecognitionMetadata_InteractionType = 6 |
| 204 |
// Transcribe voice commands, such as for controlling a device. |
| 205 |
RecognitionMetadata_VOICE_COMMAND RecognitionMetadata_InteractionType = 7 |
| 206 |
// Transcribe speech to text to create a written document, such as a |
| 207 |
// text-message, email or report. |
| 208 |
RecognitionMetadata_DICTATION RecognitionMetadata_InteractionType = 8 |
| 209 |
) |
| 210 |
|
| 211 |
// Enum value maps for RecognitionMetadata_InteractionType. |
| 212 |
var ( |
| 213 |
RecognitionMetadata_InteractionType_name = map[int32]string{ |
| 214 |
0: "INTERACTION_TYPE_UNSPECIFIED", |
| 215 |
1: "DISCUSSION", |
| 216 |
2: "PRESENTATION", |
| 217 |
3: "PHONE_CALL", |
| 218 |
4: "VOICEMAIL", |
| 219 |
5: "PROFESSIONALLY_PRODUCED", |
| 220 |
6: "VOICE_SEARCH", |
| 221 |
7: "VOICE_COMMAND", |
| 222 |
8: "DICTATION", |
| 223 |
} |
| 224 |
RecognitionMetadata_InteractionType_value = map[string]int32{ |
| 225 |
"INTERACTION_TYPE_UNSPECIFIED": 0, |
| 226 |
"DISCUSSION": 1, |
| 227 |
"PRESENTATION": 2, |
| 228 |
"PHONE_CALL": 3, |
| 229 |
"VOICEMAIL": 4, |
| 230 |
"PROFESSIONALLY_PRODUCED": 5, |
| 231 |
"VOICE_SEARCH": 6, |
| 232 |
"VOICE_COMMAND": 7, |
| 233 |
"DICTATION": 8, |
| 234 |
} |
| 235 |
) |
| 236 |
|
| 237 |
func (x RecognitionMetadata_InteractionType) Enum() *RecognitionMetadata_InteractionType { |
| 238 |
p := new(RecognitionMetadata_InteractionType) |
| 239 |
*p = x |
| 240 |
return p |
| 241 |
} |
| 242 |
|
| 243 |
func (x RecognitionMetadata_InteractionType) String() string { |
| 244 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 245 |
} |
| 246 |
|
| 247 |
func (RecognitionMetadata_InteractionType) Descriptor() protoreflect.EnumDescriptor { |
| 248 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_enumTypes[1].Descriptor() |
| 249 |
} |
| 250 |
|
| 251 |
func (RecognitionMetadata_InteractionType) Type() protoreflect.EnumType { |
| 252 |
return &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_enumTypes[1] |
| 253 |
} |
| 254 |
|
| 255 |
func (x RecognitionMetadata_InteractionType) Number() protoreflect.EnumNumber { |
| 256 |
return protoreflect.EnumNumber(x) |
| 257 |
} |
| 258 |
|
| 259 |
// Deprecated: Use RecognitionMetadata_InteractionType.Descriptor instead. |
| 260 |
func (RecognitionMetadata_InteractionType) EnumDescriptor() ([]byte, []int) { |
| 261 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescGZIP(), []int{7, 0} |
| 262 |
} |
| 263 |
|
| 264 |
// Enumerates the types of capture settings describing an audio file. |
| 265 |
type RecognitionMetadata_MicrophoneDistance int32 |
| 266 |
|
| 267 |
const ( |
| 268 |
// Audio type is not known. |
| 269 |
RecognitionMetadata_MICROPHONE_DISTANCE_UNSPECIFIED RecognitionMetadata_MicrophoneDistance = 0 |
| 270 |
// The audio was captured from a closely placed microphone. Eg. phone, |
| 271 |
// dictaphone, or handheld microphone. Generally if there speaker is within |
| 272 |
// 1 meter of the microphone. |
| 273 |
RecognitionMetadata_NEARFIELD RecognitionMetadata_MicrophoneDistance = 1 |
| 274 |
// The speaker if within 3 meters of the microphone. |
| 275 |
RecognitionMetadata_MIDFIELD RecognitionMetadata_MicrophoneDistance = 2 |
| 276 |
// The speaker is more than 3 meters away from the microphone. |
| 277 |
RecognitionMetadata_FARFIELD RecognitionMetadata_MicrophoneDistance = 3 |
| 278 |
) |
| 279 |
|
| 280 |
// Enum value maps for RecognitionMetadata_MicrophoneDistance. |
| 281 |
var ( |
| 282 |
RecognitionMetadata_MicrophoneDistance_name = map[int32]string{ |
| 283 |
0: "MICROPHONE_DISTANCE_UNSPECIFIED", |
| 284 |
1: "NEARFIELD", |
| 285 |
2: "MIDFIELD", |
| 286 |
3: "FARFIELD", |
| 287 |
} |
| 288 |
RecognitionMetadata_MicrophoneDistance_value = map[string]int32{ |
| 289 |
"MICROPHONE_DISTANCE_UNSPECIFIED": 0, |
| 290 |
"NEARFIELD": 1, |
| 291 |
"MIDFIELD": 2, |
| 292 |
"FARFIELD": 3, |
| 293 |
} |
| 294 |
) |
| 295 |
|
| 296 |
func (x RecognitionMetadata_MicrophoneDistance) Enum() *RecognitionMetadata_MicrophoneDistance { |
| 297 |
p := new(RecognitionMetadata_MicrophoneDistance) |
| 298 |
*p = x |
| 299 |
return p |
| 300 |
} |
| 301 |
|
| 302 |
func (x RecognitionMetadata_MicrophoneDistance) String() string { |
| 303 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 304 |
} |
| 305 |
|
| 306 |
func (RecognitionMetadata_MicrophoneDistance) Descriptor() protoreflect.EnumDescriptor { |
| 307 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_enumTypes[2].Descriptor() |
| 308 |
} |
| 309 |
|
| 310 |
func (RecognitionMetadata_MicrophoneDistance) Type() protoreflect.EnumType { |
| 311 |
return &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_enumTypes[2] |
| 312 |
} |
| 313 |
|
| 314 |
func (x RecognitionMetadata_MicrophoneDistance) Number() protoreflect.EnumNumber { |
| 315 |
return protoreflect.EnumNumber(x) |
| 316 |
} |
| 317 |
|
| 318 |
// Deprecated: Use RecognitionMetadata_MicrophoneDistance.Descriptor instead. |
| 319 |
func (RecognitionMetadata_MicrophoneDistance) EnumDescriptor() ([]byte, []int) { |
| 320 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescGZIP(), []int{7, 1} |
| 321 |
} |
| 322 |
|
| 323 |
// The original media the speech was recorded on. |
| 324 |
type RecognitionMetadata_OriginalMediaType int32 |
| 325 |
|
| 326 |
const ( |
| 327 |
// Unknown original media type. |
| 328 |
RecognitionMetadata_ORIGINAL_MEDIA_TYPE_UNSPECIFIED RecognitionMetadata_OriginalMediaType = 0 |
| 329 |
// The speech data is an audio recording. |
| 330 |
RecognitionMetadata_AUDIO RecognitionMetadata_OriginalMediaType = 1 |
| 331 |
// The speech data originally recorded on a video. |
| 332 |
RecognitionMetadata_VIDEO RecognitionMetadata_OriginalMediaType = 2 |
| 333 |
) |
| 334 |
|
| 335 |
// Enum value maps for RecognitionMetadata_OriginalMediaType. |
| 336 |
var ( |
| 337 |
RecognitionMetadata_OriginalMediaType_name = map[int32]string{ |
| 338 |
0: "ORIGINAL_MEDIA_TYPE_UNSPECIFIED", |
| 339 |
1: "AUDIO", |
| 340 |
2: "VIDEO", |
| 341 |
} |
| 342 |
RecognitionMetadata_OriginalMediaType_value = map[string]int32{ |
| 343 |
"ORIGINAL_MEDIA_TYPE_UNSPECIFIED": 0, |
| 344 |
"AUDIO": 1, |
| 345 |
"VIDEO": 2, |
| 346 |
} |
| 347 |
) |
| 348 |
|
| 349 |
func (x RecognitionMetadata_OriginalMediaType) Enum() *RecognitionMetadata_OriginalMediaType { |
| 350 |
p := new(RecognitionMetadata_OriginalMediaType) |
| 351 |
*p = x |
| 352 |
return p |
| 353 |
} |
| 354 |
|
| 355 |
func (x RecognitionMetadata_OriginalMediaType) String() string { |
| 356 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 357 |
} |
| 358 |
|
| 359 |
func (RecognitionMetadata_OriginalMediaType) Descriptor() protoreflect.EnumDescriptor { |
| 360 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_enumTypes[3].Descriptor() |
| 361 |
} |
| 362 |
|
| 363 |
func (RecognitionMetadata_OriginalMediaType) Type() protoreflect.EnumType { |
| 364 |
return &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_enumTypes[3] |
| 365 |
} |
| 366 |
|
| 367 |
func (x RecognitionMetadata_OriginalMediaType) Number() protoreflect.EnumNumber { |
| 368 |
return protoreflect.EnumNumber(x) |
| 369 |
} |
| 370 |
|
| 371 |
// Deprecated: Use RecognitionMetadata_OriginalMediaType.Descriptor instead. |
| 372 |
func (RecognitionMetadata_OriginalMediaType) EnumDescriptor() ([]byte, []int) { |
| 373 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescGZIP(), []int{7, 2} |
| 374 |
} |
| 375 |
|
| 376 |
// The type of device the speech was recorded with. |
| 377 |
type RecognitionMetadata_RecordingDeviceType int32 |
| 378 |
|
| 379 |
const ( |
| 380 |
// The recording device is unknown. |
| 381 |
RecognitionMetadata_RECORDING_DEVICE_TYPE_UNSPECIFIED RecognitionMetadata_RecordingDeviceType = 0 |
| 382 |
// Speech was recorded on a smartphone. |
| 383 |
RecognitionMetadata_SMARTPHONE RecognitionMetadata_RecordingDeviceType = 1 |
| 384 |
// Speech was recorded using a personal computer or tablet. |
| 385 |
RecognitionMetadata_PC RecognitionMetadata_RecordingDeviceType = 2 |
| 386 |
// Speech was recorded over a phone line. |
| 387 |
RecognitionMetadata_PHONE_LINE RecognitionMetadata_RecordingDeviceType = 3 |
| 388 |
// Speech was recorded in a vehicle. |
| 389 |
RecognitionMetadata_VEHICLE RecognitionMetadata_RecordingDeviceType = 4 |
| 390 |
// Speech was recorded outdoors. |
| 391 |
RecognitionMetadata_OTHER_OUTDOOR_DEVICE RecognitionMetadata_RecordingDeviceType = 5 |
| 392 |
// Speech was recorded indoors. |
| 393 |
RecognitionMetadata_OTHER_INDOOR_DEVICE RecognitionMetadata_RecordingDeviceType = 6 |
| 394 |
) |
| 395 |
|
| 396 |
// Enum value maps for RecognitionMetadata_RecordingDeviceType. |
| 397 |
var ( |
| 398 |
RecognitionMetadata_RecordingDeviceType_name = map[int32]string{ |
| 399 |
0: "RECORDING_DEVICE_TYPE_UNSPECIFIED", |
| 400 |
1: "SMARTPHONE", |
| 401 |
2: "PC", |
| 402 |
3: "PHONE_LINE", |
| 403 |
4: "VEHICLE", |
| 404 |
5: "OTHER_OUTDOOR_DEVICE", |
| 405 |
6: "OTHER_INDOOR_DEVICE", |
| 406 |
} |
| 407 |
RecognitionMetadata_RecordingDeviceType_value = map[string]int32{ |
| 408 |
"RECORDING_DEVICE_TYPE_UNSPECIFIED": 0, |
| 409 |
"SMARTPHONE": 1, |
| 410 |
"PC": 2, |
| 411 |
"PHONE_LINE": 3, |
| 412 |
"VEHICLE": 4, |
| 413 |
"OTHER_OUTDOOR_DEVICE": 5, |
| 414 |
"OTHER_INDOOR_DEVICE": 6, |
| 415 |
} |
| 416 |
) |
| 417 |
|
| 418 |
func (x RecognitionMetadata_RecordingDeviceType) Enum() *RecognitionMetadata_RecordingDeviceType { |
| 419 |
p := new(RecognitionMetadata_RecordingDeviceType) |
| 420 |
*p = x |
| 421 |
return p |
| 422 |
} |
| 423 |
|
| 424 |
func (x RecognitionMetadata_RecordingDeviceType) String() string { |
| 425 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 426 |
} |
| 427 |
|
| 428 |
func (RecognitionMetadata_RecordingDeviceType) Descriptor() protoreflect.EnumDescriptor { |
| 429 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_enumTypes[4].Descriptor() |
| 430 |
} |
| 431 |
|
| 432 |
func (RecognitionMetadata_RecordingDeviceType) Type() protoreflect.EnumType { |
| 433 |
return &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_enumTypes[4] |
| 434 |
} |
| 435 |
|
| 436 |
func (x RecognitionMetadata_RecordingDeviceType) Number() protoreflect.EnumNumber { |
| 437 |
return protoreflect.EnumNumber(x) |
| 438 |
} |
| 439 |
|
| 440 |
// Deprecated: Use RecognitionMetadata_RecordingDeviceType.Descriptor instead. |
| 441 |
func (RecognitionMetadata_RecordingDeviceType) EnumDescriptor() ([]byte, []int) { |
| 442 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescGZIP(), []int{7, 3} |
| 443 |
} |
| 444 |
|
| 445 |
// Indicates the type of speech event. |
| 446 |
type StreamingRecognizeResponse_SpeechEventType int32 |
| 447 |
|
| 448 |
const ( |
| 449 |
// No speech event specified. |
| 450 |
StreamingRecognizeResponse_SPEECH_EVENT_UNSPECIFIED StreamingRecognizeResponse_SpeechEventType = 0 |
| 451 |
// This event indicates that the server has detected the end of the user's |
| 452 |
// speech utterance and expects no additional speech. Therefore, the server |
| 453 |
// will not process additional audio (although it may subsequently return |
| 454 |
// additional results). The client should stop sending additional audio |
| 455 |
// data, half-close the gRPC connection, and wait for any additional results |
| 456 |
// until the server closes the gRPC connection. This event is only sent if |
| 457 |
// `single_utterance` was set to `true`, and is not used otherwise. |
| 458 |
StreamingRecognizeResponse_END_OF_SINGLE_UTTERANCE StreamingRecognizeResponse_SpeechEventType = 1 |
| 459 |
// This event indicates that the server has detected the beginning of human |
| 460 |
// voice activity in the stream. This event can be returned multiple times |
| 461 |
// if speech starts and stops repeatedly throughout the stream. This event |
| 462 |
// is only sent if `voice_activity_events` is set to true. |
| 463 |
StreamingRecognizeResponse_SPEECH_ACTIVITY_BEGIN StreamingRecognizeResponse_SpeechEventType = 2 |
| 464 |
// This event indicates that the server has detected the end of human voice |
| 465 |
// activity in the stream. This event can be returned multiple times if |
| 466 |
// speech starts and stops repeatedly throughout the stream. This event is |
| 467 |
// only sent if `voice_activity_events` is set to true. |
| 468 |
StreamingRecognizeResponse_SPEECH_ACTIVITY_END StreamingRecognizeResponse_SpeechEventType = 3 |
| 469 |
// This event indicates that the user-set timeout for speech activity begin |
| 470 |
// or end has exceeded. Upon receiving this event, the client is expected to |
| 471 |
// send a half close. Further audio will not be processed. |
| 472 |
StreamingRecognizeResponse_SPEECH_ACTIVITY_TIMEOUT StreamingRecognizeResponse_SpeechEventType = 4 |
| 473 |
) |
| 474 |
|
| 475 |
// Enum value maps for StreamingRecognizeResponse_SpeechEventType. |
| 476 |
var ( |
| 477 |
StreamingRecognizeResponse_SpeechEventType_name = map[int32]string{ |
| 478 |
0: "SPEECH_EVENT_UNSPECIFIED", |
| 479 |
1: "END_OF_SINGLE_UTTERANCE", |
| 480 |
2: "SPEECH_ACTIVITY_BEGIN", |
| 481 |
3: "SPEECH_ACTIVITY_END", |
| 482 |
4: "SPEECH_ACTIVITY_TIMEOUT", |
| 483 |
} |
| 484 |
StreamingRecognizeResponse_SpeechEventType_value = map[string]int32{ |
| 485 |
"SPEECH_EVENT_UNSPECIFIED": 0, |
| 486 |
"END_OF_SINGLE_UTTERANCE": 1, |
| 487 |
"SPEECH_ACTIVITY_BEGIN": 2, |
| 488 |
"SPEECH_ACTIVITY_END": 3, |
| 489 |
"SPEECH_ACTIVITY_TIMEOUT": 4, |
| 490 |
} |
| 491 |
) |
| 492 |
|
| 493 |
func (x StreamingRecognizeResponse_SpeechEventType) Enum() *StreamingRecognizeResponse_SpeechEventType { |
| 494 |
p := new(StreamingRecognizeResponse_SpeechEventType) |
| 495 |
*p = x |
| 496 |
return p |
| 497 |
} |
| 498 |
|
| 499 |
func (x StreamingRecognizeResponse_SpeechEventType) String() string { |
| 500 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 501 |
} |
| 502 |
|
| 503 |
func (StreamingRecognizeResponse_SpeechEventType) Descriptor() protoreflect.EnumDescriptor { |
| 504 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_enumTypes[5].Descriptor() |
| 505 |
} |
| 506 |
|
| 507 |
func (StreamingRecognizeResponse_SpeechEventType) Type() protoreflect.EnumType { |
| 508 |
return &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_enumTypes[5] |
| 509 |
} |
| 510 |
|
| 511 |
func (x StreamingRecognizeResponse_SpeechEventType) Number() protoreflect.EnumNumber { |
| 512 |
return protoreflect.EnumNumber(x) |
| 513 |
} |
| 514 |
|
| 515 |
// Deprecated: Use StreamingRecognizeResponse_SpeechEventType.Descriptor instead. |
| 516 |
func (StreamingRecognizeResponse_SpeechEventType) EnumDescriptor() ([]byte, []int) { |
| 517 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescGZIP(), []int{13, 0} |
| 518 |
} |
| 519 |
|
| 520 |
// The top-level message sent by the client for the `Recognize` method. |
| 521 |
type RecognizeRequest struct { |
| 522 |
state protoimpl.MessageState |
| 523 |
sizeCache protoimpl.SizeCache |
| 524 |
unknownFields protoimpl.UnknownFields |
| 525 |
|
| 526 |
// Required. Provides information to the recognizer that specifies how to |
| 527 |
// process the request. |
| 528 |
Config *RecognitionConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` |
| 529 |
// Required. The audio data to be recognized. |
| 530 |
Audio *RecognitionAudio `protobuf:"bytes,2,opt,name=audio,proto3" json:"audio,omitempty"` |
| 531 |
} |
| 532 |
|
| 533 |
func (x *RecognizeRequest) Reset() { |
| 534 |
*x = RecognizeRequest{} |
| 535 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[0] |
| 536 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 537 |
ms.StoreMessageInfo(mi) |
| 538 |
} |
| 539 |
|
| 540 |
func (x *RecognizeRequest) String() string { |
| 541 |
return protoimpl.X.MessageStringOf(x) |
| 542 |
} |
| 543 |
|
| 544 |
func (*RecognizeRequest) ProtoMessage() {} |
| 545 |
|
| 546 |
func (x *RecognizeRequest) ProtoReflect() protoreflect.Message { |
| 547 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[0] |
| 548 |
if x != nil { |
| 549 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 550 |
if ms.LoadMessageInfo() == nil { |
| 551 |
ms.StoreMessageInfo(mi) |
| 552 |
} |
| 553 |
return ms |
| 554 |
} |
| 555 |
return mi.MessageOf(x) |
| 556 |
} |
| 557 |
|
| 558 |
// Deprecated: Use RecognizeRequest.ProtoReflect.Descriptor instead. |
| 559 |
func (*RecognizeRequest) Descriptor() ([]byte, []int) { |
| 560 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescGZIP(), []int{0} |
| 561 |
} |
| 562 |
|
| 563 |
func (x *RecognizeRequest) GetConfig() *RecognitionConfig { |
| 564 |
if x != nil { |
| 565 |
return x.Config |
| 566 |
} |
| 567 |
return nil |
| 568 |
} |
| 569 |
|
| 570 |
func (x *RecognizeRequest) GetAudio() *RecognitionAudio { |
| 571 |
if x != nil { |
| 572 |
return x.Audio |
| 573 |
} |
| 574 |
return nil |
| 575 |
} |
| 576 |
|
| 577 |
// The top-level message sent by the client for the `LongRunningRecognize` |
| 578 |
// method. |
| 579 |
type LongRunningRecognizeRequest struct { |
| 580 |
state protoimpl.MessageState |
| 581 |
sizeCache protoimpl.SizeCache |
| 582 |
unknownFields protoimpl.UnknownFields |
| 583 |
|
| 584 |
// Required. Provides information to the recognizer that specifies how to |
| 585 |
// process the request. |
| 586 |
Config *RecognitionConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` |
| 587 |
// Required. The audio data to be recognized. |
| 588 |
Audio *RecognitionAudio `protobuf:"bytes,2,opt,name=audio,proto3" json:"audio,omitempty"` |
| 589 |
// Optional. Specifies an optional destination for the recognition results. |
| 590 |
OutputConfig *TranscriptOutputConfig `protobuf:"bytes,4,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"` |
| 591 |
} |
| 592 |
|
| 593 |
func (x *LongRunningRecognizeRequest) Reset() { |
| 594 |
*x = LongRunningRecognizeRequest{} |
| 595 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[1] |
| 596 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 597 |
ms.StoreMessageInfo(mi) |
| 598 |
} |
| 599 |
|
| 600 |
func (x *LongRunningRecognizeRequest) String() string { |
| 601 |
return protoimpl.X.MessageStringOf(x) |
| 602 |
} |
| 603 |
|
| 604 |
func (*LongRunningRecognizeRequest) ProtoMessage() {} |
| 605 |
|
| 606 |
func (x *LongRunningRecognizeRequest) ProtoReflect() protoreflect.Message { |
| 607 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[1] |
| 608 |
if x != nil { |
| 609 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 610 |
if ms.LoadMessageInfo() == nil { |
| 611 |
ms.StoreMessageInfo(mi) |
| 612 |
} |
| 613 |
return ms |
| 614 |
} |
| 615 |
return mi.MessageOf(x) |
| 616 |
} |
| 617 |
|
| 618 |
// Deprecated: Use LongRunningRecognizeRequest.ProtoReflect.Descriptor instead. |
| 619 |
func (*LongRunningRecognizeRequest) Descriptor() ([]byte, []int) { |
| 620 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescGZIP(), []int{1} |
| 621 |
} |
| 622 |
|
| 623 |
func (x *LongRunningRecognizeRequest) GetConfig() *RecognitionConfig { |
| 624 |
if x != nil { |
| 625 |
return x.Config |
| 626 |
} |
| 627 |
return nil |
| 628 |
} |
| 629 |
|
| 630 |
func (x *LongRunningRecognizeRequest) GetAudio() *RecognitionAudio { |
| 631 |
if x != nil { |
| 632 |
return x.Audio |
| 633 |
} |
| 634 |
return nil |
| 635 |
} |
| 636 |
|
| 637 |
func (x *LongRunningRecognizeRequest) GetOutputConfig() *TranscriptOutputConfig { |
| 638 |
if x != nil { |
| 639 |
return x.OutputConfig |
| 640 |
} |
| 641 |
return nil |
| 642 |
} |
| 643 |
|
| 644 |
// Specifies an optional destination for the recognition results. |
| 645 |
type TranscriptOutputConfig struct { |
| 646 |
state protoimpl.MessageState |
| 647 |
sizeCache protoimpl.SizeCache |
| 648 |
unknownFields protoimpl.UnknownFields |
| 649 |
|
| 650 |
// Types that are assignable to OutputType: |
| 651 |
// |
| 652 |
// *TranscriptOutputConfig_GcsUri |
| 653 |
OutputType isTranscriptOutputConfig_OutputType `protobuf_oneof:"output_type"` |
| 654 |
} |
| 655 |
|
| 656 |
func (x *TranscriptOutputConfig) Reset() { |
| 657 |
*x = TranscriptOutputConfig{} |
| 658 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[2] |
| 659 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 660 |
ms.StoreMessageInfo(mi) |
| 661 |
} |
| 662 |
|
| 663 |
func (x *TranscriptOutputConfig) String() string { |
| 664 |
return protoimpl.X.MessageStringOf(x) |
| 665 |
} |
| 666 |
|
| 667 |
func (*TranscriptOutputConfig) ProtoMessage() {} |
| 668 |
|
| 669 |
func (x *TranscriptOutputConfig) ProtoReflect() protoreflect.Message { |
| 670 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[2] |
| 671 |
if x != nil { |
| 672 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 673 |
if ms.LoadMessageInfo() == nil { |
| 674 |
ms.StoreMessageInfo(mi) |
| 675 |
} |
| 676 |
return ms |
| 677 |
} |
| 678 |
return mi.MessageOf(x) |
| 679 |
} |
| 680 |
|
| 681 |
// Deprecated: Use TranscriptOutputConfig.ProtoReflect.Descriptor instead. |
| 682 |
func (*TranscriptOutputConfig) Descriptor() ([]byte, []int) { |
| 683 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescGZIP(), []int{2} |
| 684 |
} |
| 685 |
|
| 686 |
func (m *TranscriptOutputConfig) GetOutputType() isTranscriptOutputConfig_OutputType { |
| 687 |
if m != nil { |
| 688 |
return m.OutputType |
| 689 |
} |
| 690 |
return nil |
| 691 |
} |
| 692 |
|
| 693 |
func (x *TranscriptOutputConfig) GetGcsUri() string { |
| 694 |
if x, ok := x.GetOutputType().(*TranscriptOutputConfig_GcsUri); ok { |
| 695 |
return x.GcsUri |
| 696 |
} |
| 697 |
return "" |
| 698 |
} |
| 699 |
|
| 700 |
type isTranscriptOutputConfig_OutputType interface { |
| 701 |
isTranscriptOutputConfig_OutputType() |
| 702 |
} |
| 703 |
|
| 704 |
type TranscriptOutputConfig_GcsUri struct { |
| 705 |
// Specifies a Cloud Storage URI for the recognition results. Must be |
| 706 |
// specified in the format: `gs://bucket_name/object_name`, and the bucket |
| 707 |
// must already exist. |
| 708 |
GcsUri string `protobuf:"bytes,1,opt,name=gcs_uri,json=gcsUri,proto3,oneof"` |
| 709 |
} |
| 710 |
|
| 711 |
func (*TranscriptOutputConfig_GcsUri) isTranscriptOutputConfig_OutputType() {} |
| 712 |
|
| 713 |
// The top-level message sent by the client for the `StreamingRecognize` method. |
| 714 |
// Multiple `StreamingRecognizeRequest` messages are sent. The first message |
| 715 |
// must contain a `streaming_config` message and must not contain |
| 716 |
// `audio_content`. All subsequent messages must contain `audio_content` and |
| 717 |
// must not contain a `streaming_config` message. |
| 718 |
type StreamingRecognizeRequest struct { |
| 719 |
state protoimpl.MessageState |
| 720 |
sizeCache protoimpl.SizeCache |
| 721 |
unknownFields protoimpl.UnknownFields |
| 722 |
|
| 723 |
// The streaming request, which is either a streaming config or audio content. |
| 724 |
// |
| 725 |
// Types that are assignable to StreamingRequest: |
| 726 |
// |
| 727 |
// *StreamingRecognizeRequest_StreamingConfig |
| 728 |
// *StreamingRecognizeRequest_AudioContent |
| 729 |
StreamingRequest isStreamingRecognizeRequest_StreamingRequest `protobuf_oneof:"streaming_request"` |
| 730 |
} |
| 731 |
|
| 732 |
func (x *StreamingRecognizeRequest) Reset() { |
| 733 |
*x = StreamingRecognizeRequest{} |
| 734 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[3] |
| 735 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 736 |
ms.StoreMessageInfo(mi) |
| 737 |
} |
| 738 |
|
| 739 |
func (x *StreamingRecognizeRequest) String() string { |
| 740 |
return protoimpl.X.MessageStringOf(x) |
| 741 |
} |
| 742 |
|
| 743 |
func (*StreamingRecognizeRequest) ProtoMessage() {} |
| 744 |
|
| 745 |
func (x *StreamingRecognizeRequest) ProtoReflect() protoreflect.Message { |
| 746 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[3] |
| 747 |
if x != nil { |
| 748 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 749 |
if ms.LoadMessageInfo() == nil { |
| 750 |
ms.StoreMessageInfo(mi) |
| 751 |
} |
| 752 |
return ms |
| 753 |
} |
| 754 |
return mi.MessageOf(x) |
| 755 |
} |
| 756 |
|
| 757 |
// Deprecated: Use StreamingRecognizeRequest.ProtoReflect.Descriptor instead. |
| 758 |
func (*StreamingRecognizeRequest) Descriptor() ([]byte, []int) { |
| 759 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescGZIP(), []int{3} |
| 760 |
} |
| 761 |
|
| 762 |
func (m *StreamingRecognizeRequest) GetStreamingRequest() isStreamingRecognizeRequest_StreamingRequest { |
| 763 |
if m != nil { |
| 764 |
return m.StreamingRequest |
| 765 |
} |
| 766 |
return nil |
| 767 |
} |
| 768 |
|
| 769 |
func (x *StreamingRecognizeRequest) GetStreamingConfig() *StreamingRecognitionConfig { |
| 770 |
if x, ok := x.GetStreamingRequest().(*StreamingRecognizeRequest_StreamingConfig); ok { |
| 771 |
return x.StreamingConfig |
| 772 |
} |
| 773 |
return nil |
| 774 |
} |
| 775 |
|
| 776 |
func (x *StreamingRecognizeRequest) GetAudioContent() []byte { |
| 777 |
if x, ok := x.GetStreamingRequest().(*StreamingRecognizeRequest_AudioContent); ok { |
| 778 |
return x.AudioContent |
| 779 |
} |
| 780 |
return nil |
| 781 |
} |
| 782 |
|
| 783 |
type isStreamingRecognizeRequest_StreamingRequest interface { |
| 784 |
isStreamingRecognizeRequest_StreamingRequest() |
| 785 |
} |
| 786 |
|
| 787 |
type StreamingRecognizeRequest_StreamingConfig struct { |
| 788 |
// Provides information to the recognizer that specifies how to process the |
| 789 |
// request. The first `StreamingRecognizeRequest` message must contain a |
| 790 |
// `streaming_config` message. |
| 791 |
StreamingConfig *StreamingRecognitionConfig `protobuf:"bytes,1,opt,name=streaming_config,json=streamingConfig,proto3,oneof"` |
| 792 |
} |
| 793 |
|
| 794 |
type StreamingRecognizeRequest_AudioContent struct { |
| 795 |
// The audio data to be recognized. Sequential chunks of audio data are sent |
| 796 |
// in sequential `StreamingRecognizeRequest` messages. The first |
| 797 |
// `StreamingRecognizeRequest` message must not contain `audio_content` data |
| 798 |
// and all subsequent `StreamingRecognizeRequest` messages must contain |
| 799 |
// `audio_content` data. The audio bytes must be encoded as specified in |
| 800 |
// `RecognitionConfig`. Note: as with all bytes fields, proto buffers use a |
| 801 |
// pure binary representation (not base64). See |
| 802 |
// [content limits](https://cloud.google.com/speech-to-text/quotas#content). |
| 803 |
AudioContent []byte `protobuf:"bytes,2,opt,name=audio_content,json=audioContent,proto3,oneof"` |
| 804 |
} |
| 805 |
|
| 806 |
func (*StreamingRecognizeRequest_StreamingConfig) isStreamingRecognizeRequest_StreamingRequest() {} |
| 807 |
|
| 808 |
func (*StreamingRecognizeRequest_AudioContent) isStreamingRecognizeRequest_StreamingRequest() {} |
| 809 |
|
| 810 |
// Provides information to the recognizer that specifies how to process the |
| 811 |
// request. |
| 812 |
type StreamingRecognitionConfig struct { |
| 813 |
state protoimpl.MessageState |
| 814 |
sizeCache protoimpl.SizeCache |
| 815 |
unknownFields protoimpl.UnknownFields |
| 816 |
|
| 817 |
// Required. Provides information to the recognizer that specifies how to |
| 818 |
// process the request. |
| 819 |
Config *RecognitionConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` |
| 820 |
// If `false` or omitted, the recognizer will perform continuous |
| 821 |
// recognition (continuing to wait for and process audio even if the user |
| 822 |
// pauses speaking) until the client closes the input stream (gRPC API) or |
| 823 |
// until the maximum time limit has been reached. May return multiple |
| 824 |
// `StreamingRecognitionResult`s with the `is_final` flag set to `true`. |
| 825 |
// |
| 826 |
// If `true`, the recognizer will detect a single spoken utterance. When it |
| 827 |
// detects that the user has paused or stopped speaking, it will return an |
| 828 |
// `END_OF_SINGLE_UTTERANCE` event and cease recognition. It will return no |
| 829 |
// more than one `StreamingRecognitionResult` with the `is_final` flag set to |
| 830 |
// `true`. |
| 831 |
// |
| 832 |
// The `single_utterance` field can only be used with specified models, |
| 833 |
// otherwise an error is thrown. The `model` field in |
| 834 |
// [RecognitionConfig][google.cloud.speech.v1p1beta1.RecognitionConfig] must |
| 835 |
// be set to: |
| 836 |
// |
| 837 |
// - `command_and_search` |
| 838 |
// - `phone_call` AND additional field `useEnhanced`=`true` |
| 839 |
// - The `model` field is left undefined. In this case the API auto-selects |
| 840 |
// a model based on any other parameters that you set in |
| 841 |
// `RecognitionConfig`. |
| 842 |
SingleUtterance bool `protobuf:"varint,2,opt,name=single_utterance,json=singleUtterance,proto3" json:"single_utterance,omitempty"` |
| 843 |
// If `true`, interim results (tentative hypotheses) may be |
| 844 |
// returned as they become available (these interim results are indicated with |
| 845 |
// the `is_final=false` flag). |
| 846 |
// If `false` or omitted, only `is_final=true` result(s) are returned. |
| 847 |
InterimResults bool `protobuf:"varint,3,opt,name=interim_results,json=interimResults,proto3" json:"interim_results,omitempty"` |
| 848 |
// If `true`, responses with voice activity speech events will be returned as |
| 849 |
// they are detected. |
| 850 |
EnableVoiceActivityEvents bool `protobuf:"varint,5,opt,name=enable_voice_activity_events,json=enableVoiceActivityEvents,proto3" json:"enable_voice_activity_events,omitempty"` |
| 851 |
// If set, the server will automatically close the stream after the specified |
| 852 |
// duration has elapsed after the last VOICE_ACTIVITY speech event has been |
| 853 |
// sent. The field `voice_activity_events` must also be set to true. |
| 854 |
VoiceActivityTimeout *StreamingRecognitionConfig_VoiceActivityTimeout `protobuf:"bytes,6,opt,name=voice_activity_timeout,json=voiceActivityTimeout,proto3" json:"voice_activity_timeout,omitempty"` |
| 855 |
} |
| 856 |
|
| 857 |
func (x *StreamingRecognitionConfig) Reset() { |
| 858 |
*x = StreamingRecognitionConfig{} |
| 859 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[4] |
| 860 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 861 |
ms.StoreMessageInfo(mi) |
| 862 |
} |
| 863 |
|
| 864 |
func (x *StreamingRecognitionConfig) String() string { |
| 865 |
return protoimpl.X.MessageStringOf(x) |
| 866 |
} |
| 867 |
|
| 868 |
func (*StreamingRecognitionConfig) ProtoMessage() {} |
| 869 |
|
| 870 |
func (x *StreamingRecognitionConfig) ProtoReflect() protoreflect.Message { |
| 871 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[4] |
| 872 |
if x != nil { |
| 873 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 874 |
if ms.LoadMessageInfo() == nil { |
| 875 |
ms.StoreMessageInfo(mi) |
| 876 |
} |
| 877 |
return ms |
| 878 |
} |
| 879 |
return mi.MessageOf(x) |
| 880 |
} |
| 881 |
|
| 882 |
// Deprecated: Use StreamingRecognitionConfig.ProtoReflect.Descriptor instead. |
| 883 |
func (*StreamingRecognitionConfig) Descriptor() ([]byte, []int) { |
| 884 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescGZIP(), []int{4} |
| 885 |
} |
| 886 |
|
| 887 |
func (x *StreamingRecognitionConfig) GetConfig() *RecognitionConfig { |
| 888 |
if x != nil { |
| 889 |
return x.Config |
| 890 |
} |
| 891 |
return nil |
| 892 |
} |
| 893 |
|
| 894 |
func (x *StreamingRecognitionConfig) GetSingleUtterance() bool { |
| 895 |
if x != nil { |
| 896 |
return x.SingleUtterance |
| 897 |
} |
| 898 |
return false |
| 899 |
} |
| 900 |
|
| 901 |
func (x *StreamingRecognitionConfig) GetInterimResults() bool { |
| 902 |
if x != nil { |
| 903 |
return x.InterimResults |
| 904 |
} |
| 905 |
return false |
| 906 |
} |
| 907 |
|
| 908 |
func (x *StreamingRecognitionConfig) GetEnableVoiceActivityEvents() bool { |
| 909 |
if x != nil { |
| 910 |
return x.EnableVoiceActivityEvents |
| 911 |
} |
| 912 |
return false |
| 913 |
} |
| 914 |
|
| 915 |
func (x *StreamingRecognitionConfig) GetVoiceActivityTimeout() *StreamingRecognitionConfig_VoiceActivityTimeout { |
| 916 |
if x != nil { |
| 917 |
return x.VoiceActivityTimeout |
| 918 |
} |
| 919 |
return nil |
| 920 |
} |
| 921 |
|
| 922 |
// Provides information to the recognizer that specifies how to process the |
| 923 |
// request. |
| 924 |
type RecognitionConfig struct { |
| 925 |
state protoimpl.MessageState |
| 926 |
sizeCache protoimpl.SizeCache |
| 927 |
unknownFields protoimpl.UnknownFields |
| 928 |
|
| 929 |
// Encoding of audio data sent in all `RecognitionAudio` messages. |
| 930 |
// This field is optional for `FLAC` and `WAV` audio files and required |
| 931 |
// for all other audio formats. For details, see |
| 932 |
// [AudioEncoding][google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding]. |
| 933 |
Encoding RecognitionConfig_AudioEncoding `protobuf:"varint,1,opt,name=encoding,proto3,enum=google.cloud.speech.v1p1beta1.RecognitionConfig_AudioEncoding" json:"encoding,omitempty"` |
| 934 |
// Sample rate in Hertz of the audio data sent in all |
| 935 |
// `RecognitionAudio` messages. Valid values are: 8000-48000. |
| 936 |
// 16000 is optimal. For best results, set the sampling rate of the audio |
| 937 |
// source to 16000 Hz. If that's not possible, use the native sample rate of |
| 938 |
// the audio source (instead of re-sampling). |
| 939 |
// This field is optional for FLAC and WAV audio files, but is |
| 940 |
// required for all other audio formats. For details, see |
| 941 |
// [AudioEncoding][google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding]. |
| 942 |
SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"` |
| 943 |
// The number of channels in the input audio data. |
| 944 |
// ONLY set this for MULTI-CHANNEL recognition. |
| 945 |
// Valid values for LINEAR16, OGG_OPUS and FLAC are `1`-`8`. |
| 946 |
// Valid value for MULAW, AMR, AMR_WB and SPEEX_WITH_HEADER_BYTE is only `1`. |
| 947 |
// If `0` or omitted, defaults to one channel (mono). |
| 948 |
// Note: We only recognize the first channel by default. |
| 949 |
// To perform independent recognition on each channel set |
| 950 |
// `enable_separate_recognition_per_channel` to 'true'. |
| 951 |
AudioChannelCount int32 `protobuf:"varint,7,opt,name=audio_channel_count,json=audioChannelCount,proto3" json:"audio_channel_count,omitempty"` |
| 952 |
// This needs to be set to `true` explicitly and `audio_channel_count` > 1 |
| 953 |
// to get each channel recognized separately. The recognition result will |
| 954 |
// contain a `channel_tag` field to state which channel that result belongs |
| 955 |
// to. If this is not true, we will only recognize the first channel. The |
| 956 |
// request is billed cumulatively for all channels recognized: |
| 957 |
// `audio_channel_count` multiplied by the length of the audio. |
| 958 |
EnableSeparateRecognitionPerChannel bool `protobuf:"varint,12,opt,name=enable_separate_recognition_per_channel,json=enableSeparateRecognitionPerChannel,proto3" json:"enable_separate_recognition_per_channel,omitempty"` |
| 959 |
// Required. The language of the supplied audio as a |
| 960 |
// [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. |
| 961 |
// Example: "en-US". |
| 962 |
// See [Language |
| 963 |
// Support](https://cloud.google.com/speech-to-text/docs/languages) for a list |
| 964 |
// of the currently supported language codes. |
| 965 |
LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` |
| 966 |
// A list of up to 3 additional |
| 967 |
// [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags, |
| 968 |
// listing possible alternative languages of the supplied audio. |
| 969 |
// See [Language |
| 970 |
// Support](https://cloud.google.com/speech-to-text/docs/languages) for a list |
| 971 |
// of the currently supported language codes. If alternative languages are |
| 972 |
// listed, recognition result will contain recognition in the most likely |
| 973 |
// language detected including the main language_code. The recognition result |
| 974 |
// will include the language tag of the language detected in the audio. Note: |
| 975 |
// This feature is only supported for Voice Command and Voice Search use cases |
| 976 |
// and performance may vary for other use cases (e.g., phone call |
| 977 |
// transcription). |
| 978 |
AlternativeLanguageCodes []string `protobuf:"bytes,18,rep,name=alternative_language_codes,json=alternativeLanguageCodes,proto3" json:"alternative_language_codes,omitempty"` |
| 979 |
// Maximum number of recognition hypotheses to be returned. |
| 980 |
// Specifically, the maximum number of `SpeechRecognitionAlternative` messages |
| 981 |
// within each `SpeechRecognitionResult`. |
| 982 |
// The server may return fewer than `max_alternatives`. |
| 983 |
// Valid values are `0`-`30`. A value of `0` or `1` will return a maximum of |
| 984 |
// one. If omitted, will return a maximum of one. |
| 985 |
MaxAlternatives int32 `protobuf:"varint,4,opt,name=max_alternatives,json=maxAlternatives,proto3" json:"max_alternatives,omitempty"` |
| 986 |
// If set to `true`, the server will attempt to filter out |
| 987 |
// profanities, replacing all but the initial character in each filtered word |
| 988 |
// with asterisks, e.g. "f***". If set to `false` or omitted, profanities |
| 989 |
// won't be filtered out. |
| 990 |
ProfanityFilter bool `protobuf:"varint,5,opt,name=profanity_filter,json=profanityFilter,proto3" json:"profanity_filter,omitempty"` |
| 991 |
// Speech adaptation configuration improves the accuracy of speech |
| 992 |
// recognition. For more information, see the [speech |
| 993 |
// adaptation](https://cloud.google.com/speech-to-text/docs/adaptation) |
| 994 |
// documentation. |
| 995 |
// When speech adaptation is set it supersedes the `speech_contexts` field. |
| 996 |
Adaptation *SpeechAdaptation `protobuf:"bytes,20,opt,name=adaptation,proto3" json:"adaptation,omitempty"` |
| 997 |
// Optional. Use transcription normalization to automatically replace parts of |
| 998 |
// the transcript with phrases of your choosing. For StreamingRecognize, this |
| 999 |
// normalization only applies to stable partial transcripts (stability > 0.8) |
| 1000 |
// and final transcripts. |
| 1001 |
TranscriptNormalization *TranscriptNormalization `protobuf:"bytes,24,opt,name=transcript_normalization,json=transcriptNormalization,proto3" json:"transcript_normalization,omitempty"` |
| 1002 |
// Array of [SpeechContext][google.cloud.speech.v1p1beta1.SpeechContext]. |
| 1003 |
// A means to provide context to assist the speech recognition. For more |
| 1004 |
// information, see |
| 1005 |
// [speech |
| 1006 |
// adaptation](https://cloud.google.com/speech-to-text/docs/adaptation). |
| 1007 |
SpeechContexts []*SpeechContext `protobuf:"bytes,6,rep,name=speech_contexts,json=speechContexts,proto3" json:"speech_contexts,omitempty"` |
| 1008 |
// If `true`, the top result includes a list of words and |
| 1009 |
// the start and end time offsets (timestamps) for those words. If |
| 1010 |
// `false`, no word-level time offset information is returned. The default is |
| 1011 |
// `false`. |
| 1012 |
EnableWordTimeOffsets bool `protobuf:"varint,8,opt,name=enable_word_time_offsets,json=enableWordTimeOffsets,proto3" json:"enable_word_time_offsets,omitempty"` |
| 1013 |
// If `true`, the top result includes a list of words and the |
| 1014 |
// confidence for those words. If `false`, no word-level confidence |
| 1015 |
// information is returned. The default is `false`. |
| 1016 |
EnableWordConfidence bool `protobuf:"varint,15,opt,name=enable_word_confidence,json=enableWordConfidence,proto3" json:"enable_word_confidence,omitempty"` |
| 1017 |
// If 'true', adds punctuation to recognition result hypotheses. |
| 1018 |
// This feature is only available in select languages. Setting this for |
| 1019 |
// requests in other languages has no effect at all. |
| 1020 |
// The default 'false' value does not add punctuation to result hypotheses. |
| 1021 |
EnableAutomaticPunctuation bool `protobuf:"varint,11,opt,name=enable_automatic_punctuation,json=enableAutomaticPunctuation,proto3" json:"enable_automatic_punctuation,omitempty"` |
| 1022 |
// The spoken punctuation behavior for the call |
| 1023 |
// If not set, uses default behavior based on model of choice |
| 1024 |
// e.g. command_and_search will enable spoken punctuation by default |
| 1025 |
// If 'true', replaces spoken punctuation with the corresponding symbols in |
| 1026 |
// the request. For example, "how are you question mark" becomes "how are |
| 1027 |
// you?". See https://cloud.google.com/speech-to-text/docs/spoken-punctuation |
| 1028 |
// for support. If 'false', spoken punctuation is not replaced. |
| 1029 |
EnableSpokenPunctuation *wrapperspb.BoolValue `protobuf:"bytes,22,opt,name=enable_spoken_punctuation,json=enableSpokenPunctuation,proto3" json:"enable_spoken_punctuation,omitempty"` |
| 1030 |
// The spoken emoji behavior for the call |
| 1031 |
// If not set, uses default behavior based on model of choice |
| 1032 |
// If 'true', adds spoken emoji formatting for the request. This will replace |
| 1033 |
// spoken emojis with the corresponding Unicode symbols in the final |
| 1034 |
// transcript. If 'false', spoken emojis are not replaced. |
| 1035 |
EnableSpokenEmojis *wrapperspb.BoolValue `protobuf:"bytes,23,opt,name=enable_spoken_emojis,json=enableSpokenEmojis,proto3" json:"enable_spoken_emojis,omitempty"` |
| 1036 |
// If 'true', enables speaker detection for each recognized word in |
| 1037 |
// the top alternative of the recognition result using a speaker_label |
| 1038 |
// provided in the WordInfo. |
| 1039 |
// Note: Use diarization_config instead. |
| 1040 |
// |
| 1041 |
// Deprecated: Marked as deprecated in google/cloud/speech/v1p1beta1/cloud_speech.proto. |
| 1042 |
EnableSpeakerDiarization bool `protobuf:"varint,16,opt,name=enable_speaker_diarization,json=enableSpeakerDiarization,proto3" json:"enable_speaker_diarization,omitempty"` |
| 1043 |
// If set, specifies the estimated number of speakers in the conversation. |
| 1044 |
// Defaults to '2'. Ignored unless enable_speaker_diarization is set to true. |
| 1045 |
// Note: Use diarization_config instead. |
| 1046 |
// |
| 1047 |
// Deprecated: Marked as deprecated in google/cloud/speech/v1p1beta1/cloud_speech.proto. |
| 1048 |
DiarizationSpeakerCount int32 `protobuf:"varint,17,opt,name=diarization_speaker_count,json=diarizationSpeakerCount,proto3" json:"diarization_speaker_count,omitempty"` |
| 1049 |
// Config to enable speaker diarization and set additional |
| 1050 |
// parameters to make diarization better suited for your application. |
| 1051 |
// Note: When this is enabled, we send all the words from the beginning of the |
| 1052 |
// audio for the top alternative in every consecutive STREAMING responses. |
| 1053 |
// This is done in order to improve our speaker tags as our models learn to |
| 1054 |
// identify the speakers in the conversation over time. |
| 1055 |
// For non-streaming requests, the diarization results will be provided only |
| 1056 |
// in the top alternative of the FINAL SpeechRecognitionResult. |
| 1057 |
DiarizationConfig *SpeakerDiarizationConfig `protobuf:"bytes,19,opt,name=diarization_config,json=diarizationConfig,proto3" json:"diarization_config,omitempty"` |
| 1058 |
// Metadata regarding this request. |
| 1059 |
Metadata *RecognitionMetadata `protobuf:"bytes,9,opt,name=metadata,proto3" json:"metadata,omitempty"` |
| 1060 |
// Which model to select for the given request. Select the model |
| 1061 |
// best suited to your domain to get best results. If a model is not |
| 1062 |
// explicitly specified, then we auto-select a model based on the parameters |
| 1063 |
// in the RecognitionConfig. |
| 1064 |
// <table> |
| 1065 |
// |
| 1066 |
// <tr> |
| 1067 |
// <td><b>Model</b></td> |
| 1068 |
// <td><b>Description</b></td> |
| 1069 |
// </tr> |
| 1070 |
// <tr> |
| 1071 |
// <td><code>latest_long</code></td> |
| 1072 |
// <td>Best for long form content like media or conversation.</td> |
| 1073 |
// </tr> |
| 1074 |
// <tr> |
| 1075 |
// <td><code>latest_short</code></td> |
| 1076 |
// <td>Best for short form content like commands or single shot directed |
| 1077 |
// speech.</td> |
| 1078 |
// </tr> |
| 1079 |
// <tr> |
| 1080 |
// <td><code>command_and_search</code></td> |
| 1081 |
// <td>Best for short queries such as voice commands or voice search.</td> |
| 1082 |
// </tr> |
| 1083 |
// <tr> |
| 1084 |
// <td><code>phone_call</code></td> |
| 1085 |
// <td>Best for audio that originated from a phone call (typically |
| 1086 |
// recorded at an 8khz sampling rate).</td> |
| 1087 |
// </tr> |
| 1088 |
// <tr> |
| 1089 |
// <td><code>video</code></td> |
| 1090 |
// <td>Best for audio that originated from video or includes multiple |
| 1091 |
// speakers. Ideally the audio is recorded at a 16khz or greater |
| 1092 |
// sampling rate. This is a premium model that costs more than the |
| 1093 |
// standard rate.</td> |
| 1094 |
// </tr> |
| 1095 |
// <tr> |
| 1096 |
// <td><code>default</code></td> |
| 1097 |
// <td>Best for audio that is not one of the specific audio models. |
| 1098 |
// For example, long-form audio. Ideally the audio is high-fidelity, |
| 1099 |
// recorded at a 16khz or greater sampling rate.</td> |
| 1100 |
// </tr> |
| 1101 |
// <tr> |
| 1102 |
// <td><code>medical_conversation</code></td> |
| 1103 |
// <td>Best for audio that originated from a conversation between a |
| 1104 |
// medical provider and patient.</td> |
| 1105 |
// </tr> |
| 1106 |
// <tr> |
| 1107 |
// <td><code>medical_dictation</code></td> |
| 1108 |
// <td>Best for audio that originated from dictation notes by a medical |
| 1109 |
// provider.</td> |
| 1110 |
// </tr> |
| 1111 |
// |
| 1112 |
// </table> |
| 1113 |
Model string `protobuf:"bytes,13,opt,name=model,proto3" json:"model,omitempty"` |
| 1114 |
// Set to true to use an enhanced model for speech recognition. |
| 1115 |
// If `use_enhanced` is set to true and the `model` field is not set, then |
| 1116 |
// an appropriate enhanced model is chosen if an enhanced model exists for |
| 1117 |
// the audio. |
| 1118 |
// |
| 1119 |
// If `use_enhanced` is true and an enhanced version of the specified model |
| 1120 |
// does not exist, then the speech is recognized using the standard version |
| 1121 |
// of the specified model. |
| 1122 |
UseEnhanced bool `protobuf:"varint,14,opt,name=use_enhanced,json=useEnhanced,proto3" json:"use_enhanced,omitempty"` |
| 1123 |
} |
| 1124 |
|
| 1125 |
func (x *RecognitionConfig) Reset() { |
| 1126 |
*x = RecognitionConfig{} |
| 1127 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[5] |
| 1128 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1129 |
ms.StoreMessageInfo(mi) |
| 1130 |
} |
| 1131 |
|
| 1132 |
func (x *RecognitionConfig) String() string { |
| 1133 |
return protoimpl.X.MessageStringOf(x) |
| 1134 |
} |
| 1135 |
|
| 1136 |
func (*RecognitionConfig) ProtoMessage() {} |
| 1137 |
|
| 1138 |
func (x *RecognitionConfig) ProtoReflect() protoreflect.Message { |
| 1139 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[5] |
| 1140 |
if x != nil { |
| 1141 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1142 |
if ms.LoadMessageInfo() == nil { |
| 1143 |
ms.StoreMessageInfo(mi) |
| 1144 |
} |
| 1145 |
return ms |
| 1146 |
} |
| 1147 |
return mi.MessageOf(x) |
| 1148 |
} |
| 1149 |
|
| 1150 |
// Deprecated: Use RecognitionConfig.ProtoReflect.Descriptor instead. |
| 1151 |
func (*RecognitionConfig) Descriptor() ([]byte, []int) { |
| 1152 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescGZIP(), []int{5} |
| 1153 |
} |
| 1154 |
|
| 1155 |
func (x *RecognitionConfig) GetEncoding() RecognitionConfig_AudioEncoding { |
| 1156 |
if x != nil { |
| 1157 |
return x.Encoding |
| 1158 |
} |
| 1159 |
return RecognitionConfig_ENCODING_UNSPECIFIED |
| 1160 |
} |
| 1161 |
|
| 1162 |
func (x *RecognitionConfig) GetSampleRateHertz() int32 { |
| 1163 |
if x != nil { |
| 1164 |
return x.SampleRateHertz |
| 1165 |
} |
| 1166 |
return 0 |
| 1167 |
} |
| 1168 |
|
| 1169 |
func (x *RecognitionConfig) GetAudioChannelCount() int32 { |
| 1170 |
if x != nil { |
| 1171 |
return x.AudioChannelCount |
| 1172 |
} |
| 1173 |
return 0 |
| 1174 |
} |
| 1175 |
|
| 1176 |
func (x *RecognitionConfig) GetEnableSeparateRecognitionPerChannel() bool { |
| 1177 |
if x != nil { |
| 1178 |
return x.EnableSeparateRecognitionPerChannel |
| 1179 |
} |
| 1180 |
return false |
| 1181 |
} |
| 1182 |
|
| 1183 |
func (x *RecognitionConfig) GetLanguageCode() string { |
| 1184 |
if x != nil { |
| 1185 |
return x.LanguageCode |
| 1186 |
} |
| 1187 |
return "" |
| 1188 |
} |
| 1189 |
|
| 1190 |
func (x *RecognitionConfig) GetAlternativeLanguageCodes() []string { |
| 1191 |
if x != nil { |
| 1192 |
return x.AlternativeLanguageCodes |
| 1193 |
} |
| 1194 |
return nil |
| 1195 |
} |
| 1196 |
|
| 1197 |
func (x *RecognitionConfig) GetMaxAlternatives() int32 { |
| 1198 |
if x != nil { |
| 1199 |
return x.MaxAlternatives |
| 1200 |
} |
| 1201 |
return 0 |
| 1202 |
} |
| 1203 |
|
| 1204 |
func (x *RecognitionConfig) GetProfanityFilter() bool { |
| 1205 |
if x != nil { |
| 1206 |
return x.ProfanityFilter |
| 1207 |
} |
| 1208 |
return false |
| 1209 |
} |
| 1210 |
|
| 1211 |
func (x *RecognitionConfig) GetAdaptation() *SpeechAdaptation { |
| 1212 |
if x != nil { |
| 1213 |
return x.Adaptation |
| 1214 |
} |
| 1215 |
return nil |
| 1216 |
} |
| 1217 |
|
| 1218 |
func (x *RecognitionConfig) GetTranscriptNormalization() *TranscriptNormalization { |
| 1219 |
if x != nil { |
| 1220 |
return x.TranscriptNormalization |
| 1221 |
} |
| 1222 |
return nil |
| 1223 |
} |
| 1224 |
|
| 1225 |
func (x *RecognitionConfig) GetSpeechContexts() []*SpeechContext { |
| 1226 |
if x != nil { |
| 1227 |
return x.SpeechContexts |
| 1228 |
} |
| 1229 |
return nil |
| 1230 |
} |
| 1231 |
|
| 1232 |
func (x *RecognitionConfig) GetEnableWordTimeOffsets() bool { |
| 1233 |
if x != nil { |
| 1234 |
return x.EnableWordTimeOffsets |
| 1235 |
} |
| 1236 |
return false |
| 1237 |
} |
| 1238 |
|
| 1239 |
func (x *RecognitionConfig) GetEnableWordConfidence() bool { |
| 1240 |
if x != nil { |
| 1241 |
return x.EnableWordConfidence |
| 1242 |
} |
| 1243 |
return false |
| 1244 |
} |
| 1245 |
|
| 1246 |
func (x *RecognitionConfig) GetEnableAutomaticPunctuation() bool { |
| 1247 |
if x != nil { |
| 1248 |
return x.EnableAutomaticPunctuation |
| 1249 |
} |
| 1250 |
return false |
| 1251 |
} |
| 1252 |
|
| 1253 |
func (x *RecognitionConfig) GetEnableSpokenPunctuation() *wrapperspb.BoolValue { |
| 1254 |
if x != nil { |
| 1255 |
return x.EnableSpokenPunctuation |
| 1256 |
} |
| 1257 |
return nil |
| 1258 |
} |
| 1259 |
|
| 1260 |
func (x *RecognitionConfig) GetEnableSpokenEmojis() *wrapperspb.BoolValue { |
| 1261 |
if x != nil { |
| 1262 |
return x.EnableSpokenEmojis |
| 1263 |
} |
| 1264 |
return nil |
| 1265 |
} |
| 1266 |
|
| 1267 |
// Deprecated: Marked as deprecated in google/cloud/speech/v1p1beta1/cloud_speech.proto. |
| 1268 |
func (x *RecognitionConfig) GetEnableSpeakerDiarization() bool { |
| 1269 |
if x != nil { |
| 1270 |
return x.EnableSpeakerDiarization |
| 1271 |
} |
| 1272 |
return false |
| 1273 |
} |
| 1274 |
|
| 1275 |
// Deprecated: Marked as deprecated in google/cloud/speech/v1p1beta1/cloud_speech.proto. |
| 1276 |
func (x *RecognitionConfig) GetDiarizationSpeakerCount() int32 { |
| 1277 |
if x != nil { |
| 1278 |
return x.DiarizationSpeakerCount |
| 1279 |
} |
| 1280 |
return 0 |
| 1281 |
} |
| 1282 |
|
| 1283 |
func (x *RecognitionConfig) GetDiarizationConfig() *SpeakerDiarizationConfig { |
| 1284 |
if x != nil { |
| 1285 |
return x.DiarizationConfig |
| 1286 |
} |
| 1287 |
return nil |
| 1288 |
} |
| 1289 |
|
| 1290 |
func (x *RecognitionConfig) GetMetadata() *RecognitionMetadata { |
| 1291 |
if x != nil { |
| 1292 |
return x.Metadata |
| 1293 |
} |
| 1294 |
return nil |
| 1295 |
} |
| 1296 |
|
| 1297 |
func (x *RecognitionConfig) GetModel() string { |
| 1298 |
if x != nil { |
| 1299 |
return x.Model |
| 1300 |
} |
| 1301 |
return "" |
| 1302 |
} |
| 1303 |
|
| 1304 |
func (x *RecognitionConfig) GetUseEnhanced() bool { |
| 1305 |
if x != nil { |
| 1306 |
return x.UseEnhanced |
| 1307 |
} |
| 1308 |
return false |
| 1309 |
} |
| 1310 |
|
| 1311 |
// Config to enable speaker diarization. |
| 1312 |
type SpeakerDiarizationConfig struct { |
| 1313 |
state protoimpl.MessageState |
| 1314 |
sizeCache protoimpl.SizeCache |
| 1315 |
unknownFields protoimpl.UnknownFields |
| 1316 |
|
| 1317 |
// If 'true', enables speaker detection for each recognized word in |
| 1318 |
// the top alternative of the recognition result using a speaker_label |
| 1319 |
// provided in the WordInfo. |
| 1320 |
EnableSpeakerDiarization bool `protobuf:"varint,1,opt,name=enable_speaker_diarization,json=enableSpeakerDiarization,proto3" json:"enable_speaker_diarization,omitempty"` |
| 1321 |
// Minimum number of speakers in the conversation. This range gives you more |
| 1322 |
// flexibility by allowing the system to automatically determine the correct |
| 1323 |
// number of speakers. If not set, the default value is 2. |
| 1324 |
MinSpeakerCount int32 `protobuf:"varint,2,opt,name=min_speaker_count,json=minSpeakerCount,proto3" json:"min_speaker_count,omitempty"` |
| 1325 |
// Maximum number of speakers in the conversation. This range gives you more |
| 1326 |
// flexibility by allowing the system to automatically determine the correct |
| 1327 |
// number of speakers. If not set, the default value is 6. |
| 1328 |
MaxSpeakerCount int32 `protobuf:"varint,3,opt,name=max_speaker_count,json=maxSpeakerCount,proto3" json:"max_speaker_count,omitempty"` |
| 1329 |
// Output only. Unused. |
| 1330 |
// |
| 1331 |
// Deprecated: Marked as deprecated in google/cloud/speech/v1p1beta1/cloud_speech.proto. |
| 1332 |
SpeakerTag int32 `protobuf:"varint,5,opt,name=speaker_tag,json=speakerTag,proto3" json:"speaker_tag,omitempty"` |
| 1333 |
} |
| 1334 |
|
| 1335 |
func (x *SpeakerDiarizationConfig) Reset() { |
| 1336 |
*x = SpeakerDiarizationConfig{} |
| 1337 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[6] |
| 1338 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1339 |
ms.StoreMessageInfo(mi) |
| 1340 |
} |
| 1341 |
|
| 1342 |
func (x *SpeakerDiarizationConfig) String() string { |
| 1343 |
return protoimpl.X.MessageStringOf(x) |
| 1344 |
} |
| 1345 |
|
| 1346 |
func (*SpeakerDiarizationConfig) ProtoMessage() {} |
| 1347 |
|
| 1348 |
func (x *SpeakerDiarizationConfig) ProtoReflect() protoreflect.Message { |
| 1349 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[6] |
| 1350 |
if x != nil { |
| 1351 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1352 |
if ms.LoadMessageInfo() == nil { |
| 1353 |
ms.StoreMessageInfo(mi) |
| 1354 |
} |
| 1355 |
return ms |
| 1356 |
} |
| 1357 |
return mi.MessageOf(x) |
| 1358 |
} |
| 1359 |
|
| 1360 |
// Deprecated: Use SpeakerDiarizationConfig.ProtoReflect.Descriptor instead. |
| 1361 |
func (*SpeakerDiarizationConfig) Descriptor() ([]byte, []int) { |
| 1362 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescGZIP(), []int{6} |
| 1363 |
} |
| 1364 |
|
| 1365 |
func (x *SpeakerDiarizationConfig) GetEnableSpeakerDiarization() bool { |
| 1366 |
if x != nil { |
| 1367 |
return x.EnableSpeakerDiarization |
| 1368 |
} |
| 1369 |
return false |
| 1370 |
} |
| 1371 |
|
| 1372 |
func (x *SpeakerDiarizationConfig) GetMinSpeakerCount() int32 { |
| 1373 |
if x != nil { |
| 1374 |
return x.MinSpeakerCount |
| 1375 |
} |
| 1376 |
return 0 |
| 1377 |
} |
| 1378 |
|
| 1379 |
func (x *SpeakerDiarizationConfig) GetMaxSpeakerCount() int32 { |
| 1380 |
if x != nil { |
| 1381 |
return x.MaxSpeakerCount |
| 1382 |
} |
| 1383 |
return 0 |
| 1384 |
} |
| 1385 |
|
| 1386 |
// Deprecated: Marked as deprecated in google/cloud/speech/v1p1beta1/cloud_speech.proto. |
| 1387 |
func (x *SpeakerDiarizationConfig) GetSpeakerTag() int32 { |
| 1388 |
if x != nil { |
| 1389 |
return x.SpeakerTag |
| 1390 |
} |
| 1391 |
return 0 |
| 1392 |
} |
| 1393 |
|
| 1394 |
// Description of audio data to be recognized. |
| 1395 |
// |
| 1396 |
// Deprecated: Marked as deprecated in google/cloud/speech/v1p1beta1/cloud_speech.proto. |
| 1397 |
type RecognitionMetadata struct { |
| 1398 |
state protoimpl.MessageState |
| 1399 |
sizeCache protoimpl.SizeCache |
| 1400 |
unknownFields protoimpl.UnknownFields |
| 1401 |
|
| 1402 |
// The use case most closely describing the audio content to be recognized. |
| 1403 |
InteractionType RecognitionMetadata_InteractionType `protobuf:"varint,1,opt,name=interaction_type,json=interactionType,proto3,enum=google.cloud.speech.v1p1beta1.RecognitionMetadata_InteractionType" json:"interaction_type,omitempty"` |
| 1404 |
// The industry vertical to which this speech recognition request most |
| 1405 |
// closely applies. This is most indicative of the topics contained |
| 1406 |
// in the audio. Use the 6-digit NAICS code to identify the industry |
| 1407 |
// vertical - see https://www.naics.com/search/. |
| 1408 |
IndustryNaicsCodeOfAudio uint32 `protobuf:"varint,3,opt,name=industry_naics_code_of_audio,json=industryNaicsCodeOfAudio,proto3" json:"industry_naics_code_of_audio,omitempty"` |
| 1409 |
// The audio type that most closely describes the audio being recognized. |
| 1410 |
MicrophoneDistance RecognitionMetadata_MicrophoneDistance `protobuf:"varint,4,opt,name=microphone_distance,json=microphoneDistance,proto3,enum=google.cloud.speech.v1p1beta1.RecognitionMetadata_MicrophoneDistance" json:"microphone_distance,omitempty"` |
| 1411 |
// The original media the speech was recorded on. |
| 1412 |
OriginalMediaType RecognitionMetadata_OriginalMediaType `protobuf:"varint,5,opt,name=original_media_type,json=originalMediaType,proto3,enum=google.cloud.speech.v1p1beta1.RecognitionMetadata_OriginalMediaType" json:"original_media_type,omitempty"` |
| 1413 |
// The type of device the speech was recorded with. |
| 1414 |
RecordingDeviceType RecognitionMetadata_RecordingDeviceType `protobuf:"varint,6,opt,name=recording_device_type,json=recordingDeviceType,proto3,enum=google.cloud.speech.v1p1beta1.RecognitionMetadata_RecordingDeviceType" json:"recording_device_type,omitempty"` |
| 1415 |
// The device used to make the recording. Examples 'Nexus 5X' or |
| 1416 |
// 'Polycom SoundStation IP 6000' or 'POTS' or 'VoIP' or |
| 1417 |
// 'Cardioid Microphone'. |
| 1418 |
RecordingDeviceName string `protobuf:"bytes,7,opt,name=recording_device_name,json=recordingDeviceName,proto3" json:"recording_device_name,omitempty"` |
| 1419 |
// Mime type of the original audio file. For example `audio/m4a`, |
| 1420 |
// `audio/x-alaw-basic`, `audio/mp3`, `audio/3gpp`. |
| 1421 |
// A list of possible audio mime types is maintained at |
| 1422 |
// http://www.iana.org/assignments/media-types/media-types.xhtml#audio |
| 1423 |
OriginalMimeType string `protobuf:"bytes,8,opt,name=original_mime_type,json=originalMimeType,proto3" json:"original_mime_type,omitempty"` |
| 1424 |
// Obfuscated (privacy-protected) ID of the user, to identify number of |
| 1425 |
// unique users using the service. |
| 1426 |
// |
| 1427 |
// Deprecated: Marked as deprecated in google/cloud/speech/v1p1beta1/cloud_speech.proto. |
| 1428 |
ObfuscatedId int64 `protobuf:"varint,9,opt,name=obfuscated_id,json=obfuscatedId,proto3" json:"obfuscated_id,omitempty"` |
| 1429 |
// Description of the content. Eg. "Recordings of federal supreme court |
| 1430 |
// hearings from 2012". |
| 1431 |
AudioTopic string `protobuf:"bytes,10,opt,name=audio_topic,json=audioTopic,proto3" json:"audio_topic,omitempty"` |
| 1432 |
} |
| 1433 |
|
| 1434 |
func (x *RecognitionMetadata) Reset() { |
| 1435 |
*x = RecognitionMetadata{} |
| 1436 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[7] |
| 1437 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1438 |
ms.StoreMessageInfo(mi) |
| 1439 |
} |
| 1440 |
|
| 1441 |
func (x *RecognitionMetadata) String() string { |
| 1442 |
return protoimpl.X.MessageStringOf(x) |
| 1443 |
} |
| 1444 |
|
| 1445 |
func (*RecognitionMetadata) ProtoMessage() {} |
| 1446 |
|
| 1447 |
func (x *RecognitionMetadata) ProtoReflect() protoreflect.Message { |
| 1448 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[7] |
| 1449 |
if x != nil { |
| 1450 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1451 |
if ms.LoadMessageInfo() == nil { |
| 1452 |
ms.StoreMessageInfo(mi) |
| 1453 |
} |
| 1454 |
return ms |
| 1455 |
} |
| 1456 |
return mi.MessageOf(x) |
| 1457 |
} |
| 1458 |
|
| 1459 |
// Deprecated: Use RecognitionMetadata.ProtoReflect.Descriptor instead. |
| 1460 |
func (*RecognitionMetadata) Descriptor() ([]byte, []int) { |
| 1461 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescGZIP(), []int{7} |
| 1462 |
} |
| 1463 |
|
| 1464 |
func (x *RecognitionMetadata) GetInteractionType() RecognitionMetadata_InteractionType { |
| 1465 |
if x != nil { |
| 1466 |
return x.InteractionType |
| 1467 |
} |
| 1468 |
return RecognitionMetadata_INTERACTION_TYPE_UNSPECIFIED |
| 1469 |
} |
| 1470 |
|
| 1471 |
func (x *RecognitionMetadata) GetIndustryNaicsCodeOfAudio() uint32 { |
| 1472 |
if x != nil { |
| 1473 |
return x.IndustryNaicsCodeOfAudio |
| 1474 |
} |
| 1475 |
return 0 |
| 1476 |
} |
| 1477 |
|
| 1478 |
func (x *RecognitionMetadata) GetMicrophoneDistance() RecognitionMetadata_MicrophoneDistance { |
| 1479 |
if x != nil { |
| 1480 |
return x.MicrophoneDistance |
| 1481 |
} |
| 1482 |
return RecognitionMetadata_MICROPHONE_DISTANCE_UNSPECIFIED |
| 1483 |
} |
| 1484 |
|
| 1485 |
func (x *RecognitionMetadata) GetOriginalMediaType() RecognitionMetadata_OriginalMediaType { |
| 1486 |
if x != nil { |
| 1487 |
return x.OriginalMediaType |
| 1488 |
} |
| 1489 |
return RecognitionMetadata_ORIGINAL_MEDIA_TYPE_UNSPECIFIED |
| 1490 |
} |
| 1491 |
|
| 1492 |
func (x *RecognitionMetadata) GetRecordingDeviceType() RecognitionMetadata_RecordingDeviceType { |
| 1493 |
if x != nil { |
| 1494 |
return x.RecordingDeviceType |
| 1495 |
} |
| 1496 |
return RecognitionMetadata_RECORDING_DEVICE_TYPE_UNSPECIFIED |
| 1497 |
} |
| 1498 |
|
| 1499 |
func (x *RecognitionMetadata) GetRecordingDeviceName() string { |
| 1500 |
if x != nil { |
| 1501 |
return x.RecordingDeviceName |
| 1502 |
} |
| 1503 |
return "" |
| 1504 |
} |
| 1505 |
|
| 1506 |
func (x *RecognitionMetadata) GetOriginalMimeType() string { |
| 1507 |
if x != nil { |
| 1508 |
return x.OriginalMimeType |
| 1509 |
} |
| 1510 |
return "" |
| 1511 |
} |
| 1512 |
|
| 1513 |
// Deprecated: Marked as deprecated in google/cloud/speech/v1p1beta1/cloud_speech.proto. |
| 1514 |
func (x *RecognitionMetadata) GetObfuscatedId() int64 { |
| 1515 |
if x != nil { |
| 1516 |
return x.ObfuscatedId |
| 1517 |
} |
| 1518 |
return 0 |
| 1519 |
} |
| 1520 |
|
| 1521 |
func (x *RecognitionMetadata) GetAudioTopic() string { |
| 1522 |
if x != nil { |
| 1523 |
return x.AudioTopic |
| 1524 |
} |
| 1525 |
return "" |
| 1526 |
} |
| 1527 |
|
| 1528 |
// Provides "hints" to the speech recognizer to favor specific words and phrases |
| 1529 |
// in the results. |
| 1530 |
type SpeechContext struct { |
| 1531 |
state protoimpl.MessageState |
| 1532 |
sizeCache protoimpl.SizeCache |
| 1533 |
unknownFields protoimpl.UnknownFields |
| 1534 |
|
| 1535 |
// A list of strings containing words and phrases "hints" so that |
| 1536 |
// the speech recognition is more likely to recognize them. This can be used |
| 1537 |
// to improve the accuracy for specific words and phrases, for example, if |
| 1538 |
// specific commands are typically spoken by the user. This can also be used |
| 1539 |
// to add additional words to the vocabulary of the recognizer. See |
| 1540 |
// [usage limits](https://cloud.google.com/speech-to-text/quotas#content). |
| 1541 |
// |
| 1542 |
// List items can also be set to classes for groups of words that represent |
| 1543 |
// common concepts that occur in natural language. For example, rather than |
| 1544 |
// providing phrase hints for every month of the year, using the $MONTH class |
| 1545 |
// improves the likelihood of correctly transcribing audio that includes |
| 1546 |
// months. |
| 1547 |
Phrases []string `protobuf:"bytes,1,rep,name=phrases,proto3" json:"phrases,omitempty"` |
| 1548 |
// Hint Boost. Positive value will increase the probability that a specific |
| 1549 |
// phrase will be recognized over other similar sounding phrases. The higher |
| 1550 |
// the boost, the higher the chance of false positive recognition as well. |
| 1551 |
// Negative boost values would correspond to anti-biasing. Anti-biasing is not |
| 1552 |
// enabled, so negative boost will simply be ignored. Though `boost` can |
| 1553 |
// accept a wide range of positive values, most use cases are best served with |
| 1554 |
// values between 0 and 20. We recommend using a binary search approach to |
| 1555 |
// finding the optimal value for your use case. |
| 1556 |
Boost float32 `protobuf:"fixed32,4,opt,name=boost,proto3" json:"boost,omitempty"` |
| 1557 |
} |
| 1558 |
|
| 1559 |
func (x *SpeechContext) Reset() { |
| 1560 |
*x = SpeechContext{} |
| 1561 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[8] |
| 1562 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1563 |
ms.StoreMessageInfo(mi) |
| 1564 |
} |
| 1565 |
|
| 1566 |
func (x *SpeechContext) String() string { |
| 1567 |
return protoimpl.X.MessageStringOf(x) |
| 1568 |
} |
| 1569 |
|
| 1570 |
func (*SpeechContext) ProtoMessage() {} |
| 1571 |
|
| 1572 |
func (x *SpeechContext) ProtoReflect() protoreflect.Message { |
| 1573 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[8] |
| 1574 |
if x != nil { |
| 1575 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1576 |
if ms.LoadMessageInfo() == nil { |
| 1577 |
ms.StoreMessageInfo(mi) |
| 1578 |
} |
| 1579 |
return ms |
| 1580 |
} |
| 1581 |
return mi.MessageOf(x) |
| 1582 |
} |
| 1583 |
|
| 1584 |
// Deprecated: Use SpeechContext.ProtoReflect.Descriptor instead. |
| 1585 |
func (*SpeechContext) Descriptor() ([]byte, []int) { |
| 1586 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescGZIP(), []int{8} |
| 1587 |
} |
| 1588 |
|
| 1589 |
func (x *SpeechContext) GetPhrases() []string { |
| 1590 |
if x != nil { |
| 1591 |
return x.Phrases |
| 1592 |
} |
| 1593 |
return nil |
| 1594 |
} |
| 1595 |
|
| 1596 |
func (x *SpeechContext) GetBoost() float32 { |
| 1597 |
if x != nil { |
| 1598 |
return x.Boost |
| 1599 |
} |
| 1600 |
return 0 |
| 1601 |
} |
| 1602 |
|
| 1603 |
// Contains audio data in the encoding specified in the `RecognitionConfig`. |
| 1604 |
// Either `content` or `uri` must be supplied. Supplying both or neither |
| 1605 |
// returns [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. |
| 1606 |
// See [content limits](https://cloud.google.com/speech-to-text/quotas#content). |
| 1607 |
type RecognitionAudio struct { |
| 1608 |
state protoimpl.MessageState |
| 1609 |
sizeCache protoimpl.SizeCache |
| 1610 |
unknownFields protoimpl.UnknownFields |
| 1611 |
|
| 1612 |
// The audio source, which is either inline content or a Google Cloud |
| 1613 |
// Storage uri. |
| 1614 |
// |
| 1615 |
// Types that are assignable to AudioSource: |
| 1616 |
// |
| 1617 |
// *RecognitionAudio_Content |
| 1618 |
// *RecognitionAudio_Uri |
| 1619 |
AudioSource isRecognitionAudio_AudioSource `protobuf_oneof:"audio_source"` |
| 1620 |
} |
| 1621 |
|
| 1622 |
func (x *RecognitionAudio) Reset() { |
| 1623 |
*x = RecognitionAudio{} |
| 1624 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[9] |
| 1625 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1626 |
ms.StoreMessageInfo(mi) |
| 1627 |
} |
| 1628 |
|
| 1629 |
func (x *RecognitionAudio) String() string { |
| 1630 |
return protoimpl.X.MessageStringOf(x) |
| 1631 |
} |
| 1632 |
|
| 1633 |
func (*RecognitionAudio) ProtoMessage() {} |
| 1634 |
|
| 1635 |
func (x *RecognitionAudio) ProtoReflect() protoreflect.Message { |
| 1636 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[9] |
| 1637 |
if x != nil { |
| 1638 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1639 |
if ms.LoadMessageInfo() == nil { |
| 1640 |
ms.StoreMessageInfo(mi) |
| 1641 |
} |
| 1642 |
return ms |
| 1643 |
} |
| 1644 |
return mi.MessageOf(x) |
| 1645 |
} |
| 1646 |
|
| 1647 |
// Deprecated: Use RecognitionAudio.ProtoReflect.Descriptor instead. |
| 1648 |
func (*RecognitionAudio) Descriptor() ([]byte, []int) { |
| 1649 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescGZIP(), []int{9} |
| 1650 |
} |
| 1651 |
|
| 1652 |
func (m *RecognitionAudio) GetAudioSource() isRecognitionAudio_AudioSource { |
| 1653 |
if m != nil { |
| 1654 |
return m.AudioSource |
| 1655 |
} |
| 1656 |
return nil |
| 1657 |
} |
| 1658 |
|
| 1659 |
func (x *RecognitionAudio) GetContent() []byte { |
| 1660 |
if x, ok := x.GetAudioSource().(*RecognitionAudio_Content); ok { |
| 1661 |
return x.Content |
| 1662 |
} |
| 1663 |
return nil |
| 1664 |
} |
| 1665 |
|
| 1666 |
func (x *RecognitionAudio) GetUri() string { |
| 1667 |
if x, ok := x.GetAudioSource().(*RecognitionAudio_Uri); ok { |
| 1668 |
return x.Uri |
| 1669 |
} |
| 1670 |
return "" |
| 1671 |
} |
| 1672 |
|
| 1673 |
type isRecognitionAudio_AudioSource interface { |
| 1674 |
isRecognitionAudio_AudioSource() |
| 1675 |
} |
| 1676 |
|
| 1677 |
type RecognitionAudio_Content struct { |
| 1678 |
// The audio data bytes encoded as specified in |
| 1679 |
// `RecognitionConfig`. Note: as with all bytes fields, proto buffers use a |
| 1680 |
// pure binary representation, whereas JSON representations use base64. |
| 1681 |
Content []byte `protobuf:"bytes,1,opt,name=content,proto3,oneof"` |
| 1682 |
} |
| 1683 |
|
| 1684 |
type RecognitionAudio_Uri struct { |
| 1685 |
// URI that points to a file that contains audio data bytes as specified in |
| 1686 |
// `RecognitionConfig`. The file must not be compressed (for example, gzip). |
| 1687 |
// Currently, only Google Cloud Storage URIs are |
| 1688 |
// supported, which must be specified in the following format: |
| 1689 |
// `gs://bucket_name/object_name` (other URI formats return |
| 1690 |
// [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). |
| 1691 |
// For more information, see [Request |
| 1692 |
// URIs](https://cloud.google.com/storage/docs/reference-uris). |
| 1693 |
Uri string `protobuf:"bytes,2,opt,name=uri,proto3,oneof"` |
| 1694 |
} |
| 1695 |
|
| 1696 |
func (*RecognitionAudio_Content) isRecognitionAudio_AudioSource() {} |
| 1697 |
|
| 1698 |
func (*RecognitionAudio_Uri) isRecognitionAudio_AudioSource() {} |
| 1699 |
|
| 1700 |
// The only message returned to the client by the `Recognize` method. It |
| 1701 |
// contains the result as zero or more sequential `SpeechRecognitionResult` |
| 1702 |
// messages. |
| 1703 |
type RecognizeResponse struct { |
| 1704 |
state protoimpl.MessageState |
| 1705 |
sizeCache protoimpl.SizeCache |
| 1706 |
unknownFields protoimpl.UnknownFields |
| 1707 |
|
| 1708 |
// Sequential list of transcription results corresponding to |
| 1709 |
// sequential portions of audio. |
| 1710 |
Results []*SpeechRecognitionResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` |
| 1711 |
// When available, billed audio seconds for the corresponding request. |
| 1712 |
TotalBilledTime *durationpb.Duration `protobuf:"bytes,3,opt,name=total_billed_time,json=totalBilledTime,proto3" json:"total_billed_time,omitempty"` |
| 1713 |
// Provides information on adaptation behavior in response |
| 1714 |
SpeechAdaptationInfo *SpeechAdaptationInfo `protobuf:"bytes,7,opt,name=speech_adaptation_info,json=speechAdaptationInfo,proto3" json:"speech_adaptation_info,omitempty"` |
| 1715 |
// The ID associated with the request. This is a unique ID specific only to |
| 1716 |
// the given request. |
| 1717 |
RequestId int64 `protobuf:"varint,8,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` |
| 1718 |
// Whether request used legacy asr models (was not automatically migrated to |
| 1719 |
// use conformer models). |
| 1720 |
UsingLegacyModels bool `protobuf:"varint,9,opt,name=using_legacy_models,json=usingLegacyModels,proto3" json:"using_legacy_models,omitempty"` |
| 1721 |
} |
| 1722 |
|
| 1723 |
func (x *RecognizeResponse) Reset() { |
| 1724 |
*x = RecognizeResponse{} |
| 1725 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[10] |
| 1726 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1727 |
ms.StoreMessageInfo(mi) |
| 1728 |
} |
| 1729 |
|
| 1730 |
func (x *RecognizeResponse) String() string { |
| 1731 |
return protoimpl.X.MessageStringOf(x) |
| 1732 |
} |
| 1733 |
|
| 1734 |
func (*RecognizeResponse) ProtoMessage() {} |
| 1735 |
|
| 1736 |
func (x *RecognizeResponse) ProtoReflect() protoreflect.Message { |
| 1737 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[10] |
| 1738 |
if x != nil { |
| 1739 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1740 |
if ms.LoadMessageInfo() == nil { |
| 1741 |
ms.StoreMessageInfo(mi) |
| 1742 |
} |
| 1743 |
return ms |
| 1744 |
} |
| 1745 |
return mi.MessageOf(x) |
| 1746 |
} |
| 1747 |
|
| 1748 |
// Deprecated: Use RecognizeResponse.ProtoReflect.Descriptor instead. |
| 1749 |
func (*RecognizeResponse) Descriptor() ([]byte, []int) { |
| 1750 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescGZIP(), []int{10} |
| 1751 |
} |
| 1752 |
|
| 1753 |
func (x *RecognizeResponse) GetResults() []*SpeechRecognitionResult { |
| 1754 |
if x != nil { |
| 1755 |
return x.Results |
| 1756 |
} |
| 1757 |
return nil |
| 1758 |
} |
| 1759 |
|
| 1760 |
func (x *RecognizeResponse) GetTotalBilledTime() *durationpb.Duration { |
| 1761 |
if x != nil { |
| 1762 |
return x.TotalBilledTime |
| 1763 |
} |
| 1764 |
return nil |
| 1765 |
} |
| 1766 |
|
| 1767 |
func (x *RecognizeResponse) GetSpeechAdaptationInfo() *SpeechAdaptationInfo { |
| 1768 |
if x != nil { |
| 1769 |
return x.SpeechAdaptationInfo |
| 1770 |
} |
| 1771 |
return nil |
| 1772 |
} |
| 1773 |
|
| 1774 |
func (x *RecognizeResponse) GetRequestId() int64 { |
| 1775 |
if x != nil { |
| 1776 |
return x.RequestId |
| 1777 |
} |
| 1778 |
return 0 |
| 1779 |
} |
| 1780 |
|
| 1781 |
func (x *RecognizeResponse) GetUsingLegacyModels() bool { |
| 1782 |
if x != nil { |
| 1783 |
return x.UsingLegacyModels |
| 1784 |
} |
| 1785 |
return false |
| 1786 |
} |
| 1787 |
|
| 1788 |
// The only message returned to the client by the `LongRunningRecognize` method. |
| 1789 |
// It contains the result as zero or more sequential `SpeechRecognitionResult` |
| 1790 |
// messages. It is included in the `result.response` field of the `Operation` |
| 1791 |
// returned by the `GetOperation` call of the `google::longrunning::Operations` |
| 1792 |
// service. |
| 1793 |
type LongRunningRecognizeResponse struct { |
| 1794 |
state protoimpl.MessageState |
| 1795 |
sizeCache protoimpl.SizeCache |
| 1796 |
unknownFields protoimpl.UnknownFields |
| 1797 |
|
| 1798 |
// Sequential list of transcription results corresponding to |
| 1799 |
// sequential portions of audio. |
| 1800 |
Results []*SpeechRecognitionResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` |
| 1801 |
// When available, billed audio seconds for the corresponding request. |
| 1802 |
TotalBilledTime *durationpb.Duration `protobuf:"bytes,3,opt,name=total_billed_time,json=totalBilledTime,proto3" json:"total_billed_time,omitempty"` |
| 1803 |
// Original output config if present in the request. |
| 1804 |
OutputConfig *TranscriptOutputConfig `protobuf:"bytes,6,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"` |
| 1805 |
// If the transcript output fails this field contains the relevant error. |
| 1806 |
OutputError *status.Status `protobuf:"bytes,7,opt,name=output_error,json=outputError,proto3" json:"output_error,omitempty"` |
| 1807 |
// Provides information on speech adaptation behavior in response |
| 1808 |
SpeechAdaptationInfo *SpeechAdaptationInfo `protobuf:"bytes,8,opt,name=speech_adaptation_info,json=speechAdaptationInfo,proto3" json:"speech_adaptation_info,omitempty"` |
| 1809 |
// The ID associated with the request. This is a unique ID specific only to |
| 1810 |
// the given request. |
| 1811 |
RequestId int64 `protobuf:"varint,9,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` |
| 1812 |
} |
| 1813 |
|
| 1814 |
func (x *LongRunningRecognizeResponse) Reset() { |
| 1815 |
*x = LongRunningRecognizeResponse{} |
| 1816 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[11] |
| 1817 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1818 |
ms.StoreMessageInfo(mi) |
| 1819 |
} |
| 1820 |
|
| 1821 |
func (x *LongRunningRecognizeResponse) String() string { |
| 1822 |
return protoimpl.X.MessageStringOf(x) |
| 1823 |
} |
| 1824 |
|
| 1825 |
func (*LongRunningRecognizeResponse) ProtoMessage() {} |
| 1826 |
|
| 1827 |
func (x *LongRunningRecognizeResponse) ProtoReflect() protoreflect.Message { |
| 1828 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[11] |
| 1829 |
if x != nil { |
| 1830 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1831 |
if ms.LoadMessageInfo() == nil { |
| 1832 |
ms.StoreMessageInfo(mi) |
| 1833 |
} |
| 1834 |
return ms |
| 1835 |
} |
| 1836 |
return mi.MessageOf(x) |
| 1837 |
} |
| 1838 |
|
| 1839 |
// Deprecated: Use LongRunningRecognizeResponse.ProtoReflect.Descriptor instead. |
| 1840 |
func (*LongRunningRecognizeResponse) Descriptor() ([]byte, []int) { |
| 1841 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescGZIP(), []int{11} |
| 1842 |
} |
| 1843 |
|
| 1844 |
func (x *LongRunningRecognizeResponse) GetResults() []*SpeechRecognitionResult { |
| 1845 |
if x != nil { |
| 1846 |
return x.Results |
| 1847 |
} |
| 1848 |
return nil |
| 1849 |
} |
| 1850 |
|
| 1851 |
func (x *LongRunningRecognizeResponse) GetTotalBilledTime() *durationpb.Duration { |
| 1852 |
if x != nil { |
| 1853 |
return x.TotalBilledTime |
| 1854 |
} |
| 1855 |
return nil |
| 1856 |
} |
| 1857 |
|
| 1858 |
func (x *LongRunningRecognizeResponse) GetOutputConfig() *TranscriptOutputConfig { |
| 1859 |
if x != nil { |
| 1860 |
return x.OutputConfig |
| 1861 |
} |
| 1862 |
return nil |
| 1863 |
} |
| 1864 |
|
| 1865 |
func (x *LongRunningRecognizeResponse) GetOutputError() *status.Status { |
| 1866 |
if x != nil { |
| 1867 |
return x.OutputError |
| 1868 |
} |
| 1869 |
return nil |
| 1870 |
} |
| 1871 |
|
| 1872 |
func (x *LongRunningRecognizeResponse) GetSpeechAdaptationInfo() *SpeechAdaptationInfo { |
| 1873 |
if x != nil { |
| 1874 |
return x.SpeechAdaptationInfo |
| 1875 |
} |
| 1876 |
return nil |
| 1877 |
} |
| 1878 |
|
| 1879 |
func (x *LongRunningRecognizeResponse) GetRequestId() int64 { |
| 1880 |
if x != nil { |
| 1881 |
return x.RequestId |
| 1882 |
} |
| 1883 |
return 0 |
| 1884 |
} |
| 1885 |
|
| 1886 |
// Describes the progress of a long-running `LongRunningRecognize` call. It is |
| 1887 |
// included in the `metadata` field of the `Operation` returned by the |
| 1888 |
// `GetOperation` call of the `google::longrunning::Operations` service. |
| 1889 |
type LongRunningRecognizeMetadata struct { |
| 1890 |
state protoimpl.MessageState |
| 1891 |
sizeCache protoimpl.SizeCache |
| 1892 |
unknownFields protoimpl.UnknownFields |
| 1893 |
|
| 1894 |
// Approximate percentage of audio processed thus far. Guaranteed to be 100 |
| 1895 |
// when the audio is fully processed and the results are available. |
| 1896 |
ProgressPercent int32 `protobuf:"varint,1,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"` |
| 1897 |
// Time when the request was received. |
| 1898 |
StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` |
| 1899 |
// Time of the most recent processing update. |
| 1900 |
LastUpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"` |
| 1901 |
// Output only. The URI of the audio file being transcribed. Empty if the |
| 1902 |
// audio was sent as byte content. |
| 1903 |
Uri string `protobuf:"bytes,4,opt,name=uri,proto3" json:"uri,omitempty"` |
| 1904 |
// Output only. A copy of the TranscriptOutputConfig if it was set in the |
| 1905 |
// request. |
| 1906 |
OutputConfig *TranscriptOutputConfig `protobuf:"bytes,5,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"` |
| 1907 |
} |
| 1908 |
|
| 1909 |
func (x *LongRunningRecognizeMetadata) Reset() { |
| 1910 |
*x = LongRunningRecognizeMetadata{} |
| 1911 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[12] |
| 1912 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1913 |
ms.StoreMessageInfo(mi) |
| 1914 |
} |
| 1915 |
|
| 1916 |
func (x *LongRunningRecognizeMetadata) String() string { |
| 1917 |
return protoimpl.X.MessageStringOf(x) |
| 1918 |
} |
| 1919 |
|
| 1920 |
func (*LongRunningRecognizeMetadata) ProtoMessage() {} |
| 1921 |
|
| 1922 |
func (x *LongRunningRecognizeMetadata) ProtoReflect() protoreflect.Message { |
| 1923 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[12] |
| 1924 |
if x != nil { |
| 1925 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1926 |
if ms.LoadMessageInfo() == nil { |
| 1927 |
ms.StoreMessageInfo(mi) |
| 1928 |
} |
| 1929 |
return ms |
| 1930 |
} |
| 1931 |
return mi.MessageOf(x) |
| 1932 |
} |
| 1933 |
|
| 1934 |
// Deprecated: Use LongRunningRecognizeMetadata.ProtoReflect.Descriptor instead. |
| 1935 |
func (*LongRunningRecognizeMetadata) Descriptor() ([]byte, []int) { |
| 1936 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescGZIP(), []int{12} |
| 1937 |
} |
| 1938 |
|
| 1939 |
func (x *LongRunningRecognizeMetadata) GetProgressPercent() int32 { |
| 1940 |
if x != nil { |
| 1941 |
return x.ProgressPercent |
| 1942 |
} |
| 1943 |
return 0 |
| 1944 |
} |
| 1945 |
|
| 1946 |
func (x *LongRunningRecognizeMetadata) GetStartTime() *timestamppb.Timestamp { |
| 1947 |
if x != nil { |
| 1948 |
return x.StartTime |
| 1949 |
} |
| 1950 |
return nil |
| 1951 |
} |
| 1952 |
|
| 1953 |
func (x *LongRunningRecognizeMetadata) GetLastUpdateTime() *timestamppb.Timestamp { |
| 1954 |
if x != nil { |
| 1955 |
return x.LastUpdateTime |
| 1956 |
} |
| 1957 |
return nil |
| 1958 |
} |
| 1959 |
|
| 1960 |
func (x *LongRunningRecognizeMetadata) GetUri() string { |
| 1961 |
if x != nil { |
| 1962 |
return x.Uri |
| 1963 |
} |
| 1964 |
return "" |
| 1965 |
} |
| 1966 |
|
| 1967 |
func (x *LongRunningRecognizeMetadata) GetOutputConfig() *TranscriptOutputConfig { |
| 1968 |
if x != nil { |
| 1969 |
return x.OutputConfig |
| 1970 |
} |
| 1971 |
return nil |
| 1972 |
} |
| 1973 |
|
| 1974 |
// `StreamingRecognizeResponse` is the only message returned to the client by |
| 1975 |
// `StreamingRecognize`. A series of zero or more `StreamingRecognizeResponse` |
| 1976 |
// messages are streamed back to the client. If there is no recognizable |
| 1977 |
// audio, and `single_utterance` is set to false, then no messages are streamed |
| 1978 |
// back to the client. |
| 1979 |
// |
| 1980 |
// Here's an example of a series of `StreamingRecognizeResponse`s that might be |
| 1981 |
// returned while processing audio: |
| 1982 |
// |
| 1983 |
// 1. results { alternatives { transcript: "tube" } stability: 0.01 } |
| 1984 |
// |
| 1985 |
// 2. results { alternatives { transcript: "to be a" } stability: 0.01 } |
| 1986 |
// |
| 1987 |
// 3. results { alternatives { transcript: "to be" } stability: 0.9 } |
| 1988 |
// results { alternatives { transcript: " or not to be" } stability: 0.01 } |
| 1989 |
// |
| 1990 |
// 4. results { alternatives { transcript: "to be or not to be" |
| 1991 |
// confidence: 0.92 } |
| 1992 |
// alternatives { transcript: "to bee or not to bee" } |
| 1993 |
// is_final: true } |
| 1994 |
// |
| 1995 |
// 5. results { alternatives { transcript: " that's" } stability: 0.01 } |
| 1996 |
// |
| 1997 |
// 6. results { alternatives { transcript: " that is" } stability: 0.9 } |
| 1998 |
// results { alternatives { transcript: " the question" } stability: 0.01 } |
| 1999 |
// |
| 2000 |
// 7. results { alternatives { transcript: " that is the question" |
| 2001 |
// confidence: 0.98 } |
| 2002 |
// alternatives { transcript: " that was the question" } |
| 2003 |
// is_final: true } |
| 2004 |
// |
| 2005 |
// Notes: |
| 2006 |
// |
| 2007 |
// - Only two of the above responses #4 and #7 contain final results; they are |
| 2008 |
// indicated by `is_final: true`. Concatenating these together generates the |
| 2009 |
// full transcript: "to be or not to be that is the question". |
| 2010 |
// |
| 2011 |
// - The others contain interim `results`. #3 and #6 contain two interim |
| 2012 |
// `results`: the first portion has a high stability and is less likely to |
| 2013 |
// change; the second portion has a low stability and is very likely to |
| 2014 |
// change. A UI designer might choose to show only high stability `results`. |
| 2015 |
// |
| 2016 |
// - The specific `stability` and `confidence` values shown above are only for |
| 2017 |
// illustrative purposes. Actual values may vary. |
| 2018 |
// |
| 2019 |
// - In each response, only one of these fields will be set: |
| 2020 |
// `error`, |
| 2021 |
// `speech_event_type`, or |
| 2022 |
// one or more (repeated) `results`. |
| 2023 |
type StreamingRecognizeResponse struct { |
| 2024 |
state protoimpl.MessageState |
| 2025 |
sizeCache protoimpl.SizeCache |
| 2026 |
unknownFields protoimpl.UnknownFields |
| 2027 |
|
| 2028 |
// If set, returns a [google.rpc.Status][google.rpc.Status] message that |
| 2029 |
// specifies the error for the operation. |
| 2030 |
Error *status.Status `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` |
| 2031 |
// This repeated list contains zero or more results that |
| 2032 |
// correspond to consecutive portions of the audio currently being processed. |
| 2033 |
// It contains zero or one `is_final=true` result (the newly settled portion), |
| 2034 |
// followed by zero or more `is_final=false` results (the interim results). |
| 2035 |
Results []*StreamingRecognitionResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` |
| 2036 |
// Indicates the type of speech event. |
| 2037 |
SpeechEventType StreamingRecognizeResponse_SpeechEventType `protobuf:"varint,4,opt,name=speech_event_type,json=speechEventType,proto3,enum=google.cloud.speech.v1p1beta1.StreamingRecognizeResponse_SpeechEventType" json:"speech_event_type,omitempty"` |
| 2038 |
// Time offset between the beginning of the audio and event emission. |
| 2039 |
SpeechEventTime *durationpb.Duration `protobuf:"bytes,8,opt,name=speech_event_time,json=speechEventTime,proto3" json:"speech_event_time,omitempty"` |
| 2040 |
// When available, billed audio seconds for the stream. |
| 2041 |
// Set only if this is the last response in the stream. |
| 2042 |
TotalBilledTime *durationpb.Duration `protobuf:"bytes,5,opt,name=total_billed_time,json=totalBilledTime,proto3" json:"total_billed_time,omitempty"` |
| 2043 |
// Provides information on adaptation behavior in response |
| 2044 |
SpeechAdaptationInfo *SpeechAdaptationInfo `protobuf:"bytes,9,opt,name=speech_adaptation_info,json=speechAdaptationInfo,proto3" json:"speech_adaptation_info,omitempty"` |
| 2045 |
// The ID associated with the request. This is a unique ID specific only to |
| 2046 |
// the given request. |
| 2047 |
RequestId int64 `protobuf:"varint,10,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` |
| 2048 |
} |
| 2049 |
|
| 2050 |
func (x *StreamingRecognizeResponse) Reset() { |
| 2051 |
*x = StreamingRecognizeResponse{} |
| 2052 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[13] |
| 2053 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2054 |
ms.StoreMessageInfo(mi) |
| 2055 |
} |
| 2056 |
|
| 2057 |
func (x *StreamingRecognizeResponse) String() string { |
| 2058 |
return protoimpl.X.MessageStringOf(x) |
| 2059 |
} |
| 2060 |
|
| 2061 |
func (*StreamingRecognizeResponse) ProtoMessage() {} |
| 2062 |
|
| 2063 |
func (x *StreamingRecognizeResponse) ProtoReflect() protoreflect.Message { |
| 2064 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[13] |
| 2065 |
if x != nil { |
| 2066 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2067 |
if ms.LoadMessageInfo() == nil { |
| 2068 |
ms.StoreMessageInfo(mi) |
| 2069 |
} |
| 2070 |
return ms |
| 2071 |
} |
| 2072 |
return mi.MessageOf(x) |
| 2073 |
} |
| 2074 |
|
| 2075 |
// Deprecated: Use StreamingRecognizeResponse.ProtoReflect.Descriptor instead. |
| 2076 |
func (*StreamingRecognizeResponse) Descriptor() ([]byte, []int) { |
| 2077 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescGZIP(), []int{13} |
| 2078 |
} |
| 2079 |
|
| 2080 |
func (x *StreamingRecognizeResponse) GetError() *status.Status { |
| 2081 |
if x != nil { |
| 2082 |
return x.Error |
| 2083 |
} |
| 2084 |
return nil |
| 2085 |
} |
| 2086 |
|
| 2087 |
func (x *StreamingRecognizeResponse) GetResults() []*StreamingRecognitionResult { |
| 2088 |
if x != nil { |
| 2089 |
return x.Results |
| 2090 |
} |
| 2091 |
return nil |
| 2092 |
} |
| 2093 |
|
| 2094 |
func (x *StreamingRecognizeResponse) GetSpeechEventType() StreamingRecognizeResponse_SpeechEventType { |
| 2095 |
if x != nil { |
| 2096 |
return x.SpeechEventType |
| 2097 |
} |
| 2098 |
return StreamingRecognizeResponse_SPEECH_EVENT_UNSPECIFIED |
| 2099 |
} |
| 2100 |
|
| 2101 |
func (x *StreamingRecognizeResponse) GetSpeechEventTime() *durationpb.Duration { |
| 2102 |
if x != nil { |
| 2103 |
return x.SpeechEventTime |
| 2104 |
} |
| 2105 |
return nil |
| 2106 |
} |
| 2107 |
|
| 2108 |
func (x *StreamingRecognizeResponse) GetTotalBilledTime() *durationpb.Duration { |
| 2109 |
if x != nil { |
| 2110 |
return x.TotalBilledTime |
| 2111 |
} |
| 2112 |
return nil |
| 2113 |
} |
| 2114 |
|
| 2115 |
func (x *StreamingRecognizeResponse) GetSpeechAdaptationInfo() *SpeechAdaptationInfo { |
| 2116 |
if x != nil { |
| 2117 |
return x.SpeechAdaptationInfo |
| 2118 |
} |
| 2119 |
return nil |
| 2120 |
} |
| 2121 |
|
| 2122 |
func (x *StreamingRecognizeResponse) GetRequestId() int64 { |
| 2123 |
if x != nil { |
| 2124 |
return x.RequestId |
| 2125 |
} |
| 2126 |
return 0 |
| 2127 |
} |
| 2128 |
|
| 2129 |
// A streaming speech recognition result corresponding to a portion of the audio |
| 2130 |
// that is currently being processed. |
| 2131 |
type StreamingRecognitionResult struct { |
| 2132 |
state protoimpl.MessageState |
| 2133 |
sizeCache protoimpl.SizeCache |
| 2134 |
unknownFields protoimpl.UnknownFields |
| 2135 |
|
| 2136 |
// May contain one or more recognition hypotheses (up to the |
| 2137 |
// maximum specified in `max_alternatives`). |
| 2138 |
// These alternatives are ordered in terms of accuracy, with the top (first) |
| 2139 |
// alternative being the most probable, as ranked by the recognizer. |
| 2140 |
Alternatives []*SpeechRecognitionAlternative `protobuf:"bytes,1,rep,name=alternatives,proto3" json:"alternatives,omitempty"` |
| 2141 |
// If `false`, this `StreamingRecognitionResult` represents an |
| 2142 |
// interim result that may change. If `true`, this is the final time the |
| 2143 |
// speech service will return this particular `StreamingRecognitionResult`, |
| 2144 |
// the recognizer will not return any further hypotheses for this portion of |
| 2145 |
// the transcript and corresponding audio. |
| 2146 |
IsFinal bool `protobuf:"varint,2,opt,name=is_final,json=isFinal,proto3" json:"is_final,omitempty"` |
| 2147 |
// An estimate of the likelihood that the recognizer will not |
| 2148 |
// change its guess about this interim result. Values range from 0.0 |
| 2149 |
// (completely unstable) to 1.0 (completely stable). |
| 2150 |
// This field is only provided for interim results (`is_final=false`). |
| 2151 |
// The default of 0.0 is a sentinel value indicating `stability` was not set. |
| 2152 |
Stability float32 `protobuf:"fixed32,3,opt,name=stability,proto3" json:"stability,omitempty"` |
| 2153 |
// Time offset of the end of this result relative to the |
| 2154 |
// beginning of the audio. |
| 2155 |
ResultEndTime *durationpb.Duration `protobuf:"bytes,4,opt,name=result_end_time,json=resultEndTime,proto3" json:"result_end_time,omitempty"` |
| 2156 |
// For multi-channel audio, this is the channel number corresponding to the |
| 2157 |
// recognized result for the audio from that channel. |
| 2158 |
// For audio_channel_count = N, its output values can range from '1' to 'N'. |
| 2159 |
ChannelTag int32 `protobuf:"varint,5,opt,name=channel_tag,json=channelTag,proto3" json:"channel_tag,omitempty"` |
| 2160 |
// Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) |
| 2161 |
// language tag of the language in this result. This language code was |
| 2162 |
// detected to have the most likelihood of being spoken in the audio. |
| 2163 |
LanguageCode string `protobuf:"bytes,6,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` |
| 2164 |
} |
| 2165 |
|
| 2166 |
func (x *StreamingRecognitionResult) Reset() { |
| 2167 |
*x = StreamingRecognitionResult{} |
| 2168 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[14] |
| 2169 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2170 |
ms.StoreMessageInfo(mi) |
| 2171 |
} |
| 2172 |
|
| 2173 |
func (x *StreamingRecognitionResult) String() string { |
| 2174 |
return protoimpl.X.MessageStringOf(x) |
| 2175 |
} |
| 2176 |
|
| 2177 |
func (*StreamingRecognitionResult) ProtoMessage() {} |
| 2178 |
|
| 2179 |
func (x *StreamingRecognitionResult) ProtoReflect() protoreflect.Message { |
| 2180 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[14] |
| 2181 |
if x != nil { |
| 2182 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2183 |
if ms.LoadMessageInfo() == nil { |
| 2184 |
ms.StoreMessageInfo(mi) |
| 2185 |
} |
| 2186 |
return ms |
| 2187 |
} |
| 2188 |
return mi.MessageOf(x) |
| 2189 |
} |
| 2190 |
|
| 2191 |
// Deprecated: Use StreamingRecognitionResult.ProtoReflect.Descriptor instead. |
| 2192 |
func (*StreamingRecognitionResult) Descriptor() ([]byte, []int) { |
| 2193 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescGZIP(), []int{14} |
| 2194 |
} |
| 2195 |
|
| 2196 |
func (x *StreamingRecognitionResult) GetAlternatives() []*SpeechRecognitionAlternative { |
| 2197 |
if x != nil { |
| 2198 |
return x.Alternatives |
| 2199 |
} |
| 2200 |
return nil |
| 2201 |
} |
| 2202 |
|
| 2203 |
func (x *StreamingRecognitionResult) GetIsFinal() bool { |
| 2204 |
if x != nil { |
| 2205 |
return x.IsFinal |
| 2206 |
} |
| 2207 |
return false |
| 2208 |
} |
| 2209 |
|
| 2210 |
func (x *StreamingRecognitionResult) GetStability() float32 { |
| 2211 |
if x != nil { |
| 2212 |
return x.Stability |
| 2213 |
} |
| 2214 |
return 0 |
| 2215 |
} |
| 2216 |
|
| 2217 |
func (x *StreamingRecognitionResult) GetResultEndTime() *durationpb.Duration { |
| 2218 |
if x != nil { |
| 2219 |
return x.ResultEndTime |
| 2220 |
} |
| 2221 |
return nil |
| 2222 |
} |
| 2223 |
|
| 2224 |
func (x *StreamingRecognitionResult) GetChannelTag() int32 { |
| 2225 |
if x != nil { |
| 2226 |
return x.ChannelTag |
| 2227 |
} |
| 2228 |
return 0 |
| 2229 |
} |
| 2230 |
|
| 2231 |
func (x *StreamingRecognitionResult) GetLanguageCode() string { |
| 2232 |
if x != nil { |
| 2233 |
return x.LanguageCode |
| 2234 |
} |
| 2235 |
return "" |
| 2236 |
} |
| 2237 |
|
| 2238 |
// A speech recognition result corresponding to a portion of the audio. |
| 2239 |
type SpeechRecognitionResult struct { |
| 2240 |
state protoimpl.MessageState |
| 2241 |
sizeCache protoimpl.SizeCache |
| 2242 |
unknownFields protoimpl.UnknownFields |
| 2243 |
|
| 2244 |
// May contain one or more recognition hypotheses (up to the |
| 2245 |
// maximum specified in `max_alternatives`). |
| 2246 |
// These alternatives are ordered in terms of accuracy, with the top (first) |
| 2247 |
// alternative being the most probable, as ranked by the recognizer. |
| 2248 |
Alternatives []*SpeechRecognitionAlternative `protobuf:"bytes,1,rep,name=alternatives,proto3" json:"alternatives,omitempty"` |
| 2249 |
// For multi-channel audio, this is the channel number corresponding to the |
| 2250 |
// recognized result for the audio from that channel. |
| 2251 |
// For audio_channel_count = N, its output values can range from '1' to 'N'. |
| 2252 |
ChannelTag int32 `protobuf:"varint,2,opt,name=channel_tag,json=channelTag,proto3" json:"channel_tag,omitempty"` |
| 2253 |
// Time offset of the end of this result relative to the |
| 2254 |
// beginning of the audio. |
| 2255 |
ResultEndTime *durationpb.Duration `protobuf:"bytes,4,opt,name=result_end_time,json=resultEndTime,proto3" json:"result_end_time,omitempty"` |
| 2256 |
// Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) |
| 2257 |
// language tag of the language in this result. This language code was |
| 2258 |
// detected to have the most likelihood of being spoken in the audio. |
| 2259 |
LanguageCode string `protobuf:"bytes,5,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` |
| 2260 |
} |
| 2261 |
|
| 2262 |
func (x *SpeechRecognitionResult) Reset() { |
| 2263 |
*x = SpeechRecognitionResult{} |
| 2264 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[15] |
| 2265 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2266 |
ms.StoreMessageInfo(mi) |
| 2267 |
} |
| 2268 |
|
| 2269 |
func (x *SpeechRecognitionResult) String() string { |
| 2270 |
return protoimpl.X.MessageStringOf(x) |
| 2271 |
} |
| 2272 |
|
| 2273 |
func (*SpeechRecognitionResult) ProtoMessage() {} |
| 2274 |
|
| 2275 |
func (x *SpeechRecognitionResult) ProtoReflect() protoreflect.Message { |
| 2276 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[15] |
| 2277 |
if x != nil { |
| 2278 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2279 |
if ms.LoadMessageInfo() == nil { |
| 2280 |
ms.StoreMessageInfo(mi) |
| 2281 |
} |
| 2282 |
return ms |
| 2283 |
} |
| 2284 |
return mi.MessageOf(x) |
| 2285 |
} |
| 2286 |
|
| 2287 |
// Deprecated: Use SpeechRecognitionResult.ProtoReflect.Descriptor instead. |
| 2288 |
func (*SpeechRecognitionResult) Descriptor() ([]byte, []int) { |
| 2289 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescGZIP(), []int{15} |
| 2290 |
} |
| 2291 |
|
| 2292 |
func (x *SpeechRecognitionResult) GetAlternatives() []*SpeechRecognitionAlternative { |
| 2293 |
if x != nil { |
| 2294 |
return x.Alternatives |
| 2295 |
} |
| 2296 |
return nil |
| 2297 |
} |
| 2298 |
|
| 2299 |
func (x *SpeechRecognitionResult) GetChannelTag() int32 { |
| 2300 |
if x != nil { |
| 2301 |
return x.ChannelTag |
| 2302 |
} |
| 2303 |
return 0 |
| 2304 |
} |
| 2305 |
|
| 2306 |
func (x *SpeechRecognitionResult) GetResultEndTime() *durationpb.Duration { |
| 2307 |
if x != nil { |
| 2308 |
return x.ResultEndTime |
| 2309 |
} |
| 2310 |
return nil |
| 2311 |
} |
| 2312 |
|
| 2313 |
func (x *SpeechRecognitionResult) GetLanguageCode() string { |
| 2314 |
if x != nil { |
| 2315 |
return x.LanguageCode |
| 2316 |
} |
| 2317 |
return "" |
| 2318 |
} |
| 2319 |
|
| 2320 |
// Alternative hypotheses (a.k.a. n-best list). |
| 2321 |
type SpeechRecognitionAlternative struct { |
| 2322 |
state protoimpl.MessageState |
| 2323 |
sizeCache protoimpl.SizeCache |
| 2324 |
unknownFields protoimpl.UnknownFields |
| 2325 |
|
| 2326 |
// Transcript text representing the words that the user spoke. |
| 2327 |
// In languages that use spaces to separate words, the transcript might have a |
| 2328 |
// leading space if it isn't the first result. You can concatenate each result |
| 2329 |
// to obtain the full transcript without using a separator. |
| 2330 |
Transcript string `protobuf:"bytes,1,opt,name=transcript,proto3" json:"transcript,omitempty"` |
| 2331 |
// The confidence estimate between 0.0 and 1.0. A higher number |
| 2332 |
// indicates an estimated greater likelihood that the recognized words are |
| 2333 |
// correct. This field is set only for the top alternative of a non-streaming |
| 2334 |
// result or, of a streaming result where `is_final=true`. |
| 2335 |
// This field is not guaranteed to be accurate and users should not rely on it |
| 2336 |
// to be always provided. |
| 2337 |
// The default of 0.0 is a sentinel value indicating `confidence` was not set. |
| 2338 |
Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"` |
| 2339 |
// A list of word-specific information for each recognized word. |
| 2340 |
// Note: When `enable_speaker_diarization` is true, you will see all the words |
| 2341 |
// from the beginning of the audio. |
| 2342 |
Words []*WordInfo `protobuf:"bytes,3,rep,name=words,proto3" json:"words,omitempty"` |
| 2343 |
} |
| 2344 |
|
| 2345 |
func (x *SpeechRecognitionAlternative) Reset() { |
| 2346 |
*x = SpeechRecognitionAlternative{} |
| 2347 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[16] |
| 2348 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2349 |
ms.StoreMessageInfo(mi) |
| 2350 |
} |
| 2351 |
|
| 2352 |
func (x *SpeechRecognitionAlternative) String() string { |
| 2353 |
return protoimpl.X.MessageStringOf(x) |
| 2354 |
} |
| 2355 |
|
| 2356 |
func (*SpeechRecognitionAlternative) ProtoMessage() {} |
| 2357 |
|
| 2358 |
func (x *SpeechRecognitionAlternative) ProtoReflect() protoreflect.Message { |
| 2359 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[16] |
| 2360 |
if x != nil { |
| 2361 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2362 |
if ms.LoadMessageInfo() == nil { |
| 2363 |
ms.StoreMessageInfo(mi) |
| 2364 |
} |
| 2365 |
return ms |
| 2366 |
} |
| 2367 |
return mi.MessageOf(x) |
| 2368 |
} |
| 2369 |
|
| 2370 |
// Deprecated: Use SpeechRecognitionAlternative.ProtoReflect.Descriptor instead. |
| 2371 |
func (*SpeechRecognitionAlternative) Descriptor() ([]byte, []int) { |
| 2372 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescGZIP(), []int{16} |
| 2373 |
} |
| 2374 |
|
| 2375 |
func (x *SpeechRecognitionAlternative) GetTranscript() string { |
| 2376 |
if x != nil { |
| 2377 |
return x.Transcript |
| 2378 |
} |
| 2379 |
return "" |
| 2380 |
} |
| 2381 |
|
| 2382 |
func (x *SpeechRecognitionAlternative) GetConfidence() float32 { |
| 2383 |
if x != nil { |
| 2384 |
return x.Confidence |
| 2385 |
} |
| 2386 |
return 0 |
| 2387 |
} |
| 2388 |
|
| 2389 |
func (x *SpeechRecognitionAlternative) GetWords() []*WordInfo { |
| 2390 |
if x != nil { |
| 2391 |
return x.Words |
| 2392 |
} |
| 2393 |
return nil |
| 2394 |
} |
| 2395 |
|
| 2396 |
// Word-specific information for recognized words. |
| 2397 |
type WordInfo struct { |
| 2398 |
state protoimpl.MessageState |
| 2399 |
sizeCache protoimpl.SizeCache |
| 2400 |
unknownFields protoimpl.UnknownFields |
| 2401 |
|
| 2402 |
// Time offset relative to the beginning of the audio, |
| 2403 |
// and corresponding to the start of the spoken word. |
| 2404 |
// This field is only set if `enable_word_time_offsets=true` and only |
| 2405 |
// in the top hypothesis. |
| 2406 |
// This is an experimental feature and the accuracy of the time offset can |
| 2407 |
// vary. |
| 2408 |
StartTime *durationpb.Duration `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` |
| 2409 |
// Time offset relative to the beginning of the audio, |
| 2410 |
// and corresponding to the end of the spoken word. |
| 2411 |
// This field is only set if `enable_word_time_offsets=true` and only |
| 2412 |
// in the top hypothesis. |
| 2413 |
// This is an experimental feature and the accuracy of the time offset can |
| 2414 |
// vary. |
| 2415 |
EndTime *durationpb.Duration `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` |
| 2416 |
// The word corresponding to this set of information. |
| 2417 |
Word string `protobuf:"bytes,3,opt,name=word,proto3" json:"word,omitempty"` |
| 2418 |
// The confidence estimate between 0.0 and 1.0. A higher number |
| 2419 |
// indicates an estimated greater likelihood that the recognized words are |
| 2420 |
// correct. This field is set only for the top alternative of a non-streaming |
| 2421 |
// result or, of a streaming result where `is_final=true`. |
| 2422 |
// This field is not guaranteed to be accurate and users should not rely on it |
| 2423 |
// to be always provided. |
| 2424 |
// The default of 0.0 is a sentinel value indicating `confidence` was not set. |
| 2425 |
Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` |
| 2426 |
// Output only. A distinct integer value is assigned for every speaker within |
| 2427 |
// the audio. This field specifies which one of those speakers was detected to |
| 2428 |
// have spoken this word. Value ranges from '1' to diarization_speaker_count. |
| 2429 |
// speaker_tag is set if enable_speaker_diarization = 'true' and only for the |
| 2430 |
// top alternative. |
| 2431 |
// Note: Use speaker_label instead. |
| 2432 |
// |
| 2433 |
// Deprecated: Marked as deprecated in google/cloud/speech/v1p1beta1/cloud_speech.proto. |
| 2434 |
SpeakerTag int32 `protobuf:"varint,5,opt,name=speaker_tag,json=speakerTag,proto3" json:"speaker_tag,omitempty"` |
| 2435 |
// Output only. A label value assigned for every unique speaker within the |
| 2436 |
// audio. This field specifies which speaker was detected to have spoken this |
| 2437 |
// word. For some models, like medical_conversation this can be actual speaker |
| 2438 |
// role, for example "patient" or "provider", but generally this would be a |
| 2439 |
// number identifying a speaker. This field is only set if |
| 2440 |
// enable_speaker_diarization = 'true' and only for the top alternative. |
| 2441 |
SpeakerLabel string `protobuf:"bytes,6,opt,name=speaker_label,json=speakerLabel,proto3" json:"speaker_label,omitempty"` |
| 2442 |
} |
| 2443 |
|
| 2444 |
func (x *WordInfo) Reset() { |
| 2445 |
*x = WordInfo{} |
| 2446 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[17] |
| 2447 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2448 |
ms.StoreMessageInfo(mi) |
| 2449 |
} |
| 2450 |
|
| 2451 |
func (x *WordInfo) String() string { |
| 2452 |
return protoimpl.X.MessageStringOf(x) |
| 2453 |
} |
| 2454 |
|
| 2455 |
func (*WordInfo) ProtoMessage() {} |
| 2456 |
|
| 2457 |
func (x *WordInfo) ProtoReflect() protoreflect.Message { |
| 2458 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[17] |
| 2459 |
if x != nil { |
| 2460 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2461 |
if ms.LoadMessageInfo() == nil { |
| 2462 |
ms.StoreMessageInfo(mi) |
| 2463 |
} |
| 2464 |
return ms |
| 2465 |
} |
| 2466 |
return mi.MessageOf(x) |
| 2467 |
} |
| 2468 |
|
| 2469 |
// Deprecated: Use WordInfo.ProtoReflect.Descriptor instead. |
| 2470 |
func (*WordInfo) Descriptor() ([]byte, []int) { |
| 2471 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescGZIP(), []int{17} |
| 2472 |
} |
| 2473 |
|
| 2474 |
func (x *WordInfo) GetStartTime() *durationpb.Duration { |
| 2475 |
if x != nil { |
| 2476 |
return x.StartTime |
| 2477 |
} |
| 2478 |
return nil |
| 2479 |
} |
| 2480 |
|
| 2481 |
func (x *WordInfo) GetEndTime() *durationpb.Duration { |
| 2482 |
if x != nil { |
| 2483 |
return x.EndTime |
| 2484 |
} |
| 2485 |
return nil |
| 2486 |
} |
| 2487 |
|
| 2488 |
func (x *WordInfo) GetWord() string { |
| 2489 |
if x != nil { |
| 2490 |
return x.Word |
| 2491 |
} |
| 2492 |
return "" |
| 2493 |
} |
| 2494 |
|
| 2495 |
func (x *WordInfo) GetConfidence() float32 { |
| 2496 |
if x != nil { |
| 2497 |
return x.Confidence |
| 2498 |
} |
| 2499 |
return 0 |
| 2500 |
} |
| 2501 |
|
| 2502 |
// Deprecated: Marked as deprecated in google/cloud/speech/v1p1beta1/cloud_speech.proto. |
| 2503 |
func (x *WordInfo) GetSpeakerTag() int32 { |
| 2504 |
if x != nil { |
| 2505 |
return x.SpeakerTag |
| 2506 |
} |
| 2507 |
return 0 |
| 2508 |
} |
| 2509 |
|
| 2510 |
func (x *WordInfo) GetSpeakerLabel() string { |
| 2511 |
if x != nil { |
| 2512 |
return x.SpeakerLabel |
| 2513 |
} |
| 2514 |
return "" |
| 2515 |
} |
| 2516 |
|
| 2517 |
// Information on speech adaptation use in results |
| 2518 |
type SpeechAdaptationInfo struct { |
| 2519 |
state protoimpl.MessageState |
| 2520 |
sizeCache protoimpl.SizeCache |
| 2521 |
unknownFields protoimpl.UnknownFields |
| 2522 |
|
| 2523 |
// Whether there was a timeout when applying speech adaptation. If true, |
| 2524 |
// adaptation had no effect in the response transcript. |
| 2525 |
AdaptationTimeout bool `protobuf:"varint,1,opt,name=adaptation_timeout,json=adaptationTimeout,proto3" json:"adaptation_timeout,omitempty"` |
| 2526 |
// If set, returns a message specifying which part of the speech adaptation |
| 2527 |
// request timed out. |
| 2528 |
TimeoutMessage string `protobuf:"bytes,4,opt,name=timeout_message,json=timeoutMessage,proto3" json:"timeout_message,omitempty"` |
| 2529 |
} |
| 2530 |
|
| 2531 |
func (x *SpeechAdaptationInfo) Reset() { |
| 2532 |
*x = SpeechAdaptationInfo{} |
| 2533 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[18] |
| 2534 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2535 |
ms.StoreMessageInfo(mi) |
| 2536 |
} |
| 2537 |
|
| 2538 |
func (x *SpeechAdaptationInfo) String() string { |
| 2539 |
return protoimpl.X.MessageStringOf(x) |
| 2540 |
} |
| 2541 |
|
| 2542 |
func (*SpeechAdaptationInfo) ProtoMessage() {} |
| 2543 |
|
| 2544 |
func (x *SpeechAdaptationInfo) ProtoReflect() protoreflect.Message { |
| 2545 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[18] |
| 2546 |
if x != nil { |
| 2547 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2548 |
if ms.LoadMessageInfo() == nil { |
| 2549 |
ms.StoreMessageInfo(mi) |
| 2550 |
} |
| 2551 |
return ms |
| 2552 |
} |
| 2553 |
return mi.MessageOf(x) |
| 2554 |
} |
| 2555 |
|
| 2556 |
// Deprecated: Use SpeechAdaptationInfo.ProtoReflect.Descriptor instead. |
| 2557 |
func (*SpeechAdaptationInfo) Descriptor() ([]byte, []int) { |
| 2558 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescGZIP(), []int{18} |
| 2559 |
} |
| 2560 |
|
| 2561 |
func (x *SpeechAdaptationInfo) GetAdaptationTimeout() bool { |
| 2562 |
if x != nil { |
| 2563 |
return x.AdaptationTimeout |
| 2564 |
} |
| 2565 |
return false |
| 2566 |
} |
| 2567 |
|
| 2568 |
func (x *SpeechAdaptationInfo) GetTimeoutMessage() string { |
| 2569 |
if x != nil { |
| 2570 |
return x.TimeoutMessage |
| 2571 |
} |
| 2572 |
return "" |
| 2573 |
} |
| 2574 |
|
| 2575 |
// Events that a timeout can be set on for voice activity. |
| 2576 |
type StreamingRecognitionConfig_VoiceActivityTimeout struct { |
| 2577 |
state protoimpl.MessageState |
| 2578 |
sizeCache protoimpl.SizeCache |
| 2579 |
unknownFields protoimpl.UnknownFields |
| 2580 |
|
| 2581 |
// Duration to timeout the stream if no speech begins. |
| 2582 |
SpeechStartTimeout *durationpb.Duration `protobuf:"bytes,1,opt,name=speech_start_timeout,json=speechStartTimeout,proto3" json:"speech_start_timeout,omitempty"` |
| 2583 |
// Duration to timeout the stream after speech ends. |
| 2584 |
SpeechEndTimeout *durationpb.Duration `protobuf:"bytes,2,opt,name=speech_end_timeout,json=speechEndTimeout,proto3" json:"speech_end_timeout,omitempty"` |
| 2585 |
} |
| 2586 |
|
| 2587 |
func (x *StreamingRecognitionConfig_VoiceActivityTimeout) Reset() { |
| 2588 |
*x = StreamingRecognitionConfig_VoiceActivityTimeout{} |
| 2589 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[19] |
| 2590 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2591 |
ms.StoreMessageInfo(mi) |
| 2592 |
} |
| 2593 |
|
| 2594 |
func (x *StreamingRecognitionConfig_VoiceActivityTimeout) String() string { |
| 2595 |
return protoimpl.X.MessageStringOf(x) |
| 2596 |
} |
| 2597 |
|
| 2598 |
func (*StreamingRecognitionConfig_VoiceActivityTimeout) ProtoMessage() {} |
| 2599 |
|
| 2600 |
func (x *StreamingRecognitionConfig_VoiceActivityTimeout) ProtoReflect() protoreflect.Message { |
| 2601 |
mi := &file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[19] |
| 2602 |
if x != nil { |
| 2603 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2604 |
if ms.LoadMessageInfo() == nil { |
| 2605 |
ms.StoreMessageInfo(mi) |
| 2606 |
} |
| 2607 |
return ms |
| 2608 |
} |
| 2609 |
return mi.MessageOf(x) |
| 2610 |
} |
| 2611 |
|
| 2612 |
// Deprecated: Use StreamingRecognitionConfig_VoiceActivityTimeout.ProtoReflect.Descriptor instead. |
| 2613 |
func (*StreamingRecognitionConfig_VoiceActivityTimeout) Descriptor() ([]byte, []int) { |
| 2614 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescGZIP(), []int{4, 0} |
| 2615 |
} |
| 2616 |
|
| 2617 |
func (x *StreamingRecognitionConfig_VoiceActivityTimeout) GetSpeechStartTimeout() *durationpb.Duration { |
| 2618 |
if x != nil { |
| 2619 |
return x.SpeechStartTimeout |
| 2620 |
} |
| 2621 |
return nil |
| 2622 |
} |
| 2623 |
|
| 2624 |
func (x *StreamingRecognitionConfig_VoiceActivityTimeout) GetSpeechEndTimeout() *durationpb.Duration { |
| 2625 |
if x != nil { |
| 2626 |
return x.SpeechEndTimeout |
| 2627 |
} |
| 2628 |
return nil |
| 2629 |
} |
| 2630 |
|
| 2631 |
var File_google_cloud_speech_v1p1beta1_cloud_speech_proto protoreflect.FileDescriptor |
| 2632 |
|
| 2633 |
var file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDesc = []byte{ |
| 2634 |
0x0a, 0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, |
| 2635 |
0x70, 0x65, 0x65, 0x63, 0x68, 0x2f, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, |
| 2636 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x70, 0x72, 0x6f, |
| 2637 |
0x74, 0x6f, 0x12, 0x1d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 2638 |
0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, |
| 2639 |
0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, |
| 2640 |
0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, |
| 2641 |
0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, |
| 2642 |
0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 2643 |
0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, |
| 2644 |
0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 2645 |
0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2f, 0x76, |
| 2646 |
0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, |
| 2647 |
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, |
| 2648 |
0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, |
| 2649 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, |
| 2650 |
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, |
| 2651 |
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, |
| 2652 |
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, |
| 2653 |
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, |
| 2654 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, |
| 2655 |
0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, |
| 2656 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, |
| 2657 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xad, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x63, 0x6f, 0x67, |
| 2658 |
0x6e, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4d, 0x0a, 0x06, 0x63, |
| 2659 |
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, |
| 2660 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, |
| 2661 |
0x68, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f, |
| 2662 |
0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, |
| 2663 |
0x41, 0x02, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4a, 0x0a, 0x05, 0x61, 0x75, |
| 2664 |
0x64, 0x69, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 2665 |
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, |
| 2666 |
0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, |
| 2667 |
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, |
| 2668 |
0x05, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x22, 0x99, 0x02, 0x0a, 0x1b, 0x4c, 0x6f, 0x6e, 0x67, 0x52, |
| 2669 |
0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x7a, 0x65, 0x52, |
| 2670 |
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4d, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, |
| 2671 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 2672 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x70, |
| 2673 |
0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, |
| 2674 |
0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x63, |
| 2675 |
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4a, 0x0a, 0x05, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x18, 0x02, |
| 2676 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 2677 |
0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, |
| 2678 |
0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, |
| 2679 |
0x41, 0x75, 0x64, 0x69, 0x6f, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x61, 0x75, 0x64, 0x69, |
| 2680 |
0x6f, 0x12, 0x5f, 0x0a, 0x0d, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, |
| 2681 |
0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 2682 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, |
| 2683 |
0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x63, 0x72, |
| 2684 |
0x69, 0x70, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, |
| 2685 |
0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, |
| 2686 |
0x69, 0x67, 0x22, 0x42, 0x0a, 0x16, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, |
| 2687 |
0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x19, 0x0a, 0x07, |
| 2688 |
0x67, 0x63, 0x73, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, |
| 2689 |
0x06, 0x67, 0x63, 0x73, 0x55, 0x72, 0x69, 0x42, 0x0d, 0x0a, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, |
| 2690 |
0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0xbf, 0x01, 0x0a, 0x19, 0x53, 0x74, 0x72, 0x65, 0x61, |
| 2691 |
0x6d, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, |
| 2692 |
0x75, 0x65, 0x73, 0x74, 0x12, 0x66, 0x0a, 0x10, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, |
| 2693 |
0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, |
| 2694 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, |
| 2695 |
0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, |
| 2696 |
0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, |
| 2697 |
0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0f, 0x73, 0x74, 0x72, |
| 2698 |
0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x25, 0x0a, 0x0d, |
| 2699 |
0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, |
| 2700 |
0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0c, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, |
| 2701 |
0x65, 0x6e, 0x74, 0x42, 0x13, 0x0a, 0x11, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, |
| 2702 |
0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xb6, 0x04, 0x0a, 0x1a, 0x53, 0x74, 0x72, |
| 2703 |
0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, |
| 2704 |
0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4d, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, |
| 2705 |
0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 2706 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, |
| 2707 |
0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, |
| 2708 |
0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, |
| 2709 |
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x29, 0x0a, 0x10, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, |
| 2710 |
0x5f, 0x75, 0x74, 0x74, 0x65, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, |
| 2711 |
0x52, 0x0f, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x55, 0x74, 0x74, 0x65, 0x72, 0x61, 0x6e, 0x63, |
| 2712 |
0x65, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x69, 0x6d, 0x5f, 0x72, 0x65, 0x73, |
| 2713 |
0x75, 0x6c, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x6e, 0x74, 0x65, |
| 2714 |
0x72, 0x69, 0x6d, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x3f, 0x0a, 0x1c, 0x65, 0x6e, |
| 2715 |
0x61, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, |
| 2716 |
0x69, 0x74, 0x79, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, |
| 2717 |
0x52, 0x19, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x41, 0x63, 0x74, |
| 2718 |
0x69, 0x76, 0x69, 0x74, 0x79, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x84, 0x01, 0x0a, 0x16, |
| 2719 |
0x76, 0x6f, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x74, |
| 2720 |
0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4e, 0x2e, 0x67, |
| 2721 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, |
| 2722 |
0x63, 0x68, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x72, |
| 2723 |
0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, |
| 2724 |
0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x41, 0x63, 0x74, |
| 2725 |
0x69, 0x76, 0x69, 0x74, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x52, 0x14, 0x76, 0x6f, |
| 2726 |
0x69, 0x63, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x6f, |
| 2727 |
0x75, 0x74, 0x1a, 0xac, 0x01, 0x0a, 0x14, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x41, 0x63, 0x74, 0x69, |
| 2728 |
0x76, 0x69, 0x74, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x4b, 0x0a, 0x14, 0x73, |
| 2729 |
0x70, 0x65, 0x65, 0x63, 0x68, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, |
| 2730 |
0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 2731 |
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, |
| 2732 |
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x53, 0x74, 0x61, 0x72, |
| 2733 |
0x74, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x47, 0x0a, 0x12, 0x73, 0x70, 0x65, 0x65, |
| 2734 |
0x63, 0x68, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, |
| 2735 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, |
| 2736 |
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, |
| 2737 |
0x10, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, |
| 2738 |
0x74, 0x22, 0xf9, 0x0c, 0x0a, 0x11, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, |
| 2739 |
0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x5a, 0x0a, 0x08, 0x65, 0x6e, 0x63, 0x6f, 0x64, |
| 2740 |
0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 2741 |
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, |
| 2742 |
0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, |
| 2743 |
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x41, 0x75, 0x64, 0x69, |
| 2744 |
0x6f, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x08, 0x65, 0x6e, 0x63, 0x6f, 0x64, |
| 2745 |
0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x72, 0x61, |
| 2746 |
0x74, 0x65, 0x5f, 0x68, 0x65, 0x72, 0x74, 0x7a, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, |
| 2747 |
0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x61, 0x74, 0x65, 0x48, 0x65, 0x72, 0x74, 0x7a, 0x12, |
| 2748 |
0x2e, 0x0a, 0x13, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, |
| 2749 |
0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x61, 0x75, |
| 2750 |
0x64, 0x69, 0x6f, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, |
| 2751 |
0x54, 0x0a, 0x27, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x70, 0x61, 0x72, 0x61, |
| 2752 |
0x74, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, |
| 2753 |
0x65, 0x72, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, |
| 2754 |
0x52, 0x23, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x70, 0x61, 0x72, 0x61, 0x74, 0x65, |
| 2755 |
0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x43, 0x68, |
| 2756 |
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x28, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, |
| 2757 |
0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, |
| 2758 |
0x02, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, |
| 2759 |
0x3c, 0x0a, 0x1a, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6c, |
| 2760 |
0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x12, 0x20, |
| 2761 |
0x03, 0x28, 0x09, 0x52, 0x18, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, |
| 2762 |
0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x29, 0x0a, |
| 2763 |
0x10, 0x6d, 0x61, 0x78, 0x5f, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, |
| 2764 |
0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x6d, 0x61, 0x78, 0x41, 0x6c, 0x74, 0x65, |
| 2765 |
0x72, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x66, |
| 2766 |
0x61, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, |
| 2767 |
0x28, 0x08, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x66, 0x61, 0x6e, 0x69, 0x74, 0x79, 0x46, 0x69, 0x6c, |
| 2768 |
0x74, 0x65, 0x72, 0x12, 0x4f, 0x0a, 0x0a, 0x61, 0x64, 0x61, 0x70, 0x74, 0x61, 0x74, 0x69, 0x6f, |
| 2769 |
0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 2770 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, |
| 2771 |
0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x41, 0x64, |
| 2772 |
0x61, 0x70, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x61, 0x64, 0x61, 0x70, 0x74, 0x61, |
| 2773 |
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x76, 0x0a, 0x18, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x63, 0x72, 0x69, |
| 2774 |
0x70, 0x74, 0x5f, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 2775 |
0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 2776 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x70, |
| 2777 |
0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x63, 0x72, 0x69, 0x70, |
| 2778 |
0x74, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, |
| 2779 |
0xe0, 0x41, 0x01, 0x52, 0x17, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x4e, |
| 2780 |
0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x55, 0x0a, 0x0f, |
| 2781 |
0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, |
| 2782 |
0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 2783 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x70, 0x31, |
| 2784 |
0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x74, |
| 2785 |
0x65, 0x78, 0x74, 0x52, 0x0e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, |
| 2786 |
0x78, 0x74, 0x73, 0x12, 0x37, 0x0a, 0x18, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x77, 0x6f, |
| 2787 |
0x72, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x73, 0x18, |
| 2788 |
0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x57, 0x6f, 0x72, |
| 2789 |
0x64, 0x54, 0x69, 0x6d, 0x65, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x73, 0x12, 0x34, 0x0a, 0x16, |
| 2790 |
0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x77, 0x6f, 0x72, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, |
| 2791 |
0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x65, 0x6e, |
| 2792 |
0x61, 0x62, 0x6c, 0x65, 0x57, 0x6f, 0x72, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, |
| 2793 |
0x63, 0x65, 0x12, 0x40, 0x0a, 0x1c, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x61, 0x75, 0x74, |
| 2794 |
0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x5f, 0x70, 0x75, 0x6e, 0x63, 0x74, 0x75, 0x61, 0x74, 0x69, |
| 2795 |
0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1a, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, |
| 2796 |
0x41, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x50, 0x75, 0x6e, 0x63, 0x74, 0x75, 0x61, |
| 2797 |
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x56, 0x0a, 0x19, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, |
| 2798 |
0x70, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x70, 0x75, 0x6e, 0x63, 0x74, 0x75, 0x61, 0x74, 0x69, 0x6f, |
| 2799 |
0x6e, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 2800 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, |
| 2801 |
0x6c, 0x75, 0x65, 0x52, 0x17, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x70, 0x6f, 0x6b, 0x65, |
| 2802 |
0x6e, 0x50, 0x75, 0x6e, 0x63, 0x74, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4c, 0x0a, 0x14, |
| 2803 |
0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x65, 0x6d, |
| 2804 |
0x6f, 0x6a, 0x69, 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, |
| 2805 |
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, |
| 2806 |
0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x12, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x70, |
| 2807 |
0x6f, 0x6b, 0x65, 0x6e, 0x45, 0x6d, 0x6f, 0x6a, 0x69, 0x73, 0x12, 0x40, 0x0a, 0x1a, 0x65, 0x6e, |
| 2808 |
0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x5f, 0x64, 0x69, 0x61, |
| 2809 |
0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, |
| 2810 |
0x18, 0x01, 0x52, 0x18, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x61, 0x6b, 0x65, |
| 2811 |
0x72, 0x44, 0x69, 0x61, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x0a, 0x19, |
| 2812 |
0x64, 0x69, 0x61, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x61, |
| 2813 |
0x6b, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x05, 0x42, |
| 2814 |
0x02, 0x18, 0x01, 0x52, 0x17, 0x64, 0x69, 0x61, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 2815 |
0x53, 0x70, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x66, 0x0a, 0x12, |
| 2816 |
0x64, 0x69, 0x61, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, |
| 2817 |
0x69, 0x67, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 2818 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, |
| 2819 |
0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x70, 0x65, 0x61, 0x6b, 0x65, 0x72, |
| 2820 |
0x44, 0x69, 0x61, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, |
| 2821 |
0x67, 0x52, 0x11, 0x64, 0x69, 0x61, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, |
| 2822 |
0x6e, 0x66, 0x69, 0x67, 0x12, 0x4e, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, |
| 2823 |
0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 2824 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x70, |
| 2825 |
0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, |
| 2826 |
0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, |
| 2827 |
0x64, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x0d, 0x20, |
| 2828 |
0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x75, 0x73, |
| 2829 |
0x65, 0x5f, 0x65, 0x6e, 0x68, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, |
| 2830 |
0x52, 0x0b, 0x75, 0x73, 0x65, 0x45, 0x6e, 0x68, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x22, 0xad, 0x01, |
| 2831 |
0x0a, 0x0d, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, |
| 2832 |
0x18, 0x0a, 0x14, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x55, 0x4e, 0x53, 0x50, |
| 2833 |
0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x4c, 0x49, 0x4e, |
| 2834 |
0x45, 0x41, 0x52, 0x31, 0x36, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x4c, 0x41, 0x43, 0x10, |
| 2835 |
0x02, 0x12, 0x09, 0x0a, 0x05, 0x4d, 0x55, 0x4c, 0x41, 0x57, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, |
| 2836 |
0x41, 0x4d, 0x52, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x4d, 0x52, 0x5f, 0x57, 0x42, 0x10, |
| 2837 |
0x05, 0x12, 0x0c, 0x0a, 0x08, 0x4f, 0x47, 0x47, 0x5f, 0x4f, 0x50, 0x55, 0x53, 0x10, 0x06, 0x12, |
| 2838 |
0x1a, 0x0a, 0x16, 0x53, 0x50, 0x45, 0x45, 0x58, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x48, 0x45, |
| 2839 |
0x41, 0x44, 0x45, 0x52, 0x5f, 0x42, 0x59, 0x54, 0x45, 0x10, 0x07, 0x12, 0x07, 0x0a, 0x03, 0x4d, |
| 2840 |
0x50, 0x33, 0x10, 0x08, 0x12, 0x0d, 0x0a, 0x09, 0x57, 0x45, 0x42, 0x4d, 0x5f, 0x4f, 0x50, 0x55, |
| 2841 |
0x53, 0x10, 0x09, 0x12, 0x08, 0x0a, 0x04, 0x41, 0x4c, 0x41, 0x57, 0x10, 0x0a, 0x22, 0xd8, 0x01, |
| 2842 |
0x0a, 0x18, 0x53, 0x70, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x44, 0x69, 0x61, 0x72, 0x69, 0x7a, 0x61, |
| 2843 |
0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3c, 0x0a, 0x1a, 0x65, 0x6e, |
| 2844 |
0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x5f, 0x64, 0x69, 0x61, |
| 2845 |
0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, |
| 2846 |
0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x44, 0x69, 0x61, |
| 2847 |
0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x69, 0x6e, 0x5f, |
| 2848 |
0x73, 0x70, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, |
| 2849 |
0x01, 0x28, 0x05, 0x52, 0x0f, 0x6d, 0x69, 0x6e, 0x53, 0x70, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x43, |
| 2850 |
0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x70, 0x65, 0x61, |
| 2851 |
0x6b, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, |
| 2852 |
0x0f, 0x6d, 0x61, 0x78, 0x53, 0x70, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, |
| 2853 |
0x12, 0x26, 0x0a, 0x0b, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x67, 0x18, |
| 2854 |
0x05, 0x20, 0x01, 0x28, 0x05, 0x42, 0x05, 0xe0, 0x41, 0x03, 0x18, 0x01, 0x52, 0x0a, 0x73, 0x70, |
| 2855 |
0x65, 0x61, 0x6b, 0x65, 0x72, 0x54, 0x61, 0x67, 0x22, 0x83, 0x0a, 0x0a, 0x13, 0x52, 0x65, 0x63, |
| 2856 |
0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, |
| 2857 |
0x12, 0x6d, 0x0a, 0x10, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, |
| 2858 |
0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x42, 0x2e, 0x67, 0x6f, 0x6f, |
| 2859 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, |
| 2860 |
0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x67, |
| 2861 |
0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x49, |
| 2862 |
0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0f, |
| 2863 |
0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, |
| 2864 |
0x3e, 0x0a, 0x1c, 0x69, 0x6e, 0x64, 0x75, 0x73, 0x74, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x69, 0x63, |
| 2865 |
0x73, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x6f, 0x66, 0x5f, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x18, |
| 2866 |
0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x18, 0x69, 0x6e, 0x64, 0x75, 0x73, 0x74, 0x72, 0x79, 0x4e, |
| 2867 |
0x61, 0x69, 0x63, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x4f, 0x66, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x12, |
| 2868 |
0x76, 0x0a, 0x13, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x64, 0x69, |
| 2869 |
0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x45, 0x2e, 0x67, |
| 2870 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, |
| 2871 |
0x63, 0x68, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x63, |
| 2872 |
0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, |
| 2873 |
0x2e, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x44, 0x69, 0x73, 0x74, 0x61, |
| 2874 |
0x6e, 0x63, 0x65, 0x52, 0x12, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x44, |
| 2875 |
0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x74, 0x0a, 0x13, 0x6f, 0x72, 0x69, 0x67, 0x69, |
| 2876 |
0x6e, 0x61, 0x6c, 0x5f, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, |
| 2877 |
0x20, 0x01, 0x28, 0x0e, 0x32, 0x44, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 2878 |
0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, |
| 2879 |
0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, |
| 2880 |
0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, |
| 2881 |
0x6c, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x11, 0x6f, 0x72, 0x69, 0x67, |
| 2882 |
0x69, 0x6e, 0x61, 0x6c, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x7a, 0x0a, |
| 2883 |
0x15, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x76, 0x69, 0x63, |
| 2884 |
0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x46, 0x2e, 0x67, |
| 2885 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, |
| 2886 |
0x63, 0x68, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x63, |
| 2887 |
0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, |
| 2888 |
0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, |
| 2889 |
0x54, 0x79, 0x70, 0x65, 0x52, 0x13, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x44, |
| 2890 |
0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x32, 0x0a, 0x15, 0x72, 0x65, 0x63, |
| 2891 |
0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, |
| 2892 |
0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, |
| 2893 |
0x69, 0x6e, 0x67, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, |
| 2894 |
0x12, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, |
| 2895 |
0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6f, 0x72, 0x69, 0x67, 0x69, |
| 2896 |
0x6e, 0x61, 0x6c, 0x4d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0d, 0x6f, |
| 2897 |
0x62, 0x66, 0x75, 0x73, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, |
| 2898 |
0x28, 0x03, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0c, 0x6f, 0x62, 0x66, 0x75, 0x73, 0x63, 0x61, 0x74, |
| 2899 |
0x65, 0x64, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x74, 0x6f, |
| 2900 |
0x70, 0x69, 0x63, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x75, 0x64, 0x69, 0x6f, |
| 2901 |
0x54, 0x6f, 0x70, 0x69, 0x63, 0x22, 0xc5, 0x01, 0x0a, 0x0f, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, |
| 2902 |
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x1c, 0x49, 0x4e, 0x54, |
| 2903 |
0x45, 0x52, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, |
| 2904 |
0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x44, |
| 2905 |
0x49, 0x53, 0x43, 0x55, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x50, |
| 2906 |
0x52, 0x45, 0x53, 0x45, 0x4e, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x02, 0x12, 0x0e, 0x0a, |
| 2907 |
0x0a, 0x50, 0x48, 0x4f, 0x4e, 0x45, 0x5f, 0x43, 0x41, 0x4c, 0x4c, 0x10, 0x03, 0x12, 0x0d, 0x0a, |
| 2908 |
0x09, 0x56, 0x4f, 0x49, 0x43, 0x45, 0x4d, 0x41, 0x49, 0x4c, 0x10, 0x04, 0x12, 0x1b, 0x0a, 0x17, |
| 2909 |
0x50, 0x52, 0x4f, 0x46, 0x45, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x4c, 0x59, 0x5f, 0x50, |
| 2910 |
0x52, 0x4f, 0x44, 0x55, 0x43, 0x45, 0x44, 0x10, 0x05, 0x12, 0x10, 0x0a, 0x0c, 0x56, 0x4f, 0x49, |
| 2911 |
0x43, 0x45, 0x5f, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x10, 0x06, 0x12, 0x11, 0x0a, 0x0d, 0x56, |
| 2912 |
0x4f, 0x49, 0x43, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x41, 0x4e, 0x44, 0x10, 0x07, 0x12, 0x0d, |
| 2913 |
0x0a, 0x09, 0x44, 0x49, 0x43, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x08, 0x22, 0x64, 0x0a, |
| 2914 |
0x12, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x44, 0x69, 0x73, 0x74, 0x61, |
| 2915 |
0x6e, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x1f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x50, 0x48, 0x4f, 0x4e, |
| 2916 |
0x45, 0x5f, 0x44, 0x49, 0x53, 0x54, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, |
| 2917 |
0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x45, 0x41, 0x52, |
| 2918 |
0x46, 0x49, 0x45, 0x4c, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x4d, 0x49, 0x44, 0x46, 0x49, |
| 2919 |
0x45, 0x4c, 0x44, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x41, 0x52, 0x46, 0x49, 0x45, 0x4c, |
| 2920 |
0x44, 0x10, 0x03, 0x22, 0x4e, 0x0a, 0x11, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x4d, |
| 2921 |
0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x1f, 0x4f, 0x52, 0x49, 0x47, |
| 2922 |
0x49, 0x4e, 0x41, 0x4c, 0x5f, 0x4d, 0x45, 0x44, 0x49, 0x41, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, |
| 2923 |
0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, |
| 2924 |
0x05, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x56, 0x49, 0x44, 0x45, |
| 2925 |
0x4f, 0x10, 0x02, 0x22, 0xa4, 0x01, 0x0a, 0x13, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x69, 0x6e, |
| 2926 |
0x67, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x21, 0x52, |
| 2927 |
0x45, 0x43, 0x4f, 0x52, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x44, 0x45, 0x56, 0x49, 0x43, 0x45, 0x5f, |
| 2928 |
0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, |
| 2929 |
0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x4d, 0x41, 0x52, 0x54, 0x50, 0x48, 0x4f, 0x4e, 0x45, |
| 2930 |
0x10, 0x01, 0x12, 0x06, 0x0a, 0x02, 0x50, 0x43, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x48, |
| 2931 |
0x4f, 0x4e, 0x45, 0x5f, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x56, 0x45, |
| 2932 |
0x48, 0x49, 0x43, 0x4c, 0x45, 0x10, 0x04, 0x12, 0x18, 0x0a, 0x14, 0x4f, 0x54, 0x48, 0x45, 0x52, |
| 2933 |
0x5f, 0x4f, 0x55, 0x54, 0x44, 0x4f, 0x4f, 0x52, 0x5f, 0x44, 0x45, 0x56, 0x49, 0x43, 0x45, 0x10, |
| 2934 |
0x05, 0x12, 0x17, 0x0a, 0x13, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x49, 0x4e, 0x44, 0x4f, 0x4f, |
| 2935 |
0x52, 0x5f, 0x44, 0x45, 0x56, 0x49, 0x43, 0x45, 0x10, 0x06, 0x3a, 0x02, 0x18, 0x01, 0x22, 0x3f, |
| 2936 |
0x0a, 0x0d, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, |
| 2937 |
0x18, 0x0a, 0x07, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, |
| 2938 |
0x52, 0x07, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x6f, 0x6f, |
| 2939 |
0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x62, 0x6f, 0x6f, 0x73, 0x74, 0x22, |
| 2940 |
0x52, 0x0a, 0x10, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, |
| 2941 |
0x64, 0x69, 0x6f, 0x12, 0x1a, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, |
| 2942 |
0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, |
| 2943 |
0x12, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, |
| 2944 |
0x75, 0x72, 0x69, 0x42, 0x0e, 0x0a, 0x0c, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x73, 0x6f, 0x75, |
| 2945 |
0x72, 0x63, 0x65, 0x22, 0xe6, 0x02, 0x0a, 0x11, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x7a, |
| 2946 |
0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x07, 0x72, 0x65, 0x73, |
| 2947 |
0x75, 0x6c, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, |
| 2948 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, |
| 2949 |
0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x70, 0x65, 0x65, 0x63, |
| 2950 |
0x68, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, |
| 2951 |
0x6c, 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x45, 0x0a, 0x11, 0x74, |
| 2952 |
0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x62, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, |
| 2953 |
0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 2954 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, |
| 2955 |
0x6e, 0x52, 0x0f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x42, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x54, 0x69, |
| 2956 |
0x6d, 0x65, 0x12, 0x69, 0x0a, 0x16, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x5f, 0x61, 0x64, 0x61, |
| 2957 |
0x70, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, |
| 2958 |
0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 2959 |
0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, |
| 2960 |
0x61, 0x31, 0x2e, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x41, 0x64, 0x61, 0x70, 0x74, 0x61, 0x74, |
| 2961 |
0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x14, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x41, |
| 2962 |
0x64, 0x61, 0x70, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, |
| 2963 |
0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, |
| 2964 |
0x03, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x13, |
| 2965 |
0x75, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x6d, 0x6f, 0x64, |
| 2966 |
0x65, 0x6c, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x75, 0x73, 0x69, 0x6e, 0x67, |
| 2967 |
0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x22, 0xd4, 0x03, 0x0a, |
| 2968 |
0x1c, 0x4c, 0x6f, 0x6e, 0x67, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, |
| 2969 |
0x67, 0x6e, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, |
| 2970 |
0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, |
| 2971 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, |
| 2972 |
0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, |
| 2973 |
0x70, 0x65, 0x65, 0x63, 0x68, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, |
| 2974 |
0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, |
| 2975 |
0x45, 0x0a, 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x62, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x5f, |
| 2976 |
0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, |
| 2977 |
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, |
| 2978 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x42, 0x69, 0x6c, 0x6c, |
| 2979 |
0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x5a, 0x0a, 0x0d, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, |
| 2980 |
0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, |
| 2981 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, |
| 2982 |
0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x72, |
| 2983 |
0x61, 0x6e, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, |
| 2984 |
0x6e, 0x66, 0x69, 0x67, 0x52, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, |
| 2985 |
0x69, 0x67, 0x12, 0x35, 0x0a, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x65, 0x72, 0x72, |
| 2986 |
0x6f, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 2987 |
0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0b, 0x6f, 0x75, |
| 2988 |
0x74, 0x70, 0x75, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x69, 0x0a, 0x16, 0x73, 0x70, 0x65, |
| 2989 |
0x65, 0x63, 0x68, 0x5f, 0x61, 0x64, 0x61, 0x70, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, |
| 2990 |
0x6e, 0x66, 0x6f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 2991 |
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, |
| 2992 |
0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, |
| 2993 |
0x41, 0x64, 0x61, 0x70, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x14, |
| 2994 |
0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x41, 0x64, 0x61, 0x70, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 2995 |
0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, |
| 2996 |
0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, |
| 2997 |
0x74, 0x49, 0x64, 0x22, 0xc2, 0x02, 0x0a, 0x1c, 0x4c, 0x6f, 0x6e, 0x67, 0x52, 0x75, 0x6e, 0x6e, |
| 2998 |
0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x7a, 0x65, 0x4d, 0x65, 0x74, 0x61, |
| 2999 |
0x64, 0x61, 0x74, 0x61, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, |
| 3000 |
0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, |
| 3001 |
0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x12, |
| 3002 |
0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, |
| 3003 |
0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, |
| 3004 |
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, |
| 3005 |
0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x10, 0x6c, 0x61, |
| 3006 |
0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, |
| 3007 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, |
| 3008 |
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, |
| 3009 |
0x52, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, |
| 3010 |
0x12, 0x15, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, |
| 3011 |
0x41, 0x03, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x5f, 0x0a, 0x0d, 0x6f, 0x75, 0x74, 0x70, 0x75, |
| 3012 |
0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, |
| 3013 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, |
| 3014 |
0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, |
| 3015 |
0x72, 0x61, 0x6e, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, |
| 3016 |
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x6f, 0x75, 0x74, 0x70, |
| 3017 |
0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xca, 0x05, 0x0a, 0x1a, 0x53, 0x74, 0x72, |
| 3018 |
0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x7a, 0x65, 0x52, |
| 3019 |
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, |
| 3020 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 3021 |
0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, |
| 3022 |
0x72, 0x12, 0x53, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, |
| 3023 |
0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 3024 |
0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, |
| 3025 |
0x61, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, |
| 3026 |
0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72, |
| 3027 |
0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x75, 0x0a, 0x11, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, |
| 3028 |
0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, |
| 3029 |
0x0e, 0x32, 0x49, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 3030 |
0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, |
| 3031 |
0x31, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x67, |
| 3032 |
0x6e, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x70, 0x65, |
| 3033 |
0x65, 0x63, 0x68, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0f, 0x73, 0x70, |
| 3034 |
0x65, 0x65, 0x63, 0x68, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x45, 0x0a, |
| 3035 |
0x11, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x69, |
| 3036 |
0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 3037 |
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, |
| 3038 |
0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x45, 0x76, 0x65, 0x6e, 0x74, |
| 3039 |
0x54, 0x69, 0x6d, 0x65, 0x12, 0x45, 0x0a, 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x62, 0x69, |
| 3040 |
0x6c, 0x6c, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 3041 |
0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, |
| 3042 |
0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x74, 0x6f, 0x74, 0x61, |
| 3043 |
0x6c, 0x42, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x69, 0x0a, 0x16, 0x73, |
| 3044 |
0x70, 0x65, 0x65, 0x63, 0x68, 0x5f, 0x61, 0x64, 0x61, 0x70, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 3045 |
0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, |
| 3046 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, |
| 3047 |
0x68, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x70, 0x65, 0x65, |
| 3048 |
0x63, 0x68, 0x41, 0x64, 0x61, 0x70, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, |
| 3049 |
0x52, 0x14, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x41, 0x64, 0x61, 0x70, 0x74, 0x61, 0x74, 0x69, |
| 3050 |
0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, |
| 3051 |
0x74, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, |
| 3052 |
0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x9d, 0x01, 0x0a, 0x0f, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, |
| 3053 |
0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x50, 0x45, |
| 3054 |
0x45, 0x43, 0x48, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, |
| 3055 |
0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x45, 0x4e, 0x44, 0x5f, 0x4f, |
| 3056 |
0x46, 0x5f, 0x53, 0x49, 0x4e, 0x47, 0x4c, 0x45, 0x5f, 0x55, 0x54, 0x54, 0x45, 0x52, 0x41, 0x4e, |
| 3057 |
0x43, 0x45, 0x10, 0x01, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x50, 0x45, 0x45, 0x43, 0x48, 0x5f, 0x41, |
| 3058 |
0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x5f, 0x42, 0x45, 0x47, 0x49, 0x4e, 0x10, 0x02, 0x12, |
| 3059 |
0x17, 0x0a, 0x13, 0x53, 0x50, 0x45, 0x45, 0x43, 0x48, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, |
| 3060 |
0x54, 0x59, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x03, 0x12, 0x1b, 0x0a, 0x17, 0x53, 0x50, 0x45, 0x45, |
| 3061 |
0x43, 0x48, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x5f, 0x54, 0x49, 0x4d, 0x45, |
| 3062 |
0x4f, 0x55, 0x54, 0x10, 0x04, 0x22, 0xc4, 0x02, 0x0a, 0x1a, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, |
| 3063 |
0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, |
| 3064 |
0x73, 0x75, 0x6c, 0x74, 0x12, 0x5f, 0x0a, 0x0c, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, |
| 3065 |
0x69, 0x76, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, |
| 3066 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, |
| 3067 |
0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x70, 0x65, 0x65, 0x63, |
| 3068 |
0x68, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6c, 0x74, 0x65, |
| 3069 |
0x72, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x52, 0x0c, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, |
| 3070 |
0x74, 0x69, 0x76, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x66, 0x69, 0x6e, 0x61, |
| 3071 |
0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x46, 0x69, 0x6e, 0x61, 0x6c, |
| 3072 |
0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, |
| 3073 |
0x01, 0x28, 0x02, 0x52, 0x09, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x41, |
| 3074 |
0x0a, 0x0f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, |
| 3075 |
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 3076 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, |
| 3077 |
0x6f, 0x6e, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, |
| 3078 |
0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x74, 0x61, 0x67, |
| 3079 |
0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x54, |
| 3080 |
0x61, 0x67, 0x12, 0x28, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, |
| 3081 |
0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, |
| 3082 |
0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x88, 0x02, 0x0a, |
| 3083 |
0x17, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, |
| 3084 |
0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x5f, 0x0a, 0x0c, 0x61, 0x6c, 0x74, 0x65, |
| 3085 |
0x72, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, |
| 3086 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, |
| 3087 |
0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, |
| 3088 |
0x70, 0x65, 0x65, 0x63, 0x68, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, |
| 3089 |
0x41, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x52, 0x0c, 0x61, 0x6c, 0x74, |
| 3090 |
0x65, 0x72, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x68, 0x61, |
| 3091 |
0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, |
| 3092 |
0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x54, 0x61, 0x67, 0x12, 0x41, 0x0a, 0x0f, 0x72, 0x65, |
| 3093 |
0x73, 0x75, 0x6c, 0x74, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, |
| 3094 |
0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, |
| 3095 |
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, |
| 3096 |
0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x28, 0x0a, |
| 3097 |
0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, |
| 3098 |
0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, |
| 3099 |
0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x9d, 0x01, 0x0a, 0x1c, 0x53, 0x70, 0x65, 0x65, |
| 3100 |
0x63, 0x68, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6c, 0x74, |
| 3101 |
0x65, 0x72, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x72, 0x61, 0x6e, |
| 3102 |
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x72, |
| 3103 |
0x61, 0x6e, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, |
| 3104 |
0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x63, 0x6f, |
| 3105 |
0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x3d, 0x0a, 0x05, 0x77, 0x6f, 0x72, 0x64, |
| 3106 |
0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 3107 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, |
| 3108 |
0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x57, 0x6f, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, |
| 3109 |
0x52, 0x05, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x22, 0x80, 0x02, 0x0a, 0x08, 0x57, 0x6f, 0x72, 0x64, |
| 3110 |
0x49, 0x6e, 0x66, 0x6f, 0x12, 0x38, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, |
| 3111 |
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 3112 |
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, |
| 3113 |
0x69, 0x6f, 0x6e, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x34, |
| 3114 |
0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, |
| 3115 |
0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
| 3116 |
0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x65, 0x6e, 0x64, |
| 3117 |
0x54, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, |
| 3118 |
0x28, 0x09, 0x52, 0x04, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, |
| 3119 |
0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x63, 0x6f, |
| 3120 |
0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x26, 0x0a, 0x0b, 0x73, 0x70, 0x65, 0x61, |
| 3121 |
0x6b, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x42, 0x05, 0xe0, |
| 3122 |
0x41, 0x03, 0x18, 0x01, 0x52, 0x0a, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x54, 0x61, 0x67, |
| 3123 |
0x12, 0x28, 0x0a, 0x0d, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x5f, 0x6c, 0x61, 0x62, 0x65, |
| 3124 |
0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x73, 0x70, |
| 3125 |
0x65, 0x61, 0x6b, 0x65, 0x72, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x22, 0x6e, 0x0a, 0x14, 0x53, 0x70, |
| 3126 |
0x65, 0x65, 0x63, 0x68, 0x41, 0x64, 0x61, 0x70, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, |
| 3127 |
0x66, 0x6f, 0x12, 0x2d, 0x0a, 0x12, 0x61, 0x64, 0x61, 0x70, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 3128 |
0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, |
| 3129 |
0x61, 0x64, 0x61, 0x70, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, |
| 3130 |
0x74, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x5f, 0x6d, 0x65, 0x73, |
| 3131 |
0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x69, 0x6d, 0x65, |
| 3132 |
0x6f, 0x75, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x82, 0x05, 0x0a, 0x06, 0x53, |
| 3133 |
0x70, 0x65, 0x65, 0x63, 0x68, 0x12, 0xa5, 0x01, 0x0a, 0x09, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, |
| 3134 |
0x69, 0x7a, 0x65, 0x12, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 3135 |
0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, |
| 3136 |
0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, |
| 3137 |
0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 3138 |
0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, |
| 3139 |
0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x7a, 0x65, 0x52, 0x65, |
| 3140 |
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x35, 0xda, 0x41, 0x0c, 0x63, 0x6f, 0x6e, 0x66, 0x69, |
| 3141 |
0x67, 0x2c, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x3a, 0x01, 0x2a, |
| 3142 |
0x22, 0x1b, 0x2f, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x70, 0x65, |
| 3143 |
0x65, 0x63, 0x68, 0x3a, 0x72, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x7a, 0x65, 0x12, 0xf2, 0x01, |
| 3144 |
0x0a, 0x14, 0x4c, 0x6f, 0x6e, 0x67, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, |
| 3145 |
0x6f, 0x67, 0x6e, 0x69, 0x7a, 0x65, 0x12, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 3146 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x70, |
| 3147 |
0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x6f, 0x6e, 0x67, 0x52, 0x75, 0x6e, 0x6e, 0x69, |
| 3148 |
0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, |
| 3149 |
0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, |
| 3150 |
0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, |
| 3151 |
0x6e, 0x22, 0x7f, 0xca, 0x41, 0x3c, 0x0a, 0x1c, 0x4c, 0x6f, 0x6e, 0x67, 0x52, 0x75, 0x6e, 0x6e, |
| 3152 |
0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, |
| 3153 |
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x4c, 0x6f, 0x6e, 0x67, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, |
| 3154 |
0x67, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x7a, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, |
| 3155 |
0x74, 0x61, 0xda, 0x41, 0x0c, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2c, 0x61, 0x75, 0x64, 0x69, |
| 3156 |
0x6f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x3a, 0x01, 0x2a, 0x22, 0x26, 0x2f, 0x76, 0x31, 0x70, |
| 3157 |
0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x3a, 0x6c, 0x6f, |
| 3158 |
0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, |
| 3159 |
0x7a, 0x65, 0x12, 0x8f, 0x01, 0x0a, 0x12, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, |
| 3160 |
0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x7a, 0x65, 0x12, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 3161 |
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, |
| 3162 |
0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, |
| 3163 |
0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, |
| 3164 |
0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 3165 |
0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, |
| 3166 |
0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, |
| 3167 |
0x6f, 0x67, 0x6e, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, |
| 3168 |
0x28, 0x01, 0x30, 0x01, 0x1a, 0x49, 0xca, 0x41, 0x15, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, |
| 3169 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, |
| 3170 |
0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, |
| 3171 |
0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, |
| 3172 |
0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, |
| 3173 |
0x73, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 3174 |
0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, |
| 3175 |
0x65, 0x74, 0x61, 0x31, 0x42, 0x0b, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x74, |
| 3176 |
0x6f, 0x50, 0x01, 0x5a, 0x39, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 3177 |
0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2f, |
| 3178 |
0x61, 0x70, 0x69, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x70, 0x65, |
| 3179 |
0x65, 0x63, 0x68, 0x70, 0x62, 0x3b, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x70, 0x62, 0xa2, 0x02, |
| 3180 |
0x03, 0x47, 0x43, 0x53, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 3181 |
} |
| 3182 |
|
| 3183 |
var ( |
| 3184 |
file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescOnce sync.Once |
| 3185 |
file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescData = file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDesc |
| 3186 |
) |
| 3187 |
|
| 3188 |
func file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescGZIP() []byte { |
| 3189 |
file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescOnce.Do(func() { |
| 3190 |
file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescData) |
| 3191 |
}) |
| 3192 |
return file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDescData |
| 3193 |
} |
| 3194 |
|
| 3195 |
var file_google_cloud_speech_v1p1beta1_cloud_speech_proto_enumTypes = make([]protoimpl.EnumInfo, 6) |
| 3196 |
var file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes = make([]protoimpl.MessageInfo, 20) |
| 3197 |
var file_google_cloud_speech_v1p1beta1_cloud_speech_proto_goTypes = []any{ |
| 3198 |
(RecognitionConfig_AudioEncoding)(0), // 0: google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding |
| 3199 |
(RecognitionMetadata_InteractionType)(0), // 1: google.cloud.speech.v1p1beta1.RecognitionMetadata.InteractionType |
| 3200 |
(RecognitionMetadata_MicrophoneDistance)(0), // 2: google.cloud.speech.v1p1beta1.RecognitionMetadata.MicrophoneDistance |
| 3201 |
(RecognitionMetadata_OriginalMediaType)(0), // 3: google.cloud.speech.v1p1beta1.RecognitionMetadata.OriginalMediaType |
| 3202 |
(RecognitionMetadata_RecordingDeviceType)(0), // 4: google.cloud.speech.v1p1beta1.RecognitionMetadata.RecordingDeviceType |
| 3203 |
(StreamingRecognizeResponse_SpeechEventType)(0), // 5: google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType |
| 3204 |
(*RecognizeRequest)(nil), // 6: google.cloud.speech.v1p1beta1.RecognizeRequest |
| 3205 |
(*LongRunningRecognizeRequest)(nil), // 7: google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest |
| 3206 |
(*TranscriptOutputConfig)(nil), // 8: google.cloud.speech.v1p1beta1.TranscriptOutputConfig |
| 3207 |
(*StreamingRecognizeRequest)(nil), // 9: google.cloud.speech.v1p1beta1.StreamingRecognizeRequest |
| 3208 |
(*StreamingRecognitionConfig)(nil), // 10: google.cloud.speech.v1p1beta1.StreamingRecognitionConfig |
| 3209 |
(*RecognitionConfig)(nil), // 11: google.cloud.speech.v1p1beta1.RecognitionConfig |
| 3210 |
(*SpeakerDiarizationConfig)(nil), // 12: google.cloud.speech.v1p1beta1.SpeakerDiarizationConfig |
| 3211 |
(*RecognitionMetadata)(nil), // 13: google.cloud.speech.v1p1beta1.RecognitionMetadata |
| 3212 |
(*SpeechContext)(nil), // 14: google.cloud.speech.v1p1beta1.SpeechContext |
| 3213 |
(*RecognitionAudio)(nil), // 15: google.cloud.speech.v1p1beta1.RecognitionAudio |
| 3214 |
(*RecognizeResponse)(nil), // 16: google.cloud.speech.v1p1beta1.RecognizeResponse |
| 3215 |
(*LongRunningRecognizeResponse)(nil), // 17: google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse |
| 3216 |
(*LongRunningRecognizeMetadata)(nil), // 18: google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata |
| 3217 |
(*StreamingRecognizeResponse)(nil), // 19: google.cloud.speech.v1p1beta1.StreamingRecognizeResponse |
| 3218 |
(*StreamingRecognitionResult)(nil), // 20: google.cloud.speech.v1p1beta1.StreamingRecognitionResult |
| 3219 |
(*SpeechRecognitionResult)(nil), // 21: google.cloud.speech.v1p1beta1.SpeechRecognitionResult |
| 3220 |
(*SpeechRecognitionAlternative)(nil), // 22: google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative |
| 3221 |
(*WordInfo)(nil), // 23: google.cloud.speech.v1p1beta1.WordInfo |
| 3222 |
(*SpeechAdaptationInfo)(nil), // 24: google.cloud.speech.v1p1beta1.SpeechAdaptationInfo |
| 3223 |
(*StreamingRecognitionConfig_VoiceActivityTimeout)(nil), // 25: google.cloud.speech.v1p1beta1.StreamingRecognitionConfig.VoiceActivityTimeout |
| 3224 |
(*SpeechAdaptation)(nil), // 26: google.cloud.speech.v1p1beta1.SpeechAdaptation |
| 3225 |
(*TranscriptNormalization)(nil), // 27: google.cloud.speech.v1p1beta1.TranscriptNormalization |
| 3226 |
(*wrapperspb.BoolValue)(nil), // 28: google.protobuf.BoolValue |
| 3227 |
(*durationpb.Duration)(nil), // 29: google.protobuf.Duration |
| 3228 |
(*status.Status)(nil), // 30: google.rpc.Status |
| 3229 |
(*timestamppb.Timestamp)(nil), // 31: google.protobuf.Timestamp |
| 3230 |
(*longrunningpb.Operation)(nil), // 32: google.longrunning.Operation |
| 3231 |
} |
| 3232 |
var file_google_cloud_speech_v1p1beta1_cloud_speech_proto_depIdxs = []int32{ |
| 3233 |
11, // 0: google.cloud.speech.v1p1beta1.RecognizeRequest.config:type_name -> google.cloud.speech.v1p1beta1.RecognitionConfig |
| 3234 |
15, // 1: google.cloud.speech.v1p1beta1.RecognizeRequest.audio:type_name -> google.cloud.speech.v1p1beta1.RecognitionAudio |
| 3235 |
11, // 2: google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest.config:type_name -> google.cloud.speech.v1p1beta1.RecognitionConfig |
| 3236 |
15, // 3: google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest.audio:type_name -> google.cloud.speech.v1p1beta1.RecognitionAudio |
| 3237 |
8, // 4: google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest.output_config:type_name -> google.cloud.speech.v1p1beta1.TranscriptOutputConfig |
| 3238 |
10, // 5: google.cloud.speech.v1p1beta1.StreamingRecognizeRequest.streaming_config:type_name -> google.cloud.speech.v1p1beta1.StreamingRecognitionConfig |
| 3239 |
11, // 6: google.cloud.speech.v1p1beta1.StreamingRecognitionConfig.config:type_name -> google.cloud.speech.v1p1beta1.RecognitionConfig |
| 3240 |
25, // 7: google.cloud.speech.v1p1beta1.StreamingRecognitionConfig.voice_activity_timeout:type_name -> google.cloud.speech.v1p1beta1.StreamingRecognitionConfig.VoiceActivityTimeout |
| 3241 |
0, // 8: google.cloud.speech.v1p1beta1.RecognitionConfig.encoding:type_name -> google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding |
| 3242 |
26, // 9: google.cloud.speech.v1p1beta1.RecognitionConfig.adaptation:type_name -> google.cloud.speech.v1p1beta1.SpeechAdaptation |
| 3243 |
27, // 10: google.cloud.speech.v1p1beta1.RecognitionConfig.transcript_normalization:type_name -> google.cloud.speech.v1p1beta1.TranscriptNormalization |
| 3244 |
14, // 11: google.cloud.speech.v1p1beta1.RecognitionConfig.speech_contexts:type_name -> google.cloud.speech.v1p1beta1.SpeechContext |
| 3245 |
28, // 12: google.cloud.speech.v1p1beta1.RecognitionConfig.enable_spoken_punctuation:type_name -> google.protobuf.BoolValue |
| 3246 |
28, // 13: google.cloud.speech.v1p1beta1.RecognitionConfig.enable_spoken_emojis:type_name -> google.protobuf.BoolValue |
| 3247 |
12, // 14: google.cloud.speech.v1p1beta1.RecognitionConfig.diarization_config:type_name -> google.cloud.speech.v1p1beta1.SpeakerDiarizationConfig |
| 3248 |
13, // 15: google.cloud.speech.v1p1beta1.RecognitionConfig.metadata:type_name -> google.cloud.speech.v1p1beta1.RecognitionMetadata |
| 3249 |
1, // 16: google.cloud.speech.v1p1beta1.RecognitionMetadata.interaction_type:type_name -> google.cloud.speech.v1p1beta1.RecognitionMetadata.InteractionType |
| 3250 |
2, // 17: google.cloud.speech.v1p1beta1.RecognitionMetadata.microphone_distance:type_name -> google.cloud.speech.v1p1beta1.RecognitionMetadata.MicrophoneDistance |
| 3251 |
3, // 18: google.cloud.speech.v1p1beta1.RecognitionMetadata.original_media_type:type_name -> google.cloud.speech.v1p1beta1.RecognitionMetadata.OriginalMediaType |
| 3252 |
4, // 19: google.cloud.speech.v1p1beta1.RecognitionMetadata.recording_device_type:type_name -> google.cloud.speech.v1p1beta1.RecognitionMetadata.RecordingDeviceType |
| 3253 |
21, // 20: google.cloud.speech.v1p1beta1.RecognizeResponse.results:type_name -> google.cloud.speech.v1p1beta1.SpeechRecognitionResult |
| 3254 |
29, // 21: google.cloud.speech.v1p1beta1.RecognizeResponse.total_billed_time:type_name -> google.protobuf.Duration |
| 3255 |
24, // 22: google.cloud.speech.v1p1beta1.RecognizeResponse.speech_adaptation_info:type_name -> google.cloud.speech.v1p1beta1.SpeechAdaptationInfo |
| 3256 |
21, // 23: google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse.results:type_name -> google.cloud.speech.v1p1beta1.SpeechRecognitionResult |
| 3257 |
29, // 24: google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse.total_billed_time:type_name -> google.protobuf.Duration |
| 3258 |
8, // 25: google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse.output_config:type_name -> google.cloud.speech.v1p1beta1.TranscriptOutputConfig |
| 3259 |
30, // 26: google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse.output_error:type_name -> google.rpc.Status |
| 3260 |
24, // 27: google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse.speech_adaptation_info:type_name -> google.cloud.speech.v1p1beta1.SpeechAdaptationInfo |
| 3261 |
31, // 28: google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata.start_time:type_name -> google.protobuf.Timestamp |
| 3262 |
31, // 29: google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata.last_update_time:type_name -> google.protobuf.Timestamp |
| 3263 |
8, // 30: google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata.output_config:type_name -> google.cloud.speech.v1p1beta1.TranscriptOutputConfig |
| 3264 |
30, // 31: google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.error:type_name -> google.rpc.Status |
| 3265 |
20, // 32: google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.results:type_name -> google.cloud.speech.v1p1beta1.StreamingRecognitionResult |
| 3266 |
5, // 33: google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.speech_event_type:type_name -> google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType |
| 3267 |
29, // 34: google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.speech_event_time:type_name -> google.protobuf.Duration |
| 3268 |
29, // 35: google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.total_billed_time:type_name -> google.protobuf.Duration |
| 3269 |
24, // 36: google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.speech_adaptation_info:type_name -> google.cloud.speech.v1p1beta1.SpeechAdaptationInfo |
| 3270 |
22, // 37: google.cloud.speech.v1p1beta1.StreamingRecognitionResult.alternatives:type_name -> google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative |
| 3271 |
29, // 38: google.cloud.speech.v1p1beta1.StreamingRecognitionResult.result_end_time:type_name -> google.protobuf.Duration |
| 3272 |
22, // 39: google.cloud.speech.v1p1beta1.SpeechRecognitionResult.alternatives:type_name -> google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative |
| 3273 |
29, // 40: google.cloud.speech.v1p1beta1.SpeechRecognitionResult.result_end_time:type_name -> google.protobuf.Duration |
| 3274 |
23, // 41: google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative.words:type_name -> google.cloud.speech.v1p1beta1.WordInfo |
| 3275 |
29, // 42: google.cloud.speech.v1p1beta1.WordInfo.start_time:type_name -> google.protobuf.Duration |
| 3276 |
29, // 43: google.cloud.speech.v1p1beta1.WordInfo.end_time:type_name -> google.protobuf.Duration |
| 3277 |
29, // 44: google.cloud.speech.v1p1beta1.StreamingRecognitionConfig.VoiceActivityTimeout.speech_start_timeout:type_name -> google.protobuf.Duration |
| 3278 |
29, // 45: google.cloud.speech.v1p1beta1.StreamingRecognitionConfig.VoiceActivityTimeout.speech_end_timeout:type_name -> google.protobuf.Duration |
| 3279 |
6, // 46: google.cloud.speech.v1p1beta1.Speech.Recognize:input_type -> google.cloud.speech.v1p1beta1.RecognizeRequest |
| 3280 |
7, // 47: google.cloud.speech.v1p1beta1.Speech.LongRunningRecognize:input_type -> google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest |
| 3281 |
9, // 48: google.cloud.speech.v1p1beta1.Speech.StreamingRecognize:input_type -> google.cloud.speech.v1p1beta1.StreamingRecognizeRequest |
| 3282 |
16, // 49: google.cloud.speech.v1p1beta1.Speech.Recognize:output_type -> google.cloud.speech.v1p1beta1.RecognizeResponse |
| 3283 |
32, // 50: google.cloud.speech.v1p1beta1.Speech.LongRunningRecognize:output_type -> google.longrunning.Operation |
| 3284 |
19, // 51: google.cloud.speech.v1p1beta1.Speech.StreamingRecognize:output_type -> google.cloud.speech.v1p1beta1.StreamingRecognizeResponse |
| 3285 |
49, // [49:52] is the sub-list for method output_type |
| 3286 |
46, // [46:49] is the sub-list for method input_type |
| 3287 |
46, // [46:46] is the sub-list for extension type_name |
| 3288 |
46, // [46:46] is the sub-list for extension extendee |
| 3289 |
0, // [0:46] is the sub-list for field type_name |
| 3290 |
} |
| 3291 |
|
| 3292 |
func init() { file_google_cloud_speech_v1p1beta1_cloud_speech_proto_init() } |
| 3293 |
func file_google_cloud_speech_v1p1beta1_cloud_speech_proto_init() { |
| 3294 |
if File_google_cloud_speech_v1p1beta1_cloud_speech_proto != nil { |
| 3295 |
return |
| 3296 |
} |
| 3297 |
file_google_cloud_speech_v1p1beta1_resource_proto_init() |
| 3298 |
file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[2].OneofWrappers = []any{ |
| 3299 |
(*TranscriptOutputConfig_GcsUri)(nil), |
| 3300 |
} |
| 3301 |
file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[3].OneofWrappers = []any{ |
| 3302 |
(*StreamingRecognizeRequest_StreamingConfig)(nil), |
| 3303 |
(*StreamingRecognizeRequest_AudioContent)(nil), |
| 3304 |
} |
| 3305 |
file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes[9].OneofWrappers = []any{ |
| 3306 |
(*RecognitionAudio_Content)(nil), |
| 3307 |
(*RecognitionAudio_Uri)(nil), |
| 3308 |
} |
| 3309 |
type x struct{} |
| 3310 |
out := protoimpl.TypeBuilder{ |
| 3311 |
File: protoimpl.DescBuilder{ |
| 3312 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 3313 |
RawDescriptor: file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDesc, |
| 3314 |
NumEnums: 6, |
| 3315 |
NumMessages: 20, |
| 3316 |
NumExtensions: 0, |
| 3317 |
NumServices: 1, |
| 3318 |
}, |
| 3319 |
GoTypes: file_google_cloud_speech_v1p1beta1_cloud_speech_proto_goTypes, |
| 3320 |
DependencyIndexes: file_google_cloud_speech_v1p1beta1_cloud_speech_proto_depIdxs, |
| 3321 |
EnumInfos: file_google_cloud_speech_v1p1beta1_cloud_speech_proto_enumTypes, |
| 3322 |
MessageInfos: file_google_cloud_speech_v1p1beta1_cloud_speech_proto_msgTypes, |
| 3323 |
}.Build() |
| 3324 |
File_google_cloud_speech_v1p1beta1_cloud_speech_proto = out.File |
| 3325 |
file_google_cloud_speech_v1p1beta1_cloud_speech_proto_rawDesc = nil |
| 3326 |
file_google_cloud_speech_v1p1beta1_cloud_speech_proto_goTypes = nil |
| 3327 |
file_google_cloud_speech_v1p1beta1_cloud_speech_proto_depIdxs = nil |
| 3328 |
} |
| 3329 |
|
| 3330 |
// Reference imports to suppress errors if they are not otherwise used. |
| 3331 |
var _ context.Context |
| 3332 |
var _ grpc.ClientConnInterface |
| 3333 |
|
| 3334 |
// This is a compile-time assertion to ensure that this generated file |
| 3335 |
// is compatible with the grpc package it is being compiled against. |
| 3336 |
const _ = grpc.SupportPackageIsVersion6 |
| 3337 |
|
| 3338 |
// SpeechClient is the client API for Speech service. |
| 3339 |
// |
| 3340 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 3341 |
type SpeechClient interface { |
| 3342 |
// Performs synchronous speech recognition: receive results after all audio |
| 3343 |
// has been sent and processed. |
| 3344 |
Recognize(ctx context.Context, in *RecognizeRequest, opts ...grpc.CallOption) (*RecognizeResponse, error) |
| 3345 |
// Performs asynchronous speech recognition: receive results via the |
| 3346 |
// google.longrunning.Operations interface. Returns either an |
| 3347 |
// `Operation.error` or an `Operation.response` which contains |
| 3348 |
// a `LongRunningRecognizeResponse` message. |
| 3349 |
// For more information on asynchronous speech recognition, see the |
| 3350 |
// [how-to](https://cloud.google.com/speech-to-text/docs/async-recognize). |
| 3351 |
LongRunningRecognize(ctx context.Context, in *LongRunningRecognizeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 3352 |
// Performs bidirectional streaming speech recognition: receive results while |
| 3353 |
// sending audio. This method is only available via the gRPC API (not REST). |
| 3354 |
StreamingRecognize(ctx context.Context, opts ...grpc.CallOption) (Speech_StreamingRecognizeClient, error) |
| 3355 |
} |
| 3356 |
|
| 3357 |
type speechClient struct { |
| 3358 |
cc grpc.ClientConnInterface |
| 3359 |
} |
| 3360 |
|
| 3361 |
func NewSpeechClient(cc grpc.ClientConnInterface) SpeechClient { |
| 3362 |
return &speechClient{cc} |
| 3363 |
} |
| 3364 |
|
| 3365 |
func (c *speechClient) Recognize(ctx context.Context, in *RecognizeRequest, opts ...grpc.CallOption) (*RecognizeResponse, error) { |
| 3366 |
out := new(RecognizeResponse) |
| 3367 |
err := c.cc.Invoke(ctx, "/google.cloud.speech.v1p1beta1.Speech/Recognize", in, out, opts...) |
| 3368 |
if err != nil { |
| 3369 |
return nil, err |
| 3370 |
} |
| 3371 |
return out, nil |
| 3372 |
} |
| 3373 |
|
| 3374 |
func (c *speechClient) LongRunningRecognize(ctx context.Context, in *LongRunningRecognizeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 3375 |
out := new(longrunningpb.Operation) |
| 3376 |
err := c.cc.Invoke(ctx, "/google.cloud.speech.v1p1beta1.Speech/LongRunningRecognize", in, out, opts...) |
| 3377 |
if err != nil { |
| 3378 |
return nil, err |
| 3379 |
} |
| 3380 |
return out, nil |
| 3381 |
} |
| 3382 |
|
| 3383 |
func (c *speechClient) StreamingRecognize(ctx context.Context, opts ...grpc.CallOption) (Speech_StreamingRecognizeClient, error) { |
| 3384 |
stream, err := c.cc.NewStream(ctx, &_Speech_serviceDesc.Streams[0], "/google.cloud.speech.v1p1beta1.Speech/StreamingRecognize", opts...) |
| 3385 |
if err != nil { |
| 3386 |
return nil, err |
| 3387 |
} |
| 3388 |
x := &speechStreamingRecognizeClient{stream} |
| 3389 |
return x, nil |
| 3390 |
} |
| 3391 |
|
| 3392 |
type Speech_StreamingRecognizeClient interface { |
| 3393 |
Send(*StreamingRecognizeRequest) error |
| 3394 |
Recv() (*StreamingRecognizeResponse, error) |
| 3395 |
grpc.ClientStream |
| 3396 |
} |
| 3397 |
|
| 3398 |
type speechStreamingRecognizeClient struct { |
| 3399 |
grpc.ClientStream |
| 3400 |
} |
| 3401 |
|
| 3402 |
func (x *speechStreamingRecognizeClient) Send(m *StreamingRecognizeRequest) error { |
| 3403 |
return x.ClientStream.SendMsg(m) |
| 3404 |
} |
| 3405 |
|
| 3406 |
func (x *speechStreamingRecognizeClient) Recv() (*StreamingRecognizeResponse, error) { |
| 3407 |
m := new(StreamingRecognizeResponse) |
| 3408 |
if err := x.ClientStream.RecvMsg(m); err != nil { |
| 3409 |
return nil, err |
| 3410 |
} |
| 3411 |
return m, nil |
| 3412 |
} |
| 3413 |
|
| 3414 |
// SpeechServer is the server API for Speech service. |
| 3415 |
type SpeechServer interface { |
| 3416 |
// Performs synchronous speech recognition: receive results after all audio |
| 3417 |
// has been sent and processed. |
| 3418 |
Recognize(context.Context, *RecognizeRequest) (*RecognizeResponse, error) |
| 3419 |
// Performs asynchronous speech recognition: receive results via the |
| 3420 |
// google.longrunning.Operations interface. Returns either an |
| 3421 |
// `Operation.error` or an `Operation.response` which contains |
| 3422 |
// a `LongRunningRecognizeResponse` message. |
| 3423 |
// For more information on asynchronous speech recognition, see the |
| 3424 |
// [how-to](https://cloud.google.com/speech-to-text/docs/async-recognize). |
| 3425 |
LongRunningRecognize(context.Context, *LongRunningRecognizeRequest) (*longrunningpb.Operation, error) |
| 3426 |
// Performs bidirectional streaming speech recognition: receive results while |
| 3427 |
// sending audio. This method is only available via the gRPC API (not REST). |
| 3428 |
StreamingRecognize(Speech_StreamingRecognizeServer) error |
| 3429 |
} |
| 3430 |
|
| 3431 |
// UnimplementedSpeechServer can be embedded to have forward compatible implementations. |
| 3432 |
type UnimplementedSpeechServer struct { |
| 3433 |
} |
| 3434 |
|
| 3435 |
func (*UnimplementedSpeechServer) Recognize(context.Context, *RecognizeRequest) (*RecognizeResponse, error) { |
| 3436 |
return nil, status1.Errorf(codes.Unimplemented, "method Recognize not implemented") |
| 3437 |
} |
| 3438 |
func (*UnimplementedSpeechServer) LongRunningRecognize(context.Context, *LongRunningRecognizeRequest) (*longrunningpb.Operation, error) { |
| 3439 |
return nil, status1.Errorf(codes.Unimplemented, "method LongRunningRecognize not implemented") |
| 3440 |
} |
| 3441 |
func (*UnimplementedSpeechServer) StreamingRecognize(Speech_StreamingRecognizeServer) error { |
| 3442 |
return status1.Errorf(codes.Unimplemented, "method StreamingRecognize not implemented") |
| 3443 |
} |
| 3444 |
|
| 3445 |
func RegisterSpeechServer(s *grpc.Server, srv SpeechServer) { |
| 3446 |
s.RegisterService(&_Speech_serviceDesc, srv) |
| 3447 |
} |
| 3448 |
|
| 3449 |
func _Speech_Recognize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3450 |
in := new(RecognizeRequest) |
| 3451 |
if err := dec(in); err != nil { |
| 3452 |
return nil, err |
| 3453 |
} |
| 3454 |
if interceptor == nil { |
| 3455 |
return srv.(SpeechServer).Recognize(ctx, in) |
| 3456 |
} |
| 3457 |
info := &grpc.UnaryServerInfo{ |
| 3458 |
Server: srv, |
| 3459 |
FullMethod: "/google.cloud.speech.v1p1beta1.Speech/Recognize", |
| 3460 |
} |
| 3461 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3462 |
return srv.(SpeechServer).Recognize(ctx, req.(*RecognizeRequest)) |
| 3463 |
} |
| 3464 |
return interceptor(ctx, in, info, handler) |
| 3465 |
} |
| 3466 |
|
| 3467 |
func _Speech_LongRunningRecognize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3468 |
in := new(LongRunningRecognizeRequest) |
| 3469 |
if err := dec(in); err != nil { |
| 3470 |
return nil, err |
| 3471 |
} |
| 3472 |
if interceptor == nil { |
| 3473 |
return srv.(SpeechServer).LongRunningRecognize(ctx, in) |
| 3474 |
} |
| 3475 |
info := &grpc.UnaryServerInfo{ |
| 3476 |
Server: srv, |
| 3477 |
FullMethod: "/google.cloud.speech.v1p1beta1.Speech/LongRunningRecognize", |
| 3478 |
} |
| 3479 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3480 |
return srv.(SpeechServer).LongRunningRecognize(ctx, req.(*LongRunningRecognizeRequest)) |
| 3481 |
} |
| 3482 |
return interceptor(ctx, in, info, handler) |
| 3483 |
} |
| 3484 |
|
| 3485 |
func _Speech_StreamingRecognize_Handler(srv interface{}, stream grpc.ServerStream) error { |
| 3486 |
return srv.(SpeechServer).StreamingRecognize(&speechStreamingRecognizeServer{stream}) |
| 3487 |
} |
| 3488 |
|
| 3489 |
type Speech_StreamingRecognizeServer interface { |
| 3490 |
Send(*StreamingRecognizeResponse) error |
| 3491 |
Recv() (*StreamingRecognizeRequest, error) |
| 3492 |
grpc.ServerStream |
| 3493 |
} |
| 3494 |
|
| 3495 |
type speechStreamingRecognizeServer struct { |
| 3496 |
grpc.ServerStream |
| 3497 |
} |
| 3498 |
|
| 3499 |
func (x *speechStreamingRecognizeServer) Send(m *StreamingRecognizeResponse) error { |
| 3500 |
return x.ServerStream.SendMsg(m) |
| 3501 |
} |
| 3502 |
|
| 3503 |
func (x *speechStreamingRecognizeServer) Recv() (*StreamingRecognizeRequest, error) { |
| 3504 |
m := new(StreamingRecognizeRequest) |
| 3505 |
if err := x.ServerStream.RecvMsg(m); err != nil { |
| 3506 |
return nil, err |
| 3507 |
} |
| 3508 |
return m, nil |
| 3509 |
} |
| 3510 |
|
| 3511 |
var _Speech_serviceDesc = grpc.ServiceDesc{ |
| 3512 |
ServiceName: "google.cloud.speech.v1p1beta1.Speech", |
| 3513 |
HandlerType: (*SpeechServer)(nil), |
| 3514 |
Methods: []grpc.MethodDesc{ |
| 3515 |
{ |
| 3516 |
MethodName: "Recognize", |
| 3517 |
Handler: _Speech_Recognize_Handler, |
| 3518 |
}, |
| 3519 |
{ |
| 3520 |
MethodName: "LongRunningRecognize", |
| 3521 |
Handler: _Speech_LongRunningRecognize_Handler, |
| 3522 |
}, |
| 3523 |
}, |
| 3524 |
Streams: []grpc.StreamDesc{ |
| 3525 |
{ |
| 3526 |
StreamName: "StreamingRecognize", |
| 3527 |
Handler: _Speech_StreamingRecognize_Handler, |
| 3528 |
ServerStreams: true, |
| 3529 |
ClientStreams: true, |
| 3530 |
}, |
| 3531 |
}, |
| 3532 |
Metadata: "google/cloud/speech/v1p1beta1/cloud_speech.proto", |
| 3533 |
} |