Class ListAllFeedbackLabelsResponse.Builder

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

public static final class ListAllFeedbackLabelsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListAllFeedbackLabelsResponse.Builder> implements ListAllFeedbackLabelsResponseOrBuilder
 The response for listing all feedback labels.
 
Protobuf type google.cloud.contactcenterinsights.v1.ListAllFeedbackLabelsResponse
  • 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<ListAllFeedbackLabelsResponse.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<ListAllFeedbackLabelsResponse.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<ListAllFeedbackLabelsResponse.Builder>
    • getDefaultInstanceForType

      public ListAllFeedbackLabelsResponse 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 ListAllFeedbackLabelsResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

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

      public List<FeedbackLabel> getFeedbackLabelsList()
       The feedback labels that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_labels = 1;
      Specified by:
      getFeedbackLabelsList in interface ListAllFeedbackLabelsResponseOrBuilder
    • getFeedbackLabelsCount

      public int getFeedbackLabelsCount()
       The feedback labels that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_labels = 1;
      Specified by:
      getFeedbackLabelsCount in interface ListAllFeedbackLabelsResponseOrBuilder
    • getFeedbackLabels

      public FeedbackLabel getFeedbackLabels(int index)
       The feedback labels that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_labels = 1;
      Specified by:
      getFeedbackLabels in interface ListAllFeedbackLabelsResponseOrBuilder
    • setFeedbackLabels

      public ListAllFeedbackLabelsResponse.Builder setFeedbackLabels(int index, FeedbackLabel value)
       The feedback labels that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_labels = 1;
    • setFeedbackLabels

      public ListAllFeedbackLabelsResponse.Builder setFeedbackLabels(int index, FeedbackLabel.Builder builderForValue)
       The feedback labels that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_labels = 1;
    • addFeedbackLabels

      public ListAllFeedbackLabelsResponse.Builder addFeedbackLabels(FeedbackLabel value)
       The feedback labels that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_labels = 1;
    • addFeedbackLabels

      public ListAllFeedbackLabelsResponse.Builder addFeedbackLabels(int index, FeedbackLabel value)
       The feedback labels that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_labels = 1;
    • addFeedbackLabels

      public ListAllFeedbackLabelsResponse.Builder addFeedbackLabels(FeedbackLabel.Builder builderForValue)
       The feedback labels that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_labels = 1;
    • addFeedbackLabels

      public ListAllFeedbackLabelsResponse.Builder addFeedbackLabels(int index, FeedbackLabel.Builder builderForValue)
       The feedback labels that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_labels = 1;
    • addAllFeedbackLabels

      public ListAllFeedbackLabelsResponse.Builder addAllFeedbackLabels(Iterable<? extends FeedbackLabel> values)
       The feedback labels that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_labels = 1;
    • clearFeedbackLabels

      public ListAllFeedbackLabelsResponse.Builder clearFeedbackLabels()
       The feedback labels that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_labels = 1;
    • removeFeedbackLabels

      public ListAllFeedbackLabelsResponse.Builder removeFeedbackLabels(int index)
       The feedback labels that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_labels = 1;
    • getFeedbackLabelsBuilder

      public FeedbackLabel.Builder getFeedbackLabelsBuilder(int index)
       The feedback labels that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_labels = 1;
    • getFeedbackLabelsOrBuilder

      public FeedbackLabelOrBuilder getFeedbackLabelsOrBuilder(int index)
       The feedback labels that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_labels = 1;
      Specified by:
      getFeedbackLabelsOrBuilder in interface ListAllFeedbackLabelsResponseOrBuilder
    • getFeedbackLabelsOrBuilderList

      public List<? extends FeedbackLabelOrBuilder> getFeedbackLabelsOrBuilderList()
       The feedback labels that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_labels = 1;
      Specified by:
      getFeedbackLabelsOrBuilderList in interface ListAllFeedbackLabelsResponseOrBuilder
    • addFeedbackLabelsBuilder

      public FeedbackLabel.Builder addFeedbackLabelsBuilder()
       The feedback labels that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_labels = 1;
    • addFeedbackLabelsBuilder

      public FeedbackLabel.Builder addFeedbackLabelsBuilder(int index)
       The feedback labels that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_labels = 1;
    • getFeedbackLabelsBuilderList

      public List<FeedbackLabel.Builder> getFeedbackLabelsBuilderList()
       The feedback labels that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_labels = 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 ListAllFeedbackLabelsResponseOrBuilder
      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 ListAllFeedbackLabelsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListAllFeedbackLabelsResponse.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 ListAllFeedbackLabelsResponse.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 ListAllFeedbackLabelsResponse.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.