Class CreateAccountLabelRequest.Builder (0.13.0)

public static final class CreateAccountLabelRequest.Builder extends GeneratedMessageV3.Builder<CreateAccountLabelRequest.Builder> implements CreateAccountLabelRequestOrBuilder

Request message for the 'CreateAccountLanel' method.

Protobuf type google.shopping.css.v1.CreateAccountLabelRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateAccountLabelRequest build()
Returns
Type Description
CreateAccountLabelRequest

buildPartial()

public CreateAccountLabelRequest buildPartial()
Returns
Type Description
CreateAccountLabelRequest

clear()

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

clearAccountLabel()

public CreateAccountLabelRequest.Builder clearAccountLabel()

Required. The label to create.

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

Returns
Type Description
CreateAccountLabelRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateAccountLabelRequest.Builder clearParent()

Required. The parent account. Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateAccountLabelRequest.Builder

This builder for chaining.

clone()

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

getAccountLabel()

public AccountLabel getAccountLabel()

Required. The label to create.

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

Returns
Type Description
AccountLabel

The accountLabel.

getAccountLabelBuilder()

public AccountLabel.Builder getAccountLabelBuilder()

Required. The label to create.

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

Returns
Type Description
AccountLabel.Builder

getAccountLabelOrBuilder()

public AccountLabelOrBuilder getAccountLabelOrBuilder()

Required. The label to create.

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

Returns
Type Description
AccountLabelOrBuilder

getDefaultInstanceForType()

public CreateAccountLabelRequest getDefaultInstanceForType()
Returns
Type Description
CreateAccountLabelRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The parent account. Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent account. Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasAccountLabel()

public boolean hasAccountLabel()

Required. The label to create.

.google.shopping.css.v1.AccountLabel account_label = 2 [(.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 CreateAccountLabelRequest.Builder mergeAccountLabel(AccountLabel value)

Required. The label to create.

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

Parameter
Name Description
value AccountLabel
Returns
Type Description
CreateAccountLabelRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(CreateAccountLabelRequest other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAccountLabel(AccountLabel value)

public CreateAccountLabelRequest.Builder setAccountLabel(AccountLabel value)

Required. The label to create.

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

Parameter
Name Description
value AccountLabel
Returns
Type Description
CreateAccountLabelRequest.Builder

setAccountLabel(AccountLabel.Builder builderForValue)

public CreateAccountLabelRequest.Builder setAccountLabel(AccountLabel.Builder builderForValue)

Required. The label to create.

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateAccountLabelRequest.Builder setParent(String value)

Required. The parent account. Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateAccountLabelRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateAccountLabelRequest.Builder setParentBytes(ByteString value)

Required. The parent account. Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateAccountLabelRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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