Interface Overlay.AnimationFadeOrBuilder (1.40.0)

public static interface Overlay.AnimationFadeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEndTimeOffset()

public abstract 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 abstract 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 abstract 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 abstract 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.

getStartTimeOffset()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.