Class ClearSuggestionFeatureConfigRequest.Builder

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

public static final class ClearSuggestionFeatureConfigRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ClearSuggestionFeatureConfigRequest.Builder> implements ClearSuggestionFeatureConfigRequestOrBuilder
 The request message for
 [ConversationProfiles.ClearSuggestionFeatureConfig][google.cloud.dialogflow.v2.ConversationProfiles.ClearSuggestionFeatureConfig].
 
Protobuf type google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigRequest
  • 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<ClearSuggestionFeatureConfigRequest.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<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.GeneratedMessage.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

      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
    • mergeFrom

      public ClearSuggestionFeatureConfigRequest.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<ClearSuggestionFeatureConfigRequest.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<ClearSuggestionFeatureConfigRequest.Builder>
    • mergeFrom

      public ClearSuggestionFeatureConfigRequest.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<ClearSuggestionFeatureConfigRequest.Builder>
      Throws:
      IOException
    • 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

       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.
    • getSuggestionFeatureType

      public SuggestionFeature.Type getSuggestionFeatureType()
       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:
      getSuggestionFeatureType in interface ClearSuggestionFeatureConfigRequestOrBuilder
      Returns:
      The suggestionFeatureType.
    • setSuggestionFeatureType

       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.