Class Agent
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dialogflow.cx.v3.Agent
-
- All Implemented Interfaces:
AgentOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Agent extends com.google.protobuf.GeneratedMessageV3 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], [TransitionRouteGroups][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] and so on to manage the conversation flows.
Protobuf typegoogle.cloud.dialogflow.cx.v3.Agent- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAgent.BuilderAgents are best described as Natural Language Understanding (NLU) modules that transform user requests into actionable data.static classAgent.GenAppBuilderSettingsSettings for Gen App Builder.static interfaceAgent.GenAppBuilderSettingsOrBuilderstatic classAgent.GitIntegrationSettingsSettings for connecting to Git repository for an agent.static interfaceAgent.GitIntegrationSettingsOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intADVANCED_SETTINGS_FIELD_NUMBERstatic intAVATAR_URI_FIELD_NUMBERstatic intDEFAULT_LANGUAGE_CODE_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intDISPLAY_NAME_FIELD_NUMBERstatic intENABLE_SPELL_CORRECTION_FIELD_NUMBERstatic intENABLE_STACKDRIVER_LOGGING_FIELD_NUMBERstatic intGEN_APP_BUILDER_SETTINGS_FIELD_NUMBERstatic intGIT_INTEGRATION_SETTINGS_FIELD_NUMBERstatic intLOCKED_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intSECURITY_SETTINGS_FIELD_NUMBERstatic intSPEECH_TO_TEXT_SETTINGS_FIELD_NUMBERstatic intSTART_FLOW_FIELD_NUMBERstatic intSUPPORTED_LANGUAGE_CODES_FIELD_NUMBERstatic intTEXT_TO_SPEECH_SETTINGS_FIELD_NUMBERstatic intTIME_ZONE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)AdvancedSettingsgetAdvancedSettings()Hierarchical advanced settings for this agent.AdvancedSettingsOrBuildergetAdvancedSettingsOrBuilder()Hierarchical advanced settings for this agent.StringgetAvatarUri()The URI of the agent's avatar.com.google.protobuf.ByteStringgetAvatarUriBytes()The URI of the agent's avatar.static AgentgetDefaultInstance()AgentgetDefaultInstanceForType()StringgetDefaultLanguageCode()Required.com.google.protobuf.ByteStringgetDefaultLanguageCodeBytes()Required.StringgetDescription()The description of the agent.com.google.protobuf.ByteStringgetDescriptionBytes()The description of the agent.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDisplayName()Required.com.google.protobuf.ByteStringgetDisplayNameBytes()Required.booleangetEnableSpellCorrection()Indicates if automatic spell correction is enabled in detect intent requests.booleangetEnableStackdriverLogging()Deprecated.google.cloud.dialogflow.cx.v3.Agent.enable_stackdriver_logging is deprecated.Agent.GenAppBuilderSettingsgetGenAppBuilderSettings()Gen App Builder-related agent-level settings.Agent.GenAppBuilderSettingsOrBuildergetGenAppBuilderSettingsOrBuilder()Gen App Builder-related agent-level settings.Agent.GitIntegrationSettingsgetGitIntegrationSettings()Git integration settings for this agent.Agent.GitIntegrationSettingsOrBuildergetGitIntegrationSettingsOrBuilder()Git integration settings for this agent.booleangetLocked()Indicates whether the agent is locked for changes.StringgetName()The unique identifier of the agent.com.google.protobuf.ByteStringgetNameBytes()The unique identifier of the agent.com.google.protobuf.Parser<Agent>getParserForType()StringgetSecuritySettings()Name of the [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] reference for the agent.com.google.protobuf.ByteStringgetSecuritySettingsBytes()Name of the [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] reference for the agent.intgetSerializedSize()SpeechToTextSettingsgetSpeechToTextSettings()Speech recognition related settings.SpeechToTextSettingsOrBuildergetSpeechToTextSettingsOrBuilder()Speech recognition related settings.StringgetStartFlow()Immutable.com.google.protobuf.ByteStringgetStartFlowBytes()Immutable.StringgetSupportedLanguageCodes(int index)The list of all languages supported by the agent (except for the `default_language_code`).com.google.protobuf.ByteStringgetSupportedLanguageCodesBytes(int index)The list of all languages supported by the agent (except for the `default_language_code`).intgetSupportedLanguageCodesCount()The list of all languages supported by the agent (except for the `default_language_code`).com.google.protobuf.ProtocolStringListgetSupportedLanguageCodesList()The list of all languages supported by the agent (except for the `default_language_code`).TextToSpeechSettingsgetTextToSpeechSettings()Settings on instructing the speech synthesizer on how to generate the output audio content.TextToSpeechSettingsOrBuildergetTextToSpeechSettingsOrBuilder()Settings on instructing the speech synthesizer on how to generate the output audio content.StringgetTimeZone()Required.com.google.protobuf.ByteStringgetTimeZoneBytes()Required.booleanhasAdvancedSettings()Hierarchical advanced settings for this agent.booleanhasGenAppBuilderSettings()Gen App Builder-related agent-level settings.booleanhasGitIntegrationSettings()Git integration settings for this agent.inthashCode()booleanhasSpeechToTextSettings()Speech recognition related settings.booleanhasTextToSpeechSettings()Settings on instructing the speech synthesizer on how to generate the output audio content.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Agent.BuildernewBuilder()static Agent.BuildernewBuilder(Agent prototype)Agent.BuildernewBuilderForType()protected Agent.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static AgentparseDelimitedFrom(InputStream input)static AgentparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AgentparseFrom(byte[] data)static AgentparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AgentparseFrom(com.google.protobuf.ByteString data)static AgentparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AgentparseFrom(com.google.protobuf.CodedInputStream input)static AgentparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AgentparseFrom(InputStream input)static AgentparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AgentparseFrom(ByteBuffer data)static AgentparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Agent>parser()Agent.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEFAULT_LANGUAGE_CODE_FIELD_NUMBER
public static final int DEFAULT_LANGUAGE_CODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUPPORTED_LANGUAGE_CODES_FIELD_NUMBER
public static final int SUPPORTED_LANGUAGE_CODES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIME_ZONE_FIELD_NUMBER
public static final int TIME_ZONE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AVATAR_URI_FIELD_NUMBER
public static final int AVATAR_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SPEECH_TO_TEXT_SETTINGS_FIELD_NUMBER
public static final int SPEECH_TO_TEXT_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
START_FLOW_FIELD_NUMBER
public static final int START_FLOW_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SECURITY_SETTINGS_FIELD_NUMBER
public static final int SECURITY_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENABLE_STACKDRIVER_LOGGING_FIELD_NUMBER
public static final int ENABLE_STACKDRIVER_LOGGING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENABLE_SPELL_CORRECTION_FIELD_NUMBER
public static final int ENABLE_SPELL_CORRECTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOCKED_FIELD_NUMBER
public static final int LOCKED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADVANCED_SETTINGS_FIELD_NUMBER
public static final int ADVANCED_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GIT_INTEGRATION_SETTINGS_FIELD_NUMBER
public static final int GIT_INTEGRATION_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TEXT_TO_SPEECH_SETTINGS_FIELD_NUMBER
public static final int TEXT_TO_SPEECH_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GEN_APP_BUILDER_SETTINGS_FIELD_NUMBER
public static final int GEN_APP_BUILDER_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
public 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;- Specified by:
getNamein interfaceAgentOrBuilder- Returns:
- The name.
-
getNameBytes
public 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;- Specified by:
getNameBytesin interfaceAgentOrBuilder- Returns:
- The bytes for name.
-
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];- Specified by:
getDisplayNamein interfaceAgentOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public 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];- Specified by:
getDisplayNameBytesin interfaceAgentOrBuilder- Returns:
- The bytes for displayName.
-
getDefaultLanguageCode
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];- Specified by:
getDefaultLanguageCodein interfaceAgentOrBuilder- Returns:
- The defaultLanguageCode.
-
getDefaultLanguageCodeBytes
public 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];- Specified by:
getDefaultLanguageCodeBytesin interfaceAgentOrBuilder- Returns:
- The bytes for defaultLanguageCode.
-
getSupportedLanguageCodesList
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;- Specified by:
getSupportedLanguageCodesListin interfaceAgentOrBuilder- Returns:
- A list containing the supportedLanguageCodes.
-
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;- Specified by:
getSupportedLanguageCodesCountin interfaceAgentOrBuilder- Returns:
- The count of supportedLanguageCodes.
-
getSupportedLanguageCodes
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;- Specified by:
getSupportedLanguageCodesin interfaceAgentOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The supportedLanguageCodes at the given index.
-
getSupportedLanguageCodesBytes
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;- Specified by:
getSupportedLanguageCodesBytesin interfaceAgentOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the supportedLanguageCodes at the given index.
-
getTimeZone
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];- Specified by:
getTimeZonein interfaceAgentOrBuilder- Returns:
- The timeZone.
-
getTimeZoneBytes
public 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];- Specified by:
getTimeZoneBytesin interfaceAgentOrBuilder- Returns:
- The bytes for timeZone.
-
getDescription
public String getDescription()
The description of the agent. The maximum length is 500 characters. If exceeded, the request is rejected.
string description = 6;- Specified by:
getDescriptionin interfaceAgentOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public 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;- Specified by:
getDescriptionBytesin interfaceAgentOrBuilder- Returns:
- The bytes for description.
-
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](https://cloud.google.com/dialogflow/docs/integrations/web-demo) integration.
string avatar_uri = 7;- Specified by:
getAvatarUriin interfaceAgentOrBuilder- Returns:
- The avatarUri.
-
getAvatarUriBytes
public 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;- Specified by:
getAvatarUriBytesin interfaceAgentOrBuilder- Returns:
- The bytes for avatarUri.
-
hasSpeechToTextSettings
public boolean hasSpeechToTextSettings()
Speech recognition related settings.
.google.cloud.dialogflow.cx.v3.SpeechToTextSettings speech_to_text_settings = 13;- Specified by:
hasSpeechToTextSettingsin interfaceAgentOrBuilder- Returns:
- Whether the speechToTextSettings field is set.
-
getSpeechToTextSettings
public SpeechToTextSettings getSpeechToTextSettings()
Speech recognition related settings.
.google.cloud.dialogflow.cx.v3.SpeechToTextSettings speech_to_text_settings = 13;- Specified by:
getSpeechToTextSettingsin interfaceAgentOrBuilder- Returns:
- The speechToTextSettings.
-
getSpeechToTextSettingsOrBuilder
public SpeechToTextSettingsOrBuilder getSpeechToTextSettingsOrBuilder()
Speech recognition related settings.
.google.cloud.dialogflow.cx.v3.SpeechToTextSettings speech_to_text_settings = 13;- Specified by:
getSpeechToTextSettingsOrBuilderin interfaceAgentOrBuilder
-
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) = { ... }- Specified by:
getStartFlowin interfaceAgentOrBuilder- Returns:
- The startFlow.
-
getStartFlowBytes
public 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) = { ... }- Specified by:
getStartFlowBytesin interfaceAgentOrBuilder- Returns:
- The bytes for startFlow.
-
getSecuritySettings
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) = { ... }- Specified by:
getSecuritySettingsin interfaceAgentOrBuilder- Returns:
- The securitySettings.
-
getSecuritySettingsBytes
public 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) = { ... }- Specified by:
getSecuritySettingsBytesin interfaceAgentOrBuilder- Returns:
- The bytes for securitySettings.
-
getEnableStackdriverLogging
@Deprecated public boolean getEnableStackdriverLogging()
Deprecated.google.cloud.dialogflow.cx.v3.Agent.enable_stackdriver_logging is deprecated. See google/cloud/dialogflow/cx/v3/agent.proto;l=314Indicates 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];- Specified by:
getEnableStackdriverLoggingin interfaceAgentOrBuilder- Returns:
- The enableStackdriverLogging.
-
getEnableSpellCorrection
public boolean getEnableSpellCorrection()
Indicates if automatic spell correction is enabled in detect intent requests.
bool enable_spell_correction = 20;- Specified by:
getEnableSpellCorrectionin interfaceAgentOrBuilder- Returns:
- The enableSpellCorrection.
-
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;- Specified by:
getLockedin interfaceAgentOrBuilder- Returns:
- The locked.
-
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.v3.AdvancedSettings advanced_settings = 22;- Specified by:
hasAdvancedSettingsin interfaceAgentOrBuilder- Returns:
- Whether the advancedSettings field is set.
-
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.v3.AdvancedSettings advanced_settings = 22;- Specified by:
getAdvancedSettingsin interfaceAgentOrBuilder- Returns:
- The advancedSettings.
-
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.v3.AdvancedSettings advanced_settings = 22;- Specified by:
getAdvancedSettingsOrBuilderin interfaceAgentOrBuilder
-
hasGitIntegrationSettings
public boolean hasGitIntegrationSettings()
Git integration settings for this agent.
.google.cloud.dialogflow.cx.v3.Agent.GitIntegrationSettings git_integration_settings = 30;- Specified by:
hasGitIntegrationSettingsin interfaceAgentOrBuilder- Returns:
- Whether the gitIntegrationSettings field is set.
-
getGitIntegrationSettings
public Agent.GitIntegrationSettings getGitIntegrationSettings()
Git integration settings for this agent.
.google.cloud.dialogflow.cx.v3.Agent.GitIntegrationSettings git_integration_settings = 30;- Specified by:
getGitIntegrationSettingsin interfaceAgentOrBuilder- Returns:
- The gitIntegrationSettings.
-
getGitIntegrationSettingsOrBuilder
public Agent.GitIntegrationSettingsOrBuilder getGitIntegrationSettingsOrBuilder()
Git integration settings for this agent.
.google.cloud.dialogflow.cx.v3.Agent.GitIntegrationSettings git_integration_settings = 30;- Specified by:
getGitIntegrationSettingsOrBuilderin interfaceAgentOrBuilder
-
hasTextToSpeechSettings
public boolean hasTextToSpeechSettings()
Settings on instructing the speech synthesizer on how to generate the output audio content.
.google.cloud.dialogflow.cx.v3.TextToSpeechSettings text_to_speech_settings = 31;- Specified by:
hasTextToSpeechSettingsin interfaceAgentOrBuilder- Returns:
- Whether the textToSpeechSettings field is set.
-
getTextToSpeechSettings
public TextToSpeechSettings getTextToSpeechSettings()
Settings on instructing the speech synthesizer on how to generate the output audio content.
.google.cloud.dialogflow.cx.v3.TextToSpeechSettings text_to_speech_settings = 31;- Specified by:
getTextToSpeechSettingsin interfaceAgentOrBuilder- Returns:
- The textToSpeechSettings.
-
getTextToSpeechSettingsOrBuilder
public TextToSpeechSettingsOrBuilder getTextToSpeechSettingsOrBuilder()
Settings on instructing the speech synthesizer on how to generate the output audio content.
.google.cloud.dialogflow.cx.v3.TextToSpeechSettings text_to_speech_settings = 31;- Specified by:
getTextToSpeechSettingsOrBuilderin interfaceAgentOrBuilder
-
hasGenAppBuilderSettings
public boolean hasGenAppBuilderSettings()
Gen App Builder-related agent-level settings.
optional .google.cloud.dialogflow.cx.v3.Agent.GenAppBuilderSettings gen_app_builder_settings = 33;- Specified by:
hasGenAppBuilderSettingsin interfaceAgentOrBuilder- Returns:
- Whether the genAppBuilderSettings field is set.
-
getGenAppBuilderSettings
public Agent.GenAppBuilderSettings getGenAppBuilderSettings()
Gen App Builder-related agent-level settings.
optional .google.cloud.dialogflow.cx.v3.Agent.GenAppBuilderSettings gen_app_builder_settings = 33;- Specified by:
getGenAppBuilderSettingsin interfaceAgentOrBuilder- Returns:
- The genAppBuilderSettings.
-
getGenAppBuilderSettingsOrBuilder
public Agent.GenAppBuilderSettingsOrBuilder getGenAppBuilderSettingsOrBuilder()
Gen App Builder-related agent-level settings.
optional .google.cloud.dialogflow.cx.v3.Agent.GenAppBuilderSettings gen_app_builder_settings = 33;- Specified by:
getGenAppBuilderSettingsOrBuilderin interfaceAgentOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Agent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Agent parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Agent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Agent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Agent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Agent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Agent parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Agent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Agent parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Agent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Agent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Agent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Agent.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Agent.Builder newBuilder()
-
newBuilder
public static Agent.Builder newBuilder(Agent prototype)
-
toBuilder
public Agent.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Agent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Agent getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Agent> parser()
-
getParserForType
public com.google.protobuf.Parser<Agent> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Agent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-