Class ListQaQuestionsResponse.Builder

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

public static final class ListQaQuestionsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListQaQuestionsResponse.Builder> implements ListQaQuestionsResponseOrBuilder
 The response from a ListQaQuestions request.
 
Protobuf type google.cloud.contactcenterinsights.v1.ListQaQuestionsResponse
  • 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<ListQaQuestionsResponse.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<ListQaQuestionsResponse.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<ListQaQuestionsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public List<QaQuestion> getQaQuestionsList()
       The QaQuestions under the parent.
       
      repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
      Specified by:
      getQaQuestionsList in interface ListQaQuestionsResponseOrBuilder
    • getQaQuestionsCount

      public int getQaQuestionsCount()
       The QaQuestions under the parent.
       
      repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
      Specified by:
      getQaQuestionsCount in interface ListQaQuestionsResponseOrBuilder
    • getQaQuestions

      public QaQuestion getQaQuestions(int index)
       The QaQuestions under the parent.
       
      repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
      Specified by:
      getQaQuestions in interface ListQaQuestionsResponseOrBuilder
    • setQaQuestions

      public ListQaQuestionsResponse.Builder setQaQuestions(int index, QaQuestion value)
       The QaQuestions under the parent.
       
      repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
    • setQaQuestions

      public ListQaQuestionsResponse.Builder setQaQuestions(int index, QaQuestion.Builder builderForValue)
       The QaQuestions under the parent.
       
      repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
    • addQaQuestions

      public ListQaQuestionsResponse.Builder addQaQuestions(QaQuestion value)
       The QaQuestions under the parent.
       
      repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
    • addQaQuestions

      public ListQaQuestionsResponse.Builder addQaQuestions(int index, QaQuestion value)
       The QaQuestions under the parent.
       
      repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
    • addQaQuestions

      public ListQaQuestionsResponse.Builder addQaQuestions(QaQuestion.Builder builderForValue)
       The QaQuestions under the parent.
       
      repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
    • addQaQuestions

      public ListQaQuestionsResponse.Builder addQaQuestions(int index, QaQuestion.Builder builderForValue)
       The QaQuestions under the parent.
       
      repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
    • addAllQaQuestions

      public ListQaQuestionsResponse.Builder addAllQaQuestions(Iterable<? extends QaQuestion> values)
       The QaQuestions under the parent.
       
      repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
    • clearQaQuestions

      public ListQaQuestionsResponse.Builder clearQaQuestions()
       The QaQuestions under the parent.
       
      repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
    • removeQaQuestions

      public ListQaQuestionsResponse.Builder removeQaQuestions(int index)
       The QaQuestions under the parent.
       
      repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
    • getQaQuestionsBuilder

      public QaQuestion.Builder getQaQuestionsBuilder(int index)
       The QaQuestions under the parent.
       
      repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
    • getQaQuestionsOrBuilder

      public QaQuestionOrBuilder getQaQuestionsOrBuilder(int index)
       The QaQuestions under the parent.
       
      repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
      Specified by:
      getQaQuestionsOrBuilder in interface ListQaQuestionsResponseOrBuilder
    • getQaQuestionsOrBuilderList

      public List<? extends QaQuestionOrBuilder> getQaQuestionsOrBuilderList()
       The QaQuestions under the parent.
       
      repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
      Specified by:
      getQaQuestionsOrBuilderList in interface ListQaQuestionsResponseOrBuilder
    • addQaQuestionsBuilder

      public QaQuestion.Builder addQaQuestionsBuilder()
       The QaQuestions under the parent.
       
      repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
    • addQaQuestionsBuilder

      public QaQuestion.Builder addQaQuestionsBuilder(int index)
       The QaQuestions under the parent.
       
      repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
    • getQaQuestionsBuilderList

      public List<QaQuestion.Builder> getQaQuestionsBuilderList()
       The QaQuestions under the parent.
       
      repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListQaQuestionsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListQaQuestionsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListQaQuestionsResponse.Builder setNextPageToken(String value)
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListQaQuestionsResponse.Builder clearNextPageToken()
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListQaQuestionsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.