Package com.viam.common.v1
Class Common.PointCloudObject.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Common.PointCloudObject,Common.PointCloudObject.Builder>
com.viam.common.v1.Common.PointCloudObject.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Common.PointCloudObjectOrBuilder
,Cloneable
- Enclosing class:
- Common.PointCloudObject
public static final class Common.PointCloudObject.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Common.PointCloudObject,Common.PointCloudObject.Builder>
implements Common.PointCloudObjectOrBuilder
PointCloudObject contains an image in bytes with point cloud data of all of the objects captured by a given observer as well as a repeated list of geometries which respresents the center point and geometry of each of the objects within the point cloudProtobuf type
viam.common.v1.PointCloudObject
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionvolume of a given geometryimage frame expressed in bytesvolume of a given geometrycom.google.protobuf.ByteString
image frame expressed in bytesboolean
volume of a given geometryvolume of a given geometryvolume of a given geometrysetGeometries
(Common.GeometriesInFrame.Builder builderForValue) volume of a given geometrysetPointCloud
(com.google.protobuf.ByteString value) image frame expressed in bytesMethods 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
-
getPointCloud
public com.google.protobuf.ByteString getPointCloud()image frame expressed in bytes
bytes point_cloud = 1 [json_name = "pointCloud"];
- Specified by:
getPointCloud
in interfaceCommon.PointCloudObjectOrBuilder
- Returns:
- The pointCloud.
-
setPointCloud
image frame expressed in bytes
bytes point_cloud = 1 [json_name = "pointCloud"];
- Parameters:
value
- The pointCloud to set.- Returns:
- This builder for chaining.
-
clearPointCloud
image frame expressed in bytes
bytes point_cloud = 1 [json_name = "pointCloud"];
- Returns:
- This builder for chaining.
-
hasGeometries
public boolean hasGeometries()volume of a given geometry
.viam.common.v1.GeometriesInFrame geometries = 2 [json_name = "geometries"];
- Specified by:
hasGeometries
in interfaceCommon.PointCloudObjectOrBuilder
- Returns:
- Whether the geometries field is set.
-
getGeometries
volume of a given geometry
.viam.common.v1.GeometriesInFrame geometries = 2 [json_name = "geometries"];
- Specified by:
getGeometries
in interfaceCommon.PointCloudObjectOrBuilder
- Returns:
- The geometries.
-
setGeometries
volume of a given geometry
.viam.common.v1.GeometriesInFrame geometries = 2 [json_name = "geometries"];
-
setGeometries
public Common.PointCloudObject.Builder setGeometries(Common.GeometriesInFrame.Builder builderForValue) volume of a given geometry
.viam.common.v1.GeometriesInFrame geometries = 2 [json_name = "geometries"];
-
mergeGeometries
volume of a given geometry
.viam.common.v1.GeometriesInFrame geometries = 2 [json_name = "geometries"];
-
clearGeometries
volume of a given geometry
.viam.common.v1.GeometriesInFrame geometries = 2 [json_name = "geometries"];
-