Class VodSessionAdBreak.Builder (0.3.3)

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
TypeDescription
Descriptor

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
NameDescription
valueVodSessionAd
Returns
TypeDescription
VodSessionAdBreak.Builder

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
NameDescription
builderForValueVodSessionAd.Builder
Returns
TypeDescription
VodSessionAdBreak.Builder

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
NameDescription
indexint
valueVodSessionAd
Returns
TypeDescription
VodSessionAdBreak.Builder

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
NameDescription
indexint
builderForValueVodSessionAd.Builder
Returns
TypeDescription
VodSessionAdBreak.Builder

addAdsBuilder()

public VodSessionAd.Builder addAdsBuilder()

Ordered list of ads stitched into the ad break.

repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;

Returns
TypeDescription
VodSessionAd.Builder

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
NameDescription
indexint
Returns
TypeDescription
VodSessionAd.Builder

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
NameDescription
valuesIterable<? extends com.google.cloud.video.stitcher.v1.VodSessionAd>
Returns
TypeDescription
VodSessionAdBreak.Builder

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
NameDescription
valuesIterable<? extends com.google.cloud.video.stitcher.v1.ProgressEvent>
Returns
TypeDescription
VodSessionAdBreak.Builder

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
NameDescription
valueProgressEvent
Returns
TypeDescription
VodSessionAdBreak.Builder

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
NameDescription
builderForValueProgressEvent.Builder
Returns
TypeDescription
VodSessionAdBreak.Builder

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
NameDescription
indexint
valueProgressEvent
Returns
TypeDescription
VodSessionAdBreak.Builder

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
NameDescription
indexint
builderForValueProgressEvent.Builder
Returns
TypeDescription
VodSessionAdBreak.Builder

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
TypeDescription
ProgressEvent.Builder

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
NameDescription
indexint
Returns
TypeDescription
ProgressEvent.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VodSessionAdBreak.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VodSessionAdBreak.Builder
Overrides

build()

public VodSessionAdBreak build()
Returns
TypeDescription
VodSessionAdBreak

buildPartial()

public VodSessionAdBreak buildPartial()
Returns
TypeDescription
VodSessionAdBreak

clear()

public VodSessionAdBreak.Builder clear()
Returns
TypeDescription
VodSessionAdBreak.Builder
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
TypeDescription
VodSessionAdBreak.Builder

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
TypeDescription
VodSessionAdBreak.Builder

clearField(Descriptors.FieldDescriptor field)

public VodSessionAdBreak.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VodSessionAdBreak.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VodSessionAdBreak.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
VodSessionAdBreak.Builder
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
TypeDescription
VodSessionAdBreak.Builder

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
TypeDescription
VodSessionAdBreak.Builder

clone()

public VodSessionAdBreak.Builder clone()
Returns
TypeDescription
VodSessionAdBreak.Builder
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
NameDescription
indexint
Returns
TypeDescription
VodSessionAd

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
NameDescription
indexint
Returns
TypeDescription
VodSessionAd.Builder

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
TypeDescription
List<Builder>

getAdsCount()

public int getAdsCount()

Ordered list of ads stitched into the ad break.

repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;

Returns
TypeDescription
int

getAdsList()

public List<VodSessionAd> getAdsList()

Ordered list of ads stitched into the ad break.

repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;

Returns
TypeDescription
List<VodSessionAd>

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
NameDescription
indexint
Returns
TypeDescription
VodSessionAdOrBuilder

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
TypeDescription
List<? extends com.google.cloud.video.stitcher.v1.VodSessionAdOrBuilder>

getDefaultInstanceForType()

public VodSessionAdBreak getDefaultInstanceForType()
Returns
TypeDescription
VodSessionAdBreak

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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
TypeDescription
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
TypeDescription
Builder

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
TypeDescription
DurationOrBuilder

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
NameDescription
indexint
Returns
TypeDescription
ProgressEvent

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
NameDescription
indexint
Returns
TypeDescription
ProgressEvent.Builder

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
TypeDescription
List<Builder>

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
TypeDescription
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;

Returns
TypeDescription
List<ProgressEvent>

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
NameDescription
indexint
Returns
TypeDescription
ProgressEventOrBuilder

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
TypeDescription
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
TypeDescription
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
TypeDescription
Builder

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
TypeDescription
DurationOrBuilder

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
TypeDescription
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
TypeDescription
boolean

Whether the startTimeOffset field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
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
NameDescription
valueDuration
Returns
TypeDescription
VodSessionAdBreak.Builder

mergeFrom(VodSessionAdBreak other)

public VodSessionAdBreak.Builder mergeFrom(VodSessionAdBreak other)
Parameter
NameDescription
otherVodSessionAdBreak
Returns
TypeDescription
VodSessionAdBreak.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VodSessionAdBreak.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VodSessionAdBreak.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VodSessionAdBreak.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
VodSessionAdBreak.Builder
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
NameDescription
valueDuration
Returns
TypeDescription
VodSessionAdBreak.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VodSessionAdBreak.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VodSessionAdBreak.Builder
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
NameDescription
indexint
Returns
TypeDescription
VodSessionAdBreak.Builder

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
NameDescription
indexint
Returns
TypeDescription
VodSessionAdBreak.Builder

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
NameDescription
indexint
valueVodSessionAd
Returns
TypeDescription
VodSessionAdBreak.Builder

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
NameDescription
indexint
builderForValueVodSessionAd.Builder
Returns
TypeDescription
VodSessionAdBreak.Builder

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
NameDescription
valueDuration
Returns
TypeDescription
VodSessionAdBreak.Builder

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
NameDescription
builderForValueBuilder
Returns
TypeDescription
VodSessionAdBreak.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public VodSessionAdBreak.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VodSessionAdBreak.Builder
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
NameDescription
indexint
valueProgressEvent
Returns
TypeDescription
VodSessionAdBreak.Builder

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
NameDescription
indexint
builderForValueProgressEvent.Builder
Returns
TypeDescription
VodSessionAdBreak.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VodSessionAdBreak.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VodSessionAdBreak.Builder
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
NameDescription
valueDuration
Returns
TypeDescription
VodSessionAdBreak.Builder

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
NameDescription
builderForValueBuilder
Returns
TypeDescription
VodSessionAdBreak.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final VodSessionAdBreak.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VodSessionAdBreak.Builder
Overrides