Class ConversationProfile (4.47.0)

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
TypeDescription
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

HUMAN_AGENT_ASSISTANT_CONFIG_FIELD_NUMBER

public static final int HUMAN_AGENT_ASSISTANT_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

HUMAN_AGENT_HANDOFF_CONFIG_FIELD_NUMBER

public static final int HUMAN_AGENT_HANDOFF_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

LANGUAGE_CODE_FIELD_NUMBER

public static final int LANGUAGE_CODE_FIELD_NUMBER
Field Value
TypeDescription
int

LOGGING_CONFIG_FIELD_NUMBER

public static final int LOGGING_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

NEW_MESSAGE_EVENT_NOTIFICATION_CONFIG_FIELD_NUMBER

public static final int NEW_MESSAGE_EVENT_NOTIFICATION_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

NOTIFICATION_CONFIG_FIELD_NUMBER

public static final int NOTIFICATION_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

SECURITY_SETTINGS_FIELD_NUMBER

public static final int SECURITY_SETTINGS_FIELD_NUMBER
Field Value
TypeDescription
int

STT_CONFIG_FIELD_NUMBER

public static final int STT_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

TIME_ZONE_FIELD_NUMBER

public static final int TIME_ZONE_FIELD_NUMBER
Field Value
TypeDescription
int

TTS_CONFIG_FIELD_NUMBER

public static final int TTS_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ConversationProfile getDefaultInstance()
Returns
TypeDescription
ConversationProfile

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ConversationProfile.Builder newBuilder()
Returns
TypeDescription
ConversationProfile.Builder

newBuilder(ConversationProfile prototype)

public static ConversationProfile.Builder newBuilder(ConversationProfile prototype)
Parameter
NameDescription
prototypeConversationProfile
Returns
TypeDescription
ConversationProfile.Builder

parseDelimitedFrom(InputStream input)

public static ConversationProfile parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ConversationProfile
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversationProfile parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationProfile
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ConversationProfile parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ConversationProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ConversationProfile parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ConversationProfile parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ConversationProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ConversationProfile parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ConversationProfile parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ConversationProfile
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversationProfile parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationProfile
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ConversationProfile parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ConversationProfile
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversationProfile parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationProfile
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ConversationProfile parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ConversationProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ConversationProfile parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ConversationProfile> parser()
Returns
TypeDescription
Parser<ConversationProfile>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAutomatedAgentConfig()

public AutomatedAgentConfig getAutomatedAgentConfig()

Configuration for an automated agent to use with this profile.

.google.cloud.dialogflow.v2.AutomatedAgentConfig automated_agent_config = 3;

Returns
TypeDescription
AutomatedAgentConfig

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;

Returns
TypeDescription
AutomatedAgentConfigOrBuilder

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
TypeDescription
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];

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public ConversationProfile getDefaultInstanceForType()
Returns
TypeDescription
ConversationProfile

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
TypeDescription
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
TypeDescription
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;

Returns
TypeDescription
HumanAgentAssistantConfig

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;

Returns
TypeDescription
HumanAgentAssistantConfigOrBuilder

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;

Returns
TypeDescription
HumanAgentHandoffConfig

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;

Returns
TypeDescription
HumanAgentHandoffConfigOrBuilder

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
TypeDescription
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
TypeDescription
ByteString

The bytes for languageCode.

getLoggingConfig()

public LoggingConfig getLoggingConfig()

Configuration for logging conversation lifecycle events.

.google.cloud.dialogflow.v2.LoggingConfig logging_config = 7;

Returns
TypeDescription
LoggingConfig

The loggingConfig.

getLoggingConfigOrBuilder()

public LoggingConfigOrBuilder getLoggingConfigOrBuilder()

Configuration for logging conversation lifecycle events.

.google.cloud.dialogflow.v2.LoggingConfig logging_config = 7;

Returns
TypeDescription
LoggingConfigOrBuilder

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;

Returns
TypeDescription
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
TypeDescription
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;

Returns
TypeDescription
NotificationConfig

The newMessageEventNotificationConfig.

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;

Returns
TypeDescription
NotificationConfigOrBuilder

getNotificationConfig()

public NotificationConfig getNotificationConfig()

Configuration for publishing conversation lifecycle events.

.google.cloud.dialogflow.v2.NotificationConfig notification_config = 6;

Returns
TypeDescription
NotificationConfig

The notificationConfig.

getNotificationConfigOrBuilder()

public NotificationConfigOrBuilder getNotificationConfigOrBuilder()

Configuration for publishing conversation lifecycle events.

.google.cloud.dialogflow.v2.NotificationConfig notification_config = 6;

Returns
TypeDescription
NotificationConfigOrBuilder

getParserForType()

public Parser<ConversationProfile> getParserForType()
Returns
TypeDescription
Parser<ConversationProfile>
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
TypeDescription
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
TypeDescription
ByteString

The bytes for securitySettings.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSttConfig()

public SpeechToTextConfig getSttConfig()

Settings for speech transcription.

.google.cloud.dialogflow.v2.SpeechToTextConfig stt_config = 9;

Returns
TypeDescription
SpeechToTextConfig

The sttConfig.

getSttConfigOrBuilder()

public SpeechToTextConfigOrBuilder getSttConfigOrBuilder()

Settings for speech transcription.

.google.cloud.dialogflow.v2.SpeechToTextConfig stt_config = 9;

Returns
TypeDescription
SpeechToTextConfigOrBuilder

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
TypeDescription
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
TypeDescription
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;

Returns
TypeDescription
SynthesizeSpeechConfig

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;

Returns
TypeDescription
SynthesizeSpeechConfigOrBuilder

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
TypeDescription
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];

Returns
TypeDescription
TimestampOrBuilder

hasAutomatedAgentConfig()

public boolean hasAutomatedAgentConfig()

Configuration for an automated agent to use with this profile.

.google.cloud.dialogflow.v2.AutomatedAgentConfig automated_agent_config = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the notificationConfig field is set.

hasSttConfig()

public boolean hasSttConfig()

Settings for speech transcription.

.google.cloud.dialogflow.v2.SpeechToTextConfig stt_config = 9;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ConversationProfile.Builder newBuilderForType()
Returns
TypeDescription
ConversationProfile.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ConversationProfile.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ConversationProfile.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ConversationProfile.Builder toBuilder()
Returns
TypeDescription
ConversationProfile.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException