public static final class GeoCoordinate.Builder extends GeneratedMessageV3.Builder<GeoCoordinate.Builder> implements GeoCoordinateOrBuilder
Location Coordinate Representation
Protobuf type google.cloud.visionai.v1.GeoCoordinate
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GeoCoordinate.BuilderImplements
GeoCoordinateOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GeoCoordinate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GeoCoordinate.Builder |
build()
public GeoCoordinate build()
Returns | |
---|---|
Type | Description |
GeoCoordinate |
buildPartial()
public GeoCoordinate buildPartial()
Returns | |
---|---|
Type | Description |
GeoCoordinate |
clear()
public GeoCoordinate.Builder clear()
Returns | |
---|---|
Type | Description |
GeoCoordinate.Builder |
clearField(Descriptors.FieldDescriptor field)
public GeoCoordinate.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
GeoCoordinate.Builder |
clearLatitude()
public GeoCoordinate.Builder clearLatitude()
Latitude Coordinate. Degrees [-90 .. 90]
double latitude = 1;
Returns | |
---|---|
Type | Description |
GeoCoordinate.Builder |
This builder for chaining. |
clearLongitude()
public GeoCoordinate.Builder clearLongitude()
Longitude Coordinate. Degrees [-180 .. 180]
double longitude = 2;
Returns | |
---|---|
Type | Description |
GeoCoordinate.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GeoCoordinate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
GeoCoordinate.Builder |
clone()
public GeoCoordinate.Builder clone()
Returns | |
---|---|
Type | Description |
GeoCoordinate.Builder |
getDefaultInstanceForType()
public GeoCoordinate getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GeoCoordinate |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(GeoCoordinate other)
public GeoCoordinate.Builder mergeFrom(GeoCoordinate other)
Parameter | |
---|---|
Name | Description |
other |
GeoCoordinate |
Returns | |
---|---|
Type | Description |
GeoCoordinate.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GeoCoordinate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GeoCoordinate.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GeoCoordinate.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
GeoCoordinate.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GeoCoordinate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GeoCoordinate.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GeoCoordinate.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GeoCoordinate.Builder |
setLatitude(double value)
public GeoCoordinate.Builder setLatitude(double value)
Latitude Coordinate. Degrees [-90 .. 90]
double latitude = 1;
Parameter | |
---|---|
Name | Description |
value |
double The latitude to set. |
Returns | |
---|---|
Type | Description |
GeoCoordinate.Builder |
This builder for chaining. |
setLongitude(double value)
public GeoCoordinate.Builder setLongitude(double value)
Longitude Coordinate. Degrees [-180 .. 180]
double longitude = 2;
Parameter | |
---|---|
Name | Description |
value |
double The longitude to set. |
Returns | |
---|---|
Type | Description |
GeoCoordinate.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GeoCoordinate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
GeoCoordinate.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GeoCoordinate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GeoCoordinate.Builder |