Package com.viam.service.navigation.v1
Class Navigation.AddLocationRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<Navigation.AddLocationRequest,Navigation.AddLocationRequest.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<Navigation.AddLocationRequest,Navigation.AddLocationRequest.Builder>
com.viam.service.navigation.v1.Navigation.AddLocationRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Navigation.AddLocationRequestOrBuilder,Cloneable
- Enclosing class:
Navigation.AddLocationRequest
public static final class Navigation.AddLocationRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Navigation.AddLocationRequest,Navigation.AddLocationRequest.Builder>
implements Navigation.AddLocationRequestOrBuilder
Protobuf type
viam.service.navigation.v1.AddLocationRequest-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription.google.protobuf.Struct extra = 99 [json_name = "extra"];Name of the location to saveName of the navigation serviceOmit to use the robot's current Positioncom.google.protobuf.StructgetExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];Name of the location to savecom.google.protobuf.ByteStringName of the location to savegetName()Name of the navigation servicecom.google.protobuf.ByteStringName of the navigation serviceOmit to use the robot's current PositionbooleanhasExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];booleanOmit to use the robot's current PositionmergeExtra(com.google.protobuf.Struct value) .google.protobuf.Struct extra = 99 [json_name = "extra"];mergePosition(Navigation.Position value) Omit to use the robot's current PositionsetExtra(com.google.protobuf.Struct value) .google.protobuf.Struct extra = 99 [json_name = "extra"];setExtra(com.google.protobuf.Struct.Builder builderForValue) .google.protobuf.Struct extra = 99 [json_name = "extra"];setLocationName(String value) Name of the location to savesetLocationNameBytes(com.google.protobuf.ByteString value) Name of the location to saveName of the navigation servicesetNameBytes(com.google.protobuf.ByteString value) Name of the navigation servicesetPosition(Navigation.Position value) Omit to use the robot's current PositionsetPosition(Navigation.Position.Builder builderForValue) Omit to use the robot's current PositionMethods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getName
Name of the navigation service
string name = 1 [json_name = "name"];- Specified by:
getNamein interfaceNavigation.AddLocationRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of the navigation service
string name = 1 [json_name = "name"];- Specified by:
getNameBytesin interfaceNavigation.AddLocationRequestOrBuilder- Returns:
- The bytes for name.
-
setName
Name of the navigation service
string name = 1 [json_name = "name"];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of the navigation service
string name = 1 [json_name = "name"];- Returns:
- This builder for chaining.
-
setNameBytes
Name of the navigation service
string name = 1 [json_name = "name"];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getLocationName
Name of the location to save
string location_name = 2 [json_name = "locationName"];- Specified by:
getLocationNamein interfaceNavigation.AddLocationRequestOrBuilder- Returns:
- The locationName.
-
getLocationNameBytes
public com.google.protobuf.ByteString getLocationNameBytes()Name of the location to save
string location_name = 2 [json_name = "locationName"];- Specified by:
getLocationNameBytesin interfaceNavigation.AddLocationRequestOrBuilder- Returns:
- The bytes for locationName.
-
setLocationName
Name of the location to save
string location_name = 2 [json_name = "locationName"];- Parameters:
value- The locationName to set.- Returns:
- This builder for chaining.
-
clearLocationName
Name of the location to save
string location_name = 2 [json_name = "locationName"];- Returns:
- This builder for chaining.
-
setLocationNameBytes
public Navigation.AddLocationRequest.Builder setLocationNameBytes(com.google.protobuf.ByteString value) Name of the location to save
string location_name = 2 [json_name = "locationName"];- Parameters:
value- The bytes for locationName to set.- Returns:
- This builder for chaining.
-
hasPosition
public boolean hasPosition()Omit to use the robot's current Position
optional .viam.service.navigation.v1.Position position = 3 [json_name = "position"];- Specified by:
hasPositionin interfaceNavigation.AddLocationRequestOrBuilder- Returns:
- Whether the position field is set.
-
getPosition
Omit to use the robot's current Position
optional .viam.service.navigation.v1.Position position = 3 [json_name = "position"];- Specified by:
getPositionin interfaceNavigation.AddLocationRequestOrBuilder- Returns:
- The position.
-
clearPosition
Omit to use the robot's current Position
optional .viam.service.navigation.v1.Position position = 3 [json_name = "position"]; -
hasExtra
public boolean hasExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];- Specified by:
hasExtrain interfaceNavigation.AddLocationRequestOrBuilder- Returns:
- Whether the extra field is set.
-
getExtra
public com.google.protobuf.Struct getExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];- Specified by:
getExtrain interfaceNavigation.AddLocationRequestOrBuilder- Returns:
- The extra.
-
setExtra
.google.protobuf.Struct extra = 99 [json_name = "extra"]; -
setExtra
public Navigation.AddLocationRequest.Builder setExtra(com.google.protobuf.Struct.Builder builderForValue) .google.protobuf.Struct extra = 99 [json_name = "extra"]; -
mergeExtra
.google.protobuf.Struct extra = 99 [json_name = "extra"]; -
clearExtra
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-