Class Overlay.NormalizedCoordinate (0.14.1)

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

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

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

Static Fields

X_FIELD_NUMBER

public static final int X_FIELD_NUMBER
Field Value
TypeDescription
int

Y_FIELD_NUMBER

public static final int Y_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Overlay.NormalizedCoordinate getDefaultInstance()
Returns
TypeDescription
Overlay.NormalizedCoordinate

getDescriptor()

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

newBuilder()

public static Overlay.NormalizedCoordinate.Builder newBuilder()
Returns
TypeDescription
Overlay.NormalizedCoordinate.Builder

newBuilder(Overlay.NormalizedCoordinate prototype)

public static Overlay.NormalizedCoordinate.Builder newBuilder(Overlay.NormalizedCoordinate prototype)
Parameter
NameDescription
prototypeOverlay.NormalizedCoordinate
Returns
TypeDescription
Overlay.NormalizedCoordinate.Builder

parseDelimitedFrom(InputStream input)

public static Overlay.NormalizedCoordinate parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Overlay.NormalizedCoordinate
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Overlay.NormalizedCoordinate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Overlay.NormalizedCoordinate
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Overlay.NormalizedCoordinate parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Overlay.NormalizedCoordinate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Overlay.NormalizedCoordinate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Overlay.NormalizedCoordinate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Overlay.NormalizedCoordinate parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Overlay.NormalizedCoordinate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Overlay.NormalizedCoordinate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Overlay.NormalizedCoordinate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Overlay.NormalizedCoordinate parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Overlay.NormalizedCoordinate
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Overlay.NormalizedCoordinate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Overlay.NormalizedCoordinate
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Overlay.NormalizedCoordinate parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Overlay.NormalizedCoordinate
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Overlay.NormalizedCoordinate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Overlay.NormalizedCoordinate
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Overlay.NormalizedCoordinate parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Overlay.NormalizedCoordinate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Overlay.NormalizedCoordinate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Overlay.NormalizedCoordinate
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Overlay.NormalizedCoordinate.Builder newBuilderForType()
Returns
TypeDescription
Overlay.NormalizedCoordinate.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Overlay.NormalizedCoordinate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Overlay.NormalizedCoordinate.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Overlay.NormalizedCoordinate.Builder toBuilder()
Returns
TypeDescription
Overlay.NormalizedCoordinate.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException