Package com.viam.service.navigation.v1
Class Navigation.PlanToPointRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<Navigation.PlanToPointRequest,Navigation.PlanToPointRequest.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<Navigation.PlanToPointRequest,Navigation.PlanToPointRequest.Builder>
com.viam.service.navigation.v1.Navigation.PlanToPointRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Navigation.PlanToPointRequestOrBuilder,Cloneable
- Enclosing class:
Navigation.PlanToPointRequest
public static final class Navigation.PlanToPointRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Navigation.PlanToPointRequest,Navigation.PlanToPointRequest.Builder>
implements Navigation.PlanToPointRequestOrBuilder
Protobuf type
viam.service.navigation.v1.PlanToPointRequest-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription.viam.service.navigation.v1.Position destination = 2 [json_name = "destination"];.google.protobuf.Struct extra = 99 [json_name = "extra"];Name of the navigation serviceOptional; defaults to GetPosition.viam.service.navigation.v1.Position destination = 2 [json_name = "destination"];com.google.protobuf.StructgetExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];getName()Name of the navigation servicecom.google.protobuf.ByteStringName of the navigation servicegetStart()Optional; defaults to GetPositionboolean.viam.service.navigation.v1.Position destination = 2 [json_name = "destination"];booleanhasExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];booleanhasStart()Optional; defaults to GetPosition.viam.service.navigation.v1.Position destination = 2 [json_name = "destination"];mergeExtra(com.google.protobuf.Struct value) .google.protobuf.Struct extra = 99 [json_name = "extra"];mergeStart(Navigation.Position value) Optional; defaults to GetPosition.viam.service.navigation.v1.Position destination = 2 [json_name = "destination"];setDestination(Navigation.Position.Builder builderForValue) .viam.service.navigation.v1.Position destination = 2 [json_name = "destination"];setExtra(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"];Name of the navigation servicesetNameBytes(com.google.protobuf.ByteString value) Name of the navigation servicesetStart(Navigation.Position value) Optional; defaults to GetPositionsetStart(Navigation.Position.Builder builderForValue) Optional; defaults to GetPositionMethods 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.PlanToPointRequestOrBuilder- 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.PlanToPointRequestOrBuilder- 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.
-
hasDestination
public boolean hasDestination().viam.service.navigation.v1.Position destination = 2 [json_name = "destination"];- Specified by:
hasDestinationin interfaceNavigation.PlanToPointRequestOrBuilder- Returns:
- Whether the destination field is set.
-
getDestination
.viam.service.navigation.v1.Position destination = 2 [json_name = "destination"];- Specified by:
getDestinationin interfaceNavigation.PlanToPointRequestOrBuilder- Returns:
- The destination.
-
clearDestination
.viam.service.navigation.v1.Position destination = 2 [json_name = "destination"]; -
hasStart
public boolean hasStart()Optional; defaults to GetPosition
optional .viam.service.navigation.v1.Position start = 3 [json_name = "start"];- Specified by:
hasStartin interfaceNavigation.PlanToPointRequestOrBuilder- Returns:
- Whether the start field is set.
-
getStart
Optional; defaults to GetPosition
optional .viam.service.navigation.v1.Position start = 3 [json_name = "start"];- Specified by:
getStartin interfaceNavigation.PlanToPointRequestOrBuilder- Returns:
- The start.
-
clearStart
Optional; defaults to GetPosition
optional .viam.service.navigation.v1.Position start = 3 [json_name = "start"]; -
hasExtra
public boolean hasExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];- Specified by:
hasExtrain interfaceNavigation.PlanToPointRequestOrBuilder- 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.PlanToPointRequestOrBuilder- Returns:
- The extra.
-
setExtra
.google.protobuf.Struct extra = 99 [json_name = "extra"]; -
setExtra
public Navigation.PlanToPointRequest.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"];
-