Class ListTransferableSkusResponse.Builder

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

public static final class ListTransferableSkusResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListTransferableSkusResponse.Builder> implements ListTransferableSkusResponseOrBuilder
 Response message for
 [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus].
 
Protobuf type google.cloud.channel.v1.ListTransferableSkusResponse
  • 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<ListTransferableSkusResponse.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<ListTransferableSkusResponse.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<ListTransferableSkusResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public ListTransferableSkusResponse.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<ListTransferableSkusResponse.Builder>
      Throws:
      IOException
    • getTransferableSkusList

      public List<TransferableSku> getTransferableSkusList()
       Information about existing SKUs for a customer that needs a transfer.
       
      repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1;
      Specified by:
      getTransferableSkusList in interface ListTransferableSkusResponseOrBuilder
    • getTransferableSkusCount

      public int getTransferableSkusCount()
       Information about existing SKUs for a customer that needs a transfer.
       
      repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1;
      Specified by:
      getTransferableSkusCount in interface ListTransferableSkusResponseOrBuilder
    • getTransferableSkus

      public TransferableSku getTransferableSkus(int index)
       Information about existing SKUs for a customer that needs a transfer.
       
      repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1;
      Specified by:
      getTransferableSkus in interface ListTransferableSkusResponseOrBuilder
    • setTransferableSkus

      public ListTransferableSkusResponse.Builder setTransferableSkus(int index, TransferableSku value)
       Information about existing SKUs for a customer that needs a transfer.
       
      repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1;
    • setTransferableSkus

      public ListTransferableSkusResponse.Builder setTransferableSkus(int index, TransferableSku.Builder builderForValue)
       Information about existing SKUs for a customer that needs a transfer.
       
      repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1;
    • addTransferableSkus

      public ListTransferableSkusResponse.Builder addTransferableSkus(TransferableSku value)
       Information about existing SKUs for a customer that needs a transfer.
       
      repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1;
    • addTransferableSkus

      public ListTransferableSkusResponse.Builder addTransferableSkus(int index, TransferableSku value)
       Information about existing SKUs for a customer that needs a transfer.
       
      repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1;
    • addTransferableSkus

      public ListTransferableSkusResponse.Builder addTransferableSkus(TransferableSku.Builder builderForValue)
       Information about existing SKUs for a customer that needs a transfer.
       
      repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1;
    • addTransferableSkus

      public ListTransferableSkusResponse.Builder addTransferableSkus(int index, TransferableSku.Builder builderForValue)
       Information about existing SKUs for a customer that needs a transfer.
       
      repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1;
    • addAllTransferableSkus

      public ListTransferableSkusResponse.Builder addAllTransferableSkus(Iterable<? extends TransferableSku> values)
       Information about existing SKUs for a customer that needs a transfer.
       
      repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1;
    • clearTransferableSkus

      public ListTransferableSkusResponse.Builder clearTransferableSkus()
       Information about existing SKUs for a customer that needs a transfer.
       
      repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1;
    • removeTransferableSkus

      public ListTransferableSkusResponse.Builder removeTransferableSkus(int index)
       Information about existing SKUs for a customer that needs a transfer.
       
      repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1;
    • getTransferableSkusBuilder

      public TransferableSku.Builder getTransferableSkusBuilder(int index)
       Information about existing SKUs for a customer that needs a transfer.
       
      repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1;
    • getTransferableSkusOrBuilder

      public TransferableSkuOrBuilder getTransferableSkusOrBuilder(int index)
       Information about existing SKUs for a customer that needs a transfer.
       
      repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1;
      Specified by:
      getTransferableSkusOrBuilder in interface ListTransferableSkusResponseOrBuilder
    • getTransferableSkusOrBuilderList

      public List<? extends TransferableSkuOrBuilder> getTransferableSkusOrBuilderList()
       Information about existing SKUs for a customer that needs a transfer.
       
      repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1;
      Specified by:
      getTransferableSkusOrBuilderList in interface ListTransferableSkusResponseOrBuilder
    • addTransferableSkusBuilder

      public TransferableSku.Builder addTransferableSkusBuilder()
       Information about existing SKUs for a customer that needs a transfer.
       
      repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1;
    • addTransferableSkusBuilder

      public TransferableSku.Builder addTransferableSkusBuilder(int index)
       Information about existing SKUs for a customer that needs a transfer.
       
      repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1;
    • getTransferableSkusBuilderList

      public List<TransferableSku.Builder> getTransferableSkusBuilderList()
       Information about existing SKUs for a customer that needs a transfer.
       
      repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token to retrieve the next page of results.
       Pass to
       [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListTransferableSkusResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token to retrieve the next page of results.
       Pass to
       [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListTransferableSkusResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListTransferableSkusResponse.Builder setNextPageToken(String value)
       A token to retrieve the next page of results.
       Pass to
       [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListTransferableSkusResponse.Builder clearNextPageToken()
       A token to retrieve the next page of results.
       Pass to
       [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListTransferableSkusResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token to retrieve the next page of results.
       Pass to
       [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.