Class Interstitials (0.17.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
TypeDescription
int

SESSION_CONTENT_FIELD_NUMBER

public static final int SESSION_CONTENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Interstitials getDefaultInstance()
Returns
TypeDescription
Interstitials

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Interstitials.Builder newBuilder()
Returns
TypeDescription
Interstitials.Builder

newBuilder(Interstitials prototype)

public static Interstitials.Builder newBuilder(Interstitials prototype)
Parameter
NameDescription
prototypeInterstitials
Returns
TypeDescription
Interstitials.Builder

parseDelimitedFrom(InputStream input)

public static Interstitials parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Interstitials
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Interstitials parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Interstitials
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Interstitials parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Interstitials
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Interstitials parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Interstitials
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Interstitials parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Interstitials
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Interstitials parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Interstitials
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Interstitials parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Interstitials
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Interstitials parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Interstitials
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Interstitials parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Interstitials
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Interstitials parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Interstitials
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Interstitials parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Interstitials
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Interstitials parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Interstitials
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Interstitials> parser()
Returns
TypeDescription
Parser<Interstitials>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
VodSessionAdBreak

getAdBreaksCount()

public int getAdBreaksCount()

List of ad breaks ordered by time.

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

Returns
TypeDescription
int

getAdBreaksList()

public List<VodSessionAdBreak> getAdBreaksList()

List of ad breaks ordered by time.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.video.stitcher.v1.VodSessionAdBreakOrBuilder>

getDefaultInstanceForType()

public Interstitials getDefaultInstanceForType()
Returns
TypeDescription
Interstitials

getParserForType()

public Parser<Interstitials> getParserForType()
Returns
TypeDescription
Parser<Interstitials>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
VodSessionContentOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasSessionContent()

public boolean hasSessionContent()

Information related to the content of the VOD session.

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

Returns
TypeDescription
boolean

Whether the sessionContent field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Interstitials.Builder newBuilderForType()
Returns
TypeDescription
Interstitials.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Interstitials.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Interstitials.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Interstitials.Builder toBuilder()
Returns
TypeDescription
Interstitials.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException