| 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/texttospeech/v1/cloud_tts.proto |
| 20 |
|
| 21 |
package texttospeechpb |
| 22 |
|
| 23 |
import ( |
| 24 |
context "context" |
| 25 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 26 |
grpc "google.golang.org/grpc" |
| 27 |
codes "google.golang.org/grpc/codes" |
| 28 |
status "google.golang.org/grpc/status" |
| 29 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 30 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 31 |
reflect "reflect" |
| 32 |
sync "sync" |
| 33 |
) |
| 34 |
|
| 35 |
const ( |
| 36 |
// Verify that this generated code is sufficiently up-to-date. |
| 37 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 38 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 39 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 40 |
) |
| 41 |
|
| 42 |
// Gender of the voice as described in |
| 43 |
// [SSML voice element](https://www.w3.org/TR/speech-synthesis11/#edef_voice). |
| 44 |
type SsmlVoiceGender int32 |
| 45 |
|
| 46 |
const ( |
| 47 |
// An unspecified gender. |
| 48 |
// In VoiceSelectionParams, this means that the client doesn't care which |
| 49 |
// gender the selected voice will have. In the Voice field of |
| 50 |
// ListVoicesResponse, this may mean that the voice doesn't fit any of the |
| 51 |
// other categories in this enum, or that the gender of the voice isn't known. |
| 52 |
SsmlVoiceGender_SSML_VOICE_GENDER_UNSPECIFIED SsmlVoiceGender = 0 |
| 53 |
// A male voice. |
| 54 |
SsmlVoiceGender_MALE SsmlVoiceGender = 1 |
| 55 |
// A female voice. |
| 56 |
SsmlVoiceGender_FEMALE SsmlVoiceGender = 2 |
| 57 |
// A gender-neutral voice. This voice is not yet supported. |
| 58 |
SsmlVoiceGender_NEUTRAL SsmlVoiceGender = 3 |
| 59 |
) |
| 60 |
|
| 61 |
// Enum value maps for SsmlVoiceGender. |
| 62 |
var ( |
| 63 |
SsmlVoiceGender_name = map[int32]string{ |
| 64 |
0: "SSML_VOICE_GENDER_UNSPECIFIED", |
| 65 |
1: "MALE", |
| 66 |
2: "FEMALE", |
| 67 |
3: "NEUTRAL", |
| 68 |
} |
| 69 |
SsmlVoiceGender_value = map[string]int32{ |
| 70 |
"SSML_VOICE_GENDER_UNSPECIFIED": 0, |
| 71 |
"MALE": 1, |
| 72 |
"FEMALE": 2, |
| 73 |
"NEUTRAL": 3, |
| 74 |
} |
| 75 |
) |
| 76 |
|
| 77 |
func (x SsmlVoiceGender) Enum() *SsmlVoiceGender { |
| 78 |
p := new(SsmlVoiceGender) |
| 79 |
*p = x |
| 80 |
return p |
| 81 |
} |
| 82 |
|
| 83 |
func (x SsmlVoiceGender) String() string { |
| 84 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 85 |
} |
| 86 |
|
| 87 |
func (SsmlVoiceGender) Descriptor() protoreflect.EnumDescriptor { |
| 88 |
return file_google_cloud_texttospeech_v1_cloud_tts_proto_enumTypes[0].Descriptor() |
| 89 |
} |
| 90 |
|
| 91 |
func (SsmlVoiceGender) Type() protoreflect.EnumType { |
| 92 |
return &file_google_cloud_texttospeech_v1_cloud_tts_proto_enumTypes[0] |
| 93 |
} |
| 94 |
|
| 95 |
func (x SsmlVoiceGender) Number() protoreflect.EnumNumber { |
| 96 |
return protoreflect.EnumNumber(x) |
| 97 |
} |
| 98 |
|
| 99 |
// Deprecated: Use SsmlVoiceGender.Descriptor instead. |
| 100 |
func (SsmlVoiceGender) EnumDescriptor() ([]byte, []int) { |
| 101 |
return file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescGZIP(), []int{0} |
| 102 |
} |
| 103 |
|
| 104 |
// Configuration to set up audio encoder. The encoding determines the output |
| 105 |
// audio format that we'd like. |
| 106 |
type AudioEncoding int32 |
| 107 |
|
| 108 |
const ( |
| 109 |
// Not specified. Only used by GenerateVoiceCloningKey. Otherwise, will return |
| 110 |
// result |
| 111 |
// [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. |
| 112 |
AudioEncoding_AUDIO_ENCODING_UNSPECIFIED AudioEncoding = 0 |
| 113 |
// Uncompressed 16-bit signed little-endian samples (Linear PCM). |
| 114 |
// Audio content returned as LINEAR16 also contains a WAV header. |
| 115 |
AudioEncoding_LINEAR16 AudioEncoding = 1 |
| 116 |
// MP3 audio at 32kbps. |
| 117 |
AudioEncoding_MP3 AudioEncoding = 2 |
| 118 |
// Opus encoded audio wrapped in an ogg container. The result is a |
| 119 |
// file which can be played natively on Android, and in browsers (at least |
| 120 |
// Chrome and Firefox). The quality of the encoding is considerably higher |
| 121 |
// than MP3 while using approximately the same bitrate. |
| 122 |
AudioEncoding_OGG_OPUS AudioEncoding = 3 |
| 123 |
// 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. |
| 124 |
// Audio content returned as MULAW also contains a WAV header. |
| 125 |
AudioEncoding_MULAW AudioEncoding = 5 |
| 126 |
// 8-bit samples that compand 14-bit audio samples using G.711 PCMU/A-law. |
| 127 |
// Audio content returned as ALAW also contains a WAV header. |
| 128 |
AudioEncoding_ALAW AudioEncoding = 6 |
| 129 |
// Uncompressed 16-bit signed little-endian samples (Linear PCM). |
| 130 |
// Note that as opposed to LINEAR16, audio won't be wrapped in a WAV (or |
| 131 |
// any other) header. |
| 132 |
AudioEncoding_PCM AudioEncoding = 7 |
| 133 |
// M4A audio. |
| 134 |
AudioEncoding_M4A AudioEncoding = 8 |
| 135 |
) |
| 136 |
|
| 137 |
// Enum value maps for AudioEncoding. |
| 138 |
var ( |
| 139 |
AudioEncoding_name = map[int32]string{ |
| 140 |
0: "AUDIO_ENCODING_UNSPECIFIED", |
| 141 |
1: "LINEAR16", |
| 142 |
2: "MP3", |
| 143 |
3: "OGG_OPUS", |
| 144 |
5: "MULAW", |
| 145 |
6: "ALAW", |
| 146 |
7: "PCM", |
| 147 |
8: "M4A", |
| 148 |
} |
| 149 |
AudioEncoding_value = map[string]int32{ |
| 150 |
"AUDIO_ENCODING_UNSPECIFIED": 0, |
| 151 |
"LINEAR16": 1, |
| 152 |
"MP3": 2, |
| 153 |
"OGG_OPUS": 3, |
| 154 |
"MULAW": 5, |
| 155 |
"ALAW": 6, |
| 156 |
"PCM": 7, |
| 157 |
"M4A": 8, |
| 158 |
} |
| 159 |
) |
| 160 |
|
| 161 |
func (x AudioEncoding) Enum() *AudioEncoding { |
| 162 |
p := new(AudioEncoding) |
| 163 |
*p = x |
| 164 |
return p |
| 165 |
} |
| 166 |
|
| 167 |
func (x AudioEncoding) String() string { |
| 168 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 169 |
} |
| 170 |
|
| 171 |
func (AudioEncoding) Descriptor() protoreflect.EnumDescriptor { |
| 172 |
return file_google_cloud_texttospeech_v1_cloud_tts_proto_enumTypes[1].Descriptor() |
| 173 |
} |
| 174 |
|
| 175 |
func (AudioEncoding) Type() protoreflect.EnumType { |
| 176 |
return &file_google_cloud_texttospeech_v1_cloud_tts_proto_enumTypes[1] |
| 177 |
} |
| 178 |
|
| 179 |
func (x AudioEncoding) Number() protoreflect.EnumNumber { |
| 180 |
return protoreflect.EnumNumber(x) |
| 181 |
} |
| 182 |
|
| 183 |
// Deprecated: Use AudioEncoding.Descriptor instead. |
| 184 |
func (AudioEncoding) EnumDescriptor() ([]byte, []int) { |
| 185 |
return file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescGZIP(), []int{1} |
| 186 |
} |
| 187 |
|
| 188 |
// The phonetic encoding of the phrase. |
| 189 |
type CustomPronunciationParams_PhoneticEncoding int32 |
| 190 |
|
| 191 |
const ( |
| 192 |
// Not specified. |
| 193 |
CustomPronunciationParams_PHONETIC_ENCODING_UNSPECIFIED CustomPronunciationParams_PhoneticEncoding = 0 |
| 194 |
// IPA, such as apple -> ˈæpəl. |
| 195 |
// https://en.wikipedia.org/wiki/International_Phonetic_Alphabet |
| 196 |
CustomPronunciationParams_PHONETIC_ENCODING_IPA CustomPronunciationParams_PhoneticEncoding = 1 |
| 197 |
// X-SAMPA, such as apple -> "{p@l". |
| 198 |
// https://en.wikipedia.org/wiki/X-SAMPA |
| 199 |
CustomPronunciationParams_PHONETIC_ENCODING_X_SAMPA CustomPronunciationParams_PhoneticEncoding = 2 |
| 200 |
// For reading-to-pron conversion to work well, the `pronunciation` field |
| 201 |
// |
| 202 |
// should only contain Kanji, Hiragana, and Katakana. |
| 203 |
// |
| 204 |
// The pronunciation can also contain pitch accents. |
| 205 |
// The start of a pitch phrase is specified with `^` and the down-pitch |
| 206 |
// position is specified with `!`, for example: |
| 207 |
// |
| 208 |
// phrase:端 pronunciation:^はし |
| 209 |
// phrase:箸 pronunciation:^は!し |
| 210 |
// phrase:橋 pronunciation:^はし! |
| 211 |
// |
| 212 |
// We currently only support the Tokyo dialect, which allows at most one |
| 213 |
// down-pitch per phrase (i.e. at most one `!` between `^`). |
| 214 |
CustomPronunciationParams_PHONETIC_ENCODING_JAPANESE_YOMIGANA CustomPronunciationParams_PhoneticEncoding = 3 |
| 215 |
// Used to specify pronunciations for Mandarin words. See |
| 216 |
// https://en.wikipedia.org/wiki/Pinyin. |
| 217 |
// |
| 218 |
// For example: 朝阳, the pronunciation is "chao2 yang2". The number |
| 219 |
// represents the tone, and there is a space between syllables. Neutral |
| 220 |
// tones are represented by 5, for example 孩子 "hai2 zi5". |
| 221 |
CustomPronunciationParams_PHONETIC_ENCODING_PINYIN CustomPronunciationParams_PhoneticEncoding = 4 |
| 222 |
) |
| 223 |
|
| 224 |
// Enum value maps for CustomPronunciationParams_PhoneticEncoding. |
| 225 |
var ( |
| 226 |
CustomPronunciationParams_PhoneticEncoding_name = map[int32]string{ |
| 227 |
0: "PHONETIC_ENCODING_UNSPECIFIED", |
| 228 |
1: "PHONETIC_ENCODING_IPA", |
| 229 |
2: "PHONETIC_ENCODING_X_SAMPA", |
| 230 |
3: "PHONETIC_ENCODING_JAPANESE_YOMIGANA", |
| 231 |
4: "PHONETIC_ENCODING_PINYIN", |
| 232 |
} |
| 233 |
CustomPronunciationParams_PhoneticEncoding_value = map[string]int32{ |
| 234 |
"PHONETIC_ENCODING_UNSPECIFIED": 0, |
| 235 |
"PHONETIC_ENCODING_IPA": 1, |
| 236 |
"PHONETIC_ENCODING_X_SAMPA": 2, |
| 237 |
"PHONETIC_ENCODING_JAPANESE_YOMIGANA": 3, |
| 238 |
"PHONETIC_ENCODING_PINYIN": 4, |
| 239 |
} |
| 240 |
) |
| 241 |
|
| 242 |
func (x CustomPronunciationParams_PhoneticEncoding) Enum() *CustomPronunciationParams_PhoneticEncoding { |
| 243 |
p := new(CustomPronunciationParams_PhoneticEncoding) |
| 244 |
*p = x |
| 245 |
return p |
| 246 |
} |
| 247 |
|
| 248 |
func (x CustomPronunciationParams_PhoneticEncoding) String() string { |
| 249 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 250 |
} |
| 251 |
|
| 252 |
func (CustomPronunciationParams_PhoneticEncoding) Descriptor() protoreflect.EnumDescriptor { |
| 253 |
return file_google_cloud_texttospeech_v1_cloud_tts_proto_enumTypes[2].Descriptor() |
| 254 |
} |
| 255 |
|
| 256 |
func (CustomPronunciationParams_PhoneticEncoding) Type() protoreflect.EnumType { |
| 257 |
return &file_google_cloud_texttospeech_v1_cloud_tts_proto_enumTypes[2] |
| 258 |
} |
| 259 |
|
| 260 |
func (x CustomPronunciationParams_PhoneticEncoding) Number() protoreflect.EnumNumber { |
| 261 |
return protoreflect.EnumNumber(x) |
| 262 |
} |
| 263 |
|
| 264 |
// Deprecated: Use CustomPronunciationParams_PhoneticEncoding.Descriptor instead. |
| 265 |
func (CustomPronunciationParams_PhoneticEncoding) EnumDescriptor() ([]byte, []int) { |
| 266 |
return file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescGZIP(), []int{5, 0} |
| 267 |
} |
| 268 |
|
| 269 |
// Deprecated. The usage of the synthesized audio. Usage does not affect |
| 270 |
// billing. |
| 271 |
type CustomVoiceParams_ReportedUsage int32 |
| 272 |
|
| 273 |
const ( |
| 274 |
// Request with reported usage unspecified will be rejected. |
| 275 |
CustomVoiceParams_REPORTED_USAGE_UNSPECIFIED CustomVoiceParams_ReportedUsage = 0 |
| 276 |
// For scenarios where the synthesized audio is not downloadable and can |
| 277 |
// only be used once. For example, real-time request in IVR system. |
| 278 |
CustomVoiceParams_REALTIME CustomVoiceParams_ReportedUsage = 1 |
| 279 |
// For scenarios where the synthesized audio is downloadable and can be |
| 280 |
// reused. For example, the synthesized audio is downloaded, stored in |
| 281 |
// customer service system and played repeatedly. |
| 282 |
CustomVoiceParams_OFFLINE CustomVoiceParams_ReportedUsage = 2 |
| 283 |
) |
| 284 |
|
| 285 |
// Enum value maps for CustomVoiceParams_ReportedUsage. |
| 286 |
var ( |
| 287 |
CustomVoiceParams_ReportedUsage_name = map[int32]string{ |
| 288 |
0: "REPORTED_USAGE_UNSPECIFIED", |
| 289 |
1: "REALTIME", |
| 290 |
2: "OFFLINE", |
| 291 |
} |
| 292 |
CustomVoiceParams_ReportedUsage_value = map[string]int32{ |
| 293 |
"REPORTED_USAGE_UNSPECIFIED": 0, |
| 294 |
"REALTIME": 1, |
| 295 |
"OFFLINE": 2, |
| 296 |
} |
| 297 |
) |
| 298 |
|
| 299 |
func (x CustomVoiceParams_ReportedUsage) Enum() *CustomVoiceParams_ReportedUsage { |
| 300 |
p := new(CustomVoiceParams_ReportedUsage) |
| 301 |
*p = x |
| 302 |
return p |
| 303 |
} |
| 304 |
|
| 305 |
func (x CustomVoiceParams_ReportedUsage) String() string { |
| 306 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 307 |
} |
| 308 |
|
| 309 |
func (CustomVoiceParams_ReportedUsage) Descriptor() protoreflect.EnumDescriptor { |
| 310 |
return file_google_cloud_texttospeech_v1_cloud_tts_proto_enumTypes[3].Descriptor() |
| 311 |
} |
| 312 |
|
| 313 |
func (CustomVoiceParams_ReportedUsage) Type() protoreflect.EnumType { |
| 314 |
return &file_google_cloud_texttospeech_v1_cloud_tts_proto_enumTypes[3] |
| 315 |
} |
| 316 |
|
| 317 |
func (x CustomVoiceParams_ReportedUsage) Number() protoreflect.EnumNumber { |
| 318 |
return protoreflect.EnumNumber(x) |
| 319 |
} |
| 320 |
|
| 321 |
// Deprecated: Use CustomVoiceParams_ReportedUsage.Descriptor instead. |
| 322 |
func (CustomVoiceParams_ReportedUsage) EnumDescriptor() ([]byte, []int) { |
| 323 |
return file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescGZIP(), []int{11, 0} |
| 324 |
} |
| 325 |
|
| 326 |
// The top-level message sent by the client for the `ListVoices` method. |
| 327 |
type ListVoicesRequest struct { |
| 328 |
state protoimpl.MessageState |
| 329 |
sizeCache protoimpl.SizeCache |
| 330 |
unknownFields protoimpl.UnknownFields |
| 331 |
|
| 332 |
// Optional. Recommended. |
| 333 |
// [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. |
| 334 |
// If not specified, the API will return all supported voices. |
| 335 |
// If specified, the ListVoices call will only return voices that can be used |
| 336 |
// to synthesize this language_code. For example, if you specify `"en-NZ"`, |
| 337 |
// all `"en-NZ"` voices will be returned. If you specify `"no"`, both |
| 338 |
// `"no-\*"` (Norwegian) and `"nb-\*"` (Norwegian Bokmal) voices will be |
| 339 |
// returned. |
| 340 |
LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` |
| 341 |
} |
| 342 |
|
| 343 |
func (x *ListVoicesRequest) Reset() { |
| 344 |
*x = ListVoicesRequest{} |
| 345 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[0] |
| 346 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 347 |
ms.StoreMessageInfo(mi) |
| 348 |
} |
| 349 |
|
| 350 |
func (x *ListVoicesRequest) String() string { |
| 351 |
return protoimpl.X.MessageStringOf(x) |
| 352 |
} |
| 353 |
|
| 354 |
func (*ListVoicesRequest) ProtoMessage() {} |
| 355 |
|
| 356 |
func (x *ListVoicesRequest) ProtoReflect() protoreflect.Message { |
| 357 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[0] |
| 358 |
if x != nil { |
| 359 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 360 |
if ms.LoadMessageInfo() == nil { |
| 361 |
ms.StoreMessageInfo(mi) |
| 362 |
} |
| 363 |
return ms |
| 364 |
} |
| 365 |
return mi.MessageOf(x) |
| 366 |
} |
| 367 |
|
| 368 |
// Deprecated: Use ListVoicesRequest.ProtoReflect.Descriptor instead. |
| 369 |
func (*ListVoicesRequest) Descriptor() ([]byte, []int) { |
| 370 |
return file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescGZIP(), []int{0} |
| 371 |
} |
| 372 |
|
| 373 |
func (x *ListVoicesRequest) GetLanguageCode() string { |
| 374 |
if x != nil { |
| 375 |
return x.LanguageCode |
| 376 |
} |
| 377 |
return "" |
| 378 |
} |
| 379 |
|
| 380 |
// The message returned to the client by the `ListVoices` method. |
| 381 |
type ListVoicesResponse struct { |
| 382 |
state protoimpl.MessageState |
| 383 |
sizeCache protoimpl.SizeCache |
| 384 |
unknownFields protoimpl.UnknownFields |
| 385 |
|
| 386 |
// The list of voices. |
| 387 |
Voices []*Voice `protobuf:"bytes,1,rep,name=voices,proto3" json:"voices,omitempty"` |
| 388 |
} |
| 389 |
|
| 390 |
func (x *ListVoicesResponse) Reset() { |
| 391 |
*x = ListVoicesResponse{} |
| 392 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[1] |
| 393 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 394 |
ms.StoreMessageInfo(mi) |
| 395 |
} |
| 396 |
|
| 397 |
func (x *ListVoicesResponse) String() string { |
| 398 |
return protoimpl.X.MessageStringOf(x) |
| 399 |
} |
| 400 |
|
| 401 |
func (*ListVoicesResponse) ProtoMessage() {} |
| 402 |
|
| 403 |
func (x *ListVoicesResponse) ProtoReflect() protoreflect.Message { |
| 404 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[1] |
| 405 |
if x != nil { |
| 406 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 407 |
if ms.LoadMessageInfo() == nil { |
| 408 |
ms.StoreMessageInfo(mi) |
| 409 |
} |
| 410 |
return ms |
| 411 |
} |
| 412 |
return mi.MessageOf(x) |
| 413 |
} |
| 414 |
|
| 415 |
// Deprecated: Use ListVoicesResponse.ProtoReflect.Descriptor instead. |
| 416 |
func (*ListVoicesResponse) Descriptor() ([]byte, []int) { |
| 417 |
return file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescGZIP(), []int{1} |
| 418 |
} |
| 419 |
|
| 420 |
func (x *ListVoicesResponse) GetVoices() []*Voice { |
| 421 |
if x != nil { |
| 422 |
return x.Voices |
| 423 |
} |
| 424 |
return nil |
| 425 |
} |
| 426 |
|
| 427 |
// Description of a voice supported by the TTS service. |
| 428 |
type Voice struct { |
| 429 |
state protoimpl.MessageState |
| 430 |
sizeCache protoimpl.SizeCache |
| 431 |
unknownFields protoimpl.UnknownFields |
| 432 |
|
| 433 |
// The languages that this voice supports, expressed as |
| 434 |
// [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags (e.g. |
| 435 |
// "en-US", "es-419", "cmn-tw"). |
| 436 |
LanguageCodes []string `protobuf:"bytes,1,rep,name=language_codes,json=languageCodes,proto3" json:"language_codes,omitempty"` |
| 437 |
// The name of this voice. Each distinct voice has a unique name. |
| 438 |
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` |
| 439 |
// The gender of this voice. |
| 440 |
SsmlGender SsmlVoiceGender `protobuf:"varint,3,opt,name=ssml_gender,json=ssmlGender,proto3,enum=google.cloud.texttospeech.v1.SsmlVoiceGender" json:"ssml_gender,omitempty"` |
| 441 |
// The natural sample rate (in hertz) for this voice. |
| 442 |
NaturalSampleRateHertz int32 `protobuf:"varint,4,opt,name=natural_sample_rate_hertz,json=naturalSampleRateHertz,proto3" json:"natural_sample_rate_hertz,omitempty"` |
| 443 |
} |
| 444 |
|
| 445 |
func (x *Voice) Reset() { |
| 446 |
*x = Voice{} |
| 447 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[2] |
| 448 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 449 |
ms.StoreMessageInfo(mi) |
| 450 |
} |
| 451 |
|
| 452 |
func (x *Voice) String() string { |
| 453 |
return protoimpl.X.MessageStringOf(x) |
| 454 |
} |
| 455 |
|
| 456 |
func (*Voice) ProtoMessage() {} |
| 457 |
|
| 458 |
func (x *Voice) ProtoReflect() protoreflect.Message { |
| 459 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[2] |
| 460 |
if x != nil { |
| 461 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 462 |
if ms.LoadMessageInfo() == nil { |
| 463 |
ms.StoreMessageInfo(mi) |
| 464 |
} |
| 465 |
return ms |
| 466 |
} |
| 467 |
return mi.MessageOf(x) |
| 468 |
} |
| 469 |
|
| 470 |
// Deprecated: Use Voice.ProtoReflect.Descriptor instead. |
| 471 |
func (*Voice) Descriptor() ([]byte, []int) { |
| 472 |
return file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescGZIP(), []int{2} |
| 473 |
} |
| 474 |
|
| 475 |
func (x *Voice) GetLanguageCodes() []string { |
| 476 |
if x != nil { |
| 477 |
return x.LanguageCodes |
| 478 |
} |
| 479 |
return nil |
| 480 |
} |
| 481 |
|
| 482 |
func (x *Voice) GetName() string { |
| 483 |
if x != nil { |
| 484 |
return x.Name |
| 485 |
} |
| 486 |
return "" |
| 487 |
} |
| 488 |
|
| 489 |
func (x *Voice) GetSsmlGender() SsmlVoiceGender { |
| 490 |
if x != nil { |
| 491 |
return x.SsmlGender |
| 492 |
} |
| 493 |
return SsmlVoiceGender_SSML_VOICE_GENDER_UNSPECIFIED |
| 494 |
} |
| 495 |
|
| 496 |
func (x *Voice) GetNaturalSampleRateHertz() int32 { |
| 497 |
if x != nil { |
| 498 |
return x.NaturalSampleRateHertz |
| 499 |
} |
| 500 |
return 0 |
| 501 |
} |
| 502 |
|
| 503 |
// Used for advanced voice options. |
| 504 |
type AdvancedVoiceOptions struct { |
| 505 |
state protoimpl.MessageState |
| 506 |
sizeCache protoimpl.SizeCache |
| 507 |
unknownFields protoimpl.UnknownFields |
| 508 |
|
| 509 |
// Only for Journey voices. If false, the synthesis is context aware |
| 510 |
// and has a higher latency. |
| 511 |
LowLatencyJourneySynthesis *bool `protobuf:"varint,1,opt,name=low_latency_journey_synthesis,json=lowLatencyJourneySynthesis,proto3,oneof" json:"low_latency_journey_synthesis,omitempty"` |
| 512 |
} |
| 513 |
|
| 514 |
func (x *AdvancedVoiceOptions) Reset() { |
| 515 |
*x = AdvancedVoiceOptions{} |
| 516 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[3] |
| 517 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 518 |
ms.StoreMessageInfo(mi) |
| 519 |
} |
| 520 |
|
| 521 |
func (x *AdvancedVoiceOptions) String() string { |
| 522 |
return protoimpl.X.MessageStringOf(x) |
| 523 |
} |
| 524 |
|
| 525 |
func (*AdvancedVoiceOptions) ProtoMessage() {} |
| 526 |
|
| 527 |
func (x *AdvancedVoiceOptions) ProtoReflect() protoreflect.Message { |
| 528 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[3] |
| 529 |
if x != nil { |
| 530 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 531 |
if ms.LoadMessageInfo() == nil { |
| 532 |
ms.StoreMessageInfo(mi) |
| 533 |
} |
| 534 |
return ms |
| 535 |
} |
| 536 |
return mi.MessageOf(x) |
| 537 |
} |
| 538 |
|
| 539 |
// Deprecated: Use AdvancedVoiceOptions.ProtoReflect.Descriptor instead. |
| 540 |
func (*AdvancedVoiceOptions) Descriptor() ([]byte, []int) { |
| 541 |
return file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescGZIP(), []int{3} |
| 542 |
} |
| 543 |
|
| 544 |
func (x *AdvancedVoiceOptions) GetLowLatencyJourneySynthesis() bool { |
| 545 |
if x != nil && x.LowLatencyJourneySynthesis != nil { |
| 546 |
return *x.LowLatencyJourneySynthesis |
| 547 |
} |
| 548 |
return false |
| 549 |
} |
| 550 |
|
| 551 |
// The top-level message sent by the client for the `SynthesizeSpeech` method. |
| 552 |
type SynthesizeSpeechRequest struct { |
| 553 |
state protoimpl.MessageState |
| 554 |
sizeCache protoimpl.SizeCache |
| 555 |
unknownFields protoimpl.UnknownFields |
| 556 |
|
| 557 |
// Required. The Synthesizer requires either plain text or SSML as input. |
| 558 |
Input *SynthesisInput `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"` |
| 559 |
// Required. The desired voice of the synthesized audio. |
| 560 |
Voice *VoiceSelectionParams `protobuf:"bytes,2,opt,name=voice,proto3" json:"voice,omitempty"` |
| 561 |
// Required. The configuration of the synthesized audio. |
| 562 |
AudioConfig *AudioConfig `protobuf:"bytes,3,opt,name=audio_config,json=audioConfig,proto3" json:"audio_config,omitempty"` |
| 563 |
// Advanced voice options. |
| 564 |
AdvancedVoiceOptions *AdvancedVoiceOptions `protobuf:"bytes,8,opt,name=advanced_voice_options,json=advancedVoiceOptions,proto3,oneof" json:"advanced_voice_options,omitempty"` |
| 565 |
} |
| 566 |
|
| 567 |
func (x *SynthesizeSpeechRequest) Reset() { |
| 568 |
*x = SynthesizeSpeechRequest{} |
| 569 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[4] |
| 570 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 571 |
ms.StoreMessageInfo(mi) |
| 572 |
} |
| 573 |
|
| 574 |
func (x *SynthesizeSpeechRequest) String() string { |
| 575 |
return protoimpl.X.MessageStringOf(x) |
| 576 |
} |
| 577 |
|
| 578 |
func (*SynthesizeSpeechRequest) ProtoMessage() {} |
| 579 |
|
| 580 |
func (x *SynthesizeSpeechRequest) ProtoReflect() protoreflect.Message { |
| 581 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[4] |
| 582 |
if x != nil { |
| 583 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 584 |
if ms.LoadMessageInfo() == nil { |
| 585 |
ms.StoreMessageInfo(mi) |
| 586 |
} |
| 587 |
return ms |
| 588 |
} |
| 589 |
return mi.MessageOf(x) |
| 590 |
} |
| 591 |
|
| 592 |
// Deprecated: Use SynthesizeSpeechRequest.ProtoReflect.Descriptor instead. |
| 593 |
func (*SynthesizeSpeechRequest) Descriptor() ([]byte, []int) { |
| 594 |
return file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescGZIP(), []int{4} |
| 595 |
} |
| 596 |
|
| 597 |
func (x *SynthesizeSpeechRequest) GetInput() *SynthesisInput { |
| 598 |
if x != nil { |
| 599 |
return x.Input |
| 600 |
} |
| 601 |
return nil |
| 602 |
} |
| 603 |
|
| 604 |
func (x *SynthesizeSpeechRequest) GetVoice() *VoiceSelectionParams { |
| 605 |
if x != nil { |
| 606 |
return x.Voice |
| 607 |
} |
| 608 |
return nil |
| 609 |
} |
| 610 |
|
| 611 |
func (x *SynthesizeSpeechRequest) GetAudioConfig() *AudioConfig { |
| 612 |
if x != nil { |
| 613 |
return x.AudioConfig |
| 614 |
} |
| 615 |
return nil |
| 616 |
} |
| 617 |
|
| 618 |
func (x *SynthesizeSpeechRequest) GetAdvancedVoiceOptions() *AdvancedVoiceOptions { |
| 619 |
if x != nil { |
| 620 |
return x.AdvancedVoiceOptions |
| 621 |
} |
| 622 |
return nil |
| 623 |
} |
| 624 |
|
| 625 |
// Pronunciation customization for a phrase. |
| 626 |
type CustomPronunciationParams struct { |
| 627 |
state protoimpl.MessageState |
| 628 |
sizeCache protoimpl.SizeCache |
| 629 |
unknownFields protoimpl.UnknownFields |
| 630 |
|
| 631 |
// The phrase to which the customization is applied. |
| 632 |
// The phrase can be multiple words, such as proper nouns, but shouldn't span |
| 633 |
// the length of the sentence. |
| 634 |
Phrase *string `protobuf:"bytes,1,opt,name=phrase,proto3,oneof" json:"phrase,omitempty"` |
| 635 |
// The phonetic encoding of the phrase. |
| 636 |
PhoneticEncoding *CustomPronunciationParams_PhoneticEncoding `protobuf:"varint,2,opt,name=phonetic_encoding,json=phoneticEncoding,proto3,enum=google.cloud.texttospeech.v1.CustomPronunciationParams_PhoneticEncoding,oneof" json:"phonetic_encoding,omitempty"` |
| 637 |
// The pronunciation of the phrase. This must be in the phonetic encoding |
| 638 |
// specified above. |
| 639 |
Pronunciation *string `protobuf:"bytes,3,opt,name=pronunciation,proto3,oneof" json:"pronunciation,omitempty"` |
| 640 |
} |
| 641 |
|
| 642 |
func (x *CustomPronunciationParams) Reset() { |
| 643 |
*x = CustomPronunciationParams{} |
| 644 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[5] |
| 645 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 646 |
ms.StoreMessageInfo(mi) |
| 647 |
} |
| 648 |
|
| 649 |
func (x *CustomPronunciationParams) String() string { |
| 650 |
return protoimpl.X.MessageStringOf(x) |
| 651 |
} |
| 652 |
|
| 653 |
func (*CustomPronunciationParams) ProtoMessage() {} |
| 654 |
|
| 655 |
func (x *CustomPronunciationParams) ProtoReflect() protoreflect.Message { |
| 656 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[5] |
| 657 |
if x != nil { |
| 658 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 659 |
if ms.LoadMessageInfo() == nil { |
| 660 |
ms.StoreMessageInfo(mi) |
| 661 |
} |
| 662 |
return ms |
| 663 |
} |
| 664 |
return mi.MessageOf(x) |
| 665 |
} |
| 666 |
|
| 667 |
// Deprecated: Use CustomPronunciationParams.ProtoReflect.Descriptor instead. |
| 668 |
func (*CustomPronunciationParams) Descriptor() ([]byte, []int) { |
| 669 |
return file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescGZIP(), []int{5} |
| 670 |
} |
| 671 |
|
| 672 |
func (x *CustomPronunciationParams) GetPhrase() string { |
| 673 |
if x != nil && x.Phrase != nil { |
| 674 |
return *x.Phrase |
| 675 |
} |
| 676 |
return "" |
| 677 |
} |
| 678 |
|
| 679 |
func (x *CustomPronunciationParams) GetPhoneticEncoding() CustomPronunciationParams_PhoneticEncoding { |
| 680 |
if x != nil && x.PhoneticEncoding != nil { |
| 681 |
return *x.PhoneticEncoding |
| 682 |
} |
| 683 |
return CustomPronunciationParams_PHONETIC_ENCODING_UNSPECIFIED |
| 684 |
} |
| 685 |
|
| 686 |
func (x *CustomPronunciationParams) GetPronunciation() string { |
| 687 |
if x != nil && x.Pronunciation != nil { |
| 688 |
return *x.Pronunciation |
| 689 |
} |
| 690 |
return "" |
| 691 |
} |
| 692 |
|
| 693 |
// A collection of pronunciation customizations. |
| 694 |
type CustomPronunciations struct { |
| 695 |
state protoimpl.MessageState |
| 696 |
sizeCache protoimpl.SizeCache |
| 697 |
unknownFields protoimpl.UnknownFields |
| 698 |
|
| 699 |
// The pronunciation customizations are applied. |
| 700 |
Pronunciations []*CustomPronunciationParams `protobuf:"bytes,1,rep,name=pronunciations,proto3" json:"pronunciations,omitempty"` |
| 701 |
} |
| 702 |
|
| 703 |
func (x *CustomPronunciations) Reset() { |
| 704 |
*x = CustomPronunciations{} |
| 705 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[6] |
| 706 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 707 |
ms.StoreMessageInfo(mi) |
| 708 |
} |
| 709 |
|
| 710 |
func (x *CustomPronunciations) String() string { |
| 711 |
return protoimpl.X.MessageStringOf(x) |
| 712 |
} |
| 713 |
|
| 714 |
func (*CustomPronunciations) ProtoMessage() {} |
| 715 |
|
| 716 |
func (x *CustomPronunciations) ProtoReflect() protoreflect.Message { |
| 717 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[6] |
| 718 |
if x != nil { |
| 719 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 720 |
if ms.LoadMessageInfo() == nil { |
| 721 |
ms.StoreMessageInfo(mi) |
| 722 |
} |
| 723 |
return ms |
| 724 |
} |
| 725 |
return mi.MessageOf(x) |
| 726 |
} |
| 727 |
|
| 728 |
// Deprecated: Use CustomPronunciations.ProtoReflect.Descriptor instead. |
| 729 |
func (*CustomPronunciations) Descriptor() ([]byte, []int) { |
| 730 |
return file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescGZIP(), []int{6} |
| 731 |
} |
| 732 |
|
| 733 |
func (x *CustomPronunciations) GetPronunciations() []*CustomPronunciationParams { |
| 734 |
if x != nil { |
| 735 |
return x.Pronunciations |
| 736 |
} |
| 737 |
return nil |
| 738 |
} |
| 739 |
|
| 740 |
// A collection of turns for multi-speaker synthesis. |
| 741 |
type MultiSpeakerMarkup struct { |
| 742 |
state protoimpl.MessageState |
| 743 |
sizeCache protoimpl.SizeCache |
| 744 |
unknownFields protoimpl.UnknownFields |
| 745 |
|
| 746 |
// Required. Speaker turns. |
| 747 |
Turns []*MultiSpeakerMarkup_Turn `protobuf:"bytes,1,rep,name=turns,proto3" json:"turns,omitempty"` |
| 748 |
} |
| 749 |
|
| 750 |
func (x *MultiSpeakerMarkup) Reset() { |
| 751 |
*x = MultiSpeakerMarkup{} |
| 752 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[7] |
| 753 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 754 |
ms.StoreMessageInfo(mi) |
| 755 |
} |
| 756 |
|
| 757 |
func (x *MultiSpeakerMarkup) String() string { |
| 758 |
return protoimpl.X.MessageStringOf(x) |
| 759 |
} |
| 760 |
|
| 761 |
func (*MultiSpeakerMarkup) ProtoMessage() {} |
| 762 |
|
| 763 |
func (x *MultiSpeakerMarkup) ProtoReflect() protoreflect.Message { |
| 764 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[7] |
| 765 |
if x != nil { |
| 766 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 767 |
if ms.LoadMessageInfo() == nil { |
| 768 |
ms.StoreMessageInfo(mi) |
| 769 |
} |
| 770 |
return ms |
| 771 |
} |
| 772 |
return mi.MessageOf(x) |
| 773 |
} |
| 774 |
|
| 775 |
// Deprecated: Use MultiSpeakerMarkup.ProtoReflect.Descriptor instead. |
| 776 |
func (*MultiSpeakerMarkup) Descriptor() ([]byte, []int) { |
| 777 |
return file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescGZIP(), []int{7} |
| 778 |
} |
| 779 |
|
| 780 |
func (x *MultiSpeakerMarkup) GetTurns() []*MultiSpeakerMarkup_Turn { |
| 781 |
if x != nil { |
| 782 |
return x.Turns |
| 783 |
} |
| 784 |
return nil |
| 785 |
} |
| 786 |
|
| 787 |
// Contains text input to be synthesized. Either `text` or `ssml` must be |
| 788 |
// supplied. Supplying both or neither returns |
| 789 |
// [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. The |
| 790 |
// input size is limited to 5000 bytes. |
| 791 |
type SynthesisInput struct { |
| 792 |
state protoimpl.MessageState |
| 793 |
sizeCache protoimpl.SizeCache |
| 794 |
unknownFields protoimpl.UnknownFields |
| 795 |
|
| 796 |
// The input source, which is either plain text or SSML. |
| 797 |
// |
| 798 |
// Types that are assignable to InputSource: |
| 799 |
// |
| 800 |
// *SynthesisInput_Text |
| 801 |
// *SynthesisInput_Markup |
| 802 |
// *SynthesisInput_Ssml |
| 803 |
// *SynthesisInput_MultiSpeakerMarkup |
| 804 |
InputSource isSynthesisInput_InputSource `protobuf_oneof:"input_source"` |
| 805 |
// This system instruction is supported only for controllable/promptable voice |
| 806 |
// models. If this system instruction is used, we pass the unedited text to |
| 807 |
// Gemini-TTS. Otherwise, a default system instruction is used. AI Studio |
| 808 |
// calls this system instruction, Style Instructions. |
| 809 |
Prompt *string `protobuf:"bytes,6,opt,name=prompt,proto3,oneof" json:"prompt,omitempty"` |
| 810 |
// Optional. The pronunciation customizations are applied to the input. If |
| 811 |
// this is set, the input is synthesized using the given pronunciation |
| 812 |
// customizations. |
| 813 |
// |
| 814 |
// The initial support is for en-us, with plans to expand to other locales in |
| 815 |
// the future. Instant Clone voices aren't supported. |
| 816 |
// |
| 817 |
// In order to customize the pronunciation of a phrase, there must be an exact |
| 818 |
// match of the phrase in the input types. If using SSML, the phrase must not |
| 819 |
// be inside a phoneme tag. |
| 820 |
CustomPronunciations *CustomPronunciations `protobuf:"bytes,3,opt,name=custom_pronunciations,json=customPronunciations,proto3" json:"custom_pronunciations,omitempty"` |
| 821 |
} |
| 822 |
|
| 823 |
func (x *SynthesisInput) Reset() { |
| 824 |
*x = SynthesisInput{} |
| 825 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[8] |
| 826 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 827 |
ms.StoreMessageInfo(mi) |
| 828 |
} |
| 829 |
|
| 830 |
func (x *SynthesisInput) String() string { |
| 831 |
return protoimpl.X.MessageStringOf(x) |
| 832 |
} |
| 833 |
|
| 834 |
func (*SynthesisInput) ProtoMessage() {} |
| 835 |
|
| 836 |
func (x *SynthesisInput) ProtoReflect() protoreflect.Message { |
| 837 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[8] |
| 838 |
if x != nil { |
| 839 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 840 |
if ms.LoadMessageInfo() == nil { |
| 841 |
ms.StoreMessageInfo(mi) |
| 842 |
} |
| 843 |
return ms |
| 844 |
} |
| 845 |
return mi.MessageOf(x) |
| 846 |
} |
| 847 |
|
| 848 |
// Deprecated: Use SynthesisInput.ProtoReflect.Descriptor instead. |
| 849 |
func (*SynthesisInput) Descriptor() ([]byte, []int) { |
| 850 |
return file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescGZIP(), []int{8} |
| 851 |
} |
| 852 |
|
| 853 |
func (m *SynthesisInput) GetInputSource() isSynthesisInput_InputSource { |
| 854 |
if m != nil { |
| 855 |
return m.InputSource |
| 856 |
} |
| 857 |
return nil |
| 858 |
} |
| 859 |
|
| 860 |
func (x *SynthesisInput) GetText() string { |
| 861 |
if x, ok := x.GetInputSource().(*SynthesisInput_Text); ok { |
| 862 |
return x.Text |
| 863 |
} |
| 864 |
return "" |
| 865 |
} |
| 866 |
|
| 867 |
func (x *SynthesisInput) GetMarkup() string { |
| 868 |
if x, ok := x.GetInputSource().(*SynthesisInput_Markup); ok { |
| 869 |
return x.Markup |
| 870 |
} |
| 871 |
return "" |
| 872 |
} |
| 873 |
|
| 874 |
func (x *SynthesisInput) GetSsml() string { |
| 875 |
if x, ok := x.GetInputSource().(*SynthesisInput_Ssml); ok { |
| 876 |
return x.Ssml |
| 877 |
} |
| 878 |
return "" |
| 879 |
} |
| 880 |
|
| 881 |
func (x *SynthesisInput) GetMultiSpeakerMarkup() *MultiSpeakerMarkup { |
| 882 |
if x, ok := x.GetInputSource().(*SynthesisInput_MultiSpeakerMarkup); ok { |
| 883 |
return x.MultiSpeakerMarkup |
| 884 |
} |
| 885 |
return nil |
| 886 |
} |
| 887 |
|
| 888 |
func (x *SynthesisInput) GetPrompt() string { |
| 889 |
if x != nil && x.Prompt != nil { |
| 890 |
return *x.Prompt |
| 891 |
} |
| 892 |
return "" |
| 893 |
} |
| 894 |
|
| 895 |
func (x *SynthesisInput) GetCustomPronunciations() *CustomPronunciations { |
| 896 |
if x != nil { |
| 897 |
return x.CustomPronunciations |
| 898 |
} |
| 899 |
return nil |
| 900 |
} |
| 901 |
|
| 902 |
type isSynthesisInput_InputSource interface { |
| 903 |
isSynthesisInput_InputSource() |
| 904 |
} |
| 905 |
|
| 906 |
type SynthesisInput_Text struct { |
| 907 |
// The raw text to be synthesized. |
| 908 |
Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"` |
| 909 |
} |
| 910 |
|
| 911 |
type SynthesisInput_Markup struct { |
| 912 |
// Markup for HD voices specifically. This field may not be used with any |
| 913 |
// other voices. |
| 914 |
Markup string `protobuf:"bytes,5,opt,name=markup,proto3,oneof"` |
| 915 |
} |
| 916 |
|
| 917 |
type SynthesisInput_Ssml struct { |
| 918 |
// The SSML document to be synthesized. The SSML document must be valid |
| 919 |
// and well-formed. Otherwise the RPC will fail and return |
| 920 |
// [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. For |
| 921 |
// more information, see |
| 922 |
// [SSML](https://cloud.google.com/text-to-speech/docs/ssml). |
| 923 |
Ssml string `protobuf:"bytes,2,opt,name=ssml,proto3,oneof"` |
| 924 |
} |
| 925 |
|
| 926 |
type SynthesisInput_MultiSpeakerMarkup struct { |
| 927 |
// The multi-speaker input to be synthesized. Only applicable for |
| 928 |
// multi-speaker synthesis. |
| 929 |
MultiSpeakerMarkup *MultiSpeakerMarkup `protobuf:"bytes,4,opt,name=multi_speaker_markup,json=multiSpeakerMarkup,proto3,oneof"` |
| 930 |
} |
| 931 |
|
| 932 |
func (*SynthesisInput_Text) isSynthesisInput_InputSource() {} |
| 933 |
|
| 934 |
func (*SynthesisInput_Markup) isSynthesisInput_InputSource() {} |
| 935 |
|
| 936 |
func (*SynthesisInput_Ssml) isSynthesisInput_InputSource() {} |
| 937 |
|
| 938 |
func (*SynthesisInput_MultiSpeakerMarkup) isSynthesisInput_InputSource() {} |
| 939 |
|
| 940 |
// Description of which voice to use for a synthesis request. |
| 941 |
type VoiceSelectionParams struct { |
| 942 |
state protoimpl.MessageState |
| 943 |
sizeCache protoimpl.SizeCache |
| 944 |
unknownFields protoimpl.UnknownFields |
| 945 |
|
| 946 |
// Required. The language (and potentially also the region) of the voice |
| 947 |
// expressed as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) |
| 948 |
// language tag, e.g. "en-US". This should not include a script tag (e.g. use |
| 949 |
// "cmn-cn" rather than "cmn-Hant-cn"), because the script will be inferred |
| 950 |
// from the input provided in the SynthesisInput. The TTS service |
| 951 |
// will use this parameter to help choose an appropriate voice. Note that |
| 952 |
// the TTS service may choose a voice with a slightly different language code |
| 953 |
// than the one selected; it may substitute a different region |
| 954 |
// (e.g. using en-US rather than en-CA if there isn't a Canadian voice |
| 955 |
// available), or even a different language, e.g. using "nb" (Norwegian |
| 956 |
// Bokmal) instead of "no" (Norwegian)". |
| 957 |
LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` |
| 958 |
// The name of the voice. If both the name and the gender are not set, |
| 959 |
// the service will choose a voice based on the other parameters such as |
| 960 |
// language_code. |
| 961 |
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` |
| 962 |
// The preferred gender of the voice. If not set, the service will |
| 963 |
// choose a voice based on the other parameters such as language_code and |
| 964 |
// name. Note that this is only a preference, not requirement; if a |
| 965 |
// voice of the appropriate gender is not available, the synthesizer should |
| 966 |
// substitute a voice with a different gender rather than failing the request. |
| 967 |
SsmlGender SsmlVoiceGender `protobuf:"varint,3,opt,name=ssml_gender,json=ssmlGender,proto3,enum=google.cloud.texttospeech.v1.SsmlVoiceGender" json:"ssml_gender,omitempty"` |
| 968 |
// The configuration for a custom voice. If [CustomVoiceParams.model] is set, |
| 969 |
// the service will choose the custom voice matching the specified |
| 970 |
// configuration. |
| 971 |
CustomVoice *CustomVoiceParams `protobuf:"bytes,4,opt,name=custom_voice,json=customVoice,proto3" json:"custom_voice,omitempty"` |
| 972 |
// Optional. The configuration for a voice clone. If |
| 973 |
// [VoiceCloneParams.voice_clone_key] is set, the service chooses the voice |
| 974 |
// clone matching the specified configuration. |
| 975 |
VoiceClone *VoiceCloneParams `protobuf:"bytes,5,opt,name=voice_clone,json=voiceClone,proto3" json:"voice_clone,omitempty"` |
| 976 |
// Optional. The name of the model. If set, the service will choose the model |
| 977 |
// matching the specified configuration. |
| 978 |
ModelName string `protobuf:"bytes,6,opt,name=model_name,json=modelName,proto3" json:"model_name,omitempty"` |
| 979 |
} |
| 980 |
|
| 981 |
func (x *VoiceSelectionParams) Reset() { |
| 982 |
*x = VoiceSelectionParams{} |
| 983 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[9] |
| 984 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 985 |
ms.StoreMessageInfo(mi) |
| 986 |
} |
| 987 |
|
| 988 |
func (x *VoiceSelectionParams) String() string { |
| 989 |
return protoimpl.X.MessageStringOf(x) |
| 990 |
} |
| 991 |
|
| 992 |
func (*VoiceSelectionParams) ProtoMessage() {} |
| 993 |
|
| 994 |
func (x *VoiceSelectionParams) ProtoReflect() protoreflect.Message { |
| 995 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[9] |
| 996 |
if x != nil { |
| 997 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 998 |
if ms.LoadMessageInfo() == nil { |
| 999 |
ms.StoreMessageInfo(mi) |
| 1000 |
} |
| 1001 |
return ms |
| 1002 |
} |
| 1003 |
return mi.MessageOf(x) |
| 1004 |
} |
| 1005 |
|
| 1006 |
// Deprecated: Use VoiceSelectionParams.ProtoReflect.Descriptor instead. |
| 1007 |
func (*VoiceSelectionParams) Descriptor() ([]byte, []int) { |
| 1008 |
return file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescGZIP(), []int{9} |
| 1009 |
} |
| 1010 |
|
| 1011 |
func (x *VoiceSelectionParams) GetLanguageCode() string { |
| 1012 |
if x != nil { |
| 1013 |
return x.LanguageCode |
| 1014 |
} |
| 1015 |
return "" |
| 1016 |
} |
| 1017 |
|
| 1018 |
func (x *VoiceSelectionParams) GetName() string { |
| 1019 |
if x != nil { |
| 1020 |
return x.Name |
| 1021 |
} |
| 1022 |
return "" |
| 1023 |
} |
| 1024 |
|
| 1025 |
func (x *VoiceSelectionParams) GetSsmlGender() SsmlVoiceGender { |
| 1026 |
if x != nil { |
| 1027 |
return x.SsmlGender |
| 1028 |
} |
| 1029 |
return SsmlVoiceGender_SSML_VOICE_GENDER_UNSPECIFIED |
| 1030 |
} |
| 1031 |
|
| 1032 |
func (x *VoiceSelectionParams) GetCustomVoice() *CustomVoiceParams { |
| 1033 |
if x != nil { |
| 1034 |
return x.CustomVoice |
| 1035 |
} |
| 1036 |
return nil |
| 1037 |
} |
| 1038 |
|
| 1039 |
func (x *VoiceSelectionParams) GetVoiceClone() *VoiceCloneParams { |
| 1040 |
if x != nil { |
| 1041 |
return x.VoiceClone |
| 1042 |
} |
| 1043 |
return nil |
| 1044 |
} |
| 1045 |
|
| 1046 |
func (x *VoiceSelectionParams) GetModelName() string { |
| 1047 |
if x != nil { |
| 1048 |
return x.ModelName |
| 1049 |
} |
| 1050 |
return "" |
| 1051 |
} |
| 1052 |
|
| 1053 |
// Description of audio data to be synthesized. |
| 1054 |
type AudioConfig struct { |
| 1055 |
state protoimpl.MessageState |
| 1056 |
sizeCache protoimpl.SizeCache |
| 1057 |
unknownFields protoimpl.UnknownFields |
| 1058 |
|
| 1059 |
// Required. The format of the audio byte stream. |
| 1060 |
AudioEncoding AudioEncoding `protobuf:"varint,1,opt,name=audio_encoding,json=audioEncoding,proto3,enum=google.cloud.texttospeech.v1.AudioEncoding" json:"audio_encoding,omitempty"` |
| 1061 |
// Optional. Input only. Speaking rate/speed, in the range [0.25, 2.0]. 1.0 is |
| 1062 |
// the normal native speed supported by the specific voice. 2.0 is twice as |
| 1063 |
// fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 |
| 1064 |
// speed. Any other values < 0.25 or > 2.0 will return an error. |
| 1065 |
SpeakingRate float64 `protobuf:"fixed64,2,opt,name=speaking_rate,json=speakingRate,proto3" json:"speaking_rate,omitempty"` |
| 1066 |
// Optional. Input only. Speaking pitch, in the range [-20.0, 20.0]. 20 means |
| 1067 |
// increase 20 semitones from the original pitch. -20 means decrease 20 |
| 1068 |
// semitones from the original pitch. |
| 1069 |
Pitch float64 `protobuf:"fixed64,3,opt,name=pitch,proto3" json:"pitch,omitempty"` |
| 1070 |
// Optional. Input only. Volume gain (in dB) of the normal native volume |
| 1071 |
// supported by the specific voice, in the range [-96.0, 16.0]. If unset, or |
| 1072 |
// set to a value of 0.0 (dB), will play at normal native signal amplitude. A |
| 1073 |
// value of -6.0 (dB) will play at approximately half the amplitude of the |
| 1074 |
// normal native signal amplitude. A value of +6.0 (dB) will play at |
| 1075 |
// approximately twice the amplitude of the normal native signal amplitude. |
| 1076 |
// Strongly recommend not to exceed +10 (dB) as there's usually no effective |
| 1077 |
// increase in loudness for any value greater than that. |
| 1078 |
VolumeGainDb float64 `protobuf:"fixed64,4,opt,name=volume_gain_db,json=volumeGainDb,proto3" json:"volume_gain_db,omitempty"` |
| 1079 |
// Optional. The synthesis sample rate (in hertz) for this audio. When this is |
| 1080 |
// specified in SynthesizeSpeechRequest, if this is different from the voice's |
| 1081 |
// natural sample rate, then the synthesizer will honor this request by |
| 1082 |
// converting to the desired sample rate (which might result in worse audio |
| 1083 |
// quality), unless the specified sample rate is not supported for the |
| 1084 |
// encoding chosen, in which case it will fail the request and return |
| 1085 |
// [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. |
| 1086 |
SampleRateHertz int32 `protobuf:"varint,5,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"` |
| 1087 |
// Optional. Input only. An identifier which selects 'audio effects' profiles |
| 1088 |
// that are applied on (post synthesized) text to speech. Effects are applied |
| 1089 |
// on top of each other in the order they are given. See |
| 1090 |
// [audio |
| 1091 |
// profiles](https://cloud.google.com/text-to-speech/docs/audio-profiles) for |
| 1092 |
// current supported profile ids. |
| 1093 |
EffectsProfileId []string `protobuf:"bytes,6,rep,name=effects_profile_id,json=effectsProfileId,proto3" json:"effects_profile_id,omitempty"` |
| 1094 |
} |
| 1095 |
|
| 1096 |
func (x *AudioConfig) Reset() { |
| 1097 |
*x = AudioConfig{} |
| 1098 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[10] |
| 1099 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1100 |
ms.StoreMessageInfo(mi) |
| 1101 |
} |
| 1102 |
|
| 1103 |
func (x *AudioConfig) String() string { |
| 1104 |
return protoimpl.X.MessageStringOf(x) |
| 1105 |
} |
| 1106 |
|
| 1107 |
func (*AudioConfig) ProtoMessage() {} |
| 1108 |
|
| 1109 |
func (x *AudioConfig) ProtoReflect() protoreflect.Message { |
| 1110 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[10] |
| 1111 |
if x != nil { |
| 1112 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1113 |
if ms.LoadMessageInfo() == nil { |
| 1114 |
ms.StoreMessageInfo(mi) |
| 1115 |
} |
| 1116 |
return ms |
| 1117 |
} |
| 1118 |
return mi.MessageOf(x) |
| 1119 |
} |
| 1120 |
|
| 1121 |
// Deprecated: Use AudioConfig.ProtoReflect.Descriptor instead. |
| 1122 |
func (*AudioConfig) Descriptor() ([]byte, []int) { |
| 1123 |
return file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescGZIP(), []int{10} |
| 1124 |
} |
| 1125 |
|
| 1126 |
func (x *AudioConfig) GetAudioEncoding() AudioEncoding { |
| 1127 |
if x != nil { |
| 1128 |
return x.AudioEncoding |
| 1129 |
} |
| 1130 |
return AudioEncoding_AUDIO_ENCODING_UNSPECIFIED |
| 1131 |
} |
| 1132 |
|
| 1133 |
func (x *AudioConfig) GetSpeakingRate() float64 { |
| 1134 |
if x != nil { |
| 1135 |
return x.SpeakingRate |
| 1136 |
} |
| 1137 |
return 0 |
| 1138 |
} |
| 1139 |
|
| 1140 |
func (x *AudioConfig) GetPitch() float64 { |
| 1141 |
if x != nil { |
| 1142 |
return x.Pitch |
| 1143 |
} |
| 1144 |
return 0 |
| 1145 |
} |
| 1146 |
|
| 1147 |
func (x *AudioConfig) GetVolumeGainDb() float64 { |
| 1148 |
if x != nil { |
| 1149 |
return x.VolumeGainDb |
| 1150 |
} |
| 1151 |
return 0 |
| 1152 |
} |
| 1153 |
|
| 1154 |
func (x *AudioConfig) GetSampleRateHertz() int32 { |
| 1155 |
if x != nil { |
| 1156 |
return x.SampleRateHertz |
| 1157 |
} |
| 1158 |
return 0 |
| 1159 |
} |
| 1160 |
|
| 1161 |
func (x *AudioConfig) GetEffectsProfileId() []string { |
| 1162 |
if x != nil { |
| 1163 |
return x.EffectsProfileId |
| 1164 |
} |
| 1165 |
return nil |
| 1166 |
} |
| 1167 |
|
| 1168 |
// Description of the custom voice to be synthesized. |
| 1169 |
type CustomVoiceParams struct { |
| 1170 |
state protoimpl.MessageState |
| 1171 |
sizeCache protoimpl.SizeCache |
| 1172 |
unknownFields protoimpl.UnknownFields |
| 1173 |
|
| 1174 |
// Required. The name of the AutoML model that synthesizes the custom voice. |
| 1175 |
Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` |
| 1176 |
// Optional. Deprecated. The usage of the synthesized audio to be reported. |
| 1177 |
// |
| 1178 |
// Deprecated: Marked as deprecated in google/cloud/texttospeech/v1/cloud_tts.proto. |
| 1179 |
ReportedUsage CustomVoiceParams_ReportedUsage `protobuf:"varint,3,opt,name=reported_usage,json=reportedUsage,proto3,enum=google.cloud.texttospeech.v1.CustomVoiceParams_ReportedUsage" json:"reported_usage,omitempty"` |
| 1180 |
} |
| 1181 |
|
| 1182 |
func (x *CustomVoiceParams) Reset() { |
| 1183 |
*x = CustomVoiceParams{} |
| 1184 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[11] |
| 1185 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1186 |
ms.StoreMessageInfo(mi) |
| 1187 |
} |
| 1188 |
|
| 1189 |
func (x *CustomVoiceParams) String() string { |
| 1190 |
return protoimpl.X.MessageStringOf(x) |
| 1191 |
} |
| 1192 |
|
| 1193 |
func (*CustomVoiceParams) ProtoMessage() {} |
| 1194 |
|
| 1195 |
func (x *CustomVoiceParams) ProtoReflect() protoreflect.Message { |
| 1196 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[11] |
| 1197 |
if x != nil { |
| 1198 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1199 |
if ms.LoadMessageInfo() == nil { |
| 1200 |
ms.StoreMessageInfo(mi) |
| 1201 |
} |
| 1202 |
return ms |
| 1203 |
} |
| 1204 |
return mi.MessageOf(x) |
| 1205 |
} |
| 1206 |
|
| 1207 |
// Deprecated: Use CustomVoiceParams.ProtoReflect.Descriptor instead. |
| 1208 |
func (*CustomVoiceParams) Descriptor() ([]byte, []int) { |
| 1209 |
return file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescGZIP(), []int{11} |
| 1210 |
} |
| 1211 |
|
| 1212 |
func (x *CustomVoiceParams) GetModel() string { |
| 1213 |
if x != nil { |
| 1214 |
return x.Model |
| 1215 |
} |
| 1216 |
return "" |
| 1217 |
} |
| 1218 |
|
| 1219 |
// Deprecated: Marked as deprecated in google/cloud/texttospeech/v1/cloud_tts.proto. |
| 1220 |
func (x *CustomVoiceParams) GetReportedUsage() CustomVoiceParams_ReportedUsage { |
| 1221 |
if x != nil { |
| 1222 |
return x.ReportedUsage |
| 1223 |
} |
| 1224 |
return CustomVoiceParams_REPORTED_USAGE_UNSPECIFIED |
| 1225 |
} |
| 1226 |
|
| 1227 |
// The configuration of Voice Clone feature. |
| 1228 |
type VoiceCloneParams struct { |
| 1229 |
state protoimpl.MessageState |
| 1230 |
sizeCache protoimpl.SizeCache |
| 1231 |
unknownFields protoimpl.UnknownFields |
| 1232 |
|
| 1233 |
// Required. Created by GenerateVoiceCloningKey. |
| 1234 |
VoiceCloningKey string `protobuf:"bytes,1,opt,name=voice_cloning_key,json=voiceCloningKey,proto3" json:"voice_cloning_key,omitempty"` |
| 1235 |
} |
| 1236 |
|
| 1237 |
func (x *VoiceCloneParams) Reset() { |
| 1238 |
*x = VoiceCloneParams{} |
| 1239 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[12] |
| 1240 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1241 |
ms.StoreMessageInfo(mi) |
| 1242 |
} |
| 1243 |
|
| 1244 |
func (x *VoiceCloneParams) String() string { |
| 1245 |
return protoimpl.X.MessageStringOf(x) |
| 1246 |
} |
| 1247 |
|
| 1248 |
func (*VoiceCloneParams) ProtoMessage() {} |
| 1249 |
|
| 1250 |
func (x *VoiceCloneParams) ProtoReflect() protoreflect.Message { |
| 1251 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[12] |
| 1252 |
if x != nil { |
| 1253 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1254 |
if ms.LoadMessageInfo() == nil { |
| 1255 |
ms.StoreMessageInfo(mi) |
| 1256 |
} |
| 1257 |
return ms |
| 1258 |
} |
| 1259 |
return mi.MessageOf(x) |
| 1260 |
} |
| 1261 |
|
| 1262 |
// Deprecated: Use VoiceCloneParams.ProtoReflect.Descriptor instead. |
| 1263 |
func (*VoiceCloneParams) Descriptor() ([]byte, []int) { |
| 1264 |
return file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescGZIP(), []int{12} |
| 1265 |
} |
| 1266 |
|
| 1267 |
func (x *VoiceCloneParams) GetVoiceCloningKey() string { |
| 1268 |
if x != nil { |
| 1269 |
return x.VoiceCloningKey |
| 1270 |
} |
| 1271 |
return "" |
| 1272 |
} |
| 1273 |
|
| 1274 |
// The message returned to the client by the `SynthesizeSpeech` method. |
| 1275 |
type SynthesizeSpeechResponse struct { |
| 1276 |
state protoimpl.MessageState |
| 1277 |
sizeCache protoimpl.SizeCache |
| 1278 |
unknownFields protoimpl.UnknownFields |
| 1279 |
|
| 1280 |
// The audio data bytes encoded as specified in the request, including the |
| 1281 |
// header for encodings that are wrapped in containers (e.g. MP3, OGG_OPUS). |
| 1282 |
// For LINEAR16 audio, we include the WAV header. Note: as |
| 1283 |
// with all bytes fields, protobuffers use a pure binary representation, |
| 1284 |
// whereas JSON representations use base64. |
| 1285 |
AudioContent []byte `protobuf:"bytes,1,opt,name=audio_content,json=audioContent,proto3" json:"audio_content,omitempty"` |
| 1286 |
} |
| 1287 |
|
| 1288 |
func (x *SynthesizeSpeechResponse) Reset() { |
| 1289 |
*x = SynthesizeSpeechResponse{} |
| 1290 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[13] |
| 1291 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1292 |
ms.StoreMessageInfo(mi) |
| 1293 |
} |
| 1294 |
|
| 1295 |
func (x *SynthesizeSpeechResponse) String() string { |
| 1296 |
return protoimpl.X.MessageStringOf(x) |
| 1297 |
} |
| 1298 |
|
| 1299 |
func (*SynthesizeSpeechResponse) ProtoMessage() {} |
| 1300 |
|
| 1301 |
func (x *SynthesizeSpeechResponse) ProtoReflect() protoreflect.Message { |
| 1302 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[13] |
| 1303 |
if x != nil { |
| 1304 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1305 |
if ms.LoadMessageInfo() == nil { |
| 1306 |
ms.StoreMessageInfo(mi) |
| 1307 |
} |
| 1308 |
return ms |
| 1309 |
} |
| 1310 |
return mi.MessageOf(x) |
| 1311 |
} |
| 1312 |
|
| 1313 |
// Deprecated: Use SynthesizeSpeechResponse.ProtoReflect.Descriptor instead. |
| 1314 |
func (*SynthesizeSpeechResponse) Descriptor() ([]byte, []int) { |
| 1315 |
return file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescGZIP(), []int{13} |
| 1316 |
} |
| 1317 |
|
| 1318 |
func (x *SynthesizeSpeechResponse) GetAudioContent() []byte { |
| 1319 |
if x != nil { |
| 1320 |
return x.AudioContent |
| 1321 |
} |
| 1322 |
return nil |
| 1323 |
} |
| 1324 |
|
| 1325 |
// Description of the desired output audio data. |
| 1326 |
type StreamingAudioConfig struct { |
| 1327 |
state protoimpl.MessageState |
| 1328 |
sizeCache protoimpl.SizeCache |
| 1329 |
unknownFields protoimpl.UnknownFields |
| 1330 |
|
| 1331 |
// Required. The format of the audio byte stream. |
| 1332 |
// Streaming supports PCM, ALAW, MULAW and OGG_OPUS. All other encodings |
| 1333 |
// return an error. |
| 1334 |
AudioEncoding AudioEncoding `protobuf:"varint,1,opt,name=audio_encoding,json=audioEncoding,proto3,enum=google.cloud.texttospeech.v1.AudioEncoding" json:"audio_encoding,omitempty"` |
| 1335 |
// Optional. The synthesis sample rate (in hertz) for this audio. |
| 1336 |
SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"` |
| 1337 |
// Optional. Input only. Speaking rate/speed, in the range [0.25, 2.0]. 1.0 is |
| 1338 |
// the normal native speed supported by the specific voice. 2.0 is twice as |
| 1339 |
// fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 |
| 1340 |
// speed. Any other values < 0.25 or > 2.0 will return an error. |
| 1341 |
SpeakingRate float64 `protobuf:"fixed64,3,opt,name=speaking_rate,json=speakingRate,proto3" json:"speaking_rate,omitempty"` |
| 1342 |
} |
| 1343 |
|
| 1344 |
func (x *StreamingAudioConfig) Reset() { |
| 1345 |
*x = StreamingAudioConfig{} |
| 1346 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[14] |
| 1347 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1348 |
ms.StoreMessageInfo(mi) |
| 1349 |
} |
| 1350 |
|
| 1351 |
func (x *StreamingAudioConfig) String() string { |
| 1352 |
return protoimpl.X.MessageStringOf(x) |
| 1353 |
} |
| 1354 |
|
| 1355 |
func (*StreamingAudioConfig) ProtoMessage() {} |
| 1356 |
|
| 1357 |
func (x *StreamingAudioConfig) ProtoReflect() protoreflect.Message { |
| 1358 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[14] |
| 1359 |
if x != nil { |
| 1360 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1361 |
if ms.LoadMessageInfo() == nil { |
| 1362 |
ms.StoreMessageInfo(mi) |
| 1363 |
} |
| 1364 |
return ms |
| 1365 |
} |
| 1366 |
return mi.MessageOf(x) |
| 1367 |
} |
| 1368 |
|
| 1369 |
// Deprecated: Use StreamingAudioConfig.ProtoReflect.Descriptor instead. |
| 1370 |
func (*StreamingAudioConfig) Descriptor() ([]byte, []int) { |
| 1371 |
return file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescGZIP(), []int{14} |
| 1372 |
} |
| 1373 |
|
| 1374 |
func (x *StreamingAudioConfig) GetAudioEncoding() AudioEncoding { |
| 1375 |
if x != nil { |
| 1376 |
return x.AudioEncoding |
| 1377 |
} |
| 1378 |
return AudioEncoding_AUDIO_ENCODING_UNSPECIFIED |
| 1379 |
} |
| 1380 |
|
| 1381 |
func (x *StreamingAudioConfig) GetSampleRateHertz() int32 { |
| 1382 |
if x != nil { |
| 1383 |
return x.SampleRateHertz |
| 1384 |
} |
| 1385 |
return 0 |
| 1386 |
} |
| 1387 |
|
| 1388 |
func (x *StreamingAudioConfig) GetSpeakingRate() float64 { |
| 1389 |
if x != nil { |
| 1390 |
return x.SpeakingRate |
| 1391 |
} |
| 1392 |
return 0 |
| 1393 |
} |
| 1394 |
|
| 1395 |
// Provides configuration information for the StreamingSynthesize request. |
| 1396 |
type StreamingSynthesizeConfig struct { |
| 1397 |
state protoimpl.MessageState |
| 1398 |
sizeCache protoimpl.SizeCache |
| 1399 |
unknownFields protoimpl.UnknownFields |
| 1400 |
|
| 1401 |
// Required. The desired voice of the synthesized audio. |
| 1402 |
Voice *VoiceSelectionParams `protobuf:"bytes,1,opt,name=voice,proto3" json:"voice,omitempty"` |
| 1403 |
// Optional. The configuration of the synthesized audio. |
| 1404 |
StreamingAudioConfig *StreamingAudioConfig `protobuf:"bytes,4,opt,name=streaming_audio_config,json=streamingAudioConfig,proto3" json:"streaming_audio_config,omitempty"` |
| 1405 |
// Optional. The pronunciation customizations are applied to the input. If |
| 1406 |
// this is set, the input is synthesized using the given pronunciation |
| 1407 |
// customizations. |
| 1408 |
// |
| 1409 |
// The initial support is for en-us, with plans to expand to other locales in |
| 1410 |
// the future. Instant Clone voices aren't supported. |
| 1411 |
// |
| 1412 |
// In order to customize the pronunciation of a phrase, there must be an exact |
| 1413 |
// match of the phrase in the input types. If using SSML, the phrase must not |
| 1414 |
// be inside a phoneme tag. |
| 1415 |
CustomPronunciations *CustomPronunciations `protobuf:"bytes,5,opt,name=custom_pronunciations,json=customPronunciations,proto3" json:"custom_pronunciations,omitempty"` |
| 1416 |
} |
| 1417 |
|
| 1418 |
func (x *StreamingSynthesizeConfig) Reset() { |
| 1419 |
*x = StreamingSynthesizeConfig{} |
| 1420 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[15] |
| 1421 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1422 |
ms.StoreMessageInfo(mi) |
| 1423 |
} |
| 1424 |
|
| 1425 |
func (x *StreamingSynthesizeConfig) String() string { |
| 1426 |
return protoimpl.X.MessageStringOf(x) |
| 1427 |
} |
| 1428 |
|
| 1429 |
func (*StreamingSynthesizeConfig) ProtoMessage() {} |
| 1430 |
|
| 1431 |
func (x *StreamingSynthesizeConfig) ProtoReflect() protoreflect.Message { |
| 1432 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[15] |
| 1433 |
if x != nil { |
| 1434 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1435 |
if ms.LoadMessageInfo() == nil { |
| 1436 |
ms.StoreMessageInfo(mi) |
| 1437 |
} |
| 1438 |
return ms |
| 1439 |
} |
| 1440 |
return mi.MessageOf(x) |
| 1441 |
} |
| 1442 |
|
| 1443 |
// Deprecated: Use StreamingSynthesizeConfig.ProtoReflect.Descriptor instead. |
| 1444 |
func (*StreamingSynthesizeConfig) Descriptor() ([]byte, []int) { |
| 1445 |
return file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescGZIP(), []int{15} |
| 1446 |
} |
| 1447 |
|
| 1448 |
func (x *StreamingSynthesizeConfig) GetVoice() *VoiceSelectionParams { |
| 1449 |
if x != nil { |
| 1450 |
return x.Voice |
| 1451 |
} |
| 1452 |
return nil |
| 1453 |
} |
| 1454 |
|
| 1455 |
func (x *StreamingSynthesizeConfig) GetStreamingAudioConfig() *StreamingAudioConfig { |
| 1456 |
if x != nil { |
| 1457 |
return x.StreamingAudioConfig |
| 1458 |
} |
| 1459 |
return nil |
| 1460 |
} |
| 1461 |
|
| 1462 |
func (x *StreamingSynthesizeConfig) GetCustomPronunciations() *CustomPronunciations { |
| 1463 |
if x != nil { |
| 1464 |
return x.CustomPronunciations |
| 1465 |
} |
| 1466 |
return nil |
| 1467 |
} |
| 1468 |
|
| 1469 |
// Input to be synthesized. |
| 1470 |
type StreamingSynthesisInput struct { |
| 1471 |
state protoimpl.MessageState |
| 1472 |
sizeCache protoimpl.SizeCache |
| 1473 |
unknownFields protoimpl.UnknownFields |
| 1474 |
|
| 1475 |
// Types that are assignable to InputSource: |
| 1476 |
// |
| 1477 |
// *StreamingSynthesisInput_Text |
| 1478 |
// *StreamingSynthesisInput_Markup |
| 1479 |
InputSource isStreamingSynthesisInput_InputSource `protobuf_oneof:"input_source"` |
| 1480 |
// This is system instruction supported only for controllable voice models. |
| 1481 |
Prompt *string `protobuf:"bytes,6,opt,name=prompt,proto3,oneof" json:"prompt,omitempty"` |
| 1482 |
} |
| 1483 |
|
| 1484 |
func (x *StreamingSynthesisInput) Reset() { |
| 1485 |
*x = StreamingSynthesisInput{} |
| 1486 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[16] |
| 1487 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1488 |
ms.StoreMessageInfo(mi) |
| 1489 |
} |
| 1490 |
|
| 1491 |
func (x *StreamingSynthesisInput) String() string { |
| 1492 |
return protoimpl.X.MessageStringOf(x) |
| 1493 |
} |
| 1494 |
|
| 1495 |
func (*StreamingSynthesisInput) ProtoMessage() {} |
| 1496 |
|
| 1497 |
func (x *StreamingSynthesisInput) ProtoReflect() protoreflect.Message { |
| 1498 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[16] |
| 1499 |
if x != nil { |
| 1500 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1501 |
if ms.LoadMessageInfo() == nil { |
| 1502 |
ms.StoreMessageInfo(mi) |
| 1503 |
} |
| 1504 |
return ms |
| 1505 |
} |
| 1506 |
return mi.MessageOf(x) |
| 1507 |
} |
| 1508 |
|
| 1509 |
// Deprecated: Use StreamingSynthesisInput.ProtoReflect.Descriptor instead. |
| 1510 |
func (*StreamingSynthesisInput) Descriptor() ([]byte, []int) { |
| 1511 |
return file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescGZIP(), []int{16} |
| 1512 |
} |
| 1513 |
|
| 1514 |
func (m *StreamingSynthesisInput) GetInputSource() isStreamingSynthesisInput_InputSource { |
| 1515 |
if m != nil { |
| 1516 |
return m.InputSource |
| 1517 |
} |
| 1518 |
return nil |
| 1519 |
} |
| 1520 |
|
| 1521 |
func (x *StreamingSynthesisInput) GetText() string { |
| 1522 |
if x, ok := x.GetInputSource().(*StreamingSynthesisInput_Text); ok { |
| 1523 |
return x.Text |
| 1524 |
} |
| 1525 |
return "" |
| 1526 |
} |
| 1527 |
|
| 1528 |
func (x *StreamingSynthesisInput) GetMarkup() string { |
| 1529 |
if x, ok := x.GetInputSource().(*StreamingSynthesisInput_Markup); ok { |
| 1530 |
return x.Markup |
| 1531 |
} |
| 1532 |
return "" |
| 1533 |
} |
| 1534 |
|
| 1535 |
func (x *StreamingSynthesisInput) GetPrompt() string { |
| 1536 |
if x != nil && x.Prompt != nil { |
| 1537 |
return *x.Prompt |
| 1538 |
} |
| 1539 |
return "" |
| 1540 |
} |
| 1541 |
|
| 1542 |
type isStreamingSynthesisInput_InputSource interface { |
| 1543 |
isStreamingSynthesisInput_InputSource() |
| 1544 |
} |
| 1545 |
|
| 1546 |
type StreamingSynthesisInput_Text struct { |
| 1547 |
// The raw text to be synthesized. It is recommended that each input |
| 1548 |
// contains complete, terminating sentences, which results in better prosody |
| 1549 |
// in the output audio. |
| 1550 |
Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"` |
| 1551 |
} |
| 1552 |
|
| 1553 |
type StreamingSynthesisInput_Markup struct { |
| 1554 |
// Markup for HD voices specifically. This field may not be used with any |
| 1555 |
// other voices. |
| 1556 |
Markup string `protobuf:"bytes,5,opt,name=markup,proto3,oneof"` |
| 1557 |
} |
| 1558 |
|
| 1559 |
func (*StreamingSynthesisInput_Text) isStreamingSynthesisInput_InputSource() {} |
| 1560 |
|
| 1561 |
func (*StreamingSynthesisInput_Markup) isStreamingSynthesisInput_InputSource() {} |
| 1562 |
|
| 1563 |
// Request message for the `StreamingSynthesize` method. Multiple |
| 1564 |
// `StreamingSynthesizeRequest` messages are sent in one call. |
| 1565 |
// The first message must contain a `streaming_config` that |
| 1566 |
// fully specifies the request configuration and must not contain `input`. All |
| 1567 |
// subsequent messages must only have `input` set. |
| 1568 |
type StreamingSynthesizeRequest struct { |
| 1569 |
state protoimpl.MessageState |
| 1570 |
sizeCache protoimpl.SizeCache |
| 1571 |
unknownFields protoimpl.UnknownFields |
| 1572 |
|
| 1573 |
// The request to be sent, either a StreamingSynthesizeConfig or |
| 1574 |
// StreamingSynthesisInput. |
| 1575 |
// |
| 1576 |
// Types that are assignable to StreamingRequest: |
| 1577 |
// |
| 1578 |
// *StreamingSynthesizeRequest_StreamingConfig |
| 1579 |
// *StreamingSynthesizeRequest_Input |
| 1580 |
StreamingRequest isStreamingSynthesizeRequest_StreamingRequest `protobuf_oneof:"streaming_request"` |
| 1581 |
} |
| 1582 |
|
| 1583 |
func (x *StreamingSynthesizeRequest) Reset() { |
| 1584 |
*x = StreamingSynthesizeRequest{} |
| 1585 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[17] |
| 1586 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1587 |
ms.StoreMessageInfo(mi) |
| 1588 |
} |
| 1589 |
|
| 1590 |
func (x *StreamingSynthesizeRequest) String() string { |
| 1591 |
return protoimpl.X.MessageStringOf(x) |
| 1592 |
} |
| 1593 |
|
| 1594 |
func (*StreamingSynthesizeRequest) ProtoMessage() {} |
| 1595 |
|
| 1596 |
func (x *StreamingSynthesizeRequest) ProtoReflect() protoreflect.Message { |
| 1597 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[17] |
| 1598 |
if x != nil { |
| 1599 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1600 |
if ms.LoadMessageInfo() == nil { |
| 1601 |
ms.StoreMessageInfo(mi) |
| 1602 |
} |
| 1603 |
return ms |
| 1604 |
} |
| 1605 |
return mi.MessageOf(x) |
| 1606 |
} |
| 1607 |
|
| 1608 |
// Deprecated: Use StreamingSynthesizeRequest.ProtoReflect.Descriptor instead. |
| 1609 |
func (*StreamingSynthesizeRequest) Descriptor() ([]byte, []int) { |
| 1610 |
return file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescGZIP(), []int{17} |
| 1611 |
} |
| 1612 |
|
| 1613 |
func (m *StreamingSynthesizeRequest) GetStreamingRequest() isStreamingSynthesizeRequest_StreamingRequest { |
| 1614 |
if m != nil { |
| 1615 |
return m.StreamingRequest |
| 1616 |
} |
| 1617 |
return nil |
| 1618 |
} |
| 1619 |
|
| 1620 |
func (x *StreamingSynthesizeRequest) GetStreamingConfig() *StreamingSynthesizeConfig { |
| 1621 |
if x, ok := x.GetStreamingRequest().(*StreamingSynthesizeRequest_StreamingConfig); ok { |
| 1622 |
return x.StreamingConfig |
| 1623 |
} |
| 1624 |
return nil |
| 1625 |
} |
| 1626 |
|
| 1627 |
func (x *StreamingSynthesizeRequest) GetInput() *StreamingSynthesisInput { |
| 1628 |
if x, ok := x.GetStreamingRequest().(*StreamingSynthesizeRequest_Input); ok { |
| 1629 |
return x.Input |
| 1630 |
} |
| 1631 |
return nil |
| 1632 |
} |
| 1633 |
|
| 1634 |
type isStreamingSynthesizeRequest_StreamingRequest interface { |
| 1635 |
isStreamingSynthesizeRequest_StreamingRequest() |
| 1636 |
} |
| 1637 |
|
| 1638 |
type StreamingSynthesizeRequest_StreamingConfig struct { |
| 1639 |
// StreamingSynthesizeConfig to be used in this streaming attempt. Only |
| 1640 |
// specified in the first message sent in a `StreamingSynthesize` call. |
| 1641 |
StreamingConfig *StreamingSynthesizeConfig `protobuf:"bytes,1,opt,name=streaming_config,json=streamingConfig,proto3,oneof"` |
| 1642 |
} |
| 1643 |
|
| 1644 |
type StreamingSynthesizeRequest_Input struct { |
| 1645 |
// Input to synthesize. Specified in all messages but the first in a |
| 1646 |
// `StreamingSynthesize` call. |
| 1647 |
Input *StreamingSynthesisInput `protobuf:"bytes,2,opt,name=input,proto3,oneof"` |
| 1648 |
} |
| 1649 |
|
| 1650 |
func (*StreamingSynthesizeRequest_StreamingConfig) isStreamingSynthesizeRequest_StreamingRequest() {} |
| 1651 |
|
| 1652 |
func (*StreamingSynthesizeRequest_Input) isStreamingSynthesizeRequest_StreamingRequest() {} |
| 1653 |
|
| 1654 |
// `StreamingSynthesizeResponse` is the only message returned to the |
| 1655 |
// client by `StreamingSynthesize` method. A series of zero or more |
| 1656 |
// `StreamingSynthesizeResponse` messages are streamed back to the client. |
| 1657 |
type StreamingSynthesizeResponse struct { |
| 1658 |
state protoimpl.MessageState |
| 1659 |
sizeCache protoimpl.SizeCache |
| 1660 |
unknownFields protoimpl.UnknownFields |
| 1661 |
|
| 1662 |
// The audio data bytes encoded as specified in the request. This is |
| 1663 |
// headerless LINEAR16 audio with a sample rate of 24000. |
| 1664 |
AudioContent []byte `protobuf:"bytes,1,opt,name=audio_content,json=audioContent,proto3" json:"audio_content,omitempty"` |
| 1665 |
} |
| 1666 |
|
| 1667 |
func (x *StreamingSynthesizeResponse) Reset() { |
| 1668 |
*x = StreamingSynthesizeResponse{} |
| 1669 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[18] |
| 1670 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1671 |
ms.StoreMessageInfo(mi) |
| 1672 |
} |
| 1673 |
|
| 1674 |
func (x *StreamingSynthesizeResponse) String() string { |
| 1675 |
return protoimpl.X.MessageStringOf(x) |
| 1676 |
} |
| 1677 |
|
| 1678 |
func (*StreamingSynthesizeResponse) ProtoMessage() {} |
| 1679 |
|
| 1680 |
func (x *StreamingSynthesizeResponse) ProtoReflect() protoreflect.Message { |
| 1681 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[18] |
| 1682 |
if x != nil { |
| 1683 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1684 |
if ms.LoadMessageInfo() == nil { |
| 1685 |
ms.StoreMessageInfo(mi) |
| 1686 |
} |
| 1687 |
return ms |
| 1688 |
} |
| 1689 |
return mi.MessageOf(x) |
| 1690 |
} |
| 1691 |
|
| 1692 |
// Deprecated: Use StreamingSynthesizeResponse.ProtoReflect.Descriptor instead. |
| 1693 |
func (*StreamingSynthesizeResponse) Descriptor() ([]byte, []int) { |
| 1694 |
return file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescGZIP(), []int{18} |
| 1695 |
} |
| 1696 |
|
| 1697 |
func (x *StreamingSynthesizeResponse) GetAudioContent() []byte { |
| 1698 |
if x != nil { |
| 1699 |
return x.AudioContent |
| 1700 |
} |
| 1701 |
return nil |
| 1702 |
} |
| 1703 |
|
| 1704 |
// A multi-speaker turn. |
| 1705 |
type MultiSpeakerMarkup_Turn struct { |
| 1706 |
state protoimpl.MessageState |
| 1707 |
sizeCache protoimpl.SizeCache |
| 1708 |
unknownFields protoimpl.UnknownFields |
| 1709 |
|
| 1710 |
// Required. The speaker of the turn, for example, 'O' or 'Q'. Please refer |
| 1711 |
// to documentation for available speakers. |
| 1712 |
Speaker string `protobuf:"bytes,1,opt,name=speaker,proto3" json:"speaker,omitempty"` |
| 1713 |
// Required. The text to speak. |
| 1714 |
Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` |
| 1715 |
} |
| 1716 |
|
| 1717 |
func (x *MultiSpeakerMarkup_Turn) Reset() { |
| 1718 |
*x = MultiSpeakerMarkup_Turn{} |
| 1719 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[19] |
| 1720 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1721 |
ms.StoreMessageInfo(mi) |
| 1722 |
} |
| 1723 |
|
| 1724 |
func (x *MultiSpeakerMarkup_Turn) String() string { |
| 1725 |
return protoimpl.X.MessageStringOf(x) |
| 1726 |
} |
| 1727 |
|
| 1728 |
func (*MultiSpeakerMarkup_Turn) ProtoMessage() {} |
| 1729 |
|
| 1730 |
func (x *MultiSpeakerMarkup_Turn) ProtoReflect() protoreflect.Message { |
| 1731 |
mi := &file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[19] |
| 1732 |
if x != nil { |
| 1733 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1734 |
if ms.LoadMessageInfo() == nil { |
| 1735 |
ms.StoreMessageInfo(mi) |
| 1736 |
} |
| 1737 |
return ms |
| 1738 |
} |
| 1739 |
return mi.MessageOf(x) |
| 1740 |
} |
| 1741 |
|
| 1742 |
// Deprecated: Use MultiSpeakerMarkup_Turn.ProtoReflect.Descriptor instead. |
| 1743 |
func (*MultiSpeakerMarkup_Turn) Descriptor() ([]byte, []int) { |
| 1744 |
return file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescGZIP(), []int{7, 0} |
| 1745 |
} |
| 1746 |
|
| 1747 |
func (x *MultiSpeakerMarkup_Turn) GetSpeaker() string { |
| 1748 |
if x != nil { |
| 1749 |
return x.Speaker |
| 1750 |
} |
| 1751 |
return "" |
| 1752 |
} |
| 1753 |
|
| 1754 |
func (x *MultiSpeakerMarkup_Turn) GetText() string { |
| 1755 |
if x != nil { |
| 1756 |
return x.Text |
| 1757 |
} |
| 1758 |
return "" |
| 1759 |
} |
| 1760 |
|
| 1761 |
var File_google_cloud_texttospeech_v1_cloud_tts_proto protoreflect.FileDescriptor |
| 1762 |
|
| 1763 |
var file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDesc = []byte{ |
| 1764 |
0x0a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x74, |
| 1765 |
0x65, 0x78, 0x74, 0x74, 0x6f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x63, |
| 1766 |
0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x74, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, |
| 1767 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x65, 0x78, |
| 1768 |
0x74, 0x74, 0x6f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, |
| 1769 |
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, |
| 1770 |
0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, |
| 1771 |
0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, |
| 1772 |
0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, |
| 1773 |
0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, |
| 1774 |
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, |
| 1775 |
0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, |
| 1776 |
0x3d, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, |
| 1777 |
0x75, 0x65, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, |
| 1778 |
0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, |
| 1779 |
0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x51, |
| 1780 |
0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, |
| 1781 |
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x06, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, |
| 1782 |
0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 1783 |
0x6f, 0x75, 0x64, 0x2e, 0x74, 0x65, 0x78, 0x74, 0x74, 0x6f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, |
| 1784 |
0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x06, 0x76, 0x6f, 0x69, 0x63, 0x65, |
| 1785 |
0x73, 0x22, 0xcd, 0x01, 0x0a, 0x05, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x6c, |
| 1786 |
0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, |
| 1787 |
0x03, 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, |
| 1788 |
0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, |
| 1789 |
0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4e, 0x0a, 0x0b, 0x73, 0x73, 0x6d, 0x6c, 0x5f, 0x67, |
| 1790 |
0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, |
| 1791 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x65, 0x78, 0x74, 0x74, |
| 1792 |
0x6f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x73, 0x6d, 0x6c, 0x56, |
| 1793 |
0x6f, 0x69, 0x63, 0x65, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x0a, 0x73, 0x73, 0x6d, 0x6c, |
| 1794 |
0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x39, 0x0a, 0x19, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x61, |
| 1795 |
0x6c, 0x5f, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x68, 0x65, |
| 1796 |
0x72, 0x74, 0x7a, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x16, 0x6e, 0x61, 0x74, 0x75, 0x72, |
| 1797 |
0x61, 0x6c, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x61, 0x74, 0x65, 0x48, 0x65, 0x72, 0x74, |
| 1798 |
0x7a, 0x22, 0x80, 0x01, 0x0a, 0x14, 0x41, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x56, 0x6f, |
| 1799 |
0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x46, 0x0a, 0x1d, 0x6c, 0x6f, |
| 1800 |
0x77, 0x5f, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x6a, 0x6f, 0x75, 0x72, 0x6e, 0x65, |
| 1801 |
0x79, 0x5f, 0x73, 0x79, 0x6e, 0x74, 0x68, 0x65, 0x73, 0x69, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 1802 |
0x08, 0x48, 0x00, 0x52, 0x1a, 0x6c, 0x6f, 0x77, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x4a, |
| 1803 |
0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x53, 0x79, 0x6e, 0x74, 0x68, 0x65, 0x73, 0x69, 0x73, 0x88, |
| 1804 |
0x01, 0x01, 0x42, 0x20, 0x0a, 0x1e, 0x5f, 0x6c, 0x6f, 0x77, 0x5f, 0x6c, 0x61, 0x74, 0x65, 0x6e, |
| 1805 |
0x63, 0x79, 0x5f, 0x6a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x5f, 0x73, 0x79, 0x6e, 0x74, 0x68, |
| 1806 |
0x65, 0x73, 0x69, 0x73, 0x22, 0x8e, 0x03, 0x0a, 0x17, 0x53, 0x79, 0x6e, 0x74, 0x68, 0x65, 0x73, |
| 1807 |
0x69, 0x7a, 0x65, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
| 1808 |
0x12, 0x47, 0x0a, 0x05, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 1809 |
0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, |
| 1810 |
0x65, 0x78, 0x74, 0x74, 0x6f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, |
| 1811 |
0x79, 0x6e, 0x74, 0x68, 0x65, 0x73, 0x69, 0x73, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x42, 0x03, 0xe0, |
| 1812 |
0x41, 0x02, 0x52, 0x05, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x4d, 0x0a, 0x05, 0x76, 0x6f, 0x69, |
| 1813 |
0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1814 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x65, 0x78, 0x74, 0x74, 0x6f, 0x73, 0x70, |
| 1815 |
0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x53, 0x65, 0x6c, |
| 1816 |
0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x03, 0xe0, 0x41, |
| 1817 |
0x02, 0x52, 0x05, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x12, 0x51, 0x0a, 0x0c, 0x61, 0x75, 0x64, 0x69, |
| 1818 |
0x6f, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, |
| 1819 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x65, |
| 1820 |
0x78, 0x74, 0x74, 0x6f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, |
| 1821 |
0x64, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, |
| 1822 |
0x61, 0x75, 0x64, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x6d, 0x0a, 0x16, 0x61, |
| 1823 |
0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x5f, 0x6f, 0x70, |
| 1824 |
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, |
| 1825 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x65, 0x78, 0x74, 0x74, |
| 1826 |
0x6f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x76, 0x61, 0x6e, |
| 1827 |
0x63, 0x65, 0x64, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, |
| 1828 |
0x00, 0x52, 0x14, 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x56, 0x6f, 0x69, 0x63, 0x65, |
| 1829 |
0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x88, 0x01, 0x01, 0x42, 0x19, 0x0a, 0x17, 0x5f, 0x61, |
| 1830 |
0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x5f, 0x6f, 0x70, |
| 1831 |
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xcb, 0x03, 0x0a, 0x19, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, |
| 1832 |
0x50, 0x72, 0x6f, 0x6e, 0x75, 0x6e, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, |
| 1833 |
0x61, 0x6d, 0x73, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, |
| 1834 |
0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x88, 0x01, 0x01, |
| 1835 |
0x12, 0x7a, 0x0a, 0x11, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x74, 0x69, 0x63, 0x5f, 0x65, 0x6e, 0x63, |
| 1836 |
0x6f, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x48, 0x2e, 0x67, 0x6f, |
| 1837 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x65, 0x78, 0x74, 0x74, |
| 1838 |
0x6f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, |
| 1839 |
0x6d, 0x50, 0x72, 0x6f, 0x6e, 0x75, 0x6e, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, |
| 1840 |
0x72, 0x61, 0x6d, 0x73, 0x2e, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x74, 0x69, 0x63, 0x45, 0x6e, 0x63, |
| 1841 |
0x6f, 0x64, 0x69, 0x6e, 0x67, 0x48, 0x01, 0x52, 0x10, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x74, 0x69, |
| 1842 |
0x63, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x88, 0x01, 0x01, 0x12, 0x29, 0x0a, 0x0d, |
| 1843 |
0x70, 0x72, 0x6f, 0x6e, 0x75, 0x6e, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, |
| 1844 |
0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x6e, 0x75, 0x6e, 0x63, 0x69, 0x61, |
| 1845 |
0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x22, 0xb6, 0x01, 0x0a, 0x10, 0x50, 0x68, 0x6f, 0x6e, |
| 1846 |
0x65, 0x74, 0x69, 0x63, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x21, 0x0a, 0x1d, |
| 1847 |
0x50, 0x48, 0x4f, 0x4e, 0x45, 0x54, 0x49, 0x43, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, |
| 1848 |
0x47, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, |
| 1849 |
0x19, 0x0a, 0x15, 0x50, 0x48, 0x4f, 0x4e, 0x45, 0x54, 0x49, 0x43, 0x5f, 0x45, 0x4e, 0x43, 0x4f, |
| 1850 |
0x44, 0x49, 0x4e, 0x47, 0x5f, 0x49, 0x50, 0x41, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x50, 0x48, |
| 1851 |
0x4f, 0x4e, 0x45, 0x54, 0x49, 0x43, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, |
| 1852 |
0x58, 0x5f, 0x53, 0x41, 0x4d, 0x50, 0x41, 0x10, 0x02, 0x12, 0x27, 0x0a, 0x23, 0x50, 0x48, 0x4f, |
| 1853 |
0x4e, 0x45, 0x54, 0x49, 0x43, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x4a, |
| 1854 |
0x41, 0x50, 0x41, 0x4e, 0x45, 0x53, 0x45, 0x5f, 0x59, 0x4f, 0x4d, 0x49, 0x47, 0x41, 0x4e, 0x41, |
| 1855 |
0x10, 0x03, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x48, 0x4f, 0x4e, 0x45, 0x54, 0x49, 0x43, 0x5f, 0x45, |
| 1856 |
0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x49, 0x4e, 0x59, 0x49, 0x4e, 0x10, 0x04, |
| 1857 |
0x42, 0x09, 0x0a, 0x07, 0x5f, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x42, 0x14, 0x0a, 0x12, 0x5f, |
| 1858 |
0x70, 0x68, 0x6f, 0x6e, 0x65, 0x74, 0x69, 0x63, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, |
| 1859 |
0x67, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x70, 0x72, 0x6f, 0x6e, 0x75, 0x6e, 0x63, 0x69, 0x61, 0x74, |
| 1860 |
0x69, 0x6f, 0x6e, 0x22, 0x77, 0x0a, 0x14, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, |
| 1861 |
0x6e, 0x75, 0x6e, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x5f, 0x0a, 0x0e, 0x70, |
| 1862 |
0x72, 0x6f, 0x6e, 0x75, 0x6e, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, |
| 1863 |
0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 1864 |
0x75, 0x64, 0x2e, 0x74, 0x65, 0x78, 0x74, 0x74, 0x6f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, |
| 1865 |
0x76, 0x31, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x6e, 0x75, 0x6e, 0x63, |
| 1866 |
0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x0e, 0x70, 0x72, |
| 1867 |
0x6f, 0x6e, 0x75, 0x6e, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xa6, 0x01, 0x0a, |
| 1868 |
0x12, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x70, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x4d, 0x61, 0x72, |
| 1869 |
0x6b, 0x75, 0x70, 0x12, 0x50, 0x0a, 0x05, 0x74, 0x75, 0x72, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, |
| 1870 |
0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 1871 |
0x64, 0x2e, 0x74, 0x65, 0x78, 0x74, 0x74, 0x6f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, |
| 1872 |
0x31, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x70, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x4d, 0x61, |
| 1873 |
0x72, 0x6b, 0x75, 0x70, 0x2e, 0x54, 0x75, 0x72, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, |
| 1874 |
0x74, 0x75, 0x72, 0x6e, 0x73, 0x1a, 0x3e, 0x0a, 0x04, 0x54, 0x75, 0x72, 0x6e, 0x12, 0x1d, 0x0a, |
| 1875 |
0x07, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, |
| 1876 |
0xe0, 0x41, 0x02, 0x52, 0x07, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x12, 0x17, 0x0a, 0x04, |
| 1877 |
0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, |
| 1878 |
0x04, 0x74, 0x65, 0x78, 0x74, 0x22, 0xe2, 0x02, 0x0a, 0x0e, 0x53, 0x79, 0x6e, 0x74, 0x68, 0x65, |
| 1879 |
0x73, 0x69, 0x73, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x14, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, |
| 1880 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x18, |
| 1881 |
0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x75, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, |
| 1882 |
0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x75, 0x70, 0x12, 0x14, 0x0a, 0x04, 0x73, 0x73, 0x6d, 0x6c, |
| 1883 |
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x73, 0x73, 0x6d, 0x6c, 0x12, 0x64, |
| 1884 |
0x0a, 0x14, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x5f, |
| 1885 |
0x6d, 0x61, 0x72, 0x6b, 0x75, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, |
| 1886 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x65, 0x78, 0x74, |
| 1887 |
0x74, 0x6f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x75, 0x6c, 0x74, |
| 1888 |
0x69, 0x53, 0x70, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x4d, 0x61, 0x72, 0x6b, 0x75, 0x70, 0x48, 0x00, |
| 1889 |
0x52, 0x12, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x70, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x4d, 0x61, |
| 1890 |
0x72, 0x6b, 0x75, 0x70, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x18, 0x06, |
| 1891 |
0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x06, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x88, 0x01, |
| 1892 |
0x01, 0x12, 0x6c, 0x0a, 0x15, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x70, 0x72, 0x6f, 0x6e, |
| 1893 |
0x75, 0x6e, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, |
| 1894 |
0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 1895 |
0x74, 0x65, 0x78, 0x74, 0x74, 0x6f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, |
| 1896 |
0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x6e, 0x75, 0x6e, 0x63, 0x69, 0x61, 0x74, |
| 1897 |
0x69, 0x6f, 0x6e, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x14, 0x63, 0x75, 0x73, 0x74, 0x6f, |
| 1898 |
0x6d, 0x50, 0x72, 0x6f, 0x6e, 0x75, 0x6e, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, |
| 1899 |
0x0e, 0x0a, 0x0c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, |
| 1900 |
0x09, 0x0a, 0x07, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x22, 0xf2, 0x02, 0x0a, 0x14, 0x56, |
| 1901 |
0x6f, 0x69, 0x63, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, |
| 1902 |
0x61, 0x6d, 0x73, 0x12, 0x28, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, |
| 1903 |
0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, |
| 1904 |
0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, |
| 1905 |
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, |
| 1906 |
0x65, 0x12, 0x4e, 0x0a, 0x0b, 0x73, 0x73, 0x6d, 0x6c, 0x5f, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, |
| 1907 |
0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 1908 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x65, 0x78, 0x74, 0x74, 0x6f, 0x73, 0x70, 0x65, 0x65, |
| 1909 |
0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x73, 0x6d, 0x6c, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x47, |
| 1910 |
0x65, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x0a, 0x73, 0x73, 0x6d, 0x6c, 0x47, 0x65, 0x6e, 0x64, 0x65, |
| 1911 |
0x72, 0x12, 0x52, 0x0a, 0x0c, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x76, 0x6f, 0x69, 0x63, |
| 1912 |
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 1913 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x65, 0x78, 0x74, 0x74, 0x6f, 0x73, 0x70, 0x65, |
| 1914 |
0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x56, 0x6f, 0x69, |
| 1915 |
0x63, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, |
| 1916 |
0x56, 0x6f, 0x69, 0x63, 0x65, 0x12, 0x54, 0x0a, 0x0b, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x5f, 0x63, |
| 1917 |
0x6c, 0x6f, 0x6e, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, |
| 1918 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x65, 0x78, 0x74, 0x74, 0x6f, |
| 1919 |
0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x43, |
| 1920 |
0x6c, 0x6f, 0x6e, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, |
| 1921 |
0x0a, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x43, 0x6c, 0x6f, 0x6e, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x6d, |
| 1922 |
0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, |
| 1923 |
0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x22, |
| 1924 |
0xc6, 0x02, 0x0a, 0x0b, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, |
| 1925 |
0x57, 0x0a, 0x0e, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, |
| 1926 |
0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 1927 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x65, 0x78, 0x74, 0x74, 0x6f, 0x73, 0x70, 0x65, |
| 1928 |
0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x45, 0x6e, 0x63, 0x6f, |
| 1929 |
0x64, 0x69, 0x6e, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x61, 0x75, 0x64, 0x69, 0x6f, |
| 1930 |
0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x2b, 0x0a, 0x0d, 0x73, 0x70, 0x65, 0x61, |
| 1931 |
0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x42, |
| 1932 |
0x06, 0xe0, 0x41, 0x04, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x69, 0x6e, |
| 1933 |
0x67, 0x52, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x05, 0x70, 0x69, 0x74, 0x63, 0x68, 0x18, 0x03, |
| 1934 |
0x20, 0x01, 0x28, 0x01, 0x42, 0x06, 0xe0, 0x41, 0x04, 0xe0, 0x41, 0x01, 0x52, 0x05, 0x70, 0x69, |
| 1935 |
0x74, 0x63, 0x68, 0x12, 0x2c, 0x0a, 0x0e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x67, 0x61, |
| 1936 |
0x69, 0x6e, 0x5f, 0x64, 0x62, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x42, 0x06, 0xe0, 0x41, 0x04, |
| 1937 |
0xe0, 0x41, 0x01, 0x52, 0x0c, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x47, 0x61, 0x69, 0x6e, 0x44, |
| 1938 |
0x62, 0x12, 0x2f, 0x0a, 0x11, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, |
| 1939 |
0x5f, 0x68, 0x65, 0x72, 0x74, 0x7a, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, |
| 1940 |
0x01, 0x52, 0x0f, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x61, 0x74, 0x65, 0x48, 0x65, 0x72, |
| 1941 |
0x74, 0x7a, 0x12, 0x34, 0x0a, 0x12, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x73, 0x5f, 0x70, 0x72, |
| 1942 |
0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x42, 0x06, |
| 1943 |
0xe0, 0x41, 0x04, 0xe0, 0x41, 0x01, 0x52, 0x10, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x73, 0x50, |
| 1944 |
0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x22, 0x87, 0x02, 0x0a, 0x11, 0x43, 0x75, 0x73, |
| 1945 |
0x74, 0x6f, 0x6d, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x39, |
| 1946 |
0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x23, 0xe0, |
| 1947 |
0x41, 0x02, 0xfa, 0x41, 0x1d, 0x0a, 0x1b, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x67, 0x6f, |
| 1948 |
0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4d, 0x6f, 0x64, |
| 1949 |
0x65, 0x6c, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x6b, 0x0a, 0x0e, 0x72, 0x65, 0x70, |
| 1950 |
0x6f, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, |
| 1951 |
0x0e, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 1952 |
0x2e, 0x74, 0x65, 0x78, 0x74, 0x74, 0x6f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, |
| 1953 |
0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x50, 0x61, 0x72, 0x61, |
| 1954 |
0x6d, 0x73, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x55, 0x73, 0x61, 0x67, 0x65, |
| 1955 |
0x42, 0x05, 0xe0, 0x41, 0x01, 0x18, 0x01, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x65, |
| 1956 |
0x64, 0x55, 0x73, 0x61, 0x67, 0x65, 0x22, 0x4a, 0x0a, 0x0d, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, |
| 1957 |
0x65, 0x64, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x45, 0x50, 0x4f, 0x52, |
| 1958 |
0x54, 0x45, 0x44, 0x5f, 0x55, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, |
| 1959 |
0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x41, 0x4c, 0x54, |
| 1960 |
0x49, 0x4d, 0x45, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x46, 0x46, 0x4c, 0x49, 0x4e, 0x45, |
| 1961 |
0x10, 0x02, 0x22, 0x43, 0x0a, 0x10, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x43, 0x6c, 0x6f, 0x6e, 0x65, |
| 1962 |
0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x2f, 0x0a, 0x11, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x5f, |
| 1963 |
0x63, 0x6c, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 1964 |
0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0f, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x43, 0x6c, 0x6f, |
| 1965 |
0x6e, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x22, 0x3f, 0x0a, 0x18, 0x53, 0x79, 0x6e, 0x74, 0x68, |
| 1966 |
0x65, 0x73, 0x69, 0x7a, 0x65, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, |
| 1967 |
0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x63, 0x6f, 0x6e, |
| 1968 |
0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x61, 0x75, 0x64, 0x69, |
| 1969 |
0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0xcd, 0x01, 0x0a, 0x14, 0x53, 0x74, 0x72, |
| 1970 |
0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x69, |
| 1971 |
0x67, 0x12, 0x57, 0x0a, 0x0e, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, |
| 1972 |
0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 1973 |
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x65, 0x78, 0x74, 0x74, 0x6f, 0x73, |
| 1974 |
0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x45, 0x6e, |
| 1975 |
0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x61, 0x75, 0x64, |
| 1976 |
0x69, 0x6f, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x2f, 0x0a, 0x11, 0x73, 0x61, |
| 1977 |
0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x68, 0x65, 0x72, 0x74, 0x7a, 0x18, |
| 1978 |
0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0f, 0x73, 0x61, 0x6d, 0x70, |
| 1979 |
0x6c, 0x65, 0x52, 0x61, 0x74, 0x65, 0x48, 0x65, 0x72, 0x74, 0x7a, 0x12, 0x2b, 0x0a, 0x0d, 0x73, |
| 1980 |
0x70, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, |
| 1981 |
0x28, 0x01, 0x42, 0x06, 0xe0, 0x41, 0x04, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x73, 0x70, 0x65, 0x61, |
| 1982 |
0x6b, 0x69, 0x6e, 0x67, 0x52, 0x61, 0x74, 0x65, 0x22, 0xc7, 0x02, 0x0a, 0x19, 0x53, 0x74, 0x72, |
| 1983 |
0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x53, 0x79, 0x6e, 0x74, 0x68, 0x65, 0x73, 0x69, 0x7a, 0x65, |
| 1984 |
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4d, 0x0a, 0x05, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x18, |
| 1985 |
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 1986 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x65, 0x78, 0x74, 0x74, 0x6f, 0x73, 0x70, 0x65, 0x65, 0x63, |
| 1987 |
0x68, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, |
| 1988 |
0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, |
| 1989 |
0x76, 0x6f, 0x69, 0x63, 0x65, 0x12, 0x6d, 0x0a, 0x16, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, |
| 1990 |
0x6e, 0x67, 0x5f, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, |
| 1991 |
0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 1992 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x65, 0x78, 0x74, 0x74, 0x6f, 0x73, 0x70, 0x65, 0x65, 0x63, |
| 1993 |
0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x41, 0x75, |
| 1994 |
0x64, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x14, |
| 1995 |
0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x43, 0x6f, |
| 1996 |
0x6e, 0x66, 0x69, 0x67, 0x12, 0x6c, 0x0a, 0x15, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x70, |
| 1997 |
0x72, 0x6f, 0x6e, 0x75, 0x6e, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, |
| 1998 |
0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 1999 |
0x75, 0x64, 0x2e, 0x74, 0x65, 0x78, 0x74, 0x74, 0x6f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, |
| 2000 |
0x76, 0x31, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x6e, 0x75, 0x6e, 0x63, |
| 2001 |
0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x14, 0x63, 0x75, |
| 2002 |
0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x6e, 0x75, 0x6e, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, |
| 2003 |
0x6e, 0x73, 0x22, 0x81, 0x01, 0x0a, 0x17, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, |
| 2004 |
0x53, 0x79, 0x6e, 0x74, 0x68, 0x65, 0x73, 0x69, 0x73, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x14, |
| 2005 |
0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, |
| 2006 |
0x74, 0x65, 0x78, 0x74, 0x12, 0x18, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x75, 0x70, 0x18, 0x05, |
| 2007 |
0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x75, 0x70, 0x12, 0x1b, |
| 2008 |
0x0a, 0x06, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, |
| 2009 |
0x52, 0x06, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x69, |
| 2010 |
0x6e, 0x70, 0x75, 0x74, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x5f, |
| 2011 |
0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x22, 0xe6, 0x01, 0x0a, 0x1a, 0x53, 0x74, 0x72, 0x65, 0x61, |
| 2012 |
0x6d, 0x69, 0x6e, 0x67, 0x53, 0x79, 0x6e, 0x74, 0x68, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x52, 0x65, |
| 2013 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x64, 0x0a, 0x10, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, |
| 2014 |
0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 2015 |
0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, |
| 2016 |
0x65, 0x78, 0x74, 0x74, 0x6f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, |
| 2017 |
0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x53, 0x79, 0x6e, 0x74, 0x68, 0x65, 0x73, 0x69, |
| 2018 |
0x7a, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0f, 0x73, 0x74, 0x72, 0x65, |
| 2019 |
0x61, 0x6d, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4d, 0x0a, 0x05, 0x69, |
| 2020 |
0x6e, 0x70, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, |
| 2021 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x65, 0x78, 0x74, 0x74, 0x6f, |
| 2022 |
0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, |
| 2023 |
0x69, 0x6e, 0x67, 0x53, 0x79, 0x6e, 0x74, 0x68, 0x65, 0x73, 0x69, 0x73, 0x49, 0x6e, 0x70, 0x75, |
| 2024 |
0x74, 0x48, 0x00, 0x52, 0x05, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x42, 0x13, 0x0a, 0x11, 0x73, 0x74, |
| 2025 |
0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, |
| 2026 |
0x42, 0x0a, 0x1b, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x53, 0x79, 0x6e, 0x74, |
| 2027 |
0x68, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, |
| 2028 |
0x0a, 0x0d, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, |
| 2029 |
0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, |
| 2030 |
0x65, 0x6e, 0x74, 0x2a, 0x57, 0x0a, 0x0f, 0x53, 0x73, 0x6d, 0x6c, 0x56, 0x6f, 0x69, 0x63, 0x65, |
| 2031 |
0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x1d, 0x53, 0x53, 0x4d, 0x4c, 0x5f, 0x56, |
| 2032 |
0x4f, 0x49, 0x43, 0x45, 0x5f, 0x47, 0x45, 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, |
| 2033 |
0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4d, 0x41, 0x4c, |
| 2034 |
0x45, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x45, 0x4d, 0x41, 0x4c, 0x45, 0x10, 0x02, 0x12, |
| 2035 |
0x0b, 0x0a, 0x07, 0x4e, 0x45, 0x55, 0x54, 0x52, 0x41, 0x4c, 0x10, 0x03, 0x2a, 0x7b, 0x0a, 0x0d, |
| 2036 |
0x41, 0x75, 0x64, 0x69, 0x6f, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x1e, 0x0a, |
| 2037 |
0x1a, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, |
| 2038 |
0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, |
| 2039 |
0x08, 0x4c, 0x49, 0x4e, 0x45, 0x41, 0x52, 0x31, 0x36, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x4d, |
| 2040 |
0x50, 0x33, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x4f, 0x47, 0x47, 0x5f, 0x4f, 0x50, 0x55, 0x53, |
| 2041 |
0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x4d, 0x55, 0x4c, 0x41, 0x57, 0x10, 0x05, 0x12, 0x08, 0x0a, |
| 2042 |
0x04, 0x41, 0x4c, 0x41, 0x57, 0x10, 0x06, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x43, 0x4d, 0x10, 0x07, |
| 2043 |
0x12, 0x07, 0x0a, 0x03, 0x4d, 0x34, 0x41, 0x10, 0x08, 0x32, 0xc7, 0x04, 0x0a, 0x0c, 0x54, 0x65, |
| 2044 |
0x78, 0x74, 0x54, 0x6f, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x12, 0x93, 0x01, 0x0a, 0x0a, 0x4c, |
| 2045 |
0x69, 0x73, 0x74, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x12, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 2046 |
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x65, 0x78, 0x74, 0x74, 0x6f, 0x73, |
| 2047 |
0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x69, |
| 2048 |
0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x67, 0x6f, 0x6f, |
| 2049 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x65, 0x78, 0x74, 0x74, 0x6f, |
| 2050 |
0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, |
| 2051 |
0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x22, 0xda, 0x41, |
| 2052 |
0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x82, 0xd3, |
| 2053 |
0xe4, 0x93, 0x02, 0x0c, 0x12, 0x0a, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, |
| 2054 |
0x12, 0xbc, 0x01, 0x0a, 0x10, 0x53, 0x79, 0x6e, 0x74, 0x68, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x53, |
| 2055 |
0x70, 0x65, 0x65, 0x63, 0x68, 0x12, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 2056 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x65, 0x78, 0x74, 0x74, 0x6f, 0x73, 0x70, 0x65, 0x65, 0x63, |
| 2057 |
0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x74, 0x68, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x53, |
| 2058 |
0x70, 0x65, 0x65, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x67, |
| 2059 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x65, 0x78, 0x74, |
| 2060 |
0x74, 0x6f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x74, |
| 2061 |
0x68, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, |
| 2062 |
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x39, 0xda, 0x41, 0x18, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x2c, 0x76, |
| 2063 |
0x6f, 0x69, 0x63, 0x65, 0x2c, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, |
| 2064 |
0x67, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x3a, 0x01, 0x2a, 0x22, 0x13, 0x2f, 0x76, 0x31, 0x2f, |
| 2065 |
0x74, 0x65, 0x78, 0x74, 0x3a, 0x73, 0x79, 0x6e, 0x74, 0x68, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x12, |
| 2066 |
0x90, 0x01, 0x0a, 0x13, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x53, 0x79, 0x6e, |
| 2067 |
0x74, 0x68, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 2068 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x65, 0x78, 0x74, 0x74, 0x6f, 0x73, 0x70, 0x65, |
| 2069 |
0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, |
| 2070 |
0x53, 0x79, 0x6e, 0x74, 0x68, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, |
| 2071 |
0x74, 0x1a, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 2072 |
0x2e, 0x74, 0x65, 0x78, 0x74, 0x74, 0x6f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, |
| 2073 |
0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x53, 0x79, 0x6e, 0x74, 0x68, 0x65, |
| 2074 |
0x73, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, |
| 2075 |
0x30, 0x01, 0x1a, 0x4f, 0xca, 0x41, 0x1b, 0x74, 0x65, 0x78, 0x74, 0x74, 0x6f, 0x73, 0x70, 0x65, |
| 2076 |
0x65, 0x63, 0x68, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, |
| 2077 |
0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, |
| 2078 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, |
| 2079 |
0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, |
| 2080 |
0x6f, 0x72, 0x6d, 0x42, 0xbc, 0x02, 0xea, 0x41, 0x55, 0x0a, 0x1b, 0x61, 0x75, 0x74, 0x6f, 0x6d, |
| 2081 |
0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, |
| 2082 |
0x2f, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x36, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, |
| 2083 |
0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, |
| 2084 |
0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, |
| 2085 |
0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x7b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x7d, 0x0a, 0x20, |
| 2086 |
0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 2087 |
0x2e, 0x74, 0x65, 0x78, 0x74, 0x74, 0x6f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, |
| 2088 |
0x42, 0x11, 0x54, 0x65, 0x78, 0x74, 0x54, 0x6f, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x50, 0x72, |
| 2089 |
0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, |
| 2090 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x74, |
| 2091 |
0x6f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x74, 0x65, |
| 2092 |
0x78, 0x74, 0x74, 0x6f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x70, 0x62, 0x3b, 0x74, 0x65, 0x78, |
| 2093 |
0x74, 0x74, 0x6f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x70, 0x62, 0xa2, 0x02, 0x04, 0x43, 0x54, |
| 2094 |
0x54, 0x53, 0xaa, 0x02, 0x1c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, |
| 2095 |
0x64, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x54, 0x6f, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x56, |
| 2096 |
0x31, 0xca, 0x02, 0x1c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, |
| 2097 |
0x5c, 0x54, 0x65, 0x78, 0x74, 0x54, 0x6f, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x5c, 0x56, 0x31, |
| 2098 |
0xea, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, |
| 2099 |
0x3a, 0x3a, 0x54, 0x65, 0x78, 0x74, 0x54, 0x6f, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x3a, 0x3a, |
| 2100 |
0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 2101 |
} |
| 2102 |
|
| 2103 |
var ( |
| 2104 |
file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescOnce sync.Once |
| 2105 |
file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescData = file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDesc |
| 2106 |
) |
| 2107 |
|
| 2108 |
func file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescGZIP() []byte { |
| 2109 |
file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescOnce.Do(func() { |
| 2110 |
file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescData) |
| 2111 |
}) |
| 2112 |
return file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDescData |
| 2113 |
} |
| 2114 |
|
| 2115 |
var file_google_cloud_texttospeech_v1_cloud_tts_proto_enumTypes = make([]protoimpl.EnumInfo, 4) |
| 2116 |
var file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes = make([]protoimpl.MessageInfo, 20) |
| 2117 |
var file_google_cloud_texttospeech_v1_cloud_tts_proto_goTypes = []any{ |
| 2118 |
(SsmlVoiceGender)(0), // 0: google.cloud.texttospeech.v1.SsmlVoiceGender |
| 2119 |
(AudioEncoding)(0), // 1: google.cloud.texttospeech.v1.AudioEncoding |
| 2120 |
(CustomPronunciationParams_PhoneticEncoding)(0), // 2: google.cloud.texttospeech.v1.CustomPronunciationParams.PhoneticEncoding |
| 2121 |
(CustomVoiceParams_ReportedUsage)(0), // 3: google.cloud.texttospeech.v1.CustomVoiceParams.ReportedUsage |
| 2122 |
(*ListVoicesRequest)(nil), // 4: google.cloud.texttospeech.v1.ListVoicesRequest |
| 2123 |
(*ListVoicesResponse)(nil), // 5: google.cloud.texttospeech.v1.ListVoicesResponse |
| 2124 |
(*Voice)(nil), // 6: google.cloud.texttospeech.v1.Voice |
| 2125 |
(*AdvancedVoiceOptions)(nil), // 7: google.cloud.texttospeech.v1.AdvancedVoiceOptions |
| 2126 |
(*SynthesizeSpeechRequest)(nil), // 8: google.cloud.texttospeech.v1.SynthesizeSpeechRequest |
| 2127 |
(*CustomPronunciationParams)(nil), // 9: google.cloud.texttospeech.v1.CustomPronunciationParams |
| 2128 |
(*CustomPronunciations)(nil), // 10: google.cloud.texttospeech.v1.CustomPronunciations |
| 2129 |
(*MultiSpeakerMarkup)(nil), // 11: google.cloud.texttospeech.v1.MultiSpeakerMarkup |
| 2130 |
(*SynthesisInput)(nil), // 12: google.cloud.texttospeech.v1.SynthesisInput |
| 2131 |
(*VoiceSelectionParams)(nil), // 13: google.cloud.texttospeech.v1.VoiceSelectionParams |
| 2132 |
(*AudioConfig)(nil), // 14: google.cloud.texttospeech.v1.AudioConfig |
| 2133 |
(*CustomVoiceParams)(nil), // 15: google.cloud.texttospeech.v1.CustomVoiceParams |
| 2134 |
(*VoiceCloneParams)(nil), // 16: google.cloud.texttospeech.v1.VoiceCloneParams |
| 2135 |
(*SynthesizeSpeechResponse)(nil), // 17: google.cloud.texttospeech.v1.SynthesizeSpeechResponse |
| 2136 |
(*StreamingAudioConfig)(nil), // 18: google.cloud.texttospeech.v1.StreamingAudioConfig |
| 2137 |
(*StreamingSynthesizeConfig)(nil), // 19: google.cloud.texttospeech.v1.StreamingSynthesizeConfig |
| 2138 |
(*StreamingSynthesisInput)(nil), // 20: google.cloud.texttospeech.v1.StreamingSynthesisInput |
| 2139 |
(*StreamingSynthesizeRequest)(nil), // 21: google.cloud.texttospeech.v1.StreamingSynthesizeRequest |
| 2140 |
(*StreamingSynthesizeResponse)(nil), // 22: google.cloud.texttospeech.v1.StreamingSynthesizeResponse |
| 2141 |
(*MultiSpeakerMarkup_Turn)(nil), // 23: google.cloud.texttospeech.v1.MultiSpeakerMarkup.Turn |
| 2142 |
} |
| 2143 |
var file_google_cloud_texttospeech_v1_cloud_tts_proto_depIdxs = []int32{ |
| 2144 |
6, // 0: google.cloud.texttospeech.v1.ListVoicesResponse.voices:type_name -> google.cloud.texttospeech.v1.Voice |
| 2145 |
0, // 1: google.cloud.texttospeech.v1.Voice.ssml_gender:type_name -> google.cloud.texttospeech.v1.SsmlVoiceGender |
| 2146 |
12, // 2: google.cloud.texttospeech.v1.SynthesizeSpeechRequest.input:type_name -> google.cloud.texttospeech.v1.SynthesisInput |
| 2147 |
13, // 3: google.cloud.texttospeech.v1.SynthesizeSpeechRequest.voice:type_name -> google.cloud.texttospeech.v1.VoiceSelectionParams |
| 2148 |
14, // 4: google.cloud.texttospeech.v1.SynthesizeSpeechRequest.audio_config:type_name -> google.cloud.texttospeech.v1.AudioConfig |
| 2149 |
7, // 5: google.cloud.texttospeech.v1.SynthesizeSpeechRequest.advanced_voice_options:type_name -> google.cloud.texttospeech.v1.AdvancedVoiceOptions |
| 2150 |
2, // 6: google.cloud.texttospeech.v1.CustomPronunciationParams.phonetic_encoding:type_name -> google.cloud.texttospeech.v1.CustomPronunciationParams.PhoneticEncoding |
| 2151 |
9, // 7: google.cloud.texttospeech.v1.CustomPronunciations.pronunciations:type_name -> google.cloud.texttospeech.v1.CustomPronunciationParams |
| 2152 |
23, // 8: google.cloud.texttospeech.v1.MultiSpeakerMarkup.turns:type_name -> google.cloud.texttospeech.v1.MultiSpeakerMarkup.Turn |
| 2153 |
11, // 9: google.cloud.texttospeech.v1.SynthesisInput.multi_speaker_markup:type_name -> google.cloud.texttospeech.v1.MultiSpeakerMarkup |
| 2154 |
10, // 10: google.cloud.texttospeech.v1.SynthesisInput.custom_pronunciations:type_name -> google.cloud.texttospeech.v1.CustomPronunciations |
| 2155 |
0, // 11: google.cloud.texttospeech.v1.VoiceSelectionParams.ssml_gender:type_name -> google.cloud.texttospeech.v1.SsmlVoiceGender |
| 2156 |
15, // 12: google.cloud.texttospeech.v1.VoiceSelectionParams.custom_voice:type_name -> google.cloud.texttospeech.v1.CustomVoiceParams |
| 2157 |
16, // 13: google.cloud.texttospeech.v1.VoiceSelectionParams.voice_clone:type_name -> google.cloud.texttospeech.v1.VoiceCloneParams |
| 2158 |
1, // 14: google.cloud.texttospeech.v1.AudioConfig.audio_encoding:type_name -> google.cloud.texttospeech.v1.AudioEncoding |
| 2159 |
3, // 15: google.cloud.texttospeech.v1.CustomVoiceParams.reported_usage:type_name -> google.cloud.texttospeech.v1.CustomVoiceParams.ReportedUsage |
| 2160 |
1, // 16: google.cloud.texttospeech.v1.StreamingAudioConfig.audio_encoding:type_name -> google.cloud.texttospeech.v1.AudioEncoding |
| 2161 |
13, // 17: google.cloud.texttospeech.v1.StreamingSynthesizeConfig.voice:type_name -> google.cloud.texttospeech.v1.VoiceSelectionParams |
| 2162 |
18, // 18: google.cloud.texttospeech.v1.StreamingSynthesizeConfig.streaming_audio_config:type_name -> google.cloud.texttospeech.v1.StreamingAudioConfig |
| 2163 |
10, // 19: google.cloud.texttospeech.v1.StreamingSynthesizeConfig.custom_pronunciations:type_name -> google.cloud.texttospeech.v1.CustomPronunciations |
| 2164 |
19, // 20: google.cloud.texttospeech.v1.StreamingSynthesizeRequest.streaming_config:type_name -> google.cloud.texttospeech.v1.StreamingSynthesizeConfig |
| 2165 |
20, // 21: google.cloud.texttospeech.v1.StreamingSynthesizeRequest.input:type_name -> google.cloud.texttospeech.v1.StreamingSynthesisInput |
| 2166 |
4, // 22: google.cloud.texttospeech.v1.TextToSpeech.ListVoices:input_type -> google.cloud.texttospeech.v1.ListVoicesRequest |
| 2167 |
8, // 23: google.cloud.texttospeech.v1.TextToSpeech.SynthesizeSpeech:input_type -> google.cloud.texttospeech.v1.SynthesizeSpeechRequest |
| 2168 |
21, // 24: google.cloud.texttospeech.v1.TextToSpeech.StreamingSynthesize:input_type -> google.cloud.texttospeech.v1.StreamingSynthesizeRequest |
| 2169 |
5, // 25: google.cloud.texttospeech.v1.TextToSpeech.ListVoices:output_type -> google.cloud.texttospeech.v1.ListVoicesResponse |
| 2170 |
17, // 26: google.cloud.texttospeech.v1.TextToSpeech.SynthesizeSpeech:output_type -> google.cloud.texttospeech.v1.SynthesizeSpeechResponse |
| 2171 |
22, // 27: google.cloud.texttospeech.v1.TextToSpeech.StreamingSynthesize:output_type -> google.cloud.texttospeech.v1.StreamingSynthesizeResponse |
| 2172 |
25, // [25:28] is the sub-list for method output_type |
| 2173 |
22, // [22:25] is the sub-list for method input_type |
| 2174 |
22, // [22:22] is the sub-list for extension type_name |
| 2175 |
22, // [22:22] is the sub-list for extension extendee |
| 2176 |
0, // [0:22] is the sub-list for field type_name |
| 2177 |
} |
| 2178 |
|
| 2179 |
func init() { file_google_cloud_texttospeech_v1_cloud_tts_proto_init() } |
| 2180 |
func file_google_cloud_texttospeech_v1_cloud_tts_proto_init() { |
| 2181 |
if File_google_cloud_texttospeech_v1_cloud_tts_proto != nil { |
| 2182 |
return |
| 2183 |
} |
| 2184 |
file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[3].OneofWrappers = []any{} |
| 2185 |
file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[4].OneofWrappers = []any{} |
| 2186 |
file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[5].OneofWrappers = []any{} |
| 2187 |
file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[8].OneofWrappers = []any{ |
| 2188 |
(*SynthesisInput_Text)(nil), |
| 2189 |
(*SynthesisInput_Markup)(nil), |
| 2190 |
(*SynthesisInput_Ssml)(nil), |
| 2191 |
(*SynthesisInput_MultiSpeakerMarkup)(nil), |
| 2192 |
} |
| 2193 |
file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[16].OneofWrappers = []any{ |
| 2194 |
(*StreamingSynthesisInput_Text)(nil), |
| 2195 |
(*StreamingSynthesisInput_Markup)(nil), |
| 2196 |
} |
| 2197 |
file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes[17].OneofWrappers = []any{ |
| 2198 |
(*StreamingSynthesizeRequest_StreamingConfig)(nil), |
| 2199 |
(*StreamingSynthesizeRequest_Input)(nil), |
| 2200 |
} |
| 2201 |
type x struct{} |
| 2202 |
out := protoimpl.TypeBuilder{ |
| 2203 |
File: protoimpl.DescBuilder{ |
| 2204 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 2205 |
RawDescriptor: file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDesc, |
| 2206 |
NumEnums: 4, |
| 2207 |
NumMessages: 20, |
| 2208 |
NumExtensions: 0, |
| 2209 |
NumServices: 1, |
| 2210 |
}, |
| 2211 |
GoTypes: file_google_cloud_texttospeech_v1_cloud_tts_proto_goTypes, |
| 2212 |
DependencyIndexes: file_google_cloud_texttospeech_v1_cloud_tts_proto_depIdxs, |
| 2213 |
EnumInfos: file_google_cloud_texttospeech_v1_cloud_tts_proto_enumTypes, |
| 2214 |
MessageInfos: file_google_cloud_texttospeech_v1_cloud_tts_proto_msgTypes, |
| 2215 |
}.Build() |
| 2216 |
File_google_cloud_texttospeech_v1_cloud_tts_proto = out.File |
| 2217 |
file_google_cloud_texttospeech_v1_cloud_tts_proto_rawDesc = nil |
| 2218 |
file_google_cloud_texttospeech_v1_cloud_tts_proto_goTypes = nil |
| 2219 |
file_google_cloud_texttospeech_v1_cloud_tts_proto_depIdxs = nil |
| 2220 |
} |
| 2221 |
|
| 2222 |
// Reference imports to suppress errors if they are not otherwise used. |
| 2223 |
var _ context.Context |
| 2224 |
var _ grpc.ClientConnInterface |
| 2225 |
|
| 2226 |
// This is a compile-time assertion to ensure that this generated file |
| 2227 |
// is compatible with the grpc package it is being compiled against. |
| 2228 |
const _ = grpc.SupportPackageIsVersion6 |
| 2229 |
|
| 2230 |
// TextToSpeechClient is the client API for TextToSpeech service. |
| 2231 |
// |
| 2232 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 2233 |
type TextToSpeechClient interface { |
| 2234 |
// Returns a list of Voice supported for synthesis. |
| 2235 |
ListVoices(ctx context.Context, in *ListVoicesRequest, opts ...grpc.CallOption) (*ListVoicesResponse, error) |
| 2236 |
// Synthesizes speech synchronously: receive results after all text input |
| 2237 |
// has been processed. |
| 2238 |
SynthesizeSpeech(ctx context.Context, in *SynthesizeSpeechRequest, opts ...grpc.CallOption) (*SynthesizeSpeechResponse, error) |
| 2239 |
// Performs bidirectional streaming speech synthesis: receives audio while |
| 2240 |
// sending text. |
| 2241 |
StreamingSynthesize(ctx context.Context, opts ...grpc.CallOption) (TextToSpeech_StreamingSynthesizeClient, error) |
| 2242 |
} |
| 2243 |
|
| 2244 |
type textToSpeechClient struct { |
| 2245 |
cc grpc.ClientConnInterface |
| 2246 |
} |
| 2247 |
|
| 2248 |
func NewTextToSpeechClient(cc grpc.ClientConnInterface) TextToSpeechClient { |
| 2249 |
return &textToSpeechClient{cc} |
| 2250 |
} |
| 2251 |
|
| 2252 |
func (c *textToSpeechClient) ListVoices(ctx context.Context, in *ListVoicesRequest, opts ...grpc.CallOption) (*ListVoicesResponse, error) { |
| 2253 |
out := new(ListVoicesResponse) |
| 2254 |
err := c.cc.Invoke(ctx, "/google.cloud.texttospeech.v1.TextToSpeech/ListVoices", in, out, opts...) |
| 2255 |
if err != nil { |
| 2256 |
return nil, err |
| 2257 |
} |
| 2258 |
return out, nil |
| 2259 |
} |
| 2260 |
|
| 2261 |
func (c *textToSpeechClient) SynthesizeSpeech(ctx context.Context, in *SynthesizeSpeechRequest, opts ...grpc.CallOption) (*SynthesizeSpeechResponse, error) { |
| 2262 |
out := new(SynthesizeSpeechResponse) |
| 2263 |
err := c.cc.Invoke(ctx, "/google.cloud.texttospeech.v1.TextToSpeech/SynthesizeSpeech", in, out, opts...) |
| 2264 |
if err != nil { |
| 2265 |
return nil, err |
| 2266 |
} |
| 2267 |
return out, nil |
| 2268 |
} |
| 2269 |
|
| 2270 |
func (c *textToSpeechClient) StreamingSynthesize(ctx context.Context, opts ...grpc.CallOption) (TextToSpeech_StreamingSynthesizeClient, error) { |
| 2271 |
stream, err := c.cc.NewStream(ctx, &_TextToSpeech_serviceDesc.Streams[0], "/google.cloud.texttospeech.v1.TextToSpeech/StreamingSynthesize", opts...) |
| 2272 |
if err != nil { |
| 2273 |
return nil, err |
| 2274 |
} |
| 2275 |
x := &textToSpeechStreamingSynthesizeClient{stream} |
| 2276 |
return x, nil |
| 2277 |
} |
| 2278 |
|
| 2279 |
type TextToSpeech_StreamingSynthesizeClient interface { |
| 2280 |
Send(*StreamingSynthesizeRequest) error |
| 2281 |
Recv() (*StreamingSynthesizeResponse, error) |
| 2282 |
grpc.ClientStream |
| 2283 |
} |
| 2284 |
|
| 2285 |
type textToSpeechStreamingSynthesizeClient struct { |
| 2286 |
grpc.ClientStream |
| 2287 |
} |
| 2288 |
|
| 2289 |
func (x *textToSpeechStreamingSynthesizeClient) Send(m *StreamingSynthesizeRequest) error { |
| 2290 |
return x.ClientStream.SendMsg(m) |
| 2291 |
} |
| 2292 |
|
| 2293 |
func (x *textToSpeechStreamingSynthesizeClient) Recv() (*StreamingSynthesizeResponse, error) { |
| 2294 |
m := new(StreamingSynthesizeResponse) |
| 2295 |
if err := x.ClientStream.RecvMsg(m); err != nil { |
| 2296 |
return nil, err |
| 2297 |
} |
| 2298 |
return m, nil |
| 2299 |
} |
| 2300 |
|
| 2301 |
// TextToSpeechServer is the server API for TextToSpeech service. |
| 2302 |
type TextToSpeechServer interface { |
| 2303 |
// Returns a list of Voice supported for synthesis. |
| 2304 |
ListVoices(context.Context, *ListVoicesRequest) (*ListVoicesResponse, error) |
| 2305 |
// Synthesizes speech synchronously: receive results after all text input |
| 2306 |
// has been processed. |
| 2307 |
SynthesizeSpeech(context.Context, *SynthesizeSpeechRequest) (*SynthesizeSpeechResponse, error) |
| 2308 |
// Performs bidirectional streaming speech synthesis: receives audio while |
| 2309 |
// sending text. |
| 2310 |
StreamingSynthesize(TextToSpeech_StreamingSynthesizeServer) error |
| 2311 |
} |
| 2312 |
|
| 2313 |
// UnimplementedTextToSpeechServer can be embedded to have forward compatible implementations. |
| 2314 |
type UnimplementedTextToSpeechServer struct { |
| 2315 |
} |
| 2316 |
|
| 2317 |
func (*UnimplementedTextToSpeechServer) ListVoices(context.Context, *ListVoicesRequest) (*ListVoicesResponse, error) { |
| 2318 |
return nil, status.Errorf(codes.Unimplemented, "method ListVoices not implemented") |
| 2319 |
} |
| 2320 |
func (*UnimplementedTextToSpeechServer) SynthesizeSpeech(context.Context, *SynthesizeSpeechRequest) (*SynthesizeSpeechResponse, error) { |
| 2321 |
return nil, status.Errorf(codes.Unimplemented, "method SynthesizeSpeech not implemented") |
| 2322 |
} |
| 2323 |
func (*UnimplementedTextToSpeechServer) StreamingSynthesize(TextToSpeech_StreamingSynthesizeServer) error { |
| 2324 |
return status.Errorf(codes.Unimplemented, "method StreamingSynthesize not implemented") |
| 2325 |
} |
| 2326 |
|
| 2327 |
func RegisterTextToSpeechServer(s *grpc.Server, srv TextToSpeechServer) { |
| 2328 |
s.RegisterService(&_TextToSpeech_serviceDesc, srv) |
| 2329 |
} |
| 2330 |
|
| 2331 |
func _TextToSpeech_ListVoices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2332 |
in := new(ListVoicesRequest) |
| 2333 |
if err := dec(in); err != nil { |
| 2334 |
return nil, err |
| 2335 |
} |
| 2336 |
if interceptor == nil { |
| 2337 |
return srv.(TextToSpeechServer).ListVoices(ctx, in) |
| 2338 |
} |
| 2339 |
info := &grpc.UnaryServerInfo{ |
| 2340 |
Server: srv, |
| 2341 |
FullMethod: "/google.cloud.texttospeech.v1.TextToSpeech/ListVoices", |
| 2342 |
} |
| 2343 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2344 |
return srv.(TextToSpeechServer).ListVoices(ctx, req.(*ListVoicesRequest)) |
| 2345 |
} |
| 2346 |
return interceptor(ctx, in, info, handler) |
| 2347 |
} |
| 2348 |
|
| 2349 |
func _TextToSpeech_SynthesizeSpeech_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2350 |
in := new(SynthesizeSpeechRequest) |
| 2351 |
if err := dec(in); err != nil { |
| 2352 |
return nil, err |
| 2353 |
} |
| 2354 |
if interceptor == nil { |
| 2355 |
return srv.(TextToSpeechServer).SynthesizeSpeech(ctx, in) |
| 2356 |
} |
| 2357 |
info := &grpc.UnaryServerInfo{ |
| 2358 |
Server: srv, |
| 2359 |
FullMethod: "/google.cloud.texttospeech.v1.TextToSpeech/SynthesizeSpeech", |
| 2360 |
} |
| 2361 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2362 |
return srv.(TextToSpeechServer).SynthesizeSpeech(ctx, req.(*SynthesizeSpeechRequest)) |
| 2363 |
} |
| 2364 |
return interceptor(ctx, in, info, handler) |
| 2365 |
} |
| 2366 |
|
| 2367 |
func _TextToSpeech_StreamingSynthesize_Handler(srv interface{}, stream grpc.ServerStream) error { |
| 2368 |
return srv.(TextToSpeechServer).StreamingSynthesize(&textToSpeechStreamingSynthesizeServer{stream}) |
| 2369 |
} |
| 2370 |
|
| 2371 |
type TextToSpeech_StreamingSynthesizeServer interface { |
| 2372 |
Send(*StreamingSynthesizeResponse) error |
| 2373 |
Recv() (*StreamingSynthesizeRequest, error) |
| 2374 |
grpc.ServerStream |
| 2375 |
} |
| 2376 |
|
| 2377 |
type textToSpeechStreamingSynthesizeServer struct { |
| 2378 |
grpc.ServerStream |
| 2379 |
} |
| 2380 |
|
| 2381 |
func (x *textToSpeechStreamingSynthesizeServer) Send(m *StreamingSynthesizeResponse) error { |
| 2382 |
return x.ServerStream.SendMsg(m) |
| 2383 |
} |
| 2384 |
|
| 2385 |
func (x *textToSpeechStreamingSynthesizeServer) Recv() (*StreamingSynthesizeRequest, error) { |
| 2386 |
m := new(StreamingSynthesizeRequest) |
| 2387 |
if err := x.ServerStream.RecvMsg(m); err != nil { |
| 2388 |
return nil, err |
| 2389 |
} |
| 2390 |
return m, nil |
| 2391 |
} |
| 2392 |
|
| 2393 |
var _TextToSpeech_serviceDesc = grpc.ServiceDesc{ |
| 2394 |
ServiceName: "google.cloud.texttospeech.v1.TextToSpeech", |
| 2395 |
HandlerType: (*TextToSpeechServer)(nil), |
| 2396 |
Methods: []grpc.MethodDesc{ |
| 2397 |
{ |
| 2398 |
MethodName: "ListVoices", |
| 2399 |
Handler: _TextToSpeech_ListVoices_Handler, |
| 2400 |
}, |
| 2401 |
{ |
| 2402 |
MethodName: "SynthesizeSpeech", |
| 2403 |
Handler: _TextToSpeech_SynthesizeSpeech_Handler, |
| 2404 |
}, |
| 2405 |
}, |
| 2406 |
Streams: []grpc.StreamDesc{ |
| 2407 |
{ |
| 2408 |
StreamName: "StreamingSynthesize", |
| 2409 |
Handler: _TextToSpeech_StreamingSynthesize_Handler, |
| 2410 |
ServerStreams: true, |
| 2411 |
ClientStreams: true, |
| 2412 |
}, |
| 2413 |
}, |
| 2414 |
Metadata: "google/cloud/texttospeech/v1/cloud_tts.proto", |
| 2415 |
} |