Class Overlay.AnimationFade.Builder (1.13.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Overlay.AnimationFade.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Overlay.AnimationFade.Builder
Overrides

build()

public Overlay.AnimationFade build()
Returns
TypeDescription
Overlay.AnimationFade

buildPartial()

public Overlay.AnimationFade buildPartial()
Returns
TypeDescription
Overlay.AnimationFade

clear()

public Overlay.AnimationFade.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Overlay.AnimationFade.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Overlay.AnimationFade.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Overlay.AnimationFade.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Overlay.AnimationFade.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Overlay.AnimationFade.Builder

clone()

public Overlay.AnimationFade.Builder clone()
Returns
TypeDescription
Overlay.AnimationFade.Builder
Overrides

getDefaultInstanceForType()

public Overlay.AnimationFade getDefaultInstanceForType()
Returns
TypeDescription
Overlay.AnimationFade

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Builder

getStartTimeOffsetOrBuilder()

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

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the xy field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
Overlay.AnimationFade.Builder

mergeFrom(Overlay.AnimationFade other)

public Overlay.AnimationFade.Builder mergeFrom(Overlay.AnimationFade other)
Parameter
NameDescription
otherOverlay.AnimationFade
Returns
TypeDescription
Overlay.AnimationFade.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Overlay.AnimationFade.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Overlay.AnimationFade.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Overlay.AnimationFade.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
Overlay.AnimationFade.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Overlay.AnimationFade.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueOverlay.NormalizedCoordinate
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueOverlay.FadeType

The fadeType to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
Overlay.AnimationFade.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Overlay.AnimationFade.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
Overlay.AnimationFade.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Overlay.AnimationFade.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueOverlay.NormalizedCoordinate
Returns
TypeDescription
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
NameDescription
builderForValueOverlay.NormalizedCoordinate.Builder
Returns
TypeDescription
Overlay.AnimationFade.Builder