Class 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.GeneratedMessageV3.Builder<ConversationProfile.Builder>
    implements ConversationProfileOrBuilder
     Defines the services to connect to incoming Dialogflow conversations.
     
    Protobuf type google.cloud.dialogflow.v2.ConversationProfile
    • Method Detail

      • getDescriptor

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

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

        public 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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public ConversationProfile.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ConversationProfile.Builder>
      • setField

        public ConversationProfile.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ConversationProfile.Builder>
      • clearField

        public ConversationProfile.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ConversationProfile.Builder>
      • clearOneof

        public ConversationProfile.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ConversationProfile.Builder>
      • setRepeatedField

        public ConversationProfile.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            int index,
                                                            Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ConversationProfile.Builder>
      • addRepeatedField

        public ConversationProfile.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ConversationProfile.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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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.
      • 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;
      • 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.
      • 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;
      • 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;
      • 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.
      • setNotificationConfig

        public ConversationProfile.Builder setNotificationConfig​(NotificationConfig value)
         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;
      • 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.
      • setLoggingConfig

        public ConversationProfile.Builder setLoggingConfig​(LoggingConfig value)
         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;
      • 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;
      • 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.
      • 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;
      • 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

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

        public final ConversationProfile.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ConversationProfile.Builder>
      • mergeUnknownFields

        public final ConversationProfile.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ConversationProfile.Builder>