Class UpdateCustomTargetingValueRequest (0.54.0)

public final class UpdateCustomTargetingValueRequest extends GeneratedMessage implements UpdateCustomTargetingValueRequestOrBuilder

Request object for UpdateCustomTargetingValue method.

Protobuf type google.ads.admanager.v1.UpdateCustomTargetingValueRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > UpdateCustomTargetingValueRequest

Static Fields

CUSTOM_TARGETING_VALUE_FIELD_NUMBER

public static final int CUSTOM_TARGETING_VALUE_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateCustomTargetingValueRequest getDefaultInstance()
Returns
Type Description
UpdateCustomTargetingValueRequest

getDescriptor()

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

newBuilder()

public static UpdateCustomTargetingValueRequest.Builder newBuilder()
Returns
Type Description
UpdateCustomTargetingValueRequest.Builder

newBuilder(UpdateCustomTargetingValueRequest prototype)

public static UpdateCustomTargetingValueRequest.Builder newBuilder(UpdateCustomTargetingValueRequest prototype)
Parameter
Name Description
prototype UpdateCustomTargetingValueRequest
Returns
Type Description
UpdateCustomTargetingValueRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateCustomTargetingValueRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateCustomTargetingValueRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateCustomTargetingValueRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateCustomTargetingValueRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateCustomTargetingValueRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateCustomTargetingValueRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateCustomTargetingValueRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateCustomTargetingValueRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateCustomTargetingValueRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateCustomTargetingValueRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateCustomTargetingValueRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateCustomTargetingValueRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateCustomTargetingValueRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateCustomTargetingValueRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateCustomTargetingValueRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateCustomTargetingValueRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateCustomTargetingValueRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateCustomTargetingValueRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateCustomTargetingValueRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateCustomTargetingValueRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateCustomTargetingValueRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateCustomTargetingValueRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateCustomTargetingValueRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateCustomTargetingValueRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateCustomTargetingValueRequest> parser()
Returns
Type Description
Parser<UpdateCustomTargetingValueRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCustomTargetingValue()

public CustomTargetingValue getCustomTargetingValue()

Required. The CustomTargetingValue to update.

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

.google.ads.admanager.v1.CustomTargetingValue custom_targeting_value = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomTargetingValue

The customTargetingValue.

getCustomTargetingValueOrBuilder()

public CustomTargetingValueOrBuilder getCustomTargetingValueOrBuilder()

Required. The CustomTargetingValue to update.

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

.google.ads.admanager.v1.CustomTargetingValue custom_targeting_value = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomTargetingValueOrBuilder

getDefaultInstanceForType()

public UpdateCustomTargetingValueRequest getDefaultInstanceForType()
Returns
Type Description
UpdateCustomTargetingValueRequest

getParserForType()

public Parser<UpdateCustomTargetingValueRequest> getParserForType()
Returns
Type Description
Parser<UpdateCustomTargetingValueRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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

hasCustomTargetingValue()

public boolean hasCustomTargetingValue()

Required. The CustomTargetingValue to update.

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

.google.ads.admanager.v1.CustomTargetingValue custom_targeting_value = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the customTargetingValue 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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateCustomTargetingValueRequest.Builder newBuilderForType()
Returns
Type Description
UpdateCustomTargetingValueRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected UpdateCustomTargetingValueRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateCustomTargetingValueRequest.Builder
Overrides

toBuilder()

public UpdateCustomTargetingValueRequest.Builder toBuilder()
Returns
Type Description
UpdateCustomTargetingValueRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException