Package com.viam.common.v1
Class Common.Cylinder.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<Common.Cylinder,Common.Cylinder.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<Common.Cylinder,Common.Cylinder.Builder>
com.viam.common.v1.Common.Cylinder.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Common.CylinderOrBuilder,Cloneable
- Enclosing class:
Common.Cylinder
public static final class Common.Cylinder.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Common.Cylinder,Common.Cylinder.Builder>
implements Common.CylinderOrBuilder
Cylinder is a solid right circular cylinder, flat end caps included, whose axis is the local Z axis of the geometry's center pose.Protobuf type
viam.common.v1.Cylinder-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionFull end-to-end length along the cylinder's axis.double radius_mm = 1 [json_name = "radiusMm"];doubleFull end-to-end length along the cylinder's axis.doubledouble radius_mm = 1 [json_name = "radiusMm"];setLengthMm(double value) Full end-to-end length along the cylinder's axis.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, 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
-
getRadiusMm
public double getRadiusMm()double radius_mm = 1 [json_name = "radiusMm"];- Specified by:
getRadiusMmin interfaceCommon.CylinderOrBuilder- 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()Full end-to-end length along the cylinder's axis.
double length_mm = 2 [json_name = "lengthMm"];- Specified by:
getLengthMmin interfaceCommon.CylinderOrBuilder- Returns:
- The lengthMm.
-
setLengthMm
Full end-to-end length along the cylinder's axis.
double length_mm = 2 [json_name = "lengthMm"];- Parameters:
value- The lengthMm to set.- Returns:
- This builder for chaining.
-
clearLengthMm
Full end-to-end length along the cylinder's axis.
double length_mm = 2 [json_name = "lengthMm"];- Returns:
- This builder for chaining.
-