Send feedback
Class VodSessionAdBreak (0.48.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.48.0 keyboard_arrow_down
public final class VodSessionAdBreak extends GeneratedMessageV3 implements VodSessionAdBreakOrBuilder
Metadata for an inserted ad break.
Protobuf type google.cloud.video.stitcher.v1.VodSessionAdBreak
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ADS_FIELD_NUMBER
public static final int ADS_FIELD_NUMBER
Field Value
Type
Description
int
END_TIME_OFFSET_FIELD_NUMBER
public static final int END_TIME_OFFSET_FIELD_NUMBER
Field Value
Type
Description
int
PROGRESS_EVENTS_FIELD_NUMBER
public static final int PROGRESS_EVENTS_FIELD_NUMBER
Field Value
Type
Description
int
START_TIME_OFFSET_FIELD_NUMBER
public static final int START_TIME_OFFSET_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static VodSessionAdBreak getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static VodSessionAdBreak . Builder newBuilder ()
newBuilder(VodSessionAdBreak prototype)
public static VodSessionAdBreak . Builder newBuilder ( VodSessionAdBreak prototype )
public static VodSessionAdBreak parseDelimitedFrom ( InputStream input )
public static VodSessionAdBreak parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static VodSessionAdBreak parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VodSessionAdBreak parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static VodSessionAdBreak parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VodSessionAdBreak parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static VodSessionAdBreak parseFrom ( CodedInputStream input )
public static VodSessionAdBreak parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static VodSessionAdBreak parseFrom ( InputStream input )
public static VodSessionAdBreak parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static VodSessionAdBreak parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VodSessionAdBreak parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<VodSessionAdBreak> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getAds(int index)
public VodSessionAd getAds ( int index )
Ordered list of ads stitched into the ad break.
repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;
Parameter
Name
Description
index
int
getAdsCount()
Ordered list of ads stitched into the ad break.
repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;
Returns
Type
Description
int
getAdsList()
public List<VodSessionAd> getAdsList ()
Ordered list of ads stitched into the ad break.
repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;
getAdsOrBuilder(int index)
public VodSessionAdOrBuilder getAdsOrBuilder ( int index )
Ordered list of ads stitched into the ad break.
repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;
Parameter
Name
Description
index
int
getAdsOrBuilderList()
public List <? extends VodSessionAdOrBuilder > getAdsOrBuilderList ()
Ordered list of ads stitched into the ad break.
repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;
Returns
Type
Description
List <? extends com.google.cloud.video.stitcher.v1.VodSessionAdOrBuilder >
getDefaultInstanceForType()
public VodSessionAdBreak getDefaultInstanceForType ()
getEndTimeOffset()
public Duration getEndTimeOffset ()
Ad break end time in seconds relative to the start of the VOD asset.
.google.protobuf.Duration end_time_offset = 3;
Returns
Type
Description
Duration
The endTimeOffset.
getEndTimeOffsetOrBuilder()
public DurationOrBuilder getEndTimeOffsetOrBuilder ()
Ad break end time in seconds relative to the start of the VOD asset.
.google.protobuf.Duration end_time_offset = 3;
getParserForType()
public Parser<VodSessionAdBreak> getParserForType ()
Overrides
getProgressEvents(int index)
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;
Parameter
Name
Description
index
int
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;
Returns
Type
Description
int
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;
getProgressEventsOrBuilder(int index)
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;
Parameter
Name
Description
index
int
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;
Returns
Type
Description
List <? extends com.google.cloud.video.stitcher.v1.ProgressEventOrBuilder >
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getStartTimeOffset()
public Duration getStartTimeOffset ()
Ad break start time in seconds relative to the start of the VOD asset.
.google.protobuf.Duration start_time_offset = 4;
Returns
Type
Description
Duration
The startTimeOffset.
getStartTimeOffsetOrBuilder()
public DurationOrBuilder getStartTimeOffsetOrBuilder ()
Ad break start time in seconds relative to the start of the VOD asset.
.google.protobuf.Duration start_time_offset = 4;
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;
Returns
Type
Description
boolean
Whether the endTimeOffset field is set.
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;
Returns
Type
Description
boolean
Whether the startTimeOffset field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public VodSessionAdBreak . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VodSessionAdBreak . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public VodSessionAdBreak . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]