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

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

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

        public ClearSuggestionFeatureConfigRequest 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<ClearSuggestionFeatureConfigRequest.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 ClearSuggestionFeatureConfigRequestOrBuilder
        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 ClearSuggestionFeatureConfigRequestOrBuilder
        Returns:
        The bytes for conversationProfile.
      • setConversationProfile

        public ClearSuggestionFeatureConfigRequest.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 ClearSuggestionFeatureConfigRequest.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 ClearSuggestionFeatureConfigRequest.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 remove the suggestion feature
         config. Only HUMAN_AGENT or END_USER can be used.
         
        .google.cloud.dialogflow.v2.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getParticipantRoleValue in interface ClearSuggestionFeatureConfigRequestOrBuilder
        Returns:
        The enum numeric value on the wire for participantRole.
      • setParticipantRoleValue

        public ClearSuggestionFeatureConfigRequest.Builder setParticipantRoleValue​(int value)
         Required. The participant role to remove the suggestion feature
         config. Only HUMAN_AGENT or END_USER can be used.
         
        .google.cloud.dialogflow.v2.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 remove the suggestion feature
         config. Only HUMAN_AGENT or END_USER can be used.
         
        .google.cloud.dialogflow.v2.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getParticipantRole in interface ClearSuggestionFeatureConfigRequestOrBuilder
        Returns:
        The participantRole.
      • setParticipantRole

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

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

        public int getSuggestionFeatureTypeValue()
         Required. The type of the suggestion feature to remove.
         
        .google.cloud.dialogflow.v2.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getSuggestionFeatureTypeValue in interface ClearSuggestionFeatureConfigRequestOrBuilder
        Returns:
        The enum numeric value on the wire for suggestionFeatureType.
      • setSuggestionFeatureTypeValue

        public ClearSuggestionFeatureConfigRequest.Builder setSuggestionFeatureTypeValue​(int value)
         Required. The type of the suggestion feature to remove.
         
        .google.cloud.dialogflow.v2.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The enum numeric value on the wire for suggestionFeatureType to set.
        Returns:
        This builder for chaining.
      • setSuggestionFeatureType

        public ClearSuggestionFeatureConfigRequest.Builder setSuggestionFeatureType​(SuggestionFeature.Type value)
         Required. The type of the suggestion feature to remove.
         
        .google.cloud.dialogflow.v2.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The suggestionFeatureType to set.
        Returns:
        This builder for chaining.
      • clearSuggestionFeatureType

        public ClearSuggestionFeatureConfigRequest.Builder clearSuggestionFeatureType()
         Required. The type of the suggestion feature to remove.
         
        .google.cloud.dialogflow.v2.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.