Class GeoCoordinate (0.1.0)

public final class GeoCoordinate extends GeneratedMessageV3 implements GeoCoordinateOrBuilder

Location Coordinate Representation

Protobuf type google.cloud.visionai.v1.GeoCoordinate

Static Fields

LATITUDE_FIELD_NUMBER

public static final int LATITUDE_FIELD_NUMBER
Field Value
Type Description
int

LONGITUDE_FIELD_NUMBER

public static final int LONGITUDE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GeoCoordinate getDefaultInstance()
Returns
Type Description
GeoCoordinate

getDescriptor()

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

newBuilder()

public static GeoCoordinate.Builder newBuilder()
Returns
Type Description
GeoCoordinate.Builder

newBuilder(GeoCoordinate prototype)

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

parseDelimitedFrom(InputStream input)

public static GeoCoordinate parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GeoCoordinate
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static GeoCoordinate parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GeoCoordinate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static GeoCoordinate parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GeoCoordinate
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static GeoCoordinate parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GeoCoordinate
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static GeoCoordinate parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GeoCoordinate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<GeoCoordinate> parser()
Returns
Type Description
Parser<GeoCoordinate>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public GeoCoordinate getDefaultInstanceForType()
Returns
Type Description
GeoCoordinate

getLatitude()

public double getLatitude()

Latitude Coordinate. Degrees [-90 .. 90]

double latitude = 1;

Returns
Type Description
double

The latitude.

getLongitude()

public double getLongitude()

Longitude Coordinate. Degrees [-180 .. 180]

double longitude = 2;

Returns
Type Description
double

The longitude.

getParserForType()

public Parser<GeoCoordinate> getParserForType()
Returns
Type Description
Parser<GeoCoordinate>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 GeoCoordinate.Builder newBuilderForType()
Returns
Type Description
GeoCoordinate.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public GeoCoordinate.Builder toBuilder()
Returns
Type Description
GeoCoordinate.Builder

writeTo(CodedOutputStream output)

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