Interface DaiSession.CreationContext.VodInfoOrBuilder (0.58.0)

public static interface DaiSession.CreationContext.VodInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCmsId()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.

getVid()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.