Class OperationProgress.Builder (6.25.1)
6.116.0 (latest)
6.111.1
6.108.0
6.107.0
6.103.0
6.102.1
6.101.1
6.100.0
6.99.0
6.98.1
6.97.1
6.96.1
6.95.1
6.94.0
6.93.0
6.89.0
6.88.0
6.87.0
6.86.0
6.85.0
6.83.0
6.82.0
6.80.1
6.79.0
6.77.0
6.74.1
6.72.0
6.71.0
6.69.0
6.68.0
6.66.0
6.65.1
6.62.0
6.60.0
6.58.0
6.57.0
6.56.0
6.55.0
6.54.0
6.53.0
6.52.1
6.51.0
6.50.1
6.49.0
6.25.1
6.24.0
6.23.4
6.22.0
6.21.2
6.20.0
6.19.1
6.18.0
6.17.4
6.14.1
public static final class OperationProgress . Builder extends GeneratedMessageV3 . Builder<OperationProgress . Builder > implements OperationProgressOrBuilder
Encapsulates progress related information for a Cloud Spanner long
running operation.
Protobuf type google.spanner.admin.database.v1.OperationProgress
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OperationProgress . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public OperationProgress build ()
buildPartial()
public OperationProgress buildPartial ()
clear()
public OperationProgress . Builder clear ()
Overrides
clearEndTime()
public OperationProgress . Builder clearEndTime ()
If set, the time at which this operation failed or was completed
successfully.
.google.protobuf.Timestamp end_time = 3;
clearField(Descriptors.FieldDescriptor field)
public OperationProgress . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public OperationProgress . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearProgressPercent()
public OperationProgress . Builder clearProgressPercent ()
Percent completion of the operation.
Values are between 0 and 100 inclusive.
int32 progress_percent = 1;
clearStartTime()
public OperationProgress . Builder clearStartTime ()
Time the request was received.
.google.protobuf.Timestamp start_time = 2;
clone()
public OperationProgress . Builder clone ()
Overrides
getDefaultInstanceForType()
public OperationProgress getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getEndTime()
public Timestamp getEndTime ()
If set, the time at which this operation failed or was completed
successfully.
.google.protobuf.Timestamp end_time = 3;
Returns
Type
Description
Timestamp
The endTime.
getEndTimeBuilder()
public Timestamp . Builder getEndTimeBuilder ()
If set, the time at which this operation failed or was completed
successfully.
.google.protobuf.Timestamp end_time = 3;
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder ()
If set, the time at which this operation failed or was completed
successfully.
.google.protobuf.Timestamp end_time = 3;
getProgressPercent()
public int getProgressPercent ()
Percent completion of the operation.
Values are between 0 and 100 inclusive.
int32 progress_percent = 1;
Returns
Type
Description
int
The progressPercent.
getStartTime()
public Timestamp getStartTime ()
Time the request was received.
.google.protobuf.Timestamp start_time = 2;
Returns
Type
Description
Timestamp
The startTime.
getStartTimeBuilder()
public Timestamp . Builder getStartTimeBuilder ()
Time the request was received.
.google.protobuf.Timestamp start_time = 2;
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder ()
Time the request was received.
.google.protobuf.Timestamp start_time = 2;
hasEndTime()
public boolean hasEndTime ()
If set, the time at which this operation failed or was completed
successfully.
.google.protobuf.Timestamp end_time = 3;
Returns
Type
Description
boolean
Whether the endTime field is set.
hasStartTime()
public boolean hasStartTime ()
Time the request was received.
.google.protobuf.Timestamp start_time = 2;
Returns
Type
Description
boolean
Whether the startTime field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeEndTime(Timestamp value)
public OperationProgress . Builder mergeEndTime ( Timestamp value )
If set, the time at which this operation failed or was completed
successfully.
.google.protobuf.Timestamp end_time = 3;
public OperationProgress . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public OperationProgress . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeFrom(OperationProgress other)
public OperationProgress . Builder mergeFrom ( OperationProgress other )
mergeStartTime(Timestamp value)
public OperationProgress . Builder mergeStartTime ( Timestamp value )
Time the request was received.
.google.protobuf.Timestamp start_time = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OperationProgress . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setEndTime(Timestamp value)
public OperationProgress . Builder setEndTime ( Timestamp value )
If set, the time at which this operation failed or was completed
successfully.
.google.protobuf.Timestamp end_time = 3;
setEndTime(Timestamp.Builder builderForValue)
public OperationProgress . Builder setEndTime ( Timestamp . Builder builderForValue )
If set, the time at which this operation failed or was completed
successfully.
.google.protobuf.Timestamp end_time = 3;
Parameter
Name
Description
builderForValue
Builder
setField(Descriptors.FieldDescriptor field, Object value)
public OperationProgress . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setProgressPercent(int value)
public OperationProgress . Builder setProgressPercent ( int value )
Percent completion of the operation.
Values are between 0 and 100 inclusive.
int32 progress_percent = 1;
Parameter
Name
Description
value
int The progressPercent to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OperationProgress . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setStartTime(Timestamp value)
public OperationProgress . Builder setStartTime ( Timestamp value )
Time the request was received.
.google.protobuf.Timestamp start_time = 2;
setStartTime(Timestamp.Builder builderForValue)
public OperationProgress . Builder setStartTime ( Timestamp . Builder builderForValue )
Time the request was received.
.google.protobuf.Timestamp start_time = 2;
Parameter
Name
Description
builderForValue
Builder
setUnknownFields(UnknownFieldSet unknownFields)
public final OperationProgress . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
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 2026-04-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-04-26 UTC."],[],[]]