Class VodSessionContent.Builder (0.19.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VodSessionContent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VodSessionContent.Builder
Overrides

build()

public VodSessionContent build()
Returns
TypeDescription
VodSessionContent

buildPartial()

public VodSessionContent buildPartial()
Returns
TypeDescription
VodSessionContent

clear()

public VodSessionContent.Builder clear()
Returns
TypeDescription
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
TypeDescription
VodSessionContent.Builder

clearField(Descriptors.FieldDescriptor field)

public VodSessionContent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VodSessionContent.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VodSessionContent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
VodSessionContent.Builder
Overrides

clone()

public VodSessionContent.Builder clone()
Returns
TypeDescription
VodSessionContent.Builder
Overrides

getDefaultInstanceForType()

public VodSessionContent getDefaultInstanceForType()
Returns
TypeDescription
VodSessionContent

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder

getDurationOrBuilder()

public DurationOrBuilder getDurationOrBuilder()

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

.google.protobuf.Duration duration = 1;

Returns
TypeDescription
DurationOrBuilder

hasDuration()

public boolean hasDuration()

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

.google.protobuf.Duration duration = 1;

Returns
TypeDescription
boolean

Whether the duration field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
VodSessionContent.Builder

mergeFrom(VodSessionContent other)

public VodSessionContent.Builder mergeFrom(VodSessionContent other)
Parameter
NameDescription
otherVodSessionContent
Returns
TypeDescription
VodSessionContent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VodSessionContent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VodSessionContent.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VodSessionContent.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
VodSessionContent.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VodSessionContent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
VodSessionContent.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public VodSessionContent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VodSessionContent.Builder
Overrides

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

public VodSessionContent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VodSessionContent.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VodSessionContent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VodSessionContent.Builder
Overrides