public static final class Overlay.AnimationFade extends GeneratedMessageV3 implements Overlay.AnimationFadeOrBuilder
Display overlay object with fade animation.
Protobuf type google.cloud.video.transcoder.v1beta1.Overlay.AnimationFade
Fields
END_TIME_OFFSET_FIELD_NUMBER
public static final int END_TIME_OFFSET_FIELD_NUMBER
Field Value
FADE_TYPE_FIELD_NUMBER
public static final int FADE_TYPE_FIELD_NUMBER
Field Value
START_TIME_OFFSET_FIELD_NUMBER
public static final int START_TIME_OFFSET_FIELD_NUMBER
Field Value
XY_FIELD_NUMBER
public static final int XY_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static Overlay.AnimationFade getDefaultInstance()
Returns
getDefaultInstanceForType()
public Overlay.AnimationFade getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
getFadeType()
public Overlay.FadeType getFadeType()
Required. Type of fade animation: FADE_IN
or FADE_OUT
.
.google.cloud.video.transcoder.v1beta1.Overlay.FadeType fade_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getFadeTypeValue()
public int getFadeTypeValue()
Required. Type of fade animation: FADE_IN
or FADE_OUT
.
.google.cloud.video.transcoder.v1beta1.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()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getXy()
public Overlay.NormalizedCoordinate getXy()
Normalized coordinates based on output video resolution. Valid
values: 0.0
\u20131.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.v1beta1.Overlay.NormalizedCoordinate xy = 2;
Returns
getXyOrBuilder()
public Overlay.NormalizedCoordinateOrBuilder getXyOrBuilder()
Normalized coordinates based on output video resolution. Valid
values: 0.0
\u20131.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.v1beta1.Overlay.NormalizedCoordinate xy = 2;
Returns
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
\u20131.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.v1beta1.Overlay.NormalizedCoordinate xy = 2;
Returns
Type | Description |
boolean | Whether the xy field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static Overlay.AnimationFade.Builder newBuilder()
Returns
newBuilder(Overlay.AnimationFade prototype)
public static Overlay.AnimationFade.Builder newBuilder(Overlay.AnimationFade prototype)
Parameter
Returns
newBuilderForType()
public Overlay.AnimationFade.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Overlay.AnimationFade.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static Overlay.AnimationFade parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Overlay.AnimationFade parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Overlay.AnimationFade parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Overlay.AnimationFade parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Overlay.AnimationFade parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Overlay.AnimationFade parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Overlay.AnimationFade parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Overlay.AnimationFade parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Overlay.AnimationFade parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Overlay.AnimationFade parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Overlay.AnimationFade parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Overlay.AnimationFade parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Overlay.AnimationFade> parser()
Returns
toBuilder()
public Overlay.AnimationFade.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions