Class ListTransferableSkusResponse.Builder (3.23.0)

See more code actions.
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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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>

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListTransferableSkusResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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

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

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

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

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()
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListTransferableSkusResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
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
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;

clone()

public ListTransferableSkusResponse.Builder clone()
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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListTransferableSkusResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

public ListTransferableSkusResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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
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

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

setUnknownFields(UnknownFieldSet unknownFields)

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