Class BatchCreateAdSpotsResponse (0.54.0)

public final class BatchCreateAdSpotsResponse extends GeneratedMessage implements BatchCreateAdSpotsResponseOrBuilder

Response object for BatchCreateAdSpots method.

Protobuf type google.ads.admanager.v1.BatchCreateAdSpotsResponse

Static Fields

AD_SPOTS_FIELD_NUMBER

public static final int AD_SPOTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchCreateAdSpotsResponse getDefaultInstance()
Returns
Type Description
BatchCreateAdSpotsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(BatchCreateAdSpotsResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAdSpots(int index)

public AdSpot getAdSpots(int index)

The AdSpot objects created.

repeated .google.ads.admanager.v1.AdSpot ad_spots = 1;

Parameter
Name Description
index int
Returns
Type Description
AdSpot

getAdSpotsCount()

public int getAdSpotsCount()

The AdSpot objects created.

repeated .google.ads.admanager.v1.AdSpot ad_spots = 1;

Returns
Type Description
int

getAdSpotsList()

public List<AdSpot> getAdSpotsList()

The AdSpot objects created.

repeated .google.ads.admanager.v1.AdSpot ad_spots = 1;

Returns
Type Description
List<AdSpot>

getAdSpotsOrBuilder(int index)

public AdSpotOrBuilder getAdSpotsOrBuilder(int index)

The AdSpot objects created.

repeated .google.ads.admanager.v1.AdSpot ad_spots = 1;

Parameter
Name Description
index int
Returns
Type Description
AdSpotOrBuilder

getAdSpotsOrBuilderList()

public List<? extends AdSpotOrBuilder> getAdSpotsOrBuilderList()

The AdSpot objects created.

repeated .google.ads.admanager.v1.AdSpot ad_spots = 1;

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

getDefaultInstanceForType()

public BatchCreateAdSpotsResponse getDefaultInstanceForType()
Returns
Type Description
BatchCreateAdSpotsResponse

getParserForType()

public Parser<BatchCreateAdSpotsResponse> getParserForType()
Returns
Type Description
Parser<BatchCreateAdSpotsResponse>
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 BatchCreateAdSpotsResponse.Builder newBuilderForType()
Returns
Type Description
BatchCreateAdSpotsResponse.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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