public static final class Progress.Builder extends GeneratedMessageV3.Builder<Progress.Builder> implements ProgressOrBuilder
Measures the progress of a particular metric.
Protobuf type google.datastore.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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Progress.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Progress.Builder |
build()
public Progress build()
Returns | |
---|---|
Type | Description |
Progress |
buildPartial()
public Progress buildPartial()
Returns | |
---|---|
Type | Description |
Progress |
clear()
public Progress.Builder clear()
Returns | |
---|---|
Type | Description |
Progress.Builder |
clearField(Descriptors.FieldDescriptor field)
public Progress.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Progress.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Progress.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Progress.Builder |
clearWorkCompleted()
public Progress.Builder clearWorkCompleted()
The amount of work that has been completed. Note that this may be greater than work_estimated.
int64 work_completed = 1;
Returns | |
---|---|
Type | Description |
Progress.Builder |
This builder for chaining. |
clearWorkEstimated()
public Progress.Builder clearWorkEstimated()
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 |
Progress.Builder |
This builder for chaining. |
clone()
public Progress.Builder clone()
Returns | |
---|---|
Type | Description |
Progress.Builder |
getDefaultInstanceForType()
public Progress getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Progress |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Progress other)
public Progress.Builder mergeFrom(Progress other)
Parameter | |
---|---|
Name | Description |
other |
Progress |
Returns | |
---|---|
Type | Description |
Progress.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Progress.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Progress.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Progress.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Progress.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Progress.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Progress.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Progress.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Progress.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Progress.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Progress.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Progress.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Progress.Builder |
setWorkCompleted(long value)
public Progress.Builder setWorkCompleted(long value)
The amount of work that has been completed. Note that this may be greater than work_estimated.
int64 work_completed = 1;
Parameter | |
---|---|
Name | Description |
value |
long The workCompleted to set. |
Returns | |
---|---|
Type | Description |
Progress.Builder |
This builder for chaining. |
setWorkEstimated(long value)
public Progress.Builder setWorkEstimated(long value)
An estimate of how much work needs to be performed. May be zero if the work estimate is unavailable.
int64 work_estimated = 2;
Parameter | |
---|---|
Name | Description |
value |
long The workEstimated to set. |
Returns | |
---|---|
Type | Description |
Progress.Builder |
This builder for chaining. |