Class Movementsensor.GetCompassHeadingResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Movementsensor.GetCompassHeadingResponse,Movementsensor.GetCompassHeadingResponse.Builder>
com.viam.component.movementsensor.v1.Movementsensor.GetCompassHeadingResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Movementsensor.GetCompassHeadingResponseOrBuilder
,Cloneable
- Enclosing class:
- Movementsensor.GetCompassHeadingResponse
public static final class Movementsensor.GetCompassHeadingResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Movementsensor.GetCompassHeadingResponse,Movementsensor.GetCompassHeadingResponse.Builder>
implements Movementsensor.GetCompassHeadingResponseOrBuilder
Protobuf type
viam.component.movementsensor.v1.GetCompassHeadingResponse
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionA number from 0-359 in degrees where 0 is North, 90 is East, 180 is South, and 270 is Westdouble
getValue()
A number from 0-359 in degrees where 0 is North, 90 is East, 180 is South, and 270 is WestsetValue
(double value) A number from 0-359 in degrees where 0 is North, 90 is East, 180 is South, and 270 is WestMethods 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
-
getValue
public double getValue()A number from 0-359 in degrees where 0 is North, 90 is East, 180 is South, and 270 is West
double value = 1 [json_name = "value"];
- Specified by:
getValue
in interfaceMovementsensor.GetCompassHeadingResponseOrBuilder
- Returns:
- The value.
-
setValue
A number from 0-359 in degrees where 0 is North, 90 is East, 180 is South, and 270 is West
double value = 1 [json_name = "value"];
- Parameters:
value
- The value to set.- Returns:
- This builder for chaining.
-
clearValue
A number from 0-359 in degrees where 0 is North, 90 is East, 180 is South, and 270 is West
double value = 1 [json_name = "value"];
- Returns:
- This builder for chaining.
-