Package com.viam.service.navigation.v1
Class Navigation.PlanToLocationRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<Navigation.PlanToLocationRequest,Navigation.PlanToLocationRequest.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<Navigation.PlanToLocationRequest,Navigation.PlanToLocationRequest.Builder>
com.viam.service.navigation.v1.Navigation.PlanToLocationRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Navigation.PlanToLocationRequestOrBuilder,Cloneable
- Enclosing class:
Navigation.PlanToLocationRequest
public static final class Navigation.PlanToLocationRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Navigation.PlanToLocationRequest,Navigation.PlanToLocationRequest.Builder>
implements Navigation.PlanToLocationRequestOrBuilder
Protobuf type
viam.service.navigation.v1.PlanToLocationRequest-
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"];string location_name = 2 [json_name = "locationName"];Name of the navigation serviceOptional; defaults to GetPositioncom.google.protobuf.StructgetExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];string location_name = 2 [json_name = "locationName"];com.google.protobuf.ByteStringstring location_name = 2 [json_name = "locationName"];getName()Name of the navigation servicecom.google.protobuf.ByteStringName of the navigation servicegetStart()Optional; defaults to GetPositionbooleanhasExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];booleanhasStart()Optional; defaults to GetPositionmergeExtra(com.google.protobuf.Struct value) .google.protobuf.Struct extra = 99 [json_name = "extra"];mergeStart(Navigation.Position value) Optional; defaults to GetPositionsetExtra(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) string location_name = 2 [json_name = "locationName"];setLocationNameBytes(com.google.protobuf.ByteString value) string location_name = 2 [json_name = "locationName"];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.PlanToLocationRequestOrBuilder- 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.PlanToLocationRequestOrBuilder- 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
string location_name = 2 [json_name = "locationName"];- Specified by:
getLocationNamein interfaceNavigation.PlanToLocationRequestOrBuilder- Returns:
- The locationName.
-
getLocationNameBytes
public com.google.protobuf.ByteString getLocationNameBytes()string location_name = 2 [json_name = "locationName"];- Specified by:
getLocationNameBytesin interfaceNavigation.PlanToLocationRequestOrBuilder- Returns:
- The bytes for locationName.
-
setLocationName
string location_name = 2 [json_name = "locationName"];- Parameters:
value- The locationName to set.- Returns:
- This builder for chaining.
-
clearLocationName
string location_name = 2 [json_name = "locationName"];- Returns:
- This builder for chaining.
-
setLocationNameBytes
public Navigation.PlanToLocationRequest.Builder setLocationNameBytes(com.google.protobuf.ByteString value) string location_name = 2 [json_name = "locationName"];- Parameters:
value- The bytes for locationName to set.- Returns:
- This builder for chaining.
-
hasStart
public boolean hasStart()Optional; defaults to GetPosition
optional .viam.service.navigation.v1.Position start = 3 [json_name = "start"];- Specified by:
hasStartin interfaceNavigation.PlanToLocationRequestOrBuilder- 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.PlanToLocationRequestOrBuilder- 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.PlanToLocationRequestOrBuilder- 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.PlanToLocationRequestOrBuilder- Returns:
- The extra.
-
setExtra
.google.protobuf.Struct extra = 99 [json_name = "extra"]; -
setExtra
public Navigation.PlanToLocationRequest.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"];
-