Class ConversationProfile.Builder (4.58.0)

public static final class ConversationProfile.Builder extends GeneratedMessageV3.Builder<ConversationProfile.Builder> implements ConversationProfileOrBuilder

Defines the services to connect to incoming Dialogflow conversations.

Protobuf type google.cloud.dialogflow.v2.ConversationProfile

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ConversationProfile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ConversationProfile.Builder
Overrides

build()

public ConversationProfile build()
Returns
Type Description
ConversationProfile

buildPartial()

public ConversationProfile buildPartial()
Returns
Type Description
ConversationProfile

clear()

public ConversationProfile.Builder clear()
Returns
Type Description
ConversationProfile.Builder
Overrides

clearAutomatedAgentConfig()

public ConversationProfile.Builder clearAutomatedAgentConfig()

Configuration for an automated agent to use with this profile.

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

Returns
Type Description
ConversationProfile.Builder

clearCreateTime()

public ConversationProfile.Builder clearCreateTime()

Output only. Create time of the conversation profile.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ConversationProfile.Builder

clearDisplayName()

public ConversationProfile.Builder clearDisplayName()

Required. Human readable name for this profile. Max length 1024 bytes.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConversationProfile.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ConversationProfile.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ConversationProfile.Builder
Overrides

clearHumanAgentAssistantConfig()

public ConversationProfile.Builder clearHumanAgentAssistantConfig()

Configuration for agent assistance to use with this profile.

.google.cloud.dialogflow.v2.HumanAgentAssistantConfig human_agent_assistant_config = 4;

Returns
Type Description
ConversationProfile.Builder

clearHumanAgentHandoffConfig()

public ConversationProfile.Builder clearHumanAgentHandoffConfig()

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
ConversationProfile.Builder

clearLanguageCode()

public ConversationProfile.Builder clearLanguageCode()

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
ConversationProfile.Builder

This builder for chaining.

clearLoggingConfig()

public ConversationProfile.Builder clearLoggingConfig()

Configuration for logging conversation lifecycle events.

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

Returns
Type Description
ConversationProfile.Builder

clearName()

public ConversationProfile.Builder clearName()

The unique identifier of this conversation profile. Format: projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>.

string name = 1;

Returns
Type Description
ConversationProfile.Builder

This builder for chaining.

clearNewMessageEventNotificationConfig()

public ConversationProfile.Builder clearNewMessageEventNotificationConfig()

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
ConversationProfile.Builder

clearNotificationConfig()

public ConversationProfile.Builder clearNotificationConfig()

Configuration for publishing conversation lifecycle events.

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

Returns
Type Description
ConversationProfile.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ConversationProfile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ConversationProfile.Builder
Overrides

clearSecuritySettings()

public ConversationProfile.Builder clearSecuritySettings()

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
ConversationProfile.Builder

This builder for chaining.

clearSttConfig()

public ConversationProfile.Builder clearSttConfig()

Settings for speech transcription.

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

Returns
Type Description
ConversationProfile.Builder

clearTimeZone()

public ConversationProfile.Builder clearTimeZone()

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
ConversationProfile.Builder

This builder for chaining.

clearTtsConfig()

public ConversationProfile.Builder clearTtsConfig()

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
ConversationProfile.Builder

clearUpdateTime()

public ConversationProfile.Builder clearUpdateTime()

Output only. Update time of the conversation profile.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ConversationProfile.Builder

clone()

public ConversationProfile.Builder clone()
Returns
Type Description
ConversationProfile.Builder
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
Type Description
AutomatedAgentConfig

The automatedAgentConfig.

getAutomatedAgentConfigBuilder()

public AutomatedAgentConfig.Builder getAutomatedAgentConfigBuilder()

Configuration for an automated agent to use with this profile.

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

Returns
Type Description
AutomatedAgentConfig.Builder

getAutomatedAgentConfigOrBuilder()

public AutomatedAgentConfigOrBuilder getAutomatedAgentConfigOrBuilder()

Configuration for an automated agent to use with this profile.

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

Returns
Type Description
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
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Create time of the conversation profile.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

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
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public ConversationProfile getDefaultInstanceForType()
Returns
Type Description
ConversationProfile

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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;

Returns
Type Description
HumanAgentAssistantConfig

The humanAgentAssistantConfig.

getHumanAgentAssistantConfigBuilder()

public HumanAgentAssistantConfig.Builder getHumanAgentAssistantConfigBuilder()

Configuration for agent assistance to use with this profile.

.google.cloud.dialogflow.v2.HumanAgentAssistantConfig human_agent_assistant_config = 4;

Returns
Type Description
HumanAgentAssistantConfig.Builder

getHumanAgentAssistantConfigOrBuilder()

public HumanAgentAssistantConfigOrBuilder getHumanAgentAssistantConfigOrBuilder()

Configuration for agent assistance to use with this profile.

.google.cloud.dialogflow.v2.HumanAgentAssistantConfig human_agent_assistant_config = 4;

Returns
Type Description
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
Type Description
HumanAgentHandoffConfig

The humanAgentHandoffConfig.

getHumanAgentHandoffConfigBuilder()

public HumanAgentHandoffConfig.Builder getHumanAgentHandoffConfigBuilder()

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
HumanAgentHandoffConfig.Builder

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
Type Description
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
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;

Returns
Type Description
LoggingConfig

The loggingConfig.

getLoggingConfigBuilder()

public LoggingConfig.Builder getLoggingConfigBuilder()

Configuration for logging conversation lifecycle events.

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

Returns
Type Description
LoggingConfig.Builder

getLoggingConfigOrBuilder()

public LoggingConfigOrBuilder getLoggingConfigOrBuilder()

Configuration for logging conversation lifecycle events.

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

Returns
Type Description
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
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;

Returns
Type Description
NotificationConfig

The newMessageEventNotificationConfig.

getNewMessageEventNotificationConfigBuilder()

public NotificationConfig.Builder getNewMessageEventNotificationConfigBuilder()

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
NotificationConfig.Builder

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
Type Description
NotificationConfigOrBuilder

getNotificationConfig()

public NotificationConfig getNotificationConfig()

Configuration for publishing conversation lifecycle events.

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

Returns
Type Description
NotificationConfig

The notificationConfig.

getNotificationConfigBuilder()

public NotificationConfig.Builder getNotificationConfigBuilder()

Configuration for publishing conversation lifecycle events.

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

Returns
Type Description
NotificationConfig.Builder

getNotificationConfigOrBuilder()

public NotificationConfigOrBuilder getNotificationConfigOrBuilder()

Configuration for publishing conversation lifecycle events.

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

Returns
Type Description
NotificationConfigOrBuilder

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.

getSttConfig()

public SpeechToTextConfig getSttConfig()

Settings for speech transcription.

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

Returns
Type Description
SpeechToTextConfig

The sttConfig.

getSttConfigBuilder()

public SpeechToTextConfig.Builder getSttConfigBuilder()

Settings for speech transcription.

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

Returns
Type Description
SpeechToTextConfig.Builder

getSttConfigOrBuilder()

public SpeechToTextConfigOrBuilder getSttConfigOrBuilder()

Settings for speech transcription.

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

Returns
Type Description
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
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;

Returns
Type Description
SynthesizeSpeechConfig

The ttsConfig.

getTtsConfigBuilder()

public SynthesizeSpeechConfig.Builder getTtsConfigBuilder()

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
SynthesizeSpeechConfig.Builder

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
Type Description
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
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Update time of the conversation profile.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

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
Type Description
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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAutomatedAgentConfig(AutomatedAgentConfig value)

public ConversationProfile.Builder mergeAutomatedAgentConfig(AutomatedAgentConfig value)

Configuration for an automated agent to use with this profile.

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

Parameter
Name Description
value AutomatedAgentConfig
Returns
Type Description
ConversationProfile.Builder

mergeCreateTime(Timestamp value)

public ConversationProfile.Builder mergeCreateTime(Timestamp value)

Output only. Create time of the conversation profile.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ConversationProfile.Builder

mergeFrom(ConversationProfile other)

public ConversationProfile.Builder mergeFrom(ConversationProfile other)
Parameter
Name Description
other ConversationProfile
Returns
Type Description
ConversationProfile.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConversationProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationProfile.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ConversationProfile.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ConversationProfile.Builder
Overrides

mergeHumanAgentAssistantConfig(HumanAgentAssistantConfig value)

public ConversationProfile.Builder mergeHumanAgentAssistantConfig(HumanAgentAssistantConfig value)

Configuration for agent assistance to use with this profile.

.google.cloud.dialogflow.v2.HumanAgentAssistantConfig human_agent_assistant_config = 4;

Parameter
Name Description
value HumanAgentAssistantConfig
Returns
Type Description
ConversationProfile.Builder

mergeHumanAgentHandoffConfig(HumanAgentHandoffConfig value)

public ConversationProfile.Builder mergeHumanAgentHandoffConfig(HumanAgentHandoffConfig value)

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;

Parameter
Name Description
value HumanAgentHandoffConfig
Returns
Type Description
ConversationProfile.Builder

mergeLoggingConfig(LoggingConfig value)

public ConversationProfile.Builder mergeLoggingConfig(LoggingConfig value)

Configuration for logging conversation lifecycle events.

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

Parameter
Name Description
value LoggingConfig
Returns
Type Description
ConversationProfile.Builder

mergeNewMessageEventNotificationConfig(NotificationConfig value)

public ConversationProfile.Builder mergeNewMessageEventNotificationConfig(NotificationConfig value)

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;

Parameter
Name Description
value NotificationConfig
Returns
Type Description
ConversationProfile.Builder

mergeNotificationConfig(NotificationConfig value)

public ConversationProfile.Builder mergeNotificationConfig(NotificationConfig value)

Configuration for publishing conversation lifecycle events.

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

Parameter
Name Description
value NotificationConfig
Returns
Type Description
ConversationProfile.Builder

mergeSttConfig(SpeechToTextConfig value)

public ConversationProfile.Builder mergeSttConfig(SpeechToTextConfig value)

Settings for speech transcription.

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

Parameter
Name Description
value SpeechToTextConfig
Returns
Type Description
ConversationProfile.Builder

mergeTtsConfig(SynthesizeSpeechConfig value)

public ConversationProfile.Builder mergeTtsConfig(SynthesizeSpeechConfig value)

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;

Parameter
Name Description
value SynthesizeSpeechConfig
Returns
Type Description
ConversationProfile.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConversationProfile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ConversationProfile.Builder
Overrides

mergeUpdateTime(Timestamp value)

public ConversationProfile.Builder mergeUpdateTime(Timestamp value)

Output only. Update time of the conversation profile.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ConversationProfile.Builder

setAutomatedAgentConfig(AutomatedAgentConfig value)

public ConversationProfile.Builder setAutomatedAgentConfig(AutomatedAgentConfig value)

Configuration for an automated agent to use with this profile.

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

Parameter
Name Description
value AutomatedAgentConfig
Returns
Type Description
ConversationProfile.Builder

setAutomatedAgentConfig(AutomatedAgentConfig.Builder builderForValue)

public ConversationProfile.Builder setAutomatedAgentConfig(AutomatedAgentConfig.Builder builderForValue)

Configuration for an automated agent to use with this profile.

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

Parameter
Name Description
builderForValue AutomatedAgentConfig.Builder
Returns
Type Description
ConversationProfile.Builder

setCreateTime(Timestamp value)

public ConversationProfile.Builder setCreateTime(Timestamp value)

Output only. Create time of the conversation profile.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ConversationProfile.Builder

setCreateTime(Timestamp.Builder builderForValue)

public ConversationProfile.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Create time of the conversation profile.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ConversationProfile.Builder

setDisplayName(String value)

public ConversationProfile.Builder setDisplayName(String value)

Required. Human readable name for this profile. Max length 1024 bytes.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
ConversationProfile.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public ConversationProfile.Builder setDisplayNameBytes(ByteString value)

Required. Human readable name for this profile. Max length 1024 bytes.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
ConversationProfile.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ConversationProfile.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ConversationProfile.Builder
Overrides

setHumanAgentAssistantConfig(HumanAgentAssistantConfig value)

public ConversationProfile.Builder setHumanAgentAssistantConfig(HumanAgentAssistantConfig value)

Configuration for agent assistance to use with this profile.

.google.cloud.dialogflow.v2.HumanAgentAssistantConfig human_agent_assistant_config = 4;

Parameter
Name Description
value HumanAgentAssistantConfig
Returns
Type Description
ConversationProfile.Builder

setHumanAgentAssistantConfig(HumanAgentAssistantConfig.Builder builderForValue)

public ConversationProfile.Builder setHumanAgentAssistantConfig(HumanAgentAssistantConfig.Builder builderForValue)

Configuration for agent assistance to use with this profile.

.google.cloud.dialogflow.v2.HumanAgentAssistantConfig human_agent_assistant_config = 4;

Parameter
Name Description
builderForValue HumanAgentAssistantConfig.Builder
Returns
Type Description
ConversationProfile.Builder

setHumanAgentHandoffConfig(HumanAgentHandoffConfig value)

public ConversationProfile.Builder setHumanAgentHandoffConfig(HumanAgentHandoffConfig value)

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;

Parameter
Name Description
value HumanAgentHandoffConfig
Returns
Type Description
ConversationProfile.Builder

setHumanAgentHandoffConfig(HumanAgentHandoffConfig.Builder builderForValue)

public ConversationProfile.Builder setHumanAgentHandoffConfig(HumanAgentHandoffConfig.Builder builderForValue)

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;

Parameter
Name Description
builderForValue HumanAgentHandoffConfig.Builder
Returns
Type Description
ConversationProfile.Builder

setLanguageCode(String value)

public ConversationProfile.Builder setLanguageCode(String value)

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;

Parameter
Name Description
value String

The languageCode to set.

Returns
Type Description
ConversationProfile.Builder

This builder for chaining.

setLanguageCodeBytes(ByteString value)

public ConversationProfile.Builder setLanguageCodeBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for languageCode to set.

Returns
Type Description
ConversationProfile.Builder

This builder for chaining.

setLoggingConfig(LoggingConfig value)

public ConversationProfile.Builder setLoggingConfig(LoggingConfig value)

Configuration for logging conversation lifecycle events.

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

Parameter
Name Description
value LoggingConfig
Returns
Type Description
ConversationProfile.Builder

setLoggingConfig(LoggingConfig.Builder builderForValue)

public ConversationProfile.Builder setLoggingConfig(LoggingConfig.Builder builderForValue)

Configuration for logging conversation lifecycle events.

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

Parameter
Name Description
builderForValue LoggingConfig.Builder
Returns
Type Description
ConversationProfile.Builder

setName(String value)

public ConversationProfile.Builder setName(String value)

The unique identifier of this conversation profile. Format: projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ConversationProfile.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ConversationProfile.Builder setNameBytes(ByteString value)

The unique identifier of this conversation profile. Format: projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ConversationProfile.Builder

This builder for chaining.

setNewMessageEventNotificationConfig(NotificationConfig value)

public ConversationProfile.Builder setNewMessageEventNotificationConfig(NotificationConfig value)

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;

Parameter
Name Description
value NotificationConfig
Returns
Type Description
ConversationProfile.Builder

setNewMessageEventNotificationConfig(NotificationConfig.Builder builderForValue)

public ConversationProfile.Builder setNewMessageEventNotificationConfig(NotificationConfig.Builder builderForValue)

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;

Parameter
Name Description
builderForValue NotificationConfig.Builder
Returns
Type Description
ConversationProfile.Builder

setNotificationConfig(NotificationConfig value)

public ConversationProfile.Builder setNotificationConfig(NotificationConfig value)

Configuration for publishing conversation lifecycle events.

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

Parameter
Name Description
value NotificationConfig
Returns
Type Description
ConversationProfile.Builder

setNotificationConfig(NotificationConfig.Builder builderForValue)

public ConversationProfile.Builder setNotificationConfig(NotificationConfig.Builder builderForValue)

Configuration for publishing conversation lifecycle events.

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

Parameter
Name Description
builderForValue NotificationConfig.Builder
Returns
Type Description
ConversationProfile.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ConversationProfile.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ConversationProfile.Builder
Overrides

setSecuritySettings(String value)

public ConversationProfile.Builder setSecuritySettings(String value)

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) = { ... }

Parameter
Name Description
value String

The securitySettings to set.

Returns
Type Description
ConversationProfile.Builder

This builder for chaining.

setSecuritySettingsBytes(ByteString value)

public ConversationProfile.Builder setSecuritySettingsBytes(ByteString value)

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) = { ... }

Parameter
Name Description
value ByteString

The bytes for securitySettings to set.

Returns
Type Description
ConversationProfile.Builder

This builder for chaining.

setSttConfig(SpeechToTextConfig value)

public ConversationProfile.Builder setSttConfig(SpeechToTextConfig value)

Settings for speech transcription.

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

Parameter
Name Description
value SpeechToTextConfig
Returns
Type Description
ConversationProfile.Builder

setSttConfig(SpeechToTextConfig.Builder builderForValue)

public ConversationProfile.Builder setSttConfig(SpeechToTextConfig.Builder builderForValue)

Settings for speech transcription.

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

Parameter
Name Description
builderForValue SpeechToTextConfig.Builder
Returns
Type Description
ConversationProfile.Builder

setTimeZone(String value)

public ConversationProfile.Builder setTimeZone(String value)

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;

Parameter
Name Description
value String

The timeZone to set.

Returns
Type Description
ConversationProfile.Builder

This builder for chaining.

setTimeZoneBytes(ByteString value)

public ConversationProfile.Builder setTimeZoneBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for timeZone to set.

Returns
Type Description
ConversationProfile.Builder

This builder for chaining.

setTtsConfig(SynthesizeSpeechConfig value)

public ConversationProfile.Builder setTtsConfig(SynthesizeSpeechConfig value)

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;

Parameter
Name Description
value SynthesizeSpeechConfig
Returns
Type Description
ConversationProfile.Builder

setTtsConfig(SynthesizeSpeechConfig.Builder builderForValue)

public ConversationProfile.Builder setTtsConfig(SynthesizeSpeechConfig.Builder builderForValue)

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;

Parameter
Name Description
builderForValue SynthesizeSpeechConfig.Builder
Returns
Type Description
ConversationProfile.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ConversationProfile.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ConversationProfile.Builder
Overrides

setUpdateTime(Timestamp value)

public ConversationProfile.Builder setUpdateTime(Timestamp value)

Output only. Update time of the conversation profile.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ConversationProfile.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public ConversationProfile.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Update time of the conversation profile.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ConversationProfile.Builder