Class Overlay.AnimationFade (1.22.0)

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

Display overlay object with fade animation.

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

Static Fields

END_TIME_OFFSET_FIELD_NUMBER

public static final int END_TIME_OFFSET_FIELD_NUMBER
Field Value
TypeDescription
int

FADE_TYPE_FIELD_NUMBER

public static final int FADE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

START_TIME_OFFSET_FIELD_NUMBER

public static final int START_TIME_OFFSET_FIELD_NUMBER
Field Value
TypeDescription
int

XY_FIELD_NUMBER

public static final int XY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Overlay.AnimationFade getDefaultInstance()
Returns
TypeDescription
Overlay.AnimationFade

getDescriptor()

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

newBuilder()

public static Overlay.AnimationFade.Builder newBuilder()
Returns
TypeDescription
Overlay.AnimationFade.Builder

newBuilder(Overlay.AnimationFade prototype)

public static Overlay.AnimationFade.Builder newBuilder(Overlay.AnimationFade prototype)
Parameter
NameDescription
prototypeOverlay.AnimationFade
Returns
TypeDescription
Overlay.AnimationFade.Builder

parseDelimitedFrom(InputStream input)

public static Overlay.AnimationFade parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Overlay.AnimationFade
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Overlay.AnimationFade parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Overlay.AnimationFade
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Overlay.AnimationFade parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Overlay.AnimationFade
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Overlay.AnimationFade parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Overlay.AnimationFade
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Overlay.AnimationFade parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Overlay.AnimationFade
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Overlay.AnimationFade getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DurationOrBuilder

getFadeType()

public Overlay.FadeType getFadeType()

Required. Type of fade animation: FADE_IN or FADE_OUT.

.google.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Overlay.FadeType

The fadeType.

getFadeTypeValue()

public int getFadeTypeValue()

Required. Type of fade animation: FADE_IN or FADE_OUT.

.google.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for fadeType.

getParserForType()

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

getSerializedSize()

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

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.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2;

Returns
TypeDescription
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.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate xy = 2;

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Overlay.AnimationFade.Builder toBuilder()
Returns
TypeDescription
Overlay.AnimationFade.Builder

writeTo(CodedOutputStream output)

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