Class BatchCreateCustomTargetingKeysResponse (0.44.0)

public final class BatchCreateCustomTargetingKeysResponse extends GeneratedMessage implements BatchCreateCustomTargetingKeysResponseOrBuilder

Response object for BatchCreateCustomTargetingKeys method.

Protobuf type google.ads.admanager.v1.BatchCreateCustomTargetingKeysResponse

Inheritance

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

Static Fields

CUSTOM_TARGETING_KEYS_FIELD_NUMBER

public static final int CUSTOM_TARGETING_KEYS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchCreateCustomTargetingKeysResponse getDefaultInstance()
Returns
Type Description
BatchCreateCustomTargetingKeysResponse

getDescriptor()

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

newBuilder()

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

newBuilder(BatchCreateCustomTargetingKeysResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCustomTargetingKeys(int index)

public CustomTargetingKey getCustomTargetingKeys(int index)

The CustomTargetingKey objects created.

repeated .google.ads.admanager.v1.CustomTargetingKey custom_targeting_keys = 1;

Parameter
Name Description
index int
Returns
Type Description
CustomTargetingKey

getCustomTargetingKeysCount()

public int getCustomTargetingKeysCount()

The CustomTargetingKey objects created.

repeated .google.ads.admanager.v1.CustomTargetingKey custom_targeting_keys = 1;

Returns
Type Description
int

getCustomTargetingKeysList()

public List<CustomTargetingKey> getCustomTargetingKeysList()

The CustomTargetingKey objects created.

repeated .google.ads.admanager.v1.CustomTargetingKey custom_targeting_keys = 1;

Returns
Type Description
List<CustomTargetingKey>

getCustomTargetingKeysOrBuilder(int index)

public CustomTargetingKeyOrBuilder getCustomTargetingKeysOrBuilder(int index)

The CustomTargetingKey objects created.

repeated .google.ads.admanager.v1.CustomTargetingKey custom_targeting_keys = 1;

Parameter
Name Description
index int
Returns
Type Description
CustomTargetingKeyOrBuilder

getCustomTargetingKeysOrBuilderList()

public List<? extends CustomTargetingKeyOrBuilder> getCustomTargetingKeysOrBuilderList()

The CustomTargetingKey objects created.

repeated .google.ads.admanager.v1.CustomTargetingKey custom_targeting_keys = 1;

Returns
Type Description
List<? extends com.google.ads.admanager.v1.CustomTargetingKeyOrBuilder>

getDefaultInstanceForType()

public BatchCreateCustomTargetingKeysResponse getDefaultInstanceForType()
Returns
Type Description
BatchCreateCustomTargetingKeysResponse

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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