Package com.viam.service.navigation.v1
Class Navigation.Waypoint.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Navigation.Waypoint,Navigation.Waypoint.Builder>
com.viam.service.navigation.v1.Navigation.Waypoint.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Navigation.WaypointOrBuilder
,Cloneable
- Enclosing class:
- Navigation.Waypoint
public static final class Navigation.Waypoint.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Navigation.Waypoint,Navigation.Waypoint.Builder>
implements Navigation.WaypointOrBuilder
Protobuf type
viam.service.navigation.v1.Waypoint
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionclearId()
string id = 1 [json_name = "id"];
.viam.common.v1.GeoPoint location = 2 [json_name = "location"];
getId()
string id = 1 [json_name = "id"];
com.google.protobuf.ByteString
string id = 1 [json_name = "id"];
.viam.common.v1.GeoPoint location = 2 [json_name = "location"];
boolean
.viam.common.v1.GeoPoint location = 2 [json_name = "location"];
mergeLocation
(Common.GeoPoint value) .viam.common.v1.GeoPoint location = 2 [json_name = "location"];
string id = 1 [json_name = "id"];
setIdBytes
(com.google.protobuf.ByteString value) string id = 1 [json_name = "id"];
setLocation
(Common.GeoPoint value) .viam.common.v1.GeoPoint location = 2 [json_name = "location"];
setLocation
(Common.GeoPoint.Builder builderForValue) .viam.common.v1.GeoPoint location = 2 [json_name = "location"];
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
-
getId
string id = 1 [json_name = "id"];
- Specified by:
getId
in interfaceNavigation.WaypointOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id"];
- Specified by:
getIdBytes
in interfaceNavigation.WaypointOrBuilder
- Returns:
- The bytes for id.
-
setId
string id = 1 [json_name = "id"];
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
string id = 1 [json_name = "id"];
- Returns:
- This builder for chaining.
-
setIdBytes
string id = 1 [json_name = "id"];
- Parameters:
value
- The bytes for id to set.- Returns:
- This builder for chaining.
-
hasLocation
public boolean hasLocation().viam.common.v1.GeoPoint location = 2 [json_name = "location"];
- Specified by:
hasLocation
in interfaceNavigation.WaypointOrBuilder
- Returns:
- Whether the location field is set.
-
getLocation
.viam.common.v1.GeoPoint location = 2 [json_name = "location"];
- Specified by:
getLocation
in interfaceNavigation.WaypointOrBuilder
- Returns:
- The location.
-
setLocation
.viam.common.v1.GeoPoint location = 2 [json_name = "location"];
-
setLocation
.viam.common.v1.GeoPoint location = 2 [json_name = "location"];
-
mergeLocation
.viam.common.v1.GeoPoint location = 2 [json_name = "location"];
-
clearLocation
.viam.common.v1.GeoPoint location = 2 [json_name = "location"];
-