Class UpdateQaQuestionRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateQaQuestionRequest.Builder>
com.google.cloud.contactcenterinsights.v1.UpdateQaQuestionRequest.Builder
All Implemented Interfaces:
UpdateQaQuestionRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UpdateQaQuestionRequest

public static final class UpdateQaQuestionRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateQaQuestionRequest.Builder> implements UpdateQaQuestionRequestOrBuilder
 The request for updating a QaQuestion.
 
Protobuf type google.cloud.contactcenterinsights.v1.UpdateQaQuestionRequest
  • 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<UpdateQaQuestionRequest.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<UpdateQaQuestionRequest.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<UpdateQaQuestionRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public boolean hasQaQuestion()
       Required. The QaQuestion to update.
       
      .google.cloud.contactcenterinsights.v1.QaQuestion qa_question = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasQaQuestion in interface UpdateQaQuestionRequestOrBuilder
      Returns:
      Whether the qaQuestion field is set.
    • getQaQuestion

      public QaQuestion getQaQuestion()
       Required. The QaQuestion to update.
       
      .google.cloud.contactcenterinsights.v1.QaQuestion qa_question = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getQaQuestion in interface UpdateQaQuestionRequestOrBuilder
      Returns:
      The qaQuestion.
    • setQaQuestion

      public UpdateQaQuestionRequest.Builder setQaQuestion(QaQuestion value)
       Required. The QaQuestion to update.
       
      .google.cloud.contactcenterinsights.v1.QaQuestion qa_question = 1 [(.google.api.field_behavior) = REQUIRED];
    • setQaQuestion

      public UpdateQaQuestionRequest.Builder setQaQuestion(QaQuestion.Builder builderForValue)
       Required. The QaQuestion to update.
       
      .google.cloud.contactcenterinsights.v1.QaQuestion qa_question = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeQaQuestion

      public UpdateQaQuestionRequest.Builder mergeQaQuestion(QaQuestion value)
       Required. The QaQuestion to update.
       
      .google.cloud.contactcenterinsights.v1.QaQuestion qa_question = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearQaQuestion

      public UpdateQaQuestionRequest.Builder clearQaQuestion()
       Required. The QaQuestion to update.
       
      .google.cloud.contactcenterinsights.v1.QaQuestion qa_question = 1 [(.google.api.field_behavior) = REQUIRED];
    • getQaQuestionBuilder

      public QaQuestion.Builder getQaQuestionBuilder()
       Required. The QaQuestion to update.
       
      .google.cloud.contactcenterinsights.v1.QaQuestion qa_question = 1 [(.google.api.field_behavior) = REQUIRED];
    • getQaQuestionOrBuilder

      public QaQuestionOrBuilder getQaQuestionOrBuilder()
       Required. The QaQuestion to update.
       
      .google.cloud.contactcenterinsights.v1.QaQuestion qa_question = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getQaQuestionOrBuilder in interface UpdateQaQuestionRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Required. The list of fields to be updated. All possible fields can be
       updated by passing `*`, or a subset of the following updateable fields can
       be provided:
      
       * `abbreviation`
       * `answer_choices`
       * `answer_instructions`
       * `order`
       * `question_body`
       * `tags`
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasUpdateMask in interface UpdateQaQuestionRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Required. The list of fields to be updated. All possible fields can be
       updated by passing `*`, or a subset of the following updateable fields can
       be provided:
      
       * `abbreviation`
       * `answer_choices`
       * `answer_instructions`
       * `order`
       * `question_body`
       * `tags`
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMask in interface UpdateQaQuestionRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateQaQuestionRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Required. The list of fields to be updated. All possible fields can be
       updated by passing `*`, or a subset of the following updateable fields can
       be provided:
      
       * `abbreviation`
       * `answer_choices`
       * `answer_instructions`
       * `order`
       * `question_body`
       * `tags`
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • setUpdateMask

      public UpdateQaQuestionRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Required. The list of fields to be updated. All possible fields can be
       updated by passing `*`, or a subset of the following updateable fields can
       be provided:
      
       * `abbreviation`
       * `answer_choices`
       * `answer_instructions`
       * `order`
       * `question_body`
       * `tags`
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeUpdateMask

      public UpdateQaQuestionRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Required. The list of fields to be updated. All possible fields can be
       updated by passing `*`, or a subset of the following updateable fields can
       be provided:
      
       * `abbreviation`
       * `answer_choices`
       * `answer_instructions`
       * `order`
       * `question_body`
       * `tags`
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearUpdateMask

      public UpdateQaQuestionRequest.Builder clearUpdateMask()
       Required. The list of fields to be updated. All possible fields can be
       updated by passing `*`, or a subset of the following updateable fields can
       be provided:
      
       * `abbreviation`
       * `answer_choices`
       * `answer_instructions`
       * `order`
       * `question_body`
       * `tags`
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Required. The list of fields to be updated. All possible fields can be
       updated by passing `*`, or a subset of the following updateable fields can
       be provided:
      
       * `abbreviation`
       * `answer_choices`
       * `answer_instructions`
       * `order`
       * `question_body`
       * `tags`
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Required. The list of fields to be updated. All possible fields can be
       updated by passing `*`, or a subset of the following updateable fields can
       be provided:
      
       * `abbreviation`
       * `answer_choices`
       * `answer_instructions`
       * `order`
       * `question_body`
       * `tags`
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateQaQuestionRequestOrBuilder