Class Overlay.NormalizedCoordinate.Builder (1.82.0)

public static final class Overlay.NormalizedCoordinate.Builder extends GeneratedMessage.Builder<Overlay.NormalizedCoordinate.Builder> implements Overlay.NormalizedCoordinateOrBuilder

2D normalized coordinates. Default: {0.0, 0.0}

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearX()

public Overlay.NormalizedCoordinate.Builder clearX()

Normalized x coordinate.

double x = 1;

Returns
Type Description
Overlay.NormalizedCoordinate.Builder

This builder for chaining.

clearY()

public Overlay.NormalizedCoordinate.Builder clearY()

Normalized y coordinate.

double y = 2;

Returns
Type Description
Overlay.NormalizedCoordinate.Builder

This builder for chaining.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getX()

public double getX()

Normalized x coordinate.

double x = 1;

Returns
Type Description
double

The x.

getY()

public double getY()

Normalized y coordinate.

double y = 2;

Returns
Type Description
double

The y.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Overlay.NormalizedCoordinate other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setX(double value)

public Overlay.NormalizedCoordinate.Builder setX(double value)

Normalized x coordinate.

double x = 1;

Parameter
Name Description
value double

The x to set.

Returns
Type Description
Overlay.NormalizedCoordinate.Builder

This builder for chaining.

setY(double value)

public Overlay.NormalizedCoordinate.Builder setY(double value)

Normalized y coordinate.

double y = 2;

Parameter
Name Description
value double

The y to set.

Returns
Type Description
Overlay.NormalizedCoordinate.Builder

This builder for chaining.