Class VideoCreativeDetails (0.62.0)

public final class VideoCreativeDetails extends GeneratedMessage implements VideoCreativeDetailsOrBuilder

A Creative that contains Ad Manager hosted video ads and is served via VAST XML.

Protobuf type google.ads.admanager.v1.VideoCreativeDetails

Static Fields

VAST_INFO_FIELD_NUMBER

public static final int VAST_INFO_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VideoCreativeDetails getDefaultInstance()
Returns
Type Description
VideoCreativeDetails

getDescriptor()

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

newBuilder()

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

newBuilder(VideoCreativeDetails prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public VideoCreativeDetails getDefaultInstanceForType()
Returns
Type Description
VideoCreativeDetails

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVastInfo()

public VastInfo getVastInfo()

Optional. Fields common to Video Ad Serving Template (VAST) creatives

.google.ads.admanager.v1.VastInfo vast_info = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VastInfo

The vastInfo.

getVastInfoOrBuilder()

public VastInfoOrBuilder getVastInfoOrBuilder()

Optional. Fields common to Video Ad Serving Template (VAST) creatives

.google.ads.admanager.v1.VastInfo vast_info = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VastInfoOrBuilder

hasVastInfo()

public boolean hasVastInfo()

Optional. Fields common to Video Ad Serving Template (VAST) creatives

.google.ads.admanager.v1.VastInfo vast_info = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the vastInfo 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 VideoCreativeDetails.Builder newBuilderForType()
Returns
Type Description
VideoCreativeDetails.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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