Class ListTransferableSkusResponse.Builder (3.10.0)

public static final class ListTransferableSkusResponse.Builder extends GeneratedMessageV3.Builder<ListTransferableSkusResponse.Builder> implements ListTransferableSkusResponseOrBuilder

Response message for CloudChannelService.ListTransferableSkus.

Protobuf type google.cloud.channel.v1.ListTransferableSkusResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllTransferableSkus(Iterable<? extends TransferableSku> values)

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;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.channel.v1.TransferableSku>
Returns
TypeDescription
ListTransferableSkusResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListTransferableSkusResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListTransferableSkusResponse.Builder
Overrides

addTransferableSkus(TransferableSku value)

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;

Parameter
NameDescription
valueTransferableSku
Returns
TypeDescription
ListTransferableSkusResponse.Builder

addTransferableSkus(TransferableSku.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueTransferableSku.Builder
Returns
TypeDescription
ListTransferableSkusResponse.Builder

addTransferableSkus(int index, TransferableSku value)

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;

Parameters
NameDescription
indexint
valueTransferableSku
Returns
TypeDescription
ListTransferableSkusResponse.Builder

addTransferableSkus(int index, TransferableSku.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueTransferableSku.Builder
Returns
TypeDescription
ListTransferableSkusResponse.Builder

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;

Returns
TypeDescription
TransferableSku.Builder

addTransferableSkusBuilder(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
TransferableSku.Builder

build()

public ListTransferableSkusResponse build()
Returns
TypeDescription
ListTransferableSkusResponse

buildPartial()

public ListTransferableSkusResponse buildPartial()
Returns
TypeDescription
ListTransferableSkusResponse

clear()

public ListTransferableSkusResponse.Builder clear()
Returns
TypeDescription
ListTransferableSkusResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListTransferableSkusResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListTransferableSkusResponse.Builder
Overrides

clearNextPageToken()

public ListTransferableSkusResponse.Builder clearNextPageToken()

A token to retrieve the next page of results. Pass to ListTransferableSkusRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
TypeDescription
ListTransferableSkusResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListTransferableSkusResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListTransferableSkusResponse.Builder
Overrides

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;

Returns
TypeDescription
ListTransferableSkusResponse.Builder

clone()

public ListTransferableSkusResponse.Builder clone()
Returns
TypeDescription
ListTransferableSkusResponse.Builder
Overrides

getDefaultInstanceForType()

public ListTransferableSkusResponse getDefaultInstanceForType()
Returns
TypeDescription
ListTransferableSkusResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A token to retrieve the next page of results. Pass to ListTransferableSkusRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve the next page of results. Pass to ListTransferableSkusRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getTransferableSkus(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
TransferableSku

getTransferableSkusBuilder(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
TransferableSku.Builder

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;

Returns
TypeDescription
List<Builder>

getTransferableSkusCount()

public int getTransferableSkusCount()

Information about existing SKUs for a customer that needs a transfer.

repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1;

Returns
TypeDescription
int

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;

Returns
TypeDescription
List<TransferableSku>

getTransferableSkusOrBuilder(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
TransferableSkuOrBuilder

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;

Returns
TypeDescription
List<? extends com.google.cloud.channel.v1.TransferableSkuOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListTransferableSkusResponse other)

public ListTransferableSkusResponse.Builder mergeFrom(ListTransferableSkusResponse other)
Parameter
NameDescription
otherListTransferableSkusResponse
Returns
TypeDescription
ListTransferableSkusResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListTransferableSkusResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListTransferableSkusResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListTransferableSkusResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListTransferableSkusResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListTransferableSkusResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListTransferableSkusResponse.Builder
Overrides

removeTransferableSkus(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListTransferableSkusResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListTransferableSkusResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListTransferableSkusResponse.Builder
Overrides

setNextPageToken(String value)

public ListTransferableSkusResponse.Builder setNextPageToken(String value)

A token to retrieve the next page of results. Pass to ListTransferableSkusRequest.page_token to obtain that page.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListTransferableSkusResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListTransferableSkusResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve the next page of results. Pass to ListTransferableSkusRequest.page_token to obtain that page.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListTransferableSkusResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListTransferableSkusResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListTransferableSkusResponse.Builder
Overrides

setTransferableSkus(int index, TransferableSku value)

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;

Parameters
NameDescription
indexint
valueTransferableSku
Returns
TypeDescription
ListTransferableSkusResponse.Builder

setTransferableSkus(int index, TransferableSku.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueTransferableSku.Builder
Returns
TypeDescription
ListTransferableSkusResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListTransferableSkusResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListTransferableSkusResponse.Builder
Overrides