Class Agent.Builder (0.52.0)

public static final class Agent.Builder extends GeneratedMessageV3.Builder<Agent.Builder> implements AgentOrBuilder

Agents are best described as Natural Language Understanding (NLU) modules that transform user requests into actionable data. You can include agents in your app, product, or service to determine user intent and respond to the user in a natural way.

After you create an agent, you can add Intents, Entity Types, Flows, Fulfillments, Webhooks, TransitionRouteGroups and so on to manage the conversation flows.

Protobuf type google.cloud.dialogflow.cx.v3beta1.Agent

Implements

AgentOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllSupportedLanguageCodes(Iterable<String> values)

public Agent.Builder addAllSupportedLanguageCodes(Iterable<String> values)

The list of all languages supported by the agent (except for the default_language_code).

repeated string supported_language_codes = 4;

Parameter
NameDescription
valuesIterable<String>

The supportedLanguageCodes to add.

Returns
TypeDescription
Agent.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Agent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Agent.Builder
Overrides

addSupportedLanguageCodes(String value)

public Agent.Builder addSupportedLanguageCodes(String value)

The list of all languages supported by the agent (except for the default_language_code).

repeated string supported_language_codes = 4;

Parameter
NameDescription
valueString

The supportedLanguageCodes to add.

Returns
TypeDescription
Agent.Builder

This builder for chaining.

addSupportedLanguageCodesBytes(ByteString value)

public Agent.Builder addSupportedLanguageCodesBytes(ByteString value)

The list of all languages supported by the agent (except for the default_language_code).

repeated string supported_language_codes = 4;

Parameter
NameDescription
valueByteString

The bytes of the supportedLanguageCodes to add.

Returns
TypeDescription
Agent.Builder

This builder for chaining.

build()

public Agent build()
Returns
TypeDescription
Agent

buildPartial()

public Agent buildPartial()
Returns
TypeDescription
Agent

clear()

public Agent.Builder clear()
Returns
TypeDescription
Agent.Builder
Overrides

clearAdvancedSettings()

public Agent.Builder clearAdvancedSettings()

Hierarchical advanced settings for this agent. The settings exposed at the lower level overrides the settings exposed at the higher level.

.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings advanced_settings = 22;

Returns
TypeDescription
Agent.Builder

clearAnswerFeedbackSettings()

public Agent.Builder clearAnswerFeedbackSettings()

Optional. Answer feedback collection settings.

.google.cloud.dialogflow.cx.v3beta1.Agent.AnswerFeedbackSettings answer_feedback_settings = 38 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Agent.Builder

clearAvatarUri()

public Agent.Builder clearAvatarUri()

The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted Web Demo integration.

string avatar_uri = 7;

Returns
TypeDescription
Agent.Builder

This builder for chaining.

clearDefaultLanguageCode()

public Agent.Builder clearDefaultLanguageCode()

Required. Immutable. The default language of the agent as a language tag. See Language Support for a list of the currently supported language codes. This field cannot be set by the Agents.UpdateAgent method.

string default_language_code = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
Agent.Builder

This builder for chaining.

clearDescription()

public Agent.Builder clearDescription()

The description of the agent. The maximum length is 500 characters. If exceeded, the request is rejected.

string description = 6;

Returns
TypeDescription
Agent.Builder

This builder for chaining.

clearDisplayName()

public Agent.Builder clearDisplayName()

Required. The human-readable name of the agent, unique within the location.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Agent.Builder

This builder for chaining.

clearEnableMultiLanguageTraining()

public Agent.Builder clearEnableMultiLanguageTraining()

Optional. Enable training multi-lingual models for this agent. These models will be trained on all the languages supported by the agent.

bool enable_multi_language_training = 40 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Agent.Builder

This builder for chaining.

clearEnableSpellCorrection()

public Agent.Builder clearEnableSpellCorrection()

Indicates if automatic spell correction is enabled in detect intent requests.

bool enable_spell_correction = 20;

Returns
TypeDescription
Agent.Builder

This builder for chaining.

clearEnableStackdriverLogging() (deprecated)

public Agent.Builder clearEnableStackdriverLogging()

Deprecated. google.cloud.dialogflow.cx.v3beta1.Agent.enable_stackdriver_logging is deprecated. See google/cloud/dialogflow/cx/v3beta1/agent.proto;l=353

Indicates if stackdriver logging is enabled for the agent. Please use agent.advanced_settings instead.

bool enable_stackdriver_logging = 18 [deprecated = true];

Returns
TypeDescription
Agent.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Agent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Agent.Builder
Overrides

clearGenAppBuilderSettings()

public Agent.Builder clearGenAppBuilderSettings()

Gen App Builder-related agent-level settings.

optional .google.cloud.dialogflow.cx.v3beta1.Agent.GenAppBuilderSettings gen_app_builder_settings = 33;

Returns
TypeDescription
Agent.Builder

clearGitIntegrationSettings()

public Agent.Builder clearGitIntegrationSettings()

Git integration settings for this agent.

.google.cloud.dialogflow.cx.v3beta1.Agent.GitIntegrationSettings git_integration_settings = 30;

Returns
TypeDescription
Agent.Builder

clearLocked()

public Agent.Builder clearLocked()

Indicates whether the agent is locked for changes. If the agent is locked, modifications to the agent will be rejected except for [RestoreAgent][].

bool locked = 27;

Returns
TypeDescription
Agent.Builder

This builder for chaining.

clearName()

public Agent.Builder clearName()

The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

string name = 1;

Returns
TypeDescription
Agent.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Agent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Agent.Builder
Overrides

clearPersonalizationSettings()

public Agent.Builder clearPersonalizationSettings()

Optional. Settings for end user personalization.

.google.cloud.dialogflow.cx.v3beta1.Agent.PersonalizationSettings personalization_settings = 42 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Agent.Builder

clearSecuritySettings()

public Agent.Builder clearSecuritySettings()

Name of the SecuritySettings reference for the agent. Format: projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>.

string security_settings = 17 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
Agent.Builder

This builder for chaining.

clearSpeechToTextSettings()

public Agent.Builder clearSpeechToTextSettings()

Speech recognition related settings.

.google.cloud.dialogflow.cx.v3beta1.SpeechToTextSettings speech_to_text_settings = 13;

Returns
TypeDescription
Agent.Builder

clearStartFlow()

public Agent.Builder clearStartFlow()

Immutable. Name of the start flow in this agent. A start flow will be automatically created when the agent is created, and can only be deleted by deleting the agent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

string start_flow = 16 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
Agent.Builder

This builder for chaining.

clearStartPlaybook()

public Agent.Builder clearStartPlaybook()

Optional. Name of the start playbook in this agent. A start playbook will be automatically created when the agent is created, and can only be deleted by deleting the agent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/playbooks/<Playbook ID>. Currently only the default playbook with id "00000000-0000-0000-0000-000000000000" is allowed.

Only one of start_flow or start_playbook should be set, but not both.

string start_playbook = 39 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
Agent.Builder

This builder for chaining.

clearSupportedLanguageCodes()

public Agent.Builder clearSupportedLanguageCodes()

The list of all languages supported by the agent (except for the default_language_code).

repeated string supported_language_codes = 4;

Returns
TypeDescription
Agent.Builder

This builder for chaining.

clearTextToSpeechSettings()

public Agent.Builder clearTextToSpeechSettings()

Settings on instructing the speech synthesizer on how to generate the output audio content.

.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings text_to_speech_settings = 31;

Returns
TypeDescription
Agent.Builder

clearTimeZone()

public Agent.Builder clearTimeZone()

Required. The time zone of the agent from the time zone database, e.g., America/New_York, Europe/Paris.

string time_zone = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Agent.Builder

This builder for chaining.

clone()

public Agent.Builder clone()
Returns
TypeDescription
Agent.Builder
Overrides

getAdvancedSettings()

public AdvancedSettings getAdvancedSettings()

Hierarchical advanced settings for this agent. The settings exposed at the lower level overrides the settings exposed at the higher level.

.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings advanced_settings = 22;

Returns
TypeDescription
AdvancedSettings

The advancedSettings.

getAdvancedSettingsBuilder()

public AdvancedSettings.Builder getAdvancedSettingsBuilder()

Hierarchical advanced settings for this agent. The settings exposed at the lower level overrides the settings exposed at the higher level.

.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings advanced_settings = 22;

Returns
TypeDescription
AdvancedSettings.Builder

getAdvancedSettingsOrBuilder()

public AdvancedSettingsOrBuilder getAdvancedSettingsOrBuilder()

Hierarchical advanced settings for this agent. The settings exposed at the lower level overrides the settings exposed at the higher level.

.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings advanced_settings = 22;

Returns
TypeDescription
AdvancedSettingsOrBuilder

getAnswerFeedbackSettings()

public Agent.AnswerFeedbackSettings getAnswerFeedbackSettings()

Optional. Answer feedback collection settings.

.google.cloud.dialogflow.cx.v3beta1.Agent.AnswerFeedbackSettings answer_feedback_settings = 38 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Agent.AnswerFeedbackSettings

The answerFeedbackSettings.

getAnswerFeedbackSettingsBuilder()

public Agent.AnswerFeedbackSettings.Builder getAnswerFeedbackSettingsBuilder()

Optional. Answer feedback collection settings.

.google.cloud.dialogflow.cx.v3beta1.Agent.AnswerFeedbackSettings answer_feedback_settings = 38 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Agent.AnswerFeedbackSettings.Builder

getAnswerFeedbackSettingsOrBuilder()

public Agent.AnswerFeedbackSettingsOrBuilder getAnswerFeedbackSettingsOrBuilder()

Optional. Answer feedback collection settings.

.google.cloud.dialogflow.cx.v3beta1.Agent.AnswerFeedbackSettings answer_feedback_settings = 38 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Agent.AnswerFeedbackSettingsOrBuilder

getAvatarUri()

public String getAvatarUri()

The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted Web Demo integration.

string avatar_uri = 7;

Returns
TypeDescription
String

The avatarUri.

getAvatarUriBytes()

public ByteString getAvatarUriBytes()

The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted Web Demo integration.

string avatar_uri = 7;

Returns
TypeDescription
ByteString

The bytes for avatarUri.

getDefaultInstanceForType()

public Agent getDefaultInstanceForType()
Returns
TypeDescription
Agent

getDefaultLanguageCode()

public String getDefaultLanguageCode()

Required. Immutable. The default language of the agent as a language tag. See Language Support for a list of the currently supported language codes. This field cannot be set by the Agents.UpdateAgent method.

string default_language_code = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
String

The defaultLanguageCode.

getDefaultLanguageCodeBytes()

public ByteString getDefaultLanguageCodeBytes()

Required. Immutable. The default language of the agent as a language tag. See Language Support for a list of the currently supported language codes. This field cannot be set by the Agents.UpdateAgent method.

string default_language_code = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ByteString

The bytes for defaultLanguageCode.

getDescription()

public String getDescription()

The description of the agent. The maximum length is 500 characters. If exceeded, the request is rejected.

string description = 6;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The description of the agent. The maximum length is 500 characters. If exceeded, the request is rejected.

string description = 6;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Required. The human-readable name of the agent, unique within the location.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. The human-readable name of the agent, unique within the location.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for displayName.

getEnableMultiLanguageTraining()

public boolean getEnableMultiLanguageTraining()

Optional. Enable training multi-lingual models for this agent. These models will be trained on all the languages supported by the agent.

bool enable_multi_language_training = 40 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The enableMultiLanguageTraining.

getEnableSpellCorrection()

public boolean getEnableSpellCorrection()

Indicates if automatic spell correction is enabled in detect intent requests.

bool enable_spell_correction = 20;

Returns
TypeDescription
boolean

The enableSpellCorrection.

getEnableStackdriverLogging() (deprecated)

public boolean getEnableStackdriverLogging()

Deprecated. google.cloud.dialogflow.cx.v3beta1.Agent.enable_stackdriver_logging is deprecated. See google/cloud/dialogflow/cx/v3beta1/agent.proto;l=353

Indicates if stackdriver logging is enabled for the agent. Please use agent.advanced_settings instead.

bool enable_stackdriver_logging = 18 [deprecated = true];

Returns
TypeDescription
boolean

The enableStackdriverLogging.

getGenAppBuilderSettings()

public Agent.GenAppBuilderSettings getGenAppBuilderSettings()

Gen App Builder-related agent-level settings.

optional .google.cloud.dialogflow.cx.v3beta1.Agent.GenAppBuilderSettings gen_app_builder_settings = 33;

Returns
TypeDescription
Agent.GenAppBuilderSettings

The genAppBuilderSettings.

getGenAppBuilderSettingsBuilder()

public Agent.GenAppBuilderSettings.Builder getGenAppBuilderSettingsBuilder()

Gen App Builder-related agent-level settings.

optional .google.cloud.dialogflow.cx.v3beta1.Agent.GenAppBuilderSettings gen_app_builder_settings = 33;

Returns
TypeDescription
Agent.GenAppBuilderSettings.Builder

getGenAppBuilderSettingsOrBuilder()

public Agent.GenAppBuilderSettingsOrBuilder getGenAppBuilderSettingsOrBuilder()

Gen App Builder-related agent-level settings.

optional .google.cloud.dialogflow.cx.v3beta1.Agent.GenAppBuilderSettings gen_app_builder_settings = 33;

Returns
TypeDescription
Agent.GenAppBuilderSettingsOrBuilder

getGitIntegrationSettings()

public Agent.GitIntegrationSettings getGitIntegrationSettings()

Git integration settings for this agent.

.google.cloud.dialogflow.cx.v3beta1.Agent.GitIntegrationSettings git_integration_settings = 30;

Returns
TypeDescription
Agent.GitIntegrationSettings

The gitIntegrationSettings.

getGitIntegrationSettingsBuilder()

public Agent.GitIntegrationSettings.Builder getGitIntegrationSettingsBuilder()

Git integration settings for this agent.

.google.cloud.dialogflow.cx.v3beta1.Agent.GitIntegrationSettings git_integration_settings = 30;

Returns
TypeDescription
Agent.GitIntegrationSettings.Builder

getGitIntegrationSettingsOrBuilder()

public Agent.GitIntegrationSettingsOrBuilder getGitIntegrationSettingsOrBuilder()

Git integration settings for this agent.

.google.cloud.dialogflow.cx.v3beta1.Agent.GitIntegrationSettings git_integration_settings = 30;

Returns
TypeDescription
Agent.GitIntegrationSettingsOrBuilder

getLocked()

public boolean getLocked()

Indicates whether the agent is locked for changes. If the agent is locked, modifications to the agent will be rejected except for [RestoreAgent][].

bool locked = 27;

Returns
TypeDescription
boolean

The locked.

getName()

public String getName()

The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getPersonalizationSettings()

public Agent.PersonalizationSettings getPersonalizationSettings()

Optional. Settings for end user personalization.

.google.cloud.dialogflow.cx.v3beta1.Agent.PersonalizationSettings personalization_settings = 42 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Agent.PersonalizationSettings

The personalizationSettings.

getPersonalizationSettingsBuilder()

public Agent.PersonalizationSettings.Builder getPersonalizationSettingsBuilder()

Optional. Settings for end user personalization.

.google.cloud.dialogflow.cx.v3beta1.Agent.PersonalizationSettings personalization_settings = 42 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Agent.PersonalizationSettings.Builder

getPersonalizationSettingsOrBuilder()

public Agent.PersonalizationSettingsOrBuilder getPersonalizationSettingsOrBuilder()

Optional. Settings for end user personalization.

.google.cloud.dialogflow.cx.v3beta1.Agent.PersonalizationSettings personalization_settings = 42 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Agent.PersonalizationSettingsOrBuilder

getSecuritySettings()

public String getSecuritySettings()

Name of the SecuritySettings reference for the agent. Format: projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>.

string security_settings = 17 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The securitySettings.

getSecuritySettingsBytes()

public ByteString getSecuritySettingsBytes()

Name of the SecuritySettings reference for the agent. Format: projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>.

string security_settings = 17 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for securitySettings.

getSpeechToTextSettings()

public SpeechToTextSettings getSpeechToTextSettings()

Speech recognition related settings.

.google.cloud.dialogflow.cx.v3beta1.SpeechToTextSettings speech_to_text_settings = 13;

Returns
TypeDescription
SpeechToTextSettings

The speechToTextSettings.

getSpeechToTextSettingsBuilder()

public SpeechToTextSettings.Builder getSpeechToTextSettingsBuilder()

Speech recognition related settings.

.google.cloud.dialogflow.cx.v3beta1.SpeechToTextSettings speech_to_text_settings = 13;

Returns
TypeDescription
SpeechToTextSettings.Builder

getSpeechToTextSettingsOrBuilder()

public SpeechToTextSettingsOrBuilder getSpeechToTextSettingsOrBuilder()

Speech recognition related settings.

.google.cloud.dialogflow.cx.v3beta1.SpeechToTextSettings speech_to_text_settings = 13;

Returns
TypeDescription
SpeechToTextSettingsOrBuilder

getStartFlow()

public String getStartFlow()

Immutable. Name of the start flow in this agent. A start flow will be automatically created when the agent is created, and can only be deleted by deleting the agent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

string start_flow = 16 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The startFlow.

getStartFlowBytes()

public ByteString getStartFlowBytes()

Immutable. Name of the start flow in this agent. A start flow will be automatically created when the agent is created, and can only be deleted by deleting the agent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

string start_flow = 16 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for startFlow.

getStartPlaybook()

public String getStartPlaybook()

Optional. Name of the start playbook in this agent. A start playbook will be automatically created when the agent is created, and can only be deleted by deleting the agent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/playbooks/<Playbook ID>. Currently only the default playbook with id "00000000-0000-0000-0000-000000000000" is allowed.

Only one of start_flow or start_playbook should be set, but not both.

string start_playbook = 39 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The startPlaybook.

getStartPlaybookBytes()

public ByteString getStartPlaybookBytes()

Optional. Name of the start playbook in this agent. A start playbook will be automatically created when the agent is created, and can only be deleted by deleting the agent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/playbooks/<Playbook ID>. Currently only the default playbook with id "00000000-0000-0000-0000-000000000000" is allowed.

Only one of start_flow or start_playbook should be set, but not both.

string start_playbook = 39 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for startPlaybook.

getSupportedLanguageCodes(int index)

public String getSupportedLanguageCodes(int index)

The list of all languages supported by the agent (except for the default_language_code).

repeated string supported_language_codes = 4;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The supportedLanguageCodes at the given index.

getSupportedLanguageCodesBytes(int index)

public ByteString getSupportedLanguageCodesBytes(int index)

The list of all languages supported by the agent (except for the default_language_code).

repeated string supported_language_codes = 4;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the supportedLanguageCodes at the given index.

getSupportedLanguageCodesCount()

public int getSupportedLanguageCodesCount()

The list of all languages supported by the agent (except for the default_language_code).

repeated string supported_language_codes = 4;

Returns
TypeDescription
int

The count of supportedLanguageCodes.

getSupportedLanguageCodesList()

public ProtocolStringList getSupportedLanguageCodesList()

The list of all languages supported by the agent (except for the default_language_code).

repeated string supported_language_codes = 4;

Returns
TypeDescription
ProtocolStringList

A list containing the supportedLanguageCodes.

getTextToSpeechSettings()

public TextToSpeechSettings getTextToSpeechSettings()

Settings on instructing the speech synthesizer on how to generate the output audio content.

.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings text_to_speech_settings = 31;

Returns
TypeDescription
TextToSpeechSettings

The textToSpeechSettings.

getTextToSpeechSettingsBuilder()

public TextToSpeechSettings.Builder getTextToSpeechSettingsBuilder()

Settings on instructing the speech synthesizer on how to generate the output audio content.

.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings text_to_speech_settings = 31;

Returns
TypeDescription
TextToSpeechSettings.Builder

getTextToSpeechSettingsOrBuilder()

public TextToSpeechSettingsOrBuilder getTextToSpeechSettingsOrBuilder()

Settings on instructing the speech synthesizer on how to generate the output audio content.

.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings text_to_speech_settings = 31;

Returns
TypeDescription
TextToSpeechSettingsOrBuilder

getTimeZone()

public String getTimeZone()

Required. The time zone of the agent from the time zone database, e.g., America/New_York, Europe/Paris.

string time_zone = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The timeZone.

getTimeZoneBytes()

public ByteString getTimeZoneBytes()

Required. The time zone of the agent from the time zone database, e.g., America/New_York, Europe/Paris.

string time_zone = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for timeZone.

hasAdvancedSettings()

public boolean hasAdvancedSettings()

Hierarchical advanced settings for this agent. The settings exposed at the lower level overrides the settings exposed at the higher level.

.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings advanced_settings = 22;

Returns
TypeDescription
boolean

Whether the advancedSettings field is set.

hasAnswerFeedbackSettings()

public boolean hasAnswerFeedbackSettings()

Optional. Answer feedback collection settings.

.google.cloud.dialogflow.cx.v3beta1.Agent.AnswerFeedbackSettings answer_feedback_settings = 38 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the answerFeedbackSettings field is set.

hasGenAppBuilderSettings()

public boolean hasGenAppBuilderSettings()

Gen App Builder-related agent-level settings.

optional .google.cloud.dialogflow.cx.v3beta1.Agent.GenAppBuilderSettings gen_app_builder_settings = 33;

Returns
TypeDescription
boolean

Whether the genAppBuilderSettings field is set.

hasGitIntegrationSettings()

public boolean hasGitIntegrationSettings()

Git integration settings for this agent.

.google.cloud.dialogflow.cx.v3beta1.Agent.GitIntegrationSettings git_integration_settings = 30;

Returns
TypeDescription
boolean

Whether the gitIntegrationSettings field is set.

hasPersonalizationSettings()

public boolean hasPersonalizationSettings()

Optional. Settings for end user personalization.

.google.cloud.dialogflow.cx.v3beta1.Agent.PersonalizationSettings personalization_settings = 42 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the personalizationSettings field is set.

hasSpeechToTextSettings()

public boolean hasSpeechToTextSettings()

Speech recognition related settings.

.google.cloud.dialogflow.cx.v3beta1.SpeechToTextSettings speech_to_text_settings = 13;

Returns
TypeDescription
boolean

Whether the speechToTextSettings field is set.

hasTextToSpeechSettings()

public boolean hasTextToSpeechSettings()

Settings on instructing the speech synthesizer on how to generate the output audio content.

.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings text_to_speech_settings = 31;

Returns
TypeDescription
boolean

Whether the textToSpeechSettings field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAdvancedSettings(AdvancedSettings value)

public Agent.Builder mergeAdvancedSettings(AdvancedSettings value)

Hierarchical advanced settings for this agent. The settings exposed at the lower level overrides the settings exposed at the higher level.

.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings advanced_settings = 22;

Parameter
NameDescription
valueAdvancedSettings
Returns
TypeDescription
Agent.Builder

mergeAnswerFeedbackSettings(Agent.AnswerFeedbackSettings value)

public Agent.Builder mergeAnswerFeedbackSettings(Agent.AnswerFeedbackSettings value)

Optional. Answer feedback collection settings.

.google.cloud.dialogflow.cx.v3beta1.Agent.AnswerFeedbackSettings answer_feedback_settings = 38 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueAgent.AnswerFeedbackSettings
Returns
TypeDescription
Agent.Builder

mergeFrom(Agent other)

public Agent.Builder mergeFrom(Agent other)
Parameter
NameDescription
otherAgent
Returns
TypeDescription
Agent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Agent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Agent.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Agent.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Agent.Builder
Overrides

mergeGenAppBuilderSettings(Agent.GenAppBuilderSettings value)

public Agent.Builder mergeGenAppBuilderSettings(Agent.GenAppBuilderSettings value)

Gen App Builder-related agent-level settings.

optional .google.cloud.dialogflow.cx.v3beta1.Agent.GenAppBuilderSettings gen_app_builder_settings = 33;

Parameter
NameDescription
valueAgent.GenAppBuilderSettings
Returns
TypeDescription
Agent.Builder

mergeGitIntegrationSettings(Agent.GitIntegrationSettings value)

public Agent.Builder mergeGitIntegrationSettings(Agent.GitIntegrationSettings value)

Git integration settings for this agent.

.google.cloud.dialogflow.cx.v3beta1.Agent.GitIntegrationSettings git_integration_settings = 30;

Parameter
NameDescription
valueAgent.GitIntegrationSettings
Returns
TypeDescription
Agent.Builder

mergePersonalizationSettings(Agent.PersonalizationSettings value)

public Agent.Builder mergePersonalizationSettings(Agent.PersonalizationSettings value)

Optional. Settings for end user personalization.

.google.cloud.dialogflow.cx.v3beta1.Agent.PersonalizationSettings personalization_settings = 42 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueAgent.PersonalizationSettings
Returns
TypeDescription
Agent.Builder

mergeSpeechToTextSettings(SpeechToTextSettings value)

public Agent.Builder mergeSpeechToTextSettings(SpeechToTextSettings value)

Speech recognition related settings.

.google.cloud.dialogflow.cx.v3beta1.SpeechToTextSettings speech_to_text_settings = 13;

Parameter
NameDescription
valueSpeechToTextSettings
Returns
TypeDescription
Agent.Builder

mergeTextToSpeechSettings(TextToSpeechSettings value)

public Agent.Builder mergeTextToSpeechSettings(TextToSpeechSettings value)

Settings on instructing the speech synthesizer on how to generate the output audio content.

.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings text_to_speech_settings = 31;

Parameter
NameDescription
valueTextToSpeechSettings
Returns
TypeDescription
Agent.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Agent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Agent.Builder
Overrides

setAdvancedSettings(AdvancedSettings value)

public Agent.Builder setAdvancedSettings(AdvancedSettings value)

Hierarchical advanced settings for this agent. The settings exposed at the lower level overrides the settings exposed at the higher level.

.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings advanced_settings = 22;

Parameter
NameDescription
valueAdvancedSettings
Returns
TypeDescription
Agent.Builder

setAdvancedSettings(AdvancedSettings.Builder builderForValue)

public Agent.Builder setAdvancedSettings(AdvancedSettings.Builder builderForValue)

Hierarchical advanced settings for this agent. The settings exposed at the lower level overrides the settings exposed at the higher level.

.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings advanced_settings = 22;

Parameter
NameDescription
builderForValueAdvancedSettings.Builder
Returns
TypeDescription
Agent.Builder

setAnswerFeedbackSettings(Agent.AnswerFeedbackSettings value)

public Agent.Builder setAnswerFeedbackSettings(Agent.AnswerFeedbackSettings value)

Optional. Answer feedback collection settings.

.google.cloud.dialogflow.cx.v3beta1.Agent.AnswerFeedbackSettings answer_feedback_settings = 38 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueAgent.AnswerFeedbackSettings
Returns
TypeDescription
Agent.Builder

setAnswerFeedbackSettings(Agent.AnswerFeedbackSettings.Builder builderForValue)

public Agent.Builder setAnswerFeedbackSettings(Agent.AnswerFeedbackSettings.Builder builderForValue)

Optional. Answer feedback collection settings.

.google.cloud.dialogflow.cx.v3beta1.Agent.AnswerFeedbackSettings answer_feedback_settings = 38 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueAgent.AnswerFeedbackSettings.Builder
Returns
TypeDescription
Agent.Builder

setAvatarUri(String value)

public Agent.Builder setAvatarUri(String value)

The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted Web Demo integration.

string avatar_uri = 7;

Parameter
NameDescription
valueString

The avatarUri to set.

Returns
TypeDescription
Agent.Builder

This builder for chaining.

setAvatarUriBytes(ByteString value)

public Agent.Builder setAvatarUriBytes(ByteString value)

The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted Web Demo integration.

string avatar_uri = 7;

Parameter
NameDescription
valueByteString

The bytes for avatarUri to set.

Returns
TypeDescription
Agent.Builder

This builder for chaining.

setDefaultLanguageCode(String value)

public Agent.Builder setDefaultLanguageCode(String value)

Required. Immutable. The default language of the agent as a language tag. See Language Support for a list of the currently supported language codes. This field cannot be set by the Agents.UpdateAgent method.

string default_language_code = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueString

The defaultLanguageCode to set.

Returns
TypeDescription
Agent.Builder

This builder for chaining.

setDefaultLanguageCodeBytes(ByteString value)

public Agent.Builder setDefaultLanguageCodeBytes(ByteString value)

Required. Immutable. The default language of the agent as a language tag. See Language Support for a list of the currently supported language codes. This field cannot be set by the Agents.UpdateAgent method.

string default_language_code = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueByteString

The bytes for defaultLanguageCode to set.

Returns
TypeDescription
Agent.Builder

This builder for chaining.

setDescription(String value)

public Agent.Builder setDescription(String value)

The description of the agent. The maximum length is 500 characters. If exceeded, the request is rejected.

string description = 6;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
Agent.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Agent.Builder setDescriptionBytes(ByteString value)

The description of the agent. The maximum length is 500 characters. If exceeded, the request is rejected.

string description = 6;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
Agent.Builder

This builder for chaining.

setDisplayName(String value)

public Agent.Builder setDisplayName(String value)

Required. The human-readable name of the agent, unique within the location.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
Agent.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Agent.Builder setDisplayNameBytes(ByteString value)

Required. The human-readable name of the agent, unique within the location.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
Agent.Builder

This builder for chaining.

setEnableMultiLanguageTraining(boolean value)

public Agent.Builder setEnableMultiLanguageTraining(boolean value)

Optional. Enable training multi-lingual models for this agent. These models will be trained on all the languages supported by the agent.

bool enable_multi_language_training = 40 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueboolean

The enableMultiLanguageTraining to set.

Returns
TypeDescription
Agent.Builder

This builder for chaining.

setEnableSpellCorrection(boolean value)

public Agent.Builder setEnableSpellCorrection(boolean value)

Indicates if automatic spell correction is enabled in detect intent requests.

bool enable_spell_correction = 20;

Parameter
NameDescription
valueboolean

The enableSpellCorrection to set.

Returns
TypeDescription
Agent.Builder

This builder for chaining.

setEnableStackdriverLogging(boolean value) (deprecated)

public Agent.Builder setEnableStackdriverLogging(boolean value)

Deprecated. google.cloud.dialogflow.cx.v3beta1.Agent.enable_stackdriver_logging is deprecated. See google/cloud/dialogflow/cx/v3beta1/agent.proto;l=353

Indicates if stackdriver logging is enabled for the agent. Please use agent.advanced_settings instead.

bool enable_stackdriver_logging = 18 [deprecated = true];

Parameter
NameDescription
valueboolean

The enableStackdriverLogging to set.

Returns
TypeDescription
Agent.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Agent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Agent.Builder
Overrides

setGenAppBuilderSettings(Agent.GenAppBuilderSettings value)

public Agent.Builder setGenAppBuilderSettings(Agent.GenAppBuilderSettings value)

Gen App Builder-related agent-level settings.

optional .google.cloud.dialogflow.cx.v3beta1.Agent.GenAppBuilderSettings gen_app_builder_settings = 33;

Parameter
NameDescription
valueAgent.GenAppBuilderSettings
Returns
TypeDescription
Agent.Builder

setGenAppBuilderSettings(Agent.GenAppBuilderSettings.Builder builderForValue)

public Agent.Builder setGenAppBuilderSettings(Agent.GenAppBuilderSettings.Builder builderForValue)

Gen App Builder-related agent-level settings.

optional .google.cloud.dialogflow.cx.v3beta1.Agent.GenAppBuilderSettings gen_app_builder_settings = 33;

Parameter
NameDescription
builderForValueAgent.GenAppBuilderSettings.Builder
Returns
TypeDescription
Agent.Builder

setGitIntegrationSettings(Agent.GitIntegrationSettings value)

public Agent.Builder setGitIntegrationSettings(Agent.GitIntegrationSettings value)

Git integration settings for this agent.

.google.cloud.dialogflow.cx.v3beta1.Agent.GitIntegrationSettings git_integration_settings = 30;

Parameter
NameDescription
valueAgent.GitIntegrationSettings
Returns
TypeDescription
Agent.Builder

setGitIntegrationSettings(Agent.GitIntegrationSettings.Builder builderForValue)

public Agent.Builder setGitIntegrationSettings(Agent.GitIntegrationSettings.Builder builderForValue)

Git integration settings for this agent.

.google.cloud.dialogflow.cx.v3beta1.Agent.GitIntegrationSettings git_integration_settings = 30;

Parameter
NameDescription
builderForValueAgent.GitIntegrationSettings.Builder
Returns
TypeDescription
Agent.Builder

setLocked(boolean value)

public Agent.Builder setLocked(boolean value)

Indicates whether the agent is locked for changes. If the agent is locked, modifications to the agent will be rejected except for [RestoreAgent][].

bool locked = 27;

Parameter
NameDescription
valueboolean

The locked to set.

Returns
TypeDescription
Agent.Builder

This builder for chaining.

setName(String value)

public Agent.Builder setName(String value)

The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Agent.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Agent.Builder setNameBytes(ByteString value)

The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Agent.Builder

This builder for chaining.

setPersonalizationSettings(Agent.PersonalizationSettings value)

public Agent.Builder setPersonalizationSettings(Agent.PersonalizationSettings value)

Optional. Settings for end user personalization.

.google.cloud.dialogflow.cx.v3beta1.Agent.PersonalizationSettings personalization_settings = 42 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueAgent.PersonalizationSettings
Returns
TypeDescription
Agent.Builder

setPersonalizationSettings(Agent.PersonalizationSettings.Builder builderForValue)

public Agent.Builder setPersonalizationSettings(Agent.PersonalizationSettings.Builder builderForValue)

Optional. Settings for end user personalization.

.google.cloud.dialogflow.cx.v3beta1.Agent.PersonalizationSettings personalization_settings = 42 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueAgent.PersonalizationSettings.Builder
Returns
TypeDescription
Agent.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Agent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Agent.Builder
Overrides

setSecuritySettings(String value)

public Agent.Builder setSecuritySettings(String value)

Name of the SecuritySettings reference for the agent. Format: projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>.

string security_settings = 17 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The securitySettings to set.

Returns
TypeDescription
Agent.Builder

This builder for chaining.

setSecuritySettingsBytes(ByteString value)

public Agent.Builder setSecuritySettingsBytes(ByteString value)

Name of the SecuritySettings reference for the agent. Format: projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>.

string security_settings = 17 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for securitySettings to set.

Returns
TypeDescription
Agent.Builder

This builder for chaining.

setSpeechToTextSettings(SpeechToTextSettings value)

public Agent.Builder setSpeechToTextSettings(SpeechToTextSettings value)

Speech recognition related settings.

.google.cloud.dialogflow.cx.v3beta1.SpeechToTextSettings speech_to_text_settings = 13;

Parameter
NameDescription
valueSpeechToTextSettings
Returns
TypeDescription
Agent.Builder

setSpeechToTextSettings(SpeechToTextSettings.Builder builderForValue)

public Agent.Builder setSpeechToTextSettings(SpeechToTextSettings.Builder builderForValue)

Speech recognition related settings.

.google.cloud.dialogflow.cx.v3beta1.SpeechToTextSettings speech_to_text_settings = 13;

Parameter
NameDescription
builderForValueSpeechToTextSettings.Builder
Returns
TypeDescription
Agent.Builder

setStartFlow(String value)

public Agent.Builder setStartFlow(String value)

Immutable. Name of the start flow in this agent. A start flow will be automatically created when the agent is created, and can only be deleted by deleting the agent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

string start_flow = 16 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The startFlow to set.

Returns
TypeDescription
Agent.Builder

This builder for chaining.

setStartFlowBytes(ByteString value)

public Agent.Builder setStartFlowBytes(ByteString value)

Immutable. Name of the start flow in this agent. A start flow will be automatically created when the agent is created, and can only be deleted by deleting the agent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

string start_flow = 16 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for startFlow to set.

Returns
TypeDescription
Agent.Builder

This builder for chaining.

setStartPlaybook(String value)

public Agent.Builder setStartPlaybook(String value)

Optional. Name of the start playbook in this agent. A start playbook will be automatically created when the agent is created, and can only be deleted by deleting the agent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/playbooks/<Playbook ID>. Currently only the default playbook with id "00000000-0000-0000-0000-000000000000" is allowed.

Only one of start_flow or start_playbook should be set, but not both.

string start_playbook = 39 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The startPlaybook to set.

Returns
TypeDescription
Agent.Builder

This builder for chaining.

setStartPlaybookBytes(ByteString value)

public Agent.Builder setStartPlaybookBytes(ByteString value)

Optional. Name of the start playbook in this agent. A start playbook will be automatically created when the agent is created, and can only be deleted by deleting the agent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/playbooks/<Playbook ID>. Currently only the default playbook with id "00000000-0000-0000-0000-000000000000" is allowed.

Only one of start_flow or start_playbook should be set, but not both.

string start_playbook = 39 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for startPlaybook to set.

Returns
TypeDescription
Agent.Builder

This builder for chaining.

setSupportedLanguageCodes(int index, String value)

public Agent.Builder setSupportedLanguageCodes(int index, String value)

The list of all languages supported by the agent (except for the default_language_code).

repeated string supported_language_codes = 4;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The supportedLanguageCodes to set.

Returns
TypeDescription
Agent.Builder

This builder for chaining.

setTextToSpeechSettings(TextToSpeechSettings value)

public Agent.Builder setTextToSpeechSettings(TextToSpeechSettings value)

Settings on instructing the speech synthesizer on how to generate the output audio content.

.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings text_to_speech_settings = 31;

Parameter
NameDescription
valueTextToSpeechSettings
Returns
TypeDescription
Agent.Builder

setTextToSpeechSettings(TextToSpeechSettings.Builder builderForValue)

public Agent.Builder setTextToSpeechSettings(TextToSpeechSettings.Builder builderForValue)

Settings on instructing the speech synthesizer on how to generate the output audio content.

.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings text_to_speech_settings = 31;

Parameter
NameDescription
builderForValueTextToSpeechSettings.Builder
Returns
TypeDescription
Agent.Builder

setTimeZone(String value)

public Agent.Builder setTimeZone(String value)

Required. The time zone of the agent from the time zone database, e.g., America/New_York, Europe/Paris.

string time_zone = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The timeZone to set.

Returns
TypeDescription
Agent.Builder

This builder for chaining.

setTimeZoneBytes(ByteString value)

public Agent.Builder setTimeZoneBytes(ByteString value)

Required. The time zone of the agent from the time zone database, e.g., America/New_York, Europe/Paris.

string time_zone = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for timeZone to set.

Returns
TypeDescription
Agent.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Agent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Agent.Builder
Overrides