Class Data.BinaryMetadata

java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Data.BinaryMetadata,Data.BinaryMetadata.Builder>
viam.app.data.v1.Data.BinaryMetadata
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, Data.BinaryMetadataOrBuilder
Enclosing class:
Data

public static final class Data.BinaryMetadata extends com.google.protobuf.GeneratedMessageLite<Data.BinaryMetadata,Data.BinaryMetadata.Builder> implements Data.BinaryMetadataOrBuilder
 BinaryMetadata is the metadata associated with binary data.
 
Protobuf type viam.app.data.v1.BinaryMetadata
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    BinaryMetadata is the metadata associated with binary data.

    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
     

    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)
     
    .viam.app.data.v1.Annotations annotations = 8 [json_name = "annotations"];
    string binary_data_id = 10 [json_name = "binaryDataId"];
    com.google.protobuf.ByteString
    string binary_data_id = 10 [json_name = "binaryDataId"];
    .viam.app.data.v1.CaptureMetadata capture_metadata = 2 [json_name = "captureMetadata"];
    getDatasetIds(int index)
    repeated string dataset_ids = 9 [json_name = "datasetIds"];
    com.google.protobuf.ByteString
    getDatasetIdsBytes(int index)
    repeated string dataset_ids = 9 [json_name = "datasetIds"];
    int
    repeated string dataset_ids = 9 [json_name = "datasetIds"];
    repeated string dataset_ids = 9 [json_name = "datasetIds"];
     
    string file_ext = 6 [json_name = "fileExt"];
    com.google.protobuf.ByteString
    string file_ext = 6 [json_name = "fileExt"];
    string file_name = 5 [json_name = "fileName"];
    com.google.protobuf.ByteString
    string file_name = 5 [json_name = "fileName"];
    Deprecated.
    viam.app.data.v1.BinaryMetadata.id is deprecated.
    com.google.protobuf.ByteString
    Deprecated.
    viam.app.data.v1.BinaryMetadata.id is deprecated.
    com.google.protobuf.Timestamp
    .google.protobuf.Timestamp time_received = 4 [json_name = "timeReceived"];
    com.google.protobuf.Timestamp
    .google.protobuf.Timestamp time_requested = 3 [json_name = "timeRequested"];
    string uri = 7 [json_name = "uri"];
    com.google.protobuf.ByteString
    string uri = 7 [json_name = "uri"];
    boolean
    .viam.app.data.v1.Annotations annotations = 8 [json_name = "annotations"];
    boolean
    .viam.app.data.v1.CaptureMetadata capture_metadata = 2 [json_name = "captureMetadata"];
    boolean
    .google.protobuf.Timestamp time_received = 4 [json_name = "timeReceived"];
    boolean
    .google.protobuf.Timestamp time_requested = 3 [json_name = "timeRequested"];
     
     
     
    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.BinaryMetadata>
     

    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

    • ID_FIELD_NUMBER

      public static final int ID_FIELD_NUMBER
      See Also:
    • CAPTURE_METADATA_FIELD_NUMBER

      public static final int CAPTURE_METADATA_FIELD_NUMBER
      See Also:
    • TIME_REQUESTED_FIELD_NUMBER

      public static final int TIME_REQUESTED_FIELD_NUMBER
      See Also:
    • TIME_RECEIVED_FIELD_NUMBER

      public static final int TIME_RECEIVED_FIELD_NUMBER
      See Also:
    • FILE_NAME_FIELD_NUMBER

      public static final int FILE_NAME_FIELD_NUMBER
      See Also:
    • FILE_EXT_FIELD_NUMBER

      public static final int FILE_EXT_FIELD_NUMBER
      See Also:
    • URI_FIELD_NUMBER

      public static final int URI_FIELD_NUMBER
      See Also:
    • ANNOTATIONS_FIELD_NUMBER

      public static final int ANNOTATIONS_FIELD_NUMBER
      See Also:
    • DATASET_IDS_FIELD_NUMBER

      public static final int DATASET_IDS_FIELD_NUMBER
      See Also:
    • BINARY_DATA_ID_FIELD_NUMBER

      public static final int BINARY_DATA_ID_FIELD_NUMBER
      See Also:
  • Method Details

    • getId

      @Deprecated public String getId()
      Deprecated.
      viam.app.data.v1.BinaryMetadata.id is deprecated. See app/data/v1/data.proto;l=383
      string id = 1 [json_name = "id", deprecated = true];
      Specified by:
      getId in interface Data.BinaryMetadataOrBuilder
      Returns:
      The id.
    • getIdBytes

      @Deprecated public com.google.protobuf.ByteString getIdBytes()
      Deprecated.
      viam.app.data.v1.BinaryMetadata.id is deprecated. See app/data/v1/data.proto;l=383
      string id = 1 [json_name = "id", deprecated = true];
      Specified by:
      getIdBytes in interface Data.BinaryMetadataOrBuilder
      Returns:
      The bytes for id.
    • hasCaptureMetadata

      public boolean hasCaptureMetadata()
      .viam.app.data.v1.CaptureMetadata capture_metadata = 2 [json_name = "captureMetadata"];
      Specified by:
      hasCaptureMetadata in interface Data.BinaryMetadataOrBuilder
      Returns:
      Whether the captureMetadata field is set.
    • getCaptureMetadata

      public Data.CaptureMetadata getCaptureMetadata()
      .viam.app.data.v1.CaptureMetadata capture_metadata = 2 [json_name = "captureMetadata"];
      Specified by:
      getCaptureMetadata in interface Data.BinaryMetadataOrBuilder
      Returns:
      The captureMetadata.
    • hasTimeRequested

      public boolean hasTimeRequested()
      .google.protobuf.Timestamp time_requested = 3 [json_name = "timeRequested"];
      Specified by:
      hasTimeRequested in interface Data.BinaryMetadataOrBuilder
      Returns:
      Whether the timeRequested field is set.
    • getTimeRequested

      public com.google.protobuf.Timestamp getTimeRequested()
      .google.protobuf.Timestamp time_requested = 3 [json_name = "timeRequested"];
      Specified by:
      getTimeRequested in interface Data.BinaryMetadataOrBuilder
      Returns:
      The timeRequested.
    • hasTimeReceived

      public boolean hasTimeReceived()
      .google.protobuf.Timestamp time_received = 4 [json_name = "timeReceived"];
      Specified by:
      hasTimeReceived in interface Data.BinaryMetadataOrBuilder
      Returns:
      Whether the timeReceived field is set.
    • getTimeReceived

      public com.google.protobuf.Timestamp getTimeReceived()
      .google.protobuf.Timestamp time_received = 4 [json_name = "timeReceived"];
      Specified by:
      getTimeReceived in interface Data.BinaryMetadataOrBuilder
      Returns:
      The timeReceived.
    • getFileName

      public String getFileName()
      string file_name = 5 [json_name = "fileName"];
      Specified by:
      getFileName in interface Data.BinaryMetadataOrBuilder
      Returns:
      The fileName.
    • getFileNameBytes

      public com.google.protobuf.ByteString getFileNameBytes()
      string file_name = 5 [json_name = "fileName"];
      Specified by:
      getFileNameBytes in interface Data.BinaryMetadataOrBuilder
      Returns:
      The bytes for fileName.
    • getFileExt

      public String getFileExt()
      string file_ext = 6 [json_name = "fileExt"];
      Specified by:
      getFileExt in interface Data.BinaryMetadataOrBuilder
      Returns:
      The fileExt.
    • getFileExtBytes

      public com.google.protobuf.ByteString getFileExtBytes()
      string file_ext = 6 [json_name = "fileExt"];
      Specified by:
      getFileExtBytes in interface Data.BinaryMetadataOrBuilder
      Returns:
      The bytes for fileExt.
    • getUri

      public String getUri()
      string uri = 7 [json_name = "uri"];
      Specified by:
      getUri in interface Data.BinaryMetadataOrBuilder
      Returns:
      The uri.
    • getUriBytes

      public com.google.protobuf.ByteString getUriBytes()
      string uri = 7 [json_name = "uri"];
      Specified by:
      getUriBytes in interface Data.BinaryMetadataOrBuilder
      Returns:
      The bytes for uri.
    • hasAnnotations

      public boolean hasAnnotations()
      .viam.app.data.v1.Annotations annotations = 8 [json_name = "annotations"];
      Specified by:
      hasAnnotations in interface Data.BinaryMetadataOrBuilder
      Returns:
      Whether the annotations field is set.
    • getAnnotations

      public Data.Annotations getAnnotations()
      .viam.app.data.v1.Annotations annotations = 8 [json_name = "annotations"];
      Specified by:
      getAnnotations in interface Data.BinaryMetadataOrBuilder
      Returns:
      The annotations.
    • getDatasetIdsList

      public List<String> getDatasetIdsList()
      repeated string dataset_ids = 9 [json_name = "datasetIds"];
      Specified by:
      getDatasetIdsList in interface Data.BinaryMetadataOrBuilder
      Returns:
      A list containing the datasetIds.
    • getDatasetIdsCount

      public int getDatasetIdsCount()
      repeated string dataset_ids = 9 [json_name = "datasetIds"];
      Specified by:
      getDatasetIdsCount in interface Data.BinaryMetadataOrBuilder
      Returns:
      The count of datasetIds.
    • getDatasetIds

      public String getDatasetIds(int index)
      repeated string dataset_ids = 9 [json_name = "datasetIds"];
      Specified by:
      getDatasetIds in interface Data.BinaryMetadataOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The datasetIds at the given index.
    • getDatasetIdsBytes

      public com.google.protobuf.ByteString getDatasetIdsBytes(int index)
      repeated string dataset_ids = 9 [json_name = "datasetIds"];
      Specified by:
      getDatasetIdsBytes in interface Data.BinaryMetadataOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the datasetIds at the given index.
    • getBinaryDataId

      public String getBinaryDataId()
      string binary_data_id = 10 [json_name = "binaryDataId"];
      Specified by:
      getBinaryDataId in interface Data.BinaryMetadataOrBuilder
      Returns:
      The binaryDataId.
    • getBinaryDataIdBytes

      public com.google.protobuf.ByteString getBinaryDataIdBytes()
      string binary_data_id = 10 [json_name = "binaryDataId"];
      Specified by:
      getBinaryDataIdBytes in interface Data.BinaryMetadataOrBuilder
      Returns:
      The bytes for binaryDataId.
    • parseFrom

      public static Data.BinaryMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Data.BinaryMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Data.BinaryMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Data.BinaryMetadata 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.BinaryMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Data.BinaryMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

      public static Data.BinaryMetadata.Builder newBuilder(Data.BinaryMetadata 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.BinaryMetadata,Data.BinaryMetadata.Builder>
    • getDefaultInstance

      public static Data.BinaryMetadata getDefaultInstance()
    • parser

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