public final class Progress extends GeneratedMessageV3 implements ProgressOrBuilder
Describes the progress of the operation.
Unit of work is generic and must be interpreted based on where Progress
is used.
Protobuf type google.firestore.admin.v1.Progress
Static Fields
COMPLETED_WORK_FIELD_NUMBER
public static final int COMPLETED_WORK_FIELD_NUMBER
Field Value
ESTIMATED_WORK_FIELD_NUMBER
public static final int ESTIMATED_WORK_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Progress getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Progress.Builder newBuilder()
Returns
newBuilder(Progress prototype)
public static Progress.Builder newBuilder(Progress prototype)
Parameter
Returns
public static Progress parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Progress parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Progress parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Progress parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Progress parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Progress parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Progress parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Progress parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Progress parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Progress parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Progress parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Progress parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Progress> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCompletedWork()
public long getCompletedWork()
The amount of work completed.
int64 completed_work = 2;
Returns
Type | Description |
long | The completedWork.
|
getDefaultInstanceForType()
public Progress getDefaultInstanceForType()
Returns
getEstimatedWork()
public long getEstimatedWork()
The amount of work estimated.
int64 estimated_work = 1;
Returns
Type | Description |
long | The estimatedWork.
|
getParserForType()
public Parser<Progress> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Progress.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Progress.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Progress.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions