Interface OperationMetadataOrBuilder (1.53.0)

public interface OperationMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsAdditionalStatus(String key)

public abstract boolean containsAdditionalStatus(String key)

Map to hold any additional status info for the operation If there is an accelerator being enabled/disabled/deleted, this will be populated with accelerator name as key and status as ENABLING, DISABLING or DELETING

map<string, string> additional_status = 8;

Parameter
Name Description
key String
Returns
Type Description
boolean

getAdditionalStatus() (deprecated)

public abstract Map<String,String> getAdditionalStatus()
Returns
Type Description
Map<String,String>

getAdditionalStatusCount()

public abstract int getAdditionalStatusCount()

Map to hold any additional status info for the operation If there is an accelerator being enabled/disabled/deleted, this will be populated with accelerator name as key and status as ENABLING, DISABLING or DELETING

map<string, string> additional_status = 8;

Returns
Type Description
int

getAdditionalStatusMap()

public abstract Map<String,String> getAdditionalStatusMap()

Map to hold any additional status info for the operation If there is an accelerator being enabled/disabled/deleted, this will be populated with accelerator name as key and status as ENABLING, DISABLING or DELETING

map<string, string> additional_status = 8;

Returns
Type Description
Map<String,String>

getAdditionalStatusOrDefault(String key, String defaultValue)

public abstract String getAdditionalStatusOrDefault(String key, String defaultValue)

Map to hold any additional status info for the operation If there is an accelerator being enabled/disabled/deleted, this will be populated with accelerator name as key and status as ENABLING, DISABLING or DELETING

map<string, string> additional_status = 8;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getAdditionalStatusOrThrow(String key)

public abstract String getAdditionalStatusOrThrow(String key)

Map to hold any additional status info for the operation If there is an accelerator being enabled/disabled/deleted, this will be populated with accelerator name as key and status as ENABLING, DISABLING or DELETING

map<string, string> additional_status = 8;

Parameter
Name Description
key String
Returns
Type Description
String

getApiVersion()

public abstract String getApiVersion()

API version used to start the operation.

string api_version = 7;

Returns
Type Description
String

The apiVersion.

getApiVersionBytes()

public abstract ByteString getApiVersionBytes()

API version used to start the operation.

string api_version = 7;

Returns
Type Description
ByteString

The bytes for apiVersion.

getCreateTime()

public abstract Timestamp getCreateTime()

The time the operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

The time the operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
TimestampOrBuilder

getEndTime()

public abstract Timestamp getEndTime()

The time the operation finished running.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public abstract TimestampOrBuilder getEndTimeOrBuilder()

The time the operation finished running.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
TimestampOrBuilder

getRequestedCancellation()

public abstract boolean getRequestedCancellation()

Identifies whether the user has requested cancellation of 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;

Returns
Type Description
boolean

The requestedCancellation.

getStatusDetail()

public abstract String getStatusDetail()

Human-readable status of the operation if any.

string status_detail = 5;

Returns
Type Description
String

The statusDetail.

getStatusDetailBytes()

public abstract ByteString getStatusDetailBytes()

Human-readable status of the operation if any.

string status_detail = 5;

Returns
Type Description
ByteString

The bytes for statusDetail.

getTarget()

public abstract String getTarget()

Server-defined resource path for the target of the operation.

string target = 3;

Returns
Type Description
String

The target.

getTargetBytes()

public abstract ByteString getTargetBytes()

Server-defined resource path for the target of the operation.

string target = 3;

Returns
Type Description
ByteString

The bytes for target.

getVerb()

public abstract String getVerb()

Name of the verb executed by the operation.

string verb = 4;

Returns
Type Description
String

The verb.

getVerbBytes()

public abstract ByteString getVerbBytes()

Name of the verb executed by the operation.

string verb = 4;

Returns
Type Description
ByteString

The bytes for verb.

hasCreateTime()

public abstract boolean hasCreateTime()

The time the operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
boolean

Whether the createTime field is set.

hasEndTime()

public abstract boolean hasEndTime()

The time the operation finished running.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
boolean

Whether the endTime field is set.