Class SetSuggestionFeatureConfigRequest.Builder

    • 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<SetSuggestionFeatureConfigRequest.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<SetSuggestionFeatureConfigRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SetSuggestionFeatureConfigRequest.Builder>
      • getConversationProfile

        public String getConversationProfile()
         Required. The Conversation Profile to add or update the suggestion feature
         config. Format: `projects/<Project ID>/locations/<Location
         ID>/conversationProfiles/<Conversation Profile ID>`.
         
        string conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getConversationProfile in interface SetSuggestionFeatureConfigRequestOrBuilder
        Returns:
        The conversationProfile.
      • getConversationProfileBytes

        public com.google.protobuf.ByteString getConversationProfileBytes()
         Required. The Conversation Profile to add or update the suggestion feature
         config. Format: `projects/<Project ID>/locations/<Location
         ID>/conversationProfiles/<Conversation Profile ID>`.
         
        string conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getConversationProfileBytes in interface SetSuggestionFeatureConfigRequestOrBuilder
        Returns:
        The bytes for conversationProfile.
      • setConversationProfile

        public SetSuggestionFeatureConfigRequest.Builder setConversationProfile​(String value)
         Required. The Conversation Profile to add or update the suggestion feature
         config. Format: `projects/<Project ID>/locations/<Location
         ID>/conversationProfiles/<Conversation Profile ID>`.
         
        string conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The conversationProfile to set.
        Returns:
        This builder for chaining.
      • clearConversationProfile

        public SetSuggestionFeatureConfigRequest.Builder clearConversationProfile()
         Required. The Conversation Profile to add or update the suggestion feature
         config. Format: `projects/<Project ID>/locations/<Location
         ID>/conversationProfiles/<Conversation Profile ID>`.
         
        string conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setConversationProfileBytes

        public SetSuggestionFeatureConfigRequest.Builder setConversationProfileBytes​(com.google.protobuf.ByteString value)
         Required. The Conversation Profile to add or update the suggestion feature
         config. Format: `projects/<Project ID>/locations/<Location
         ID>/conversationProfiles/<Conversation Profile ID>`.
         
        string conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for conversationProfile to set.
        Returns:
        This builder for chaining.
      • getParticipantRoleValue

        public int getParticipantRoleValue()
         Required. The participant role to add or update the suggestion feature
         config. Only HUMAN_AGENT or END_USER can be used.
         
        .google.cloud.dialogflow.v2beta1.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getParticipantRoleValue in interface SetSuggestionFeatureConfigRequestOrBuilder
        Returns:
        The enum numeric value on the wire for participantRole.
      • setParticipantRoleValue

        public SetSuggestionFeatureConfigRequest.Builder setParticipantRoleValue​(int value)
         Required. The participant role to add or update the suggestion feature
         config. Only HUMAN_AGENT or END_USER can be used.
         
        .google.cloud.dialogflow.v2beta1.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The enum numeric value on the wire for participantRole to set.
        Returns:
        This builder for chaining.
      • getParticipantRole

        public Participant.Role getParticipantRole()
         Required. The participant role to add or update the suggestion feature
         config. Only HUMAN_AGENT or END_USER can be used.
         
        .google.cloud.dialogflow.v2beta1.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getParticipantRole in interface SetSuggestionFeatureConfigRequestOrBuilder
        Returns:
        The participantRole.
      • setParticipantRole

        public SetSuggestionFeatureConfigRequest.Builder setParticipantRole​(Participant.Role value)
         Required. The participant role to add or update the suggestion feature
         config. Only HUMAN_AGENT or END_USER can be used.
         
        .google.cloud.dialogflow.v2beta1.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The participantRole to set.
        Returns:
        This builder for chaining.
      • clearParticipantRole

        public SetSuggestionFeatureConfigRequest.Builder clearParticipantRole()
         Required. The participant role to add or update the suggestion feature
         config. Only HUMAN_AGENT or END_USER can be used.
         
        .google.cloud.dialogflow.v2beta1.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • hasSuggestionFeatureConfig

        public boolean hasSuggestionFeatureConfig()
         Required. The suggestion feature config to add or update.
         
        .google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasSuggestionFeatureConfig in interface SetSuggestionFeatureConfigRequestOrBuilder
        Returns:
        Whether the suggestionFeatureConfig field is set.
      • clearSuggestionFeatureConfig

        public SetSuggestionFeatureConfigRequest.Builder clearSuggestionFeatureConfig()
         Required. The suggestion feature config to add or update.
         
        .google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(.google.api.field_behavior) = REQUIRED];
      • getSuggestionFeatureConfigBuilder

        public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder getSuggestionFeatureConfigBuilder()
         Required. The suggestion feature config to add or update.
         
        .google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(.google.api.field_behavior) = REQUIRED];