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
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<OperationProgress.Builder>
public OperationProgress.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<OperationProgress.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<OperationProgress.Builder>
public OperationProgress getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public OperationProgress build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public OperationProgress buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public OperationProgress.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<OperationProgress.Builder>
public OperationProgress.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<OperationProgress.Builder>
public OperationProgress.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<OperationProgress.Builder>
public OperationProgress.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<OperationProgress.Builder>
public OperationProgress.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<OperationProgress.Builder>
public OperationProgress.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<OperationProgress.Builder>
public OperationProgress.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<OperationProgress.Builder>
public OperationProgress.Builder mergeFrom(OperationProgress other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<OperationProgress.Builder>
public OperationProgress.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<OperationProgress.Builder>
IOException
public int getProgressPercent()
Percent completion of the operation. Values are between 0 and 100 inclusive.
int32 progress_percent = 1;
getProgressPercent
in interface OperationProgressOrBuilder
public OperationProgress.Builder setProgressPercent(int value)
Percent completion of the operation. Values are between 0 and 100 inclusive.
int32 progress_percent = 1;
value
- The progressPercent to set.public OperationProgress.Builder clearProgressPercent()
Percent completion of the operation. Values are between 0 and 100 inclusive.
int32 progress_percent = 1;
public boolean hasStartTime()
Time the request was received.
.google.protobuf.Timestamp start_time = 2;
hasStartTime
in interface OperationProgressOrBuilder
public Timestamp getStartTime()
Time the request was received.
.google.protobuf.Timestamp start_time = 2;
getStartTime
in interface OperationProgressOrBuilder
public OperationProgress.Builder setStartTime(Timestamp value)
Time the request was received.
.google.protobuf.Timestamp start_time = 2;
public OperationProgress.Builder setStartTime(Timestamp.Builder builderForValue)
Time the request was received.
.google.protobuf.Timestamp start_time = 2;
public OperationProgress.Builder mergeStartTime(Timestamp value)
Time the request was received.
.google.protobuf.Timestamp start_time = 2;
public OperationProgress.Builder clearStartTime()
Time the request was received.
.google.protobuf.Timestamp start_time = 2;
public Timestamp.Builder getStartTimeBuilder()
Time the request was received.
.google.protobuf.Timestamp start_time = 2;
public TimestampOrBuilder getStartTimeOrBuilder()
Time the request was received.
.google.protobuf.Timestamp start_time = 2;
getStartTimeOrBuilder
in interface OperationProgressOrBuilder
public boolean hasEndTime()
If set, the time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 3;
hasEndTime
in interface OperationProgressOrBuilder
public Timestamp getEndTime()
If set, the time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 3;
getEndTime
in interface OperationProgressOrBuilder
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;
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;
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 clearEndTime()
If set, the time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 3;
public Timestamp.Builder getEndTimeBuilder()
If set, the time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 3;
public TimestampOrBuilder getEndTimeOrBuilder()
If set, the time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 3;
getEndTimeOrBuilder
in interface OperationProgressOrBuilder
public final OperationProgress.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<OperationProgress.Builder>
public final OperationProgress.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<OperationProgress.Builder>
Copyright © 2022 Google LLC. All rights reserved.