Class VodStitchDetail.Builder (0.55.0)

public static final class VodStitchDetail.Builder extends GeneratedMessageV3.Builder<VodStitchDetail.Builder> implements VodStitchDetailOrBuilder

Information related to the interstitial of a VOD session. This resource is only available for VOD sessions that do not implement Google Ad Manager ad insertion.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAdStitchDetails(AdStitchDetail value)

public VodStitchDetail.Builder addAdStitchDetails(AdStitchDetail value)

A list of ad processing details for the fetched ad playlist.

repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;

Parameter
Name Description
value AdStitchDetail
Returns
Type Description
VodStitchDetail.Builder

addAdStitchDetails(AdStitchDetail.Builder builderForValue)

public VodStitchDetail.Builder addAdStitchDetails(AdStitchDetail.Builder builderForValue)

A list of ad processing details for the fetched ad playlist.

repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;

Parameter
Name Description
builderForValue AdStitchDetail.Builder
Returns
Type Description
VodStitchDetail.Builder

addAdStitchDetails(int index, AdStitchDetail value)

public VodStitchDetail.Builder addAdStitchDetails(int index, AdStitchDetail value)

A list of ad processing details for the fetched ad playlist.

repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;

Parameters
Name Description
index int
value AdStitchDetail
Returns
Type Description
VodStitchDetail.Builder

addAdStitchDetails(int index, AdStitchDetail.Builder builderForValue)

public VodStitchDetail.Builder addAdStitchDetails(int index, AdStitchDetail.Builder builderForValue)

A list of ad processing details for the fetched ad playlist.

repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;

Parameters
Name Description
index int
builderForValue AdStitchDetail.Builder
Returns
Type Description
VodStitchDetail.Builder

addAdStitchDetailsBuilder()

public AdStitchDetail.Builder addAdStitchDetailsBuilder()

A list of ad processing details for the fetched ad playlist.

repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;

Returns
Type Description
AdStitchDetail.Builder

addAdStitchDetailsBuilder(int index)

public AdStitchDetail.Builder addAdStitchDetailsBuilder(int index)

A list of ad processing details for the fetched ad playlist.

repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;

Parameter
Name Description
index int
Returns
Type Description
AdStitchDetail.Builder

addAllAdStitchDetails(Iterable<? extends AdStitchDetail> values)

public VodStitchDetail.Builder addAllAdStitchDetails(Iterable<? extends AdStitchDetail> values)

A list of ad processing details for the fetched ad playlist.

repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;

Parameter
Name Description
values Iterable<? extends com.google.cloud.video.stitcher.v1.AdStitchDetail>
Returns
Type Description
VodStitchDetail.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VodStitchDetail build()
Returns
Type Description
VodStitchDetail

buildPartial()

public VodStitchDetail buildPartial()
Returns
Type Description
VodStitchDetail

clear()

public VodStitchDetail.Builder clear()
Returns
Type Description
VodStitchDetail.Builder
Overrides

clearAdStitchDetails()

public VodStitchDetail.Builder clearAdStitchDetails()

A list of ad processing details for the fetched ad playlist.

repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;

Returns
Type Description
VodStitchDetail.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public VodStitchDetail.Builder clearName()

The name of the stitch detail in the specified VOD session, in the form of projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodStitchDetails/{id}.

string name = 1;

Returns
Type Description
VodStitchDetail.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public VodStitchDetail.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VodStitchDetail.Builder
Overrides

clone()

public VodStitchDetail.Builder clone()
Returns
Type Description
VodStitchDetail.Builder
Overrides

getAdStitchDetails(int index)

public AdStitchDetail getAdStitchDetails(int index)

A list of ad processing details for the fetched ad playlist.

repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;

Parameter
Name Description
index int
Returns
Type Description
AdStitchDetail

getAdStitchDetailsBuilder(int index)

public AdStitchDetail.Builder getAdStitchDetailsBuilder(int index)

A list of ad processing details for the fetched ad playlist.

repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;

Parameter
Name Description
index int
Returns
Type Description
AdStitchDetail.Builder

getAdStitchDetailsBuilderList()

public List<AdStitchDetail.Builder> getAdStitchDetailsBuilderList()

A list of ad processing details for the fetched ad playlist.

repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;

Returns
Type Description
List<Builder>

getAdStitchDetailsCount()

public int getAdStitchDetailsCount()

A list of ad processing details for the fetched ad playlist.

repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;

Returns
Type Description
int

getAdStitchDetailsList()

public List<AdStitchDetail> getAdStitchDetailsList()

A list of ad processing details for the fetched ad playlist.

repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;

Returns
Type Description
List<AdStitchDetail>

getAdStitchDetailsOrBuilder(int index)

public AdStitchDetailOrBuilder getAdStitchDetailsOrBuilder(int index)

A list of ad processing details for the fetched ad playlist.

repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;

Parameter
Name Description
index int
Returns
Type Description
AdStitchDetailOrBuilder

getAdStitchDetailsOrBuilderList()

public List<? extends AdStitchDetailOrBuilder> getAdStitchDetailsOrBuilderList()

A list of ad processing details for the fetched ad playlist.

repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;

Returns
Type Description
List<? extends com.google.cloud.video.stitcher.v1.AdStitchDetailOrBuilder>

getDefaultInstanceForType()

public VodStitchDetail getDefaultInstanceForType()
Returns
Type Description
VodStitchDetail

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

The name of the stitch detail in the specified VOD session, in the form of projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodStitchDetails/{id}.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the stitch detail in the specified VOD session, in the form of projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodStitchDetails/{id}.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VodStitchDetail other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public VodStitchDetail.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VodStitchDetail.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VodStitchDetail.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VodStitchDetail.Builder
Overrides

removeAdStitchDetails(int index)

public VodStitchDetail.Builder removeAdStitchDetails(int index)

A list of ad processing details for the fetched ad playlist.

repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;

Parameter
Name Description
index int
Returns
Type Description
VodStitchDetail.Builder

setAdStitchDetails(int index, AdStitchDetail value)

public VodStitchDetail.Builder setAdStitchDetails(int index, AdStitchDetail value)

A list of ad processing details for the fetched ad playlist.

repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;

Parameters
Name Description
index int
value AdStitchDetail
Returns
Type Description
VodStitchDetail.Builder

setAdStitchDetails(int index, AdStitchDetail.Builder builderForValue)

public VodStitchDetail.Builder setAdStitchDetails(int index, AdStitchDetail.Builder builderForValue)

A list of ad processing details for the fetched ad playlist.

repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;

Parameters
Name Description
index int
builderForValue AdStitchDetail.Builder
Returns
Type Description
VodStitchDetail.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public VodStitchDetail.Builder setName(String value)

The name of the stitch detail in the specified VOD session, in the form of projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodStitchDetails/{id}.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
VodStitchDetail.Builder

This builder for chaining.

setNameBytes(ByteString value)

public VodStitchDetail.Builder setNameBytes(ByteString value)

The name of the stitch detail in the specified VOD session, in the form of projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodStitchDetails/{id}.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
VodStitchDetail.Builder

This builder for chaining.

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

public VodStitchDetail.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VodStitchDetail.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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