Package com.viam.common.v1
Class Common.Capsule.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Common.Capsule,Common.Capsule.Builder>
com.viam.common.v1.Common.Capsule.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Common.CapsuleOrBuilder
,Cloneable
- Enclosing class:
- Common.Capsule
public static final class Common.Capsule.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Common.Capsule,Common.Capsule.Builder>
implements Common.CapsuleOrBuilder
Protobuf type
viam.common.v1.Capsule
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptiondouble length_mm = 2 [json_name = "lengthMm"];
double radius_mm = 1 [json_name = "radiusMm"];
double
double length_mm = 2 [json_name = "lengthMm"];
double
double radius_mm = 1 [json_name = "radiusMm"];
setLengthMm
(double value) double length_mm = 2 [json_name = "lengthMm"];
setRadiusMm
(double value) double radius_mm = 1 [json_name = "radiusMm"];
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
-
getRadiusMm
public double getRadiusMm()double radius_mm = 1 [json_name = "radiusMm"];
- Specified by:
getRadiusMm
in interfaceCommon.CapsuleOrBuilder
- Returns:
- The radiusMm.
-
setRadiusMm
double radius_mm = 1 [json_name = "radiusMm"];
- Parameters:
value
- The radiusMm to set.- Returns:
- This builder for chaining.
-
clearRadiusMm
double radius_mm = 1 [json_name = "radiusMm"];
- Returns:
- This builder for chaining.
-
getLengthMm
public double getLengthMm()double length_mm = 2 [json_name = "lengthMm"];
- Specified by:
getLengthMm
in interfaceCommon.CapsuleOrBuilder
- Returns:
- The lengthMm.
-
setLengthMm
double length_mm = 2 [json_name = "lengthMm"];
- Parameters:
value
- The lengthMm to set.- Returns:
- This builder for chaining.
-
clearLengthMm
double length_mm = 2 [json_name = "lengthMm"];
- Returns:
- This builder for chaining.
-