Class CircleArea.Builder (0.11.0)

public static final class CircleArea.Builder extends GeneratedMessageV3.Builder<CircleArea.Builder> implements CircleAreaOrBuilder

Representation of a circle area.

Protobuf type google.cloud.visionai.v1.CircleArea

Implements

CircleAreaOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CircleArea.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CircleArea.Builder
Overrides

build()

public CircleArea build()
Returns
Type Description
CircleArea

buildPartial()

public CircleArea buildPartial()
Returns
Type Description
CircleArea

clear()

public CircleArea.Builder clear()
Returns
Type Description
CircleArea.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CircleArea.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CircleArea.Builder
Overrides

clearLatitude()

public CircleArea.Builder clearLatitude()

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

double latitude = 1;

Returns
Type Description
CircleArea.Builder

This builder for chaining.

clearLongitude()

public CircleArea.Builder clearLongitude()

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

double longitude = 2;

Returns
Type Description
CircleArea.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CircleArea.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CircleArea.Builder
Overrides

clearRadiusMeter()

public CircleArea.Builder clearRadiusMeter()

Radius of the circle area in meters.

double radius_meter = 3;

Returns
Type Description
CircleArea.Builder

This builder for chaining.

clone()

public CircleArea.Builder clone()
Returns
Type Description
CircleArea.Builder
Overrides

getDefaultInstanceForType()

public CircleArea getDefaultInstanceForType()
Returns
Type Description
CircleArea

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getRadiusMeter()

public double getRadiusMeter()

Radius of the circle area in meters.

double radius_meter = 3;

Returns
Type Description
double

The radiusMeter.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CircleArea other)

public CircleArea.Builder mergeFrom(CircleArea other)
Parameter
Name Description
other CircleArea
Returns
Type Description
CircleArea.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CircleArea.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CircleArea.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CircleArea.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CircleArea.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CircleArea.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CircleArea.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CircleArea.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CircleArea.Builder
Overrides

setLatitude(double value)

public CircleArea.Builder setLatitude(double value)

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

double latitude = 1;

Parameter
Name Description
value double

The latitude to set.

Returns
Type Description
CircleArea.Builder

This builder for chaining.

setLongitude(double value)

public CircleArea.Builder setLongitude(double value)

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

double longitude = 2;

Parameter
Name Description
value double

The longitude to set.

Returns
Type Description
CircleArea.Builder

This builder for chaining.

setRadiusMeter(double value)

public CircleArea.Builder setRadiusMeter(double value)

Radius of the circle area in meters.

double radius_meter = 3;

Parameter
Name Description
value double

The radiusMeter to set.

Returns
Type Description
CircleArea.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CircleArea.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CircleArea.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CircleArea.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CircleArea.Builder
Overrides