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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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.events.cloud.video.transcoder.v1.Overlay.FadeType fade_type = 1;
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()
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;
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
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.events.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.events.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.events.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)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Overlay.AnimationFade.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides