Class DaiSession.CreationContext.VodInfo (0.58.0)

public static final class DaiSession.CreationContext.VodInfo extends GeneratedMessage implements DaiSession.CreationContext.VodInfoOrBuilder

The VOD Content resource in the stream request that creates the DAI session.

Protobuf type google.ads.admanager.v1.DaiSession.CreationContext.VodInfo

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > DaiSession.CreationContext.VodInfo

Static Fields

CMS_ID_FIELD_NUMBER

public static final int CMS_ID_FIELD_NUMBER
Field Value
Type Description
int

CONTENT_DURATION_FIELD_NUMBER

public static final int CONTENT_DURATION_FIELD_NUMBER
Field Value
Type Description
int

CONTENT_FIELD_NUMBER

public static final int CONTENT_FIELD_NUMBER
Field Value
Type Description
int

CUE_POINTS_FIELD_NUMBER

public static final int CUE_POINTS_FIELD_NUMBER
Field Value
Type Description
int

VID_FIELD_NUMBER

public static final int VID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DaiSession.CreationContext.VodInfo getDefaultInstance()
Returns
Type Description
DaiSession.CreationContext.VodInfo

getDescriptor()

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

newBuilder()

public static DaiSession.CreationContext.VodInfo.Builder newBuilder()
Returns
Type Description
DaiSession.CreationContext.VodInfo.Builder

newBuilder(DaiSession.CreationContext.VodInfo prototype)

public static DaiSession.CreationContext.VodInfo.Builder newBuilder(DaiSession.CreationContext.VodInfo prototype)
Parameter
Name Description
prototype DaiSession.CreationContext.VodInfo
Returns
Type Description
DaiSession.CreationContext.VodInfo.Builder

parseDelimitedFrom(InputStream input)

public static DaiSession.CreationContext.VodInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DaiSession.CreationContext.VodInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DaiSession.CreationContext.VodInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DaiSession.CreationContext.VodInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DaiSession.CreationContext.VodInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DaiSession.CreationContext.VodInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DaiSession.CreationContext.VodInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DaiSession.CreationContext.VodInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DaiSession.CreationContext.VodInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DaiSession.CreationContext.VodInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DaiSession.CreationContext.VodInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DaiSession.CreationContext.VodInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DaiSession.CreationContext.VodInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DaiSession.CreationContext.VodInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DaiSession.CreationContext.VodInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DaiSession.CreationContext.VodInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DaiSession.CreationContext.VodInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DaiSession.CreationContext.VodInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DaiSession.CreationContext.VodInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DaiSession.CreationContext.VodInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DaiSession.CreationContext.VodInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DaiSession.CreationContext.VodInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DaiSession.CreationContext.VodInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DaiSession.CreationContext.VodInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DaiSession.CreationContext.VodInfo> parser()
Returns
Type Description
Parser<VodInfo>

Methods

equals(Object obj)

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

getCmsId()

public long getCmsId()

Output only. The identifier of the content source from which Google Ad Manager ingested the Content resource associated with this session. For more information, see Create a content source for video on demand.

optional int64 cms_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The cmsId.

getContent()

public String getContent()

Output only. The name field of the VOD Content resource.

optional string content = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The content.

getContentBytes()

public ByteString getContentBytes()

Output only. The name field of the VOD Content resource.

optional string content = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for content.

getContentDuration()

public Duration getContentDuration()

Output only. The VOD Content.duration field. Represents the duration of the content without ads.

.google.protobuf.Duration content_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Duration

The contentDuration.

getContentDurationOrBuilder()

public DurationOrBuilder getContentDurationOrBuilder()

Output only. The VOD Content.duration field. Represents the duration of the content without ads.

.google.protobuf.Duration content_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DurationOrBuilder

getCuePoints(int index)

public long getCuePoints(int index)

Output only. The cue points detected in the ingested VOD content manifest. Stored in milliseconds starting from the beginning of the content.

repeated int64 cue_points = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
long

The cuePoints at the given index.

getCuePointsCount()

public int getCuePointsCount()

Output only. The cue points detected in the ingested VOD content manifest. Stored in milliseconds starting from the beginning of the content.

repeated int64 cue_points = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of cuePoints.

getCuePointsList()

public List<Long> getCuePointsList()

Output only. The cue points detected in the ingested VOD content manifest. Stored in milliseconds starting from the beginning of the content.

repeated int64 cue_points = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Long>

A list containing the cuePoints.

getDefaultInstanceForType()

public DaiSession.CreationContext.VodInfo getDefaultInstanceForType()
Returns
Type Description
DaiSession.CreationContext.VodInfo

getParserForType()

public Parser<DaiSession.CreationContext.VodInfo> getParserForType()
Returns
Type Description
Parser<VodInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVid()

public String getVid()

Output only. The video ID of the Content resource that this session is associated with. This value is the same as the CmsContent.cms_content_id field. For details, see Content ingestion and best practices.

optional string vid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The vid.

getVidBytes()

public ByteString getVidBytes()

Output only. The video ID of the Content resource that this session is associated with. This value is the same as the CmsContent.cms_content_id field. For details, see Content ingestion and best practices.

optional string vid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for vid.

hasCmsId()

public boolean hasCmsId()

Output only. The identifier of the content source from which Google Ad Manager ingested the Content resource associated with this session. For more information, see Create a content source for video on demand.

optional int64 cms_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the cmsId field is set.

hasContent()

public boolean hasContent()

Output only. The name field of the VOD Content resource.

optional string content = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the content field is set.

hasContentDuration()

public boolean hasContentDuration()

Output only. The VOD Content.duration field. Represents the duration of the content without ads.

.google.protobuf.Duration content_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the contentDuration field is set.

hasVid()

public boolean hasVid()

Output only. The video ID of the Content resource that this session is associated with. This value is the same as the CmsContent.cms_content_id field. For details, see Content ingestion and best practices.

optional string vid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the vid 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 DaiSession.CreationContext.VodInfo.Builder newBuilderForType()
Returns
Type Description
DaiSession.CreationContext.VodInfo.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected DaiSession.CreationContext.VodInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DaiSession.CreationContext.VodInfo.Builder
Overrides

toBuilder()

public DaiSession.CreationContext.VodInfo.Builder toBuilder()
Returns
Type Description
DaiSession.CreationContext.VodInfo.Builder

writeTo(CodedOutputStream output)

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