public static final class ListAccountLabelsResponse.Builder extends GeneratedMessageV3.Builder<ListAccountLabelsResponse.Builder> implements ListAccountLabelsResponseOrBuilder
Response message for the ListAccountLabels
method.
Protobuf type google.shopping.css.v1.ListAccountLabelsResponse
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public ListAccountLabelsResponse.Builder addAccountLabels(AccountLabel value)
The labels from the specified account.
repeated .google.shopping.css.v1.AccountLabel account_labels = 1;
public ListAccountLabelsResponse.Builder addAccountLabels(AccountLabel.Builder builderForValue)
The labels from the specified account.
repeated .google.shopping.css.v1.AccountLabel account_labels = 1;
public ListAccountLabelsResponse.Builder addAccountLabels(int index, AccountLabel value)
The labels from the specified account.
repeated .google.shopping.css.v1.AccountLabel account_labels = 1;
public ListAccountLabelsResponse.Builder addAccountLabels(int index, AccountLabel.Builder builderForValue)
The labels from the specified account.
repeated .google.shopping.css.v1.AccountLabel account_labels = 1;
public AccountLabel.Builder addAccountLabelsBuilder()
The labels from the specified account.
repeated .google.shopping.css.v1.AccountLabel account_labels = 1;
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
|
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>
|
public ListAccountLabelsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListAccountLabelsResponse build()
public ListAccountLabelsResponse buildPartial()
public ListAccountLabelsResponse.Builder clear()
Overrides
public ListAccountLabelsResponse.Builder clearAccountLabels()
The labels from the specified account.
repeated .google.shopping.css.v1.AccountLabel account_labels = 1;
public ListAccountLabelsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
public ListAccountLabelsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListAccountLabelsResponse.Builder clone()
Overrides
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
|
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
|
public List<AccountLabel.Builder> getAccountLabelsBuilderList()
The labels from the specified account.
repeated .google.shopping.css.v1.AccountLabel account_labels = 1;
public int getAccountLabelsCount()
The labels from the specified account.
repeated .google.shopping.css.v1.AccountLabel account_labels = 1;
Returns |
Type |
Description |
int |
|
public List<AccountLabel> getAccountLabelsList()
The labels from the specified account.
repeated .google.shopping.css.v1.AccountLabel account_labels = 1;
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
|
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> |
|
public ListAccountLabelsResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ListAccountLabelsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListAccountLabelsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public ListAccountLabelsResponse.Builder mergeFrom(ListAccountLabelsResponse other)
public final ListAccountLabelsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
public ListAccountLabelsResponse.Builder setAccountLabels(int index, AccountLabel value)
The labels from the specified account.
repeated .google.shopping.css.v1.AccountLabel account_labels = 1;
public ListAccountLabelsResponse.Builder setAccountLabels(int index, AccountLabel.Builder builderForValue)
The labels from the specified account.
repeated .google.shopping.css.v1.AccountLabel account_labels = 1;
public ListAccountLabelsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The nextPageToken to set.
|
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 |
ByteString
The bytes for nextPageToken to set.
|
public ListAccountLabelsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ListAccountLabelsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides