Interface OperationMetadataOrBuilder (0.42.0)

public interface OperationMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The time at which this operation was created.

.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time at which this operation was created.

.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getEndTime()

public abstract Timestamp getEndTime()

Output only. The time at which this operation was completed.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public abstract TimestampOrBuilder getEndTimeOrBuilder()

Output only. The time at which this operation was completed.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getErrorDetail()

public abstract String getErrorDetail()

Output only. Human-readable status of any error that occurred during the operation.

string error_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The errorDetail.

getErrorDetailBytes()

public abstract ByteString getErrorDetailBytes()

Output only. Human-readable status of any error that occurred during the operation.

string error_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for errorDetail.

getRequestedCancellation()

public abstract boolean getRequestedCancellation()

Output only. Identifies whether it has been requested cancellation for the operation. Operations that have successfully been cancelled have [Operation.error][] value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The requestedCancellation.

getStatusDetail()

public abstract String getStatusDetail()

Output only. Human-readable status of the operation, if any.

string status_detail = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The statusDetail.

getStatusDetailBytes()

public abstract ByteString getStatusDetailBytes()

Output only. Human-readable status of the operation, if any.

string status_detail = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for statusDetail.

getTarget()

public abstract String getTarget()

Output only. The name of the resource associated to this operation.

string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The target.

getTargetBytes()

public abstract ByteString getTargetBytes()

Output only. The name of the resource associated to this operation.

string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for target.

getVerb()

public abstract String getVerb()

Output only. The verb associated with the API method which triggered this operation. Possible values are "create", "delete", "update" and "import".

string verb = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The verb.

getVerbBytes()

public abstract ByteString getVerbBytes()

Output only. The verb associated with the API method which triggered this operation. Possible values are "create", "delete", "update" and "import".

string verb = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for verb.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The time at which this operation was created.

.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasEndTime()

public abstract boolean hasEndTime()

Output only. The time at which this operation was completed.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the endTime field is set.