public static final class ListPurchasableOffersResponse.Builder extends GeneratedMessageV3.Builder<ListPurchasableOffersResponse.Builder> implements ListPurchasableOffersResponseOrBuilder
Response message for ListPurchasableOffers.
Protobuf type google.cloud.channel.v1.ListPurchasableOffersResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addAllPurchasableOffers(Iterable<? extends PurchasableOffer> values)
public ListPurchasableOffersResponse.Builder addAllPurchasableOffers(Iterable<? extends PurchasableOffer> values)
The list of Offers requested.
repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.channel.v1.PurchasableOffer>
|
addPurchasableOffers(PurchasableOffer value)
public ListPurchasableOffersResponse.Builder addPurchasableOffers(PurchasableOffer value)
The list of Offers requested.
repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1;
addPurchasableOffers(PurchasableOffer.Builder builderForValue)
public ListPurchasableOffersResponse.Builder addPurchasableOffers(PurchasableOffer.Builder builderForValue)
The list of Offers requested.
repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1;
addPurchasableOffers(int index, PurchasableOffer value)
public ListPurchasableOffersResponse.Builder addPurchasableOffers(int index, PurchasableOffer value)
The list of Offers requested.
repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1;
addPurchasableOffers(int index, PurchasableOffer.Builder builderForValue)
public ListPurchasableOffersResponse.Builder addPurchasableOffers(int index, PurchasableOffer.Builder builderForValue)
The list of Offers requested.
repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1;
addPurchasableOffersBuilder()
public PurchasableOffer.Builder addPurchasableOffersBuilder()
The list of Offers requested.
repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1;
addPurchasableOffersBuilder(int index)
public PurchasableOffer.Builder addPurchasableOffersBuilder(int index)
The list of Offers requested.
repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListPurchasableOffersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListPurchasableOffersResponse build()
buildPartial()
public ListPurchasableOffersResponse buildPartial()
clear()
public ListPurchasableOffersResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListPurchasableOffersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListPurchasableOffersResponse.Builder clearNextPageToken()
A token to retrieve the next page of results.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListPurchasableOffersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPurchasableOffers()
public ListPurchasableOffersResponse.Builder clearPurchasableOffers()
The list of Offers requested.
repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1;
clone()
public ListPurchasableOffersResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListPurchasableOffersResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
A token to retrieve the next page of results.
string next_page_token = 2;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token to retrieve the next page of results.
string next_page_token = 2;
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
getPurchasableOffers(int index)
public PurchasableOffer getPurchasableOffers(int index)
The list of Offers requested.
repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1;
Parameter |
Name |
Description |
index |
int
|
getPurchasableOffersBuilder(int index)
public PurchasableOffer.Builder getPurchasableOffersBuilder(int index)
The list of Offers requested.
repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1;
Parameter |
Name |
Description |
index |
int
|
getPurchasableOffersBuilderList()
public List<PurchasableOffer.Builder> getPurchasableOffersBuilderList()
The list of Offers requested.
repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1;
getPurchasableOffersCount()
public int getPurchasableOffersCount()
The list of Offers requested.
repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1;
Returns |
Type |
Description |
int |
|
getPurchasableOffersList()
public List<PurchasableOffer> getPurchasableOffersList()
The list of Offers requested.
repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1;
getPurchasableOffersOrBuilder(int index)
public PurchasableOfferOrBuilder getPurchasableOffersOrBuilder(int index)
The list of Offers requested.
repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1;
Parameter |
Name |
Description |
index |
int
|
getPurchasableOffersOrBuilderList()
public List<? extends PurchasableOfferOrBuilder> getPurchasableOffersOrBuilderList()
The list of Offers requested.
repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.channel.v1.PurchasableOfferOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListPurchasableOffersResponse other)
public ListPurchasableOffersResponse.Builder mergeFrom(ListPurchasableOffersResponse other)
public ListPurchasableOffersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListPurchasableOffersResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListPurchasableOffersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removePurchasableOffers(int index)
public ListPurchasableOffersResponse.Builder removePurchasableOffers(int index)
The list of Offers requested.
repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListPurchasableOffersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListPurchasableOffersResponse.Builder setNextPageToken(String value)
A token to retrieve the next page of results.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListPurchasableOffersResponse.Builder setNextPageTokenBytes(ByteString value)
A token to retrieve the next page of results.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
setPurchasableOffers(int index, PurchasableOffer value)
public ListPurchasableOffersResponse.Builder setPurchasableOffers(int index, PurchasableOffer value)
The list of Offers requested.
repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1;
setPurchasableOffers(int index, PurchasableOffer.Builder builderForValue)
public ListPurchasableOffersResponse.Builder setPurchasableOffers(int index, PurchasableOffer.Builder builderForValue)
The list of Offers requested.
repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListPurchasableOffersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListPurchasableOffersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides