Class CircleArea (0.6.0)

public final class CircleArea extends GeneratedMessageV3 implements CircleAreaOrBuilder

Representation of a circle area.

Protobuf type google.cloud.visionai.v1.CircleArea

Implements

CircleAreaOrBuilder

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

RADIUS_METER_FIELD_NUMBER

public static final int RADIUS_METER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CircleArea getDefaultInstance()
Returns
Type Description
CircleArea

getDescriptor()

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

newBuilder()

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

newBuilder(CircleArea prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CircleArea getDefaultInstanceForType()
Returns
Type Description
CircleArea

getLatitude()

public double getLatitude()

Latitude of circle area's center. Degrees [-90 .. 90]

double latitude = 1;

Returns
Type Description
double

The latitude.

getLongitude()

public double getLongitude()

Longitude of circle area's center. Degrees [-180 .. 180]

double longitude = 2;

Returns
Type Description
double

The longitude.

getParserForType()

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

getRadiusMeter()

public double getRadiusMeter()

Radius of the circle area in meters.

double radius_meter = 3;

Returns
Type Description
double

The radiusMeter.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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