Class SetSuggestionFeatureConfigRequest.Builder

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

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

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

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

      public SetSuggestionFeatureConfigRequest.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<SetSuggestionFeatureConfigRequest.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 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.v2.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.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 add or update 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 SetSuggestionFeatureConfigRequestOrBuilder
      Returns:
      The participantRole.
    • setParticipantRole

       Required. The participant role to add or update 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 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.v2.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.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasSuggestionFeatureConfig in interface SetSuggestionFeatureConfigRequestOrBuilder
      Returns:
      Whether the suggestionFeatureConfig field is set.
    • getSuggestionFeatureConfig

      public HumanAgentAssistantConfig.SuggestionFeatureConfig getSuggestionFeatureConfig()
       Required. The suggestion feature config to add or update.
       
      .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSuggestionFeatureConfig in interface SetSuggestionFeatureConfigRequestOrBuilder
      Returns:
      The suggestionFeatureConfig.
    • setSuggestionFeatureConfig

       Required. The suggestion feature config to add or update.
       
      .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(.google.api.field_behavior) = REQUIRED];
    • setSuggestionFeatureConfig

       Required. The suggestion feature config to add or update.
       
      .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeSuggestionFeatureConfig

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

      public SetSuggestionFeatureConfigRequest.Builder clearSuggestionFeatureConfig()
       Required. The suggestion feature config to add or update.
       
      .google.cloud.dialogflow.v2.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.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(.google.api.field_behavior) = REQUIRED];
    • getSuggestionFeatureConfigOrBuilder

      public HumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder getSuggestionFeatureConfigOrBuilder()
       Required. The suggestion feature config to add or update.
       
      .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSuggestionFeatureConfigOrBuilder in interface SetSuggestionFeatureConfigRequestOrBuilder