Package viam.app.data.v1
Class Data.Filter
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Data.Filter,Data.Filter.Builder>
viam.app.data.v1.Data.Filter
- All Implemented Interfaces:
com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,Data.FilterOrBuilder
- Enclosing class:
- Data
public static final class Data.Filter
extends com.google.protobuf.GeneratedMessageLite<Data.Filter,Data.Filter.Builder>
implements Data.FilterOrBuilder
Filter defines the fields over which we can filter data using a logic AND. For example, if component_type and robot_id are specified, only data from that `robot_id` of type `component_type` is returned. However, we logical OR over the specified tags and bounding box labels, such that if component_type, robot_id, tagA, tagB are specified, we return data from that `robot_id` of type `component_type` with `tagA` or `tagB`.Protobuf type
viam.app.data.v1.Filter
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Filter defines the fields over which we can filter data using a logic AND.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,
?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFields
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionprotected final Object
dynamicMethod
(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) getBboxLabels
(int index) bbox_labels are used to match documents with the specified bounding box labels (using logical OR).com.google.protobuf.ByteString
getBboxLabelsBytes
(int index) bbox_labels are used to match documents with the specified bounding box labels (using logical OR).int
bbox_labels are used to match documents with the specified bounding box labels (using logical OR).bbox_labels are used to match documents with the specified bounding box labels (using logical OR).string component_name = 1 [json_name = "componentName"];
com.google.protobuf.ByteString
string component_name = 1 [json_name = "componentName"];
string component_type = 2 [json_name = "componentType"];
com.google.protobuf.ByteString
string component_type = 2 [json_name = "componentType"];
string dataset_id = 16 [json_name = "datasetId"];
com.google.protobuf.ByteString
string dataset_id = 16 [json_name = "datasetId"];
static Data.Filter
.viam.app.data.v1.CaptureInterval interval = 13 [json_name = "interval"];
getLocationIds
(int index) repeated string location_ids = 10 [json_name = "locationIds"];
com.google.protobuf.ByteString
getLocationIdsBytes
(int index) repeated string location_ids = 10 [json_name = "locationIds"];
int
repeated string location_ids = 10 [json_name = "locationIds"];
repeated string location_ids = 10 [json_name = "locationIds"];
string method = 4 [json_name = "method"];
com.google.protobuf.ByteString
string method = 4 [json_name = "method"];
getMimeType
(int index) repeated string mime_type = 12 [json_name = "mimeType"];
com.google.protobuf.ByteString
getMimeTypeBytes
(int index) repeated string mime_type = 12 [json_name = "mimeType"];
int
repeated string mime_type = 12 [json_name = "mimeType"];
repeated string mime_type = 12 [json_name = "mimeType"];
getOrganizationIds
(int index) repeated string organization_ids = 11 [json_name = "organizationIds"];
com.google.protobuf.ByteString
getOrganizationIdsBytes
(int index) repeated string organization_ids = 11 [json_name = "organizationIds"];
int
repeated string organization_ids = 11 [json_name = "organizationIds"];
repeated string organization_ids = 11 [json_name = "organizationIds"];
string part_id = 9 [json_name = "partId"];
com.google.protobuf.ByteString
string part_id = 9 [json_name = "partId"];
string part_name = 8 [json_name = "partName"];
com.google.protobuf.ByteString
string part_name = 8 [json_name = "partName"];
string robot_id = 7 [json_name = "robotId"];
com.google.protobuf.ByteString
string robot_id = 7 [json_name = "robotId"];
string robot_name = 6 [json_name = "robotName"];
com.google.protobuf.ByteString
string robot_name = 6 [json_name = "robotName"];
.viam.app.data.v1.TagsFilter tags_filter = 14 [json_name = "tagsFilter"];
boolean
.viam.app.data.v1.CaptureInterval interval = 13 [json_name = "interval"];
boolean
.viam.app.data.v1.TagsFilter tags_filter = 14 [json_name = "tagsFilter"];
static Data.Filter.Builder
static Data.Filter.Builder
newBuilder
(Data.Filter prototype) static Data.Filter
parseDelimitedFrom
(InputStream input) static Data.Filter
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.Filter
parseFrom
(byte[] data) static Data.Filter
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.Filter
parseFrom
(com.google.protobuf.ByteString data) static Data.Filter
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.Filter
parseFrom
(com.google.protobuf.CodedInputStream input) static Data.Filter
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.Filter
parseFrom
(InputStream input) static Data.Filter
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.Filter
parseFrom
(ByteBuffer data) static Data.Filter
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Data.Filter>
parser()
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
COMPONENT_NAME_FIELD_NUMBER
public static final int COMPONENT_NAME_FIELD_NUMBER- See Also:
-
COMPONENT_TYPE_FIELD_NUMBER
public static final int COMPONENT_TYPE_FIELD_NUMBER- See Also:
-
METHOD_FIELD_NUMBER
public static final int METHOD_FIELD_NUMBER- See Also:
-
ROBOT_NAME_FIELD_NUMBER
public static final int ROBOT_NAME_FIELD_NUMBER- See Also:
-
ROBOT_ID_FIELD_NUMBER
public static final int ROBOT_ID_FIELD_NUMBER- See Also:
-
PART_NAME_FIELD_NUMBER
public static final int PART_NAME_FIELD_NUMBER- See Also:
-
PART_ID_FIELD_NUMBER
public static final int PART_ID_FIELD_NUMBER- See Also:
-
LOCATION_IDS_FIELD_NUMBER
public static final int LOCATION_IDS_FIELD_NUMBER- See Also:
-
ORGANIZATION_IDS_FIELD_NUMBER
public static final int ORGANIZATION_IDS_FIELD_NUMBER- See Also:
-
MIME_TYPE_FIELD_NUMBER
public static final int MIME_TYPE_FIELD_NUMBER- See Also:
-
INTERVAL_FIELD_NUMBER
public static final int INTERVAL_FIELD_NUMBER- See Also:
-
TAGS_FILTER_FIELD_NUMBER
public static final int TAGS_FILTER_FIELD_NUMBER- See Also:
-
BBOX_LABELS_FIELD_NUMBER
public static final int BBOX_LABELS_FIELD_NUMBER- See Also:
-
DATASET_ID_FIELD_NUMBER
public static final int DATASET_ID_FIELD_NUMBER- See Also:
-
-
Method Details
-
getComponentName
string component_name = 1 [json_name = "componentName"];
- Specified by:
getComponentName
in interfaceData.FilterOrBuilder
- Returns:
- The componentName.
-
getComponentNameBytes
public com.google.protobuf.ByteString getComponentNameBytes()string component_name = 1 [json_name = "componentName"];
- Specified by:
getComponentNameBytes
in interfaceData.FilterOrBuilder
- Returns:
- The bytes for componentName.
-
getComponentType
string component_type = 2 [json_name = "componentType"];
- Specified by:
getComponentType
in interfaceData.FilterOrBuilder
- Returns:
- The componentType.
-
getComponentTypeBytes
public com.google.protobuf.ByteString getComponentTypeBytes()string component_type = 2 [json_name = "componentType"];
- Specified by:
getComponentTypeBytes
in interfaceData.FilterOrBuilder
- Returns:
- The bytes for componentType.
-
getMethod
string method = 4 [json_name = "method"];
- Specified by:
getMethod
in interfaceData.FilterOrBuilder
- Returns:
- The method.
-
getMethodBytes
public com.google.protobuf.ByteString getMethodBytes()string method = 4 [json_name = "method"];
- Specified by:
getMethodBytes
in interfaceData.FilterOrBuilder
- Returns:
- The bytes for method.
-
getRobotName
string robot_name = 6 [json_name = "robotName"];
- Specified by:
getRobotName
in interfaceData.FilterOrBuilder
- Returns:
- The robotName.
-
getRobotNameBytes
public com.google.protobuf.ByteString getRobotNameBytes()string robot_name = 6 [json_name = "robotName"];
- Specified by:
getRobotNameBytes
in interfaceData.FilterOrBuilder
- Returns:
- The bytes for robotName.
-
getRobotId
string robot_id = 7 [json_name = "robotId"];
- Specified by:
getRobotId
in interfaceData.FilterOrBuilder
- Returns:
- The robotId.
-
getRobotIdBytes
public com.google.protobuf.ByteString getRobotIdBytes()string robot_id = 7 [json_name = "robotId"];
- Specified by:
getRobotIdBytes
in interfaceData.FilterOrBuilder
- Returns:
- The bytes for robotId.
-
getPartName
string part_name = 8 [json_name = "partName"];
- Specified by:
getPartName
in interfaceData.FilterOrBuilder
- Returns:
- The partName.
-
getPartNameBytes
public com.google.protobuf.ByteString getPartNameBytes()string part_name = 8 [json_name = "partName"];
- Specified by:
getPartNameBytes
in interfaceData.FilterOrBuilder
- Returns:
- The bytes for partName.
-
getPartId
string part_id = 9 [json_name = "partId"];
- Specified by:
getPartId
in interfaceData.FilterOrBuilder
- Returns:
- The partId.
-
getPartIdBytes
public com.google.protobuf.ByteString getPartIdBytes()string part_id = 9 [json_name = "partId"];
- Specified by:
getPartIdBytes
in interfaceData.FilterOrBuilder
- Returns:
- The bytes for partId.
-
getLocationIdsList
repeated string location_ids = 10 [json_name = "locationIds"];
- Specified by:
getLocationIdsList
in interfaceData.FilterOrBuilder
- Returns:
- A list containing the locationIds.
-
getLocationIdsCount
public int getLocationIdsCount()repeated string location_ids = 10 [json_name = "locationIds"];
- Specified by:
getLocationIdsCount
in interfaceData.FilterOrBuilder
- Returns:
- The count of locationIds.
-
getLocationIds
repeated string location_ids = 10 [json_name = "locationIds"];
- Specified by:
getLocationIds
in interfaceData.FilterOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The locationIds at the given index.
-
getLocationIdsBytes
public com.google.protobuf.ByteString getLocationIdsBytes(int index) repeated string location_ids = 10 [json_name = "locationIds"];
- Specified by:
getLocationIdsBytes
in interfaceData.FilterOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the locationIds at the given index.
-
getOrganizationIdsList
repeated string organization_ids = 11 [json_name = "organizationIds"];
- Specified by:
getOrganizationIdsList
in interfaceData.FilterOrBuilder
- Returns:
- A list containing the organizationIds.
-
getOrganizationIdsCount
public int getOrganizationIdsCount()repeated string organization_ids = 11 [json_name = "organizationIds"];
- Specified by:
getOrganizationIdsCount
in interfaceData.FilterOrBuilder
- Returns:
- The count of organizationIds.
-
getOrganizationIds
repeated string organization_ids = 11 [json_name = "organizationIds"];
- Specified by:
getOrganizationIds
in interfaceData.FilterOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The organizationIds at the given index.
-
getOrganizationIdsBytes
public com.google.protobuf.ByteString getOrganizationIdsBytes(int index) repeated string organization_ids = 11 [json_name = "organizationIds"];
- Specified by:
getOrganizationIdsBytes
in interfaceData.FilterOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the organizationIds at the given index.
-
getMimeTypeList
repeated string mime_type = 12 [json_name = "mimeType"];
- Specified by:
getMimeTypeList
in interfaceData.FilterOrBuilder
- Returns:
- A list containing the mimeType.
-
getMimeTypeCount
public int getMimeTypeCount()repeated string mime_type = 12 [json_name = "mimeType"];
- Specified by:
getMimeTypeCount
in interfaceData.FilterOrBuilder
- Returns:
- The count of mimeType.
-
getMimeType
repeated string mime_type = 12 [json_name = "mimeType"];
- Specified by:
getMimeType
in interfaceData.FilterOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The mimeType at the given index.
-
getMimeTypeBytes
public com.google.protobuf.ByteString getMimeTypeBytes(int index) repeated string mime_type = 12 [json_name = "mimeType"];
- Specified by:
getMimeTypeBytes
in interfaceData.FilterOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the mimeType at the given index.
-
hasInterval
public boolean hasInterval().viam.app.data.v1.CaptureInterval interval = 13 [json_name = "interval"];
- Specified by:
hasInterval
in interfaceData.FilterOrBuilder
- Returns:
- Whether the interval field is set.
-
getInterval
.viam.app.data.v1.CaptureInterval interval = 13 [json_name = "interval"];
- Specified by:
getInterval
in interfaceData.FilterOrBuilder
- Returns:
- The interval.
-
hasTagsFilter
public boolean hasTagsFilter().viam.app.data.v1.TagsFilter tags_filter = 14 [json_name = "tagsFilter"];
- Specified by:
hasTagsFilter
in interfaceData.FilterOrBuilder
- Returns:
- Whether the tagsFilter field is set.
-
getTagsFilter
.viam.app.data.v1.TagsFilter tags_filter = 14 [json_name = "tagsFilter"];
- Specified by:
getTagsFilter
in interfaceData.FilterOrBuilder
- Returns:
- The tagsFilter.
-
getBboxLabelsList
bbox_labels are used to match documents with the specified bounding box labels (using logical OR).
repeated string bbox_labels = 15 [json_name = "bboxLabels"];
- Specified by:
getBboxLabelsList
in interfaceData.FilterOrBuilder
- Returns:
- A list containing the bboxLabels.
-
getBboxLabelsCount
public int getBboxLabelsCount()bbox_labels are used to match documents with the specified bounding box labels (using logical OR).
repeated string bbox_labels = 15 [json_name = "bboxLabels"];
- Specified by:
getBboxLabelsCount
in interfaceData.FilterOrBuilder
- Returns:
- The count of bboxLabels.
-
getBboxLabels
bbox_labels are used to match documents with the specified bounding box labels (using logical OR).
repeated string bbox_labels = 15 [json_name = "bboxLabels"];
- Specified by:
getBboxLabels
in interfaceData.FilterOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The bboxLabels at the given index.
-
getBboxLabelsBytes
public com.google.protobuf.ByteString getBboxLabelsBytes(int index) bbox_labels are used to match documents with the specified bounding box labels (using logical OR).
repeated string bbox_labels = 15 [json_name = "bboxLabels"];
- Specified by:
getBboxLabelsBytes
in interfaceData.FilterOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the bboxLabels at the given index.
-
getDatasetId
string dataset_id = 16 [json_name = "datasetId"];
- Specified by:
getDatasetId
in interfaceData.FilterOrBuilder
- Returns:
- The datasetId.
-
getDatasetIdBytes
public com.google.protobuf.ByteString getDatasetIdBytes()string dataset_id = 16 [json_name = "datasetId"];
- Specified by:
getDatasetIdBytes
in interfaceData.FilterOrBuilder
- Returns:
- The bytes for datasetId.
-
parseFrom
public static Data.Filter parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Data.Filter parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Data.Filter parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Data.Filter parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Data.Filter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Data.Filter parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Data.Filter parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Data.Filter parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Data.Filter parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<Data.Filter,
Data.Filter.Builder>
-
getDefaultInstance
-
parser
-