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
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 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;
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