Class Progress (2.24.3)

public final class Progress extends GeneratedMessageV3 implements ProgressOrBuilder

Measures the progress of a particular metric.

Protobuf type google.datastore.admin.v1.Progress

Implements

ProgressOrBuilder

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()
Returns
Type Description
Progress

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Progress.Builder newBuilder()
Returns
Type Description
Progress.Builder

newBuilder(Progress prototype)

public static Progress.Builder newBuilder(Progress prototype)
Parameter
Name Description
prototype Progress
Returns
Type Description
Progress.Builder

parseDelimitedFrom(InputStream input)

public static Progress parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Progress
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Progress parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Progress
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Progress parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Progress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Progress parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Progress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Progress parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Progress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Progress parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Progress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Progress parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Progress
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Progress parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Progress
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Progress parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Progress
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Progress parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Progress
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Progress parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Progress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Progress parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Progress
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Progress> parser()
Returns
Type Description
Parser<Progress>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Progress getDefaultInstanceForType()
Returns
Type Description
Progress

getParserForType()

public Parser<Progress> getParserForType()
Returns
Type Description
Parser<Progress>
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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Progress.Builder newBuilderForType()
Returns
Type Description
Progress.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Progress.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Progress.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Progress.Builder toBuilder()
Returns
Type Description
Progress.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException