Class UpdateCustomTargetingKeyRequest (0.44.0)

public final class UpdateCustomTargetingKeyRequest extends GeneratedMessage implements UpdateCustomTargetingKeyRequestOrBuilder

Request object for UpdateCustomTargetingKey method.

Protobuf type google.ads.admanager.v1.UpdateCustomTargetingKeyRequest

Inheritance

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

Static Fields

CUSTOM_TARGETING_KEY_FIELD_NUMBER

public static final int CUSTOM_TARGETING_KEY_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 UpdateCustomTargetingKeyRequest getDefaultInstance()
Returns
Type Description
UpdateCustomTargetingKeyRequest

getDescriptor()

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

newBuilder()

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

newBuilder(UpdateCustomTargetingKeyRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCustomTargetingKey()

public CustomTargetingKey getCustomTargetingKey()

Required. The CustomTargetingKey to update.

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

.google.ads.admanager.v1.CustomTargetingKey custom_targeting_key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomTargetingKey

The customTargetingKey.

getCustomTargetingKeyOrBuilder()

public CustomTargetingKeyOrBuilder getCustomTargetingKeyOrBuilder()

Required. The CustomTargetingKey to update.

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

.google.ads.admanager.v1.CustomTargetingKey custom_targeting_key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomTargetingKeyOrBuilder

getDefaultInstanceForType()

public UpdateCustomTargetingKeyRequest getDefaultInstanceForType()
Returns
Type Description
UpdateCustomTargetingKeyRequest

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Required. The list of fields to update.

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The list of fields to update.

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

Returns
Type Description
FieldMaskOrBuilder

hasCustomTargetingKey()

public boolean hasCustomTargetingKey()

Required. The CustomTargetingKey to update.

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

.google.ads.admanager.v1.CustomTargetingKey custom_targeting_key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the customTargetingKey field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The list of fields to update.

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

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 UpdateCustomTargetingKeyRequest.Builder newBuilderForType()
Returns
Type Description
UpdateCustomTargetingKeyRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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