Package biopb.tensor
Interface UploadStatusOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UploadStatus,UploadStatus.Builder
public interface UploadStatusOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongThe chunk grid declared at create time.Why the upload was discarded; empty otherwise.com.google.protobuf.ByteStringWhy the upload was discarded; empty otherwise.getState().biopb.tensor.UploadStatus.State state = 1;int.biopb.tensor.UploadStatus.State state = 1;longDistinct chunks that have landed; frozen at the count reached once DISCARDED.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
-
getStateValue
int getStateValue().biopb.tensor.UploadStatus.State state = 1;- Returns:
- The enum numeric value on the wire for state.
-
getState
UploadStatus.State getState().biopb.tensor.UploadStatus.State state = 1;- Returns:
- The state.
-
getExpectedChunks
long getExpectedChunks()The chunk grid declared at create time.
int64 expected_chunks = 2;- Returns:
- The expectedChunks.
-
getUploadedChunks
long getUploadedChunks()Distinct chunks that have landed; frozen at the count reached once DISCARDED. Never a completeness test: a `cache:` source takes arbitrary bounds, and a set with zero-filled regions is complete with fewer chunks than the grid has cells. READY is the completeness signal.
int64 uploaded_chunks = 3;- Returns:
- The uploadedChunks.
-
getReason
String getReason()Why the upload was discarded; empty otherwise. Consumer-facing -- it is a message to whoever was waiting on the result, not a log line, so a producer should not put a raw traceback in it.
string reason = 4;- Returns:
- The reason.
-
getReasonBytes
com.google.protobuf.ByteString getReasonBytes()Why the upload was discarded; empty otherwise. Consumer-facing -- it is a message to whoever was waiting on the result, not a log line, so a producer should not put a raw traceback in it.
string reason = 4;- Returns:
- The bytes for reason.
-