Class ConversationProfile.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ConversationProfile.Builder>
com.google.cloud.dialogflow.v2.ConversationProfile.Builder
All Implemented Interfaces:
ConversationProfileOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ConversationProfile

public static final class ConversationProfile.Builder extends com.google.protobuf.GeneratedMessage.Builder<ConversationProfile.Builder> implements ConversationProfileOrBuilder
 Defines the services to connect to incoming Dialogflow conversations.
 
Protobuf type google.cloud.dialogflow.v2.ConversationProfile
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ConversationProfile.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ConversationProfile.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ConversationProfile.Builder>
    • getDefaultInstanceForType

      public ConversationProfile getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ConversationProfile build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ConversationProfile buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ConversationProfile.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConversationProfile.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ConversationProfile.Builder>
    • mergeFrom

      public ConversationProfile.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConversationProfile.Builder>
      Throws:
      IOException
    • 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;
      Specified by:
      getName in interface ConversationProfileOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The unique identifier of this conversation profile.
       Format: `projects/<Project ID>/locations/<Location
       ID>/conversationProfiles/<Conversation Profile ID>`.
       
      string name = 1;
      Specified by:
      getNameBytes in interface ConversationProfileOrBuilder
      Returns:
      The bytes for name.
    • setName

      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;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setNameBytes

      public ConversationProfile.Builder setNameBytes(com.google.protobuf.ByteString value)
       The unique identifier of this conversation profile.
       Format: `projects/<Project ID>/locations/<Location
       ID>/conversationProfiles/<Conversation Profile ID>`.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Required. Human readable name for this profile. Max length 1024 bytes.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayName in interface ConversationProfileOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Required. Human readable name for this profile. Max length 1024 bytes.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayNameBytes in interface ConversationProfileOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      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];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setDisplayNameBytes

      public ConversationProfile.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Required. Human readable name for this profile. Max length 1024 bytes.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. Create time of the conversation profile.
       
      .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface ConversationProfileOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. Create time of the conversation profile.
       
      .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface ConversationProfileOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public ConversationProfile.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. Create time of the conversation profile.
       
      .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public ConversationProfile.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Create time of the conversation profile.
       
      .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public ConversationProfile.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Create time of the conversation profile.
       
      .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. Create time of the conversation profile.
       
      .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Create time of the conversation profile.
       
      .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface ConversationProfileOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Update time of the conversation profile.
       
      .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface ConversationProfileOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Update time of the conversation profile.
       
      .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface ConversationProfileOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public ConversationProfile.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Update time of the conversation profile.
       
      .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public ConversationProfile.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Update time of the conversation profile.
       
      .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public ConversationProfile.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Update time of the conversation profile.
       
      .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. Update time of the conversation profile.
       
      .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Update time of the conversation profile.
       
      .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface ConversationProfileOrBuilder
    • hasAutomatedAgentConfig

      public boolean hasAutomatedAgentConfig()
       Configuration for an automated agent to use with this profile.
       
      .google.cloud.dialogflow.v2.AutomatedAgentConfig automated_agent_config = 3;
      Specified by:
      hasAutomatedAgentConfig in interface ConversationProfileOrBuilder
      Returns:
      Whether the automatedAgentConfig field is set.
    • getAutomatedAgentConfig

      public AutomatedAgentConfig getAutomatedAgentConfig()
       Configuration for an automated agent to use with this profile.
       
      .google.cloud.dialogflow.v2.AutomatedAgentConfig automated_agent_config = 3;
      Specified by:
      getAutomatedAgentConfig in interface ConversationProfileOrBuilder
      Returns:
      The automatedAgentConfig.
    • setAutomatedAgentConfig

      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;
    • setAutomatedAgentConfig

      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;
    • mergeAutomatedAgentConfig

      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;
    • clearAutomatedAgentConfig

      public ConversationProfile.Builder clearAutomatedAgentConfig()
       Configuration for an automated agent to use with this profile.
       
      .google.cloud.dialogflow.v2.AutomatedAgentConfig automated_agent_config = 3;
    • getAutomatedAgentConfigBuilder

      public AutomatedAgentConfig.Builder getAutomatedAgentConfigBuilder()
       Configuration for an automated agent to use with this profile.
       
      .google.cloud.dialogflow.v2.AutomatedAgentConfig automated_agent_config = 3;
    • getAutomatedAgentConfigOrBuilder

      public AutomatedAgentConfigOrBuilder getAutomatedAgentConfigOrBuilder()
       Configuration for an automated agent to use with this profile.
       
      .google.cloud.dialogflow.v2.AutomatedAgentConfig automated_agent_config = 3;
      Specified by:
      getAutomatedAgentConfigOrBuilder in interface ConversationProfileOrBuilder
    • hasHumanAgentAssistantConfig

      public boolean hasHumanAgentAssistantConfig()
       Configuration for agent assistance to use with this profile.
       
      .google.cloud.dialogflow.v2.HumanAgentAssistantConfig human_agent_assistant_config = 4;
      Specified by:
      hasHumanAgentAssistantConfig in interface ConversationProfileOrBuilder
      Returns:
      Whether the humanAgentAssistantConfig field is set.
    • getHumanAgentAssistantConfig

      public HumanAgentAssistantConfig getHumanAgentAssistantConfig()
       Configuration for agent assistance to use with this profile.
       
      .google.cloud.dialogflow.v2.HumanAgentAssistantConfig human_agent_assistant_config = 4;
      Specified by:
      getHumanAgentAssistantConfig in interface ConversationProfileOrBuilder
      Returns:
      The humanAgentAssistantConfig.
    • setHumanAgentAssistantConfig

      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;
    • setHumanAgentAssistantConfig

      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;
    • mergeHumanAgentAssistantConfig

      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;
    • clearHumanAgentAssistantConfig

      public ConversationProfile.Builder clearHumanAgentAssistantConfig()
       Configuration for agent assistance to use with this profile.
       
      .google.cloud.dialogflow.v2.HumanAgentAssistantConfig human_agent_assistant_config = 4;
    • getHumanAgentAssistantConfigBuilder

      public HumanAgentAssistantConfig.Builder getHumanAgentAssistantConfigBuilder()
       Configuration for agent assistance to use with this profile.
       
      .google.cloud.dialogflow.v2.HumanAgentAssistantConfig human_agent_assistant_config = 4;
    • getHumanAgentAssistantConfigOrBuilder

      public HumanAgentAssistantConfigOrBuilder getHumanAgentAssistantConfigOrBuilder()
       Configuration for agent assistance to use with this profile.
       
      .google.cloud.dialogflow.v2.HumanAgentAssistantConfig human_agent_assistant_config = 4;
      Specified by:
      getHumanAgentAssistantConfigOrBuilder in interface ConversationProfileOrBuilder
    • 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;
      Specified by:
      hasHumanAgentHandoffConfig in interface ConversationProfileOrBuilder
      Returns:
      Whether the humanAgentHandoffConfig field is set.
    • 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;
      Specified by:
      getHumanAgentHandoffConfig in interface ConversationProfileOrBuilder
      Returns:
      The humanAgentHandoffConfig.
    • setHumanAgentHandoffConfig

      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;
    • setHumanAgentHandoffConfig

      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;
    • mergeHumanAgentHandoffConfig

      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;
    • 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;
    • 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;
    • 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;
      Specified by:
      getHumanAgentHandoffConfigOrBuilder in interface ConversationProfileOrBuilder
    • hasNotificationConfig

      public boolean hasNotificationConfig()
       Configuration for publishing conversation lifecycle events.
       
      .google.cloud.dialogflow.v2.NotificationConfig notification_config = 6;
      Specified by:
      hasNotificationConfig in interface ConversationProfileOrBuilder
      Returns:
      Whether the notificationConfig field is set.
    • getNotificationConfig

      public NotificationConfig getNotificationConfig()
       Configuration for publishing conversation lifecycle events.
       
      .google.cloud.dialogflow.v2.NotificationConfig notification_config = 6;
      Specified by:
      getNotificationConfig in interface ConversationProfileOrBuilder
      Returns:
      The notificationConfig.
    • setNotificationConfig

      public ConversationProfile.Builder setNotificationConfig(NotificationConfig value)
       Configuration for publishing conversation lifecycle events.
       
      .google.cloud.dialogflow.v2.NotificationConfig notification_config = 6;
    • setNotificationConfig

      public ConversationProfile.Builder setNotificationConfig(NotificationConfig.Builder builderForValue)
       Configuration for publishing conversation lifecycle events.
       
      .google.cloud.dialogflow.v2.NotificationConfig notification_config = 6;
    • mergeNotificationConfig

      public ConversationProfile.Builder mergeNotificationConfig(NotificationConfig value)
       Configuration for publishing conversation lifecycle events.
       
      .google.cloud.dialogflow.v2.NotificationConfig notification_config = 6;
    • clearNotificationConfig

      public ConversationProfile.Builder clearNotificationConfig()
       Configuration for publishing conversation lifecycle events.
       
      .google.cloud.dialogflow.v2.NotificationConfig notification_config = 6;
    • getNotificationConfigBuilder

      public NotificationConfig.Builder getNotificationConfigBuilder()
       Configuration for publishing conversation lifecycle events.
       
      .google.cloud.dialogflow.v2.NotificationConfig notification_config = 6;
    • getNotificationConfigOrBuilder

      public NotificationConfigOrBuilder getNotificationConfigOrBuilder()
       Configuration for publishing conversation lifecycle events.
       
      .google.cloud.dialogflow.v2.NotificationConfig notification_config = 6;
      Specified by:
      getNotificationConfigOrBuilder in interface ConversationProfileOrBuilder
    • hasLoggingConfig

      public boolean hasLoggingConfig()
       Configuration for logging conversation lifecycle events.
       
      .google.cloud.dialogflow.v2.LoggingConfig logging_config = 7;
      Specified by:
      hasLoggingConfig in interface ConversationProfileOrBuilder
      Returns:
      Whether the loggingConfig field is set.
    • getLoggingConfig

      public LoggingConfig getLoggingConfig()
       Configuration for logging conversation lifecycle events.
       
      .google.cloud.dialogflow.v2.LoggingConfig logging_config = 7;
      Specified by:
      getLoggingConfig in interface ConversationProfileOrBuilder
      Returns:
      The loggingConfig.
    • setLoggingConfig

      public ConversationProfile.Builder setLoggingConfig(LoggingConfig value)
       Configuration for logging conversation lifecycle events.
       
      .google.cloud.dialogflow.v2.LoggingConfig logging_config = 7;
    • setLoggingConfig

      public ConversationProfile.Builder setLoggingConfig(LoggingConfig.Builder builderForValue)
       Configuration for logging conversation lifecycle events.
       
      .google.cloud.dialogflow.v2.LoggingConfig logging_config = 7;
    • mergeLoggingConfig

      public ConversationProfile.Builder mergeLoggingConfig(LoggingConfig value)
       Configuration for logging conversation lifecycle events.
       
      .google.cloud.dialogflow.v2.LoggingConfig logging_config = 7;
    • clearLoggingConfig

      public ConversationProfile.Builder clearLoggingConfig()
       Configuration for logging conversation lifecycle events.
       
      .google.cloud.dialogflow.v2.LoggingConfig logging_config = 7;
    • getLoggingConfigBuilder

      public LoggingConfig.Builder getLoggingConfigBuilder()
       Configuration for logging conversation lifecycle events.
       
      .google.cloud.dialogflow.v2.LoggingConfig logging_config = 7;
    • getLoggingConfigOrBuilder

      public LoggingConfigOrBuilder getLoggingConfigOrBuilder()
       Configuration for logging conversation lifecycle events.
       
      .google.cloud.dialogflow.v2.LoggingConfig logging_config = 7;
      Specified by:
      getLoggingConfigOrBuilder in interface ConversationProfileOrBuilder
    • hasNewMessageEventNotificationConfig

      public boolean hasNewMessageEventNotificationConfig()
       Configuration for publishing new message events. Event will be sent in
       format of [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent]
       
      .google.cloud.dialogflow.v2.NotificationConfig new_message_event_notification_config = 8;
      Specified by:
      hasNewMessageEventNotificationConfig in interface ConversationProfileOrBuilder
      Returns:
      Whether the newMessageEventNotificationConfig field is set.
    • getNewMessageEventNotificationConfig

      public NotificationConfig getNewMessageEventNotificationConfig()
       Configuration for publishing new message events. Event will be sent in
       format of [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent]
       
      .google.cloud.dialogflow.v2.NotificationConfig new_message_event_notification_config = 8;
      Specified by:
      getNewMessageEventNotificationConfig in interface ConversationProfileOrBuilder
      Returns:
      The newMessageEventNotificationConfig.
    • setNewMessageEventNotificationConfig

      public ConversationProfile.Builder setNewMessageEventNotificationConfig(NotificationConfig value)
       Configuration for publishing new message events. Event will be sent in
       format of [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent]
       
      .google.cloud.dialogflow.v2.NotificationConfig new_message_event_notification_config = 8;
    • setNewMessageEventNotificationConfig

      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.ConversationEvent]
       
      .google.cloud.dialogflow.v2.NotificationConfig new_message_event_notification_config = 8;
    • mergeNewMessageEventNotificationConfig

      public ConversationProfile.Builder mergeNewMessageEventNotificationConfig(NotificationConfig value)
       Configuration for publishing new message events. Event will be sent in
       format of [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent]
       
      .google.cloud.dialogflow.v2.NotificationConfig new_message_event_notification_config = 8;
    • clearNewMessageEventNotificationConfig

      public ConversationProfile.Builder clearNewMessageEventNotificationConfig()
       Configuration for publishing new message events. Event will be sent in
       format of [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent]
       
      .google.cloud.dialogflow.v2.NotificationConfig new_message_event_notification_config = 8;
    • getNewMessageEventNotificationConfigBuilder

      public NotificationConfig.Builder getNewMessageEventNotificationConfigBuilder()
       Configuration for publishing new message events. Event will be sent in
       format of [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent]
       
      .google.cloud.dialogflow.v2.NotificationConfig new_message_event_notification_config = 8;
    • getNewMessageEventNotificationConfigOrBuilder

      public NotificationConfigOrBuilder getNewMessageEventNotificationConfigOrBuilder()
       Configuration for publishing new message events. Event will be sent in
       format of [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent]
       
      .google.cloud.dialogflow.v2.NotificationConfig new_message_event_notification_config = 8;
      Specified by:
      getNewMessageEventNotificationConfigOrBuilder in interface ConversationProfileOrBuilder
    • hasNewRecognitionResultNotificationConfig

      public boolean hasNewRecognitionResultNotificationConfig()
       Optional. Configuration for publishing transcription intermediate results.
       Event will be sent in format of
       [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent]. If
       configured, the following information will be populated as
       [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent] Pub/Sub
       message attributes:
       - "participant_id"
       - "participant_role"
       - "message_id"
       
      .google.cloud.dialogflow.v2.NotificationConfig new_recognition_result_notification_config = 21 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasNewRecognitionResultNotificationConfig in interface ConversationProfileOrBuilder
      Returns:
      Whether the newRecognitionResultNotificationConfig field is set.
    • getNewRecognitionResultNotificationConfig

      public NotificationConfig getNewRecognitionResultNotificationConfig()
       Optional. Configuration for publishing transcription intermediate results.
       Event will be sent in format of
       [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent]. If
       configured, the following information will be populated as
       [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent] Pub/Sub
       message attributes:
       - "participant_id"
       - "participant_role"
       - "message_id"
       
      .google.cloud.dialogflow.v2.NotificationConfig new_recognition_result_notification_config = 21 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNewRecognitionResultNotificationConfig in interface ConversationProfileOrBuilder
      Returns:
      The newRecognitionResultNotificationConfig.
    • setNewRecognitionResultNotificationConfig

      public ConversationProfile.Builder setNewRecognitionResultNotificationConfig(NotificationConfig value)
       Optional. Configuration for publishing transcription intermediate results.
       Event will be sent in format of
       [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent]. If
       configured, the following information will be populated as
       [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent] Pub/Sub
       message attributes:
       - "participant_id"
       - "participant_role"
       - "message_id"
       
      .google.cloud.dialogflow.v2.NotificationConfig new_recognition_result_notification_config = 21 [(.google.api.field_behavior) = OPTIONAL];
    • setNewRecognitionResultNotificationConfig

      public ConversationProfile.Builder setNewRecognitionResultNotificationConfig(NotificationConfig.Builder builderForValue)
       Optional. Configuration for publishing transcription intermediate results.
       Event will be sent in format of
       [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent]. If
       configured, the following information will be populated as
       [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent] Pub/Sub
       message attributes:
       - "participant_id"
       - "participant_role"
       - "message_id"
       
      .google.cloud.dialogflow.v2.NotificationConfig new_recognition_result_notification_config = 21 [(.google.api.field_behavior) = OPTIONAL];
    • mergeNewRecognitionResultNotificationConfig

      public ConversationProfile.Builder mergeNewRecognitionResultNotificationConfig(NotificationConfig value)
       Optional. Configuration for publishing transcription intermediate results.
       Event will be sent in format of
       [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent]. If
       configured, the following information will be populated as
       [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent] Pub/Sub
       message attributes:
       - "participant_id"
       - "participant_role"
       - "message_id"
       
      .google.cloud.dialogflow.v2.NotificationConfig new_recognition_result_notification_config = 21 [(.google.api.field_behavior) = OPTIONAL];
    • clearNewRecognitionResultNotificationConfig

      public ConversationProfile.Builder clearNewRecognitionResultNotificationConfig()
       Optional. Configuration for publishing transcription intermediate results.
       Event will be sent in format of
       [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent]. If
       configured, the following information will be populated as
       [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent] Pub/Sub
       message attributes:
       - "participant_id"
       - "participant_role"
       - "message_id"
       
      .google.cloud.dialogflow.v2.NotificationConfig new_recognition_result_notification_config = 21 [(.google.api.field_behavior) = OPTIONAL];
    • getNewRecognitionResultNotificationConfigBuilder

      public NotificationConfig.Builder getNewRecognitionResultNotificationConfigBuilder()
       Optional. Configuration for publishing transcription intermediate results.
       Event will be sent in format of
       [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent]. If
       configured, the following information will be populated as
       [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent] Pub/Sub
       message attributes:
       - "participant_id"
       - "participant_role"
       - "message_id"
       
      .google.cloud.dialogflow.v2.NotificationConfig new_recognition_result_notification_config = 21 [(.google.api.field_behavior) = OPTIONAL];
    • getNewRecognitionResultNotificationConfigOrBuilder

      public NotificationConfigOrBuilder getNewRecognitionResultNotificationConfigOrBuilder()
       Optional. Configuration for publishing transcription intermediate results.
       Event will be sent in format of
       [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent]. If
       configured, the following information will be populated as
       [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent] Pub/Sub
       message attributes:
       - "participant_id"
       - "participant_role"
       - "message_id"
       
      .google.cloud.dialogflow.v2.NotificationConfig new_recognition_result_notification_config = 21 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNewRecognitionResultNotificationConfigOrBuilder in interface ConversationProfileOrBuilder
    • hasSttConfig

      public boolean hasSttConfig()
       Settings for speech transcription.
       
      .google.cloud.dialogflow.v2.SpeechToTextConfig stt_config = 9;
      Specified by:
      hasSttConfig in interface ConversationProfileOrBuilder
      Returns:
      Whether the sttConfig field is set.
    • getSttConfig

      public SpeechToTextConfig getSttConfig()
       Settings for speech transcription.
       
      .google.cloud.dialogflow.v2.SpeechToTextConfig stt_config = 9;
      Specified by:
      getSttConfig in interface ConversationProfileOrBuilder
      Returns:
      The sttConfig.
    • setSttConfig

      public ConversationProfile.Builder setSttConfig(SpeechToTextConfig value)
       Settings for speech transcription.
       
      .google.cloud.dialogflow.v2.SpeechToTextConfig stt_config = 9;
    • setSttConfig

      public ConversationProfile.Builder setSttConfig(SpeechToTextConfig.Builder builderForValue)
       Settings for speech transcription.
       
      .google.cloud.dialogflow.v2.SpeechToTextConfig stt_config = 9;
    • mergeSttConfig

      public ConversationProfile.Builder mergeSttConfig(SpeechToTextConfig value)
       Settings for speech transcription.
       
      .google.cloud.dialogflow.v2.SpeechToTextConfig stt_config = 9;
    • clearSttConfig

      public ConversationProfile.Builder clearSttConfig()
       Settings for speech transcription.
       
      .google.cloud.dialogflow.v2.SpeechToTextConfig stt_config = 9;
    • getSttConfigBuilder

      public SpeechToTextConfig.Builder getSttConfigBuilder()
       Settings for speech transcription.
       
      .google.cloud.dialogflow.v2.SpeechToTextConfig stt_config = 9;
    • getSttConfigOrBuilder

      public SpeechToTextConfigOrBuilder getSttConfigOrBuilder()
       Settings for speech transcription.
       
      .google.cloud.dialogflow.v2.SpeechToTextConfig stt_config = 9;
      Specified by:
      getSttConfigOrBuilder in interface ConversationProfileOrBuilder
    • 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](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
       language tag. Example: "en-US".
       
      string language_code = 10;
      Specified by:
      getLanguageCode in interface ConversationProfileOrBuilder
      Returns:
      The languageCode.
    • getLanguageCodeBytes

      public com.google.protobuf.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](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
       language tag. Example: "en-US".
       
      string language_code = 10;
      Specified by:
      getLanguageCodeBytes in interface ConversationProfileOrBuilder
      Returns:
      The bytes for languageCode.
    • setLanguageCode

      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](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
       language tag. Example: "en-US".
       
      string language_code = 10;
      Parameters:
      value - The languageCode to set.
      Returns:
      This builder for chaining.
    • 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](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
       language tag. Example: "en-US".
       
      string language_code = 10;
      Returns:
      This builder for chaining.
    • setLanguageCodeBytes

      public ConversationProfile.Builder setLanguageCodeBytes(com.google.protobuf.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](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
       language tag. Example: "en-US".
       
      string language_code = 10;
      Parameters:
      value - The bytes for languageCode to set.
      Returns:
      This builder for chaining.
    • getTimeZone

      public String getTimeZone()
       The time zone of this conversational profile from the
       [time zone database](https://www.iana.org/time-zones), e.g.,
       America/New_York, Europe/Paris. Defaults to America/New_York.
       
      string time_zone = 14;
      Specified by:
      getTimeZone in interface ConversationProfileOrBuilder
      Returns:
      The timeZone.
    • getTimeZoneBytes

      public com.google.protobuf.ByteString getTimeZoneBytes()
       The time zone of this conversational profile from the
       [time zone database](https://www.iana.org/time-zones), e.g.,
       America/New_York, Europe/Paris. Defaults to America/New_York.
       
      string time_zone = 14;
      Specified by:
      getTimeZoneBytes in interface ConversationProfileOrBuilder
      Returns:
      The bytes for timeZone.
    • setTimeZone

      public ConversationProfile.Builder setTimeZone(String value)
       The time zone of this conversational profile from the
       [time zone database](https://www.iana.org/time-zones), e.g.,
       America/New_York, Europe/Paris. Defaults to America/New_York.
       
      string time_zone = 14;
      Parameters:
      value - The timeZone to set.
      Returns:
      This builder for chaining.
    • clearTimeZone

      public ConversationProfile.Builder clearTimeZone()
       The time zone of this conversational profile from the
       [time zone database](https://www.iana.org/time-zones), e.g.,
       America/New_York, Europe/Paris. Defaults to America/New_York.
       
      string time_zone = 14;
      Returns:
      This builder for chaining.
    • setTimeZoneBytes

      public ConversationProfile.Builder setTimeZoneBytes(com.google.protobuf.ByteString value)
       The time zone of this conversational profile from the
       [time zone database](https://www.iana.org/time-zones), e.g.,
       America/New_York, Europe/Paris. Defaults to America/New_York.
       
      string time_zone = 14;
      Parameters:
      value - The bytes for timeZone to set.
      Returns:
      This builder for chaining.
    • 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) = { ... }
      Specified by:
      getSecuritySettings in interface ConversationProfileOrBuilder
      Returns:
      The securitySettings.
    • getSecuritySettingsBytes

      public com.google.protobuf.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) = { ... }
      Specified by:
      getSecuritySettingsBytes in interface ConversationProfileOrBuilder
      Returns:
      The bytes for securitySettings.
    • setSecuritySettings

      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) = { ... }
      Parameters:
      value - The securitySettings to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setSecuritySettingsBytes

      public ConversationProfile.Builder setSecuritySettingsBytes(com.google.protobuf.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) = { ... }
      Parameters:
      value - The bytes for securitySettings to set.
      Returns:
      This builder for chaining.
    • 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;
      Specified by:
      hasTtsConfig in interface ConversationProfileOrBuilder
      Returns:
      Whether the ttsConfig field is set.
    • 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;
      Specified by:
      getTtsConfig in interface ConversationProfileOrBuilder
      Returns:
      The ttsConfig.
    • setTtsConfig

       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;
    • setTtsConfig

      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;
    • mergeTtsConfig

      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;
    • 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;
    • 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;
    • 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;
      Specified by:
      getTtsConfigOrBuilder in interface ConversationProfileOrBuilder