public final class Operation extends com.google.protobuf.GeneratedMessageV3 implements OperationOrBuilder
Represents an Operation resource. Google Compute Engine has three Operation resources: * [Global](/compute/docs/reference/rest/v1/globalOperations) * [Regional](/compute/docs/reference/rest/v1/regionOperations) * [Zonal](/compute/docs/reference/rest/v1/zoneOperations) You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use the `globalOperations` resource. - For regional operations, use the `regionOperations` resource. - For zonal operations, use the `zonalOperations` resource. For more information, read Global, Regional, and Zonal Resources.Protobuf type
google.cloud.compute.v1.Operation| Modifier and Type | Class and Description |
|---|---|
static class |
Operation.Builder
Represents an Operation resource.
|
static class |
Operation.Status
[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CLIENT_OPERATION_ID_FIELD_NUMBER |
static int |
CREATION_TIMESTAMP_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
END_TIME_FIELD_NUMBER |
static int |
ERROR_FIELD_NUMBER |
static int |
HTTP_ERROR_MESSAGE_FIELD_NUMBER |
static int |
HTTP_ERROR_STATUS_CODE_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
INSERT_TIME_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
OPERATION_GROUP_ID_FIELD_NUMBER |
static int |
OPERATION_TYPE_FIELD_NUMBER |
static int |
PROGRESS_FIELD_NUMBER |
static int |
REGION_FIELD_NUMBER |
static int |
SELF_LINK_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
static int |
STATUS_FIELD_NUMBER |
static int |
STATUS_MESSAGE_FIELD_NUMBER |
static int |
TARGET_ID_FIELD_NUMBER |
static int |
TARGET_LINK_FIELD_NUMBER |
static int |
USER_FIELD_NUMBER |
static int |
WARNINGS_FIELD_NUMBER |
static int |
ZONE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getClientOperationId()
[Output Only] The value of `requestId` if you provided it in the request.
|
com.google.protobuf.ByteString |
getClientOperationIdBytes()
[Output Only] The value of `requestId` if you provided it in the request.
|
String |
getCreationTimestamp()
[Deprecated] This field is deprecated.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Deprecated] This field is deprecated.
|
static Operation |
getDefaultInstance() |
Operation |
getDefaultInstanceForType() |
String |
getDescription()
[Output Only] A textual description of the operation, which is set when the operation is created.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
[Output Only] A textual description of the operation, which is set when the operation is created.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getEndTime()
[Output Only] The time that this operation was completed.
|
com.google.protobuf.ByteString |
getEndTimeBytes()
[Output Only] The time that this operation was completed.
|
Error |
getError()
[Output Only] If errors are generated during processing of the operation, this field will be populated.
|
ErrorOrBuilder |
getErrorOrBuilder()
[Output Only] If errors are generated during processing of the operation, this field will be populated.
|
String |
getHttpErrorMessage()
[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.
|
com.google.protobuf.ByteString |
getHttpErrorMessageBytes()
[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.
|
int |
getHttpErrorStatusCode()
[Output Only] If the operation fails, this field contains the HTTP error status code that was returned.
|
long |
getId()
[Output Only] The unique identifier for the operation.
|
String |
getInsertTime()
[Output Only] The time that this operation was requested.
|
com.google.protobuf.ByteString |
getInsertTimeBytes()
[Output Only] The time that this operation was requested.
|
String |
getKind()
[Output Only] Type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] Type of the resource.
|
String |
getName()
[Output Only] Name of the operation.
|
com.google.protobuf.ByteString |
getNameBytes()
[Output Only] Name of the operation.
|
String |
getOperationGroupId()
[Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.
|
com.google.protobuf.ByteString |
getOperationGroupIdBytes()
[Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.
|
String |
getOperationType()
[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
|
com.google.protobuf.ByteString |
getOperationTypeBytes()
[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
|
com.google.protobuf.Parser<Operation> |
getParserForType() |
int |
getProgress()
[Output Only] An optional progress indicator that ranges from 0 to 100.
|
String |
getRegion()
[Output Only] The URL of the region where the operation resides.
|
com.google.protobuf.ByteString |
getRegionBytes()
[Output Only] The URL of the region where the operation resides.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
|
int |
getSerializedSize() |
String |
getStartTime()
[Output Only] The time that this operation was started by the server.
|
com.google.protobuf.ByteString |
getStartTimeBytes()
[Output Only] The time that this operation was started by the server.
|
Operation.Status |
getStatus()
[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
|
String |
getStatusMessage()
[Output Only] An optional textual description of the current status of the operation.
|
com.google.protobuf.ByteString |
getStatusMessageBytes()
[Output Only] An optional textual description of the current status of the operation.
|
int |
getStatusValue()
[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
|
long |
getTargetId()
[Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
|
String |
getTargetLink()
[Output Only] The URL of the resource that the operation modifies.
|
com.google.protobuf.ByteString |
getTargetLinkBytes()
[Output Only] The URL of the resource that the operation modifies.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getUser()
[Output Only] User who requested the operation, for example: `user@example.com`.
|
com.google.protobuf.ByteString |
getUserBytes()
[Output Only] User who requested the operation, for example: `user@example.com`.
|
Warnings |
getWarnings(int index)
[Output Only] If warning messages are generated during processing of the operation, this field will be populated.
|
int |
getWarningsCount()
[Output Only] If warning messages are generated during processing of the operation, this field will be populated.
|
List<Warnings> |
getWarningsList()
[Output Only] If warning messages are generated during processing of the operation, this field will be populated.
|
WarningsOrBuilder |
getWarningsOrBuilder(int index)
[Output Only] If warning messages are generated during processing of the operation, this field will be populated.
|
List<? extends WarningsOrBuilder> |
getWarningsOrBuilderList()
[Output Only] If warning messages are generated during processing of the operation, this field will be populated.
|
String |
getZone()
[Output Only] The URL of the zone where the operation resides.
|
com.google.protobuf.ByteString |
getZoneBytes()
[Output Only] The URL of the zone where the operation resides.
|
boolean |
hasClientOperationId()
[Output Only] The value of `requestId` if you provided it in the request.
|
boolean |
hasCreationTimestamp()
[Deprecated] This field is deprecated.
|
boolean |
hasDescription()
[Output Only] A textual description of the operation, which is set when the operation is created.
|
boolean |
hasEndTime()
[Output Only] The time that this operation was completed.
|
boolean |
hasError()
[Output Only] If errors are generated during processing of the operation, this field will be populated.
|
int |
hashCode() |
boolean |
hasHttpErrorMessage()
[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.
|
boolean |
hasHttpErrorStatusCode()
[Output Only] If the operation fails, this field contains the HTTP error status code that was returned.
|
boolean |
hasId()
[Output Only] The unique identifier for the operation.
|
boolean |
hasInsertTime()
[Output Only] The time that this operation was requested.
|
boolean |
hasKind()
[Output Only] Type of the resource.
|
boolean |
hasName()
[Output Only] Name of the operation.
|
boolean |
hasOperationGroupId()
[Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.
|
boolean |
hasOperationType()
[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
|
boolean |
hasProgress()
[Output Only] An optional progress indicator that ranges from 0 to 100.
|
boolean |
hasRegion()
[Output Only] The URL of the region where the operation resides.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for the resource.
|
boolean |
hasStartTime()
[Output Only] The time that this operation was started by the server.
|
boolean |
hasStatus()
[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
|
boolean |
hasStatusMessage()
[Output Only] An optional textual description of the current status of the operation.
|
boolean |
hasTargetId()
[Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
|
boolean |
hasTargetLink()
[Output Only] The URL of the resource that the operation modifies.
|
boolean |
hasUser()
[Output Only] User who requested the operation, for example: `user@example.com`.
|
boolean |
hasZone()
[Output Only] The URL of the zone where the operation resides.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Operation.Builder |
newBuilder() |
static Operation.Builder |
newBuilder(Operation prototype) |
Operation.Builder |
newBuilderForType() |
protected Operation.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Operation |
parseDelimitedFrom(InputStream input) |
static Operation |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Operation |
parseFrom(byte[] data) |
static Operation |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Operation |
parseFrom(ByteBuffer data) |
static Operation |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Operation |
parseFrom(com.google.protobuf.ByteString data) |
static Operation |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Operation |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Operation |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Operation |
parseFrom(InputStream input) |
static Operation |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Operation> |
parser() |
Operation.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CLIENT_OPERATION_ID_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
public static final int HTTP_ERROR_MESSAGE_FIELD_NUMBER
public static final int HTTP_ERROR_STATUS_CODE_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int INSERT_TIME_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int OPERATION_GROUP_ID_FIELD_NUMBER
public static final int OPERATION_TYPE_FIELD_NUMBER
public static final int PROGRESS_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
public static final int STATUS_MESSAGE_FIELD_NUMBER
public static final int TARGET_ID_FIELD_NUMBER
public static final int TARGET_LINK_FIELD_NUMBER
public static final int USER_FIELD_NUMBER
public static final int WARNINGS_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasClientOperationId()
[Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
optional string client_operation_id = 297240295;hasClientOperationId in interface OperationOrBuilderpublic String getClientOperationId()
[Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
optional string client_operation_id = 297240295;getClientOperationId in interface OperationOrBuilderpublic com.google.protobuf.ByteString getClientOperationIdBytes()
[Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
optional string client_operation_id = 297240295;getClientOperationIdBytes in interface OperationOrBuilderpublic boolean hasCreationTimestamp()
[Deprecated] This field is deprecated.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface OperationOrBuilderpublic String getCreationTimestamp()
[Deprecated] This field is deprecated.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface OperationOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Deprecated] This field is deprecated.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface OperationOrBuilderpublic boolean hasDescription()
[Output Only] A textual description of the operation, which is set when the operation is created.
optional string description = 422937596;hasDescription in interface OperationOrBuilderpublic String getDescription()
[Output Only] A textual description of the operation, which is set when the operation is created.
optional string description = 422937596;getDescription in interface OperationOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
[Output Only] A textual description of the operation, which is set when the operation is created.
optional string description = 422937596;getDescriptionBytes in interface OperationOrBuilderpublic boolean hasEndTime()
[Output Only] The time that this operation was completed. This value is in RFC3339 text format.
optional string end_time = 114938801;hasEndTime in interface OperationOrBuilderpublic String getEndTime()
[Output Only] The time that this operation was completed. This value is in RFC3339 text format.
optional string end_time = 114938801;getEndTime in interface OperationOrBuilderpublic com.google.protobuf.ByteString getEndTimeBytes()
[Output Only] The time that this operation was completed. This value is in RFC3339 text format.
optional string end_time = 114938801;getEndTimeBytes in interface OperationOrBuilderpublic boolean hasError()
[Output Only] If errors are generated during processing of the operation, this field will be populated.
optional .google.cloud.compute.v1.Error error = 96784904;hasError in interface OperationOrBuilderpublic Error getError()
[Output Only] If errors are generated during processing of the operation, this field will be populated.
optional .google.cloud.compute.v1.Error error = 96784904;getError in interface OperationOrBuilderpublic ErrorOrBuilder getErrorOrBuilder()
[Output Only] If errors are generated during processing of the operation, this field will be populated.
optional .google.cloud.compute.v1.Error error = 96784904;getErrorOrBuilder in interface OperationOrBuilderpublic boolean hasHttpErrorMessage()
[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.
optional string http_error_message = 202521945 [(.google.cloud.operation_field) = ERROR_MESSAGE];
hasHttpErrorMessage in interface OperationOrBuilderpublic String getHttpErrorMessage()
[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.
optional string http_error_message = 202521945 [(.google.cloud.operation_field) = ERROR_MESSAGE];
getHttpErrorMessage in interface OperationOrBuilderpublic com.google.protobuf.ByteString getHttpErrorMessageBytes()
[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.
optional string http_error_message = 202521945 [(.google.cloud.operation_field) = ERROR_MESSAGE];
getHttpErrorMessageBytes in interface OperationOrBuilderpublic boolean hasHttpErrorStatusCode()
[Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.
optional int32 http_error_status_code = 312345196 [(.google.cloud.operation_field) = ERROR_CODE];
hasHttpErrorStatusCode in interface OperationOrBuilderpublic int getHttpErrorStatusCode()
[Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.
optional int32 http_error_status_code = 312345196 [(.google.cloud.operation_field) = ERROR_CODE];
getHttpErrorStatusCode in interface OperationOrBuilderpublic boolean hasId()
[Output Only] The unique identifier for the operation. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface OperationOrBuilderpublic long getId()
[Output Only] The unique identifier for the operation. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface OperationOrBuilderpublic boolean hasInsertTime()
[Output Only] The time that this operation was requested. This value is in RFC3339 text format.
optional string insert_time = 433722515;hasInsertTime in interface OperationOrBuilderpublic String getInsertTime()
[Output Only] The time that this operation was requested. This value is in RFC3339 text format.
optional string insert_time = 433722515;getInsertTime in interface OperationOrBuilderpublic com.google.protobuf.ByteString getInsertTimeBytes()
[Output Only] The time that this operation was requested. This value is in RFC3339 text format.
optional string insert_time = 433722515;getInsertTimeBytes in interface OperationOrBuilderpublic boolean hasKind()
[Output Only] Type of the resource. Always `compute#operation` for Operation resources.
optional string kind = 3292052;hasKind in interface OperationOrBuilderpublic String getKind()
[Output Only] Type of the resource. Always `compute#operation` for Operation resources.
optional string kind = 3292052;getKind in interface OperationOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always `compute#operation` for Operation resources.
optional string kind = 3292052;getKindBytes in interface OperationOrBuilderpublic boolean hasName()
[Output Only] Name of the operation.
optional string name = 3373707 [(.google.cloud.operation_field) = NAME];hasName in interface OperationOrBuilderpublic String getName()
[Output Only] Name of the operation.
optional string name = 3373707 [(.google.cloud.operation_field) = NAME];getName in interface OperationOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
[Output Only] Name of the operation.
optional string name = 3373707 [(.google.cloud.operation_field) = NAME];getNameBytes in interface OperationOrBuilderpublic boolean hasOperationGroupId()
[Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.
optional string operation_group_id = 40171187;hasOperationGroupId in interface OperationOrBuilderpublic String getOperationGroupId()
[Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.
optional string operation_group_id = 40171187;getOperationGroupId in interface OperationOrBuilderpublic com.google.protobuf.ByteString getOperationGroupIdBytes()
[Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.
optional string operation_group_id = 40171187;getOperationGroupIdBytes in interface OperationOrBuilderpublic boolean hasOperationType()
[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
optional string operation_type = 177650450;hasOperationType in interface OperationOrBuilderpublic String getOperationType()
[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
optional string operation_type = 177650450;getOperationType in interface OperationOrBuilderpublic com.google.protobuf.ByteString getOperationTypeBytes()
[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
optional string operation_type = 177650450;getOperationTypeBytes in interface OperationOrBuilderpublic boolean hasProgress()
[Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
optional int32 progress = 72663597;hasProgress in interface OperationOrBuilderpublic int getProgress()
[Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
optional int32 progress = 72663597;getProgress in interface OperationOrBuilderpublic boolean hasRegion()
[Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
optional string region = 138946292;hasRegion in interface OperationOrBuilderpublic String getRegion()
[Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
optional string region = 138946292;getRegion in interface OperationOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
[Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
optional string region = 138946292;getRegionBytes in interface OperationOrBuilderpublic boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface OperationOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface OperationOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface OperationOrBuilderpublic boolean hasStartTime()
[Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
optional string start_time = 37467274;hasStartTime in interface OperationOrBuilderpublic String getStartTime()
[Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
optional string start_time = 37467274;getStartTime in interface OperationOrBuilderpublic com.google.protobuf.ByteString getStartTimeBytes()
[Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
optional string start_time = 37467274;getStartTimeBytes in interface OperationOrBuilderpublic boolean hasStatus()
[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
optional .google.cloud.compute.v1.Operation.Status status = 181260274 [(.google.cloud.operation_field) = STATUS];
hasStatus in interface OperationOrBuilderpublic int getStatusValue()
[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
optional .google.cloud.compute.v1.Operation.Status status = 181260274 [(.google.cloud.operation_field) = STATUS];
getStatusValue in interface OperationOrBuilderpublic Operation.Status getStatus()
[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
optional .google.cloud.compute.v1.Operation.Status status = 181260274 [(.google.cloud.operation_field) = STATUS];
getStatus in interface OperationOrBuilderpublic boolean hasStatusMessage()
[Output Only] An optional textual description of the current status of the operation.
optional string status_message = 297428154;hasStatusMessage in interface OperationOrBuilderpublic String getStatusMessage()
[Output Only] An optional textual description of the current status of the operation.
optional string status_message = 297428154;getStatusMessage in interface OperationOrBuilderpublic com.google.protobuf.ByteString getStatusMessageBytes()
[Output Only] An optional textual description of the current status of the operation.
optional string status_message = 297428154;getStatusMessageBytes in interface OperationOrBuilderpublic boolean hasTargetId()
[Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
optional uint64 target_id = 258165385;hasTargetId in interface OperationOrBuilderpublic long getTargetId()
[Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
optional uint64 target_id = 258165385;getTargetId in interface OperationOrBuilderpublic boolean hasTargetLink()
[Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
optional string target_link = 62671336;hasTargetLink in interface OperationOrBuilderpublic String getTargetLink()
[Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
optional string target_link = 62671336;getTargetLink in interface OperationOrBuilderpublic com.google.protobuf.ByteString getTargetLinkBytes()
[Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
optional string target_link = 62671336;getTargetLinkBytes in interface OperationOrBuilderpublic boolean hasUser()
[Output Only] User who requested the operation, for example: `user@example.com`.
optional string user = 3599307;hasUser in interface OperationOrBuilderpublic String getUser()
[Output Only] User who requested the operation, for example: `user@example.com`.
optional string user = 3599307;getUser in interface OperationOrBuilderpublic com.google.protobuf.ByteString getUserBytes()
[Output Only] User who requested the operation, for example: `user@example.com`.
optional string user = 3599307;getUserBytes in interface OperationOrBuilderpublic List<Warnings> getWarningsList()
[Output Only] If warning messages are generated during processing of the operation, this field will be populated.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;getWarningsList in interface OperationOrBuilderpublic List<? extends WarningsOrBuilder> getWarningsOrBuilderList()
[Output Only] If warning messages are generated during processing of the operation, this field will be populated.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;getWarningsOrBuilderList in interface OperationOrBuilderpublic int getWarningsCount()
[Output Only] If warning messages are generated during processing of the operation, this field will be populated.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;getWarningsCount in interface OperationOrBuilderpublic Warnings getWarnings(int index)
[Output Only] If warning messages are generated during processing of the operation, this field will be populated.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;getWarnings in interface OperationOrBuilderpublic WarningsOrBuilder getWarningsOrBuilder(int index)
[Output Only] If warning messages are generated during processing of the operation, this field will be populated.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;getWarningsOrBuilder in interface OperationOrBuilderpublic boolean hasZone()
[Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
optional string zone = 3744684;hasZone in interface OperationOrBuilderpublic String getZone()
[Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
optional string zone = 3744684;getZone in interface OperationOrBuilderpublic com.google.protobuf.ByteString getZoneBytes()
[Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
optional string zone = 3744684;getZoneBytes in interface OperationOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Operation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Operation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Operation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Operation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Operation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Operation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Operation parseFrom(InputStream input) throws IOException
IOExceptionpublic static Operation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Operation parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Operation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Operation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Operation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Operation.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Operation.Builder newBuilder()
public static Operation.Builder newBuilder(Operation prototype)
public Operation.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Operation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Operation getDefaultInstance()
public static com.google.protobuf.Parser<Operation> parser()
public com.google.protobuf.Parser<Operation> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Operation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.