Interface Overlay.AnimationFadeOrBuilder (1.79.0)

publicstaticinterface Overlay.AnimationFadeOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getEndTimeOffset()

publicabstractDurationgetEndTimeOffset()

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()

publicabstractDurationOrBuildergetEndTimeOffsetOrBuilder()

The time to end the fade animation, in seconds. Default: start_time_offset + 1s

.google.protobuf.Duration end_time_offset = 4;

Returns
Type Description
DurationOrBuilder

getFadeType()

publicabstractOverlay.FadeTypegetFadeType()

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
Overlay.FadeType

The fadeType.

getFadeTypeValue()

publicabstractintgetFadeTypeValue()

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.

getStartTimeOffset()

publicabstractDurationgetStartTimeOffset()

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()

publicabstractDurationOrBuildergetStartTimeOffsetOrBuilder()

The time to start the fade animation, in seconds. Default: 0

.google.protobuf.Duration start_time_offset = 3;

Returns
Type Description
DurationOrBuilder

getXy()

publicabstractOverlay.NormalizedCoordinategetXy()

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
Type Description
Overlay.NormalizedCoordinate

The xy.

getXyOrBuilder()

publicabstractOverlay.NormalizedCoordinateOrBuildergetXyOrBuilder()

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
Type Description
Overlay.NormalizedCoordinateOrBuilder

hasEndTimeOffset()

publicabstractbooleanhasEndTimeOffset()

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()

publicabstractbooleanhasStartTimeOffset()

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()

publicabstractbooleanhasXy()

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
Type Description
boolean

Whether the xy field is set.

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年11月19日 UTC.