Class UpdateAccountLabelRequest.Builder (0.20.0)

public static final class UpdateAccountLabelRequest.Builder extends GeneratedMessageV3.Builder<UpdateAccountLabelRequest.Builder> implements UpdateAccountLabelRequestOrBuilder

Request message for the UpdateAccountLabel method.

Protobuf type google.shopping.css.v1.UpdateAccountLabelRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateAccountLabelRequest build()
Returns
Type Description
UpdateAccountLabelRequest

buildPartial()

public UpdateAccountLabelRequest buildPartial()
Returns
Type Description
UpdateAccountLabelRequest

clear()

public UpdateAccountLabelRequest.Builder clear()
Returns
Type Description
UpdateAccountLabelRequest.Builder
Overrides

clearAccountLabel()

public UpdateAccountLabelRequest.Builder clearAccountLabel()

Required. The updated label. All fields must be provided.

.google.shopping.css.v1.AccountLabel account_label = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateAccountLabelRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateAccountLabelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateAccountLabelRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAccountLabel()

public AccountLabel getAccountLabel()

Required. The updated label. All fields must be provided.

.google.shopping.css.v1.AccountLabel account_label = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AccountLabel

The accountLabel.

getAccountLabelBuilder()

public AccountLabel.Builder getAccountLabelBuilder()

Required. The updated label. All fields must be provided.

.google.shopping.css.v1.AccountLabel account_label = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AccountLabel.Builder

getAccountLabelOrBuilder()

public AccountLabelOrBuilder getAccountLabelOrBuilder()

Required. The updated label. All fields must be provided.

.google.shopping.css.v1.AccountLabel account_label = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AccountLabelOrBuilder

getDefaultInstanceForType()

public UpdateAccountLabelRequest getDefaultInstanceForType()
Returns
Type Description
UpdateAccountLabelRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

hasAccountLabel()

public boolean hasAccountLabel()

Required. The updated label. All fields must be provided.

.google.shopping.css.v1.AccountLabel account_label = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the accountLabel field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAccountLabel(AccountLabel value)

public UpdateAccountLabelRequest.Builder mergeAccountLabel(AccountLabel value)

Required. The updated label. All fields must be provided.

.google.shopping.css.v1.AccountLabel account_label = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AccountLabel
Returns
Type Description
UpdateAccountLabelRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateAccountLabelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAccountLabelRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(UpdateAccountLabelRequest other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAccountLabel(AccountLabel value)

public UpdateAccountLabelRequest.Builder setAccountLabel(AccountLabel value)

Required. The updated label. All fields must be provided.

.google.shopping.css.v1.AccountLabel account_label = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AccountLabel
Returns
Type Description
UpdateAccountLabelRequest.Builder

setAccountLabel(AccountLabel.Builder builderForValue)

public UpdateAccountLabelRequest.Builder setAccountLabel(AccountLabel.Builder builderForValue)

Required. The updated label. All fields must be provided.

.google.shopping.css.v1.AccountLabel account_label = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue AccountLabel.Builder
Returns
Type Description
UpdateAccountLabelRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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