Class ListAccountLabelsResponse.Builder (0.17.0)

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

Static 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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListAccountLabelsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListAccountLabelsResponse.Builder
Overrides

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
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public ListAccountLabelsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListAccountLabelsResponse.Builder
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;

Returns
Type Description
ListAccountLabelsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListAccountLabelsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListAccountLabelsResponse.Builder
Overrides

clone()

public ListAccountLabelsResponse.Builder clone()
Returns
Type Description
ListAccountLabelsResponse.Builder
Overrides

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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListAccountLabelsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListAccountLabelsResponse.Builder
Overrides

mergeFrom(ListAccountLabelsResponse other)

public ListAccountLabelsResponse.Builder mergeFrom(ListAccountLabelsResponse other)
Parameter
Name Description
other ListAccountLabelsResponse
Returns
Type Description
ListAccountLabelsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListAccountLabelsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListAccountLabelsResponse.Builder
Overrides

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

setField(Descriptors.FieldDescriptor field, Object value)

public ListAccountLabelsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListAccountLabelsResponse.Builder
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.

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 ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListAccountLabelsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListAccountLabelsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListAccountLabelsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListAccountLabelsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListAccountLabelsResponse.Builder
Overrides