Class Overlay.AnimationFade.Builder (1.53.0)

public static final class Overlay.AnimationFade.Builder extends GeneratedMessageV3.Builder<Overlay.AnimationFade.Builder> implements Overlay.AnimationFadeOrBuilder

Display overlay object with fade animation.

Protobuf type google.cloud.video.transcoder.v1.Overlay.AnimationFade

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Overlay.AnimationFade.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Overlay.AnimationFade.Builder
Overrides

build()

public Overlay.AnimationFade build()
Returns
Type Description
Overlay.AnimationFade

buildPartial()

public Overlay.AnimationFade buildPartial()
Returns
Type Description
Overlay.AnimationFade

clear()

public Overlay.AnimationFade.Builder clear()
Returns
Type Description
Overlay.AnimationFade.Builder
Overrides

clearEndTimeOffset()

public Overlay.AnimationFade.Builder clearEndTimeOffset()

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

.google.protobuf.Duration end_time_offset = 4;

Returns
Type Description
Overlay.AnimationFade.Builder

clearFadeType()

public Overlay.AnimationFade.Builder clearFadeType()

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.AnimationFade.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Overlay.AnimationFade.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Overlay.AnimationFade.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Overlay.AnimationFade.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Overlay.AnimationFade.Builder
Overrides

clearStartTimeOffset()

public Overlay.AnimationFade.Builder clearStartTimeOffset()

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

.google.protobuf.Duration start_time_offset = 3;

Returns
Type Description
Overlay.AnimationFade.Builder

clearXy()

public Overlay.AnimationFade.Builder clearXy()

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.AnimationFade.Builder

clone()

public Overlay.AnimationFade.Builder clone()
Returns
Type Description
Overlay.AnimationFade.Builder
Overrides

getDefaultInstanceForType()

public Overlay.AnimationFade getDefaultInstanceForType()
Returns
Type Description
Overlay.AnimationFade

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getEndTimeOffsetBuilder()

public Duration.Builder getEndTimeOffsetBuilder()

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

.google.protobuf.Duration end_time_offset = 4;

Returns
Type Description
Builder

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

getFadeType()

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

The fadeType.

getFadeTypeValue()

public 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
Type Description
int

The enum numeric value on the wire for fadeType.

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.

getStartTimeOffsetBuilder()

public Duration.Builder getStartTimeOffsetBuilder()

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

.google.protobuf.Duration start_time_offset = 3;

Returns
Type Description
Builder

getStartTimeOffsetOrBuilder()

public DurationOrBuilder getStartTimeOffsetOrBuilder()

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

.google.protobuf.Duration start_time_offset = 3;

Returns
Type Description
DurationOrBuilder

getXy()

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

The xy.

getXyBuilder()

public Overlay.NormalizedCoordinate.Builder getXyBuilder()

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.Builder

getXyOrBuilder()

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

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

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

Whether the xy field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndTimeOffset(Duration value)

public Overlay.AnimationFade.Builder mergeEndTimeOffset(Duration value)

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

.google.protobuf.Duration end_time_offset = 4;

Parameter
Name Description
value Duration
Returns
Type Description
Overlay.AnimationFade.Builder

mergeFrom(Overlay.AnimationFade other)

public Overlay.AnimationFade.Builder mergeFrom(Overlay.AnimationFade other)
Parameter
Name Description
other Overlay.AnimationFade
Returns
Type Description
Overlay.AnimationFade.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Overlay.AnimationFade.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Overlay.AnimationFade.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Overlay.AnimationFade.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Overlay.AnimationFade.Builder
Overrides

mergeStartTimeOffset(Duration value)

public Overlay.AnimationFade.Builder mergeStartTimeOffset(Duration value)

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

.google.protobuf.Duration start_time_offset = 3;

Parameter
Name Description
value Duration
Returns
Type Description
Overlay.AnimationFade.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Overlay.AnimationFade.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overlay.AnimationFade.Builder
Overrides

mergeXy(Overlay.NormalizedCoordinate value)

public Overlay.AnimationFade.Builder mergeXy(Overlay.NormalizedCoordinate value)

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;

Parameter
Name Description
value Overlay.NormalizedCoordinate
Returns
Type Description
Overlay.AnimationFade.Builder

setEndTimeOffset(Duration value)

public Overlay.AnimationFade.Builder setEndTimeOffset(Duration value)

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

.google.protobuf.Duration end_time_offset = 4;

Parameter
Name Description
value Duration
Returns
Type Description
Overlay.AnimationFade.Builder

setEndTimeOffset(Duration.Builder builderForValue)

public Overlay.AnimationFade.Builder setEndTimeOffset(Duration.Builder builderForValue)

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

.google.protobuf.Duration end_time_offset = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Overlay.AnimationFade.Builder

setFadeType(Overlay.FadeType value)

public Overlay.AnimationFade.Builder setFadeType(Overlay.FadeType value)

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];

Parameter
Name Description
value Overlay.FadeType

The fadeType to set.

Returns
Type Description
Overlay.AnimationFade.Builder

This builder for chaining.

setFadeTypeValue(int value)

public Overlay.AnimationFade.Builder setFadeTypeValue(int value)

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];

Parameter
Name Description
value int

The enum numeric value on the wire for fadeType to set.

Returns
Type Description
Overlay.AnimationFade.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Overlay.AnimationFade.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Overlay.AnimationFade.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Overlay.AnimationFade.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Overlay.AnimationFade.Builder
Overrides

setStartTimeOffset(Duration value)

public Overlay.AnimationFade.Builder setStartTimeOffset(Duration value)

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

.google.protobuf.Duration start_time_offset = 3;

Parameter
Name Description
value Duration
Returns
Type Description
Overlay.AnimationFade.Builder

setStartTimeOffset(Duration.Builder builderForValue)

public Overlay.AnimationFade.Builder setStartTimeOffset(Duration.Builder builderForValue)

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

.google.protobuf.Duration start_time_offset = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Overlay.AnimationFade.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Overlay.AnimationFade.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overlay.AnimationFade.Builder
Overrides

setXy(Overlay.NormalizedCoordinate value)

public Overlay.AnimationFade.Builder setXy(Overlay.NormalizedCoordinate value)

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;

Parameter
Name Description
value Overlay.NormalizedCoordinate
Returns
Type Description
Overlay.AnimationFade.Builder

setXy(Overlay.NormalizedCoordinate.Builder builderForValue)

public Overlay.AnimationFade.Builder setXy(Overlay.NormalizedCoordinate.Builder builderForValue)

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;

Parameter
Name Description
builderForValue Overlay.NormalizedCoordinate.Builder
Returns
Type Description
Overlay.AnimationFade.Builder