Package com.google.cloud.compute.v1
Interface OperationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Operation,Operation.Builder
public interface OperationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetClientOperationId()[Output Only] The value of `requestId` if you provided it in the request.com.google.protobuf.ByteStringgetClientOperationIdBytes()[Output Only] The value of `requestId` if you provided it in the request.StringgetCreationTimestamp()[Deprecated] This field is deprecated.com.google.protobuf.ByteStringgetCreationTimestampBytes()[Deprecated] This field is deprecated.StringgetDescription()[Output Only] A textual description of the operation, which is set when the operation is created.com.google.protobuf.ByteStringgetDescriptionBytes()[Output Only] A textual description of the operation, which is set when the operation is created.StringgetEndTime()[Output Only] The time that this operation was completed.com.google.protobuf.ByteStringgetEndTimeBytes()[Output Only] The time that this operation was completed.ErrorgetError()[Output Only] If errors are generated during processing of the operation, this field will be populated.ErrorOrBuildergetErrorOrBuilder()[Output Only] If errors are generated during processing of the operation, this field will be populated.StringgetHttpErrorMessage()[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.com.google.protobuf.ByteStringgetHttpErrorMessageBytes()[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.intgetHttpErrorStatusCode()[Output Only] If the operation fails, this field contains the HTTP error status code that was returned.longgetId()[Output Only] The unique identifier for the operation.StringgetInsertTime()[Output Only] The time that this operation was requested.com.google.protobuf.ByteStringgetInsertTimeBytes()[Output Only] The time that this operation was requested.StringgetKind()[Output Only] Type of the resource.com.google.protobuf.ByteStringgetKindBytes()[Output Only] Type of the resource.StringgetName()[Output Only] Name of the operation.com.google.protobuf.ByteStringgetNameBytes()[Output Only] Name of the operation.StringgetOperationGroupId()[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.ByteStringgetOperationGroupIdBytes()[Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.StringgetOperationType()[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.com.google.protobuf.ByteStringgetOperationTypeBytes()[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.intgetProgress()[Output Only] An optional progress indicator that ranges from 0 to 100.StringgetRegion()[Output Only] The URL of the region where the operation resides.com.google.protobuf.ByteStringgetRegionBytes()[Output Only] The URL of the region where the operation resides.StringgetSelfLink()[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output Only] Server-defined URL for the resource.StringgetStartTime()[Output Only] The time that this operation was started by the server.com.google.protobuf.ByteStringgetStartTimeBytes()[Output Only] The time that this operation was started by the server.Operation.StatusgetStatus()[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.StringgetStatusMessage()[Output Only] An optional textual description of the current status of the operation.com.google.protobuf.ByteStringgetStatusMessageBytes()[Output Only] An optional textual description of the current status of the operation.intgetStatusValue()[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.longgetTargetId()[Output Only] The unique target ID, which identifies a specific incarnation of the target resource.StringgetTargetLink()[Output Only] The URL of the resource that the operation modifies.com.google.protobuf.ByteStringgetTargetLinkBytes()[Output Only] The URL of the resource that the operation modifies.StringgetUser()[Output Only] User who requested the operation, for example: `user@example.com`.com.google.protobuf.ByteStringgetUserBytes()[Output Only] User who requested the operation, for example: `user@example.com`.WarningsgetWarnings(int index)[Output Only] If warning messages are generated during processing of the operation, this field will be populated.intgetWarningsCount()[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.WarningsOrBuildergetWarningsOrBuilder(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.StringgetZone()[Output Only] The URL of the zone where the operation resides.com.google.protobuf.ByteStringgetZoneBytes()[Output Only] The URL of the zone where the operation resides.booleanhasClientOperationId()[Output Only] The value of `requestId` if you provided it in the request.booleanhasCreationTimestamp()[Deprecated] This field is deprecated.booleanhasDescription()[Output Only] A textual description of the operation, which is set when the operation is created.booleanhasEndTime()[Output Only] The time that this operation was completed.booleanhasError()[Output Only] If errors are generated during processing of the operation, this field will be populated.booleanhasHttpErrorMessage()[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.booleanhasHttpErrorStatusCode()[Output Only] If the operation fails, this field contains the HTTP error status code that was returned.booleanhasId()[Output Only] The unique identifier for the operation.booleanhasInsertTime()[Output Only] The time that this operation was requested.booleanhasKind()[Output Only] Type of the resource.booleanhasName()[Output Only] Name of the operation.booleanhasOperationGroupId()[Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.booleanhasOperationType()[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.booleanhasProgress()[Output Only] An optional progress indicator that ranges from 0 to 100.booleanhasRegion()[Output Only] The URL of the region where the operation resides.booleanhasSelfLink()[Output Only] Server-defined URL for the resource.booleanhasStartTime()[Output Only] The time that this operation was started by the server.booleanhasStatus()[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.booleanhasStatusMessage()[Output Only] An optional textual description of the current status of the operation.booleanhasTargetId()[Output Only] The unique target ID, which identifies a specific incarnation of the target resource.booleanhasTargetLink()[Output Only] The URL of the resource that the operation modifies.booleanhasUser()[Output Only] User who requested the operation, for example: `user@example.com`.booleanhasZone()[Output Only] The URL of the zone where the operation resides.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasClientOperationId
boolean hasClientOperationId()
[Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
optional string client_operation_id = 297240295;- Returns:
- Whether the clientOperationId field is set.
-
getClientOperationId
String getClientOperationId()
[Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
optional string client_operation_id = 297240295;- Returns:
- The clientOperationId.
-
getClientOperationIdBytes
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;- Returns:
- The bytes for clientOperationId.
-
hasCreationTimestamp
boolean hasCreationTimestamp()
[Deprecated] This field is deprecated.
optional string creation_timestamp = 30525366;- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
String getCreationTimestamp()
[Deprecated] This field is deprecated.
optional string creation_timestamp = 30525366;- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
com.google.protobuf.ByteString getCreationTimestampBytes()
[Deprecated] This field is deprecated.
optional string creation_timestamp = 30525366;- Returns:
- The bytes for creationTimestamp.
-
hasDescription
boolean hasDescription()
[Output Only] A textual description of the operation, which is set when the operation is created.
optional string description = 422937596;- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()
[Output Only] A textual description of the operation, which is set when the operation is created.
optional string description = 422937596;- Returns:
- The description.
-
getDescriptionBytes
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;- Returns:
- The bytes for description.
-
hasEndTime
boolean hasEndTime()
[Output Only] The time that this operation was completed. This value is in RFC3339 text format.
optional string end_time = 114938801;- Returns:
- Whether the endTime field is set.
-
getEndTime
String getEndTime()
[Output Only] The time that this operation was completed. This value is in RFC3339 text format.
optional string end_time = 114938801;- Returns:
- The endTime.
-
getEndTimeBytes
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;- Returns:
- The bytes for endTime.
-
hasError
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;- Returns:
- Whether the error field is set.
-
getError
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;- Returns:
- The error.
-
getErrorOrBuilder
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;
-
hasHttpErrorMessage
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];- Returns:
- Whether the httpErrorMessage field is set.
-
getHttpErrorMessage
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];- Returns:
- The httpErrorMessage.
-
getHttpErrorMessageBytes
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];- Returns:
- The bytes for httpErrorMessage.
-
hasHttpErrorStatusCode
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];- Returns:
- Whether the httpErrorStatusCode field is set.
-
getHttpErrorStatusCode
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];- Returns:
- The httpErrorStatusCode.
-
hasId
boolean hasId()
[Output Only] The unique identifier for the operation. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- Whether the id field is set.
-
getId
long getId()
[Output Only] The unique identifier for the operation. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- The id.
-
hasInsertTime
boolean hasInsertTime()
[Output Only] The time that this operation was requested. This value is in RFC3339 text format.
optional string insert_time = 433722515;- Returns:
- Whether the insertTime field is set.
-
getInsertTime
String getInsertTime()
[Output Only] The time that this operation was requested. This value is in RFC3339 text format.
optional string insert_time = 433722515;- Returns:
- The insertTime.
-
getInsertTimeBytes
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;- Returns:
- The bytes for insertTime.
-
hasKind
boolean hasKind()
[Output Only] Type of the resource. Always `compute#operation` for Operation resources.
optional string kind = 3292052;- Returns:
- Whether the kind field is set.
-
getKind
String getKind()
[Output Only] Type of the resource. Always `compute#operation` for Operation resources.
optional string kind = 3292052;- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always `compute#operation` for Operation resources.
optional string kind = 3292052;- Returns:
- The bytes for kind.
-
hasName
boolean hasName()
[Output Only] Name of the operation.
optional string name = 3373707 [(.google.cloud.operation_field) = NAME];- Returns:
- Whether the name field is set.
-
getName
String getName()
[Output Only] Name of the operation.
optional string name = 3373707 [(.google.cloud.operation_field) = NAME];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
[Output Only] Name of the operation.
optional string name = 3373707 [(.google.cloud.operation_field) = NAME];- Returns:
- The bytes for name.
-
hasOperationGroupId
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;- Returns:
- Whether the operationGroupId field is set.
-
getOperationGroupId
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;- Returns:
- The operationGroupId.
-
getOperationGroupIdBytes
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;- Returns:
- The bytes for operationGroupId.
-
hasOperationType
boolean hasOperationType()
[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
optional string operation_type = 177650450;- Returns:
- Whether the operationType field is set.
-
getOperationType
String getOperationType()
[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
optional string operation_type = 177650450;- Returns:
- The operationType.
-
getOperationTypeBytes
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;- Returns:
- The bytes for operationType.
-
hasProgress
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;- Returns:
- Whether the progress field is set.
-
getProgress
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;- Returns:
- The progress.
-
hasRegion
boolean hasRegion()
[Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
optional string region = 138946292;- Returns:
- Whether the region field is set.
-
getRegion
String getRegion()
[Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
optional string region = 138946292;- Returns:
- The region.
-
getRegionBytes
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;- Returns:
- The bytes for region.
-
hasSelfLink
boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- Whether the selfLink field is set.
-
getSelfLink
String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- The bytes for selfLink.
-
hasStartTime
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;- Returns:
- Whether the startTime field is set.
-
getStartTime
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;- Returns:
- The startTime.
-
getStartTimeBytes
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;- Returns:
- The bytes for startTime.
-
hasStatus
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];- Returns:
- Whether the status field is set.
-
getStatusValue
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];- Returns:
- The enum numeric value on the wire for status.
-
getStatus
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];- Returns:
- The status.
-
hasStatusMessage
boolean hasStatusMessage()
[Output Only] An optional textual description of the current status of the operation.
optional string status_message = 297428154;- Returns:
- Whether the statusMessage field is set.
-
getStatusMessage
String getStatusMessage()
[Output Only] An optional textual description of the current status of the operation.
optional string status_message = 297428154;- Returns:
- The statusMessage.
-
getStatusMessageBytes
com.google.protobuf.ByteString getStatusMessageBytes()
[Output Only] An optional textual description of the current status of the operation.
optional string status_message = 297428154;- Returns:
- The bytes for statusMessage.
-
hasTargetId
boolean hasTargetId()
[Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
optional uint64 target_id = 258165385;- Returns:
- Whether the targetId field is set.
-
getTargetId
long getTargetId()
[Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
optional uint64 target_id = 258165385;- Returns:
- The targetId.
-
hasTargetLink
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;- Returns:
- Whether the targetLink field is set.
-
getTargetLink
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;- Returns:
- The targetLink.
-
getTargetLinkBytes
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;- Returns:
- The bytes for targetLink.
-
hasUser
boolean hasUser()
[Output Only] User who requested the operation, for example: `user@example.com`.
optional string user = 3599307;- Returns:
- Whether the user field is set.
-
getUser
String getUser()
[Output Only] User who requested the operation, for example: `user@example.com`.
optional string user = 3599307;- Returns:
- The user.
-
getUserBytes
com.google.protobuf.ByteString getUserBytes()
[Output Only] User who requested the operation, for example: `user@example.com`.
optional string user = 3599307;- Returns:
- The bytes for user.
-
getWarningsList
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;
-
getWarnings
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;
-
getWarningsCount
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;
-
getWarningsOrBuilderList
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;
-
getWarningsOrBuilder
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;
-
hasZone
boolean hasZone()
[Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
optional string zone = 3744684;- Returns:
- Whether the zone field is set.
-
getZone
String getZone()
[Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
optional string zone = 3744684;- Returns:
- The zone.
-
getZoneBytes
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;- Returns:
- The bytes for zone.
-
-