Package com.viam.common.v1
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 Summary
Modifier and TypeMethodDescriptiongetBox().viam.common.v1.RectangularPrism box = 3 [json_name = "box"];.viam.common.v1.Capsule capsule = 5 [json_name = "capsule"];Pose of a geometries center pointgetLabel()Label of the geometry.com.google.protobuf.ByteStringLabel of the geometry.getMesh().viam.common.v1.Mesh mesh = 6 [json_name = "mesh"];.viam.common.v1.PointCloud pointcloud = 7 [json_name = "pointcloud"];.viam.common.v1.Sphere sphere = 2 [json_name = "sphere"];booleanhasBox().viam.common.v1.RectangularPrism box = 3 [json_name = "box"];boolean.viam.common.v1.Capsule capsule = 5 [json_name = "capsule"];booleanPose of a geometries center pointbooleanhasMesh().viam.common.v1.Mesh mesh = 6 [json_name = "mesh"];boolean.viam.common.v1.PointCloud pointcloud = 7 [json_name = "pointcloud"];boolean.viam.common.v1.Sphere sphere = 2 [json_name = "sphere"];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
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
Common.RectangularPrism 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.
-
hasMesh
boolean hasMesh().viam.common.v1.Mesh mesh = 6 [json_name = "mesh"];- Returns:
- Whether the mesh field is set.
-
getMesh
Common.Mesh getMesh().viam.common.v1.Mesh mesh = 6 [json_name = "mesh"];- Returns:
- The mesh.
-
hasPointcloud
boolean hasPointcloud().viam.common.v1.PointCloud pointcloud = 7 [json_name = "pointcloud"];- Returns:
- Whether the pointcloud field is set.
-
getPointcloud
Common.PointCloud getPointcloud().viam.common.v1.PointCloud pointcloud = 7 [json_name = "pointcloud"];- Returns:
- The pointcloud.
-
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()
-