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
Inherited Members
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
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListTransferableOffersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
build()
public ListTransferableOffersResponse build()
Returns
buildPartial()
public ListTransferableOffersResponse buildPartial()
Returns
clear()
public ListTransferableOffersResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListTransferableOffersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListTransferableOffersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public ListTransferableOffersResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListTransferableOffersResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
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
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
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
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListTransferableOffersResponse other)
public ListTransferableOffersResponse.Builder mergeFrom(ListTransferableOffersResponse other)
Parameter
Returns
public ListTransferableOffersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListTransferableOffersResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListTransferableOffersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListTransferableOffersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListTransferableOffersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListTransferableOffersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides