Class UpdateSlateRequest.Builder (0.54.0)

public static final class UpdateSlateRequest.Builder extends GeneratedMessage.Builder<UpdateSlateRequest.Builder> implements UpdateSlateRequestOrBuilder

Request object for UpdateSlate method.

Protobuf type google.ads.admanager.v1.UpdateSlateRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateSlateRequest build()
Returns
Type Description
UpdateSlateRequest

buildPartial()

public UpdateSlateRequest buildPartial()
Returns
Type Description
UpdateSlateRequest

clear()

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

clearSlate()

public UpdateSlateRequest.Builder clearSlate()

Required. The Slate to update.

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

.google.ads.admanager.v1.Slate slate = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateSlateRequest.Builder

clearUpdateMask()

public UpdateSlateRequest.Builder clearUpdateMask()

Optional. The list of fields to update.

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

Returns
Type Description
UpdateSlateRequest.Builder

getDefaultInstanceForType()

public UpdateSlateRequest getDefaultInstanceForType()
Returns
Type Description
UpdateSlateRequest

getDescriptorForType()

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

getSlate()

public Slate getSlate()

Required. The Slate to update.

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

.google.ads.admanager.v1.Slate slate = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Slate

The slate.

getSlateBuilder()

public Slate.Builder getSlateBuilder()

Required. The Slate to update.

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

.google.ads.admanager.v1.Slate slate = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Slate.Builder

getSlateOrBuilder()

public SlateOrBuilder getSlateOrBuilder()

Required. The Slate to update.

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

.google.ads.admanager.v1.Slate slate = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SlateOrBuilder

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

hasSlate()

public boolean hasSlate()

Required. The Slate to update.

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

.google.ads.admanager.v1.Slate slate = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the slate 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(UpdateSlateRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSlate(Slate value)

public UpdateSlateRequest.Builder mergeSlate(Slate value)

Required. The Slate to update.

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

.google.ads.admanager.v1.Slate slate = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Slate
Returns
Type Description
UpdateSlateRequest.Builder

mergeUpdateMask(FieldMask value)

public UpdateSlateRequest.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
UpdateSlateRequest.Builder

setSlate(Slate value)

public UpdateSlateRequest.Builder setSlate(Slate value)

Required. The Slate to update.

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

.google.ads.admanager.v1.Slate slate = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Slate
Returns
Type Description
UpdateSlateRequest.Builder

setSlate(Slate.Builder builderForValue)

public UpdateSlateRequest.Builder setSlate(Slate.Builder builderForValue)

Required. The Slate to update.

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

.google.ads.admanager.v1.Slate slate = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Slate.Builder
Returns
Type Description
UpdateSlateRequest.Builder

setUpdateMask(FieldMask value)

public UpdateSlateRequest.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
UpdateSlateRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateSlateRequest.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
UpdateSlateRequest.Builder