Class SearchCasesResponse.Builder

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

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

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

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

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

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

      public SearchCasesResponse.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<SearchCasesResponse.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 SearchCasesResponseOrBuilder
    • 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 SearchCasesResponseOrBuilder
    • 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 SearchCasesResponseOrBuilder
    • setCases

      public SearchCasesResponse.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 SearchCasesResponse.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 SearchCasesResponse.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 SearchCasesResponse.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 SearchCasesResponse.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 SearchCasesResponse.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 SearchCasesResponse.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 SearchCasesResponse.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 SearchCasesResponse.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 SearchCasesResponseOrBuilder
    • 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 SearchCasesResponseOrBuilder
    • 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.search` requests. If unspecified,
       there are no more results to retrieve.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface SearchCasesResponseOrBuilder
      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.search` requests. If unspecified,
       there are no more results to retrieve.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface SearchCasesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public SearchCasesResponse.Builder setNextPageToken(String value)
       A token to retrieve the next page of results. Set this in the
       `page_token` field of subsequent `cases.search` 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 SearchCasesResponse.Builder clearNextPageToken()
       A token to retrieve the next page of results. Set this in the
       `page_token` field of subsequent `cases.search` requests. If unspecified,
       there are no more results to retrieve.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public SearchCasesResponse.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.search` 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.