Class UpdateLabelRequest.Builder (0.52.0)

public static final class UpdateLabelRequest.Builder extends GeneratedMessage.Builder<UpdateLabelRequest.Builder> implements UpdateLabelRequestOrBuilder

Request object for UpdateLabel method.

Protobuf type google.ads.admanager.v1.UpdateLabelRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateLabelRequest build()
Returns
Type Description
UpdateLabelRequest

buildPartial()

public UpdateLabelRequest buildPartial()
Returns
Type Description
UpdateLabelRequest

clear()

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

clearLabel()

public UpdateLabelRequest.Builder clearLabel()

Required. The Label to update.

The Label's name is used to identify the Label to update.

.google.ads.admanager.v1.Label label = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateLabelRequest.Builder

clearUpdateMask()

public UpdateLabelRequest.Builder clearUpdateMask()

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateLabelRequest.Builder

getDefaultInstanceForType()

public UpdateLabelRequest getDefaultInstanceForType()
Returns
Type Description
UpdateLabelRequest

getDescriptorForType()

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

getLabel()

public Label getLabel()

Required. The Label to update.

The Label's name is used to identify the Label to update.

.google.ads.admanager.v1.Label label = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Label

The label.

getLabelBuilder()

public Label.Builder getLabelBuilder()

Required. The Label to update.

The Label's name is used to identify the Label to update.

.google.ads.admanager.v1.Label label = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Label.Builder

getLabelOrBuilder()

public LabelOrBuilder getLabelOrBuilder()

Required. The Label to update.

The Label's name is used to identify the Label to update.

.google.ads.admanager.v1.Label label = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LabelOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasLabel()

public boolean hasLabel()

Required. The Label to update.

The Label's name is used to identify the Label to update.

.google.ads.admanager.v1.Label label = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the label field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateLabelRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLabel(Label value)

public UpdateLabelRequest.Builder mergeLabel(Label value)

Required. The Label to update.

The Label's name is used to identify the Label to update.

.google.ads.admanager.v1.Label label = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Label
Returns
Type Description
UpdateLabelRequest.Builder

mergeUpdateMask(FieldMask value)

public UpdateLabelRequest.Builder mergeUpdateMask(FieldMask value)

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateLabelRequest.Builder

setLabel(Label value)

public UpdateLabelRequest.Builder setLabel(Label value)

Required. The Label to update.

The Label's name is used to identify the Label to update.

.google.ads.admanager.v1.Label label = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Label
Returns
Type Description
UpdateLabelRequest.Builder

setLabel(Label.Builder builderForValue)

public UpdateLabelRequest.Builder setLabel(Label.Builder builderForValue)

Required. The Label to update.

The Label's name is used to identify the Label to update.

.google.ads.admanager.v1.Label label = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Label.Builder
Returns
Type Description
UpdateLabelRequest.Builder

setUpdateMask(FieldMask value)

public UpdateLabelRequest.Builder setUpdateMask(FieldMask value)

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateLabelRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateLabelRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateLabelRequest.Builder