Class Powersensor.GetPowerResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Powersensor.GetPowerResponse,Powersensor.GetPowerResponse.Builder>
com.viam.component.powersensor.v1.Powersensor.GetPowerResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Powersensor.GetPowerResponseOrBuilder
,Cloneable
- Enclosing class:
- Powersensor.GetPowerResponse
public static final class Powersensor.GetPowerResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Powersensor.GetPowerResponse,Powersensor.GetPowerResponse.Builder>
implements Powersensor.GetPowerResponseOrBuilder
Protobuf type
viam.component.powersensor.v1.GetPowerResponse
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Methods 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
-
getWatts
public double getWatts()Power in watts
double watts = 1 [json_name = "watts"];
- Specified by:
getWatts
in interfacePowersensor.GetPowerResponseOrBuilder
- Returns:
- The watts.
-
setWatts
Power in watts
double watts = 1 [json_name = "watts"];
- Parameters:
value
- The watts to set.- Returns:
- This builder for chaining.
-
clearWatts
Power in watts
double watts = 1 [json_name = "watts"];
- Returns:
- This builder for chaining.
-