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
Nested ClassesModifier and TypeClassDescriptionstatic final classFilter 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(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.ByteStringgetBboxLabelsBytes(int index) bbox_labels are used to match documents with the specified bounding box labels (using logical OR).intbbox_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.ByteStringstring component_name = 1 [json_name = "componentName"];string component_type = 2 [json_name = "componentType"];com.google.protobuf.ByteStringstring component_type = 2 [json_name = "componentType"];string dataset_id = 16 [json_name = "datasetId"];com.google.protobuf.ByteStringstring 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.ByteStringgetLocationIdsBytes(int index) repeated string location_ids = 10 [json_name = "locationIds"];intrepeated string location_ids = 10 [json_name = "locationIds"];repeated string location_ids = 10 [json_name = "locationIds"];string method = 4 [json_name = "method"];com.google.protobuf.ByteStringstring method = 4 [json_name = "method"];getMimeType(int index) repeated string mime_type = 12 [json_name = "mimeType"];com.google.protobuf.ByteStringgetMimeTypeBytes(int index) repeated string mime_type = 12 [json_name = "mimeType"];intrepeated 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.ByteStringgetOrganizationIdsBytes(int index) repeated string organization_ids = 11 [json_name = "organizationIds"];intrepeated 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.ByteStringstring part_id = 9 [json_name = "partId"];string part_name = 8 [json_name = "partName"];com.google.protobuf.ByteStringstring part_name = 8 [json_name = "partName"];string robot_id = 7 [json_name = "robotId"];com.google.protobuf.ByteStringstring robot_id = 7 [json_name = "robotId"];string robot_name = 6 [json_name = "robotName"];com.google.protobuf.ByteStringstring 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.Builderstatic Data.Filter.BuildernewBuilder(Data.Filter prototype) static Data.FilterparseDelimitedFrom(InputStream input) static Data.FilterparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.FilterparseFrom(byte[] data) static Data.FilterparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.FilterparseFrom(com.google.protobuf.ByteString data) static Data.FilterparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.FilterparseFrom(com.google.protobuf.CodedInputStream input) static Data.FilterparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.FilterparseFrom(InputStream input) static Data.FilterparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.FilterparseFrom(ByteBuffer data) static Data.FilterparseFrom(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, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
getComponentNamein interfaceData.FilterOrBuilder- Returns:
- The componentName.
-
getComponentNameBytes
public com.google.protobuf.ByteString getComponentNameBytes()string component_name = 1 [json_name = "componentName"];- Specified by:
getComponentNameBytesin interfaceData.FilterOrBuilder- Returns:
- The bytes for componentName.
-
getComponentType
string component_type = 2 [json_name = "componentType"];- Specified by:
getComponentTypein interfaceData.FilterOrBuilder- Returns:
- The componentType.
-
getComponentTypeBytes
public com.google.protobuf.ByteString getComponentTypeBytes()string component_type = 2 [json_name = "componentType"];- Specified by:
getComponentTypeBytesin interfaceData.FilterOrBuilder- Returns:
- The bytes for componentType.
-
getMethod
string method = 4 [json_name = "method"];- Specified by:
getMethodin interfaceData.FilterOrBuilder- Returns:
- The method.
-
getMethodBytes
public com.google.protobuf.ByteString getMethodBytes()string method = 4 [json_name = "method"];- Specified by:
getMethodBytesin interfaceData.FilterOrBuilder- Returns:
- The bytes for method.
-
getRobotName
string robot_name = 6 [json_name = "robotName"];- Specified by:
getRobotNamein interfaceData.FilterOrBuilder- Returns:
- The robotName.
-
getRobotNameBytes
public com.google.protobuf.ByteString getRobotNameBytes()string robot_name = 6 [json_name = "robotName"];- Specified by:
getRobotNameBytesin interfaceData.FilterOrBuilder- Returns:
- The bytes for robotName.
-
getRobotId
string robot_id = 7 [json_name = "robotId"];- Specified by:
getRobotIdin interfaceData.FilterOrBuilder- Returns:
- The robotId.
-
getRobotIdBytes
public com.google.protobuf.ByteString getRobotIdBytes()string robot_id = 7 [json_name = "robotId"];- Specified by:
getRobotIdBytesin interfaceData.FilterOrBuilder- Returns:
- The bytes for robotId.
-
getPartName
string part_name = 8 [json_name = "partName"];- Specified by:
getPartNamein interfaceData.FilterOrBuilder- Returns:
- The partName.
-
getPartNameBytes
public com.google.protobuf.ByteString getPartNameBytes()string part_name = 8 [json_name = "partName"];- Specified by:
getPartNameBytesin interfaceData.FilterOrBuilder- Returns:
- The bytes for partName.
-
getPartId
string part_id = 9 [json_name = "partId"];- Specified by:
getPartIdin interfaceData.FilterOrBuilder- Returns:
- The partId.
-
getPartIdBytes
public com.google.protobuf.ByteString getPartIdBytes()string part_id = 9 [json_name = "partId"];- Specified by:
getPartIdBytesin interfaceData.FilterOrBuilder- Returns:
- The bytes for partId.
-
getLocationIdsList
repeated string location_ids = 10 [json_name = "locationIds"];- Specified by:
getLocationIdsListin interfaceData.FilterOrBuilder- Returns:
- A list containing the locationIds.
-
getLocationIdsCount
public int getLocationIdsCount()repeated string location_ids = 10 [json_name = "locationIds"];- Specified by:
getLocationIdsCountin interfaceData.FilterOrBuilder- Returns:
- The count of locationIds.
-
getLocationIds
repeated string location_ids = 10 [json_name = "locationIds"];- Specified by:
getLocationIdsin 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:
getLocationIdsBytesin 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:
getOrganizationIdsListin interfaceData.FilterOrBuilder- Returns:
- A list containing the organizationIds.
-
getOrganizationIdsCount
public int getOrganizationIdsCount()repeated string organization_ids = 11 [json_name = "organizationIds"];- Specified by:
getOrganizationIdsCountin interfaceData.FilterOrBuilder- Returns:
- The count of organizationIds.
-
getOrganizationIds
repeated string organization_ids = 11 [json_name = "organizationIds"];- Specified by:
getOrganizationIdsin 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:
getOrganizationIdsBytesin 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:
getMimeTypeListin interfaceData.FilterOrBuilder- Returns:
- A list containing the mimeType.
-
getMimeTypeCount
public int getMimeTypeCount()repeated string mime_type = 12 [json_name = "mimeType"];- Specified by:
getMimeTypeCountin interfaceData.FilterOrBuilder- Returns:
- The count of mimeType.
-
getMimeType
repeated string mime_type = 12 [json_name = "mimeType"];- Specified by:
getMimeTypein 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:
getMimeTypeBytesin 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:
hasIntervalin interfaceData.FilterOrBuilder- Returns:
- Whether the interval field is set.
-
getInterval
.viam.app.data.v1.CaptureInterval interval = 13 [json_name = "interval"];- Specified by:
getIntervalin interfaceData.FilterOrBuilder- Returns:
- The interval.
-
hasTagsFilter
public boolean hasTagsFilter().viam.app.data.v1.TagsFilter tags_filter = 14 [json_name = "tagsFilter"];- Specified by:
hasTagsFilterin interfaceData.FilterOrBuilder- Returns:
- Whether the tagsFilter field is set.
-
getTagsFilter
.viam.app.data.v1.TagsFilter tags_filter = 14 [json_name = "tagsFilter"];- Specified by:
getTagsFilterin 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:
getBboxLabelsListin 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:
getBboxLabelsCountin 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:
getBboxLabelsin 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:
getBboxLabelsBytesin 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:
getDatasetIdin interfaceData.FilterOrBuilder- Returns:
- The datasetId.
-
getDatasetIdBytes
public com.google.protobuf.ByteString getDatasetIdBytes()string dataset_id = 16 [json_name = "datasetId"];- Specified by:
getDatasetIdBytesin 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:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<Data.Filter,Data.Filter.Builder>
-
getDefaultInstance
-
parser
-