Class BatchCreatePlacementsResponse (0.39.0)

public final class BatchCreatePlacementsResponse extends GeneratedMessageV3 implements BatchCreatePlacementsResponseOrBuilder

Response object for BatchCreatePlacements method.

Protobuf type google.ads.admanager.v1.BatchCreatePlacementsResponse

Static Fields

PLACEMENTS_FIELD_NUMBER

public static final int PLACEMENTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchCreatePlacementsResponse getDefaultInstance()
Returns
Type Description
BatchCreatePlacementsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(BatchCreatePlacementsResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BatchCreatePlacementsResponse getDefaultInstanceForType()
Returns
Type Description
BatchCreatePlacementsResponse

getParserForType()

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

getPlacements(int index)

public Placement getPlacements(int index)

The Placement objects created.

repeated .google.ads.admanager.v1.Placement placements = 1;

Parameter
Name Description
index int
Returns
Type Description
Placement

getPlacementsCount()

public int getPlacementsCount()

The Placement objects created.

repeated .google.ads.admanager.v1.Placement placements = 1;

Returns
Type Description
int

getPlacementsList()

public List<Placement> getPlacementsList()

The Placement objects created.

repeated .google.ads.admanager.v1.Placement placements = 1;

Returns
Type Description
List<Placement>

getPlacementsOrBuilder(int index)

public PlacementOrBuilder getPlacementsOrBuilder(int index)

The Placement objects created.

repeated .google.ads.admanager.v1.Placement placements = 1;

Parameter
Name Description
index int
Returns
Type Description
PlacementOrBuilder

getPlacementsOrBuilderList()

public List<? extends PlacementOrBuilder> getPlacementsOrBuilderList()

The Placement objects created.

repeated .google.ads.admanager.v1.Placement placements = 1;

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BatchCreatePlacementsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BatchCreatePlacementsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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