Class ListTransferableOffersResponse.Builder (3.17.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.channel.v1.TransferableOffer>
Returns
TypeDescription
ListTransferableOffersResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListTransferableOffersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTransferableOffer
Returns
TypeDescription
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
NameDescription
builderForValueTransferableOffer.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueTransferableOffer
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTransferableOffer.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TransferableOffer.Builder

build()

public ListTransferableOffersResponse build()
Returns
TypeDescription
ListTransferableOffersResponse

buildPartial()

public ListTransferableOffersResponse buildPartial()
Returns
TypeDescription
ListTransferableOffersResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListTransferableOffersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListTransferableOffersResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListTransferableOffersResponse getDefaultInstanceForType()
Returns
TypeDescription
ListTransferableOffersResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.channel.v1.TransferableOfferOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListTransferableOffersResponse other)

public ListTransferableOffersResponse.Builder mergeFrom(ListTransferableOffersResponse other)
Parameter
NameDescription
otherListTransferableOffersResponse
Returns
TypeDescription
ListTransferableOffersResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueTransferableOffer
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTransferableOffer.Builder
Returns
TypeDescription
ListTransferableOffersResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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