Class Overlay.AnimationStatic.Builder (1.21.0)

public static final class Overlay.AnimationStatic.Builder extends GeneratedMessageV3.Builder<Overlay.AnimationStatic.Builder> implements Overlay.AnimationStaticOrBuilder

Display static overlay object.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public Overlay.AnimationStatic.Builder clear()
Returns
TypeDescription
Overlay.AnimationStatic.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Overlay.AnimationStatic.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Overlay.AnimationStatic.Builder
Overrides

clearStartTimeOffset()

public Overlay.AnimationStatic.Builder clearStartTimeOffset()

The time to start displaying the overlay object, in seconds. Default: 0

.google.protobuf.Duration start_time_offset = 2;

Returns
TypeDescription
Overlay.AnimationStatic.Builder

clearXy()

public Overlay.AnimationStatic.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 = 1;

Returns
TypeDescription
Overlay.AnimationStatic.Builder

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getStartTimeOffset()

public Duration getStartTimeOffset()

The time to start displaying the overlay object, in seconds. Default: 0

.google.protobuf.Duration start_time_offset = 2;

Returns
TypeDescription
Duration

The startTimeOffset.

getStartTimeOffsetBuilder()

public Duration.Builder getStartTimeOffsetBuilder()

The time to start displaying the overlay object, in seconds. Default: 0

.google.protobuf.Duration start_time_offset = 2;

Returns
TypeDescription
Builder

getStartTimeOffsetOrBuilder()

public DurationOrBuilder getStartTimeOffsetOrBuilder()

The time to start displaying the overlay object, in seconds. Default: 0

.google.protobuf.Duration start_time_offset = 2;

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 = 1;

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 = 1;

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 = 1;

Returns
TypeDescription
Overlay.NormalizedCoordinateOrBuilder

hasStartTimeOffset()

public boolean hasStartTimeOffset()

The time to start displaying the overlay object, in seconds. Default: 0

.google.protobuf.Duration start_time_offset = 2;

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 = 1;

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

mergeFrom(Overlay.AnimationStatic other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Overlay.AnimationStatic.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Overlay.AnimationStatic.Builder
Overrides

mergeStartTimeOffset(Duration value)

public Overlay.AnimationStatic.Builder mergeStartTimeOffset(Duration value)

The time to start displaying the overlay object, in seconds. Default: 0

.google.protobuf.Duration start_time_offset = 2;

Parameter
NameDescription
valueDuration
Returns
TypeDescription
Overlay.AnimationStatic.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Overlay.AnimationStatic.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Overlay.AnimationStatic.Builder
Overrides

mergeXy(Overlay.NormalizedCoordinate value)

public Overlay.AnimationStatic.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 = 1;

Parameter
NameDescription
valueOverlay.NormalizedCoordinate
Returns
TypeDescription
Overlay.AnimationStatic.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public Overlay.AnimationStatic.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Overlay.AnimationStatic.Builder
Overrides

setStartTimeOffset(Duration value)

public Overlay.AnimationStatic.Builder setStartTimeOffset(Duration value)

The time to start displaying the overlay object, in seconds. Default: 0

.google.protobuf.Duration start_time_offset = 2;

Parameter
NameDescription
valueDuration
Returns
TypeDescription
Overlay.AnimationStatic.Builder

setStartTimeOffset(Duration.Builder builderForValue)

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

The time to start displaying the overlay object, in seconds. Default: 0

.google.protobuf.Duration start_time_offset = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Overlay.AnimationStatic.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Overlay.AnimationStatic.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Overlay.AnimationStatic.Builder
Overrides

setXy(Overlay.NormalizedCoordinate value)

public Overlay.AnimationStatic.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 = 1;

Parameter
NameDescription
valueOverlay.NormalizedCoordinate
Returns
TypeDescription
Overlay.AnimationStatic.Builder

setXy(Overlay.NormalizedCoordinate.Builder builderForValue)

public Overlay.AnimationStatic.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 = 1;

Parameter
NameDescription
builderForValueOverlay.NormalizedCoordinate.Builder
Returns
TypeDescription
Overlay.AnimationStatic.Builder