Class VodSessionContent.Builder (0.83.0)

public static final class VodSessionContent.Builder extends GeneratedMessage.Builder<VodSessionContent.Builder> implements VodSessionContentOrBuilder

Metadata for the entire stitched content in a VOD session.

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

Static Methods

getDescriptor()

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

Methods

build()

public VodSessionContent build()
Returns
Type Description
VodSessionContent

buildPartial()

public VodSessionContent buildPartial()
Returns
Type Description
VodSessionContent

clear()

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

clearDuration()

public VodSessionContent.Builder clearDuration()

The total duration in seconds of the content including the ads stitched in.

.google.protobuf.Duration duration = 1;

Returns
Type Description
VodSessionContent.Builder

getDefaultInstanceForType()

public VodSessionContent getDefaultInstanceForType()
Returns
Type Description
VodSessionContent

getDescriptorForType()

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

getDuration()

public Duration getDuration()

The total duration in seconds of the content including the ads stitched in.

.google.protobuf.Duration duration = 1;

Returns
Type Description
Duration

The duration.

getDurationBuilder()

public Duration.Builder getDurationBuilder()

The total duration in seconds of the content including the ads stitched in.

.google.protobuf.Duration duration = 1;

Returns
Type Description
Builder

getDurationOrBuilder()

public DurationOrBuilder getDurationOrBuilder()

The total duration in seconds of the content including the ads stitched in.

.google.protobuf.Duration duration = 1;

Returns
Type Description
DurationOrBuilder

hasDuration()

public boolean hasDuration()

The total duration in seconds of the content including the ads stitched in.

.google.protobuf.Duration duration = 1;

Returns
Type Description
boolean

Whether the duration field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDuration(Duration value)

public VodSessionContent.Builder mergeDuration(Duration value)

The total duration in seconds of the content including the ads stitched in.

.google.protobuf.Duration duration = 1;

Parameter
Name Description
value Duration
Returns
Type Description
VodSessionContent.Builder

mergeFrom(VodSessionContent other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDuration(Duration value)

public VodSessionContent.Builder setDuration(Duration value)

The total duration in seconds of the content including the ads stitched in.

.google.protobuf.Duration duration = 1;

Parameter
Name Description
value Duration
Returns
Type Description
VodSessionContent.Builder

setDuration(Duration.Builder builderForValue)

public VodSessionContent.Builder setDuration(Duration.Builder builderForValue)

The total duration in seconds of the content including the ads stitched in.

.google.protobuf.Duration duration = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
VodSessionContent.Builder