Class ConversationProfile.Builder (4.5.11)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ConversationProfile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ConversationProfile.Builder
Overrides

build()

public ConversationProfile build()
Returns
TypeDescription
ConversationProfile

buildPartial()

public ConversationProfile buildPartial()
Returns
TypeDescription
ConversationProfile

clear()

public ConversationProfile.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ConversationProfile.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ConversationProfile.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ConversationProfile.Builder

clearNotificationConfig()

public ConversationProfile.Builder clearNotificationConfig()

Configuration for publishing conversation lifecycle events.

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

Returns
TypeDescription
ConversationProfile.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ConversationProfile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ConversationProfile.Builder

This builder for chaining.

clearSttConfig()

public ConversationProfile.Builder clearSttConfig()

Settings for speech transcription.

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

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

This builder for chaining.

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

clone()

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

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

getDefaultInstanceForType()

public ConversationProfile getDefaultInstanceForType()
Returns
TypeDescription
ConversationProfile

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

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

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

getLoggingConfigBuilder()

public LoggingConfig.Builder getLoggingConfigBuilder()

Configuration for logging conversation lifecycle events.

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

Returns
TypeDescription
LoggingConfig.Builder

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.

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

getNotificationConfigBuilder()

public NotificationConfig.Builder getNotificationConfigBuilder()

Configuration for publishing conversation lifecycle events.

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

Returns
TypeDescription
NotificationConfig.Builder

getNotificationConfigOrBuilder()

public NotificationConfigOrBuilder getNotificationConfigOrBuilder()

Configuration for publishing conversation lifecycle events.

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

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

getSttConfig()

public SpeechToTextConfig getSttConfig()

Settings for speech transcription.

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

Returns
TypeDescription
SpeechToTextConfig

The sttConfig.

getSttConfigBuilder()

public SpeechToTextConfig.Builder getSttConfigBuilder()

Settings for speech transcription.

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

Returns
TypeDescription
SpeechToTextConfig.Builder

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.

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.

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAutomatedAgentConfig
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
ConversationProfile.Builder

mergeFrom(ConversationProfile other)

public ConversationProfile.Builder mergeFrom(ConversationProfile other)
Parameter
NameDescription
otherConversationProfile
Returns
TypeDescription
ConversationProfile.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConversationProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationProfile.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ConversationProfile.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueHumanAgentAssistantConfig
Returns
TypeDescription
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
NameDescription
valueHumanAgentHandoffConfig
Returns
TypeDescription
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
NameDescription
valueLoggingConfig
Returns
TypeDescription
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
NameDescription
valueNotificationConfig
Returns
TypeDescription
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
NameDescription
valueNotificationConfig
Returns
TypeDescription
ConversationProfile.Builder

mergeSttConfig(SpeechToTextConfig value)

public ConversationProfile.Builder mergeSttConfig(SpeechToTextConfig value)

Settings for speech transcription.

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

Parameter
NameDescription
valueSpeechToTextConfig
Returns
TypeDescription
ConversationProfile.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConversationProfile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueAutomatedAgentConfig
Returns
TypeDescription
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
NameDescription
builderForValueAutomatedAgentConfig.Builder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
ConversationProfile.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ConversationProfile.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueHumanAgentAssistantConfig
Returns
TypeDescription
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
NameDescription
builderForValueHumanAgentAssistantConfig.Builder
Returns
TypeDescription
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
NameDescription
valueHumanAgentHandoffConfig
Returns
TypeDescription
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
NameDescription
builderForValueHumanAgentHandoffConfig.Builder
Returns
TypeDescription
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
NameDescription
valueString

The languageCode to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for languageCode to set.

Returns
TypeDescription
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
NameDescription
valueLoggingConfig
Returns
TypeDescription
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
NameDescription
builderForValueLoggingConfig.Builder
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueNotificationConfig
Returns
TypeDescription
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
NameDescription
builderForValueNotificationConfig.Builder
Returns
TypeDescription
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
NameDescription
valueNotificationConfig
Returns
TypeDescription
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
NameDescription
builderForValueNotificationConfig.Builder
Returns
TypeDescription
ConversationProfile.Builder

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

public ConversationProfile.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The securitySettings to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for securitySettings to set.

Returns
TypeDescription
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
NameDescription
valueSpeechToTextConfig
Returns
TypeDescription
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
NameDescription
builderForValueSpeechToTextConfig.Builder
Returns
TypeDescription
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
NameDescription
valueString

The timeZone to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for timeZone to set.

Returns
TypeDescription
ConversationProfile.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ConversationProfile.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ConversationProfile.Builder