Modifier and Type | Method and Description |
---|---|
Operation.Builder |
addAllWarnings(List<Warnings> warnings)
[Output Only] If warning messages are generated during processing of the operation, this
field will be populated.
|
Operation.Builder |
addWarnings(Warnings warnings)
[Output Only] If warning messages are generated during processing of the operation, this
field will be populated.
|
Operation |
build() |
Operation.Builder |
clone() |
String |
getClientOperationId()
[Output Only] The value of `requestId` if you provided it in the request.
|
String |
getCreationTimestamp()
[Deprecated] This field is deprecated.
|
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.
|
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 resource.
|
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 resource.
|
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.
|
Operation.Builder |
mergeFrom(Operation other) |
Operation.Builder |
setClientOperationId(String clientOperationId)
[Output Only] The value of `requestId` if you provided it in the request.
|
Operation.Builder |
setCreationTimestamp(String creationTimestamp)
[Deprecated] This field is deprecated.
|
Operation.Builder |
setDescription(String description)
[Output Only] A textual description of the operation, which is set when the operation is
created.
|
Operation.Builder |
setEndTime(String endTime)
[Output Only] The time that this operation was completed.
|
Operation.Builder |
setError(Error error)
[Output Only] If errors are generated during processing of the operation, this field will be
populated.
|
Operation.Builder |
setHttpErrorMessage(String httpErrorMessage)
[Output Only] If the operation fails, this field contains the HTTP error message that was
returned, such as NOT FOUND.
|
Operation.Builder |
setHttpErrorStatusCode(Integer httpErrorStatusCode)
[Output Only] If the operation fails, this field contains the HTTP error status code that was
returned.
|
Operation.Builder |
setId(String id)
[Output Only] The unique identifier for the resource.
|
Operation.Builder |
setInsertTime(String insertTime)
[Output Only] The time that this operation was requested.
|
Operation.Builder |
setKind(String kind)
[Output Only] Type of the resource.
|
Operation.Builder |
setName(String name)
[Output Only] Name of the resource.
|
Operation.Builder |
setOperationType(String operationType)
[Output Only] The type of operation, such as insert, update, or delete, and so on.
|
Operation.Builder |
setProgress(Integer progress)
[Output Only] An optional progress indicator that ranges from 0 to 100.
|
Operation.Builder |
setRegion(String region)
[Output Only] The URL of the region where the operation resides.
|
Operation.Builder |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
Operation.Builder |
setStartTime(String startTime)
[Output Only] The time that this operation was started by the server.
|
Operation.Builder |
setStatus(String status)
[Output Only] The status of the operation, which can be one of the following: PENDING,
RUNNING, or DONE.
|
Operation.Builder |
setStatusMessage(String statusMessage)
[Output Only] An optional textual description of the current status of the operation.
|
Operation.Builder |
setTargetId(String targetId)
[Output Only] The unique target ID, which identifies a specific incarnation of the target
resource.
|
Operation.Builder |
setTargetLink(String targetLink)
[Output Only] The URL of the resource that the operation modifies.
|
Operation.Builder |
setUser(String user)
[Output Only] User who requested the operation, for example: user@example.com.
|
Operation.Builder |
setZone(String zone)
[Output Only] The URL of the zone where the operation resides.
|
public Operation.Builder mergeFrom(Operation other)
public String getClientOperationId()
public Operation.Builder setClientOperationId(String clientOperationId)
public String getCreationTimestamp()
public Operation.Builder setCreationTimestamp(String creationTimestamp)
public String getDescription()
public Operation.Builder setDescription(String description)
public String getEndTime()
public Operation.Builder setEndTime(String endTime)
public Error getError()
public Operation.Builder setError(Error error)
public String getHttpErrorMessage()
public Operation.Builder setHttpErrorMessage(String httpErrorMessage)
public Integer getHttpErrorStatusCode()
public Operation.Builder setHttpErrorStatusCode(Integer httpErrorStatusCode)
public String getId()
public Operation.Builder setId(String id)
public String getInsertTime()
public Operation.Builder setInsertTime(String insertTime)
public String getKind()
public Operation.Builder setKind(String kind)
public String getName()
public Operation.Builder setName(String name)
public String getOperationType()
public Operation.Builder setOperationType(String operationType)
public Integer getProgress()
public Operation.Builder setProgress(Integer progress)
public String getRegion()
public Operation.Builder setRegion(String region)
public String getSelfLink()
public Operation.Builder setSelfLink(String selfLink)
public String getStartTime()
public Operation.Builder setStartTime(String startTime)
public String getStatus()
public Operation.Builder setStatus(String status)
public String getStatusMessage()
public Operation.Builder setStatusMessage(String statusMessage)
public String getTargetId()
public Operation.Builder setTargetId(String targetId)
public String getTargetLink()
public Operation.Builder setTargetLink(String targetLink)
public String getUser()
public Operation.Builder setUser(String user)
public List<Warnings> getWarningsList()
public Operation.Builder addAllWarnings(List<Warnings> warnings)
public Operation.Builder addWarnings(Warnings warnings)
public String getZone()
public Operation.Builder setZone(String zone)
public Operation build()
public Operation.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.