Class Progress.Builder (2.32.3)

publicstaticfinalclass Progress.BuilderextendsGeneratedMessageV3.Builder<Progress.Builder>implementsProgressOrBuilder

Measures the progress of a particular metric.

Protobuf type google.datastore.admin.v1.Progress

Implements

ProgressOrBuilder

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()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicProgress.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Progress.Builder
Overrides

build()

publicProgressbuild()
Returns
Type Description
Progress

buildPartial()

publicProgressbuildPartial()
Returns
Type Description
Progress

clear()

publicProgress.Builderclear()
Returns
Type Description
Progress.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicProgress.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Progress.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicProgress.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Progress.Builder
Overrides

clearWorkCompleted()

publicProgress.BuilderclearWorkCompleted()

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()

publicProgress.BuilderclearWorkEstimated()

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()

publicProgress.Builderclone()
Returns
Type Description
Progress.Builder
Overrides

getDefaultInstanceForType()

publicProgressgetDefaultInstanceForType()
Returns
Type Description
Progress

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getWorkCompleted()

publiclonggetWorkCompleted()

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()

publiclonggetWorkEstimated()

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()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Progress other)

publicProgress.BuildermergeFrom(Progressother)
Parameter
Name Description
other Progress
Returns
Type Description
Progress.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicProgress.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Progress.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicProgress.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
Progress.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalProgress.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Progress.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

publicProgress.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Progress.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicProgress.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Progress.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalProgress.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Progress.Builder
Overrides

setWorkCompleted(long value)

publicProgress.BuildersetWorkCompleted(longvalue)

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)

publicProgress.BuildersetWorkEstimated(longvalue)

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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.