Package biopb.tensor
Class WarmProgress
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
biopb.tensor.WarmProgress
- All Implemented Interfaces:
WarmProgressOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class WarmProgress
extends com.google.protobuf.GeneratedMessageV3
implements WarmProgressOrBuilder
Progress for an in-flight "warm" (hydrate-ahead) Flight action. After a source is resolved, a multi-file cloud source's member data files are still dehydrated and recall one-at-a-time onto the lazy read path. "warm" opts into pulling them all resident on the server up front: it walks the source directory and reads each file to force the sync engine's recall, streaming these so a client can show progress (files / bytes) and cancel. The recall happens server-side -- no pixels cross the wire, only this progress. Informational only.Protobuf type
biopb.tensor.WarmProgress- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProgress for an in-flight "warm" (hydrate-ahead) Flight action.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 TypeMethodDescriptionbooleanlongBytes read (recalled) so far.longSum of file sizes in bytes (stat is recall-free), or 0 while enumerating.Basename of the file currently being recalled, or empty.com.google.protobuf.ByteStringBasename of the file currently being recalled, or empty.static WarmProgressstatic final com.google.protobuf.Descriptors.DescriptordoubleSeconds elapsed since warming began on the server.intFiles fully read (made resident) so far.intTotal regular files discovered under the source (the recall-free stat pass).com.google.protobuf.Parser<WarmProgress>intinthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic WarmProgress.Builderstatic WarmProgress.BuildernewBuilder(WarmProgress prototype) protected WarmProgress.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static WarmProgressparseDelimitedFrom(InputStream input) static WarmProgressparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WarmProgressparseFrom(byte[] data) static WarmProgressparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WarmProgressparseFrom(com.google.protobuf.ByteString data) static WarmProgressparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WarmProgressparseFrom(com.google.protobuf.CodedInputStream input) static WarmProgressparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WarmProgressparseFrom(InputStream input) static WarmProgressparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WarmProgressparseFrom(ByteBuffer data) static WarmProgressparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<WarmProgress>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
-
FILES_TOTAL_FIELD_NUMBER
public static final int FILES_TOTAL_FIELD_NUMBER- See Also:
-
FILES_DONE_FIELD_NUMBER
public static final int FILES_DONE_FIELD_NUMBER- See Also:
-
BYTES_TOTAL_FIELD_NUMBER
public static final int BYTES_TOTAL_FIELD_NUMBER- See Also:
-
BYTES_DONE_FIELD_NUMBER
public static final int BYTES_DONE_FIELD_NUMBER- See Also:
-
CURRENT_NAME_FIELD_NUMBER
public static final int CURRENT_NAME_FIELD_NUMBER- See Also:
-
ELAPSED_SECONDS_FIELD_NUMBER
public static final int ELAPSED_SECONDS_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
-
getFilesTotal
public int getFilesTotal()Total regular files discovered under the source (the recall-free stat pass). 0 while still enumerating.
int32 files_total = 1;- Specified by:
getFilesTotalin interfaceWarmProgressOrBuilder- Returns:
- The filesTotal.
-
getFilesDone
public int getFilesDone()Files fully read (made resident) so far.
int32 files_done = 2;- Specified by:
getFilesDonein interfaceWarmProgressOrBuilder- Returns:
- The filesDone.
-
getBytesTotal
public long getBytesTotal()Sum of file sizes in bytes (stat is recall-free), or 0 while enumerating.
int64 bytes_total = 3;- Specified by:
getBytesTotalin interfaceWarmProgressOrBuilder- Returns:
- The bytesTotal.
-
getBytesDone
public long getBytesDone()Bytes read (recalled) so far.
int64 bytes_done = 4;- Specified by:
getBytesDonein interfaceWarmProgressOrBuilder- Returns:
- The bytesDone.
-
getCurrentName
Basename of the file currently being recalled, or empty.
string current_name = 5;- Specified by:
getCurrentNamein interfaceWarmProgressOrBuilder- Returns:
- The currentName.
-
getCurrentNameBytes
public com.google.protobuf.ByteString getCurrentNameBytes()Basename of the file currently being recalled, or empty.
string current_name = 5;- Specified by:
getCurrentNameBytesin interfaceWarmProgressOrBuilder- Returns:
- The bytes for currentName.
-
getElapsedSeconds
public double getElapsedSeconds()Seconds elapsed since warming began on the server.
double elapsed_seconds = 6;- Specified by:
getElapsedSecondsin interfaceWarmProgressOrBuilder- Returns:
- The elapsedSeconds.
-
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 WarmProgress parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WarmProgress parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WarmProgress parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WarmProgress parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WarmProgress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WarmProgress parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static WarmProgress parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static WarmProgress parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static WarmProgress 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 WarmProgress.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
-