Class ListQuotaInfosResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListQuotaInfosResponse.Builder>
com.google.api.cloudquotas.v1.ListQuotaInfosResponse.Builder
All Implemented Interfaces:
ListQuotaInfosResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListQuotaInfosResponse

public static final class ListQuotaInfosResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListQuotaInfosResponse.Builder> implements ListQuotaInfosResponseOrBuilder
 Message for response to listing QuotaInfos
 
Protobuf type google.api.cloudquotas.v1.ListQuotaInfosResponse
  • 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<ListQuotaInfosResponse.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<ListQuotaInfosResponse.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<ListQuotaInfosResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListQuotaInfosResponse.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<ListQuotaInfosResponse.Builder>
      Throws:
      IOException
    • getQuotaInfosList

      public List<QuotaInfo> getQuotaInfosList()
       The list of QuotaInfo
       
      repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;
      Specified by:
      getQuotaInfosList in interface ListQuotaInfosResponseOrBuilder
    • getQuotaInfosCount

      public int getQuotaInfosCount()
       The list of QuotaInfo
       
      repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;
      Specified by:
      getQuotaInfosCount in interface ListQuotaInfosResponseOrBuilder
    • getQuotaInfos

      public QuotaInfo getQuotaInfos(int index)
       The list of QuotaInfo
       
      repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;
      Specified by:
      getQuotaInfos in interface ListQuotaInfosResponseOrBuilder
    • setQuotaInfos

      public ListQuotaInfosResponse.Builder setQuotaInfos(int index, QuotaInfo value)
       The list of QuotaInfo
       
      repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;
    • setQuotaInfos

      public ListQuotaInfosResponse.Builder setQuotaInfos(int index, QuotaInfo.Builder builderForValue)
       The list of QuotaInfo
       
      repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;
    • addQuotaInfos

      public ListQuotaInfosResponse.Builder addQuotaInfos(QuotaInfo value)
       The list of QuotaInfo
       
      repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;
    • addQuotaInfos

      public ListQuotaInfosResponse.Builder addQuotaInfos(int index, QuotaInfo value)
       The list of QuotaInfo
       
      repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;
    • addQuotaInfos

      public ListQuotaInfosResponse.Builder addQuotaInfos(QuotaInfo.Builder builderForValue)
       The list of QuotaInfo
       
      repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;
    • addQuotaInfos

      public ListQuotaInfosResponse.Builder addQuotaInfos(int index, QuotaInfo.Builder builderForValue)
       The list of QuotaInfo
       
      repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;
    • addAllQuotaInfos

      public ListQuotaInfosResponse.Builder addAllQuotaInfos(Iterable<? extends QuotaInfo> values)
       The list of QuotaInfo
       
      repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;
    • clearQuotaInfos

      public ListQuotaInfosResponse.Builder clearQuotaInfos()
       The list of QuotaInfo
       
      repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;
    • removeQuotaInfos

      public ListQuotaInfosResponse.Builder removeQuotaInfos(int index)
       The list of QuotaInfo
       
      repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;
    • getQuotaInfosBuilder

      public QuotaInfo.Builder getQuotaInfosBuilder(int index)
       The list of QuotaInfo
       
      repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;
    • getQuotaInfosOrBuilder

      public QuotaInfoOrBuilder getQuotaInfosOrBuilder(int index)
       The list of QuotaInfo
       
      repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;
      Specified by:
      getQuotaInfosOrBuilder in interface ListQuotaInfosResponseOrBuilder
    • getQuotaInfosOrBuilderList

      public List<? extends QuotaInfoOrBuilder> getQuotaInfosOrBuilderList()
       The list of QuotaInfo
       
      repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;
      Specified by:
      getQuotaInfosOrBuilderList in interface ListQuotaInfosResponseOrBuilder
    • addQuotaInfosBuilder

      public QuotaInfo.Builder addQuotaInfosBuilder()
       The list of QuotaInfo
       
      repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;
    • addQuotaInfosBuilder

      public QuotaInfo.Builder addQuotaInfosBuilder(int index)
       The list of QuotaInfo
       
      repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;
    • getQuotaInfosBuilderList

      public List<QuotaInfo.Builder> getQuotaInfosBuilderList()
       The list of QuotaInfo
       
      repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 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 ListQuotaInfosResponseOrBuilder
      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 ListQuotaInfosResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

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