Class ListSkusResponse.Builder

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

public static final class ListSkusResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListSkusResponse.Builder> implements ListSkusResponseOrBuilder
 Response message for `ListSkus`.
 
Protobuf type google.cloud.billing.v1.ListSkusResponse
  • 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<ListSkusResponse.Builder>
    • clear

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

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

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

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

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

      public ListSkusResponse.Builder mergeFrom(ListSkusResponse other)
    • isInitialized

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

      public ListSkusResponse.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<ListSkusResponse.Builder>
      Throws:
      IOException
    • getSkusList

      public List<Sku> getSkusList()
       The list of public SKUs of the given service.
       
      repeated .google.cloud.billing.v1.Sku skus = 1;
      Specified by:
      getSkusList in interface ListSkusResponseOrBuilder
    • getSkusCount

      public int getSkusCount()
       The list of public SKUs of the given service.
       
      repeated .google.cloud.billing.v1.Sku skus = 1;
      Specified by:
      getSkusCount in interface ListSkusResponseOrBuilder
    • getSkus

      public Sku getSkus(int index)
       The list of public SKUs of the given service.
       
      repeated .google.cloud.billing.v1.Sku skus = 1;
      Specified by:
      getSkus in interface ListSkusResponseOrBuilder
    • setSkus

      public ListSkusResponse.Builder setSkus(int index, Sku value)
       The list of public SKUs of the given service.
       
      repeated .google.cloud.billing.v1.Sku skus = 1;
    • setSkus

      public ListSkusResponse.Builder setSkus(int index, Sku.Builder builderForValue)
       The list of public SKUs of the given service.
       
      repeated .google.cloud.billing.v1.Sku skus = 1;
    • addSkus

      public ListSkusResponse.Builder addSkus(Sku value)
       The list of public SKUs of the given service.
       
      repeated .google.cloud.billing.v1.Sku skus = 1;
    • addSkus

      public ListSkusResponse.Builder addSkus(int index, Sku value)
       The list of public SKUs of the given service.
       
      repeated .google.cloud.billing.v1.Sku skus = 1;
    • addSkus

      public ListSkusResponse.Builder addSkus(Sku.Builder builderForValue)
       The list of public SKUs of the given service.
       
      repeated .google.cloud.billing.v1.Sku skus = 1;
    • addSkus

      public ListSkusResponse.Builder addSkus(int index, Sku.Builder builderForValue)
       The list of public SKUs of the given service.
       
      repeated .google.cloud.billing.v1.Sku skus = 1;
    • addAllSkus

      public ListSkusResponse.Builder addAllSkus(Iterable<? extends Sku> values)
       The list of public SKUs of the given service.
       
      repeated .google.cloud.billing.v1.Sku skus = 1;
    • clearSkus

      public ListSkusResponse.Builder clearSkus()
       The list of public SKUs of the given service.
       
      repeated .google.cloud.billing.v1.Sku skus = 1;
    • removeSkus

      public ListSkusResponse.Builder removeSkus(int index)
       The list of public SKUs of the given service.
       
      repeated .google.cloud.billing.v1.Sku skus = 1;
    • getSkusBuilder

      public Sku.Builder getSkusBuilder(int index)
       The list of public SKUs of the given service.
       
      repeated .google.cloud.billing.v1.Sku skus = 1;
    • getSkusOrBuilder

      public SkuOrBuilder getSkusOrBuilder(int index)
       The list of public SKUs of the given service.
       
      repeated .google.cloud.billing.v1.Sku skus = 1;
      Specified by:
      getSkusOrBuilder in interface ListSkusResponseOrBuilder
    • getSkusOrBuilderList

      public List<? extends SkuOrBuilder> getSkusOrBuilderList()
       The list of public SKUs of the given service.
       
      repeated .google.cloud.billing.v1.Sku skus = 1;
      Specified by:
      getSkusOrBuilderList in interface ListSkusResponseOrBuilder
    • addSkusBuilder

      public Sku.Builder addSkusBuilder()
       The list of public SKUs of the given service.
       
      repeated .google.cloud.billing.v1.Sku skus = 1;
    • addSkusBuilder

      public Sku.Builder addSkusBuilder(int index)
       The list of public SKUs of the given service.
       
      repeated .google.cloud.billing.v1.Sku skus = 1;
    • getSkusBuilderList

      public List<Sku.Builder> getSkusBuilderList()
       The list of public SKUs of the given service.
       
      repeated .google.cloud.billing.v1.Sku skus = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token to retrieve the next page of results. To retrieve the next page,
       call `ListSkus` again with the `page_token` field set to this
       value. This field is empty if there are no more results to retrieve.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListSkusResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token to retrieve the next page of results. To retrieve the next page,
       call `ListSkus` again with the `page_token` field set to this
       value. This field is empty if there are no more results to retrieve.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListSkusResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListSkusResponse.Builder setNextPageToken(String value)
       A token to retrieve the next page of results. To retrieve the next page,
       call `ListSkus` again with the `page_token` field set to this
       value. This field is empty if 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 ListSkusResponse.Builder clearNextPageToken()
       A token to retrieve the next page of results. To retrieve the next page,
       call `ListSkus` again with the `page_token` field set to this
       value. This field is empty if there are no more results to retrieve.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListSkusResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token to retrieve the next page of results. To retrieve the next page,
       call `ListSkus` again with the `page_token` field set to this
       value. This field is empty if 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.