Package com.google.cloud.dialogflow.v2
Class ConversationProfile
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dialogflow.v2.ConversationProfile
-
- All Implemented Interfaces:
ConversationProfileOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class ConversationProfile extends com.google.protobuf.GeneratedMessageV3 implements ConversationProfileOrBuilder
Defines the services to connect to incoming Dialogflow conversations.
Protobuf typegoogle.cloud.dialogflow.v2.ConversationProfile- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConversationProfile.BuilderDefines the services to connect to incoming Dialogflow conversations.-
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 intAUTOMATED_AGENT_CONFIG_FIELD_NUMBERstatic intCREATE_TIME_FIELD_NUMBERstatic intDISPLAY_NAME_FIELD_NUMBERstatic intHUMAN_AGENT_ASSISTANT_CONFIG_FIELD_NUMBERstatic intHUMAN_AGENT_HANDOFF_CONFIG_FIELD_NUMBERstatic intLANGUAGE_CODE_FIELD_NUMBERstatic intLOGGING_CONFIG_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intNEW_MESSAGE_EVENT_NOTIFICATION_CONFIG_FIELD_NUMBERstatic intNOTIFICATION_CONFIG_FIELD_NUMBERstatic intSECURITY_SETTINGS_FIELD_NUMBERstatic intSTT_CONFIG_FIELD_NUMBERstatic intTIME_ZONE_FIELD_NUMBERstatic intTTS_CONFIG_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)AutomatedAgentConfiggetAutomatedAgentConfig()Configuration for an automated agent to use with this profile.AutomatedAgentConfigOrBuildergetAutomatedAgentConfigOrBuilder()Configuration for an automated agent to use with this profile.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.static ConversationProfilegetDefaultInstance()ConversationProfilegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDisplayName()Required.com.google.protobuf.ByteStringgetDisplayNameBytes()Required.HumanAgentAssistantConfiggetHumanAgentAssistantConfig()Configuration for agent assistance to use with this profile.HumanAgentAssistantConfigOrBuildergetHumanAgentAssistantConfigOrBuilder()Configuration for agent assistance to use with this profile.HumanAgentHandoffConfiggetHumanAgentHandoffConfig()Configuration for connecting to a live agent.HumanAgentHandoffConfigOrBuildergetHumanAgentHandoffConfigOrBuilder()Configuration for connecting to a live agent.StringgetLanguageCode()Language code for the conversation profile.com.google.protobuf.ByteStringgetLanguageCodeBytes()Language code for the conversation profile.LoggingConfiggetLoggingConfig()Configuration for logging conversation lifecycle events.LoggingConfigOrBuildergetLoggingConfigOrBuilder()Configuration for logging conversation lifecycle events.StringgetName()The unique identifier of this conversation profile.com.google.protobuf.ByteStringgetNameBytes()The unique identifier of this conversation profile.NotificationConfiggetNewMessageEventNotificationConfig()Configuration for publishing new message events.NotificationConfigOrBuildergetNewMessageEventNotificationConfigOrBuilder()Configuration for publishing new message events.NotificationConfiggetNotificationConfig()Configuration for publishing conversation lifecycle events.NotificationConfigOrBuildergetNotificationConfigOrBuilder()Configuration for publishing conversation lifecycle events.com.google.protobuf.Parser<ConversationProfile>getParserForType()StringgetSecuritySettings()Name of the CX SecuritySettings reference for the agent.com.google.protobuf.ByteStringgetSecuritySettingsBytes()Name of the CX SecuritySettings reference for the agent.intgetSerializedSize()SpeechToTextConfiggetSttConfig()Settings for speech transcription.SpeechToTextConfigOrBuildergetSttConfigOrBuilder()Settings for speech transcription.StringgetTimeZone()The time zone of this conversational profile from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.com.google.protobuf.ByteStringgetTimeZoneBytes()The time zone of this conversational profile from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.SynthesizeSpeechConfiggetTtsConfig()Configuration for Text-to-Speech synthesization.SynthesizeSpeechConfigOrBuildergetTtsConfigOrBuilder()Configuration for Text-to-Speech synthesization.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasAutomatedAgentConfig()Configuration for an automated agent to use with this profile.booleanhasCreateTime()Output only.inthashCode()booleanhasHumanAgentAssistantConfig()Configuration for agent assistance to use with this profile.booleanhasHumanAgentHandoffConfig()Configuration for connecting to a live agent.booleanhasLoggingConfig()Configuration for logging conversation lifecycle events.booleanhasNewMessageEventNotificationConfig()Configuration for publishing new message events.booleanhasNotificationConfig()Configuration for publishing conversation lifecycle events.booleanhasSttConfig()Settings for speech transcription.booleanhasTtsConfig()Configuration for Text-to-Speech synthesization.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ConversationProfile.BuildernewBuilder()static ConversationProfile.BuildernewBuilder(ConversationProfile prototype)ConversationProfile.BuildernewBuilderForType()protected ConversationProfile.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ConversationProfileparseDelimitedFrom(InputStream input)static ConversationProfileparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ConversationProfileparseFrom(byte[] data)static ConversationProfileparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ConversationProfileparseFrom(com.google.protobuf.ByteString data)static ConversationProfileparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ConversationProfileparseFrom(com.google.protobuf.CodedInputStream input)static ConversationProfileparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ConversationProfileparseFrom(InputStream input)static ConversationProfileparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ConversationProfileparseFrom(ByteBuffer data)static ConversationProfileparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ConversationProfile>parser()ConversationProfile.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
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUTOMATED_AGENT_CONFIG_FIELD_NUMBER
public static final int AUTOMATED_AGENT_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HUMAN_AGENT_ASSISTANT_CONFIG_FIELD_NUMBER
public static final int HUMAN_AGENT_ASSISTANT_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HUMAN_AGENT_HANDOFF_CONFIG_FIELD_NUMBER
public static final int HUMAN_AGENT_HANDOFF_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NOTIFICATION_CONFIG_FIELD_NUMBER
public static final int NOTIFICATION_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOGGING_CONFIG_FIELD_NUMBER
public static final int LOGGING_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NEW_MESSAGE_EVENT_NOTIFICATION_CONFIG_FIELD_NUMBER
public static final int NEW_MESSAGE_EVENT_NOTIFICATION_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STT_CONFIG_FIELD_NUMBER
public static final int STT_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LANGUAGE_CODE_FIELD_NUMBER
public static final int LANGUAGE_CODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIME_ZONE_FIELD_NUMBER
public static final int TIME_ZONE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SECURITY_SETTINGS_FIELD_NUMBER
public static final int SECURITY_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TTS_CONFIG_FIELD_NUMBER
public static final int TTS_CONFIG_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 this conversation profile. Format: `projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>`.
string name = 1;- Specified by:
getNamein interfaceConversationProfileOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The unique identifier of this conversation profile. Format: `projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>`.
string name = 1;- Specified by:
getNameBytesin interfaceConversationProfileOrBuilder- Returns:
- The bytes for name.
-
getDisplayName
public String getDisplayName()
Required. Human readable name for this profile. Max length 1024 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNamein interfaceConversationProfileOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Required. Human readable name for this profile. Max length 1024 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNameBytesin interfaceConversationProfileOrBuilder- Returns:
- The bytes for displayName.
-
hasCreateTime
public boolean hasCreateTime()
Output only. Create time of the conversation profile.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceConversationProfileOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Create time of the conversation profile.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceConversationProfileOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create time of the conversation profile.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceConversationProfileOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Update time of the conversation profile.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceConversationProfileOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. Update time of the conversation profile.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceConversationProfileOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Update time of the conversation profile.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceConversationProfileOrBuilder
-
hasAutomatedAgentConfig
public boolean hasAutomatedAgentConfig()
Configuration for an automated agent to use with this profile.
.google.cloud.dialogflow.v2.AutomatedAgentConfig automated_agent_config = 3;- Specified by:
hasAutomatedAgentConfigin interfaceConversationProfileOrBuilder- Returns:
- Whether the automatedAgentConfig field is set.
-
getAutomatedAgentConfig
public AutomatedAgentConfig getAutomatedAgentConfig()
Configuration for an automated agent to use with this profile.
.google.cloud.dialogflow.v2.AutomatedAgentConfig automated_agent_config = 3;- Specified by:
getAutomatedAgentConfigin interfaceConversationProfileOrBuilder- Returns:
- The automatedAgentConfig.
-
getAutomatedAgentConfigOrBuilder
public AutomatedAgentConfigOrBuilder getAutomatedAgentConfigOrBuilder()
Configuration for an automated agent to use with this profile.
.google.cloud.dialogflow.v2.AutomatedAgentConfig automated_agent_config = 3;- Specified by:
getAutomatedAgentConfigOrBuilderin interfaceConversationProfileOrBuilder
-
hasHumanAgentAssistantConfig
public boolean hasHumanAgentAssistantConfig()
Configuration for agent assistance to use with this profile.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig human_agent_assistant_config = 4;- Specified by:
hasHumanAgentAssistantConfigin interfaceConversationProfileOrBuilder- Returns:
- Whether the humanAgentAssistantConfig field is set.
-
getHumanAgentAssistantConfig
public HumanAgentAssistantConfig getHumanAgentAssistantConfig()
Configuration for agent assistance to use with this profile.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig human_agent_assistant_config = 4;- Specified by:
getHumanAgentAssistantConfigin interfaceConversationProfileOrBuilder- Returns:
- The humanAgentAssistantConfig.
-
getHumanAgentAssistantConfigOrBuilder
public HumanAgentAssistantConfigOrBuilder getHumanAgentAssistantConfigOrBuilder()
Configuration for agent assistance to use with this profile.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig human_agent_assistant_config = 4;- Specified by:
getHumanAgentAssistantConfigOrBuilderin interfaceConversationProfileOrBuilder
-
hasHumanAgentHandoffConfig
public boolean hasHumanAgentHandoffConfig()
Configuration for connecting to a live agent. Currently, this feature is not general available, please contact Google to get access.
.google.cloud.dialogflow.v2.HumanAgentHandoffConfig human_agent_handoff_config = 5;- Specified by:
hasHumanAgentHandoffConfigin interfaceConversationProfileOrBuilder- Returns:
- Whether the humanAgentHandoffConfig field is set.
-
getHumanAgentHandoffConfig
public HumanAgentHandoffConfig getHumanAgentHandoffConfig()
Configuration for connecting to a live agent. Currently, this feature is not general available, please contact Google to get access.
.google.cloud.dialogflow.v2.HumanAgentHandoffConfig human_agent_handoff_config = 5;- Specified by:
getHumanAgentHandoffConfigin interfaceConversationProfileOrBuilder- Returns:
- The humanAgentHandoffConfig.
-
getHumanAgentHandoffConfigOrBuilder
public HumanAgentHandoffConfigOrBuilder getHumanAgentHandoffConfigOrBuilder()
Configuration for connecting to a live agent. Currently, this feature is not general available, please contact Google to get access.
.google.cloud.dialogflow.v2.HumanAgentHandoffConfig human_agent_handoff_config = 5;- Specified by:
getHumanAgentHandoffConfigOrBuilderin interfaceConversationProfileOrBuilder
-
hasNotificationConfig
public boolean hasNotificationConfig()
Configuration for publishing conversation lifecycle events.
.google.cloud.dialogflow.v2.NotificationConfig notification_config = 6;- Specified by:
hasNotificationConfigin interfaceConversationProfileOrBuilder- Returns:
- Whether the notificationConfig field is set.
-
getNotificationConfig
public NotificationConfig getNotificationConfig()
Configuration for publishing conversation lifecycle events.
.google.cloud.dialogflow.v2.NotificationConfig notification_config = 6;- Specified by:
getNotificationConfigin interfaceConversationProfileOrBuilder- Returns:
- The notificationConfig.
-
getNotificationConfigOrBuilder
public NotificationConfigOrBuilder getNotificationConfigOrBuilder()
Configuration for publishing conversation lifecycle events.
.google.cloud.dialogflow.v2.NotificationConfig notification_config = 6;- Specified by:
getNotificationConfigOrBuilderin interfaceConversationProfileOrBuilder
-
hasLoggingConfig
public boolean hasLoggingConfig()
Configuration for logging conversation lifecycle events.
.google.cloud.dialogflow.v2.LoggingConfig logging_config = 7;- Specified by:
hasLoggingConfigin interfaceConversationProfileOrBuilder- Returns:
- Whether the loggingConfig field is set.
-
getLoggingConfig
public LoggingConfig getLoggingConfig()
Configuration for logging conversation lifecycle events.
.google.cloud.dialogflow.v2.LoggingConfig logging_config = 7;- Specified by:
getLoggingConfigin interfaceConversationProfileOrBuilder- Returns:
- The loggingConfig.
-
getLoggingConfigOrBuilder
public LoggingConfigOrBuilder getLoggingConfigOrBuilder()
Configuration for logging conversation lifecycle events.
.google.cloud.dialogflow.v2.LoggingConfig logging_config = 7;- Specified by:
getLoggingConfigOrBuilderin interfaceConversationProfileOrBuilder
-
hasNewMessageEventNotificationConfig
public boolean hasNewMessageEventNotificationConfig()
Configuration for publishing new message events. Event will be sent in format of [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent]
.google.cloud.dialogflow.v2.NotificationConfig new_message_event_notification_config = 8;- Specified by:
hasNewMessageEventNotificationConfigin interfaceConversationProfileOrBuilder- Returns:
- Whether the newMessageEventNotificationConfig field is set.
-
getNewMessageEventNotificationConfig
public NotificationConfig getNewMessageEventNotificationConfig()
Configuration for publishing new message events. Event will be sent in format of [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent]
.google.cloud.dialogflow.v2.NotificationConfig new_message_event_notification_config = 8;- Specified by:
getNewMessageEventNotificationConfigin interfaceConversationProfileOrBuilder- Returns:
- The newMessageEventNotificationConfig.
-
getNewMessageEventNotificationConfigOrBuilder
public NotificationConfigOrBuilder getNewMessageEventNotificationConfigOrBuilder()
Configuration for publishing new message events. Event will be sent in format of [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent]
.google.cloud.dialogflow.v2.NotificationConfig new_message_event_notification_config = 8;- Specified by:
getNewMessageEventNotificationConfigOrBuilderin interfaceConversationProfileOrBuilder
-
hasSttConfig
public boolean hasSttConfig()
Settings for speech transcription.
.google.cloud.dialogflow.v2.SpeechToTextConfig stt_config = 9;- Specified by:
hasSttConfigin interfaceConversationProfileOrBuilder- Returns:
- Whether the sttConfig field is set.
-
getSttConfig
public SpeechToTextConfig getSttConfig()
Settings for speech transcription.
.google.cloud.dialogflow.v2.SpeechToTextConfig stt_config = 9;- Specified by:
getSttConfigin interfaceConversationProfileOrBuilder- Returns:
- The sttConfig.
-
getSttConfigOrBuilder
public SpeechToTextConfigOrBuilder getSttConfigOrBuilder()
Settings for speech transcription.
.google.cloud.dialogflow.v2.SpeechToTextConfig stt_config = 9;- Specified by:
getSttConfigOrBuilderin interfaceConversationProfileOrBuilder
-
getLanguageCode
public String getLanguageCode()
Language code for the conversation profile. If not specified, the language is en-US. Language at ConversationProfile should be set for all non en-US languages. This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: "en-US".
string language_code = 10;- Specified by:
getLanguageCodein interfaceConversationProfileOrBuilder- Returns:
- The languageCode.
-
getLanguageCodeBytes
public com.google.protobuf.ByteString getLanguageCodeBytes()
Language code for the conversation profile. If not specified, the language is en-US. Language at ConversationProfile should be set for all non en-US languages. This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: "en-US".
string language_code = 10;- Specified by:
getLanguageCodeBytesin interfaceConversationProfileOrBuilder- Returns:
- The bytes for languageCode.
-
getTimeZone
public String getTimeZone()
The time zone of this conversational profile from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris. Defaults to America/New_York.
string time_zone = 14;- Specified by:
getTimeZonein interfaceConversationProfileOrBuilder- Returns:
- The timeZone.
-
getTimeZoneBytes
public com.google.protobuf.ByteString getTimeZoneBytes()
The time zone of this conversational profile from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris. Defaults to America/New_York.
string time_zone = 14;- Specified by:
getTimeZoneBytesin interfaceConversationProfileOrBuilder- Returns:
- The bytes for timeZone.
-
getSecuritySettings
public String getSecuritySettings()
Name of the CX SecuritySettings reference for the agent. Format: `projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>`.
string security_settings = 13 [(.google.api.resource_reference) = { ... }- Specified by:
getSecuritySettingsin interfaceConversationProfileOrBuilder- Returns:
- The securitySettings.
-
getSecuritySettingsBytes
public com.google.protobuf.ByteString getSecuritySettingsBytes()
Name of the CX SecuritySettings reference for the agent. Format: `projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>`.
string security_settings = 13 [(.google.api.resource_reference) = { ... }- Specified by:
getSecuritySettingsBytesin interfaceConversationProfileOrBuilder- Returns:
- The bytes for securitySettings.
-
hasTtsConfig
public boolean hasTtsConfig()
Configuration for Text-to-Speech synthesization. Used by Phone Gateway to specify synthesization options. If agent defines synthesization options as well, agent settings overrides the option here.
.google.cloud.dialogflow.v2.SynthesizeSpeechConfig tts_config = 18;- Specified by:
hasTtsConfigin interfaceConversationProfileOrBuilder- Returns:
- Whether the ttsConfig field is set.
-
getTtsConfig
public SynthesizeSpeechConfig getTtsConfig()
Configuration for Text-to-Speech synthesization. Used by Phone Gateway to specify synthesization options. If agent defines synthesization options as well, agent settings overrides the option here.
.google.cloud.dialogflow.v2.SynthesizeSpeechConfig tts_config = 18;- Specified by:
getTtsConfigin interfaceConversationProfileOrBuilder- Returns:
- The ttsConfig.
-
getTtsConfigOrBuilder
public SynthesizeSpeechConfigOrBuilder getTtsConfigOrBuilder()
Configuration for Text-to-Speech synthesization. Used by Phone Gateway to specify synthesization options. If agent defines synthesization options as well, agent settings overrides the option here.
.google.cloud.dialogflow.v2.SynthesizeSpeechConfig tts_config = 18;- Specified by:
getTtsConfigOrBuilderin interfaceConversationProfileOrBuilder
-
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 ConversationProfile parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConversationProfile parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConversationProfile parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConversationProfile parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConversationProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConversationProfile parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConversationProfile parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ConversationProfile parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ConversationProfile parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ConversationProfile parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ConversationProfile parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ConversationProfile parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ConversationProfile.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ConversationProfile.Builder newBuilder()
-
newBuilder
public static ConversationProfile.Builder newBuilder(ConversationProfile prototype)
-
toBuilder
public ConversationProfile.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ConversationProfile.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ConversationProfile getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ConversationProfile> parser()
-
getParserForType
public com.google.protobuf.Parser<ConversationProfile> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ConversationProfile getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-