@Generated(value="by GAPIC") @BetaApi public final class Operation extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
Operation.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.ApiMessage |
getApiMessageRequestBody() |
String |
getClientOperationId()
[Output Only] The value of `requestId` if you provided it in the request.
|
String |
getCreationTimestamp()
[Deprecated] This field is deprecated.
|
static Operation |
getDefaultInstance() |
String |
getDescription()
[Output Only] A textual description of the operation, which is set when the operation is
created.
|
String |
getEndTime()
[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.
|
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
String |
getHttpErrorMessage()
[Output Only] If the operation fails, this field contains the HTTP error message that was
returned, such as NOT FOUND.
|
Integer |
getHttpErrorStatusCode()
[Output Only] If the operation fails, this field contains the HTTP error status code that was
returned.
|
String |
getId()
[Output Only] The unique identifier for the operation.
|
String |
getInsertTime()
[Output Only] The time that this operation was requested.
|
String |
getKind()
[Output Only] Type of the resource.
|
String |
getName()
[Output Only] Name of the operation.
|
String |
getOperationType()
[Output Only] The type of operation, such as insert, update, or delete, and so on.
|
Integer |
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.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
String |
getStartTime()
[Output Only] The time that this operation was started by the server.
|
String |
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.
|
String |
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.
|
String |
getUser()
[Output Only] User who requested the operation, for example: user@example.com.
|
List<Warnings> |
getWarningsList()
[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.
|
int |
hashCode() |
static Operation.Builder |
newBuilder() |
static Operation.Builder |
newBuilder(Operation prototype) |
Operation.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public com.google.api.gax.httpjson.ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface com.google.api.gax.httpjson.ApiMessage
public String getClientOperationId()
public String getCreationTimestamp()
public String getDescription()
public String getEndTime()
public Error getError()
public String getHttpErrorMessage()
public Integer getHttpErrorStatusCode()
public String getId()
public String getInsertTime()
public String getKind()
public String getName()
public String getOperationType()
public Integer getProgress()
public String getRegion()
public String getSelfLink()
public String getStartTime()
public String getStatus()
public String getStatusMessage()
public String getTargetId()
public String getTargetLink()
public String getUser()
public List<Warnings> getWarningsList()
public String getZone()
public static Operation.Builder newBuilder()
public static Operation.Builder newBuilder(Operation prototype)
public Operation.Builder toBuilder()
public static Operation getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.