Interface OperationMetadataOrBuilder (0.14.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface OperationMetadataOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
containsAdditionalInfo(String key)
publicabstractbooleancontainsAdditionalInfo(Stringkey)Output only. AdditionalInfo contains additional Info related to backup plan association resource.
map<string, string> additional_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAdditionalInfo() (deprecated)
publicabstractMap<String,String>getAdditionalInfo()Use #getAdditionalInfoMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getAdditionalInfoCount()
publicabstractintgetAdditionalInfoCount()Output only. AdditionalInfo contains additional Info related to backup plan association resource.
map<string, string> additional_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getAdditionalInfoMap()
publicabstractMap<String,String>getAdditionalInfoMap()Output only. AdditionalInfo contains additional Info related to backup plan association resource.
map<string, string> additional_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getAdditionalInfoOrDefault(String key, String defaultValue)
publicabstractStringgetAdditionalInfoOrDefault(Stringkey,StringdefaultValue)Output only. AdditionalInfo contains additional Info related to backup plan association resource.
map<string, string> additional_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getAdditionalInfoOrThrow(String key)
publicabstractStringgetAdditionalInfoOrThrow(Stringkey)Output only. AdditionalInfo contains additional Info related to backup plan association resource.
map<string, string> additional_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getApiVersion()
publicabstractStringgetApiVersion()Output only. API version used to start the operation.
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The apiVersion. |
getApiVersionBytes()
publicabstractByteStringgetApiVersionBytes()Output only. API version used to start the operation.
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for apiVersion. |
getCreateTime()
publicabstractTimestampgetCreateTime()Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
publicabstractTimestampOrBuildergetCreateTimeOrBuilder()Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getEndTime()
publicabstractTimestampgetEndTime()Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The endTime. |
getEndTimeOrBuilder()
publicabstractTimestampOrBuildergetEndTimeOrBuilder()Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getRequestedCancellation()
publicabstractbooleangetRequestedCancellation()Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The requestedCancellation. |
getStatusMessage()
publicabstractStringgetStatusMessage()Output only. Human-readable status of the operation, if any.
string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The statusMessage. |
getStatusMessageBytes()
publicabstractByteStringgetStatusMessageBytes()Output only. Human-readable status of the operation, if any.
string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for statusMessage. |
getTarget()
publicabstractStringgetTarget()Output only. Server-defined resource path for the target of the operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The target. |
getTargetBytes()
publicabstractByteStringgetTargetBytes()Output only. Server-defined resource path for the target of the operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for target. |
getVerb()
publicabstractStringgetVerb()Output only. Name of the verb executed by the operation.
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The verb. |
getVerbBytes()
publicabstractByteStringgetVerbBytes()Output only. Name of the verb executed by the operation.
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for verb. |
hasCreateTime()
publicabstractbooleanhasCreateTime()Output only. The time the 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()
publicabstractbooleanhasEndTime()Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the endTime field is set. |