public static final class ListAccountLabelsResponse.Builder extends GeneratedMessage.Builder<ListAccountLabelsResponse.Builder> implements ListAccountLabelsResponseOrBuilder Response message for the ListAccountLabels method.
Protobuf type google.shopping.css.v1.ListAccountLabelsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListAccountLabelsResponse.BuilderImplements
ListAccountLabelsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAccountLabels(AccountLabel value)
public ListAccountLabelsResponse.Builder addAccountLabels(AccountLabel value)The labels from the specified account.
repeated .google.shopping.css.v1.AccountLabel account_labels = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
AccountLabel |
| Returns | |
|---|---|
| Type | Description |
ListAccountLabelsResponse.Builder |
|
addAccountLabels(AccountLabel.Builder builderForValue)
public ListAccountLabelsResponse.Builder addAccountLabels(AccountLabel.Builder builderForValue)The labels from the specified account.
repeated .google.shopping.css.v1.AccountLabel account_labels = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AccountLabel.Builder |
| Returns | |
|---|---|
| Type | Description |
ListAccountLabelsResponse.Builder |
|
addAccountLabels(int index, AccountLabel value)
public ListAccountLabelsResponse.Builder addAccountLabels(int index, AccountLabel value)The labels from the specified account.
repeated .google.shopping.css.v1.AccountLabel account_labels = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AccountLabel |
| Returns | |
|---|---|
| Type | Description |
ListAccountLabelsResponse.Builder |
|
addAccountLabels(int index, AccountLabel.Builder builderForValue)
public ListAccountLabelsResponse.Builder addAccountLabels(int index, AccountLabel.Builder builderForValue)The labels from the specified account.
repeated .google.shopping.css.v1.AccountLabel account_labels = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AccountLabel.Builder |
| Returns | |
|---|---|
| Type | Description |
ListAccountLabelsResponse.Builder |
|
addAccountLabelsBuilder()
public AccountLabel.Builder addAccountLabelsBuilder()The labels from the specified account.
repeated .google.shopping.css.v1.AccountLabel account_labels = 1;
| Returns | |
|---|---|
| Type | Description |
AccountLabel.Builder |
|
addAccountLabelsBuilder(int index)
public AccountLabel.Builder addAccountLabelsBuilder(int index)The labels from the specified account.
repeated .google.shopping.css.v1.AccountLabel account_labels = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AccountLabel.Builder |
|
addAllAccountLabels(Iterable<? extends AccountLabel> values)
public ListAccountLabelsResponse.Builder addAllAccountLabels(Iterable<? extends AccountLabel> values)The labels from the specified account.
repeated .google.shopping.css.v1.AccountLabel account_labels = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.shopping.css.v1.AccountLabel> |
| Returns | |
|---|---|
| Type | Description |
ListAccountLabelsResponse.Builder |
|
build()
public ListAccountLabelsResponse build()| Returns | |
|---|---|
| Type | Description |
ListAccountLabelsResponse |
|
buildPartial()
public ListAccountLabelsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListAccountLabelsResponse |
|
clear()
public ListAccountLabelsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListAccountLabelsResponse.Builder |
|
clearAccountLabels()
public ListAccountLabelsResponse.Builder clearAccountLabels()The labels from the specified account.
repeated .google.shopping.css.v1.AccountLabel account_labels = 1;
| Returns | |
|---|---|
| Type | Description |
ListAccountLabelsResponse.Builder |
|
clearNextPageToken()
public ListAccountLabelsResponse.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 |
ListAccountLabelsResponse.Builder |
This builder for chaining. |
getAccountLabels(int index)
public AccountLabel getAccountLabels(int index)The labels from the specified account.
repeated .google.shopping.css.v1.AccountLabel account_labels = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AccountLabel |
|
getAccountLabelsBuilder(int index)
public AccountLabel.Builder getAccountLabelsBuilder(int index)The labels from the specified account.
repeated .google.shopping.css.v1.AccountLabel account_labels = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AccountLabel.Builder |
|
getAccountLabelsBuilderList()
public List<AccountLabel.Builder> getAccountLabelsBuilderList()The labels from the specified account.
repeated .google.shopping.css.v1.AccountLabel account_labels = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getAccountLabelsCount()
public int getAccountLabelsCount()The labels from the specified account.
repeated .google.shopping.css.v1.AccountLabel account_labels = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getAccountLabelsList()
public List<AccountLabel> getAccountLabelsList()The labels from the specified account.
repeated .google.shopping.css.v1.AccountLabel account_labels = 1;
| Returns | |
|---|---|
| Type | Description |
List<AccountLabel> |
|
getAccountLabelsOrBuilder(int index)
public AccountLabelOrBuilder getAccountLabelsOrBuilder(int index)The labels from the specified account.
repeated .google.shopping.css.v1.AccountLabel account_labels = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AccountLabelOrBuilder |
|
getAccountLabelsOrBuilderList()
public List<? extends AccountLabelOrBuilder> getAccountLabelsOrBuilderList()The labels from the specified account.
repeated .google.shopping.css.v1.AccountLabel account_labels = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.shopping.css.v1.AccountLabelOrBuilder> |
|
getDefaultInstanceForType()
public ListAccountLabelsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListAccountLabelsResponse |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListAccountLabelsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListAccountLabelsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListAccountLabelsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListAccountLabelsResponse.Builder |
|
mergeFrom(ListAccountLabelsResponse other)
public ListAccountLabelsResponse.Builder mergeFrom(ListAccountLabelsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListAccountLabelsResponse |
| Returns | |
|---|---|
| Type | Description |
ListAccountLabelsResponse.Builder |
|
removeAccountLabels(int index)
public ListAccountLabelsResponse.Builder removeAccountLabels(int index)The labels from the specified account.
repeated .google.shopping.css.v1.AccountLabel account_labels = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListAccountLabelsResponse.Builder |
|
setAccountLabels(int index, AccountLabel value)
public ListAccountLabelsResponse.Builder setAccountLabels(int index, AccountLabel value)The labels from the specified account.
repeated .google.shopping.css.v1.AccountLabel account_labels = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AccountLabel |
| Returns | |
|---|---|
| Type | Description |
ListAccountLabelsResponse.Builder |
|
setAccountLabels(int index, AccountLabel.Builder builderForValue)
public ListAccountLabelsResponse.Builder setAccountLabels(int index, AccountLabel.Builder builderForValue)The labels from the specified account.
repeated .google.shopping.css.v1.AccountLabel account_labels = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AccountLabel.Builder |
| Returns | |
|---|---|
| Type | Description |
ListAccountLabelsResponse.Builder |
|
setNextPageToken(String value)
public ListAccountLabelsResponse.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 |
ListAccountLabelsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListAccountLabelsResponse.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 |
ListAccountLabelsResponse.Builder |
This builder for chaining. |