public final class ConversationProfile extends GeneratedMessageV3 implements ConversationProfileOrBuilder
Defines the services to connect to incoming Dialogflow conversations.
Protobuf type google.cloud.dialogflow.v2.ConversationProfile
Static Fields
AUTOMATED_AGENT_CONFIG_FIELD_NUMBER
public static final int AUTOMATED_AGENT_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
HUMAN_AGENT_ASSISTANT_CONFIG_FIELD_NUMBER
public static final int HUMAN_AGENT_ASSISTANT_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
HUMAN_AGENT_HANDOFF_CONFIG_FIELD_NUMBER
public static final int HUMAN_AGENT_HANDOFF_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LANGUAGE_CODE_FIELD_NUMBER
public static final int LANGUAGE_CODE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LOGGING_CONFIG_FIELD_NUMBER
public static final int LOGGING_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NEW_MESSAGE_EVENT_NOTIFICATION_CONFIG_FIELD_NUMBER
public static final int NEW_MESSAGE_EVENT_NOTIFICATION_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NOTIFICATION_CONFIG_FIELD_NUMBER
public static final int NOTIFICATION_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SECURITY_SETTINGS_FIELD_NUMBER
public static final int SECURITY_SETTINGS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STT_CONFIG_FIELD_NUMBER
public static final int STT_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TIME_ZONE_FIELD_NUMBER
public static final int TIME_ZONE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TTS_CONFIG_FIELD_NUMBER
public static final int TTS_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ConversationProfile getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ConversationProfile.Builder newBuilder()
newBuilder(ConversationProfile prototype)
public static ConversationProfile.Builder newBuilder(ConversationProfile prototype)
public static ConversationProfile parseDelimitedFrom(InputStream input)
public static ConversationProfile parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ConversationProfile parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ConversationProfile parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ConversationProfile parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConversationProfile parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConversationProfile parseFrom(CodedInputStream input)
public static ConversationProfile parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ConversationProfile parseFrom(InputStream input)
public static ConversationProfile parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ConversationProfile parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ConversationProfile parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ConversationProfile> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAutomatedAgentConfig()
public AutomatedAgentConfig getAutomatedAgentConfig()
Configuration for an automated agent to use with this profile.
.google.cloud.dialogflow.v2.AutomatedAgentConfig automated_agent_config = 3;
getAutomatedAgentConfigOrBuilder()
public AutomatedAgentConfigOrBuilder getAutomatedAgentConfigOrBuilder()
Configuration for an automated agent to use with this profile.
.google.cloud.dialogflow.v2.AutomatedAgentConfig automated_agent_config = 3;
getCreateTime()
public Timestamp getCreateTime()
Output only. Create time of the conversation profile.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create time of the conversation profile.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public ConversationProfile getDefaultInstanceForType()
getDisplayName()
public String getDisplayName()
Required. Human readable name for this profile. Max length 1024 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Required. Human readable name for this profile. Max length 1024 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for displayName.
|
getHumanAgentAssistantConfig()
public HumanAgentAssistantConfig getHumanAgentAssistantConfig()
Configuration for agent assistance to use with this profile.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig human_agent_assistant_config = 4;
getHumanAgentAssistantConfigOrBuilder()
public HumanAgentAssistantConfigOrBuilder getHumanAgentAssistantConfigOrBuilder()
Configuration for agent assistance to use with this profile.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig human_agent_assistant_config = 4;
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;
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;
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
language tag. Example: "en-US".
string language_code = 10;
Returns |
Type |
Description |
String |
The languageCode.
|
getLanguageCodeBytes()
public 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
language tag. Example: "en-US".
string language_code = 10;
Returns |
Type |
Description |
ByteString |
The bytes for languageCode.
|
getLoggingConfig()
public LoggingConfig getLoggingConfig()
Configuration for logging conversation lifecycle events.
.google.cloud.dialogflow.v2.LoggingConfig logging_config = 7;
getLoggingConfigOrBuilder()
public LoggingConfigOrBuilder getLoggingConfigOrBuilder()
Configuration for logging conversation lifecycle events.
.google.cloud.dialogflow.v2.LoggingConfig logging_config = 7;
getName()
The unique identifier of this conversation profile.
Format: projects/<Project ID>/locations/<Location
ID>/conversationProfiles/<Conversation Profile ID>
.
string name = 1;
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
The unique identifier of this conversation profile.
Format: projects/<Project ID>/locations/<Location
ID>/conversationProfiles/<Conversation Profile ID>
.
string name = 1;
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getNewMessageEventNotificationConfig()
public NotificationConfig getNewMessageEventNotificationConfig()
Configuration for publishing new message events. Event will be sent in
format of ConversationEvent
.google.cloud.dialogflow.v2.NotificationConfig new_message_event_notification_config = 8;
getNewMessageEventNotificationConfigOrBuilder()
public NotificationConfigOrBuilder getNewMessageEventNotificationConfigOrBuilder()
Configuration for publishing new message events. Event will be sent in
format of ConversationEvent
.google.cloud.dialogflow.v2.NotificationConfig new_message_event_notification_config = 8;
getNotificationConfig()
public NotificationConfig getNotificationConfig()
Configuration for publishing conversation lifecycle events.
.google.cloud.dialogflow.v2.NotificationConfig notification_config = 6;
getNotificationConfigOrBuilder()
public NotificationConfigOrBuilder getNotificationConfigOrBuilder()
Configuration for publishing conversation lifecycle events.
.google.cloud.dialogflow.v2.NotificationConfig notification_config = 6;
getParserForType()
public Parser<ConversationProfile> getParserForType()
Overrides
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) = { ... }
Returns |
Type |
Description |
String |
The securitySettings.
|
getSecuritySettingsBytes()
public 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) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for securitySettings.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSttConfig()
public SpeechToTextConfig getSttConfig()
Settings for speech transcription.
.google.cloud.dialogflow.v2.SpeechToTextConfig stt_config = 9;
getSttConfigOrBuilder()
public SpeechToTextConfigOrBuilder getSttConfigOrBuilder()
Settings for speech transcription.
.google.cloud.dialogflow.v2.SpeechToTextConfig stt_config = 9;
getTimeZone()
public String getTimeZone()
The time zone of this conversational profile from the
time zone database, e.g.,
America/New_York, Europe/Paris. Defaults to America/New_York.
string time_zone = 14;
Returns |
Type |
Description |
String |
The timeZone.
|
getTimeZoneBytes()
public ByteString getTimeZoneBytes()
The time zone of this conversational profile from the
time zone database, e.g.,
America/New_York, Europe/Paris. Defaults to America/New_York.
string time_zone = 14;
Returns |
Type |
Description |
ByteString |
The bytes for timeZone.
|
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;
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;
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Update time of the conversation profile.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The updateTime.
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Update time of the conversation profile.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasAutomatedAgentConfig()
public boolean hasAutomatedAgentConfig()
Configuration for an automated agent to use with this profile.
.google.cloud.dialogflow.v2.AutomatedAgentConfig automated_agent_config = 3;
Returns |
Type |
Description |
boolean |
Whether the automatedAgentConfig field is set.
|
hasCreateTime()
public boolean hasCreateTime()
Output only. Create time of the conversation profile.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
hasHumanAgentAssistantConfig()
public boolean hasHumanAgentAssistantConfig()
Configuration for agent assistance to use with this profile.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig human_agent_assistant_config = 4;
Returns |
Type |
Description |
boolean |
Whether the humanAgentAssistantConfig field is set.
|
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;
Returns |
Type |
Description |
boolean |
Whether the humanAgentHandoffConfig field is set.
|
hasLoggingConfig()
public boolean hasLoggingConfig()
Configuration for logging conversation lifecycle events.
.google.cloud.dialogflow.v2.LoggingConfig logging_config = 7;
Returns |
Type |
Description |
boolean |
Whether the loggingConfig field is set.
|
hasNewMessageEventNotificationConfig()
public boolean hasNewMessageEventNotificationConfig()
Configuration for publishing new message events. Event will be sent in
format of ConversationEvent
.google.cloud.dialogflow.v2.NotificationConfig new_message_event_notification_config = 8;
Returns |
Type |
Description |
boolean |
Whether the newMessageEventNotificationConfig field is set.
|
hasNotificationConfig()
public boolean hasNotificationConfig()
Configuration for publishing conversation lifecycle events.
.google.cloud.dialogflow.v2.NotificationConfig notification_config = 6;
Returns |
Type |
Description |
boolean |
Whether the notificationConfig field is set.
|
hasSttConfig()
public boolean hasSttConfig()
Settings for speech transcription.
.google.cloud.dialogflow.v2.SpeechToTextConfig stt_config = 9;
Returns |
Type |
Description |
boolean |
Whether the sttConfig field is set.
|
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;
Returns |
Type |
Description |
boolean |
Whether the ttsConfig field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Update time of the conversation profile.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the updateTime field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ConversationProfile.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ConversationProfile.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ConversationProfile.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides