Class ListTransferableOffersResponse.Builder (3.48.0)

public static final class ListTransferableOffersResponse.Builder extends GeneratedMessageV3.Builder<ListTransferableOffersResponse.Builder> implements ListTransferableOffersResponseOrBuilder

Response message for CloudChannelService.ListTransferableOffers.

Protobuf type google.cloud.channel.v1.ListTransferableOffersResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllTransferableOffers(Iterable<? extends TransferableOffer> values)

public ListTransferableOffersResponse.Builder addAllTransferableOffers(Iterable<? extends TransferableOffer> values)

Information about Offers for a customer that can be used for transfer.

repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.channel.v1.TransferableOffer>
Returns
Type Description
ListTransferableOffersResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListTransferableOffersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListTransferableOffersResponse.Builder
Overrides

addTransferableOffers(TransferableOffer value)

public ListTransferableOffersResponse.Builder addTransferableOffers(TransferableOffer value)

Information about Offers for a customer that can be used for transfer.

repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;

Parameter
Name Description
value TransferableOffer
Returns
Type Description
ListTransferableOffersResponse.Builder

addTransferableOffers(TransferableOffer.Builder builderForValue)

public ListTransferableOffersResponse.Builder addTransferableOffers(TransferableOffer.Builder builderForValue)

Information about Offers for a customer that can be used for transfer.

repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;

Parameter
Name Description
builderForValue TransferableOffer.Builder
Returns
Type Description
ListTransferableOffersResponse.Builder

addTransferableOffers(int index, TransferableOffer value)

public ListTransferableOffersResponse.Builder addTransferableOffers(int index, TransferableOffer value)

Information about Offers for a customer that can be used for transfer.

repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;

Parameters
Name Description
index int
value TransferableOffer
Returns
Type Description
ListTransferableOffersResponse.Builder

addTransferableOffers(int index, TransferableOffer.Builder builderForValue)

public ListTransferableOffersResponse.Builder addTransferableOffers(int index, TransferableOffer.Builder builderForValue)

Information about Offers for a customer that can be used for transfer.

repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;

Parameters
Name Description
index int
builderForValue TransferableOffer.Builder
Returns
Type Description
ListTransferableOffersResponse.Builder

addTransferableOffersBuilder()

public TransferableOffer.Builder addTransferableOffersBuilder()

Information about Offers for a customer that can be used for transfer.

repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;

Returns
Type Description
TransferableOffer.Builder

addTransferableOffersBuilder(int index)

public TransferableOffer.Builder addTransferableOffersBuilder(int index)

Information about Offers for a customer that can be used for transfer.

repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;

Parameter
Name Description
index int
Returns
Type Description
TransferableOffer.Builder

build()

public ListTransferableOffersResponse build()
Returns
Type Description
ListTransferableOffersResponse

buildPartial()

public ListTransferableOffersResponse buildPartial()
Returns
Type Description
ListTransferableOffersResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListTransferableOffersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListTransferableOffersResponse.Builder
Overrides

clearNextPageToken()

public ListTransferableOffersResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListTransferableOffersResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListTransferableOffersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListTransferableOffersResponse.Builder
Overrides

clearTransferableOffers()

public ListTransferableOffersResponse.Builder clearTransferableOffers()

Information about Offers for a customer that can be used for transfer.

repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;

Returns
Type Description
ListTransferableOffersResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListTransferableOffersResponse getDefaultInstanceForType()
Returns
Type Description
ListTransferableOffersResponse

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 ListTransferableOffersRequest.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 ListTransferableOffersRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getTransferableOffers(int index)

public TransferableOffer getTransferableOffers(int index)

Information about Offers for a customer that can be used for transfer.

repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;

Parameter
Name Description
index int
Returns
Type Description
TransferableOffer

getTransferableOffersBuilder(int index)

public TransferableOffer.Builder getTransferableOffersBuilder(int index)

Information about Offers for a customer that can be used for transfer.

repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;

Parameter
Name Description
index int
Returns
Type Description
TransferableOffer.Builder

getTransferableOffersBuilderList()

public List<TransferableOffer.Builder> getTransferableOffersBuilderList()

Information about Offers for a customer that can be used for transfer.

repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;

Returns
Type Description
List<Builder>

getTransferableOffersCount()

public int getTransferableOffersCount()

Information about Offers for a customer that can be used for transfer.

repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;

Returns
Type Description
int

getTransferableOffersList()

public List<TransferableOffer> getTransferableOffersList()

Information about Offers for a customer that can be used for transfer.

repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;

Returns
Type Description
List<TransferableOffer>

getTransferableOffersOrBuilder(int index)

public TransferableOfferOrBuilder getTransferableOffersOrBuilder(int index)

Information about Offers for a customer that can be used for transfer.

repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;

Parameter
Name Description
index int
Returns
Type Description
TransferableOfferOrBuilder

getTransferableOffersOrBuilderList()

public List<? extends TransferableOfferOrBuilder> getTransferableOffersOrBuilderList()

Information about Offers for a customer that can be used for transfer.

repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;

Returns
Type Description
List<? extends com.google.cloud.channel.v1.TransferableOfferOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListTransferableOffersResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListTransferableOffersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListTransferableOffersResponse.Builder
Overrides

removeTransferableOffers(int index)

public ListTransferableOffersResponse.Builder removeTransferableOffers(int index)

Information about Offers for a customer that can be used for transfer.

repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;

Parameter
Name Description
index int
Returns
Type Description
ListTransferableOffersResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListTransferableOffersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListTransferableOffersResponse.Builder
Overrides

setNextPageToken(String value)

public ListTransferableOffersResponse.Builder setNextPageToken(String value)

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

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListTransferableOffersResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListTransferableOffersResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve the next page of results. Pass to ListTransferableOffersRequest.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
ListTransferableOffersResponse.Builder

This builder for chaining.

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

public ListTransferableOffersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListTransferableOffersResponse.Builder
Overrides

setTransferableOffers(int index, TransferableOffer value)

public ListTransferableOffersResponse.Builder setTransferableOffers(int index, TransferableOffer value)

Information about Offers for a customer that can be used for transfer.

repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;

Parameters
Name Description
index int
value TransferableOffer
Returns
Type Description
ListTransferableOffersResponse.Builder

setTransferableOffers(int index, TransferableOffer.Builder builderForValue)

public ListTransferableOffersResponse.Builder setTransferableOffers(int index, TransferableOffer.Builder builderForValue)

Information about Offers for a customer that can be used for transfer.

repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;

Parameters
Name Description
index int
builderForValue TransferableOffer.Builder
Returns
Type Description
ListTransferableOffersResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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