Class Dimension.QaQuestionDimensionMetadata.Builder

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

public static final class Dimension.QaQuestionDimensionMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<Dimension.QaQuestionDimensionMetadata.Builder> implements Dimension.QaQuestionDimensionMetadataOrBuilder
 Metadata about the QA question dimension.
 
Protobuf type google.cloud.contactcenterinsights.v1.Dimension.QaQuestionDimensionMetadata
  • 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<Dimension.QaQuestionDimensionMetadata.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<Dimension.QaQuestionDimensionMetadata.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<Dimension.QaQuestionDimensionMetadata.Builder>
    • getDefaultInstanceForType

      public Dimension.QaQuestionDimensionMetadata 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

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public Dimension.QaQuestionDimensionMetadata.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<Dimension.QaQuestionDimensionMetadata.Builder>
      Throws:
      IOException
    • getQaScorecardId

      public String getQaScorecardId()
       Optional. The QA scorecard ID.
       
      string qa_scorecard_id = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getQaScorecardId in interface Dimension.QaQuestionDimensionMetadataOrBuilder
      Returns:
      The qaScorecardId.
    • getQaScorecardIdBytes

      public com.google.protobuf.ByteString getQaScorecardIdBytes()
       Optional. The QA scorecard ID.
       
      string qa_scorecard_id = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getQaScorecardIdBytes in interface Dimension.QaQuestionDimensionMetadataOrBuilder
      Returns:
      The bytes for qaScorecardId.
    • setQaScorecardId

      public Dimension.QaQuestionDimensionMetadata.Builder setQaScorecardId(String value)
       Optional. The QA scorecard ID.
       
      string qa_scorecard_id = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The qaScorecardId to set.
      Returns:
      This builder for chaining.
    • clearQaScorecardId

      public Dimension.QaQuestionDimensionMetadata.Builder clearQaScorecardId()
       Optional. The QA scorecard ID.
       
      string qa_scorecard_id = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setQaScorecardIdBytes

      public Dimension.QaQuestionDimensionMetadata.Builder setQaScorecardIdBytes(com.google.protobuf.ByteString value)
       Optional. The QA scorecard ID.
       
      string qa_scorecard_id = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for qaScorecardId to set.
      Returns:
      This builder for chaining.
    • getQaQuestionId

      public String getQaQuestionId()
       Optional. The QA question ID.
       
      string qa_question_id = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getQaQuestionId in interface Dimension.QaQuestionDimensionMetadataOrBuilder
      Returns:
      The qaQuestionId.
    • getQaQuestionIdBytes

      public com.google.protobuf.ByteString getQaQuestionIdBytes()
       Optional. The QA question ID.
       
      string qa_question_id = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getQaQuestionIdBytes in interface Dimension.QaQuestionDimensionMetadataOrBuilder
      Returns:
      The bytes for qaQuestionId.
    • setQaQuestionId

      public Dimension.QaQuestionDimensionMetadata.Builder setQaQuestionId(String value)
       Optional. The QA question ID.
       
      string qa_question_id = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The qaQuestionId to set.
      Returns:
      This builder for chaining.
    • clearQaQuestionId

       Optional. The QA question ID.
       
      string qa_question_id = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setQaQuestionIdBytes

      public Dimension.QaQuestionDimensionMetadata.Builder setQaQuestionIdBytes(com.google.protobuf.ByteString value)
       Optional. The QA question ID.
       
      string qa_question_id = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for qaQuestionId to set.
      Returns:
      This builder for chaining.
    • getQuestionBody

      public String getQuestionBody()
       Optional. The full body of the question.
       
      string question_body = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getQuestionBody in interface Dimension.QaQuestionDimensionMetadataOrBuilder
      Returns:
      The questionBody.
    • getQuestionBodyBytes

      public com.google.protobuf.ByteString getQuestionBodyBytes()
       Optional. The full body of the question.
       
      string question_body = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getQuestionBodyBytes in interface Dimension.QaQuestionDimensionMetadataOrBuilder
      Returns:
      The bytes for questionBody.
    • setQuestionBody

      public Dimension.QaQuestionDimensionMetadata.Builder setQuestionBody(String value)
       Optional. The full body of the question.
       
      string question_body = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The questionBody to set.
      Returns:
      This builder for chaining.
    • clearQuestionBody

       Optional. The full body of the question.
       
      string question_body = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setQuestionBodyBytes

      public Dimension.QaQuestionDimensionMetadata.Builder setQuestionBodyBytes(com.google.protobuf.ByteString value)
       Optional. The full body of the question.
       
      string question_body = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for questionBody to set.
      Returns:
      This builder for chaining.