Class ConversationProfile
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dialogflow.v2beta1.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.v2beta1.ConversationProfile
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConversationProfile.Builder
Defines 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 int
AUTOMATED_AGENT_CONFIG_FIELD_NUMBER
static int
CREATE_TIME_FIELD_NUMBER
static int
DISPLAY_NAME_FIELD_NUMBER
static int
HUMAN_AGENT_ASSISTANT_CONFIG_FIELD_NUMBER
static int
HUMAN_AGENT_HANDOFF_CONFIG_FIELD_NUMBER
static int
LANGUAGE_CODE_FIELD_NUMBER
static int
LOGGING_CONFIG_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
NEW_MESSAGE_EVENT_NOTIFICATION_CONFIG_FIELD_NUMBER
static int
NOTIFICATION_CONFIG_FIELD_NUMBER
static int
SECURITY_SETTINGS_FIELD_NUMBER
static int
STT_CONFIG_FIELD_NUMBER
static int
TIME_ZONE_FIELD_NUMBER
static int
TTS_CONFIG_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
AutomatedAgentConfig
getAutomatedAgentConfig()
Configuration for an automated agent to use with this profile.AutomatedAgentConfigOrBuilder
getAutomatedAgentConfigOrBuilder()
Configuration for an automated agent to use with this profile.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.static ConversationProfile
getDefaultInstance()
ConversationProfile
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getDisplayName()
Required.com.google.protobuf.ByteString
getDisplayNameBytes()
Required.HumanAgentAssistantConfig
getHumanAgentAssistantConfig()
Configuration for agent assistance to use with this profile.HumanAgentAssistantConfigOrBuilder
getHumanAgentAssistantConfigOrBuilder()
Configuration for agent assistance to use with this profile.HumanAgentHandoffConfig
getHumanAgentHandoffConfig()
Configuration for connecting to a live agent.HumanAgentHandoffConfigOrBuilder
getHumanAgentHandoffConfigOrBuilder()
Configuration for connecting to a live agent.String
getLanguageCode()
Language code for the conversation profile.com.google.protobuf.ByteString
getLanguageCodeBytes()
Language code for the conversation profile.LoggingConfig
getLoggingConfig()
Configuration for logging conversation lifecycle events.LoggingConfigOrBuilder
getLoggingConfigOrBuilder()
Configuration for logging conversation lifecycle events.String
getName()
The unique identifier of this conversation profile.com.google.protobuf.ByteString
getNameBytes()
The unique identifier of this conversation profile.NotificationConfig
getNewMessageEventNotificationConfig()
Configuration for publishing new message events.NotificationConfigOrBuilder
getNewMessageEventNotificationConfigOrBuilder()
Configuration for publishing new message events.NotificationConfig
getNotificationConfig()
Configuration for publishing conversation lifecycle events.NotificationConfigOrBuilder
getNotificationConfigOrBuilder()
Configuration for publishing conversation lifecycle events.com.google.protobuf.Parser<ConversationProfile>
getParserForType()
String
getSecuritySettings()
Name of the CX SecuritySettings reference for the agent.com.google.protobuf.ByteString
getSecuritySettingsBytes()
Name of the CX SecuritySettings reference for the agent.int
getSerializedSize()
SpeechToTextConfig
getSttConfig()
Settings for speech transcription.SpeechToTextConfigOrBuilder
getSttConfigOrBuilder()
Settings for speech transcription.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.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.SynthesizeSpeechConfig
getTtsConfig()
Configuration for Text-to-Speech synthesization.SynthesizeSpeechConfigOrBuilder
getTtsConfigOrBuilder()
Configuration for Text-to-Speech synthesization.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasAutomatedAgentConfig()
Configuration for an automated agent to use with this profile.boolean
hasCreateTime()
Output only.int
hashCode()
boolean
hasHumanAgentAssistantConfig()
Configuration for agent assistance to use with this profile.boolean
hasHumanAgentHandoffConfig()
Configuration for connecting to a live agent.boolean
hasLoggingConfig()
Configuration for logging conversation lifecycle events.boolean
hasNewMessageEventNotificationConfig()
Configuration for publishing new message events.boolean
hasNotificationConfig()
Configuration for publishing conversation lifecycle events.boolean
hasSttConfig()
Settings for speech transcription.boolean
hasTtsConfig()
Configuration for Text-to-Speech synthesization.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static ConversationProfile.Builder
newBuilder()
static ConversationProfile.Builder
newBuilder(ConversationProfile prototype)
ConversationProfile.Builder
newBuilderForType()
protected ConversationProfile.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static ConversationProfile
parseDelimitedFrom(InputStream input)
static ConversationProfile
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ConversationProfile
parseFrom(byte[] data)
static ConversationProfile
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ConversationProfile
parseFrom(com.google.protobuf.ByteString data)
static ConversationProfile
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ConversationProfile
parseFrom(com.google.protobuf.CodedInputStream input)
static ConversationProfile
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ConversationProfile
parseFrom(InputStream input)
static ConversationProfile
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ConversationProfile
parseFrom(ByteBuffer data)
static ConversationProfile
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ConversationProfile>
parser()
ConversationProfile.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
-
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:
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 this conversation profile. Format: `projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>`.
string name = 1;
- Specified by:
getName
in 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:
getNameBytes
in 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:
getDisplayName
in 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:
getDisplayNameBytes
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in 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:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in interfaceConversationProfileOrBuilder
-
hasAutomatedAgentConfig
public boolean hasAutomatedAgentConfig()
Configuration for an automated agent to use with this profile.
.google.cloud.dialogflow.v2beta1.AutomatedAgentConfig automated_agent_config = 3;
- Specified by:
hasAutomatedAgentConfig
in 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.v2beta1.AutomatedAgentConfig automated_agent_config = 3;
- Specified by:
getAutomatedAgentConfig
in interfaceConversationProfileOrBuilder
- Returns:
- The automatedAgentConfig.
-
getAutomatedAgentConfigOrBuilder
public AutomatedAgentConfigOrBuilder getAutomatedAgentConfigOrBuilder()
Configuration for an automated agent to use with this profile.
.google.cloud.dialogflow.v2beta1.AutomatedAgentConfig automated_agent_config = 3;
- Specified by:
getAutomatedAgentConfigOrBuilder
in interfaceConversationProfileOrBuilder
-
hasHumanAgentAssistantConfig
public boolean hasHumanAgentAssistantConfig()
Configuration for agent assistance to use with this profile.
.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig human_agent_assistant_config = 4;
- Specified by:
hasHumanAgentAssistantConfig
in interfaceConversationProfileOrBuilder
- Returns:
- Whether the humanAgentAssistantConfig field is set.
-
getHumanAgentAssistantConfig
public HumanAgentAssistantConfig getHumanAgentAssistantConfig()
Configuration for agent assistance to use with this profile.
.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig human_agent_assistant_config = 4;
- Specified by:
getHumanAgentAssistantConfig
in interfaceConversationProfileOrBuilder
- Returns:
- The humanAgentAssistantConfig.
-
getHumanAgentAssistantConfigOrBuilder
public HumanAgentAssistantConfigOrBuilder getHumanAgentAssistantConfigOrBuilder()
Configuration for agent assistance to use with this profile.
.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig human_agent_assistant_config = 4;
- Specified by:
getHumanAgentAssistantConfigOrBuilder
in 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.v2beta1.HumanAgentHandoffConfig human_agent_handoff_config = 5;
- Specified by:
hasHumanAgentHandoffConfig
in 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.v2beta1.HumanAgentHandoffConfig human_agent_handoff_config = 5;
- Specified by:
getHumanAgentHandoffConfig
in 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.v2beta1.HumanAgentHandoffConfig human_agent_handoff_config = 5;
- Specified by:
getHumanAgentHandoffConfigOrBuilder
in interfaceConversationProfileOrBuilder
-
hasNotificationConfig
public boolean hasNotificationConfig()
Configuration for publishing conversation lifecycle events.
.google.cloud.dialogflow.v2beta1.NotificationConfig notification_config = 6;
- Specified by:
hasNotificationConfig
in interfaceConversationProfileOrBuilder
- Returns:
- Whether the notificationConfig field is set.
-
getNotificationConfig
public NotificationConfig getNotificationConfig()
Configuration for publishing conversation lifecycle events.
.google.cloud.dialogflow.v2beta1.NotificationConfig notification_config = 6;
- Specified by:
getNotificationConfig
in interfaceConversationProfileOrBuilder
- Returns:
- The notificationConfig.
-
getNotificationConfigOrBuilder
public NotificationConfigOrBuilder getNotificationConfigOrBuilder()
Configuration for publishing conversation lifecycle events.
.google.cloud.dialogflow.v2beta1.NotificationConfig notification_config = 6;
- Specified by:
getNotificationConfigOrBuilder
in interfaceConversationProfileOrBuilder
-
hasLoggingConfig
public boolean hasLoggingConfig()
Configuration for logging conversation lifecycle events.
.google.cloud.dialogflow.v2beta1.LoggingConfig logging_config = 7;
- Specified by:
hasLoggingConfig
in interfaceConversationProfileOrBuilder
- Returns:
- Whether the loggingConfig field is set.
-
getLoggingConfig
public LoggingConfig getLoggingConfig()
Configuration for logging conversation lifecycle events.
.google.cloud.dialogflow.v2beta1.LoggingConfig logging_config = 7;
- Specified by:
getLoggingConfig
in interfaceConversationProfileOrBuilder
- Returns:
- The loggingConfig.
-
getLoggingConfigOrBuilder
public LoggingConfigOrBuilder getLoggingConfigOrBuilder()
Configuration for logging conversation lifecycle events.
.google.cloud.dialogflow.v2beta1.LoggingConfig logging_config = 7;
- Specified by:
getLoggingConfigOrBuilder
in interfaceConversationProfileOrBuilder
-
hasNewMessageEventNotificationConfig
public boolean hasNewMessageEventNotificationConfig()
Configuration for publishing new message events. Event will be sent in format of [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
.google.cloud.dialogflow.v2beta1.NotificationConfig new_message_event_notification_config = 8;
- Specified by:
hasNewMessageEventNotificationConfig
in 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.v2beta1.ConversationEvent]
.google.cloud.dialogflow.v2beta1.NotificationConfig new_message_event_notification_config = 8;
- Specified by:
getNewMessageEventNotificationConfig
in 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.v2beta1.ConversationEvent]
.google.cloud.dialogflow.v2beta1.NotificationConfig new_message_event_notification_config = 8;
- Specified by:
getNewMessageEventNotificationConfigOrBuilder
in interfaceConversationProfileOrBuilder
-
hasSttConfig
public boolean hasSttConfig()
Settings for speech transcription.
.google.cloud.dialogflow.v2beta1.SpeechToTextConfig stt_config = 9;
- Specified by:
hasSttConfig
in interfaceConversationProfileOrBuilder
- Returns:
- Whether the sttConfig field is set.
-
getSttConfig
public SpeechToTextConfig getSttConfig()
Settings for speech transcription.
.google.cloud.dialogflow.v2beta1.SpeechToTextConfig stt_config = 9;
- Specified by:
getSttConfig
in interfaceConversationProfileOrBuilder
- Returns:
- The sttConfig.
-
getSttConfigOrBuilder
public SpeechToTextConfigOrBuilder getSttConfigOrBuilder()
Settings for speech transcription.
.google.cloud.dialogflow.v2beta1.SpeechToTextConfig stt_config = 9;
- Specified by:
getSttConfigOrBuilder
in 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:
getLanguageCode
in 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:
getLanguageCodeBytes
in 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:
getTimeZone
in 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:
getTimeZoneBytes
in 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:
getSecuritySettings
in 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:
getSecuritySettingsBytes
in 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.v2beta1.SynthesizeSpeechConfig tts_config = 18;
- Specified by:
hasTtsConfig
in 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.v2beta1.SynthesizeSpeechConfig tts_config = 18;
- Specified by:
getTtsConfig
in 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.v2beta1.SynthesizeSpeechConfig tts_config = 18;
- Specified by:
getTtsConfigOrBuilder
in interfaceConversationProfileOrBuilder
-
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 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ConversationProfile.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ConversationProfile getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-