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
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
COMPLETED_WORK_FIELD_NUMBER
public static final int COMPLETED_WORK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ESTIMATED_WORK_FIELD_NUMBER
public static final int ESTIMATED_WORK_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
getCompletedWork()
public long getCompletedWork()
The amount of work completed.
int64 completed_work = 2;
Returns |
Type |
Description |
long |
The completedWork.
|
getDefaultInstanceForType()
public Progress getDefaultInstanceForType()
getEstimatedWork()
public long getEstimatedWork()
The amount of work estimated.
int64 estimated_work = 1;
Returns |
Type |
Description |
long |
The estimatedWork.
|
getParserForType()
public Parser<Progress> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Progress.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides