Package viam.app.data.v1
Class Data.UpdateBoundingBoxRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Data.UpdateBoundingBoxRequest,Data.UpdateBoundingBoxRequest.Builder>
viam.app.data.v1.Data.UpdateBoundingBoxRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Data.UpdateBoundingBoxRequestOrBuilder
- Enclosing class:
- Data.UpdateBoundingBoxRequest
public static final class Data.UpdateBoundingBoxRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Data.UpdateBoundingBoxRequest,Data.UpdateBoundingBoxRequest.Builder>
implements Data.UpdateBoundingBoxRequestOrBuilder
UpdateBoundingBoxRequest updates the bounding box with specified bounding box ID for the file represented by the binary ID.Protobuf type
viam.app.data.v1.UpdateBoundingBoxRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionstring bbox_id = 2 [json_name = "bboxId"];
.viam.app.data.v1.BinaryID binary_id = 1 [json_name = "binaryId"];
optional string label = 3 [json_name = "label"];
optional double x_max_normalized = 6 [json_name = "xMaxNormalized"];
optional double x_min_normalized = 4 [json_name = "xMinNormalized"];
optional double y_max_normalized = 7 [json_name = "yMaxNormalized"];
optional double y_min_normalized = 5 [json_name = "yMinNormalized"];
string bbox_id = 2 [json_name = "bboxId"];
com.google.protobuf.ByteString
string bbox_id = 2 [json_name = "bboxId"];
.viam.app.data.v1.BinaryID binary_id = 1 [json_name = "binaryId"];
getLabel()
optional string label = 3 [json_name = "label"];
com.google.protobuf.ByteString
optional string label = 3 [json_name = "label"];
double
optional double x_max_normalized = 6 [json_name = "xMaxNormalized"];
double
optional double x_min_normalized = 4 [json_name = "xMinNormalized"];
double
optional double y_max_normalized = 7 [json_name = "yMaxNormalized"];
double
optional double y_min_normalized = 5 [json_name = "yMinNormalized"];
boolean
.viam.app.data.v1.BinaryID binary_id = 1 [json_name = "binaryId"];
boolean
hasLabel()
optional string label = 3 [json_name = "label"];
boolean
optional double x_max_normalized = 6 [json_name = "xMaxNormalized"];
boolean
optional double x_min_normalized = 4 [json_name = "xMinNormalized"];
boolean
optional double y_max_normalized = 7 [json_name = "yMaxNormalized"];
boolean
optional double y_min_normalized = 5 [json_name = "yMinNormalized"];
mergeBinaryId
(Data.BinaryID value) .viam.app.data.v1.BinaryID binary_id = 1 [json_name = "binaryId"];
string bbox_id = 2 [json_name = "bboxId"];
setBboxIdBytes
(com.google.protobuf.ByteString value) string bbox_id = 2 [json_name = "bboxId"];
setBinaryId
(Data.BinaryID value) .viam.app.data.v1.BinaryID binary_id = 1 [json_name = "binaryId"];
setBinaryId
(Data.BinaryID.Builder builderForValue) .viam.app.data.v1.BinaryID binary_id = 1 [json_name = "binaryId"];
optional string label = 3 [json_name = "label"];
setLabelBytes
(com.google.protobuf.ByteString value) optional string label = 3 [json_name = "label"];
setXMaxNormalized
(double value) optional double x_max_normalized = 6 [json_name = "xMaxNormalized"];
setXMinNormalized
(double value) optional double x_min_normalized = 4 [json_name = "xMinNormalized"];
setYMaxNormalized
(double value) optional double y_max_normalized = 7 [json_name = "yMaxNormalized"];
setYMinNormalized
(double value) optional double y_min_normalized = 5 [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 = 1 [json_name = "binaryId"];
- Specified by:
hasBinaryId
in interfaceData.UpdateBoundingBoxRequestOrBuilder
- Returns:
- Whether the binaryId field is set.
-
getBinaryId
.viam.app.data.v1.BinaryID binary_id = 1 [json_name = "binaryId"];
- Specified by:
getBinaryId
in interfaceData.UpdateBoundingBoxRequestOrBuilder
- Returns:
- The binaryId.
-
setBinaryId
.viam.app.data.v1.BinaryID binary_id = 1 [json_name = "binaryId"];
-
setBinaryId
.viam.app.data.v1.BinaryID binary_id = 1 [json_name = "binaryId"];
-
mergeBinaryId
.viam.app.data.v1.BinaryID binary_id = 1 [json_name = "binaryId"];
-
clearBinaryId
.viam.app.data.v1.BinaryID binary_id = 1 [json_name = "binaryId"];
-
getBboxId
string bbox_id = 2 [json_name = "bboxId"];
- Specified by:
getBboxId
in interfaceData.UpdateBoundingBoxRequestOrBuilder
- Returns:
- The bboxId.
-
getBboxIdBytes
public com.google.protobuf.ByteString getBboxIdBytes()string bbox_id = 2 [json_name = "bboxId"];
- Specified by:
getBboxIdBytes
in interfaceData.UpdateBoundingBoxRequestOrBuilder
- Returns:
- The bytes for bboxId.
-
setBboxId
string bbox_id = 2 [json_name = "bboxId"];
- Parameters:
value
- The bboxId to set.- Returns:
- This builder for chaining.
-
clearBboxId
string bbox_id = 2 [json_name = "bboxId"];
- Returns:
- This builder for chaining.
-
setBboxIdBytes
string bbox_id = 2 [json_name = "bboxId"];
- Parameters:
value
- The bytes for bboxId to set.- Returns:
- This builder for chaining.
-
hasLabel
public boolean hasLabel()optional string label = 3 [json_name = "label"];
- Specified by:
hasLabel
in interfaceData.UpdateBoundingBoxRequestOrBuilder
- Returns:
- Whether the label field is set.
-
getLabel
optional string label = 3 [json_name = "label"];
- Specified by:
getLabel
in interfaceData.UpdateBoundingBoxRequestOrBuilder
- Returns:
- The label.
-
getLabelBytes
public com.google.protobuf.ByteString getLabelBytes()optional string label = 3 [json_name = "label"];
- Specified by:
getLabelBytes
in interfaceData.UpdateBoundingBoxRequestOrBuilder
- Returns:
- The bytes for label.
-
setLabel
optional string label = 3 [json_name = "label"];
- Parameters:
value
- The label to set.- Returns:
- This builder for chaining.
-
clearLabel
optional string label = 3 [json_name = "label"];
- Returns:
- This builder for chaining.
-
setLabelBytes
optional string label = 3 [json_name = "label"];
- Parameters:
value
- The bytes for label to set.- Returns:
- This builder for chaining.
-
hasXMinNormalized
public boolean hasXMinNormalized()optional double x_min_normalized = 4 [json_name = "xMinNormalized"];
- Specified by:
hasXMinNormalized
in interfaceData.UpdateBoundingBoxRequestOrBuilder
- Returns:
- Whether the xMinNormalized field is set.
-
getXMinNormalized
public double getXMinNormalized()optional double x_min_normalized = 4 [json_name = "xMinNormalized"];
- Specified by:
getXMinNormalized
in interfaceData.UpdateBoundingBoxRequestOrBuilder
- Returns:
- The xMinNormalized.
-
setXMinNormalized
optional double x_min_normalized = 4 [json_name = "xMinNormalized"];
- Parameters:
value
- The xMinNormalized to set.- Returns:
- This builder for chaining.
-
clearXMinNormalized
optional double x_min_normalized = 4 [json_name = "xMinNormalized"];
- Returns:
- This builder for chaining.
-
hasYMinNormalized
public boolean hasYMinNormalized()optional double y_min_normalized = 5 [json_name = "yMinNormalized"];
- Specified by:
hasYMinNormalized
in interfaceData.UpdateBoundingBoxRequestOrBuilder
- Returns:
- Whether the yMinNormalized field is set.
-
getYMinNormalized
public double getYMinNormalized()optional double y_min_normalized = 5 [json_name = "yMinNormalized"];
- Specified by:
getYMinNormalized
in interfaceData.UpdateBoundingBoxRequestOrBuilder
- Returns:
- The yMinNormalized.
-
setYMinNormalized
optional double y_min_normalized = 5 [json_name = "yMinNormalized"];
- Parameters:
value
- The yMinNormalized to set.- Returns:
- This builder for chaining.
-
clearYMinNormalized
optional double y_min_normalized = 5 [json_name = "yMinNormalized"];
- Returns:
- This builder for chaining.
-
hasXMaxNormalized
public boolean hasXMaxNormalized()optional double x_max_normalized = 6 [json_name = "xMaxNormalized"];
- Specified by:
hasXMaxNormalized
in interfaceData.UpdateBoundingBoxRequestOrBuilder
- Returns:
- Whether the xMaxNormalized field is set.
-
getXMaxNormalized
public double getXMaxNormalized()optional double x_max_normalized = 6 [json_name = "xMaxNormalized"];
- Specified by:
getXMaxNormalized
in interfaceData.UpdateBoundingBoxRequestOrBuilder
- Returns:
- The xMaxNormalized.
-
setXMaxNormalized
optional double x_max_normalized = 6 [json_name = "xMaxNormalized"];
- Parameters:
value
- The xMaxNormalized to set.- Returns:
- This builder for chaining.
-
clearXMaxNormalized
optional double x_max_normalized = 6 [json_name = "xMaxNormalized"];
- Returns:
- This builder for chaining.
-
hasYMaxNormalized
public boolean hasYMaxNormalized()optional double y_max_normalized = 7 [json_name = "yMaxNormalized"];
- Specified by:
hasYMaxNormalized
in interfaceData.UpdateBoundingBoxRequestOrBuilder
- Returns:
- Whether the yMaxNormalized field is set.
-
getYMaxNormalized
public double getYMaxNormalized()optional double y_max_normalized = 7 [json_name = "yMaxNormalized"];
- Specified by:
getYMaxNormalized
in interfaceData.UpdateBoundingBoxRequestOrBuilder
- Returns:
- The yMaxNormalized.
-
setYMaxNormalized
optional double y_max_normalized = 7 [json_name = "yMaxNormalized"];
- Parameters:
value
- The yMaxNormalized to set.- Returns:
- This builder for chaining.
-
clearYMaxNormalized
optional double y_max_normalized = 7 [json_name = "yMaxNormalized"];
- Returns:
- This builder for chaining.
-