public static final class ListStandardOffersResponse.Builder extends GeneratedMessage.Builder<ListStandardOffersResponse.Builder> implements ListStandardOffersResponseOrBuilderMessage for response to listing StandardOffers
Protobuf type google.cloud.commerceproducer.v1beta.ListStandardOffersResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListStandardOffersResponse.BuilderImplements
ListStandardOffersResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllStandardOffers(Iterable<? extends StandardOffer> values)
public ListStandardOffersResponse.Builder addAllStandardOffers(Iterable<? extends StandardOffer> values)The list of StandardOffer
repeated .google.cloud.commerceproducer.v1beta.StandardOffer standard_offers = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.commerceproducer.v1beta.StandardOffer> |
| Returns | |
|---|---|
| Type | Description |
ListStandardOffersResponse.Builder |
|
addStandardOffers(StandardOffer value)
public ListStandardOffersResponse.Builder addStandardOffers(StandardOffer value)The list of StandardOffer
repeated .google.cloud.commerceproducer.v1beta.StandardOffer standard_offers = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StandardOffer |
| Returns | |
|---|---|
| Type | Description |
ListStandardOffersResponse.Builder |
|
addStandardOffers(StandardOffer.Builder builderForValue)
public ListStandardOffersResponse.Builder addStandardOffers(StandardOffer.Builder builderForValue)The list of StandardOffer
repeated .google.cloud.commerceproducer.v1beta.StandardOffer standard_offers = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
StandardOffer.Builder |
| Returns | |
|---|---|
| Type | Description |
ListStandardOffersResponse.Builder |
|
addStandardOffers(int index, StandardOffer value)
public ListStandardOffersResponse.Builder addStandardOffers(int index, StandardOffer value)The list of StandardOffer
repeated .google.cloud.commerceproducer.v1beta.StandardOffer standard_offers = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
StandardOffer |
| Returns | |
|---|---|
| Type | Description |
ListStandardOffersResponse.Builder |
|
addStandardOffers(int index, StandardOffer.Builder builderForValue)
public ListStandardOffersResponse.Builder addStandardOffers(int index, StandardOffer.Builder builderForValue)The list of StandardOffer
repeated .google.cloud.commerceproducer.v1beta.StandardOffer standard_offers = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
StandardOffer.Builder |
| Returns | |
|---|---|
| Type | Description |
ListStandardOffersResponse.Builder |
|
addStandardOffersBuilder()
public StandardOffer.Builder addStandardOffersBuilder()The list of StandardOffer
repeated .google.cloud.commerceproducer.v1beta.StandardOffer standard_offers = 1;
| Returns | |
|---|---|
| Type | Description |
StandardOffer.Builder |
|
addStandardOffersBuilder(int index)
public StandardOffer.Builder addStandardOffersBuilder(int index)The list of StandardOffer
repeated .google.cloud.commerceproducer.v1beta.StandardOffer standard_offers = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
StandardOffer.Builder |
|
build()
public ListStandardOffersResponse build()| Returns | |
|---|---|
| Type | Description |
ListStandardOffersResponse |
|
buildPartial()
public ListStandardOffersResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListStandardOffersResponse |
|
clear()
public ListStandardOffersResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListStandardOffersResponse.Builder |
|
clearNextPageToken()
public ListStandardOffersResponse.Builder clearNextPageToken() A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListStandardOffersResponse.Builder |
This builder for chaining. |
clearStandardOffers()
public ListStandardOffersResponse.Builder clearStandardOffers()The list of StandardOffer
repeated .google.cloud.commerceproducer.v1beta.StandardOffer standard_offers = 1;
| Returns | |
|---|---|
| Type | Description |
ListStandardOffersResponse.Builder |
|
getDefaultInstanceForType()
public ListStandardOffersResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListStandardOffersResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken() A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes() A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
getStandardOffers(int index)
public StandardOffer getStandardOffers(int index)The list of StandardOffer
repeated .google.cloud.commerceproducer.v1beta.StandardOffer standard_offers = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
StandardOffer |
|
getStandardOffersBuilder(int index)
public StandardOffer.Builder getStandardOffersBuilder(int index)The list of StandardOffer
repeated .google.cloud.commerceproducer.v1beta.StandardOffer standard_offers = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
StandardOffer.Builder |
|
getStandardOffersBuilderList()
public List<StandardOffer.Builder> getStandardOffersBuilderList()The list of StandardOffer
repeated .google.cloud.commerceproducer.v1beta.StandardOffer standard_offers = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getStandardOffersCount()
public int getStandardOffersCount()The list of StandardOffer
repeated .google.cloud.commerceproducer.v1beta.StandardOffer standard_offers = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getStandardOffersList()
public List<StandardOffer> getStandardOffersList()The list of StandardOffer
repeated .google.cloud.commerceproducer.v1beta.StandardOffer standard_offers = 1;
| Returns | |
|---|---|
| Type | Description |
List<StandardOffer> |
|
getStandardOffersOrBuilder(int index)
public StandardOfferOrBuilder getStandardOffersOrBuilder(int index)The list of StandardOffer
repeated .google.cloud.commerceproducer.v1beta.StandardOffer standard_offers = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
StandardOfferOrBuilder |
|
getStandardOffersOrBuilderList()
public List<? extends StandardOfferOrBuilder> getStandardOffersOrBuilderList()The list of StandardOffer
repeated .google.cloud.commerceproducer.v1beta.StandardOffer standard_offers = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.commerceproducer.v1beta.StandardOfferOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListStandardOffersResponse other)
public ListStandardOffersResponse.Builder mergeFrom(ListStandardOffersResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListStandardOffersResponse |
| Returns | |
|---|---|
| Type | Description |
ListStandardOffersResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListStandardOffersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListStandardOffersResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListStandardOffersResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListStandardOffersResponse.Builder |
|
removeStandardOffers(int index)
public ListStandardOffersResponse.Builder removeStandardOffers(int index)The list of StandardOffer
repeated .google.cloud.commerceproducer.v1beta.StandardOffer standard_offers = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListStandardOffersResponse.Builder |
|
setNextPageToken(String value)
public ListStandardOffersResponse.Builder setNextPageToken(String value) A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListStandardOffersResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListStandardOffersResponse.Builder setNextPageTokenBytes(ByteString value) A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListStandardOffersResponse.Builder |
This builder for chaining. |
setStandardOffers(int index, StandardOffer value)
public ListStandardOffersResponse.Builder setStandardOffers(int index, StandardOffer value)The list of StandardOffer
repeated .google.cloud.commerceproducer.v1beta.StandardOffer standard_offers = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
StandardOffer |
| Returns | |
|---|---|
| Type | Description |
ListStandardOffersResponse.Builder |
|
setStandardOffers(int index, StandardOffer.Builder builderForValue)
public ListStandardOffersResponse.Builder setStandardOffers(int index, StandardOffer.Builder builderForValue)The list of StandardOffer
repeated .google.cloud.commerceproducer.v1beta.StandardOffer standard_offers = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
StandardOffer.Builder |
| Returns | |
|---|---|
| Type | Description |
ListStandardOffersResponse.Builder |
|