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 |
---|
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;
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
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)
Overrides
toBuilder()
public VodSessionAdBreak.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides