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 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

      SerializedEndpoint getEndpoints(int index)
       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

      SerializedEndpointOrBuilder getEndpointsOrBuilder(int index)
       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

      boolean containsSchemaMetadata(String key)
       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 Map<String,String> getSchemaMetadata()
      Deprecated.
    • getSchemaMetadataMap

      Map<String,String> 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

      String getSchemaMetadataOrDefault(String key, String defaultValue)
       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

      String getSchemaMetadataOrThrow(String key)
       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.