Class TimecodeConfig (0.19.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
TypeDescription
int

TIME_ZONE_FIELD_NUMBER

public static final int TIME_ZONE_FIELD_NUMBER
Field Value
TypeDescription
int

UTC_OFFSET_FIELD_NUMBER

public static final int UTC_OFFSET_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TimecodeConfig getDefaultInstance()
Returns
TypeDescription
TimecodeConfig

getDescriptor()

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

newBuilder()

public static TimecodeConfig.Builder newBuilder()
Returns
TypeDescription
TimecodeConfig.Builder

newBuilder(TimecodeConfig prototype)

public static TimecodeConfig.Builder newBuilder(TimecodeConfig prototype)
Parameter
NameDescription
prototypeTimecodeConfig
Returns
TypeDescription
TimecodeConfig.Builder

parseDelimitedFrom(InputStream input)

public static TimecodeConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TimecodeConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TimecodeConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimecodeConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TimecodeConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TimecodeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TimecodeConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimecodeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TimecodeConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TimecodeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TimecodeConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimecodeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TimecodeConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TimecodeConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TimecodeConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimecodeConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TimecodeConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TimecodeConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TimecodeConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimecodeConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TimecodeConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TimecodeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TimecodeConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimecodeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TimecodeConfig> parser()
Returns
TypeDescription
Parser<TimecodeConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public TimecodeConfig getDefaultInstanceForType()
Returns
TypeDescription
TimecodeConfig

getParserForType()

public Parser<TimecodeConfig> getParserForType()
Returns
TypeDescription
Parser<TimecodeConfig>
Overrides

getSerializedSize()

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

getTimeZoneOrBuilder()

public TimeZoneOrBuilder getTimeZoneOrBuilder()

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

.google.type.TimeZone time_zone = 3;

Returns
TypeDescription
com.google.type.TimeZoneOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TimecodeConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TimecodeConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException