Class Vision.CaptureAllFromCameraRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Vision.CaptureAllFromCameraRequest,Vision.CaptureAllFromCameraRequest.Builder>
com.viam.service.vision.v1.Vision.CaptureAllFromCameraRequest.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Vision.CaptureAllFromCameraRequestOrBuilder, Cloneable
Enclosing class:
Vision.CaptureAllFromCameraRequest

public static final class Vision.CaptureAllFromCameraRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Vision.CaptureAllFromCameraRequest,Vision.CaptureAllFromCameraRequest.Builder> implements Vision.CaptureAllFromCameraRequestOrBuilder
Protobuf type viam.service.vision.v1.CaptureAllFromCameraRequest
  • Method Details

    • getName

      public String getName()
       name of the vision service
       
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface Vision.CaptureAllFromCameraRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       name of the vision service
       
      string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface Vision.CaptureAllFromCameraRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

       name of the vision service
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       name of the vision service
       
      string name = 1 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Vision.CaptureAllFromCameraRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       name of the vision service
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getCameraName

      public String getCameraName()
       name of camera source to use as input
       
      string camera_name = 2 [json_name = "cameraName"];
      Specified by:
      getCameraName in interface Vision.CaptureAllFromCameraRequestOrBuilder
      Returns:
      The cameraName.
    • getCameraNameBytes

      public com.google.protobuf.ByteString getCameraNameBytes()
       name of camera source to use as input
       
      string camera_name = 2 [json_name = "cameraName"];
      Specified by:
      getCameraNameBytes in interface Vision.CaptureAllFromCameraRequestOrBuilder
      Returns:
      The bytes for cameraName.
    • setCameraName

      public Vision.CaptureAllFromCameraRequest.Builder setCameraName(String value)
       name of camera source to use as input
       
      string camera_name = 2 [json_name = "cameraName"];
      Parameters:
      value - The cameraName to set.
      Returns:
      This builder for chaining.
    • clearCameraName

       name of camera source to use as input
       
      string camera_name = 2 [json_name = "cameraName"];
      Returns:
      This builder for chaining.
    • setCameraNameBytes

      public Vision.CaptureAllFromCameraRequest.Builder setCameraNameBytes(com.google.protobuf.ByteString value)
       name of camera source to use as input
       
      string camera_name = 2 [json_name = "cameraName"];
      Parameters:
      value - The bytes for cameraName to set.
      Returns:
      This builder for chaining.
    • getReturnImage

      public boolean getReturnImage()
       whether or not including the image in the response
       
      bool return_image = 3 [json_name = "returnImage"];
      Specified by:
      getReturnImage in interface Vision.CaptureAllFromCameraRequestOrBuilder
      Returns:
      The returnImage.
    • setReturnImage

      public Vision.CaptureAllFromCameraRequest.Builder setReturnImage(boolean value)
       whether or not including the image in the response
       
      bool return_image = 3 [json_name = "returnImage"];
      Parameters:
      value - The returnImage to set.
      Returns:
      This builder for chaining.
    • clearReturnImage

      public Vision.CaptureAllFromCameraRequest.Builder clearReturnImage()
       whether or not including the image in the response
       
      bool return_image = 3 [json_name = "returnImage"];
      Returns:
      This builder for chaining.
    • getReturnClassifications

      public boolean getReturnClassifications()
       whether or not including classifications in the response
       
      bool return_classifications = 4 [json_name = "returnClassifications"];
      Specified by:
      getReturnClassifications in interface Vision.CaptureAllFromCameraRequestOrBuilder
      Returns:
      The returnClassifications.
    • setReturnClassifications

      public Vision.CaptureAllFromCameraRequest.Builder setReturnClassifications(boolean value)
       whether or not including classifications in the response
       
      bool return_classifications = 4 [json_name = "returnClassifications"];
      Parameters:
      value - The returnClassifications to set.
      Returns:
      This builder for chaining.
    • clearReturnClassifications

      public Vision.CaptureAllFromCameraRequest.Builder clearReturnClassifications()
       whether or not including classifications in the response
       
      bool return_classifications = 4 [json_name = "returnClassifications"];
      Returns:
      This builder for chaining.
    • getReturnDetections

      public boolean getReturnDetections()
       whether or not including detections in the response
       
      bool return_detections = 5 [json_name = "returnDetections"];
      Specified by:
      getReturnDetections in interface Vision.CaptureAllFromCameraRequestOrBuilder
      Returns:
      The returnDetections.
    • setReturnDetections

      public Vision.CaptureAllFromCameraRequest.Builder setReturnDetections(boolean value)
       whether or not including detections in the response
       
      bool return_detections = 5 [json_name = "returnDetections"];
      Parameters:
      value - The returnDetections to set.
      Returns:
      This builder for chaining.
    • clearReturnDetections

      public Vision.CaptureAllFromCameraRequest.Builder clearReturnDetections()
       whether or not including detections in the response
       
      bool return_detections = 5 [json_name = "returnDetections"];
      Returns:
      This builder for chaining.
    • getReturnObjectPointClouds

      public boolean getReturnObjectPointClouds()
       whether or not including pcd in the response
       
      bool return_object_point_clouds = 6 [json_name = "returnObjectPointClouds"];
      Specified by:
      getReturnObjectPointClouds in interface Vision.CaptureAllFromCameraRequestOrBuilder
      Returns:
      The returnObjectPointClouds.
    • setReturnObjectPointClouds

      public Vision.CaptureAllFromCameraRequest.Builder setReturnObjectPointClouds(boolean value)
       whether or not including pcd in the response
       
      bool return_object_point_clouds = 6 [json_name = "returnObjectPointClouds"];
      Parameters:
      value - The returnObjectPointClouds to set.
      Returns:
      This builder for chaining.
    • clearReturnObjectPointClouds

      public Vision.CaptureAllFromCameraRequest.Builder clearReturnObjectPointClouds()
       whether or not including pcd in the response
       
      bool return_object_point_clouds = 6 [json_name = "returnObjectPointClouds"];
      Returns:
      This builder for chaining.
    • hasExtra

      public boolean hasExtra()
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
      Specified by:
      hasExtra in interface Vision.CaptureAllFromCameraRequestOrBuilder
      Returns:
      Whether the extra field is set.
    • getExtra

      public com.google.protobuf.Struct getExtra()
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
      Specified by:
      getExtra in interface Vision.CaptureAllFromCameraRequestOrBuilder
      Returns:
      The extra.
    • setExtra

      public Vision.CaptureAllFromCameraRequest.Builder setExtra(com.google.protobuf.Struct value)
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • setExtra

      public Vision.CaptureAllFromCameraRequest.Builder setExtra(com.google.protobuf.Struct.Builder builderForValue)
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • mergeExtra

      public Vision.CaptureAllFromCameraRequest.Builder mergeExtra(com.google.protobuf.Struct value)
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • clearExtra

      .google.protobuf.Struct extra = 99 [json_name = "extra"];