Package biopb.tensor
Interface SerializedTensorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SerializedTensor,SerializedTensor.Builder
public interface SerializedTensorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanSchema metadata from GetFlightInfo for SHM transfer feature detection.Auth token (empty if no auth)com.google.protobuf.ByteStringAuth token (empty if no auth)com.google.protobuf.ByteStringA python-only debugging field carrying pickeled stream of da.array, allowing integration tests to bypass the Flight server and directly reconstruct the tensor on the client side.getEndpoints(int index) Serialized flight endpoints.intSerialized flight endpoints.Serialized flight endpoints.getEndpointsOrBuilder(int index) Serialized flight endpoints.List<? extends SerializedEndpointOrBuilder>Serialized flight endpoints.Flight server location URI (e.g., "grpc://localhost:8815")com.google.protobuf.ByteStringFlight server location URI (e.g., "grpc://localhost:8815")Original user-requested slice_hint (before LCM alignment).Original user-requested slice_hint (before LCM alignment).Deprecated.intSchema metadata from GetFlightInfo for SHM transfer feature detection.Schema metadata from GetFlightInfo for SHM transfer feature detection.getSchemaMetadataOrDefault(String key, String defaultValue) Schema metadata from GetFlightInfo for SHM transfer feature detection.Schema metadata from GetFlightInfo for SHM transfer feature detection.Tensor metadata (shape, dtype, chunk_shape, scale_hint, reduction_method, realized slice_hint)Tensor metadata (shape, dtype, chunk_shape, scale_hint, reduction_method, realized slice_hint)booleanOriginal user-requested slice_hint (before LCM alignment).booleanTensor metadata (shape, dtype, chunk_shape, scale_hint, reduction_method, realized slice_hint)Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasTensorDescriptor
boolean hasTensorDescriptor()Tensor metadata (shape, dtype, chunk_shape, scale_hint, reduction_method, realized slice_hint)
.biopb.tensor.TensorDescriptor tensor_descriptor = 1;- Returns:
- Whether the tensorDescriptor field is set.
-
getTensorDescriptor
TensorDescriptor getTensorDescriptor()Tensor metadata (shape, dtype, chunk_shape, scale_hint, reduction_method, realized slice_hint)
.biopb.tensor.TensorDescriptor tensor_descriptor = 1;- Returns:
- The tensorDescriptor.
-
getTensorDescriptorOrBuilder
TensorDescriptorOrBuilder getTensorDescriptorOrBuilder()Tensor metadata (shape, dtype, chunk_shape, scale_hint, reduction_method, realized slice_hint)
.biopb.tensor.TensorDescriptor tensor_descriptor = 1; -
hasOriginalSliceHint
boolean hasOriginalSliceHint()Original user-requested slice_hint (before LCM alignment). Used for cropping after reconstruction.
.biopb.tensor.SliceHint original_slice_hint = 2;- Returns:
- Whether the originalSliceHint field is set.
-
getOriginalSliceHint
SliceHint getOriginalSliceHint()Original user-requested slice_hint (before LCM alignment). Used for cropping after reconstruction.
.biopb.tensor.SliceHint original_slice_hint = 2;- Returns:
- The originalSliceHint.
-
getOriginalSliceHintOrBuilder
SliceHintOrBuilder getOriginalSliceHintOrBuilder()Original user-requested slice_hint (before LCM alignment). Used for cropping after reconstruction.
.biopb.tensor.SliceHint original_slice_hint = 2; -
getLocation
String getLocation()Flight server location URI (e.g., "grpc://localhost:8815")
string location = 3;- Returns:
- The location.
-
getLocationBytes
com.google.protobuf.ByteString getLocationBytes()Flight server location URI (e.g., "grpc://localhost:8815")
string location = 3;- Returns:
- The bytes for location.
-
getAuthToken
String getAuthToken()Auth token (empty if no auth)
string auth_token = 4;- Returns:
- The authToken.
-
getAuthTokenBytes
com.google.protobuf.ByteString getAuthTokenBytes()Auth token (empty if no auth)
string auth_token = 4;- Returns:
- The bytes for authToken.
-
getEndpointsList
List<SerializedEndpoint> getEndpointsList()Serialized flight endpoints. This is optional field. If not present, client Should call GetFlightInfo on the server to rebuild endpoint list.
repeated .biopb.tensor.SerializedEndpoint endpoints = 5; -
getEndpoints
Serialized flight endpoints. This is optional field. If not present, client Should call GetFlightInfo on the server to rebuild endpoint list.
repeated .biopb.tensor.SerializedEndpoint endpoints = 5; -
getEndpointsCount
int getEndpointsCount()Serialized flight endpoints. This is optional field. If not present, client Should call GetFlightInfo on the server to rebuild endpoint list.
repeated .biopb.tensor.SerializedEndpoint endpoints = 5; -
getEndpointsOrBuilderList
List<? extends SerializedEndpointOrBuilder> getEndpointsOrBuilderList()Serialized flight endpoints. This is optional field. If not present, client Should call GetFlightInfo on the server to rebuild endpoint list.
repeated .biopb.tensor.SerializedEndpoint endpoints = 5; -
getEndpointsOrBuilder
Serialized flight endpoints. This is optional field. If not present, client Should call GetFlightInfo on the server to rebuild endpoint list.
repeated .biopb.tensor.SerializedEndpoint endpoints = 5; -
getSchemaMetadataCount
int getSchemaMetadataCount()Schema metadata from GetFlightInfo for SHM transfer feature detection. Populated by get_tensor_pb() when schema has metadata.
map<string, string> schema_metadata = 6; -
containsSchemaMetadata
Schema metadata from GetFlightInfo for SHM transfer feature detection. Populated by get_tensor_pb() when schema has metadata.
map<string, string> schema_metadata = 6; -
getSchemaMetadata
Deprecated.UsegetSchemaMetadataMap()instead. -
getSchemaMetadataMap
Schema metadata from GetFlightInfo for SHM transfer feature detection. Populated by get_tensor_pb() when schema has metadata.
map<string, string> schema_metadata = 6; -
getSchemaMetadataOrDefault
Schema metadata from GetFlightInfo for SHM transfer feature detection. Populated by get_tensor_pb() when schema has metadata.
map<string, string> schema_metadata = 6; -
getSchemaMetadataOrThrow
Schema metadata from GetFlightInfo for SHM transfer feature detection. Populated by get_tensor_pb() when schema has metadata.
map<string, string> schema_metadata = 6; -
getDebugPickledArray
com.google.protobuf.ByteString getDebugPickledArray()A python-only debugging field carrying pickeled stream of da.array, allowing integration tests to bypass the Flight server and directly reconstruct the tensor on the client side.
bytes debug_pickled_array = 100;- Returns:
- The debugPickledArray.
-