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
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
Returns
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
Returns
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
Returns
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
Returns
addAdBreaksBuilder()
public VodSessionAdBreak.Builder addAdBreaksBuilder()
List of ad breaks ordered by time.
repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;
Returns
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
Returns
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Interstitials.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Interstitials build()
Returns
buildPartial()
public Interstitials buildPartial()
Returns
clear()
public Interstitials.Builder clear()
Returns
Overrides
clearAdBreaks()
public Interstitials.Builder clearAdBreaks()
List of ad breaks ordered by time.
repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public Interstitials.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Interstitials.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public Interstitials.Builder clone()
Returns
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
Returns
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
Returns
getAdBreaksBuilderList()
public List<VodSessionAdBreak.Builder> getAdBreaksBuilderList()
List of ad breaks ordered by time.
repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;
Returns
getAdBreaksCount()
public int getAdBreaksCount()
List of ad breaks ordered by time.
repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;
Returns
getAdBreaksList()
public List<VodSessionAdBreak> getAdBreaksList()
List of ad breaks ordered by time.
repeated .google.cloud.video.stitcher.v1.VodSessionAdBreak ad_breaks = 1;
Returns
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
Returns
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getSessionContent()
public VodSessionContent getSessionContent()
Information related to the content of the VOD session.
.google.cloud.video.stitcher.v1.VodSessionContent session_content = 2;
Returns
getSessionContentBuilder()
public VodSessionContent.Builder getSessionContentBuilder()
Information related to the content of the VOD session.
.google.cloud.video.stitcher.v1.VodSessionContent session_content = 2;
Returns
getSessionContentOrBuilder()
public VodSessionContentOrBuilder getSessionContentOrBuilder()
Information related to the content of the VOD session.
.google.cloud.video.stitcher.v1.VodSessionContent session_content = 2;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Interstitials other)
public Interstitials.Builder mergeFrom(Interstitials other)
Parameter
Returns
public Interstitials.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Interstitials.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Interstitials.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Interstitials.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Interstitials.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Interstitials.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides