Class ListCasesResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListCasesResponse.Builder>
com.google.cloud.support.v2beta.ListCasesResponse.Builder
All Implemented Interfaces:
ListCasesResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListCasesResponse

public static final class ListCasesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListCasesResponse.Builder> implements ListCasesResponseOrBuilder
 The response message for the ListCases endpoint.
 
Protobuf type google.cloud.support.v2beta.ListCasesResponse
  • 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<ListCasesResponse.Builder>
    • clear

      public ListCasesResponse.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<ListCasesResponse.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<ListCasesResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListCasesResponse.Builder mergeFrom(ListCasesResponse other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ListCasesResponse.Builder>
    • mergeFrom

      public ListCasesResponse.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<ListCasesResponse.Builder>
      Throws:
      IOException
    • getCasesList

      public List<Case> getCasesList()
       The list of cases associated with the parent after any
       filters have been applied.
       
      repeated .google.cloud.support.v2beta.Case cases = 1;
      Specified by:
      getCasesList in interface ListCasesResponseOrBuilder
    • getCasesCount

      public int getCasesCount()
       The list of cases associated with the parent after any
       filters have been applied.
       
      repeated .google.cloud.support.v2beta.Case cases = 1;
      Specified by:
      getCasesCount in interface ListCasesResponseOrBuilder
    • getCases

      public Case getCases(int index)
       The list of cases associated with the parent after any
       filters have been applied.
       
      repeated .google.cloud.support.v2beta.Case cases = 1;
      Specified by:
      getCases in interface ListCasesResponseOrBuilder
    • setCases

      public ListCasesResponse.Builder setCases(int index, Case value)
       The list of cases associated with the parent after any
       filters have been applied.
       
      repeated .google.cloud.support.v2beta.Case cases = 1;
    • setCases

      public ListCasesResponse.Builder setCases(int index, Case.Builder builderForValue)
       The list of cases associated with the parent after any
       filters have been applied.
       
      repeated .google.cloud.support.v2beta.Case cases = 1;
    • addCases

      public ListCasesResponse.Builder addCases(Case value)
       The list of cases associated with the parent after any
       filters have been applied.
       
      repeated .google.cloud.support.v2beta.Case cases = 1;
    • addCases

      public ListCasesResponse.Builder addCases(int index, Case value)
       The list of cases associated with the parent after any
       filters have been applied.
       
      repeated .google.cloud.support.v2beta.Case cases = 1;
    • addCases

      public ListCasesResponse.Builder addCases(Case.Builder builderForValue)
       The list of cases associated with the parent after any
       filters have been applied.
       
      repeated .google.cloud.support.v2beta.Case cases = 1;
    • addCases

      public ListCasesResponse.Builder addCases(int index, Case.Builder builderForValue)
       The list of cases associated with the parent after any
       filters have been applied.
       
      repeated .google.cloud.support.v2beta.Case cases = 1;
    • addAllCases

      public ListCasesResponse.Builder addAllCases(Iterable<? extends Case> values)
       The list of cases associated with the parent after any
       filters have been applied.
       
      repeated .google.cloud.support.v2beta.Case cases = 1;
    • clearCases

      public ListCasesResponse.Builder clearCases()
       The list of cases associated with the parent after any
       filters have been applied.
       
      repeated .google.cloud.support.v2beta.Case cases = 1;
    • removeCases

      public ListCasesResponse.Builder removeCases(int index)
       The list of cases associated with the parent after any
       filters have been applied.
       
      repeated .google.cloud.support.v2beta.Case cases = 1;
    • getCasesBuilder

      public Case.Builder getCasesBuilder(int index)
       The list of cases associated with the parent after any
       filters have been applied.
       
      repeated .google.cloud.support.v2beta.Case cases = 1;
    • getCasesOrBuilder

      public CaseOrBuilder getCasesOrBuilder(int index)
       The list of cases associated with the parent after any
       filters have been applied.
       
      repeated .google.cloud.support.v2beta.Case cases = 1;
      Specified by:
      getCasesOrBuilder in interface ListCasesResponseOrBuilder
    • getCasesOrBuilderList

      public List<? extends CaseOrBuilder> getCasesOrBuilderList()
       The list of cases associated with the parent after any
       filters have been applied.
       
      repeated .google.cloud.support.v2beta.Case cases = 1;
      Specified by:
      getCasesOrBuilderList in interface ListCasesResponseOrBuilder
    • addCasesBuilder

      public Case.Builder addCasesBuilder()
       The list of cases associated with the parent after any
       filters have been applied.
       
      repeated .google.cloud.support.v2beta.Case cases = 1;
    • addCasesBuilder

      public Case.Builder addCasesBuilder(int index)
       The list of cases associated with the parent after any
       filters have been applied.
       
      repeated .google.cloud.support.v2beta.Case cases = 1;
    • getCasesBuilderList

      public List<Case.Builder> getCasesBuilderList()
       The list of cases associated with the parent after any
       filters have been applied.
       
      repeated .google.cloud.support.v2beta.Case cases = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token to retrieve the next page of results. Set this in the `page_token`
       field of subsequent `cases.list` requests. If unspecified, there are no
       more results to retrieve.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListCasesResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token to retrieve the next page of results. Set this in the `page_token`
       field of subsequent `cases.list` requests. If unspecified, there are no
       more results to retrieve.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListCasesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListCasesResponse.Builder setNextPageToken(String value)
       A token to retrieve the next page of results. Set this in the `page_token`
       field of subsequent `cases.list` requests. If unspecified, there are no
       more results to retrieve.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListCasesResponse.Builder clearNextPageToken()
       A token to retrieve the next page of results. Set this in the `page_token`
       field of subsequent `cases.list` requests. If unspecified, there are no
       more results to retrieve.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListCasesResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token to retrieve the next page of results. Set this in the `page_token`
       field of subsequent `cases.list` requests. If unspecified, there are no
       more results to retrieve.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.