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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CircleArea.BuilderImplements
CircleAreaOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public CircleArea.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CircleArea.Builder |
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 |
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 |
getDefaultInstanceForType()
public CircleArea getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CircleArea |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CircleArea.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CircleArea.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CircleArea.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CircleArea.Builder |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final CircleArea.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CircleArea.Builder |