Package viam.app.data.v1
Class Data.AddBoundingBoxToImageByIDRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Data.AddBoundingBoxToImageByIDRequest,Data.AddBoundingBoxToImageByIDRequest.Builder>
viam.app.data.v1.Data.AddBoundingBoxToImageByIDRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Data.AddBoundingBoxToImageByIDRequestOrBuilder
- Enclosing class:
- Data.AddBoundingBoxToImageByIDRequest
public static final class Data.AddBoundingBoxToImageByIDRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Data.AddBoundingBoxToImageByIDRequest,Data.AddBoundingBoxToImageByIDRequest.Builder>
implements Data.AddBoundingBoxToImageByIDRequestOrBuilder
AddBoundingBoxToImageByIDRequest specifies the binary ID to which a bounding box with the associated label and position in normalized coordinates will be added.Protobuf type
viam.app.data.v1.AddBoundingBoxToImageByIDRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescription.viam.app.data.v1.BinaryID binary_id = 7 [json_name = "binaryId"];
string label = 2 [json_name = "label"];
double x_max_normalized = 5 [json_name = "xMaxNormalized"];
double x_min_normalized = 3 [json_name = "xMinNormalized"];
double y_max_normalized = 6 [json_name = "yMaxNormalized"];
double y_min_normalized = 4 [json_name = "yMinNormalized"];
.viam.app.data.v1.BinaryID binary_id = 7 [json_name = "binaryId"];
getLabel()
string label = 2 [json_name = "label"];
com.google.protobuf.ByteString
string label = 2 [json_name = "label"];
double
double x_max_normalized = 5 [json_name = "xMaxNormalized"];
double
double x_min_normalized = 3 [json_name = "xMinNormalized"];
double
double y_max_normalized = 6 [json_name = "yMaxNormalized"];
double
double y_min_normalized = 4 [json_name = "yMinNormalized"];
boolean
.viam.app.data.v1.BinaryID binary_id = 7 [json_name = "binaryId"];
mergeBinaryId
(Data.BinaryID value) .viam.app.data.v1.BinaryID binary_id = 7 [json_name = "binaryId"];
setBinaryId
(Data.BinaryID value) .viam.app.data.v1.BinaryID binary_id = 7 [json_name = "binaryId"];
setBinaryId
(Data.BinaryID.Builder builderForValue) .viam.app.data.v1.BinaryID binary_id = 7 [json_name = "binaryId"];
string label = 2 [json_name = "label"];
setLabelBytes
(com.google.protobuf.ByteString value) string label = 2 [json_name = "label"];
setXMaxNormalized
(double value) double x_max_normalized = 5 [json_name = "xMaxNormalized"];
setXMinNormalized
(double value) double x_min_normalized = 3 [json_name = "xMinNormalized"];
setYMaxNormalized
(double value) double y_max_normalized = 6 [json_name = "yMaxNormalized"];
setYMinNormalized
(double value) double y_min_normalized = 4 [json_name = "yMinNormalized"];
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
-
hasBinaryId
public boolean hasBinaryId().viam.app.data.v1.BinaryID binary_id = 7 [json_name = "binaryId"];
- Specified by:
hasBinaryId
in interfaceData.AddBoundingBoxToImageByIDRequestOrBuilder
- Returns:
- Whether the binaryId field is set.
-
getBinaryId
.viam.app.data.v1.BinaryID binary_id = 7 [json_name = "binaryId"];
- Specified by:
getBinaryId
in interfaceData.AddBoundingBoxToImageByIDRequestOrBuilder
- Returns:
- The binaryId.
-
setBinaryId
.viam.app.data.v1.BinaryID binary_id = 7 [json_name = "binaryId"];
-
setBinaryId
public Data.AddBoundingBoxToImageByIDRequest.Builder setBinaryId(Data.BinaryID.Builder builderForValue) .viam.app.data.v1.BinaryID binary_id = 7 [json_name = "binaryId"];
-
mergeBinaryId
.viam.app.data.v1.BinaryID binary_id = 7 [json_name = "binaryId"];
-
clearBinaryId
.viam.app.data.v1.BinaryID binary_id = 7 [json_name = "binaryId"];
-
getLabel
string label = 2 [json_name = "label"];
- Specified by:
getLabel
in interfaceData.AddBoundingBoxToImageByIDRequestOrBuilder
- Returns:
- The label.
-
getLabelBytes
public com.google.protobuf.ByteString getLabelBytes()string label = 2 [json_name = "label"];
- Specified by:
getLabelBytes
in interfaceData.AddBoundingBoxToImageByIDRequestOrBuilder
- Returns:
- The bytes for label.
-
setLabel
string label = 2 [json_name = "label"];
- Parameters:
value
- The label to set.- Returns:
- This builder for chaining.
-
clearLabel
string label = 2 [json_name = "label"];
- Returns:
- This builder for chaining.
-
setLabelBytes
public Data.AddBoundingBoxToImageByIDRequest.Builder setLabelBytes(com.google.protobuf.ByteString value) string label = 2 [json_name = "label"];
- Parameters:
value
- The bytes for label to set.- Returns:
- This builder for chaining.
-
getXMinNormalized
public double getXMinNormalized()double x_min_normalized = 3 [json_name = "xMinNormalized"];
- Specified by:
getXMinNormalized
in interfaceData.AddBoundingBoxToImageByIDRequestOrBuilder
- Returns:
- The xMinNormalized.
-
setXMinNormalized
double x_min_normalized = 3 [json_name = "xMinNormalized"];
- Parameters:
value
- The xMinNormalized to set.- Returns:
- This builder for chaining.
-
clearXMinNormalized
double x_min_normalized = 3 [json_name = "xMinNormalized"];
- Returns:
- This builder for chaining.
-
getYMinNormalized
public double getYMinNormalized()double y_min_normalized = 4 [json_name = "yMinNormalized"];
- Specified by:
getYMinNormalized
in interfaceData.AddBoundingBoxToImageByIDRequestOrBuilder
- Returns:
- The yMinNormalized.
-
setYMinNormalized
double y_min_normalized = 4 [json_name = "yMinNormalized"];
- Parameters:
value
- The yMinNormalized to set.- Returns:
- This builder for chaining.
-
clearYMinNormalized
double y_min_normalized = 4 [json_name = "yMinNormalized"];
- Returns:
- This builder for chaining.
-
getXMaxNormalized
public double getXMaxNormalized()double x_max_normalized = 5 [json_name = "xMaxNormalized"];
- Specified by:
getXMaxNormalized
in interfaceData.AddBoundingBoxToImageByIDRequestOrBuilder
- Returns:
- The xMaxNormalized.
-
setXMaxNormalized
double x_max_normalized = 5 [json_name = "xMaxNormalized"];
- Parameters:
value
- The xMaxNormalized to set.- Returns:
- This builder for chaining.
-
clearXMaxNormalized
double x_max_normalized = 5 [json_name = "xMaxNormalized"];
- Returns:
- This builder for chaining.
-
getYMaxNormalized
public double getYMaxNormalized()double y_max_normalized = 6 [json_name = "yMaxNormalized"];
- Specified by:
getYMaxNormalized
in interfaceData.AddBoundingBoxToImageByIDRequestOrBuilder
- Returns:
- The yMaxNormalized.
-
setYMaxNormalized
double y_max_normalized = 6 [json_name = "yMaxNormalized"];
- Parameters:
value
- The yMaxNormalized to set.- Returns:
- This builder for chaining.
-
clearYMaxNormalized
double y_max_normalized = 6 [json_name = "yMaxNormalized"];
- Returns:
- This builder for chaining.
-