Class TimecodeConfig.Builder (0.29.0)

public static final class TimecodeConfig.Builder extends GeneratedMessageV3.Builder<TimecodeConfig.Builder> implements TimecodeConfigOrBuilder

Timecode configuration.

Protobuf type google.cloud.video.livestream.v1.TimecodeConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TimecodeConfig build()
Returns
TypeDescription
TimecodeConfig

buildPartial()

public TimecodeConfig buildPartial()
Returns
TypeDescription
TimecodeConfig

clear()

public TimecodeConfig.Builder clear()
Returns
TypeDescription
TimecodeConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSource()

public TimecodeConfig.Builder clearSource()

The source of the timecode that will later be used in outputs/manifests. It determines the initial timecode/timestamp (first frame) of output streams.

.google.cloud.video.livestream.v1.TimecodeConfig.TimecodeSource source = 1;

Returns
TypeDescription
TimecodeConfig.Builder

This builder for chaining.

clearTimeOffset()

public TimecodeConfig.Builder clearTimeOffset()
Returns
TypeDescription
TimecodeConfig.Builder

clearTimeZone()

public TimecodeConfig.Builder clearTimeZone()

Time zone e.g. "America/Los_Angeles".

.google.type.TimeZone time_zone = 3;

Returns
TypeDescription
TimecodeConfig.Builder

clearUtcOffset()

public TimecodeConfig.Builder clearUtcOffset()

UTC offset. Must be whole seconds, between -18 hours and +18 hours.

.google.protobuf.Duration utc_offset = 2;

Returns
TypeDescription
TimecodeConfig.Builder

clone()

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

getDefaultInstanceForType()

public TimecodeConfig getDefaultInstanceForType()
Returns
TypeDescription
TimecodeConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSource()

public TimecodeConfig.TimecodeSource getSource()

The source of the timecode that will later be used in outputs/manifests. It determines the initial timecode/timestamp (first frame) of output streams.

.google.cloud.video.livestream.v1.TimecodeConfig.TimecodeSource source = 1;

Returns
TypeDescription
TimecodeConfig.TimecodeSource

The source.

getSourceValue()

public int getSourceValue()

The source of the timecode that will later be used in outputs/manifests. It determines the initial timecode/timestamp (first frame) of output streams.

.google.cloud.video.livestream.v1.TimecodeConfig.TimecodeSource source = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for source.

getTimeOffsetCase()

public TimecodeConfig.TimeOffsetCase getTimeOffsetCase()
Returns
TypeDescription
TimecodeConfig.TimeOffsetCase

getTimeZone()

public TimeZone getTimeZone()

Time zone e.g. "America/Los_Angeles".

.google.type.TimeZone time_zone = 3;

Returns
TypeDescription
com.google.type.TimeZone

The timeZone.

getTimeZoneBuilder()

public TimeZone.Builder getTimeZoneBuilder()

Time zone e.g. "America/Los_Angeles".

.google.type.TimeZone time_zone = 3;

Returns
TypeDescription
com.google.type.TimeZone.Builder

getTimeZoneOrBuilder()

public TimeZoneOrBuilder getTimeZoneOrBuilder()

Time zone e.g. "America/Los_Angeles".

.google.type.TimeZone time_zone = 3;

Returns
TypeDescription
com.google.type.TimeZoneOrBuilder

getUtcOffset()

public Duration getUtcOffset()

UTC offset. Must be whole seconds, between -18 hours and +18 hours.

.google.protobuf.Duration utc_offset = 2;

Returns
TypeDescription
Duration

The utcOffset.

getUtcOffsetBuilder()

public Duration.Builder getUtcOffsetBuilder()

UTC offset. Must be whole seconds, between -18 hours and +18 hours.

.google.protobuf.Duration utc_offset = 2;

Returns
TypeDescription
Builder

getUtcOffsetOrBuilder()

public DurationOrBuilder getUtcOffsetOrBuilder()

UTC offset. Must be whole seconds, between -18 hours and +18 hours.

.google.protobuf.Duration utc_offset = 2;

Returns
TypeDescription
DurationOrBuilder

hasTimeZone()

public boolean hasTimeZone()

Time zone e.g. "America/Los_Angeles".

.google.type.TimeZone time_zone = 3;

Returns
TypeDescription
boolean

Whether the timeZone field is set.

hasUtcOffset()

public boolean hasUtcOffset()

UTC offset. Must be whole seconds, between -18 hours and +18 hours.

.google.protobuf.Duration utc_offset = 2;

Returns
TypeDescription
boolean

Whether the utcOffset field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TimecodeConfig other)

public TimecodeConfig.Builder mergeFrom(TimecodeConfig other)
Parameter
NameDescription
otherTimecodeConfig
Returns
TypeDescription
TimecodeConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTimeZone(TimeZone value)

public TimecodeConfig.Builder mergeTimeZone(TimeZone value)

Time zone e.g. "America/Los_Angeles".

.google.type.TimeZone time_zone = 3;

Parameter
NameDescription
valuecom.google.type.TimeZone
Returns
TypeDescription
TimecodeConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TimecodeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TimecodeConfig.Builder
Overrides

mergeUtcOffset(Duration value)

public TimecodeConfig.Builder mergeUtcOffset(Duration value)

UTC offset. Must be whole seconds, between -18 hours and +18 hours.

.google.protobuf.Duration utc_offset = 2;

Parameter
NameDescription
valueDuration
Returns
TypeDescription
TimecodeConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSource(TimecodeConfig.TimecodeSource value)

public TimecodeConfig.Builder setSource(TimecodeConfig.TimecodeSource value)

The source of the timecode that will later be used in outputs/manifests. It determines the initial timecode/timestamp (first frame) of output streams.

.google.cloud.video.livestream.v1.TimecodeConfig.TimecodeSource source = 1;

Parameter
NameDescription
valueTimecodeConfig.TimecodeSource

The source to set.

Returns
TypeDescription
TimecodeConfig.Builder

This builder for chaining.

setSourceValue(int value)

public TimecodeConfig.Builder setSourceValue(int value)

The source of the timecode that will later be used in outputs/manifests. It determines the initial timecode/timestamp (first frame) of output streams.

.google.cloud.video.livestream.v1.TimecodeConfig.TimecodeSource source = 1;

Parameter
NameDescription
valueint

The enum numeric value on the wire for source to set.

Returns
TypeDescription
TimecodeConfig.Builder

This builder for chaining.

setTimeZone(TimeZone value)

public TimecodeConfig.Builder setTimeZone(TimeZone value)

Time zone e.g. "America/Los_Angeles".

.google.type.TimeZone time_zone = 3;

Parameter
NameDescription
valuecom.google.type.TimeZone
Returns
TypeDescription
TimecodeConfig.Builder

setTimeZone(TimeZone.Builder builderForValue)

public TimecodeConfig.Builder setTimeZone(TimeZone.Builder builderForValue)

Time zone e.g. "America/Los_Angeles".

.google.type.TimeZone time_zone = 3;

Parameter
NameDescription
builderForValuecom.google.type.TimeZone.Builder
Returns
TypeDescription
TimecodeConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUtcOffset(Duration value)

public TimecodeConfig.Builder setUtcOffset(Duration value)

UTC offset. Must be whole seconds, between -18 hours and +18 hours.

.google.protobuf.Duration utc_offset = 2;

Parameter
NameDescription
valueDuration
Returns
TypeDescription
TimecodeConfig.Builder

setUtcOffset(Duration.Builder builderForValue)

public TimecodeConfig.Builder setUtcOffset(Duration.Builder builderForValue)

UTC offset. Must be whole seconds, between -18 hours and +18 hours.

.google.protobuf.Duration utc_offset = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
TimecodeConfig.Builder