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 Classes
    Modifier and Type
    Class
    Description
    static 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

    Fields
    Modifier and Type
    Field
    Description
    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
     
    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 Type
    Method
    Description
    protected 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"];
     
    .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
    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
    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"];
     
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Data.Filter>
     

    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

      public String getComponentName()
      string component_name = 1 [json_name = "componentName"];
      Specified by:
      getComponentName in interface Data.FilterOrBuilder
      Returns:
      The componentName.
    • getComponentNameBytes

      public com.google.protobuf.ByteString getComponentNameBytes()
      string component_name = 1 [json_name = "componentName"];
      Specified by:
      getComponentNameBytes in interface Data.FilterOrBuilder
      Returns:
      The bytes for componentName.
    • getComponentType

      public String getComponentType()
      string component_type = 2 [json_name = "componentType"];
      Specified by:
      getComponentType in interface Data.FilterOrBuilder
      Returns:
      The componentType.
    • getComponentTypeBytes

      public com.google.protobuf.ByteString getComponentTypeBytes()
      string component_type = 2 [json_name = "componentType"];
      Specified by:
      getComponentTypeBytes in interface Data.FilterOrBuilder
      Returns:
      The bytes for componentType.
    • getMethod

      public String getMethod()
      string method = 4 [json_name = "method"];
      Specified by:
      getMethod in interface Data.FilterOrBuilder
      Returns:
      The method.
    • getMethodBytes

      public com.google.protobuf.ByteString getMethodBytes()
      string method = 4 [json_name = "method"];
      Specified by:
      getMethodBytes in interface Data.FilterOrBuilder
      Returns:
      The bytes for method.
    • getRobotName

      public String getRobotName()
      string robot_name = 6 [json_name = "robotName"];
      Specified by:
      getRobotName in interface Data.FilterOrBuilder
      Returns:
      The robotName.
    • getRobotNameBytes

      public com.google.protobuf.ByteString getRobotNameBytes()
      string robot_name = 6 [json_name = "robotName"];
      Specified by:
      getRobotNameBytes in interface Data.FilterOrBuilder
      Returns:
      The bytes for robotName.
    • getRobotId

      public String getRobotId()
      string robot_id = 7 [json_name = "robotId"];
      Specified by:
      getRobotId in interface Data.FilterOrBuilder
      Returns:
      The robotId.
    • getRobotIdBytes

      public com.google.protobuf.ByteString getRobotIdBytes()
      string robot_id = 7 [json_name = "robotId"];
      Specified by:
      getRobotIdBytes in interface Data.FilterOrBuilder
      Returns:
      The bytes for robotId.
    • getPartName

      public String getPartName()
      string part_name = 8 [json_name = "partName"];
      Specified by:
      getPartName in interface Data.FilterOrBuilder
      Returns:
      The partName.
    • getPartNameBytes

      public com.google.protobuf.ByteString getPartNameBytes()
      string part_name = 8 [json_name = "partName"];
      Specified by:
      getPartNameBytes in interface Data.FilterOrBuilder
      Returns:
      The bytes for partName.
    • getPartId

      public String getPartId()
      string part_id = 9 [json_name = "partId"];
      Specified by:
      getPartId in interface Data.FilterOrBuilder
      Returns:
      The partId.
    • getPartIdBytes

      public com.google.protobuf.ByteString getPartIdBytes()
      string part_id = 9 [json_name = "partId"];
      Specified by:
      getPartIdBytes in interface Data.FilterOrBuilder
      Returns:
      The bytes for partId.
    • getLocationIdsList

      public List<String> getLocationIdsList()
      repeated string location_ids = 10 [json_name = "locationIds"];
      Specified by:
      getLocationIdsList in interface Data.FilterOrBuilder
      Returns:
      A list containing the locationIds.
    • getLocationIdsCount

      public int getLocationIdsCount()
      repeated string location_ids = 10 [json_name = "locationIds"];
      Specified by:
      getLocationIdsCount in interface Data.FilterOrBuilder
      Returns:
      The count of locationIds.
    • getLocationIds

      public String getLocationIds(int index)
      repeated string location_ids = 10 [json_name = "locationIds"];
      Specified by:
      getLocationIds in interface Data.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 interface Data.FilterOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the locationIds at the given index.
    • getOrganizationIdsList

      public List<String> getOrganizationIdsList()
      repeated string organization_ids = 11 [json_name = "organizationIds"];
      Specified by:
      getOrganizationIdsList in interface Data.FilterOrBuilder
      Returns:
      A list containing the organizationIds.
    • getOrganizationIdsCount

      public int getOrganizationIdsCount()
      repeated string organization_ids = 11 [json_name = "organizationIds"];
      Specified by:
      getOrganizationIdsCount in interface Data.FilterOrBuilder
      Returns:
      The count of organizationIds.
    • getOrganizationIds

      public String getOrganizationIds(int index)
      repeated string organization_ids = 11 [json_name = "organizationIds"];
      Specified by:
      getOrganizationIds in interface Data.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 interface Data.FilterOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the organizationIds at the given index.
    • getMimeTypeList

      public List<String> getMimeTypeList()
      repeated string mime_type = 12 [json_name = "mimeType"];
      Specified by:
      getMimeTypeList in interface Data.FilterOrBuilder
      Returns:
      A list containing the mimeType.
    • getMimeTypeCount

      public int getMimeTypeCount()
      repeated string mime_type = 12 [json_name = "mimeType"];
      Specified by:
      getMimeTypeCount in interface Data.FilterOrBuilder
      Returns:
      The count of mimeType.
    • getMimeType

      public String getMimeType(int index)
      repeated string mime_type = 12 [json_name = "mimeType"];
      Specified by:
      getMimeType in interface Data.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 interface Data.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 interface Data.FilterOrBuilder
      Returns:
      Whether the interval field is set.
    • getInterval

      public Data.CaptureInterval getInterval()
      .viam.app.data.v1.CaptureInterval interval = 13 [json_name = "interval"];
      Specified by:
      getInterval in interface Data.FilterOrBuilder
      Returns:
      The interval.
    • hasTagsFilter

      public boolean hasTagsFilter()
      .viam.app.data.v1.TagsFilter tags_filter = 14 [json_name = "tagsFilter"];
      Specified by:
      hasTagsFilter in interface Data.FilterOrBuilder
      Returns:
      Whether the tagsFilter field is set.
    • getTagsFilter

      public Data.TagsFilter getTagsFilter()
      .viam.app.data.v1.TagsFilter tags_filter = 14 [json_name = "tagsFilter"];
      Specified by:
      getTagsFilter in interface Data.FilterOrBuilder
      Returns:
      The tagsFilter.
    • getBboxLabelsList

      public List<String> 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 interface Data.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 interface Data.FilterOrBuilder
      Returns:
      The count of bboxLabels.
    • getBboxLabels

      public String getBboxLabels(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:
      getBboxLabels in interface Data.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 interface Data.FilterOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the bboxLabels at the given index.
    • getDatasetId

      public String getDatasetId()
      string dataset_id = 16 [json_name = "datasetId"];
      Specified by:
      getDatasetId in interface Data.FilterOrBuilder
      Returns:
      The datasetId.
    • getDatasetIdBytes

      public com.google.protobuf.ByteString getDatasetIdBytes()
      string dataset_id = 16 [json_name = "datasetId"];
      Specified by:
      getDatasetIdBytes in interface Data.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

      public static Data.Filter parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Data.Filter parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Data.Filter parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Data.Filter parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Data.Filter parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Data.Filter parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilder

      public static Data.Filter.Builder newBuilder()
    • newBuilder

      public static Data.Filter.Builder newBuilder(Data.Filter prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<Data.Filter,Data.Filter.Builder>
    • getDefaultInstance

      public static Data.Filter getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Data.Filter> parser()