Send feedback
Class Overlay.AnimationFade (1.20.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.20.0 keyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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 ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Overlay . AnimationFade . Builder newBuilder ()
newBuilder(Overlay.AnimationFade prototype)
public static Overlay . AnimationFade . Builder newBuilder ( Overlay . AnimationFade prototype )
public static Overlay . AnimationFade parseDelimitedFrom ( InputStream input )
public static Overlay . AnimationFade parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static Overlay . AnimationFade parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Overlay . AnimationFade parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static Overlay . AnimationFade parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Overlay . AnimationFade parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static Overlay . AnimationFade parseFrom ( CodedInputStream input )
public static Overlay . AnimationFade parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static Overlay . AnimationFade parseFrom ( InputStream input )
public static Overlay . AnimationFade parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static Overlay . AnimationFade parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Overlay . AnimationFade parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<Overlay . AnimationFade > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getDefaultInstanceForType()
public Overlay . AnimationFade getDefaultInstanceForType ()
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;
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];
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 Type Description int
The enum numeric value on the wire for fadeType.
getParserForType()
public Parser<Overlay . AnimationFade > getParserForType ()
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;
getXy()
public Overlay . NormalizedCoordinate getXy ()
Normalized coordinates based on output video resolution. Valid
values: 0.0
–1.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;
getXyOrBuilder()
public Overlay . NormalizedCoordinateOrBuilder getXyOrBuilder ()
Normalized coordinates based on output video resolution. Valid
values: 0.0
–1.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;
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()
Normalized coordinates based on output video resolution. Valid
values: 0.0
–1.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 Type Description boolean
Whether the xy field is set.
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Overlay . AnimationFade . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Overlay . AnimationFade . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public Overlay . AnimationFade . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]