Interface Overlay.AnimationFadeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Overlay.AnimationFade
,Overlay.AnimationFade.Builder
- Enclosing class:
- Overlay
public static interface Overlay.AnimationFadeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Duration
getEndTimeOffset()
The time to end the fade animation, in seconds.com.google.protobuf.DurationOrBuilder
getEndTimeOffsetOrBuilder()
The time to end the fade animation, in seconds.Overlay.FadeType
getFadeType()
Required.int
getFadeTypeValue()
Required.com.google.protobuf.Duration
getStartTimeOffset()
The time to start the fade animation, in seconds.com.google.protobuf.DurationOrBuilder
getStartTimeOffsetOrBuilder()
The time to start the fade animation, in seconds.Overlay.NormalizedCoordinate
getXy()
Normalized coordinates based on output video resolution.Overlay.NormalizedCoordinateOrBuilder
getXyOrBuilder()
Normalized coordinates based on output video resolution.boolean
hasEndTimeOffset()
The time to end the fade animation, in seconds.boolean
hasStartTimeOffset()
The time to start the fade animation, in seconds.boolean
hasXy()
Normalized coordinates based on output video resolution.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getFadeTypeValue
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:
- The enum numeric value on the wire for fadeType.
-
getFadeType
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:
- The fadeType.
-
hasXy
boolean 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:
- Whether the xy field is set.
-
getXy
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;
- Returns:
- The xy.
-
getXyOrBuilder
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;
-
hasStartTimeOffset
boolean hasStartTimeOffset()
The time to start the fade animation, in seconds. Default: 0
.google.protobuf.Duration start_time_offset = 3;
- Returns:
- Whether the startTimeOffset field is set.
-
getStartTimeOffset
com.google.protobuf.Duration getStartTimeOffset()
The time to start the fade animation, in seconds. Default: 0
.google.protobuf.Duration start_time_offset = 3;
- Returns:
- The startTimeOffset.
-
getStartTimeOffsetOrBuilder
com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder()
The time to start the fade animation, in seconds. Default: 0
.google.protobuf.Duration start_time_offset = 3;
-
hasEndTimeOffset
boolean hasEndTimeOffset()
The time to end the fade animation, in seconds. Default: `start_time_offset` + 1s
.google.protobuf.Duration end_time_offset = 4;
- Returns:
- Whether the endTimeOffset field is set.
-
getEndTimeOffset
com.google.protobuf.Duration getEndTimeOffset()
The time to end the fade animation, in seconds. Default: `start_time_offset` + 1s
.google.protobuf.Duration end_time_offset = 4;
- Returns:
- The endTimeOffset.
-
getEndTimeOffsetOrBuilder
com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder()
The time to end the fade animation, in seconds. Default: `start_time_offset` + 1s
.google.protobuf.Duration end_time_offset = 4;
-
-