public static final class DaiSession.CreationContext.VodInfo.Builder extends GeneratedMessage.Builder<DaiSession.CreationContext.VodInfo.Builder> implements DaiSession.CreationContext.VodInfoOrBuilderThe VOD Content resource in the stream request that creates the DAI session.
Protobuf type google.ads.admanager.v1.DaiSession.CreationContext.VodInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DaiSession.CreationContext.VodInfo.BuilderImplements
DaiSession.CreationContext.VodInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllCuePoints(Iterable<? extends Long> values)
public DaiSession.CreationContext.VodInfo.Builder addAllCuePoints(Iterable<? extends Long> values)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 |
values |
Iterable<? extends java.lang.Long>The cuePoints to add. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.CreationContext.VodInfo.Builder |
This builder for chaining. |
addCuePoints(long value)
public DaiSession.CreationContext.VodInfo.Builder addCuePoints(long value)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 |
value |
longThe cuePoints to add. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.CreationContext.VodInfo.Builder |
This builder for chaining. |
build()
public DaiSession.CreationContext.VodInfo build()| Returns | |
|---|---|
| Type | Description |
DaiSession.CreationContext.VodInfo |
|
buildPartial()
public DaiSession.CreationContext.VodInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
DaiSession.CreationContext.VodInfo |
|
clear()
public DaiSession.CreationContext.VodInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
DaiSession.CreationContext.VodInfo.Builder |
|
clearCmsId()
public DaiSession.CreationContext.VodInfo.Builder clearCmsId()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 |
DaiSession.CreationContext.VodInfo.Builder |
This builder for chaining. |
clearContent()
public DaiSession.CreationContext.VodInfo.Builder clearContent()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 |
DaiSession.CreationContext.VodInfo.Builder |
This builder for chaining. |
clearContentDuration()
public DaiSession.CreationContext.VodInfo.Builder clearContentDuration()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 |
DaiSession.CreationContext.VodInfo.Builder |
|
clearCuePoints()
public DaiSession.CreationContext.VodInfo.Builder clearCuePoints()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 |
DaiSession.CreationContext.VodInfo.Builder |
This builder for chaining. |
clearVid()
public DaiSession.CreationContext.VodInfo.Builder clearVid()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 |
DaiSession.CreationContext.VodInfo.Builder |
This builder for chaining. |
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. |
getContentDurationBuilder()
public Duration.Builder getContentDurationBuilder()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 |
Builder |
|
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 |
intThe 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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeContentDuration(Duration value)
public DaiSession.CreationContext.VodInfo.Builder mergeContentDuration(Duration value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
DaiSession.CreationContext.VodInfo.Builder |
|
mergeFrom(DaiSession.CreationContext.VodInfo other)
public DaiSession.CreationContext.VodInfo.Builder mergeFrom(DaiSession.CreationContext.VodInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
DaiSession.CreationContext.VodInfo |
| Returns | |
|---|---|
| Type | Description |
DaiSession.CreationContext.VodInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DaiSession.CreationContext.VodInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DaiSession.CreationContext.VodInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DaiSession.CreationContext.VodInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DaiSession.CreationContext.VodInfo.Builder |
|
setCmsId(long value)
public DaiSession.CreationContext.VodInfo.Builder setCmsId(long value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe cmsId to set. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.CreationContext.VodInfo.Builder |
This builder for chaining. |
setContent(String value)
public DaiSession.CreationContext.VodInfo.Builder setContent(String value)Output only. The name field of the VOD Content resource.
optional string content = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe content to set. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.CreationContext.VodInfo.Builder |
This builder for chaining. |
setContentBytes(ByteString value)
public DaiSession.CreationContext.VodInfo.Builder setContentBytes(ByteString value)Output only. The name field of the VOD Content resource.
optional string content = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for content to set. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.CreationContext.VodInfo.Builder |
This builder for chaining. |
setContentDuration(Duration value)
public DaiSession.CreationContext.VodInfo.Builder setContentDuration(Duration value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
DaiSession.CreationContext.VodInfo.Builder |
|
setContentDuration(Duration.Builder builderForValue)
public DaiSession.CreationContext.VodInfo.Builder setContentDuration(Duration.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
DaiSession.CreationContext.VodInfo.Builder |
|
setCuePoints(int index, long value)
public DaiSession.CreationContext.VodInfo.Builder setCuePoints(int index, long value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
longThe cuePoints to set. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.CreationContext.VodInfo.Builder |
This builder for chaining. |
setVid(String value)
public DaiSession.CreationContext.VodInfo.Builder setVid(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe vid to set. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.CreationContext.VodInfo.Builder |
This builder for chaining. |
setVidBytes(ByteString value)
public DaiSession.CreationContext.VodInfo.Builder setVidBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for vid to set. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.CreationContext.VodInfo.Builder |
This builder for chaining. |