Class Overlay.NormalizedCoordinate.Builder (1.8.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearX()

public Overlay.NormalizedCoordinate.Builder clearX()

Normalized x coordinate.

double x = 1;

Returns
TypeDescription
Overlay.NormalizedCoordinate.Builder

This builder for chaining.

clearY()

public Overlay.NormalizedCoordinate.Builder clearY()

Normalized y coordinate.

double y = 2;

Returns
TypeDescription
Overlay.NormalizedCoordinate.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getX()

public double getX()

Normalized x coordinate.

double x = 1;

Returns
TypeDescription
double

The x.

getY()

public double getY()

Normalized y coordinate.

double y = 2;

Returns
TypeDescription
double

The y.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Overlay.NormalizedCoordinate other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setX(double value)

public Overlay.NormalizedCoordinate.Builder setX(double value)

Normalized x coordinate.

double x = 1;

Parameter
NameDescription
valuedouble

The x to set.

Returns
TypeDescription
Overlay.NormalizedCoordinate.Builder

This builder for chaining.

setY(double value)

public Overlay.NormalizedCoordinate.Builder setY(double value)

Normalized y coordinate.

double y = 2;

Parameter
NameDescription
valuedouble

The y to set.

Returns
TypeDescription
Overlay.NormalizedCoordinate.Builder

This builder for chaining.