Package viam.app.data.v1
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
Modifier and TypeClassDescriptionstatic 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
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
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) .viam.app.data.v1.Annotations annotations = 8 [json_name = "annotations"];
.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"];
static Data.BinaryMetadata
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"];
getId()
string id = 1 [json_name = "id"];
com.google.protobuf.ByteString
string id = 1 [json_name = "id"];
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"];
getUri()
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"];
static Data.BinaryMetadata.Builder
static Data.BinaryMetadata.Builder
newBuilder
(Data.BinaryMetadata prototype) static Data.BinaryMetadata
parseDelimitedFrom
(InputStream input) static Data.BinaryMetadata
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.BinaryMetadata
parseFrom
(byte[] data) static Data.BinaryMetadata
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.BinaryMetadata
parseFrom
(com.google.protobuf.ByteString data) static Data.BinaryMetadata
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.BinaryMetadata
parseFrom
(com.google.protobuf.CodedInputStream input) static Data.BinaryMetadata
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.BinaryMetadata
parseFrom
(InputStream input) static Data.BinaryMetadata
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Data.BinaryMetadata
parseFrom
(ByteBuffer data) static Data.BinaryMetadata
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Data.BinaryMetadata>
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
-
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:
-
-
Method Details
-
getId
string id = 1 [json_name = "id"];
- Specified by:
getId
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id"];
- Specified by:
getIdBytes
in interfaceData.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 interfaceData.BinaryMetadataOrBuilder
- Returns:
- Whether the captureMetadata field is set.
-
getCaptureMetadata
.viam.app.data.v1.CaptureMetadata capture_metadata = 2 [json_name = "captureMetadata"];
- Specified by:
getCaptureMetadata
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- The captureMetadata.
-
hasTimeRequested
public boolean hasTimeRequested().google.protobuf.Timestamp time_requested = 3 [json_name = "timeRequested"];
- Specified by:
hasTimeRequested
in interfaceData.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 interfaceData.BinaryMetadataOrBuilder
- Returns:
- The timeRequested.
-
hasTimeReceived
public boolean hasTimeReceived().google.protobuf.Timestamp time_received = 4 [json_name = "timeReceived"];
- Specified by:
hasTimeReceived
in interfaceData.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 interfaceData.BinaryMetadataOrBuilder
- Returns:
- The timeReceived.
-
getFileName
string file_name = 5 [json_name = "fileName"];
- Specified by:
getFileName
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- The fileName.
-
getFileNameBytes
public com.google.protobuf.ByteString getFileNameBytes()string file_name = 5 [json_name = "fileName"];
- Specified by:
getFileNameBytes
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- The bytes for fileName.
-
getFileExt
string file_ext = 6 [json_name = "fileExt"];
- Specified by:
getFileExt
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- The fileExt.
-
getFileExtBytes
public com.google.protobuf.ByteString getFileExtBytes()string file_ext = 6 [json_name = "fileExt"];
- Specified by:
getFileExtBytes
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- The bytes for fileExt.
-
getUri
string uri = 7 [json_name = "uri"];
- Specified by:
getUri
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()string uri = 7 [json_name = "uri"];
- Specified by:
getUriBytes
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- The bytes for uri.
-
hasAnnotations
public boolean hasAnnotations().viam.app.data.v1.Annotations annotations = 8 [json_name = "annotations"];
- Specified by:
hasAnnotations
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- Whether the annotations field is set.
-
getAnnotations
.viam.app.data.v1.Annotations annotations = 8 [json_name = "annotations"];
- Specified by:
getAnnotations
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- The annotations.
-
getDatasetIdsList
repeated string dataset_ids = 9 [json_name = "datasetIds"];
- Specified by:
getDatasetIdsList
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- A list containing the datasetIds.
-
getDatasetIdsCount
public int getDatasetIdsCount()repeated string dataset_ids = 9 [json_name = "datasetIds"];
- Specified by:
getDatasetIdsCount
in interfaceData.BinaryMetadataOrBuilder
- Returns:
- The count of datasetIds.
-
getDatasetIds
repeated string dataset_ids = 9 [json_name = "datasetIds"];
- Specified by:
getDatasetIds
in interfaceData.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 interfaceData.BinaryMetadataOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the datasetIds at the given index.
-
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
- Throws:
IOException
-
parseFrom
public static Data.BinaryMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
-
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.BinaryMetadata,
Data.BinaryMetadata.Builder>
-
getDefaultInstance
-
parser
-