Package biopb.tensor
Class DataSourceDescriptor
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
biopb.tensor.DataSourceDescriptor
- All Implemented Interfaces:
DataSourceDescriptorOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class DataSourceDescriptor
extends com.google.protobuf.GeneratedMessageV3
implements DataSourceDescriptorOrBuilder
Describes a data source containing one or more tensors. Used in ListFlights response to provide full tensor metadata upfront. Enables multifield support where tensors within a source have different shapes.Protobuf type
biopb.tensor.DataSourceDescriptor- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDescribes a data source containing one or more tensors.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter 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 intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanAdvisory, point-in-time hint: this source's content is local and cheap to read right now.static DataSourceDescriptorstatic final com.google.protobuf.Descriptors.DescriptorSource-level OME/vendor metadata (JSON format)com.google.protobuf.ByteStringSource-level OME/vendor metadata (JSON format)com.google.protobuf.Parser<DataSourceDescriptor>intUnique identifier for the data source (flight identifier)com.google.protobuf.ByteStringUnique identifier for the data source (flight identifier)Source type: "aics", "micromanager", "ome-zarr", "zarr", "hdf5", etc.com.google.protobuf.ByteStringSource type: "aics", "micromanager", "ome-zarr", "zarr", "hdf5", etc.File path, directory, or remote URLcom.google.protobuf.ByteStringFile path, directory, or remote URLgetTensors(int index) All tensor descriptors in this source metadata_json field not populated here (source-level metadata only)intAll tensor descriptors in this source metadata_json field not populated here (source-level metadata only)All tensor descriptors in this source metadata_json field not populated here (source-level metadata only)getTensorsOrBuilder(int index) All tensor descriptors in this source metadata_json field not populated here (source-level metadata only)List<? extends TensorDescriptorOrBuilder>All tensor descriptors in this source metadata_json field not populated here (source-level metadata only)booleanAdvisory, point-in-time hint: this source's content is local and cheap to read right now.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic DataSourceDescriptor.Builderstatic DataSourceDescriptor.BuildernewBuilder(DataSourceDescriptor prototype) protected DataSourceDescriptor.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static DataSourceDescriptorparseDelimitedFrom(InputStream input) static DataSourceDescriptorparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataSourceDescriptorparseFrom(byte[] data) static DataSourceDescriptorparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataSourceDescriptorparseFrom(com.google.protobuf.ByteString data) static DataSourceDescriptorparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataSourceDescriptorparseFrom(com.google.protobuf.CodedInputStream input) static DataSourceDescriptorparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataSourceDescriptorparseFrom(InputStream input) static DataSourceDescriptorparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataSourceDescriptorparseFrom(ByteBuffer data) static DataSourceDescriptorparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DataSourceDescriptor>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, 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.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
SOURCE_ID_FIELD_NUMBER
public static final int SOURCE_ID_FIELD_NUMBER- See Also:
-
SOURCE_URL_FIELD_NUMBER
public static final int SOURCE_URL_FIELD_NUMBER- See Also:
-
SOURCE_TYPE_FIELD_NUMBER
public static final int SOURCE_TYPE_FIELD_NUMBER- See Also:
-
TENSORS_FIELD_NUMBER
public static final int TENSORS_FIELD_NUMBER- See Also:
-
METADATA_JSON_FIELD_NUMBER
public static final int METADATA_JSON_FIELD_NUMBER- See Also:
-
DATA_RESIDENT_FIELD_NUMBER
public static final int DATA_RESIDENT_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getSourceId
Unique identifier for the data source (flight identifier)
string source_id = 1;- Specified by:
getSourceIdin interfaceDataSourceDescriptorOrBuilder- Returns:
- The sourceId.
-
getSourceIdBytes
public com.google.protobuf.ByteString getSourceIdBytes()Unique identifier for the data source (flight identifier)
string source_id = 1;- Specified by:
getSourceIdBytesin interfaceDataSourceDescriptorOrBuilder- Returns:
- The bytes for sourceId.
-
getSourceUrl
File path, directory, or remote URL
string source_url = 2;- Specified by:
getSourceUrlin interfaceDataSourceDescriptorOrBuilder- Returns:
- The sourceUrl.
-
getSourceUrlBytes
public com.google.protobuf.ByteString getSourceUrlBytes()File path, directory, or remote URL
string source_url = 2;- Specified by:
getSourceUrlBytesin interfaceDataSourceDescriptorOrBuilder- Returns:
- The bytes for sourceUrl.
-
getSourceType
Source type: "aics", "micromanager", "ome-zarr", "zarr", "hdf5", etc.
string source_type = 3;- Specified by:
getSourceTypein interfaceDataSourceDescriptorOrBuilder- Returns:
- The sourceType.
-
getSourceTypeBytes
public com.google.protobuf.ByteString getSourceTypeBytes()Source type: "aics", "micromanager", "ome-zarr", "zarr", "hdf5", etc.
string source_type = 3;- Specified by:
getSourceTypeBytesin interfaceDataSourceDescriptorOrBuilder- Returns:
- The bytes for sourceType.
-
getTensorsList
All tensor descriptors in this source metadata_json field not populated here (source-level metadata only)
repeated .biopb.tensor.TensorDescriptor tensors = 4;- Specified by:
getTensorsListin interfaceDataSourceDescriptorOrBuilder
-
getTensorsOrBuilderList
All tensor descriptors in this source metadata_json field not populated here (source-level metadata only)
repeated .biopb.tensor.TensorDescriptor tensors = 4;- Specified by:
getTensorsOrBuilderListin interfaceDataSourceDescriptorOrBuilder
-
getTensorsCount
public int getTensorsCount()All tensor descriptors in this source metadata_json field not populated here (source-level metadata only)
repeated .biopb.tensor.TensorDescriptor tensors = 4;- Specified by:
getTensorsCountin interfaceDataSourceDescriptorOrBuilder
-
getTensors
All tensor descriptors in this source metadata_json field not populated here (source-level metadata only)
repeated .biopb.tensor.TensorDescriptor tensors = 4;- Specified by:
getTensorsin interfaceDataSourceDescriptorOrBuilder
-
getTensorsOrBuilder
All tensor descriptors in this source metadata_json field not populated here (source-level metadata only)
repeated .biopb.tensor.TensorDescriptor tensors = 4;- Specified by:
getTensorsOrBuilderin interfaceDataSourceDescriptorOrBuilder
-
getMetadataJson
Source-level OME/vendor metadata (JSON format)
string metadata_json = 5;- Specified by:
getMetadataJsonin interfaceDataSourceDescriptorOrBuilder- Returns:
- The metadataJson.
-
getMetadataJsonBytes
public com.google.protobuf.ByteString getMetadataJsonBytes()Source-level OME/vendor metadata (JSON format)
string metadata_json = 5;- Specified by:
getMetadataJsonBytesin interfaceDataSourceDescriptorOrBuilder- Returns:
- The bytes for metadataJson.
-
hasDataResident
public boolean hasDataResident()Advisory, point-in-time hint: this source's content is local and cheap to read right now. VOLATILE -- a synced-folder source can re-dehydrate under storage pressure, so the authoritative residency gate is a fresh stat (adapter.is_resident()), not this stored value. `optional` so absence is distinguishable from false: servers predating this field leave it unset (residency unknown); a resident local source sets it true, a remote (fsspec) source false until its pixels are materialized locally.
optional bool data_resident = 6;- Specified by:
hasDataResidentin interfaceDataSourceDescriptorOrBuilder- Returns:
- Whether the dataResident field is set.
-
getDataResident
public boolean getDataResident()Advisory, point-in-time hint: this source's content is local and cheap to read right now. VOLATILE -- a synced-folder source can re-dehydrate under storage pressure, so the authoritative residency gate is a fresh stat (adapter.is_resident()), not this stored value. `optional` so absence is distinguishable from false: servers predating this field leave it unset (residency unknown); a resident local source sets it true, a remote (fsspec) source false until its pixels are materialized locally.
optional bool data_resident = 6;- Specified by:
getDataResidentin interfaceDataSourceDescriptorOrBuilder- Returns:
- The dataResident.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DataSourceDescriptor parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSourceDescriptor parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSourceDescriptor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSourceDescriptor parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSourceDescriptor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSourceDescriptor parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DataSourceDescriptor parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DataSourceDescriptor parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DataSourceDescriptor parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DataSourceDescriptor parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DataSourceDescriptor.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-