public static final class Agent.Builder extends com.google.protobuf.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][google.cloud.dialogflow.cx.v3.Intent], [Entity Types][google.cloud.dialogflow.cx.v3.EntityType], [Flows][google.cloud.dialogflow.cx.v3.Flow], [Fulfillments][google.cloud.dialogflow.cx.v3.Fulfillment], [Webhooks][google.cloud.dialogflow.cx.v3.Webhook], and so on to manage the conversation flows..Protobuf type
google.cloud.dialogflow.cx.v3.Agent| Modifier and Type | Method and Description |
|---|---|
Agent.Builder |
addAllSupportedLanguageCodes(Iterable<String> values)
The list of all languages supported by the agent (except for the
`default_language_code`).
|
Agent.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Agent.Builder |
addSupportedLanguageCodes(String value)
The list of all languages supported by the agent (except for the
`default_language_code`).
|
Agent.Builder |
addSupportedLanguageCodesBytes(com.google.protobuf.ByteString value)
The list of all languages supported by the agent (except for the
`default_language_code`).
|
Agent |
build() |
Agent |
buildPartial() |
Agent.Builder |
clear() |
Agent.Builder |
clearAdvancedSettings()
Hierarchical advanced settings for this agent.
|
Agent.Builder |
clearAvatarUri()
The URI of the agent's avatar.
|
Agent.Builder |
clearDefaultLanguageCode()
Required.
|
Agent.Builder |
clearDescription()
The description of the agent.
|
Agent.Builder |
clearDisplayName()
Required.
|
Agent.Builder |
clearEnableSpellCorrection()
Indicates if automatic spell correction is enabled in detect intent
requests.
|
Agent.Builder |
clearEnableStackdriverLogging()
Deprecated.
google.cloud.dialogflow.cx.v3.Agent.enable_stackdriver_logging is deprecated. See
google/cloud/dialogflow/cx/v3/agent.proto;l=245
|
Agent.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Agent.Builder |
clearLocked()
Indicates whether the agent is locked for changes.
|
Agent.Builder |
clearName()
The unique identifier of the agent.
|
Agent.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Agent.Builder |
clearSecuritySettings()
Name of the [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] reference for the agent.
|
Agent.Builder |
clearSpeechToTextSettings()
Speech recognition related settings.
|
Agent.Builder |
clearStartFlow()
Immutable.
|
Agent.Builder |
clearSupportedLanguageCodes()
The list of all languages supported by the agent (except for the
`default_language_code`).
|
Agent.Builder |
clearTimeZone()
Required.
|
Agent.Builder |
clone() |
AdvancedSettings |
getAdvancedSettings()
Hierarchical advanced settings for this agent.
|
AdvancedSettings.Builder |
getAdvancedSettingsBuilder()
Hierarchical advanced settings for this agent.
|
AdvancedSettingsOrBuilder |
getAdvancedSettingsOrBuilder()
Hierarchical advanced settings for this agent.
|
String |
getAvatarUri()
The URI of the agent's avatar.
|
com.google.protobuf.ByteString |
getAvatarUriBytes()
The URI of the agent's avatar.
|
Agent |
getDefaultInstanceForType() |
String |
getDefaultLanguageCode()
Required.
|
com.google.protobuf.ByteString |
getDefaultLanguageCodeBytes()
Required.
|
String |
getDescription()
The description of the agent.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
The description of the agent.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
boolean |
getEnableSpellCorrection()
Indicates if automatic spell correction is enabled in detect intent
requests.
|
boolean |
getEnableStackdriverLogging()
Deprecated.
google.cloud.dialogflow.cx.v3.Agent.enable_stackdriver_logging is deprecated. See
google/cloud/dialogflow/cx/v3/agent.proto;l=245
|
boolean |
getLocked()
Indicates whether the agent is locked for changes.
|
String |
getName()
The unique identifier of the agent.
|
com.google.protobuf.ByteString |
getNameBytes()
The unique identifier of the agent.
|
String |
getSecuritySettings()
Name of the [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] reference for the agent.
|
com.google.protobuf.ByteString |
getSecuritySettingsBytes()
Name of the [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] reference for the agent.
|
SpeechToTextSettings |
getSpeechToTextSettings()
Speech recognition related settings.
|
SpeechToTextSettings.Builder |
getSpeechToTextSettingsBuilder()
Speech recognition related settings.
|
SpeechToTextSettingsOrBuilder |
getSpeechToTextSettingsOrBuilder()
Speech recognition related settings.
|
String |
getStartFlow()
Immutable.
|
com.google.protobuf.ByteString |
getStartFlowBytes()
Immutable.
|
String |
getSupportedLanguageCodes(int index)
The list of all languages supported by the agent (except for the
`default_language_code`).
|
com.google.protobuf.ByteString |
getSupportedLanguageCodesBytes(int index)
The list of all languages supported by the agent (except for the
`default_language_code`).
|
int |
getSupportedLanguageCodesCount()
The list of all languages supported by the agent (except for the
`default_language_code`).
|
com.google.protobuf.ProtocolStringList |
getSupportedLanguageCodesList()
The list of all languages supported by the agent (except for the
`default_language_code`).
|
String |
getTimeZone()
Required.
|
com.google.protobuf.ByteString |
getTimeZoneBytes()
Required.
|
boolean |
hasAdvancedSettings()
Hierarchical advanced settings for this agent.
|
boolean |
hasSpeechToTextSettings()
Speech recognition related settings.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Agent.Builder |
mergeAdvancedSettings(AdvancedSettings value)
Hierarchical advanced settings for this agent.
|
Agent.Builder |
mergeFrom(Agent other) |
Agent.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Agent.Builder |
mergeFrom(com.google.protobuf.Message other) |
Agent.Builder |
mergeSpeechToTextSettings(SpeechToTextSettings value)
Speech recognition related settings.
|
Agent.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Agent.Builder |
setAdvancedSettings(AdvancedSettings.Builder builderForValue)
Hierarchical advanced settings for this agent.
|
Agent.Builder |
setAdvancedSettings(AdvancedSettings value)
Hierarchical advanced settings for this agent.
|
Agent.Builder |
setAvatarUri(String value)
The URI of the agent's avatar.
|
Agent.Builder |
setAvatarUriBytes(com.google.protobuf.ByteString value)
The URI of the agent's avatar.
|
Agent.Builder |
setDefaultLanguageCode(String value)
Required.
|
Agent.Builder |
setDefaultLanguageCodeBytes(com.google.protobuf.ByteString value)
Required.
|
Agent.Builder |
setDescription(String value)
The description of the agent.
|
Agent.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
The description of the agent.
|
Agent.Builder |
setDisplayName(String value)
Required.
|
Agent.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Required.
|
Agent.Builder |
setEnableSpellCorrection(boolean value)
Indicates if automatic spell correction is enabled in detect intent
requests.
|
Agent.Builder |
setEnableStackdriverLogging(boolean value)
Deprecated.
google.cloud.dialogflow.cx.v3.Agent.enable_stackdriver_logging is deprecated. See
google/cloud/dialogflow/cx/v3/agent.proto;l=245
|
Agent.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Agent.Builder |
setLocked(boolean value)
Indicates whether the agent is locked for changes.
|
Agent.Builder |
setName(String value)
The unique identifier of the agent.
|
Agent.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The unique identifier of the agent.
|
Agent.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Agent.Builder |
setSecuritySettings(String value)
Name of the [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] reference for the agent.
|
Agent.Builder |
setSecuritySettingsBytes(com.google.protobuf.ByteString value)
Name of the [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] reference for the agent.
|
Agent.Builder |
setSpeechToTextSettings(SpeechToTextSettings.Builder builderForValue)
Speech recognition related settings.
|
Agent.Builder |
setSpeechToTextSettings(SpeechToTextSettings value)
Speech recognition related settings.
|
Agent.Builder |
setStartFlow(String value)
Immutable.
|
Agent.Builder |
setStartFlowBytes(com.google.protobuf.ByteString value)
Immutable.
|
Agent.Builder |
setSupportedLanguageCodes(int index,
String value)
The list of all languages supported by the agent (except for the
`default_language_code`).
|
Agent.Builder |
setTimeZone(String value)
Required.
|
Agent.Builder |
setTimeZoneBytes(com.google.protobuf.ByteString value)
Required.
|
Agent.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Agent.Builder>public Agent.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Agent.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Agent.Builder>public Agent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Agent build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Agent buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Agent.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Agent.Builder>public Agent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Agent.Builder>public Agent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Agent.Builder>public Agent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Agent.Builder>public Agent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Agent.Builder>public Agent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Agent.Builder>public Agent.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Agent.Builder>public Agent.Builder mergeFrom(Agent other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Agent.Builder>public Agent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Agent.Builder>IOExceptionpublic String getName()
The unique identifier of the agent. Required for the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent] method. [Agents.CreateAgent][google.cloud.dialogflow.cx.v3.Agents.CreateAgent] populates the name automatically. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
string name = 1;getName in interface AgentOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The unique identifier of the agent. Required for the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent] method. [Agents.CreateAgent][google.cloud.dialogflow.cx.v3.Agents.CreateAgent] populates the name automatically. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
string name = 1;getNameBytes in interface AgentOrBuilderpublic Agent.Builder setName(String value)
The unique identifier of the agent. Required for the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent] method. [Agents.CreateAgent][google.cloud.dialogflow.cx.v3.Agents.CreateAgent] populates the name automatically. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
string name = 1;value - The name to set.public Agent.Builder clearName()
The unique identifier of the agent. Required for the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent] method. [Agents.CreateAgent][google.cloud.dialogflow.cx.v3.Agents.CreateAgent] populates the name automatically. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
string name = 1;public Agent.Builder setNameBytes(com.google.protobuf.ByteString value)
The unique identifier of the agent. Required for the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent] method. [Agents.CreateAgent][google.cloud.dialogflow.cx.v3.Agents.CreateAgent] populates the name automatically. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
string name = 1;value - The bytes for name to set.public String getDisplayName()
Required. The human-readable name of the agent, unique within the location.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];getDisplayName in interface AgentOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Required. The human-readable name of the agent, unique within the location.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];getDisplayNameBytes in interface AgentOrBuilderpublic 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];value - The displayName to set.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];public Agent.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Required. The human-readable name of the agent, unique within the location.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];value - The bytes for displayName to set.public String getDefaultLanguageCode()
Required. Immutable. The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) for a list of the currently supported language codes. This field cannot be set by the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent] method.
string default_language_code = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
getDefaultLanguageCode in interface AgentOrBuilderpublic com.google.protobuf.ByteString getDefaultLanguageCodeBytes()
Required. Immutable. The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) for a list of the currently supported language codes. This field cannot be set by the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent] method.
string default_language_code = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
getDefaultLanguageCodeBytes in interface AgentOrBuilderpublic Agent.Builder setDefaultLanguageCode(String value)
Required. Immutable. The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) for a list of the currently supported language codes. This field cannot be set by the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent] method.
string default_language_code = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
value - The defaultLanguageCode to set.public Agent.Builder clearDefaultLanguageCode()
Required. Immutable. The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) for a list of the currently supported language codes. This field cannot be set by the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent] method.
string default_language_code = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
public Agent.Builder setDefaultLanguageCodeBytes(com.google.protobuf.ByteString value)
Required. Immutable. The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) for a list of the currently supported language codes. This field cannot be set by the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent] method.
string default_language_code = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
value - The bytes for defaultLanguageCode to set.public com.google.protobuf.ProtocolStringList getSupportedLanguageCodesList()
The list of all languages supported by the agent (except for the `default_language_code`).
repeated string supported_language_codes = 4;getSupportedLanguageCodesList in interface AgentOrBuilderpublic int getSupportedLanguageCodesCount()
The list of all languages supported by the agent (except for the `default_language_code`).
repeated string supported_language_codes = 4;getSupportedLanguageCodesCount in interface AgentOrBuilderpublic 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;getSupportedLanguageCodes in interface AgentOrBuilderindex - The index of the element to return.public com.google.protobuf.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;getSupportedLanguageCodesBytes in interface AgentOrBuilderindex - The index of the value to return.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;index - The index to set the value at.value - The supportedLanguageCodes to set.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;value - The supportedLanguageCodes to add.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;values - The supportedLanguageCodes to add.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;public Agent.Builder addSupportedLanguageCodesBytes(com.google.protobuf.ByteString value)
The list of all languages supported by the agent (except for the `default_language_code`).
repeated string supported_language_codes = 4;value - The bytes of the supportedLanguageCodes to add.public String getTimeZone()
Required. The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.
string time_zone = 5 [(.google.api.field_behavior) = REQUIRED];getTimeZone in interface AgentOrBuilderpublic com.google.protobuf.ByteString getTimeZoneBytes()
Required. The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.
string time_zone = 5 [(.google.api.field_behavior) = REQUIRED];getTimeZoneBytes in interface AgentOrBuilderpublic Agent.Builder setTimeZone(String value)
Required. The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.
string time_zone = 5 [(.google.api.field_behavior) = REQUIRED];value - The timeZone to set.public Agent.Builder clearTimeZone()
Required. The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.
string time_zone = 5 [(.google.api.field_behavior) = REQUIRED];public Agent.Builder setTimeZoneBytes(com.google.protobuf.ByteString value)
Required. The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.
string time_zone = 5 [(.google.api.field_behavior) = REQUIRED];value - The bytes for timeZone to set.public String getDescription()
The description of the agent. The maximum length is 500 characters. If exceeded, the request is rejected.
string description = 6;getDescription in interface AgentOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
The description of the agent. The maximum length is 500 characters. If exceeded, the request is rejected.
string description = 6;getDescriptionBytes in interface AgentOrBuilderpublic 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;value - The description to set.public Agent.Builder clearDescription()
The description of the agent. The maximum length is 500 characters. If exceeded, the request is rejected.
string description = 6;public Agent.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
The description of the agent. The maximum length is 500 characters. If exceeded, the request is rejected.
string description = 6;value - The bytes for description to set.public String getAvatarUri()
The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted [Web Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo) integration.
string avatar_uri = 7;getAvatarUri in interface AgentOrBuilderpublic com.google.protobuf.ByteString getAvatarUriBytes()
The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted [Web Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo) integration.
string avatar_uri = 7;getAvatarUriBytes in interface AgentOrBuilderpublic 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](https://cloud.google.com/dialogflow/docs/integrations/web-demo) integration.
string avatar_uri = 7;value - The avatarUri to set.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](https://cloud.google.com/dialogflow/docs/integrations/web-demo) integration.
string avatar_uri = 7;public Agent.Builder setAvatarUriBytes(com.google.protobuf.ByteString value)
The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted [Web Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo) integration.
string avatar_uri = 7;value - The bytes for avatarUri to set.public boolean hasSpeechToTextSettings()
Speech recognition related settings.
.google.cloud.dialogflow.cx.v3.SpeechToTextSettings speech_to_text_settings = 13;
hasSpeechToTextSettings in interface AgentOrBuilderpublic SpeechToTextSettings getSpeechToTextSettings()
Speech recognition related settings.
.google.cloud.dialogflow.cx.v3.SpeechToTextSettings speech_to_text_settings = 13;
getSpeechToTextSettings in interface AgentOrBuilderpublic Agent.Builder setSpeechToTextSettings(SpeechToTextSettings value)
Speech recognition related settings.
.google.cloud.dialogflow.cx.v3.SpeechToTextSettings speech_to_text_settings = 13;
public Agent.Builder setSpeechToTextSettings(SpeechToTextSettings.Builder builderForValue)
Speech recognition related settings.
.google.cloud.dialogflow.cx.v3.SpeechToTextSettings speech_to_text_settings = 13;
public Agent.Builder mergeSpeechToTextSettings(SpeechToTextSettings value)
Speech recognition related settings.
.google.cloud.dialogflow.cx.v3.SpeechToTextSettings speech_to_text_settings = 13;
public Agent.Builder clearSpeechToTextSettings()
Speech recognition related settings.
.google.cloud.dialogflow.cx.v3.SpeechToTextSettings speech_to_text_settings = 13;
public SpeechToTextSettings.Builder getSpeechToTextSettingsBuilder()
Speech recognition related settings.
.google.cloud.dialogflow.cx.v3.SpeechToTextSettings speech_to_text_settings = 13;
public SpeechToTextSettingsOrBuilder getSpeechToTextSettingsOrBuilder()
Speech recognition related settings.
.google.cloud.dialogflow.cx.v3.SpeechToTextSettings speech_to_text_settings = 13;
getSpeechToTextSettingsOrBuilder in interface AgentOrBuilderpublic 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) = { ... }
getStartFlow in interface AgentOrBuilderpublic com.google.protobuf.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) = { ... }
getStartFlowBytes in interface AgentOrBuilderpublic 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) = { ... }
value - The startFlow to set.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) = { ... }
public Agent.Builder setStartFlowBytes(com.google.protobuf.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) = { ... }
value - The bytes for startFlow to set.public String getSecuritySettings()
Name of the [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] reference for the agent. Format: `projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>`.
string security_settings = 17 [(.google.api.resource_reference) = { ... }getSecuritySettings in interface AgentOrBuilderpublic com.google.protobuf.ByteString getSecuritySettingsBytes()
Name of the [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] reference for the agent. Format: `projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>`.
string security_settings = 17 [(.google.api.resource_reference) = { ... }getSecuritySettingsBytes in interface AgentOrBuilderpublic Agent.Builder setSecuritySettings(String value)
Name of the [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] reference for the agent. Format: `projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>`.
string security_settings = 17 [(.google.api.resource_reference) = { ... }value - The securitySettings to set.public Agent.Builder clearSecuritySettings()
Name of the [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] reference for the agent. Format: `projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>`.
string security_settings = 17 [(.google.api.resource_reference) = { ... }public Agent.Builder setSecuritySettingsBytes(com.google.protobuf.ByteString value)
Name of the [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] reference for the agent. Format: `projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>`.
string security_settings = 17 [(.google.api.resource_reference) = { ... }value - The bytes for securitySettings to set.@Deprecated public boolean getEnableStackdriverLogging()
Indicates if stackdriver logging is enabled for the agent. Please use [agent.advanced_settings][google.cloud.dialogflow.cx.v3.AdvancedSettings.LoggingSettings] instead.
bool enable_stackdriver_logging = 18 [deprecated = true];getEnableStackdriverLogging in interface AgentOrBuilder@Deprecated public Agent.Builder setEnableStackdriverLogging(boolean value)
Indicates if stackdriver logging is enabled for the agent. Please use [agent.advanced_settings][google.cloud.dialogflow.cx.v3.AdvancedSettings.LoggingSettings] instead.
bool enable_stackdriver_logging = 18 [deprecated = true];value - The enableStackdriverLogging to set.@Deprecated public Agent.Builder clearEnableStackdriverLogging()
Indicates if stackdriver logging is enabled for the agent. Please use [agent.advanced_settings][google.cloud.dialogflow.cx.v3.AdvancedSettings.LoggingSettings] instead.
bool enable_stackdriver_logging = 18 [deprecated = true];public boolean getEnableSpellCorrection()
Indicates if automatic spell correction is enabled in detect intent requests.
bool enable_spell_correction = 20;getEnableSpellCorrection in interface AgentOrBuilderpublic Agent.Builder setEnableSpellCorrection(boolean value)
Indicates if automatic spell correction is enabled in detect intent requests.
bool enable_spell_correction = 20;value - The enableSpellCorrection to set.public Agent.Builder clearEnableSpellCorrection()
Indicates if automatic spell correction is enabled in detect intent requests.
bool enable_spell_correction = 20;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;getLocked in interface AgentOrBuilderpublic 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;value - The locked to set.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;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.v3.AdvancedSettings advanced_settings = 22;hasAdvancedSettings in interface AgentOrBuilderpublic 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.v3.AdvancedSettings advanced_settings = 22;getAdvancedSettings in interface AgentOrBuilderpublic 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.v3.AdvancedSettings advanced_settings = 22;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.v3.AdvancedSettings advanced_settings = 22;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.v3.AdvancedSettings advanced_settings = 22;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.v3.AdvancedSettings advanced_settings = 22;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.v3.AdvancedSettings advanced_settings = 22;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.v3.AdvancedSettings advanced_settings = 22;getAdvancedSettingsOrBuilder in interface AgentOrBuilderpublic final Agent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Agent.Builder>public final Agent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Agent.Builder>Copyright © 2022 Google LLC. All rights reserved.