Class Interstitials (0.43.0)

public final class Interstitials extends GeneratedMessageV3 implements InterstitialsOrBuilder

Describes what was stitched into a VOD session's manifest.

Protobuf type google.cloud.video.stitcher.v1.Interstitials

Static Fields

AD_BREAKS_FIELD_NUMBER

public static final int AD_BREAKS_FIELD_NUMBER
Field Value
Type Description
int

SESSION_CONTENT_FIELD_NUMBER

public static final int SESSION_CONTENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Interstitials getDefaultInstance()
Returns
Type Description
Interstitials

getDescriptor()

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

newBuilder()

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

newBuilder(Interstitials prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAdBreaks(int index)

public VodSessionAdBreak getAdBreaks(int index)

List of ad breaks ordered by time.

repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;

Parameter
Name Description
index int
Returns
Type Description
VodSessionAdBreak

getAdBreaksCount()

public int getAdBreaksCount()

List of ad breaks ordered by time.

repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;

Returns
Type Description
int

getAdBreaksList()

public List<VodSessionAdBreak> getAdBreaksList()

List of ad breaks ordered by time.

repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;

Returns
Type Description
List<VodSessionAdBreak>

getAdBreaksOrBuilder(int index)

public VodSessionAdBreakOrBuilder getAdBreaksOrBuilder(int index)

List of ad breaks ordered by time.

repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;

Parameter
Name Description
index int
Returns
Type Description
VodSessionAdBreakOrBuilder

getAdBreaksOrBuilderList()

public List<? extends VodSessionAdBreakOrBuilder> getAdBreaksOrBuilderList()

List of ad breaks ordered by time.

repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;

Returns
Type Description
List<? extends com.google.cloud.video.stitcher.v1.VodSessionAdBreakOrBuilder>

getDefaultInstanceForType()

public Interstitials getDefaultInstanceForType()
Returns
Type Description
Interstitials

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSessionContent()

public VodSessionContent getSessionContent()

Information related to the content of the VOD session.

.google.cloud.video.stitcher.v1.VodSessionContent session_content = 2;

Returns
Type Description
VodSessionContent

The sessionContent.

getSessionContentOrBuilder()

public VodSessionContentOrBuilder getSessionContentOrBuilder()

Information related to the content of the VOD session.

.google.cloud.video.stitcher.v1.VodSessionContent session_content = 2;

Returns
Type Description
VodSessionContentOrBuilder

hasSessionContent()

public boolean hasSessionContent()

Information related to the content of the VOD session.

.google.cloud.video.stitcher.v1.VodSessionContent session_content = 2;

Returns
Type Description
boolean

Whether the sessionContent field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Interstitials.Builder newBuilderForType()
Returns
Type Description
Interstitials.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Interstitials.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Interstitials.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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