Interface Common.GeometryOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
Common.Geometry, Common.Geometry.Builder
Enclosing class:
Common

public static interface Common.GeometryOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Details

    • hasCenter

      boolean hasCenter()
       Pose of a geometries center point
       
      .viam.common.v1.Pose center = 1 [json_name = "center"];
      Returns:
      Whether the center field is set.
    • getCenter

      Common.Pose getCenter()
       Pose of a geometries center point
       
      .viam.common.v1.Pose center = 1 [json_name = "center"];
      Returns:
      The center.
    • hasSphere

      boolean hasSphere()
      .viam.common.v1.Sphere sphere = 2 [json_name = "sphere"];
      Returns:
      Whether the sphere field is set.
    • getSphere

      Common.Sphere getSphere()
      .viam.common.v1.Sphere sphere = 2 [json_name = "sphere"];
      Returns:
      The sphere.
    • hasBox

      boolean hasBox()
      .viam.common.v1.RectangularPrism box = 3 [json_name = "box"];
      Returns:
      Whether the box field is set.
    • getBox

      .viam.common.v1.RectangularPrism box = 3 [json_name = "box"];
      Returns:
      The box.
    • hasCapsule

      boolean hasCapsule()
      .viam.common.v1.Capsule capsule = 5 [json_name = "capsule"];
      Returns:
      Whether the capsule field is set.
    • getCapsule

      Common.Capsule getCapsule()
      .viam.common.v1.Capsule capsule = 5 [json_name = "capsule"];
      Returns:
      The capsule.
    • getLabel

      String getLabel()
       Label of the geometry. If none supplied, will be an empty string.
       
      string label = 4 [json_name = "label"];
      Returns:
      The label.
    • getLabelBytes

      com.google.protobuf.ByteString getLabelBytes()
       Label of the geometry. If none supplied, will be an empty string.
       
      string label = 4 [json_name = "label"];
      Returns:
      The bytes for label.
    • getGeometryTypeCase

      Common.Geometry.GeometryTypeCase getGeometryTypeCase()