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 class
Agent.Builder
Agents are best described as Natural Language Understanding (NLU) modules that transform user requests into actionable data.static class
Agent.GenAppBuilderSettings
Settings for Gen App Builder.static interface
Agent.GenAppBuilderSettingsOrBuilder
static class
Agent.GitIntegrationSettings
Settings for connecting to Git repository for an agent.static interface
Agent.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 int
ADVANCED_SETTINGS_FIELD_NUMBER
static int
AVATAR_URI_FIELD_NUMBER
static int
DEFAULT_LANGUAGE_CODE_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
DISPLAY_NAME_FIELD_NUMBER
static int
ENABLE_SPELL_CORRECTION_FIELD_NUMBER
static int
ENABLE_STACKDRIVER_LOGGING_FIELD_NUMBER
static int
GEN_APP_BUILDER_SETTINGS_FIELD_NUMBER
static int
GIT_INTEGRATION_SETTINGS_FIELD_NUMBER
static int
LOCKED_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
SECURITY_SETTINGS_FIELD_NUMBER
static int
SPEECH_TO_TEXT_SETTINGS_FIELD_NUMBER
static int
START_FLOW_FIELD_NUMBER
static int
SUPPORTED_LANGUAGE_CODES_FIELD_NUMBER
static int
TEXT_TO_SPEECH_SETTINGS_FIELD_NUMBER
static int
TIME_ZONE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object obj)
AdvancedSettings
getAdvancedSettings()
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.static Agent
getDefaultInstance()
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()
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.Agent.GenAppBuilderSettings
getGenAppBuilderSettings()
Gen App Builder-related agent-level settings.Agent.GenAppBuilderSettingsOrBuilder
getGenAppBuilderSettingsOrBuilder()
Gen App Builder-related agent-level settings.Agent.GitIntegrationSettings
getGitIntegrationSettings()
Git integration settings for this agent.Agent.GitIntegrationSettingsOrBuilder
getGitIntegrationSettingsOrBuilder()
Git integration settings for this agent.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.com.google.protobuf.Parser<Agent>
getParserForType()
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.int
getSerializedSize()
SpeechToTextSettings
getSpeechToTextSettings()
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`).TextToSpeechSettings
getTextToSpeechSettings()
Settings on instructing the speech synthesizer on how to generate the output audio content.TextToSpeechSettingsOrBuilder
getTextToSpeechSettingsOrBuilder()
Settings on instructing the speech synthesizer on how to generate the output audio content.String
getTimeZone()
Required.com.google.protobuf.ByteString
getTimeZoneBytes()
Required.boolean
hasAdvancedSettings()
Hierarchical advanced settings for this agent.boolean
hasGenAppBuilderSettings()
Gen App Builder-related agent-level settings.boolean
hasGitIntegrationSettings()
Git integration settings for this agent.int
hashCode()
boolean
hasSpeechToTextSettings()
Speech recognition related settings.boolean
hasTextToSpeechSettings()
Settings on instructing the speech synthesizer on how to generate the output audio content.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Agent.Builder
newBuilder()
static Agent.Builder
newBuilder(Agent prototype)
Agent.Builder
newBuilderForType()
protected Agent.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Agent
parseDelimitedFrom(InputStream input)
static Agent
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Agent
parseFrom(byte[] data)
static Agent
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Agent
parseFrom(com.google.protobuf.ByteString data)
static Agent
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Agent
parseFrom(com.google.protobuf.CodedInputStream input)
static Agent
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Agent
parseFrom(InputStream input)
static Agent
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Agent
parseFrom(ByteBuffer data)
static Agent
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Agent>
parser()
Agent.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
getName
in 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:
getNameBytes
in 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:
getDisplayName
in 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:
getDisplayNameBytes
in 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:
getDefaultLanguageCode
in 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:
getDefaultLanguageCodeBytes
in 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:
getSupportedLanguageCodesList
in 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:
getSupportedLanguageCodesCount
in 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:
getSupportedLanguageCodes
in 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:
getSupportedLanguageCodesBytes
in 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:
getTimeZone
in 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:
getTimeZoneBytes
in 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:
getDescription
in 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:
getDescriptionBytes
in 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:
getAvatarUri
in 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:
getAvatarUriBytes
in 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:
hasSpeechToTextSettings
in 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:
getSpeechToTextSettings
in 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:
getSpeechToTextSettingsOrBuilder
in 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:
getStartFlow
in 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:
getStartFlowBytes
in 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:
getSecuritySettings
in 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:
getSecuritySettingsBytes
in 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:
getEnableStackdriverLogging
in 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:
getEnableSpellCorrection
in 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:
getLocked
in 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:
hasAdvancedSettings
in 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:
getAdvancedSettings
in 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:
getAdvancedSettingsOrBuilder
in interfaceAgentOrBuilder
-
hasGitIntegrationSettings
public boolean hasGitIntegrationSettings()
Git integration settings for this agent.
.google.cloud.dialogflow.cx.v3.Agent.GitIntegrationSettings git_integration_settings = 30;
- Specified by:
hasGitIntegrationSettings
in 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:
getGitIntegrationSettings
in 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:
getGitIntegrationSettingsOrBuilder
in 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:
hasTextToSpeechSettings
in 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:
getTextToSpeechSettings
in 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:
getTextToSpeechSettingsOrBuilder
in 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:
hasGenAppBuilderSettings
in 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:
getGenAppBuilderSettings
in 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:
getGenAppBuilderSettingsOrBuilder
in interfaceAgentOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Agent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Agent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-