Skip to content

Commit cb039bd

Browse files
Google APIscopybara-github
authored andcommitted
docs: update languages link
PiperOrigin-RevId: 359098874
1 parent cc4a856 commit cb039bd

9 files changed

Lines changed: 69 additions & 67 deletions

File tree

google/cloud/dialogflow/cx/v3beta1/BUILD.bazel

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file was automatically generated by BuildFileGenerator
2-
# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel
2+
# https://github.com/googleapis/rules_gapic/tree/master/bazel
33

44
# Most of the manual changes to this file will be overwritten.
55
# It's **only** allowed to change the following rule attribute values:
@@ -160,6 +160,7 @@ go_gapic_library(
160160
srcs = [":cx_proto_with_info"],
161161
grpc_service_config = "dialogflow_grpc_service_config.json",
162162
importpath = "cloud.google.com/go/dialogflow/cx/apiv3beta1;cx",
163+
metadata = True,
163164
service_yaml = "dialogflow_v3beta1.yaml",
164165
deps = [
165166
":cx_go_proto",
@@ -183,6 +184,7 @@ go_gapic_assembly_pkg(
183184
name = "gapi-cloud-dialogflow-cx-v3beta1-go",
184185
deps = [
185186
":cx_go_gapic",
187+
":cx_go_gapic_srcjar-metadata.srcjar",
186188
":cx_go_gapic_srcjar-test.srcjar",
187189
":cx_go_proto",
188190
],

google/cloud/dialogflow/cx/v3beta1/agent.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ message Agent {
161161

162162
// Immutable. The default language of the agent as a language tag.
163163
// See [Language
164-
// Support](https://cloud.google.com/dialogflow/docs/reference/language)
164+
// Support](https://cloud.google.com/dialogflow/cx/docs/reference/language)
165165
// for a list of the currently supported language codes.
166166
// This field cannot be set by the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3beta1.Agents.UpdateAgent] method.
167167
string default_language_code = 3 [(google.api.field_behavior) = IMMUTABLE];

google/cloud/dialogflow/cx/v3beta1/audio_config.proto

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,31 @@ option java_outer_classname = "AudioConfigProto";
2929
option java_package = "com.google.cloud.dialogflow.cx.v3beta1";
3030
option objc_class_prefix = "DF";
3131

32+
// Information for a word recognized by the speech recognizer.
33+
message SpeechWordInfo {
34+
// The word this info is for.
35+
string word = 3;
36+
37+
// Time offset relative to the beginning of the audio that corresponds to the
38+
// start of the spoken word. This is an experimental feature and the accuracy
39+
// of the time offset can vary.
40+
google.protobuf.Duration start_offset = 1;
41+
42+
// Time offset relative to the beginning of the audio that corresponds to the
43+
// end of the spoken word. This is an experimental feature and the accuracy of
44+
// the time offset can vary.
45+
google.protobuf.Duration end_offset = 2;
46+
47+
// The Speech confidence between 0.0 and 1.0 for this word. A higher number
48+
// indicates an estimated greater likelihood that the recognized word is
49+
// correct. The default of 0.0 is a sentinel value indicating that confidence
50+
// was not set.
51+
//
52+
// This field is not guaranteed to be fully stable over time for the same
53+
// audio input. Users should also not rely on it to always be provided.
54+
float confidence = 4;
55+
}
56+
3257
// Audio encoding of the audio content sent in the conversational query request.
3358
// Refer to the
3459
// [Cloud Speech API
@@ -78,31 +103,6 @@ enum AudioEncoding {
78103
AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE = 7;
79104
}
80105

81-
// Information for a word recognized by the speech recognizer.
82-
message SpeechWordInfo {
83-
// The word this info is for.
84-
string word = 3;
85-
86-
// Time offset relative to the beginning of the audio that corresponds to the
87-
// start of the spoken word. This is an experimental feature and the accuracy
88-
// of the time offset can vary.
89-
google.protobuf.Duration start_offset = 1;
90-
91-
// Time offset relative to the beginning of the audio that corresponds to the
92-
// end of the spoken word. This is an experimental feature and the accuracy of
93-
// the time offset can vary.
94-
google.protobuf.Duration end_offset = 2;
95-
96-
// The Speech confidence between 0.0 and 1.0 for this word. A higher number
97-
// indicates an estimated greater likelihood that the recognized word is
98-
// correct. The default of 0.0 is a sentinel value indicating that confidence
99-
// was not set.
100-
//
101-
// This field is not guaranteed to be fully stable over time for the same
102-
// audio input. Users should also not rely on it to always be provided.
103-
float confidence = 4;
104-
}
105-
106106
// Instructs the speech recognizer on how to process the audio content.
107107
message InputAudioConfig {
108108
// Required. Audio encoding of the audio content to process.
@@ -249,6 +249,22 @@ message SynthesizeSpeechConfig {
249249
VoiceSelectionParams voice = 4;
250250
}
251251

252+
// Instructs the speech synthesizer how to generate the output audio content.
253+
message OutputAudioConfig {
254+
// Required. Audio encoding of the synthesized audio content.
255+
OutputAudioEncoding audio_encoding = 1 [(google.api.field_behavior) = REQUIRED];
256+
257+
// Optional. The synthesis sample rate (in hertz) for this audio. If not
258+
// provided, then the synthesizer will use the default sample rate based on
259+
// the audio encoding. If this is different from the voice's natural sample
260+
// rate, then the synthesizer will honor this request by converting to the
261+
// desired sample rate (which might result in worse audio quality).
262+
int32 sample_rate_hertz = 2;
263+
264+
// Optional. Configuration of how speech should be synthesized.
265+
SynthesizeSpeechConfig synthesize_speech_config = 3;
266+
}
267+
252268
// Gender of the voice as described in
253269
// [SSML voice element](https://www.w3.org/TR/speech-synthesis11/#edef_voice).
254270
enum SsmlVoiceGender {
@@ -266,22 +282,6 @@ enum SsmlVoiceGender {
266282
SSML_VOICE_GENDER_NEUTRAL = 3;
267283
}
268284

269-
// Instructs the speech synthesizer how to generate the output audio content.
270-
message OutputAudioConfig {
271-
// Required. Audio encoding of the synthesized audio content.
272-
OutputAudioEncoding audio_encoding = 1 [(google.api.field_behavior) = REQUIRED];
273-
274-
// Optional. The synthesis sample rate (in hertz) for this audio. If not
275-
// provided, then the synthesizer will use the default sample rate based on
276-
// the audio encoding. If this is different from the voice's natural sample
277-
// rate, then the synthesizer will honor this request by converting to the
278-
// desired sample rate (which might result in worse audio quality).
279-
int32 sample_rate_hertz = 2;
280-
281-
// Optional. Configuration of how speech should be synthesized.
282-
SynthesizeSpeechConfig synthesize_speech_config = 3;
283-
}
284-
285285
// Audio encoding of the output audio format in Text-To-Speech.
286286
enum OutputAudioEncoding {
287287
// Not specified.

google/cloud/dialogflow/cx/v3beta1/entity_type.proto

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ message ListEntityTypesRequest {
231231
//
232232
// If not specified, the agent's default language is used.
233233
// [Many
234-
// languages](https://cloud.google.com/dialogflow/docs/reference/language)
234+
// languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
235235
// are supported.
236236
// Note: languages must be enabled in the agent before they can be used.
237237
string language_code = 2;
@@ -276,7 +276,7 @@ message GetEntityTypeRequest {
276276
//
277277
// If not specified, the agent's default language is used.
278278
// [Many
279-
// languages](https://cloud.google.com/dialogflow/docs/reference/language)
279+
// languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
280280
// are supported.
281281
// Note: languages must be enabled in the agent before they can be used.
282282
string language_code = 2;
@@ -304,7 +304,7 @@ message CreateEntityTypeRequest {
304304
//
305305
// If not specified, the agent's default language is used.
306306
// [Many
307-
// languages](https://cloud.google.com/dialogflow/docs/reference/language)
307+
// languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
308308
// are supported.
309309
// Note: languages must be enabled in the agent before they can be used.
310310
string language_code = 3;
@@ -323,7 +323,7 @@ message UpdateEntityTypeRequest {
323323
//
324324
// If not specified, the agent's default language is used.
325325
// [Many
326-
// languages](https://cloud.google.com/dialogflow/docs/reference/language)
326+
// languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
327327
// are supported.
328328
// Note: languages must be enabled in the agent before they can be used.
329329
string language_code = 2;

google/cloud/dialogflow/cx/v3beta1/flow.proto

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ message CreateFlowRequest {
250250
//
251251
// If not specified, the agent's default language is used.
252252
// [Many
253-
// languages](https://cloud.google.com/dialogflow/docs/reference/language)
253+
// languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
254254
// are supported.
255255
// Note: languages must be enabled in the agent before they can be used.
256256
string language_code = 3;
@@ -307,7 +307,7 @@ message ListFlowsRequest {
307307
//
308308
// If not specified, the agent's default language is used.
309309
// [Many
310-
// languages](https://cloud.google.com/dialogflow/docs/reference/language)
310+
// languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
311311
// are supported.
312312
// Note: languages must be enabled in the agent before they can be used.
313313
string language_code = 4;
@@ -344,7 +344,7 @@ message GetFlowRequest {
344344
//
345345
// If not specified, the agent's default language is used.
346346
// [Many
347-
// languages](https://cloud.google.com/dialogflow/docs/reference/language)
347+
// languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
348348
// are supported.
349349
// Note: languages must be enabled in the agent before they can be used.
350350
string language_code = 2;
@@ -366,7 +366,7 @@ message UpdateFlowRequest {
366366
//
367367
// If not specified, the agent's default language is used.
368368
// [Many
369-
// languages](https://cloud.google.com/dialogflow/docs/reference/language)
369+
// languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
370370
// are supported.
371371
// Note: languages must be enabled in the agent before they can be used.
372372
string language_code = 3;

google/cloud/dialogflow/cx/v3beta1/intent.proto

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ message ListIntentsRequest {
236236
//
237237
// If not specified, the agent's default language is used.
238238
// [Many
239-
// languages](https://cloud.google.com/dialogflow/docs/reference/language)
239+
// languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
240240
// are supported.
241241
// Note: languages must be enabled in the agent before they can be used.
242242
string language_code = 2;
@@ -282,7 +282,7 @@ message GetIntentRequest {
282282
//
283283
// If not specified, the agent's default language is used.
284284
// [Many
285-
// languages](https://cloud.google.com/dialogflow/docs/reference/language)
285+
// languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
286286
// are supported.
287287
// Note: languages must be enabled in the agent before they can be used.
288288
string language_code = 2;
@@ -308,7 +308,7 @@ message CreateIntentRequest {
308308
//
309309
// If not specified, the agent's default language is used.
310310
// [Many
311-
// languages](https://cloud.google.com/dialogflow/docs/reference/language)
311+
// languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
312312
// are supported.
313313
// Note: languages must be enabled in the agent before they can be used.
314314
string language_code = 3;
@@ -325,7 +325,7 @@ message UpdateIntentRequest {
325325
//
326326
// If not specified, the agent's default language is used.
327327
// [Many
328-
// languages](https://cloud.google.com/dialogflow/docs/reference/language)
328+
// languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
329329
// are supported.
330330
// Note: languages must be enabled in the agent before they can be used.
331331
string language_code = 2;

google/cloud/dialogflow/cx/v3beta1/page.proto

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ message ListPagesRequest {
386386
//
387387
// If not specified, the agent's default language is used.
388388
// [Many
389-
// languages](https://cloud.google.com/dialogflow/docs/reference/language)
389+
// languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
390390
// are supported.
391391
// Note: languages must be enabled in the agent before they can be used.
392392
string language_code = 2;
@@ -434,7 +434,7 @@ message GetPageRequest {
434434
//
435435
// If not specified, the agent's default language is used.
436436
// [Many
437-
// languages](https://cloud.google.com/dialogflow/docs/reference/language)
437+
// languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
438438
// are supported.
439439
// Note: languages must be enabled in the agent before they can be used.
440440
string language_code = 2;
@@ -466,7 +466,7 @@ message CreatePageRequest {
466466
//
467467
// If not specified, the agent's default language is used.
468468
// [Many
469-
// languages](https://cloud.google.com/dialogflow/docs/reference/language)
469+
// languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
470470
// are supported.
471471
// Note: languages must be enabled in the agent before they can be used.
472472
string language_code = 3;
@@ -488,7 +488,7 @@ message UpdatePageRequest {
488488
//
489489
// If not specified, the agent's default language is used.
490490
// [Many
491-
// languages](https://cloud.google.com/dialogflow/docs/reference/language)
491+
// languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
492492
// are supported.
493493
// Note: languages must be enabled in the agent before they can be used.
494494
string language_code = 2;

google/cloud/dialogflow/cx/v3beta1/session.proto

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -433,9 +433,9 @@ message QueryInput {
433433
}
434434

435435
// Required. The language of the input. See [Language
436-
// Support](https://cloud.google.com/dialogflow/docs/reference/language) for a
437-
// list of the currently supported language codes. Note that queries in the
438-
// same session do not necessarily need to specify the same language.
436+
// Support](https://cloud.google.com/dialogflow/cx/docs/reference/language)
437+
// for a list of the currently supported language codes. Note that queries in
438+
// the same session do not necessarily need to specify the same language.
439439
string language_code = 4 [(google.api.field_behavior) = REQUIRED];
440440
}
441441

@@ -462,7 +462,7 @@ message QueryResult {
462462

463463
// The language that was triggered during intent detection.
464464
// See [Language
465-
// Support](https://cloud.google.com/dialogflow/docs/reference/language)
465+
// Support](https://cloud.google.com/dialogflow/cx/docs/reference/language)
466466
// for a list of the currently supported language codes.
467467
string language_code = 2;
468468

google/cloud/dialogflow/cx/v3beta1/transition_route_group.proto

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ message ListTransitionRouteGroupsRequest {
130130
//
131131
// If not specified, the agent's default language is used.
132132
// [Many
133-
// languages](https://cloud.google.com/dialogflow/docs/reference/language)
133+
// languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
134134
// are supported.
135135
// Note: languages must be enabled in the agent before they can be used.
136136
string language_code = 4;
@@ -167,7 +167,7 @@ message GetTransitionRouteGroupRequest {
167167
//
168168
// If not specified, the agent's default language is used.
169169
// [Many
170-
// languages](https://cloud.google.com/dialogflow/docs/reference/language)
170+
// languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
171171
// are supported.
172172
// Note: languages must be enabled in the agent before they can be used.
173173
string language_code = 2;
@@ -194,7 +194,7 @@ message CreateTransitionRouteGroupRequest {
194194
//
195195
// If not specified, the agent's default language is used.
196196
// [Many
197-
// languages](https://cloud.google.com/dialogflow/docs/reference/language)
197+
// languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
198198
// are supported.
199199
// Note: languages must be enabled in the agent before they can be used.
200200
string language_code = 3;
@@ -214,7 +214,7 @@ message UpdateTransitionRouteGroupRequest {
214214
//
215215
// If not specified, the agent's default language is used.
216216
// [Many
217-
// languages](https://cloud.google.com/dialogflow/docs/reference/language)
217+
// languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
218218
// are supported.
219219
// Note: languages must be enabled in the agent before they can be used.
220220
string language_code = 3;

0 commit comments

Comments
 (0)