Class Overlay.AnimationFade (0.15.0)

public static final class Overlay.AnimationFade extends GeneratedMessageV3 implements Overlay.AnimationFadeOrBuilder

Display overlay object with fade animation.

Protobuf type google.events.cloud.video.transcoder.v1.Overlay.AnimationFade

Static Fields

END_TIME_OFFSET_FIELD_NUMBER

public static final int END_TIME_OFFSET_FIELD_NUMBER
Field Value
Type Description
int

FADE_TYPE_FIELD_NUMBER

public static final int FADE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_OFFSET_FIELD_NUMBER

public static final int START_TIME_OFFSET_FIELD_NUMBER
Field Value
Type Description
int

XY_FIELD_NUMBER

public static final int XY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Overlay.AnimationFade getDefaultInstance()
Returns
Type Description
Overlay.AnimationFade

getDescriptor()

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

newBuilder()

public static Overlay.AnimationFade.Builder newBuilder()
Returns
Type Description
Overlay.AnimationFade.Builder

newBuilder(Overlay.AnimationFade prototype)

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

parseDelimitedFrom(InputStream input)

public static Overlay.AnimationFade parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Overlay.AnimationFade
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Overlay.AnimationFade parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Overlay.AnimationFade
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Overlay.AnimationFade parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Overlay.AnimationFade
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Overlay.AnimationFade parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Overlay.AnimationFade
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Overlay.AnimationFade parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Overlay.AnimationFade
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Overlay.AnimationFade> parser()
Returns
Type Description
Parser<AnimationFade>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Overlay.AnimationFade getDefaultInstanceForType()
Returns
Type Description
Overlay.AnimationFade

getEndTimeOffset()

public Duration getEndTimeOffset()

The time to end the fade animation, in seconds. Default: start_time_offset + 1s

.google.protobuf.Duration end_time_offset = 4;

Returns
Type Description
Duration

The endTimeOffset.

getEndTimeOffsetOrBuilder()

public DurationOrBuilder getEndTimeOffsetOrBuilder()

The time to end the fade animation, in seconds. Default: start_time_offset + 1s

.google.protobuf.Duration end_time_offset = 4;

Returns
Type Description
DurationOrBuilder

getFadeType()

public Overlay.FadeType getFadeType()

Required. Type of fade animation: FADE_IN or FADE_OUT.

.google.events.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1;

Returns
Type Description
Overlay.FadeType

The fadeType.

getFadeTypeValue()

public int getFadeTypeValue()

Required. Type of fade animation: FADE_IN or FADE_OUT.

.google.events.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for fadeType.

getParserForType()

public Parser<Overlay.AnimationFade> getParserForType()
Returns
Type Description
Parser<AnimationFade>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTimeOffset()

public Duration getStartTimeOffset()

The time to start the fade animation, in seconds. Default: 0

.google.protobuf.Duration start_time_offset = 3;

Returns
Type Description
Duration

The startTimeOffset.

getStartTimeOffsetOrBuilder()

public DurationOrBuilder getStartTimeOffsetOrBuilder()

The time to start the fade animation, in seconds. Default: 0

.google.protobuf.Duration start_time_offset = 3;

Returns
Type Description
DurationOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

getXy()

public Overlay.NormalizedCoordinate getXy()

Normalized coordinates based on output video resolution. Valid values: 0.01.0. xy is the upper-left coordinate of the overlay object. For example, use the x and y coordinates {0,0} to position the top-left corner of the overlay animation in the top-left corner of the output video.

.google.events.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2;

Returns
Type Description
Overlay.NormalizedCoordinate

The xy.

getXyOrBuilder()

public Overlay.NormalizedCoordinateOrBuilder getXyOrBuilder()

Normalized coordinates based on output video resolution. Valid values: 0.01.0. xy is the upper-left coordinate of the overlay object. For example, use the x and y coordinates {0,0} to position the top-left corner of the overlay animation in the top-left corner of the output video.

.google.events.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2;

Returns
Type Description
Overlay.NormalizedCoordinateOrBuilder

hasEndTimeOffset()

public boolean hasEndTimeOffset()

The time to end the fade animation, in seconds. Default: start_time_offset + 1s

.google.protobuf.Duration end_time_offset = 4;

Returns
Type Description
boolean

Whether the endTimeOffset field is set.

hasStartTimeOffset()

public boolean hasStartTimeOffset()

The time to start the fade animation, in seconds. Default: 0

.google.protobuf.Duration start_time_offset = 3;

Returns
Type Description
boolean

Whether the startTimeOffset field is set.

hasXy()

public boolean hasXy()

Normalized coordinates based on output video resolution. Valid values: 0.01.0. xy is the upper-left coordinate of the overlay object. For example, use the x and y coordinates {0,0} to position the top-left corner of the overlay animation in the top-left corner of the output video.

.google.events.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2;

Returns
Type Description
boolean

Whether the xy 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 Overlay.AnimationFade.Builder newBuilderForType()
Returns
Type Description
Overlay.AnimationFade.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Overlay.AnimationFade.Builder toBuilder()
Returns
Type Description
Overlay.AnimationFade.Builder

writeTo(CodedOutputStream output)

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