Class VodSessionContent.Builder (0.49.0)

public static final class VodSessionContent.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VodSessionContent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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