public final class Progress extends GeneratedMessageV3 implements ProgressOrBuilder
Measures the progress of a particular metric.
Protobuf type google.datastore.admin.v1.Progress
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
WORK_COMPLETED_FIELD_NUMBER
public static final int WORK_COMPLETED_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
WORK_ESTIMATED_FIELD_NUMBER
public static final int WORK_ESTIMATED_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Progress getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Progress.Builder newBuilder()
newBuilder(Progress prototype)
public static Progress.Builder newBuilder(Progress prototype)
Parameter |
---|
Name | Description |
prototype | Progress
|
public static Progress parseDelimitedFrom(InputStream input)
public static Progress parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Progress parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Progress parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Progress parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Progress parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Progress parseFrom(CodedInputStream input)
public static Progress parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Progress parseFrom(InputStream input)
public static Progress parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Progress parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Progress parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Progress> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public Progress getDefaultInstanceForType()
getParserForType()
public Parser<Progress> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getWorkCompleted()
public long getWorkCompleted()
The amount of work that has been completed. Note that this may be greater
than work_estimated.
int64 work_completed = 1;
Returns |
---|
Type | Description |
long | The workCompleted.
|
getWorkEstimated()
public long getWorkEstimated()
An estimate of how much work needs to be performed. May be zero if the
work estimate is unavailable.
int64 work_estimated = 2;
Returns |
---|
Type | Description |
long | The workEstimated.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Progress.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Progress.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Progress.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides