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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Progress.BuilderImplements
ProgressOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Progress.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Progress.Builder |
build()
public Progress build()
Type | Description |
Progress |
buildPartial()
public Progress buildPartial()
Type | Description |
Progress |
clear()
public Progress.Builder clear()
Type | Description |
Progress.Builder |
clearCompletedWork()
public Progress.Builder clearCompletedWork()
The amount of work completed.
int64 completed_work = 2;
Type | Description |
Progress.Builder | This builder for chaining. |
clearEstimatedWork()
public Progress.Builder clearEstimatedWork()
The amount of work estimated.
int64 estimated_work = 1;
Type | Description |
Progress.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Progress.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Progress.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Progress.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Progress.Builder |
clone()
public Progress.Builder clone()
Type | Description |
Progress.Builder |
getCompletedWork()
public long getCompletedWork()
The amount of work completed.
int64 completed_work = 2;
Type | Description |
long | The completedWork. |
getDefaultInstanceForType()
public Progress getDefaultInstanceForType()
Type | Description |
Progress |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEstimatedWork()
public long getEstimatedWork()
The amount of work estimated.
int64 estimated_work = 1;
Type | Description |
long | The estimatedWork. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Progress other)
public Progress.Builder mergeFrom(Progress other)
Name | Description |
other | Progress |
Type | Description |
Progress.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Progress.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Progress.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Progress.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Progress.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Progress.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Progress.Builder |
setCompletedWork(long value)
public Progress.Builder setCompletedWork(long value)
The amount of work completed.
int64 completed_work = 2;
Name | Description |
value | long The completedWork to set. |
Type | Description |
Progress.Builder | This builder for chaining. |
setEstimatedWork(long value)
public Progress.Builder setEstimatedWork(long value)
The amount of work estimated.
int64 estimated_work = 1;
Name | Description |
value | long The estimatedWork to set. |
Type | Description |
Progress.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Progress.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Progress.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Progress.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Progress.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Progress.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Progress.Builder |