Class Overlay.NormalizedCoordinate.Builder (1.41.0)

public static final class Overlay.NormalizedCoordinate.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Overlay.NormalizedCoordinate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Overlay.NormalizedCoordinate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.