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
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DaiSession.CreationContext.VodInfo.Builder newBuilder()
newBuilder(DaiSession.CreationContext.VodInfo prototype)
public static DaiSession.CreationContext.VodInfo.Builder newBuilder(DaiSession.CreationContext.VodInfo prototype)
parseDelimitedFrom(InputStream input)
public static DaiSession.CreationContext.VodInfo parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DaiSession.CreationContext.VodInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DaiSession.CreationContext.VodInfo parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DaiSession.CreationContext.VodInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DaiSession.CreationContext.VodInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DaiSession.CreationContext.VodInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static DaiSession.CreationContext.VodInfo parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DaiSession.CreationContext.VodInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static DaiSession.CreationContext.VodInfo parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DaiSession.CreationContext.VodInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DaiSession.CreationContext.VodInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DaiSession.CreationContext.VodInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DaiSession.CreationContext.VodInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
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];
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()
getParserForType()
public Parser<DaiSession.CreationContext.VodInfo> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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()
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()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DaiSession.CreationContext.VodInfo.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DaiSession.CreationContext.VodInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public DaiSession.CreationContext.VodInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides