Class UpdateNativeStyleRequest.Builder (0.58.0)

public static final class UpdateNativeStyleRequest.Builder extends GeneratedMessage.Builder<UpdateNativeStyleRequest.Builder> implements UpdateNativeStyleRequestOrBuilder

Request object for UpdateNativeStyle method.

Protobuf type google.ads.admanager.v1.UpdateNativeStyleRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateNativeStyleRequest build()
Returns
Type Description
UpdateNativeStyleRequest

buildPartial()

public UpdateNativeStyleRequest buildPartial()
Returns
Type Description
UpdateNativeStyleRequest

clear()

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

clearNativeStyle()

public UpdateNativeStyleRequest.Builder clearNativeStyle()

Required. The NativeStyle to update.

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

.google.ads.admanager.v1.NativeStyle native_style = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateNativeStyleRequest.Builder

clearUpdateMask()

public UpdateNativeStyleRequest.Builder clearUpdateMask()

Optional. The list of fields to update.

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

Returns
Type Description
UpdateNativeStyleRequest.Builder

getDefaultInstanceForType()

public UpdateNativeStyleRequest getDefaultInstanceForType()
Returns
Type Description
UpdateNativeStyleRequest

getDescriptorForType()

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

getNativeStyle()

public NativeStyle getNativeStyle()

Required. The NativeStyle to update.

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

.google.ads.admanager.v1.NativeStyle native_style = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NativeStyle

The nativeStyle.

getNativeStyleBuilder()

public NativeStyle.Builder getNativeStyleBuilder()

Required. The NativeStyle to update.

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

.google.ads.admanager.v1.NativeStyle native_style = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NativeStyle.Builder

getNativeStyleOrBuilder()

public NativeStyleOrBuilder getNativeStyleOrBuilder()

Required. The NativeStyle to update.

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

.google.ads.admanager.v1.NativeStyle native_style = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NativeStyleOrBuilder

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

hasNativeStyle()

public boolean hasNativeStyle()

Required. The NativeStyle to update.

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

.google.ads.admanager.v1.NativeStyle native_style = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the nativeStyle 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(UpdateNativeStyleRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNativeStyle(NativeStyle value)

public UpdateNativeStyleRequest.Builder mergeNativeStyle(NativeStyle value)

Required. The NativeStyle to update.

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

.google.ads.admanager.v1.NativeStyle native_style = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NativeStyle
Returns
Type Description
UpdateNativeStyleRequest.Builder

mergeUpdateMask(FieldMask value)

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

setNativeStyle(NativeStyle value)

public UpdateNativeStyleRequest.Builder setNativeStyle(NativeStyle value)

Required. The NativeStyle to update.

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

.google.ads.admanager.v1.NativeStyle native_style = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NativeStyle
Returns
Type Description
UpdateNativeStyleRequest.Builder

setNativeStyle(NativeStyle.Builder builderForValue)

public UpdateNativeStyleRequest.Builder setNativeStyle(NativeStyle.Builder builderForValue)

Required. The NativeStyle to update.

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

.google.ads.admanager.v1.NativeStyle native_style = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue NativeStyle.Builder
Returns
Type Description
UpdateNativeStyleRequest.Builder

setUpdateMask(FieldMask value)

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

setUpdateMask(FieldMask.Builder builderForValue)

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