Class VodSessionAdBreak
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.video.stitcher.v1.VodSessionAdBreak
-
- All Implemented Interfaces:
VodSessionAdBreakOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class VodSessionAdBreak extends com.google.protobuf.GeneratedMessageV3 implements VodSessionAdBreakOrBuilder
Metadata for an inserted ad break.
Protobuf typegoogle.cloud.video.stitcher.v1.VodSessionAdBreak- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVodSessionAdBreak.BuilderMetadata for an inserted ad break.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intADS_FIELD_NUMBERstatic intEND_TIME_OFFSET_FIELD_NUMBERstatic intPROGRESS_EVENTS_FIELD_NUMBERstatic intSTART_TIME_OFFSET_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)VodSessionAdgetAds(int index)Ordered list of ads stitched into the ad break.intgetAdsCount()Ordered list of ads stitched into the ad break.List<VodSessionAd>getAdsList()Ordered list of ads stitched into the ad break.VodSessionAdOrBuildergetAdsOrBuilder(int index)Ordered list of ads stitched into the ad break.List<? extends VodSessionAdOrBuilder>getAdsOrBuilderList()Ordered list of ads stitched into the ad break.static VodSessionAdBreakgetDefaultInstance()VodSessionAdBreakgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.DurationgetEndTimeOffset()Ad break end time in seconds relative to the start of the VOD asset.com.google.protobuf.DurationOrBuildergetEndTimeOffsetOrBuilder()Ad break end time in seconds relative to the start of the VOD asset.com.google.protobuf.Parser<VodSessionAdBreak>getParserForType()ProgressEventgetProgressEvents(int index)List of events that are expected to be triggered, ordered by time.intgetProgressEventsCount()List of events that are expected to be triggered, ordered by time.List<ProgressEvent>getProgressEventsList()List of events that are expected to be triggered, ordered by time.ProgressEventOrBuildergetProgressEventsOrBuilder(int index)List of events that are expected to be triggered, ordered by time.List<? extends ProgressEventOrBuilder>getProgressEventsOrBuilderList()List of events that are expected to be triggered, ordered by time.intgetSerializedSize()com.google.protobuf.DurationgetStartTimeOffset()Ad break start time in seconds relative to the start of the VOD asset.com.google.protobuf.DurationOrBuildergetStartTimeOffsetOrBuilder()Ad break start time in seconds relative to the start of the VOD asset.booleanhasEndTimeOffset()Ad break end time in seconds relative to the start of the VOD asset.inthashCode()booleanhasStartTimeOffset()Ad break start time in seconds relative to the start of the VOD asset.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static VodSessionAdBreak.BuildernewBuilder()static VodSessionAdBreak.BuildernewBuilder(VodSessionAdBreak prototype)VodSessionAdBreak.BuildernewBuilderForType()protected VodSessionAdBreak.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static VodSessionAdBreakparseDelimitedFrom(InputStream input)static VodSessionAdBreakparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VodSessionAdBreakparseFrom(byte[] data)static VodSessionAdBreakparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VodSessionAdBreakparseFrom(com.google.protobuf.ByteString data)static VodSessionAdBreakparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VodSessionAdBreakparseFrom(com.google.protobuf.CodedInputStream input)static VodSessionAdBreakparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VodSessionAdBreakparseFrom(InputStream input)static VodSessionAdBreakparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VodSessionAdBreakparseFrom(ByteBuffer data)static VodSessionAdBreakparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<VodSessionAdBreak>parser()VodSessionAdBreak.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PROGRESS_EVENTS_FIELD_NUMBER
public static final int PROGRESS_EVENTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADS_FIELD_NUMBER
public static final int ADS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
END_TIME_OFFSET_FIELD_NUMBER
public static final int END_TIME_OFFSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
START_TIME_OFFSET_FIELD_NUMBER
public static final int START_TIME_OFFSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getProgressEventsList
public List<ProgressEvent> getProgressEventsList()
List of events that are expected to be triggered, ordered by time.
repeated .google.cloud.video.stitcher.v1.ProgressEvent progress_events = 1;- Specified by:
getProgressEventsListin interfaceVodSessionAdBreakOrBuilder
-
getProgressEventsOrBuilderList
public List<? extends ProgressEventOrBuilder> getProgressEventsOrBuilderList()
List of events that are expected to be triggered, ordered by time.
repeated .google.cloud.video.stitcher.v1.ProgressEvent progress_events = 1;- Specified by:
getProgressEventsOrBuilderListin interfaceVodSessionAdBreakOrBuilder
-
getProgressEventsCount
public int getProgressEventsCount()
List of events that are expected to be triggered, ordered by time.
repeated .google.cloud.video.stitcher.v1.ProgressEvent progress_events = 1;- Specified by:
getProgressEventsCountin interfaceVodSessionAdBreakOrBuilder
-
getProgressEvents
public ProgressEvent getProgressEvents(int index)
List of events that are expected to be triggered, ordered by time.
repeated .google.cloud.video.stitcher.v1.ProgressEvent progress_events = 1;- Specified by:
getProgressEventsin interfaceVodSessionAdBreakOrBuilder
-
getProgressEventsOrBuilder
public ProgressEventOrBuilder getProgressEventsOrBuilder(int index)
List of events that are expected to be triggered, ordered by time.
repeated .google.cloud.video.stitcher.v1.ProgressEvent progress_events = 1;- Specified by:
getProgressEventsOrBuilderin interfaceVodSessionAdBreakOrBuilder
-
getAdsList
public List<VodSessionAd> getAdsList()
Ordered list of ads stitched into the ad break.
repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;- Specified by:
getAdsListin interfaceVodSessionAdBreakOrBuilder
-
getAdsOrBuilderList
public List<? extends VodSessionAdOrBuilder> getAdsOrBuilderList()
Ordered list of ads stitched into the ad break.
repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;- Specified by:
getAdsOrBuilderListin interfaceVodSessionAdBreakOrBuilder
-
getAdsCount
public int getAdsCount()
Ordered list of ads stitched into the ad break.
repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;- Specified by:
getAdsCountin interfaceVodSessionAdBreakOrBuilder
-
getAds
public VodSessionAd getAds(int index)
Ordered list of ads stitched into the ad break.
repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;- Specified by:
getAdsin interfaceVodSessionAdBreakOrBuilder
-
getAdsOrBuilder
public VodSessionAdOrBuilder getAdsOrBuilder(int index)
Ordered list of ads stitched into the ad break.
repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;- Specified by:
getAdsOrBuilderin interfaceVodSessionAdBreakOrBuilder
-
hasEndTimeOffset
public boolean hasEndTimeOffset()
Ad break end time in seconds relative to the start of the VOD asset.
.google.protobuf.Duration end_time_offset = 3;- Specified by:
hasEndTimeOffsetin interfaceVodSessionAdBreakOrBuilder- Returns:
- Whether the endTimeOffset field is set.
-
getEndTimeOffset
public com.google.protobuf.Duration getEndTimeOffset()
Ad break end time in seconds relative to the start of the VOD asset.
.google.protobuf.Duration end_time_offset = 3;- Specified by:
getEndTimeOffsetin interfaceVodSessionAdBreakOrBuilder- Returns:
- The endTimeOffset.
-
getEndTimeOffsetOrBuilder
public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder()
Ad break end time in seconds relative to the start of the VOD asset.
.google.protobuf.Duration end_time_offset = 3;- Specified by:
getEndTimeOffsetOrBuilderin interfaceVodSessionAdBreakOrBuilder
-
hasStartTimeOffset
public boolean hasStartTimeOffset()
Ad break start time in seconds relative to the start of the VOD asset.
.google.protobuf.Duration start_time_offset = 4;- Specified by:
hasStartTimeOffsetin interfaceVodSessionAdBreakOrBuilder- Returns:
- Whether the startTimeOffset field is set.
-
getStartTimeOffset
public com.google.protobuf.Duration getStartTimeOffset()
Ad break start time in seconds relative to the start of the VOD asset.
.google.protobuf.Duration start_time_offset = 4;- Specified by:
getStartTimeOffsetin interfaceVodSessionAdBreakOrBuilder- Returns:
- The startTimeOffset.
-
getStartTimeOffsetOrBuilder
public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder()
Ad break start time in seconds relative to the start of the VOD asset.
.google.protobuf.Duration start_time_offset = 4;- Specified by:
getStartTimeOffsetOrBuilderin interfaceVodSessionAdBreakOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static VodSessionAdBreak parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VodSessionAdBreak parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VodSessionAdBreak parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VodSessionAdBreak parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VodSessionAdBreak parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VodSessionAdBreak parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VodSessionAdBreak parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static VodSessionAdBreak parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static VodSessionAdBreak parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static VodSessionAdBreak parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static VodSessionAdBreak parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static VodSessionAdBreak parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public VodSessionAdBreak.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static VodSessionAdBreak.Builder newBuilder()
-
newBuilder
public static VodSessionAdBreak.Builder newBuilder(VodSessionAdBreak prototype)
-
toBuilder
public VodSessionAdBreak.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected VodSessionAdBreak.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static VodSessionAdBreak getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<VodSessionAdBreak> parser()
-
getParserForType
public com.google.protobuf.Parser<VodSessionAdBreak> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public VodSessionAdBreak getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-