Debian Codegraph @

speech/apiv1/speechpb/cloud_speech.pb.go

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