Package com.viam.service.vision.v1
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
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionname of camera source to use as input.google.protobuf.Struct extra = 99 [json_name = "extra"];
name of the vision servicewhether or not including classifications in the responsewhether or not including detections in the responsewhether or not including the image in the responsewhether or not including pcd in the responsename of camera source to use as inputcom.google.protobuf.ByteString
name of camera source to use as inputcom.google.protobuf.Struct
getExtra()
.google.protobuf.Struct extra = 99 [json_name = "extra"];
getName()
name of the vision servicecom.google.protobuf.ByteString
name of the vision serviceboolean
whether or not including classifications in the responseboolean
whether or not including detections in the responseboolean
whether or not including the image in the responseboolean
whether or not including pcd in the responseboolean
hasExtra()
.google.protobuf.Struct extra = 99 [json_name = "extra"];
mergeExtra
(com.google.protobuf.Struct value) .google.protobuf.Struct extra = 99 [json_name = "extra"];
setCameraName
(String value) name of camera source to use as inputsetCameraNameBytes
(com.google.protobuf.ByteString value) name of camera source to use as inputsetExtra
(com.google.protobuf.Struct value) .google.protobuf.Struct extra = 99 [json_name = "extra"];
setExtra
(com.google.protobuf.Struct.Builder builderForValue) .google.protobuf.Struct extra = 99 [json_name = "extra"];
name of the vision servicesetNameBytes
(com.google.protobuf.ByteString value) name of the vision servicesetReturnClassifications
(boolean value) whether or not including classifications in the responsesetReturnDetections
(boolean value) whether or not including detections in the responsesetReturnImage
(boolean value) whether or not including the image in the responsesetReturnObjectPointClouds
(boolean value) whether or not including pcd in the responseMethods 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
-
getName
name of the vision service
string name = 1 [json_name = "name"];
- Specified by:
getName
in interfaceVision.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 interfaceVision.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
name of camera source to use as input
string camera_name = 2 [json_name = "cameraName"];
- Specified by:
getCameraName
in interfaceVision.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 interfaceVision.CaptureAllFromCameraRequestOrBuilder
- Returns:
- The bytes for cameraName.
-
setCameraName
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 interfaceVision.CaptureAllFromCameraRequestOrBuilder
- Returns:
- The returnImage.
-
setReturnImage
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
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 interfaceVision.CaptureAllFromCameraRequestOrBuilder
- Returns:
- The returnClassifications.
-
setReturnClassifications
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
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 interfaceVision.CaptureAllFromCameraRequestOrBuilder
- Returns:
- The returnDetections.
-
setReturnDetections
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
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 interfaceVision.CaptureAllFromCameraRequestOrBuilder
- Returns:
- The returnObjectPointClouds.
-
setReturnObjectPointClouds
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
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 interfaceVision.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 interfaceVision.CaptureAllFromCameraRequestOrBuilder
- Returns:
- The extra.
-
setExtra
.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
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-
clearExtra
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-