Class ListAnalysesResponse.Builder

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

public static final class ListAnalysesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListAnalysesResponse.Builder> implements ListAnalysesResponseOrBuilder
 The response to list analyses.
 
Protobuf type google.cloud.contactcenterinsights.v1.ListAnalysesResponse
  • 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<ListAnalysesResponse.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<ListAnalysesResponse.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<ListAnalysesResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListAnalysesResponse.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<ListAnalysesResponse.Builder>
      Throws:
      IOException
    • getAnalysesList

      public List<Analysis> getAnalysesList()
       The analyses that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;
      Specified by:
      getAnalysesList in interface ListAnalysesResponseOrBuilder
    • getAnalysesCount

      public int getAnalysesCount()
       The analyses that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;
      Specified by:
      getAnalysesCount in interface ListAnalysesResponseOrBuilder
    • getAnalyses

      public Analysis getAnalyses(int index)
       The analyses that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;
      Specified by:
      getAnalyses in interface ListAnalysesResponseOrBuilder
    • setAnalyses

      public ListAnalysesResponse.Builder setAnalyses(int index, Analysis value)
       The analyses that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;
    • setAnalyses

      public ListAnalysesResponse.Builder setAnalyses(int index, Analysis.Builder builderForValue)
       The analyses that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;
    • addAnalyses

      public ListAnalysesResponse.Builder addAnalyses(Analysis value)
       The analyses that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;
    • addAnalyses

      public ListAnalysesResponse.Builder addAnalyses(int index, Analysis value)
       The analyses that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;
    • addAnalyses

      public ListAnalysesResponse.Builder addAnalyses(Analysis.Builder builderForValue)
       The analyses that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;
    • addAnalyses

      public ListAnalysesResponse.Builder addAnalyses(int index, Analysis.Builder builderForValue)
       The analyses that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;
    • addAllAnalyses

      public ListAnalysesResponse.Builder addAllAnalyses(Iterable<? extends Analysis> values)
       The analyses that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;
    • clearAnalyses

      public ListAnalysesResponse.Builder clearAnalyses()
       The analyses that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;
    • removeAnalyses

      public ListAnalysesResponse.Builder removeAnalyses(int index)
       The analyses that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;
    • getAnalysesBuilder

      public Analysis.Builder getAnalysesBuilder(int index)
       The analyses that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;
    • getAnalysesOrBuilder

      public AnalysisOrBuilder getAnalysesOrBuilder(int index)
       The analyses that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;
      Specified by:
      getAnalysesOrBuilder in interface ListAnalysesResponseOrBuilder
    • getAnalysesOrBuilderList

      public List<? extends AnalysisOrBuilder> getAnalysesOrBuilderList()
       The analyses that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;
      Specified by:
      getAnalysesOrBuilderList in interface ListAnalysesResponseOrBuilder
    • addAnalysesBuilder

      public Analysis.Builder addAnalysesBuilder()
       The analyses that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;
    • addAnalysesBuilder

      public Analysis.Builder addAnalysesBuilder(int index)
       The analyses that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;
    • getAnalysesBuilderList

      public List<Analysis.Builder> getAnalysesBuilderList()
       The analyses that match the request.
       
      repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 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 ListAnalysesResponseOrBuilder
      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 ListAnalysesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

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