public static final class Progress.Builder extends GeneratedMessageV3.Builder<Progress.Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Progress.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public Progress buildPartial()
clear()
public Progress.Builder clear()
Overrides
clearCompletedWork()
public Progress.Builder clearCompletedWork()
The amount of work completed.
int64 completed_work = 2;
clearEstimatedWork()
public Progress.Builder clearEstimatedWork()
The amount of work estimated.
int64 estimated_work = 1;
clearField(Descriptors.FieldDescriptor field)
public Progress.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Progress.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Progress.Builder clone()
Overrides
getCompletedWork()
public long getCompletedWork()
The amount of work completed.
int64 completed_work = 2;
Returns |
Type |
Description |
long |
The completedWork.
|
getDefaultInstanceForType()
public Progress getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEstimatedWork()
public long getEstimatedWork()
The amount of work estimated.
int64 estimated_work = 1;
Returns |
Type |
Description |
long |
The estimatedWork.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Progress other)
public Progress.Builder mergeFrom(Progress other)
Parameter |
Name |
Description |
other |
Progress
|
public Progress.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Progress.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Progress.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCompletedWork(long value)
public Progress.Builder setCompletedWork(long value)
The amount of work completed.
int64 completed_work = 2;
Parameter |
Name |
Description |
value |
long
The completedWork to set.
|
setEstimatedWork(long value)
public Progress.Builder setEstimatedWork(long value)
The amount of work estimated.
int64 estimated_work = 1;
Parameter |
Name |
Description |
value |
long
The estimatedWork to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Progress.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Progress.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Progress.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides