Class ListTransferableSkusResponse.Builder (3.55.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.channel.v1.TransferableSku>
Returns
Type Description
ListTransferableSkusResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListTransferableSkusResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value TransferableSku
Returns
Type Description
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
Name Description
builderForValue TransferableSku.Builder
Returns
Type Description
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
Name Description
index int
value TransferableSku
Returns
Type Description
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
Name Description
index int
builderForValue TransferableSku.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
TransferableSku.Builder

build()

public ListTransferableSkusResponse build()
Returns
Type Description
ListTransferableSkusResponse

buildPartial()

public ListTransferableSkusResponse buildPartial()
Returns
Type Description
ListTransferableSkusResponse

clear()

public ListTransferableSkusResponse.Builder clear()
Returns
Type Description
ListTransferableSkusResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListTransferableSkusResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
ListTransferableSkusResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListTransferableSkusResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
ListTransferableSkusResponse.Builder

clone()

public ListTransferableSkusResponse.Builder clone()
Returns
Type Description
ListTransferableSkusResponse.Builder
Overrides

getDefaultInstanceForType()

public ListTransferableSkusResponse getDefaultInstanceForType()
Returns
Type Description
ListTransferableSkusResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.channel.v1.TransferableSkuOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListTransferableSkusResponse other)

public ListTransferableSkusResponse.Builder mergeFrom(ListTransferableSkusResponse other)
Parameter
Name Description
other ListTransferableSkusResponse
Returns
Type Description
ListTransferableSkusResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListTransferableSkusResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListTransferableSkusResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListTransferableSkusResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListTransferableSkusResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListTransferableSkusResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
ListTransferableSkusResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListTransferableSkusResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The nextPageToken to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
index int
value TransferableSku
Returns
Type Description
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
Name Description
index int
builderForValue TransferableSku.Builder
Returns
Type Description
ListTransferableSkusResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListTransferableSkusResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListTransferableSkusResponse.Builder
Overrides