Class Overlay.NormalizedCoordinate (1.42.0)

public static final class Overlay.NormalizedCoordinate extends GeneratedMessageV3 implements Overlay.NormalizedCoordinateOrBuilder

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

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

Static Fields

X_FIELD_NUMBER

public static final int X_FIELD_NUMBER
Field Value
Type Description
int

Y_FIELD_NUMBER

public static final int Y_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Overlay.NormalizedCoordinate getDefaultInstance()
Returns
Type Description
Overlay.NormalizedCoordinate

getDescriptor()

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

newBuilder()

public static Overlay.NormalizedCoordinate.Builder newBuilder()
Returns
Type Description
Overlay.NormalizedCoordinate.Builder

newBuilder(Overlay.NormalizedCoordinate prototype)

public static Overlay.NormalizedCoordinate.Builder newBuilder(Overlay.NormalizedCoordinate prototype)
Parameter
Name Description
prototype Overlay.NormalizedCoordinate
Returns
Type Description
Overlay.NormalizedCoordinate.Builder

parseDelimitedFrom(InputStream input)

public static Overlay.NormalizedCoordinate parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Overlay.NormalizedCoordinate
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Overlay.NormalizedCoordinate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Overlay.NormalizedCoordinate
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Overlay.NormalizedCoordinate parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Overlay.NormalizedCoordinate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Overlay.NormalizedCoordinate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Overlay.NormalizedCoordinate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Overlay.NormalizedCoordinate parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Overlay.NormalizedCoordinate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Overlay.NormalizedCoordinate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Overlay.NormalizedCoordinate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Overlay.NormalizedCoordinate parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Overlay.NormalizedCoordinate
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Overlay.NormalizedCoordinate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Overlay.NormalizedCoordinate
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Overlay.NormalizedCoordinate parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Overlay.NormalizedCoordinate
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Overlay.NormalizedCoordinate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Overlay.NormalizedCoordinate
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Overlay.NormalizedCoordinate parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Overlay.NormalizedCoordinate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Overlay.NormalizedCoordinate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Overlay.NormalizedCoordinate
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Overlay.NormalizedCoordinate> parser()
Returns
Type Description
Parser<NormalizedCoordinate>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

public Parser<Overlay.NormalizedCoordinate> getParserForType()
Returns
Type Description
Parser<NormalizedCoordinate>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Overlay.NormalizedCoordinate.Builder newBuilderForType()
Returns
Type Description
Overlay.NormalizedCoordinate.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Overlay.NormalizedCoordinate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Overlay.NormalizedCoordinate.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Overlay.NormalizedCoordinate.Builder toBuilder()
Returns
Type Description
Overlay.NormalizedCoordinate.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException