public final class ConversationProfile extends GeneratedMessageV3 implements ConversationProfileOrBuilder
Defines the services to connect to incoming Dialogflow conversations.
Protobuf type google.cloud.dialogflow.v2beta1.ConversationProfile
Static Fields
AUTOMATED_AGENT_CONFIG_FIELD_NUMBER
public static final int AUTOMATED_AGENT_CONFIG_FIELD_NUMBER
Field Value
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
HUMAN_AGENT_ASSISTANT_CONFIG_FIELD_NUMBER
public static final int HUMAN_AGENT_ASSISTANT_CONFIG_FIELD_NUMBER
Field Value
HUMAN_AGENT_HANDOFF_CONFIG_FIELD_NUMBER
public static final int HUMAN_AGENT_HANDOFF_CONFIG_FIELD_NUMBER
Field Value
LANGUAGE_CODE_FIELD_NUMBER
public static final int LANGUAGE_CODE_FIELD_NUMBER
Field Value
LOGGING_CONFIG_FIELD_NUMBER
public static final int LOGGING_CONFIG_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
NEW_MESSAGE_EVENT_NOTIFICATION_CONFIG_FIELD_NUMBER
public static final int NEW_MESSAGE_EVENT_NOTIFICATION_CONFIG_FIELD_NUMBER
Field Value
NOTIFICATION_CONFIG_FIELD_NUMBER
public static final int NOTIFICATION_CONFIG_FIELD_NUMBER
Field Value
SECURITY_SETTINGS_FIELD_NUMBER
public static final int SECURITY_SETTINGS_FIELD_NUMBER
Field Value
STT_CONFIG_FIELD_NUMBER
public static final int STT_CONFIG_FIELD_NUMBER
Field Value
TIME_ZONE_FIELD_NUMBER
public static final int TIME_ZONE_FIELD_NUMBER
Field Value
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ConversationProfile getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ConversationProfile.Builder newBuilder()
Returns
newBuilder(ConversationProfile prototype)
public static ConversationProfile.Builder newBuilder(ConversationProfile prototype)
Parameter
Returns
public static ConversationProfile parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ConversationProfile parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ConversationProfile parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ConversationProfile parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ConversationProfile parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConversationProfile parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ConversationProfile parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ConversationProfile parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ConversationProfile parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ConversationProfile parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ConversationProfile parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ConversationProfile parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ConversationProfile> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAutomatedAgentConfig()
public AutomatedAgentConfig getAutomatedAgentConfig()
Configuration for an automated agent to use with this profile.
.google.cloud.dialogflow.v2beta1.AutomatedAgentConfig automated_agent_config = 3;
Returns
getAutomatedAgentConfigOrBuilder()
public AutomatedAgentConfigOrBuilder getAutomatedAgentConfigOrBuilder()
Configuration for an automated agent to use with this profile.
.google.cloud.dialogflow.v2beta1.AutomatedAgentConfig automated_agent_config = 3;
Returns
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
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create time of the conversation profile.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getDefaultInstanceForType()
public ConversationProfile getDefaultInstanceForType()
Returns
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.v2beta1.HumanAgentAssistantConfig human_agent_assistant_config = 4;
Returns
getHumanAgentAssistantConfigOrBuilder()
public HumanAgentAssistantConfigOrBuilder getHumanAgentAssistantConfigOrBuilder()
Configuration for agent assistance to use with this profile.
.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig human_agent_assistant_config = 4;
Returns
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;
Returns
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;
Returns
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.v2beta1.LoggingConfig logging_config = 7;
Returns
getLoggingConfigOrBuilder()
public LoggingConfigOrBuilder getLoggingConfigOrBuilder()
Configuration for logging conversation lifecycle events.
.google.cloud.dialogflow.v2beta1.LoggingConfig logging_config = 7;
Returns
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
getNewMessageEventNotificationConfig()
public NotificationConfig getNewMessageEventNotificationConfig()
Configuration for publishing new message events. Event will be sent in
format of
ConversationEvent
.google.cloud.dialogflow.v2beta1.NotificationConfig new_message_event_notification_config = 8;
Returns
getNewMessageEventNotificationConfigOrBuilder()
public NotificationConfigOrBuilder getNewMessageEventNotificationConfigOrBuilder()
Configuration for publishing new message events. Event will be sent in
format of
ConversationEvent
.google.cloud.dialogflow.v2beta1.NotificationConfig new_message_event_notification_config = 8;
Returns
getNotificationConfig()
public NotificationConfig getNotificationConfig()
Configuration for publishing conversation lifecycle events.
.google.cloud.dialogflow.v2beta1.NotificationConfig notification_config = 6;
Returns
getNotificationConfigOrBuilder()
public NotificationConfigOrBuilder getNotificationConfigOrBuilder()
Configuration for publishing conversation lifecycle events.
.google.cloud.dialogflow.v2beta1.NotificationConfig notification_config = 6;
Returns
getParserForType()
public Parser<ConversationProfile> getParserForType()
Returns
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
Overrides
getSttConfig()
public SpeechToTextConfig getSttConfig()
Settings for speech transcription.
.google.cloud.dialogflow.v2beta1.SpeechToTextConfig stt_config = 9;
Returns
getSttConfigOrBuilder()
public SpeechToTextConfigOrBuilder getSttConfigOrBuilder()
Settings for speech transcription.
.google.cloud.dialogflow.v2beta1.SpeechToTextConfig stt_config = 9;
Returns
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Update time of the conversation profile.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
hasAutomatedAgentConfig()
public boolean hasAutomatedAgentConfig()
Configuration for an automated agent to use with this profile.
.google.cloud.dialogflow.v2beta1.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.v2beta1.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.v2beta1.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.v2beta1.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.v2beta1.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.v2beta1.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.v2beta1.SpeechToTextConfig stt_config = 9;
Returns
Type |
Description |
boolean |
Whether the sttConfig 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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ConversationProfile.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ConversationProfile.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ConversationProfile.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions