Package org.mlflow.api.proto
Class Jobs.JobProgress
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.mlflow.api.proto.Jobs.JobProgress
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Jobs.JobProgressOrBuilder
- Enclosing class:
- Jobs
public static final class Jobs.JobProgress
extends com.google.protobuf.GeneratedMessageV3
implements Jobs.JobProgressOrBuilder
Structured best-effort progress payload for a running job.Protobuf type
mlflow.JobProgress- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classStructured best-effort progress payload for a running job.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 com.google.protobuf.Parser<Jobs.JobProgress>Deprecated.static 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 TypeMethodDescriptionbooleanlongAmount of work completed so far, e.g.static Jobs.JobProgressstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<Jobs.JobProgress>getPhase()Current phase or stage of the job, e.g.com.google.protobuf.ByteStringCurrent phase or stage of the job, e.g.intlonggetTotal()Total amount of work, if known, e.g.getUnit()Unit for the ``completed`` and ``total`` values, e.g.com.google.protobuf.ByteStringUnit for the ``completed`` and ``total`` values, e.g.final com.google.protobuf.UnknownFieldSetbooleanAmount of work completed so far, e.g.inthashCode()booleanhasPhase()Current phase or stage of the job, e.g.booleanhasTotal()Total amount of work, if known, e.g.booleanhasUnit()Unit for the ``completed`` and ``total`` values, e.g.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Jobs.JobProgress.Builderstatic Jobs.JobProgress.BuildernewBuilder(Jobs.JobProgress prototype) protected Jobs.JobProgress.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Jobs.JobProgressparseDelimitedFrom(InputStream input) static Jobs.JobProgressparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Jobs.JobProgressparseFrom(byte[] data) static Jobs.JobProgressparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Jobs.JobProgressparseFrom(com.google.protobuf.ByteString data) static Jobs.JobProgressparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Jobs.JobProgressparseFrom(com.google.protobuf.CodedInputStream input) static Jobs.JobProgressparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Jobs.JobProgressparseFrom(InputStream input) static Jobs.JobProgressparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Jobs.JobProgressparseFrom(ByteBuffer data) static Jobs.JobProgressparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Jobs.JobProgress>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, 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, hasField, hasOneof
-
Field Details
-
PHASE_FIELD_NUMBER
public static final int PHASE_FIELD_NUMBER- See Also:
-
COMPLETED_FIELD_NUMBER
public static final int COMPLETED_FIELD_NUMBER- See Also:
-
TOTAL_FIELD_NUMBER
public static final int TOTAL_FIELD_NUMBER- See Also:
-
UNIT_FIELD_NUMBER
public static final int UNIT_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
-
hasPhase
public boolean hasPhase()Current phase or stage of the job, e.g. ``"scoring traces"``.
optional string phase = 1;- Specified by:
hasPhasein interfaceJobs.JobProgressOrBuilder- Returns:
- Whether the phase field is set.
-
getPhase
Current phase or stage of the job, e.g. ``"scoring traces"``.
optional string phase = 1;- Specified by:
getPhasein interfaceJobs.JobProgressOrBuilder- Returns:
- The phase.
-
getPhaseBytes
public com.google.protobuf.ByteString getPhaseBytes()Current phase or stage of the job, e.g. ``"scoring traces"``.
optional string phase = 1;- Specified by:
getPhaseBytesin interfaceJobs.JobProgressOrBuilder- Returns:
- The bytes for phase.
-
hasCompleted
public boolean hasCompleted()Amount of work completed so far, e.g. ``42``.
optional int64 completed = 2;- Specified by:
hasCompletedin interfaceJobs.JobProgressOrBuilder- Returns:
- Whether the completed field is set.
-
getCompleted
public long getCompleted()Amount of work completed so far, e.g. ``42``.
optional int64 completed = 2;- Specified by:
getCompletedin interfaceJobs.JobProgressOrBuilder- Returns:
- The completed.
-
hasTotal
public boolean hasTotal()Total amount of work, if known, e.g. ``100``.
optional int64 total = 3;- Specified by:
hasTotalin interfaceJobs.JobProgressOrBuilder- Returns:
- Whether the total field is set.
-
getTotal
public long getTotal()Total amount of work, if known, e.g. ``100``.
optional int64 total = 3;- Specified by:
getTotalin interfaceJobs.JobProgressOrBuilder- Returns:
- The total.
-
hasUnit
public boolean hasUnit()Unit for the ``completed`` and ``total`` values, e.g. ``"trace"`` or ``"file"``.
optional string unit = 4;- Specified by:
hasUnitin interfaceJobs.JobProgressOrBuilder- Returns:
- Whether the unit field is set.
-
getUnit
Unit for the ``completed`` and ``total`` values, e.g. ``"trace"`` or ``"file"``.
optional string unit = 4;- Specified by:
getUnitin interfaceJobs.JobProgressOrBuilder- Returns:
- The unit.
-
getUnitBytes
public com.google.protobuf.ByteString getUnitBytes()Unit for the ``completed`` and ``total`` values, e.g. ``"trace"`` or ``"file"``.
optional string unit = 4;- Specified by:
getUnitBytesin interfaceJobs.JobProgressOrBuilder- Returns:
- The bytes for unit.
-
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 Jobs.JobProgress parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Jobs.JobProgress parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Jobs.JobProgress parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Jobs.JobProgress parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Jobs.JobProgress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Jobs.JobProgress parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Jobs.JobProgress parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Jobs.JobProgress parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Jobs.JobProgress parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Jobs.JobProgress 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 Jobs.JobProgress.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
-