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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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;
Parameter
Returns
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;
Parameter
Returns
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;
Parameters
Returns
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;
Parameters
Returns
addAdsBuilder()
public VodSessionAd.Builder addAdsBuilder()
Ordered list of ads stitched into the ad break.
repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;
Returns
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
Returns
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>
|
Returns
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>
|
Returns
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;
Parameter
Returns
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;
Parameter
Returns
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;
Parameters
Returns
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;
Parameters
Returns
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;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VodSessionAdBreak.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public VodSessionAdBreak build()
Returns
buildPartial()
public VodSessionAdBreak buildPartial()
Returns
clear()
public VodSessionAdBreak.Builder clear()
Returns
Overrides
clearAds()
public VodSessionAdBreak.Builder clearAds()
Ordered list of ads stitched into the ad break.
repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;
Returns
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;
Returns
clearField(Descriptors.FieldDescriptor field)
public VodSessionAdBreak.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public VodSessionAdBreak.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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;
Returns
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;
Returns
clone()
public VodSessionAdBreak.Builder clone()
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
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
Returns
getAdsBuilderList()
public List<VodSessionAd.Builder> getAdsBuilderList()
Ordered list of ads stitched into the ad break.
repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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;
Returns
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
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
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
Returns
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;
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> | |
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;
Returns
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
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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;
Parameter
Returns
mergeFrom(VodSessionAdBreak other)
public VodSessionAdBreak.Builder mergeFrom(VodSessionAdBreak other)
Parameter
Returns
public VodSessionAdBreak.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public VodSessionAdBreak.Builder mergeFrom(Message other)
Parameter
Returns
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;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VodSessionAdBreak.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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;
Parameters
Returns
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;
Parameters
Returns
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;
Parameter
Returns
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
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public VodSessionAdBreak.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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;
Parameters
Returns
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;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VodSessionAdBreak.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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;
Parameter
Returns
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
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final VodSessionAdBreak.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides