Class TimecodeConfig.Builder (0.51.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TimecodeConfig build()
Returns
Type Description
TimecodeConfig

buildPartial()

public TimecodeConfig buildPartial()
Returns
Type Description
TimecodeConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public TimecodeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
TimecodeConfig.Builder

This builder for chaining.

clearTimeOffset()

public TimecodeConfig.Builder clearTimeOffset()
Returns
Type Description
TimecodeConfig.Builder

clearTimeZone()

public TimecodeConfig.Builder clearTimeZone()

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

.google.type.TimeZone time_zone = 3;

Returns
Type Description
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
Type Description
TimecodeConfig.Builder

clone()

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

getDefaultInstanceForType()

public TimecodeConfig getDefaultInstanceForType()
Returns
Type Description
TimecodeConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
int

The enum numeric value on the wire for source.

getTimeOffsetCase()

public TimecodeConfig.TimeOffsetCase getTimeOffsetCase()
Returns
Type Description
TimecodeConfig.TimeOffsetCase

getTimeZone()

public TimeZone getTimeZone()

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

.google.type.TimeZone time_zone = 3;

Returns
Type Description
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
Type Description
com.google.type.TimeZone.Builder

getTimeZoneOrBuilder()

public TimeZoneOrBuilder getTimeZoneOrBuilder()

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

.google.type.TimeZone time_zone = 3;

Returns
Type Description
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
Type Description
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
Type Description
Builder

getUtcOffsetOrBuilder()

public DurationOrBuilder getUtcOffsetOrBuilder()

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

.google.protobuf.Duration utc_offset = 2;

Returns
Type Description
DurationOrBuilder

hasTimeZone()

public boolean hasTimeZone()

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

.google.type.TimeZone time_zone = 3;

Returns
Type Description
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
Type Description
boolean

Whether the utcOffset field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TimecodeConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public TimecodeConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value com.google.type.TimeZone
Returns
Type Description
TimecodeConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TimecodeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Duration
Returns
Type Description
TimecodeConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public TimecodeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value TimecodeConfig.TimecodeSource

The source to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
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
Name Description
value com.google.type.TimeZone
Returns
Type Description
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
Name Description
builderForValue com.google.type.TimeZone.Builder
Returns
Type Description
TimecodeConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final TimecodeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Duration
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
TimecodeConfig.Builder