public static final class ListOffersResponse.Builder extends GeneratedMessageV3.Builder<ListOffersResponse.Builder> implements ListOffersResponseOrBuilder
Response message for ListOffers.
Protobuf type google.cloud.channel.v1.ListOffersResponse
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
addAllOffers(Iterable<? extends Offer> values)
public ListOffersResponse.Builder addAllOffers(Iterable<? extends Offer> values)
The list of Offers requested.
repeated .google.cloud.channel.v1.Offer offers = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.channel.v1.Offer>
|
addOffers(Offer value)
public ListOffersResponse.Builder addOffers(Offer value)
The list of Offers requested.
repeated .google.cloud.channel.v1.Offer offers = 1;
Parameter |
Name |
Description |
value |
Offer
|
addOffers(Offer.Builder builderForValue)
public ListOffersResponse.Builder addOffers(Offer.Builder builderForValue)
The list of Offers requested.
repeated .google.cloud.channel.v1.Offer offers = 1;
addOffers(int index, Offer value)
public ListOffersResponse.Builder addOffers(int index, Offer value)
The list of Offers requested.
repeated .google.cloud.channel.v1.Offer offers = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Offer
|
addOffers(int index, Offer.Builder builderForValue)
public ListOffersResponse.Builder addOffers(int index, Offer.Builder builderForValue)
The list of Offers requested.
repeated .google.cloud.channel.v1.Offer offers = 1;
addOffersBuilder()
public Offer.Builder addOffersBuilder()
The list of Offers requested.
repeated .google.cloud.channel.v1.Offer offers = 1;
addOffersBuilder(int index)
public Offer.Builder addOffersBuilder(int index)
The list of Offers requested.
repeated .google.cloud.channel.v1.Offer offers = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListOffersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListOffersResponse build()
buildPartial()
public ListOffersResponse buildPartial()
clear()
public ListOffersResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListOffersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListOffersResponse.Builder clearNextPageToken()
A token to retrieve the next page of results.
string next_page_token = 2;
clearOffers()
public ListOffersResponse.Builder clearOffers()
The list of Offers requested.
repeated .google.cloud.channel.v1.Offer offers = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListOffersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListOffersResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListOffersResponse 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.
|
getOffers(int index)
public Offer getOffers(int index)
The list of Offers requested.
repeated .google.cloud.channel.v1.Offer offers = 1;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
Offer |
|
getOffersBuilder(int index)
public Offer.Builder getOffersBuilder(int index)
The list of Offers requested.
repeated .google.cloud.channel.v1.Offer offers = 1;
Parameter |
Name |
Description |
index |
int
|
getOffersBuilderList()
public List<Offer.Builder> getOffersBuilderList()
The list of Offers requested.
repeated .google.cloud.channel.v1.Offer offers = 1;
getOffersCount()
public int getOffersCount()
The list of Offers requested.
repeated .google.cloud.channel.v1.Offer offers = 1;
Returns |
Type |
Description |
int |
|
getOffersList()
public List<Offer> getOffersList()
The list of Offers requested.
repeated .google.cloud.channel.v1.Offer offers = 1;
getOffersOrBuilder(int index)
public OfferOrBuilder getOffersOrBuilder(int index)
The list of Offers requested.
repeated .google.cloud.channel.v1.Offer offers = 1;
Parameter |
Name |
Description |
index |
int
|
getOffersOrBuilderList()
public List<? extends OfferOrBuilder> getOffersOrBuilderList()
The list of Offers requested.
repeated .google.cloud.channel.v1.Offer offers = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.channel.v1.OfferOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListOffersResponse other)
public ListOffersResponse.Builder mergeFrom(ListOffersResponse other)
public ListOffersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListOffersResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListOffersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeOffers(int index)
public ListOffersResponse.Builder removeOffers(int index)
The list of Offers requested.
repeated .google.cloud.channel.v1.Offer offers = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListOffersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListOffersResponse.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 ListOffersResponse.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.
|
setOffers(int index, Offer value)
public ListOffersResponse.Builder setOffers(int index, Offer value)
The list of Offers requested.
repeated .google.cloud.channel.v1.Offer offers = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Offer
|
setOffers(int index, Offer.Builder builderForValue)
public ListOffersResponse.Builder setOffers(int index, Offer.Builder builderForValue)
The list of Offers requested.
repeated .google.cloud.channel.v1.Offer offers = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListOffersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListOffersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides