public static final class VodSessionAdBreak.Builder extends GeneratedMessageV3.Builder<VodSessionAdBreak.Builder> implements VodSessionAdBreakOrBuilder
Metadata for an inserted ad break.
Protobuf type google.cloud.video.stitcher.v1.VodSessionAdBreak
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAds(VodSessionAd value)
public VodSessionAdBreak.Builder addAds(VodSessionAd value)
Ordered list of ads stitched into the ad break.
repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;
addAds(VodSessionAd.Builder builderForValue)
public VodSessionAdBreak.Builder addAds(VodSessionAd.Builder builderForValue)
Ordered list of ads stitched into the ad break.
repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;
addAds(int index, VodSessionAd value)
public VodSessionAdBreak.Builder addAds(int index, VodSessionAd value)
Ordered list of ads stitched into the ad break.
repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;
addAds(int index, VodSessionAd.Builder builderForValue)
public VodSessionAdBreak.Builder addAds(int index, VodSessionAd.Builder builderForValue)
Ordered list of ads stitched into the ad break.
repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;
addAdsBuilder()
public VodSessionAd.Builder addAdsBuilder()
Ordered list of ads stitched into the ad break.
repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;
addAdsBuilder(int index)
public VodSessionAd.Builder addAdsBuilder(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
|
addAllAds(Iterable<? extends VodSessionAd> values)
public VodSessionAdBreak.Builder addAllAds(Iterable<? extends VodSessionAd> values)
Ordered list of ads stitched into the ad break.
repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.video.stitcher.v1.VodSessionAd>
|
addAllProgressEvents(Iterable<? extends ProgressEvent> values)
public VodSessionAdBreak.Builder addAllProgressEvents(Iterable<? extends ProgressEvent> values)
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 |
values | Iterable<? extends com.google.cloud.video.stitcher.v1.ProgressEvent>
|
addProgressEvents(ProgressEvent value)
public VodSessionAdBreak.Builder addProgressEvents(ProgressEvent value)
List of events that are expected to be triggered, ordered by time.
repeated .google.cloud.video.stitcher.v1.ProgressEvent progress_events = 1;
addProgressEvents(ProgressEvent.Builder builderForValue)
public VodSessionAdBreak.Builder addProgressEvents(ProgressEvent.Builder builderForValue)
List of events that are expected to be triggered, ordered by time.
repeated .google.cloud.video.stitcher.v1.ProgressEvent progress_events = 1;
addProgressEvents(int index, ProgressEvent value)
public VodSessionAdBreak.Builder addProgressEvents(int index, ProgressEvent value)
List of events that are expected to be triggered, ordered by time.
repeated .google.cloud.video.stitcher.v1.ProgressEvent progress_events = 1;
addProgressEvents(int index, ProgressEvent.Builder builderForValue)
public VodSessionAdBreak.Builder addProgressEvents(int index, ProgressEvent.Builder builderForValue)
List of events that are expected to be triggered, ordered by time.
repeated .google.cloud.video.stitcher.v1.ProgressEvent progress_events = 1;
addProgressEventsBuilder()
public ProgressEvent.Builder addProgressEventsBuilder()
List of events that are expected to be triggered, ordered by time.
repeated .google.cloud.video.stitcher.v1.ProgressEvent progress_events = 1;
addProgressEventsBuilder(int index)
public ProgressEvent.Builder addProgressEventsBuilder(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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VodSessionAdBreak.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public VodSessionAdBreak build()
buildPartial()
public VodSessionAdBreak buildPartial()
clear()
public VodSessionAdBreak.Builder clear()
Overrides
clearAds()
public VodSessionAdBreak.Builder clearAds()
Ordered list of ads stitched into the ad break.
repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;
clearEndTimeOffset()
public VodSessionAdBreak.Builder clearEndTimeOffset()
Ad break end time in seconds relative to the start of the VOD asset.
.google.protobuf.Duration end_time_offset = 3;
clearField(Descriptors.FieldDescriptor field)
public VodSessionAdBreak.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public VodSessionAdBreak.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearProgressEvents()
public VodSessionAdBreak.Builder clearProgressEvents()
List of events that are expected to be triggered, ordered by time.
repeated .google.cloud.video.stitcher.v1.ProgressEvent progress_events = 1;
clearStartTimeOffset()
public VodSessionAdBreak.Builder clearStartTimeOffset()
Ad break start time in seconds relative to the start of the VOD asset.
.google.protobuf.Duration start_time_offset = 4;
clone()
public VodSessionAdBreak.Builder clone()
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
|
getAdsBuilder(int index)
public VodSessionAd.Builder getAdsBuilder(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
|
getAdsBuilderList()
public List<VodSessionAd.Builder> getAdsBuilderList()
Ordered list of ads stitched into the ad break.
repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
getEndTimeOffsetBuilder()
public Duration.Builder getEndTimeOffsetBuilder()
Ad break end time in seconds relative to the start of the VOD asset.
.google.protobuf.Duration end_time_offset = 3;
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;
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
|
getProgressEventsBuilder(int index)
public ProgressEvent.Builder getProgressEventsBuilder(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
|
getProgressEventsBuilderList()
public List<ProgressEvent.Builder> getProgressEventsBuilderList()
List of events that are expected to be triggered, ordered by time.
repeated .google.cloud.video.stitcher.v1.ProgressEvent progress_events = 1;
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> | |
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.
|
getStartTimeOffsetBuilder()
public Duration.Builder getStartTimeOffsetBuilder()
Ad break start time in seconds relative to the start of the VOD asset.
.google.protobuf.Duration start_time_offset = 4;
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeEndTimeOffset(Duration value)
public VodSessionAdBreak.Builder mergeEndTimeOffset(Duration value)
Ad break end time in seconds relative to the start of the VOD asset.
.google.protobuf.Duration end_time_offset = 3;
mergeFrom(VodSessionAdBreak other)
public VodSessionAdBreak.Builder mergeFrom(VodSessionAdBreak other)
public VodSessionAdBreak.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public VodSessionAdBreak.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeStartTimeOffset(Duration value)
public VodSessionAdBreak.Builder mergeStartTimeOffset(Duration value)
Ad break start time in seconds relative to the start of the VOD asset.
.google.protobuf.Duration start_time_offset = 4;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VodSessionAdBreak.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeAds(int index)
public VodSessionAdBreak.Builder removeAds(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
|
removeProgressEvents(int index)
public VodSessionAdBreak.Builder removeProgressEvents(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
|
setAds(int index, VodSessionAd value)
public VodSessionAdBreak.Builder setAds(int index, VodSessionAd value)
Ordered list of ads stitched into the ad break.
repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;
setAds(int index, VodSessionAd.Builder builderForValue)
public VodSessionAdBreak.Builder setAds(int index, VodSessionAd.Builder builderForValue)
Ordered list of ads stitched into the ad break.
repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;
setEndTimeOffset(Duration value)
public VodSessionAdBreak.Builder setEndTimeOffset(Duration value)
Ad break end time in seconds relative to the start of the VOD asset.
.google.protobuf.Duration end_time_offset = 3;
setEndTimeOffset(Duration.Builder builderForValue)
public VodSessionAdBreak.Builder setEndTimeOffset(Duration.Builder builderForValue)
Ad break end time in seconds relative to the start of the VOD asset.
.google.protobuf.Duration end_time_offset = 3;
Parameter |
---|
Name | Description |
builderForValue | Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public VodSessionAdBreak.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setProgressEvents(int index, ProgressEvent value)
public VodSessionAdBreak.Builder setProgressEvents(int index, ProgressEvent value)
List of events that are expected to be triggered, ordered by time.
repeated .google.cloud.video.stitcher.v1.ProgressEvent progress_events = 1;
setProgressEvents(int index, ProgressEvent.Builder builderForValue)
public VodSessionAdBreak.Builder setProgressEvents(int index, ProgressEvent.Builder builderForValue)
List of events that are expected to be triggered, ordered by time.
repeated .google.cloud.video.stitcher.v1.ProgressEvent progress_events = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VodSessionAdBreak.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setStartTimeOffset(Duration value)
public VodSessionAdBreak.Builder setStartTimeOffset(Duration value)
Ad break start time in seconds relative to the start of the VOD asset.
.google.protobuf.Duration start_time_offset = 4;
setStartTimeOffset(Duration.Builder builderForValue)
public VodSessionAdBreak.Builder setStartTimeOffset(Duration.Builder builderForValue)
Ad break start time in seconds relative to the start of the VOD asset.
.google.protobuf.Duration start_time_offset = 4;
Parameter |
---|
Name | Description |
builderForValue | Builder
|
setUnknownFields(UnknownFieldSet unknownFields)
public final VodSessionAdBreak.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides