Class Slam.GetPointCloudMapResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Slam.GetPointCloudMapResponse,Slam.GetPointCloudMapResponse.Builder>
com.viam.service.slam.v1.Slam.GetPointCloudMapResponse.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Slam.GetPointCloudMapResponseOrBuilder, Cloneable
Enclosing class:
Slam.GetPointCloudMapResponse

public static final class Slam.GetPointCloudMapResponse.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Slam.GetPointCloudMapResponse,Slam.GetPointCloudMapResponse.Builder> implements Slam.GetPointCloudMapResponseOrBuilder
Protobuf type viam.service.slam.v1.GetPointCloudMapResponse
  • Field Summary

    Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    One chunk of the PointCloud.
    com.google.protobuf.ByteString
    One chunk of the PointCloud.
    setPointCloudPcdChunk(com.google.protobuf.ByteString value)
    One chunk of the PointCloud.

    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

    • getPointCloudPcdChunk

      public com.google.protobuf.ByteString getPointCloudPcdChunk()
       One chunk of the PointCloud.
       For a given GetPointCloudMap request, concatenating all
       GetPointCloudMapResponse.point_cloud_pcd_chunk values in the
       order received result in the complete pointcloud in standard PCD
       format where XY is the ground plane and positive Z is up, following
       the Right Hand Rule.
      
       Read more about the pointcloud format here:
       https://pointclouds.org/documentation/tutorials/pcd_file_format.html
      
       Viam expects pointcloud data with fields "x y z" or "x y z rgb", and for
       this to be specified in the pointcloud header in the FIELDS entry. If color
       data is included in the pointcloud, Viam's services assume that the color
       value encodes a confidence score for that data point. Viam expects the
       confidence score to be encoded in the blue parameter of the RGB value, on a
       scale from 1-100.
      
       Pointclouds are little endian encoded.
       
      bytes point_cloud_pcd_chunk = 1 [json_name = "pointCloudPcdChunk"];
      Specified by:
      getPointCloudPcdChunk in interface Slam.GetPointCloudMapResponseOrBuilder
      Returns:
      The pointCloudPcdChunk.
    • setPointCloudPcdChunk

      public Slam.GetPointCloudMapResponse.Builder setPointCloudPcdChunk(com.google.protobuf.ByteString value)
       One chunk of the PointCloud.
       For a given GetPointCloudMap request, concatenating all
       GetPointCloudMapResponse.point_cloud_pcd_chunk values in the
       order received result in the complete pointcloud in standard PCD
       format where XY is the ground plane and positive Z is up, following
       the Right Hand Rule.
      
       Read more about the pointcloud format here:
       https://pointclouds.org/documentation/tutorials/pcd_file_format.html
      
       Viam expects pointcloud data with fields "x y z" or "x y z rgb", and for
       this to be specified in the pointcloud header in the FIELDS entry. If color
       data is included in the pointcloud, Viam's services assume that the color
       value encodes a confidence score for that data point. Viam expects the
       confidence score to be encoded in the blue parameter of the RGB value, on a
       scale from 1-100.
      
       Pointclouds are little endian encoded.
       
      bytes point_cloud_pcd_chunk = 1 [json_name = "pointCloudPcdChunk"];
      Parameters:
      value - The pointCloudPcdChunk to set.
      Returns:
      This builder for chaining.
    • clearPointCloudPcdChunk

      public Slam.GetPointCloudMapResponse.Builder clearPointCloudPcdChunk()
       One chunk of the PointCloud.
       For a given GetPointCloudMap request, concatenating all
       GetPointCloudMapResponse.point_cloud_pcd_chunk values in the
       order received result in the complete pointcloud in standard PCD
       format where XY is the ground plane and positive Z is up, following
       the Right Hand Rule.
      
       Read more about the pointcloud format here:
       https://pointclouds.org/documentation/tutorials/pcd_file_format.html
      
       Viam expects pointcloud data with fields "x y z" or "x y z rgb", and for
       this to be specified in the pointcloud header in the FIELDS entry. If color
       data is included in the pointcloud, Viam's services assume that the color
       value encodes a confidence score for that data point. Viam expects the
       confidence score to be encoded in the blue parameter of the RGB value, on a
       scale from 1-100.
      
       Pointclouds are little endian encoded.
       
      bytes point_cloud_pcd_chunk = 1 [json_name = "pointCloudPcdChunk"];
      Returns:
      This builder for chaining.