Class UpdateAccountLabelRequest.Builder (0.5.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateAccountLabelRequest build()
Returns
TypeDescription
UpdateAccountLabelRequest

buildPartial()

public UpdateAccountLabelRequest buildPartial()
Returns
TypeDescription
UpdateAccountLabelRequest

clear()

public UpdateAccountLabelRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
UpdateAccountLabelRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateAccountLabelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateAccountLabelRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public UpdateAccountLabelRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AccountLabelOrBuilder

getDefaultInstanceForType()

public UpdateAccountLabelRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateAccountLabelRequest

getDescriptorForType()

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

Whether the accountLabel field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAccountLabel
Returns
TypeDescription
UpdateAccountLabelRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(UpdateAccountLabelRequest other)

public UpdateAccountLabelRequest.Builder mergeFrom(UpdateAccountLabelRequest other)
Parameter
NameDescription
otherUpdateAccountLabelRequest
Returns
TypeDescription
UpdateAccountLabelRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public UpdateAccountLabelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateAccountLabelRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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