Class Interstitials.Builder (0.32.0)

public static final class Interstitials.Builder extends GeneratedMessageV3.Builder<Interstitials.Builder> implements InterstitialsOrBuilder

Describes what was stitched into a VOD session's manifest.

Protobuf type google.cloud.video.stitcher.v1.Interstitials

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAdBreaks(VodSessionAdBreak value)

public Interstitials.Builder addAdBreaks(VodSessionAdBreak value)

List of ad breaks ordered by time.

repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;

Parameter
NameDescription
valueVodSessionAdBreak
Returns
TypeDescription
Interstitials.Builder

addAdBreaks(VodSessionAdBreak.Builder builderForValue)

public Interstitials.Builder addAdBreaks(VodSessionAdBreak.Builder builderForValue)

List of ad breaks ordered by time.

repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;

Parameter
NameDescription
builderForValueVodSessionAdBreak.Builder
Returns
TypeDescription
Interstitials.Builder

addAdBreaks(int index, VodSessionAdBreak value)

public Interstitials.Builder addAdBreaks(int index, VodSessionAdBreak value)

List of ad breaks ordered by time.

repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;

Parameters
NameDescription
indexint
valueVodSessionAdBreak
Returns
TypeDescription
Interstitials.Builder

addAdBreaks(int index, VodSessionAdBreak.Builder builderForValue)

public Interstitials.Builder addAdBreaks(int index, VodSessionAdBreak.Builder builderForValue)

List of ad breaks ordered by time.

repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;

Parameters
NameDescription
indexint
builderForValueVodSessionAdBreak.Builder
Returns
TypeDescription
Interstitials.Builder

addAdBreaksBuilder()

public VodSessionAdBreak.Builder addAdBreaksBuilder()

List of ad breaks ordered by time.

repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;

Returns
TypeDescription
VodSessionAdBreak.Builder

addAdBreaksBuilder(int index)

public VodSessionAdBreak.Builder addAdBreaksBuilder(int index)

List of ad breaks ordered by time.

repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
VodSessionAdBreak.Builder

addAllAdBreaks(Iterable<? extends VodSessionAdBreak> values)

public Interstitials.Builder addAllAdBreaks(Iterable<? extends VodSessionAdBreak> values)

List of ad breaks ordered by time.

repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.video.stitcher.v1.VodSessionAdBreak>
Returns
TypeDescription
Interstitials.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Interstitials build()
Returns
TypeDescription
Interstitials

buildPartial()

public Interstitials buildPartial()
Returns
TypeDescription
Interstitials

clear()

public Interstitials.Builder clear()
Returns
TypeDescription
Interstitials.Builder
Overrides

clearAdBreaks()

public Interstitials.Builder clearAdBreaks()

List of ad breaks ordered by time.

repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;

Returns
TypeDescription
Interstitials.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Interstitials.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Interstitials.Builder
Overrides

clearSessionContent()

public Interstitials.Builder clearSessionContent()

Information related to the content of the VOD session.

.google.cloud.video.stitcher.v1.VodSessionContent session_content = 2;

Returns
TypeDescription
Interstitials.Builder

clone()

public Interstitials.Builder clone()
Returns
TypeDescription
Interstitials.Builder
Overrides

getAdBreaks(int index)

public VodSessionAdBreak getAdBreaks(int index)

List of ad breaks ordered by time.

repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
VodSessionAdBreak

getAdBreaksBuilder(int index)

public VodSessionAdBreak.Builder getAdBreaksBuilder(int index)

List of ad breaks ordered by time.

repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
VodSessionAdBreak.Builder

getAdBreaksBuilderList()

public List<VodSessionAdBreak.Builder> getAdBreaksBuilderList()

List of ad breaks ordered by time.

repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;

Returns
TypeDescription
List<Builder>

getAdBreaksCount()

public int getAdBreaksCount()

List of ad breaks ordered by time.

repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;

Returns
TypeDescription
int

getAdBreaksList()

public List<VodSessionAdBreak> getAdBreaksList()

List of ad breaks ordered by time.

repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;

Returns
TypeDescription
List<VodSessionAdBreak>

getAdBreaksOrBuilder(int index)

public VodSessionAdBreakOrBuilder getAdBreaksOrBuilder(int index)

List of ad breaks ordered by time.

repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
VodSessionAdBreakOrBuilder

getAdBreaksOrBuilderList()

public List<? extends VodSessionAdBreakOrBuilder> getAdBreaksOrBuilderList()

List of ad breaks ordered by time.

repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;

Returns
TypeDescription
List<? extends com.google.cloud.video.stitcher.v1.VodSessionAdBreakOrBuilder>

getDefaultInstanceForType()

public Interstitials getDefaultInstanceForType()
Returns
TypeDescription
Interstitials

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSessionContent()

public VodSessionContent getSessionContent()

Information related to the content of the VOD session.

.google.cloud.video.stitcher.v1.VodSessionContent session_content = 2;

Returns
TypeDescription
VodSessionContent

The sessionContent.

getSessionContentBuilder()

public VodSessionContent.Builder getSessionContentBuilder()

Information related to the content of the VOD session.

.google.cloud.video.stitcher.v1.VodSessionContent session_content = 2;

Returns
TypeDescription
VodSessionContent.Builder

getSessionContentOrBuilder()

public VodSessionContentOrBuilder getSessionContentOrBuilder()

Information related to the content of the VOD session.

.google.cloud.video.stitcher.v1.VodSessionContent session_content = 2;

Returns
TypeDescription
VodSessionContentOrBuilder

hasSessionContent()

public boolean hasSessionContent()

Information related to the content of the VOD session.

.google.cloud.video.stitcher.v1.VodSessionContent session_content = 2;

Returns
TypeDescription
boolean

Whether the sessionContent field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Interstitials other)

public Interstitials.Builder mergeFrom(Interstitials other)
Parameter
NameDescription
otherInterstitials
Returns
TypeDescription
Interstitials.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Interstitials.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Interstitials.Builder
Overrides

mergeSessionContent(VodSessionContent value)

public Interstitials.Builder mergeSessionContent(VodSessionContent value)

Information related to the content of the VOD session.

.google.cloud.video.stitcher.v1.VodSessionContent session_content = 2;

Parameter
NameDescription
valueVodSessionContent
Returns
TypeDescription
Interstitials.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Interstitials.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Interstitials.Builder
Overrides

removeAdBreaks(int index)

public Interstitials.Builder removeAdBreaks(int index)

List of ad breaks ordered by time.

repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Interstitials.Builder

setAdBreaks(int index, VodSessionAdBreak value)

public Interstitials.Builder setAdBreaks(int index, VodSessionAdBreak value)

List of ad breaks ordered by time.

repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;

Parameters
NameDescription
indexint
valueVodSessionAdBreak
Returns
TypeDescription
Interstitials.Builder

setAdBreaks(int index, VodSessionAdBreak.Builder builderForValue)

public Interstitials.Builder setAdBreaks(int index, VodSessionAdBreak.Builder builderForValue)

List of ad breaks ordered by time.

repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;

Parameters
NameDescription
indexint
builderForValueVodSessionAdBreak.Builder
Returns
TypeDescription
Interstitials.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public Interstitials.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Interstitials.Builder
Overrides

setSessionContent(VodSessionContent value)

public Interstitials.Builder setSessionContent(VodSessionContent value)

Information related to the content of the VOD session.

.google.cloud.video.stitcher.v1.VodSessionContent session_content = 2;

Parameter
NameDescription
valueVodSessionContent
Returns
TypeDescription
Interstitials.Builder

setSessionContent(VodSessionContent.Builder builderForValue)

public Interstitials.Builder setSessionContent(VodSessionContent.Builder builderForValue)

Information related to the content of the VOD session.

.google.cloud.video.stitcher.v1.VodSessionContent session_content = 2;

Parameter
NameDescription
builderForValueVodSessionContent.Builder
Returns
TypeDescription
Interstitials.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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