Class TimecodeConfig (0.54.0)

public final class TimecodeConfig extends GeneratedMessageV3 implements TimecodeConfigOrBuilder

Timecode configuration.

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

Static Fields

SOURCE_FIELD_NUMBER

public static final int SOURCE_FIELD_NUMBER
Field Value
Type Description
int

TIME_ZONE_FIELD_NUMBER

public static final int TIME_ZONE_FIELD_NUMBER
Field Value
Type Description
int

UTC_OFFSET_FIELD_NUMBER

public static final int UTC_OFFSET_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TimecodeConfig getDefaultInstance()
Returns
Type Description
TimecodeConfig

getDescriptor()

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

newBuilder()

public static TimecodeConfig.Builder newBuilder()
Returns
Type Description
TimecodeConfig.Builder

newBuilder(TimecodeConfig prototype)

public static TimecodeConfig.Builder newBuilder(TimecodeConfig prototype)
Parameter
Name Description
prototype TimecodeConfig
Returns
Type Description
TimecodeConfig.Builder

parseDelimitedFrom(InputStream input)

public static TimecodeConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TimecodeConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TimecodeConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimecodeConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TimecodeConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TimecodeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TimecodeConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimecodeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TimecodeConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TimecodeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TimecodeConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimecodeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TimecodeConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TimecodeConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TimecodeConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimecodeConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TimecodeConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TimecodeConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TimecodeConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimecodeConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TimecodeConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TimecodeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TimecodeConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimecodeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TimecodeConfig> parser()
Returns
Type Description
Parser<TimecodeConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public TimecodeConfig getDefaultInstanceForType()
Returns
Type Description
TimecodeConfig

getParserForType()

public Parser<TimecodeConfig> getParserForType()
Returns
Type Description
Parser<TimecodeConfig>
Overrides

getSerializedSize()

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

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TimecodeConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TimecodeConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException