Class Interstitials.Builder (0.43.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
Type Description
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
Name Description
value VodSessionAdBreak
Returns
Type Description
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
Name Description
builderForValue VodSessionAdBreak.Builder
Returns
Type Description
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
Name Description
index int
value VodSessionAdBreak
Returns
Type Description
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
Name Description
index int
builderForValue VodSessionAdBreak.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.video.stitcher.v1.VodSessionAdBreak>
Returns
Type Description
Interstitials.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Interstitials.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Interstitials.Builder
Overrides

build()

public Interstitials build()
Returns
Type Description
Interstitials

buildPartial()

public Interstitials buildPartial()
Returns
Type Description
Interstitials

clear()

public Interstitials.Builder clear()
Returns
Type Description
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
Type Description
Interstitials.Builder

clearField(Descriptors.FieldDescriptor field)

public Interstitials.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Interstitials.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Interstitials.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
Interstitials.Builder

clone()

public Interstitials.Builder clone()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<Builder>

getAdBreaksCount()

public int getAdBreaksCount()

List of ad breaks ordered by time.

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

Returns
Type Description
int

getAdBreaksList()

public List<VodSessionAdBreak> getAdBreaksList()

List of ad breaks ordered by time.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.video.stitcher.v1.VodSessionAdBreakOrBuilder>

getDefaultInstanceForType()

public Interstitials getDefaultInstanceForType()
Returns
Type Description
Interstitials

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
VodSessionContentOrBuilder

hasSessionContent()

public boolean hasSessionContent()

Information related to the content of the VOD session.

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

Returns
Type Description
boolean

Whether the sessionContent field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Interstitials other)

public Interstitials.Builder mergeFrom(Interstitials other)
Parameter
Name Description
other Interstitials
Returns
Type Description
Interstitials.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Interstitials.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Interstitials.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Interstitials.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value VodSessionContent
Returns
Type Description
Interstitials.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Interstitials.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
value VodSessionAdBreak
Returns
Type Description
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
Name Description
index int
builderForValue VodSessionAdBreak.Builder
Returns
Type Description
Interstitials.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Interstitials.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Interstitials.Builder
Overrides

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

public Interstitials.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value VodSessionContent
Returns
Type Description
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
Name Description
builderForValue VodSessionContent.Builder
Returns
Type Description
Interstitials.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Interstitials.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Interstitials.Builder
Overrides