Package com.viam.service.navigation.v1
Class Navigation.GetLocationResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Navigation.GetLocationResponse,Navigation.GetLocationResponse.Builder>
com.viam.service.navigation.v1.Navigation.GetLocationResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Navigation.GetLocationResponseOrBuilder,Cloneable
- Enclosing class:
- Navigation.GetLocationResponse
public static final class Navigation.GetLocationResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Navigation.GetLocationResponse,Navigation.GetLocationResponse.Builder>
implements Navigation.GetLocationResponseOrBuilder
Protobuf type
viam.service.navigation.v1.GetLocationResponse-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionA number from [0-360) where 0 is north 90 is east, 180 is south, 270 is west.viam.common.v1.GeoPoint location = 1 [json_name = "location"];doubleA number from [0-360) where 0 is north 90 is east, 180 is south, 270 is west.viam.common.v1.GeoPoint location = 1 [json_name = "location"];boolean.viam.common.v1.GeoPoint location = 1 [json_name = "location"];mergeLocation(Common.GeoPoint value) .viam.common.v1.GeoPoint location = 1 [json_name = "location"];setCompassHeading(double value) A number from [0-360) where 0 is north 90 is east, 180 is south, 270 is westsetLocation(Common.GeoPoint value) .viam.common.v1.GeoPoint location = 1 [json_name = "location"];setLocation(Common.GeoPoint.Builder builderForValue) .viam.common.v1.GeoPoint location = 1 [json_name = "location"];Methods 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
-
hasLocation
public boolean hasLocation().viam.common.v1.GeoPoint location = 1 [json_name = "location"];- Specified by:
hasLocationin interfaceNavigation.GetLocationResponseOrBuilder- Returns:
- Whether the location field is set.
-
getLocation
.viam.common.v1.GeoPoint location = 1 [json_name = "location"];- Specified by:
getLocationin interfaceNavigation.GetLocationResponseOrBuilder- Returns:
- The location.
-
setLocation
.viam.common.v1.GeoPoint location = 1 [json_name = "location"]; -
setLocation
.viam.common.v1.GeoPoint location = 1 [json_name = "location"]; -
mergeLocation
.viam.common.v1.GeoPoint location = 1 [json_name = "location"]; -
clearLocation
.viam.common.v1.GeoPoint location = 1 [json_name = "location"]; -
getCompassHeading
public double getCompassHeading()A number from [0-360) where 0 is north 90 is east, 180 is south, 270 is west
double compass_heading = 2 [json_name = "compassHeading"];- Specified by:
getCompassHeadingin interfaceNavigation.GetLocationResponseOrBuilder- Returns:
- The compassHeading.
-
setCompassHeading
A number from [0-360) where 0 is north 90 is east, 180 is south, 270 is west
double compass_heading = 2 [json_name = "compassHeading"];- Parameters:
value- The compassHeading to set.- Returns:
- This builder for chaining.
-
clearCompassHeading
A number from [0-360) where 0 is north 90 is east, 180 is south, 270 is west
double compass_heading = 2 [json_name = "compassHeading"];- Returns:
- This builder for chaining.
-