public final class OperationProgress extends GeneratedMessageV3 implements OperationProgressOrBuilder
Encapsulates progress related information for a Cloud Spanner long running operation.
Protobuf type google.spanner.admin.database.v1.OperationProgress
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > OperationProgressImplements
OperationProgressOrBuilderFields
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
Type | Description |
int |
PROGRESS_PERCENT_FIELD_NUMBER
public static final int PROGRESS_PERCENT_FIELD_NUMBER
Type | Description |
int |
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstance()
public static OperationProgress getDefaultInstance()
Type | Description |
OperationProgress |
getDefaultInstanceForType()
public OperationProgress getDefaultInstanceForType()
Type | Description |
OperationProgress |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getEndTime()
public Timestamp getEndTime()
If set, the time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 3;
Type | Description |
Timestamp | The endTime. |
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
If set, the time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 3;
Type | Description |
TimestampOrBuilder |
getParserForType()
public Parser<OperationProgress> getParserForType()
Type | Description |
Parser<OperationProgress> |
getProgressPercent()
public int getProgressPercent()
Percent completion of the operation. Values are between 0 and 100 inclusive.
int32 progress_percent = 1;
Type | Description |
int | The progressPercent. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getStartTime()
public Timestamp getStartTime()
Time the request was received.
.google.protobuf.Timestamp start_time = 2;
Type | Description |
Timestamp | The startTime. |
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Time the request was received.
.google.protobuf.Timestamp start_time = 2;
Type | Description |
TimestampOrBuilder |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasEndTime()
public boolean hasEndTime()
If set, the time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 3;
Type | Description |
boolean | Whether the endTime field is set. |
hasStartTime()
public boolean hasStartTime()
Time the request was received.
.google.protobuf.Timestamp start_time = 2;
Type | Description |
boolean | Whether the startTime field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilder()
public static OperationProgress.Builder newBuilder()
Type | Description |
OperationProgress.Builder |
newBuilder(OperationProgress prototype)
public static OperationProgress.Builder newBuilder(OperationProgress prototype)
Name | Description |
prototype | OperationProgress |
Type | Description |
OperationProgress.Builder |
newBuilderForType()
public OperationProgress.Builder newBuilderForType()
Type | Description |
OperationProgress.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected OperationProgress.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
OperationProgress.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static OperationProgress parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
OperationProgress |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static OperationProgress parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
OperationProgress |
Type | Description |
IOException |
parseFrom(byte[] data)
public static OperationProgress parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
OperationProgress |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OperationProgress parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
OperationProgress |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static OperationProgress parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
OperationProgress |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OperationProgress parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
OperationProgress |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static OperationProgress parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
OperationProgress |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static OperationProgress parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
OperationProgress |
Type | Description |
IOException |
parseFrom(InputStream input)
public static OperationProgress parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
OperationProgress |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static OperationProgress parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
OperationProgress |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static OperationProgress parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
OperationProgress |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static OperationProgress parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
OperationProgress |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<OperationProgress> parser()
Type | Description |
Parser<OperationProgress> |
toBuilder()
public OperationProgress.Builder toBuilder()
Type | Description |
OperationProgress.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |