Package com.viam.common.v1
Class Common.GeoPoint.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Common.GeoPoint,Common.GeoPoint.Builder>
com.viam.common.v1.Common.GeoPoint.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Common.GeoPointOrBuilder
,Cloneable
- Enclosing class:
- Common.GeoPoint
public static final class Common.GeoPoint.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Common.GeoPoint,Common.GeoPoint.Builder>
implements Common.GeoPointOrBuilder
Protobuf type
viam.common.v1.GeoPoint
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptiondouble latitude = 1 [json_name = "latitude"];
double longitude = 2 [json_name = "longitude"];
double
double latitude = 1 [json_name = "latitude"];
double
double longitude = 2 [json_name = "longitude"];
setLatitude
(double value) double latitude = 1 [json_name = "latitude"];
setLongitude
(double value) double longitude = 2 [json_name = "longitude"];
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getLatitude
public double getLatitude()double latitude = 1 [json_name = "latitude"];
- Specified by:
getLatitude
in interfaceCommon.GeoPointOrBuilder
- Returns:
- The latitude.
-
setLatitude
double latitude = 1 [json_name = "latitude"];
- Parameters:
value
- The latitude to set.- Returns:
- This builder for chaining.
-
clearLatitude
double latitude = 1 [json_name = "latitude"];
- Returns:
- This builder for chaining.
-
getLongitude
public double getLongitude()double longitude = 2 [json_name = "longitude"];
- Specified by:
getLongitude
in interfaceCommon.GeoPointOrBuilder
- Returns:
- The longitude.
-
setLongitude
double longitude = 2 [json_name = "longitude"];
- Parameters:
value
- The longitude to set.- Returns:
- This builder for chaining.
-
clearLongitude
double longitude = 2 [json_name = "longitude"];
- Returns:
- This builder for chaining.
-