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 Type
    Method
    Description
    double 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 interface Common.CapsuleOrBuilder
      Returns:
      The radiusMm.
    • setRadiusMm

      public Common.Capsule.Builder setRadiusMm(double value)
      double radius_mm = 1 [json_name = "radiusMm"];
      Parameters:
      value - The radiusMm to set.
      Returns:
      This builder for chaining.
    • clearRadiusMm

      public Common.Capsule.Builder 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 interface Common.CapsuleOrBuilder
      Returns:
      The lengthMm.
    • setLengthMm

      public Common.Capsule.Builder setLengthMm(double value)
      double length_mm = 2 [json_name = "lengthMm"];
      Parameters:
      value - The lengthMm to set.
      Returns:
      This builder for chaining.
    • clearLengthMm

      public Common.Capsule.Builder clearLengthMm()
      double length_mm = 2 [json_name = "lengthMm"];
      Returns:
      This builder for chaining.