Class ListAccountLabelsResponse.Builder (0.4.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
TypeDescription
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
NameDescription
valueAccountLabel
Returns
TypeDescription
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
NameDescription
builderForValueAccountLabel.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAccountLabel
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAccountLabel.Builder
Returns
TypeDescription
ListAccountLabelsResponse.Builder

addAccountLabelsBuilder()

public AccountLabel.Builder addAccountLabelsBuilder()

The labels from the specified account.

repeated .google.shopping.css.v1.AccountLabel account_labels = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.shopping.css.v1.AccountLabel>
Returns
TypeDescription
ListAccountLabelsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListAccountLabelsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListAccountLabelsResponse.Builder
Overrides

build()

public ListAccountLabelsResponse build()
Returns
TypeDescription
ListAccountLabelsResponse

buildPartial()

public ListAccountLabelsResponse buildPartial()
Returns
TypeDescription
ListAccountLabelsResponse

clear()

public ListAccountLabelsResponse.Builder clear()
Returns
TypeDescription
ListAccountLabelsResponse.Builder
Overrides

clearAccountLabels()

public ListAccountLabelsResponse.Builder clearAccountLabels()

The labels from the specified account.

repeated .google.shopping.css.v1.AccountLabel account_labels = 1;

Returns
TypeDescription
ListAccountLabelsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListAccountLabelsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListAccountLabelsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListAccountLabelsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListAccountLabelsResponse.Builder
Overrides

clone()

public ListAccountLabelsResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
AccountLabel.Builder

getAccountLabelsBuilderList()

public List<AccountLabel.Builder> getAccountLabelsBuilderList()

The labels from the specified account.

repeated .google.shopping.css.v1.AccountLabel account_labels = 1;

Returns
TypeDescription
List<Builder>

getAccountLabelsCount()

public int getAccountLabelsCount()

The labels from the specified account.

repeated .google.shopping.css.v1.AccountLabel account_labels = 1;

Returns
TypeDescription
int

getAccountLabelsList()

public List<AccountLabel> getAccountLabelsList()

The labels from the specified account.

repeated .google.shopping.css.v1.AccountLabel account_labels = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
AccountLabelOrBuilder

getAccountLabelsOrBuilderList()

public List<? extends AccountLabelOrBuilder> getAccountLabelsOrBuilderList()

The labels from the specified account.

repeated .google.shopping.css.v1.AccountLabel account_labels = 1;

Returns
TypeDescription
List<? extends com.google.shopping.css.v1.AccountLabelOrBuilder>

getDefaultInstanceForType()

public ListAccountLabelsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAccountLabelsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListAccountLabelsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAccountLabelsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListAccountLabelsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListAccountLabelsResponse.Builder
Overrides

mergeFrom(ListAccountLabelsResponse other)

public ListAccountLabelsResponse.Builder mergeFrom(ListAccountLabelsResponse other)
Parameter
NameDescription
otherListAccountLabelsResponse
Returns
TypeDescription
ListAccountLabelsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListAccountLabelsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueAccountLabel
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAccountLabel.Builder
Returns
TypeDescription
ListAccountLabelsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListAccountLabelsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListAccountLabelsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListAccountLabelsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListAccountLabelsResponse.Builder
Overrides