Class VodSessionAdBreak (0.8.0)
Stay organized with collections
Save and categorize content based on your preferences.
public final class VodSessionAdBreak extends GeneratedMessageV3 implements VodSessionAdBreakOrBuilder
Metadata for an inserted ad break.
Protobuf type google.cloud.video.stitcher.v1.VodSessionAdBreak
Static Fields
ADS_FIELD_NUMBER
public static final int ADS_FIELD_NUMBER
Field Value
END_TIME_OFFSET_FIELD_NUMBER
public static final int END_TIME_OFFSET_FIELD_NUMBER
Field Value
PROGRESS_EVENTS_FIELD_NUMBER
public static final int PROGRESS_EVENTS_FIELD_NUMBER
Field Value
START_TIME_OFFSET_FIELD_NUMBER
public static final int START_TIME_OFFSET_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static VodSessionAdBreak getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static VodSessionAdBreak.Builder newBuilder()
Returns
newBuilder(VodSessionAdBreak prototype)
public static VodSessionAdBreak.Builder newBuilder(VodSessionAdBreak prototype)
Parameter
Returns
public static VodSessionAdBreak parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static VodSessionAdBreak parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static VodSessionAdBreak parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VodSessionAdBreak parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static VodSessionAdBreak parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VodSessionAdBreak parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VodSessionAdBreak parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static VodSessionAdBreak parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VodSessionAdBreak parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static VodSessionAdBreak parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static VodSessionAdBreak parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VodSessionAdBreak parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<VodSessionAdBreak> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
Returns
getAdsCount()
Ordered list of ads stitched into the ad break.
repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;
Returns
getAdsList()
public List<VodSessionAd> getAdsList()
Ordered list of ads stitched into the ad break.
repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;
Returns
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
Returns
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()
Returns
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;
Returns
getParserForType()
public Parser<VodSessionAdBreak> getParserForType()
Returns
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
Returns
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
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;
Returns
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
Returns
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
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;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public VodSessionAdBreak.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VodSessionAdBreak.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public VodSessionAdBreak.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions
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 2024-10-04 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-10-04 UTC."}
[[["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 2024-10-04 UTC."]]