Package biopb.tensor
Class SerializedTensor.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<SerializedTensor.Builder>
biopb.tensor.SerializedTensor.Builder
- All Implemented Interfaces:
SerializedTensorOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SerializedTensor
public static final class SerializedTensor.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<SerializedTensor.Builder>
implements SerializedTensorOrBuilder
Serialized tensor for cross-process transfer. Contains connection info + chunk tickets for lazy reconstruction.Protobuf type
biopb.tensor.SerializedTensor-
Method Summary
Modifier and TypeMethodDescriptionaddAllEndpoints(Iterable<? extends SerializedEndpoint> values) Serialized flight endpoints.addEndpoints(int index, SerializedEndpoint value) Serialized flight endpoints.addEndpoints(int index, SerializedEndpoint.Builder builderForValue) Serialized flight endpoints.addEndpoints(SerializedEndpoint value) Serialized flight endpoints.addEndpoints(SerializedEndpoint.Builder builderForValue) Serialized flight endpoints.Serialized flight endpoints.addEndpointsBuilder(int index) Serialized flight endpoints.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Auth token (empty if no auth)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.Serialized flight endpoints.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Flight server location URI (e.g., "grpc://localhost:8815")clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Original user-requested slice_hint (before LCM alignment).Tensor metadata (shape, dtype, chunk_shape, scale_hint, reduction_method, realized slice_hint)clone()booleanSchema 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.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEndpoints(int index) Serialized flight endpoints.getEndpointsBuilder(int index) Serialized flight endpoints.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")Deprecated.Original user-requested slice_hint (before LCM alignment).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)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)protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(SerializedTensor other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeOriginalSliceHint(SliceHint value) Original user-requested slice_hint (before LCM alignment).Tensor metadata (shape, dtype, chunk_shape, scale_hint, reduction_method, realized slice_hint)final SerializedTensor.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllSchemaMetadata(Map<String, String> values) Schema metadata from GetFlightInfo for SHM transfer feature detection.putSchemaMetadata(String key, String value) Schema metadata from GetFlightInfo for SHM transfer feature detection.removeEndpoints(int index) Serialized flight endpoints.Schema metadata from GetFlightInfo for SHM transfer feature detection.setAuthToken(String value) Auth token (empty if no auth)setAuthTokenBytes(com.google.protobuf.ByteString value) Auth token (empty if no auth)setDebugPickledArray(com.google.protobuf.ByteString value) 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.setEndpoints(int index, SerializedEndpoint value) Serialized flight endpoints.setEndpoints(int index, SerializedEndpoint.Builder builderForValue) Serialized flight endpoints.setLocation(String value) Flight server location URI (e.g., "grpc://localhost:8815")setLocationBytes(com.google.protobuf.ByteString value) Flight server location URI (e.g., "grpc://localhost:8815")setOriginalSliceHint(SliceHint value) Original user-requested slice_hint (before LCM alignment).setOriginalSliceHint(SliceHint.Builder builderForValue) Original user-requested slice_hint (before LCM alignment).setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Tensor metadata (shape, dtype, chunk_shape, scale_hint, reduction_method, realized slice_hint)setTensorDescriptor(TensorDescriptor.Builder builderForValue) Tensor metadata (shape, dtype, chunk_shape, scale_hint, reduction_method, realized slice_hint)final SerializedTensor.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<SerializedTensor.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<SerializedTensor.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<SerializedTensor.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<SerializedTensor.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<SerializedTensor.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SerializedTensor.Builder>
-
setField
public SerializedTensor.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SerializedTensor.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SerializedTensor.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SerializedTensor.Builder>
-
setRepeatedField
public SerializedTensor.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SerializedTensor.Builder>
-
addRepeatedField
public SerializedTensor.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SerializedTensor.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SerializedTensor.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SerializedTensor.Builder>
-
mergeFrom
public SerializedTensor.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SerializedTensor.Builder>- Throws:
IOException
-
hasTensorDescriptor
public boolean hasTensorDescriptor()Tensor metadata (shape, dtype, chunk_shape, scale_hint, reduction_method, realized slice_hint)
.biopb.tensor.TensorDescriptor tensor_descriptor = 1;- Specified by:
hasTensorDescriptorin interfaceSerializedTensorOrBuilder- Returns:
- Whether the tensorDescriptor field is set.
-
getTensorDescriptor
Tensor metadata (shape, dtype, chunk_shape, scale_hint, reduction_method, realized slice_hint)
.biopb.tensor.TensorDescriptor tensor_descriptor = 1;- Specified by:
getTensorDescriptorin interfaceSerializedTensorOrBuilder- Returns:
- The tensorDescriptor.
-
setTensorDescriptor
Tensor metadata (shape, dtype, chunk_shape, scale_hint, reduction_method, realized slice_hint)
.biopb.tensor.TensorDescriptor tensor_descriptor = 1; -
setTensorDescriptor
Tensor metadata (shape, dtype, chunk_shape, scale_hint, reduction_method, realized slice_hint)
.biopb.tensor.TensorDescriptor tensor_descriptor = 1; -
mergeTensorDescriptor
Tensor metadata (shape, dtype, chunk_shape, scale_hint, reduction_method, realized slice_hint)
.biopb.tensor.TensorDescriptor tensor_descriptor = 1; -
clearTensorDescriptor
Tensor metadata (shape, dtype, chunk_shape, scale_hint, reduction_method, realized slice_hint)
.biopb.tensor.TensorDescriptor tensor_descriptor = 1; -
getTensorDescriptorBuilder
Tensor metadata (shape, dtype, chunk_shape, scale_hint, reduction_method, realized slice_hint)
.biopb.tensor.TensorDescriptor tensor_descriptor = 1; -
getTensorDescriptorOrBuilder
Tensor metadata (shape, dtype, chunk_shape, scale_hint, reduction_method, realized slice_hint)
.biopb.tensor.TensorDescriptor tensor_descriptor = 1;- Specified by:
getTensorDescriptorOrBuilderin interfaceSerializedTensorOrBuilder
-
hasOriginalSliceHint
public boolean hasOriginalSliceHint()Original user-requested slice_hint (before LCM alignment). Used for cropping after reconstruction.
.biopb.tensor.SliceHint original_slice_hint = 2;- Specified by:
hasOriginalSliceHintin interfaceSerializedTensorOrBuilder- Returns:
- Whether the originalSliceHint field is set.
-
getOriginalSliceHint
Original user-requested slice_hint (before LCM alignment). Used for cropping after reconstruction.
.biopb.tensor.SliceHint original_slice_hint = 2;- Specified by:
getOriginalSliceHintin interfaceSerializedTensorOrBuilder- Returns:
- The originalSliceHint.
-
setOriginalSliceHint
Original user-requested slice_hint (before LCM alignment). Used for cropping after reconstruction.
.biopb.tensor.SliceHint original_slice_hint = 2; -
setOriginalSliceHint
Original user-requested slice_hint (before LCM alignment). Used for cropping after reconstruction.
.biopb.tensor.SliceHint original_slice_hint = 2; -
mergeOriginalSliceHint
Original user-requested slice_hint (before LCM alignment). Used for cropping after reconstruction.
.biopb.tensor.SliceHint original_slice_hint = 2; -
clearOriginalSliceHint
Original user-requested slice_hint (before LCM alignment). Used for cropping after reconstruction.
.biopb.tensor.SliceHint original_slice_hint = 2; -
getOriginalSliceHintBuilder
Original user-requested slice_hint (before LCM alignment). Used for cropping after reconstruction.
.biopb.tensor.SliceHint original_slice_hint = 2; -
getOriginalSliceHintOrBuilder
Original user-requested slice_hint (before LCM alignment). Used for cropping after reconstruction.
.biopb.tensor.SliceHint original_slice_hint = 2;- Specified by:
getOriginalSliceHintOrBuilderin interfaceSerializedTensorOrBuilder
-
getLocation
Flight server location URI (e.g., "grpc://localhost:8815")
string location = 3;- Specified by:
getLocationin interfaceSerializedTensorOrBuilder- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()Flight server location URI (e.g., "grpc://localhost:8815")
string location = 3;- Specified by:
getLocationBytesin interfaceSerializedTensorOrBuilder- Returns:
- The bytes for location.
-
setLocation
Flight server location URI (e.g., "grpc://localhost:8815")
string location = 3;- Parameters:
value- The location to set.- Returns:
- This builder for chaining.
-
clearLocation
Flight server location URI (e.g., "grpc://localhost:8815")
string location = 3;- Returns:
- This builder for chaining.
-
setLocationBytes
Flight server location URI (e.g., "grpc://localhost:8815")
string location = 3;- Parameters:
value- The bytes for location to set.- Returns:
- This builder for chaining.
-
getAuthToken
Auth token (empty if no auth)
string auth_token = 4;- Specified by:
getAuthTokenin interfaceSerializedTensorOrBuilder- Returns:
- The authToken.
-
getAuthTokenBytes
public com.google.protobuf.ByteString getAuthTokenBytes()Auth token (empty if no auth)
string auth_token = 4;- Specified by:
getAuthTokenBytesin interfaceSerializedTensorOrBuilder- Returns:
- The bytes for authToken.
-
setAuthToken
Auth token (empty if no auth)
string auth_token = 4;- Parameters:
value- The authToken to set.- Returns:
- This builder for chaining.
-
clearAuthToken
Auth token (empty if no auth)
string auth_token = 4;- Returns:
- This builder for chaining.
-
setAuthTokenBytes
Auth token (empty if no auth)
string auth_token = 4;- Parameters:
value- The bytes for authToken to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getEndpointsListin interfaceSerializedTensorOrBuilder
-
getEndpointsCount
public 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;- Specified by:
getEndpointsCountin interfaceSerializedTensorOrBuilder
-
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;- Specified by:
getEndpointsin interfaceSerializedTensorOrBuilder
-
setEndpoints
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; -
setEndpoints
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; -
addEndpoints
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; -
addEndpoints
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; -
addEndpoints
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; -
addEndpoints
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; -
addAllEndpoints
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; -
clearEndpoints
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; -
removeEndpoints
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; -
getEndpointsBuilder
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;- Specified by:
getEndpointsOrBuilderin interfaceSerializedTensorOrBuilder
-
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;- Specified by:
getEndpointsOrBuilderListin interfaceSerializedTensorOrBuilder
-
addEndpointsBuilder
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; -
addEndpointsBuilder
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; -
getEndpointsBuilderList
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
public int getSchemaMetadataCount()Description copied from interface:SerializedTensorOrBuilderSchema metadata from GetFlightInfo for SHM transfer feature detection. Populated by get_tensor_pb() when schema has metadata.
map<string, string> schema_metadata = 6;- Specified by:
getSchemaMetadataCountin interfaceSerializedTensorOrBuilder
-
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;- Specified by:
containsSchemaMetadatain interfaceSerializedTensorOrBuilder
-
getSchemaMetadata
Deprecated.UsegetSchemaMetadataMap()instead.- Specified by:
getSchemaMetadatain interfaceSerializedTensorOrBuilder
-
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;- Specified by:
getSchemaMetadataMapin interfaceSerializedTensorOrBuilder
-
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;- Specified by:
getSchemaMetadataOrDefaultin interfaceSerializedTensorOrBuilder
-
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;- Specified by:
getSchemaMetadataOrThrowin interfaceSerializedTensorOrBuilder
-
clearSchemaMetadata
-
removeSchemaMetadata
Schema metadata from GetFlightInfo for SHM transfer feature detection. Populated by get_tensor_pb() when schema has metadata.
map<string, string> schema_metadata = 6; -
getMutableSchemaMetadata
Deprecated.Use alternate mutation accessors instead. -
putSchemaMetadata
Schema metadata from GetFlightInfo for SHM transfer feature detection. Populated by get_tensor_pb() when schema has metadata.
map<string, string> schema_metadata = 6; -
putAllSchemaMetadata
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
public 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;- Specified by:
getDebugPickledArrayin interfaceSerializedTensorOrBuilder- Returns:
- The debugPickledArray.
-
setDebugPickledArray
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;- Parameters:
value- The debugPickledArray to set.- Returns:
- This builder for chaining.
-
clearDebugPickledArray
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:
- This builder for chaining.
-
setUnknownFields
public final SerializedTensor.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SerializedTensor.Builder>
-
mergeUnknownFields
public final SerializedTensor.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SerializedTensor.Builder>
-