Package viam.app.data.v1
Class Data.BoundingBoxLabelsByFilterResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Data.BoundingBoxLabelsByFilterResponse,Data.BoundingBoxLabelsByFilterResponse.Builder>
viam.app.data.v1.Data.BoundingBoxLabelsByFilterResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Data.BoundingBoxLabelsByFilterResponseOrBuilder
- Enclosing class:
- Data.BoundingBoxLabelsByFilterResponse
public static final class Data.BoundingBoxLabelsByFilterResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Data.BoundingBoxLabelsByFilterResponse,Data.BoundingBoxLabelsByFilterResponse.Builder>
implements Data.BoundingBoxLabelsByFilterResponseOrBuilder
BoundingBoxLabelsByFilterRequest returns all the labels of the bounding boxes from files from a given filter.Protobuf type
viam.app.data.v1.BoundingBoxLabelsByFilterResponse
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllLabels
(Iterable<String> values) repeated string labels = 1 [json_name = "labels"];
repeated string labels = 1 [json_name = "labels"];
addLabelsBytes
(com.google.protobuf.ByteString value) repeated string labels = 1 [json_name = "labels"];
repeated string labels = 1 [json_name = "labels"];
getLabels
(int index) repeated string labels = 1 [json_name = "labels"];
com.google.protobuf.ByteString
getLabelsBytes
(int index) repeated string labels = 1 [json_name = "labels"];
int
repeated string labels = 1 [json_name = "labels"];
repeated string labels = 1 [json_name = "labels"];
repeated string labels = 1 [json_name = "labels"];
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
-
getLabelsList
repeated string labels = 1 [json_name = "labels"];
- Specified by:
getLabelsList
in interfaceData.BoundingBoxLabelsByFilterResponseOrBuilder
- Returns:
- A list containing the labels.
-
getLabelsCount
public int getLabelsCount()repeated string labels = 1 [json_name = "labels"];
- Specified by:
getLabelsCount
in interfaceData.BoundingBoxLabelsByFilterResponseOrBuilder
- Returns:
- The count of labels.
-
getLabels
repeated string labels = 1 [json_name = "labels"];
- Specified by:
getLabels
in interfaceData.BoundingBoxLabelsByFilterResponseOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The labels at the given index.
-
getLabelsBytes
public com.google.protobuf.ByteString getLabelsBytes(int index) repeated string labels = 1 [json_name = "labels"];
- Specified by:
getLabelsBytes
in interfaceData.BoundingBoxLabelsByFilterResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the labels at the given index.
-
setLabels
repeated string labels = 1 [json_name = "labels"];
- Parameters:
index
- The index to set the value at.value
- The labels to set.- Returns:
- This builder for chaining.
-
addLabels
repeated string labels = 1 [json_name = "labels"];
- Parameters:
value
- The labels to add.- Returns:
- This builder for chaining.
-
addAllLabels
repeated string labels = 1 [json_name = "labels"];
- Parameters:
values
- The labels to add.- Returns:
- This builder for chaining.
-
clearLabels
repeated string labels = 1 [json_name = "labels"];
- Returns:
- This builder for chaining.
-
addLabelsBytes
public Data.BoundingBoxLabelsByFilterResponse.Builder addLabelsBytes(com.google.protobuf.ByteString value) repeated string labels = 1 [json_name = "labels"];
- Parameters:
value
- The bytes of the labels to add.- Returns:
- This builder for chaining.
-