Package com.google.cloud.tpu.v2
Interface OperationMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OperationMetadata,OperationMetadata.Builder
@Generated
public interface OperationMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAPI version.com.google.protobuf.ByteStringAPI version.booleanSpecifies if cancellation was requested for the operation.com.google.protobuf.TimestampThe time the operation was created.com.google.protobuf.TimestampOrBuilderThe time the operation was created.com.google.protobuf.TimestampThe time the operation finished running.com.google.protobuf.TimestampOrBuilderThe time the operation finished running.Human-readable status of the operation, if any.com.google.protobuf.ByteStringHuman-readable status of the operation, if any.Target of the operation - for example projects/project-1/connectivityTests/test-1com.google.protobuf.ByteStringTarget of the operation - for example projects/project-1/connectivityTests/test-1getVerb()Name of the verb executed by the operation.com.google.protobuf.ByteStringName of the verb executed by the operation.booleanThe time the operation was created.booleanThe time the operation finished running.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasCreateTime
boolean hasCreateTime()The time the operation was created.
.google.protobuf.Timestamp create_time = 1;- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()The time the operation was created.
.google.protobuf.Timestamp create_time = 1;- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()The time the operation was created.
.google.protobuf.Timestamp create_time = 1; -
hasEndTime
boolean hasEndTime()The time the operation finished running.
.google.protobuf.Timestamp end_time = 2;- Returns:
- Whether the endTime field is set.
-
getEndTime
com.google.protobuf.Timestamp getEndTime()The time the operation finished running.
.google.protobuf.Timestamp end_time = 2;- Returns:
- The endTime.
-
getEndTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()The time the operation finished running.
.google.protobuf.Timestamp end_time = 2; -
getTarget
String getTarget()Target of the operation - for example projects/project-1/connectivityTests/test-1
string target = 3;- Returns:
- The target.
-
getTargetBytes
com.google.protobuf.ByteString getTargetBytes()Target of the operation - for example projects/project-1/connectivityTests/test-1
string target = 3;- Returns:
- The bytes for target.
-
getVerb
String getVerb()Name of the verb executed by the operation.
string verb = 4;- Returns:
- The verb.
-
getVerbBytes
com.google.protobuf.ByteString getVerbBytes()Name of the verb executed by the operation.
string verb = 4;- Returns:
- The bytes for verb.
-
getStatusDetail
String getStatusDetail()Human-readable status of the operation, if any.
string status_detail = 5;- Returns:
- The statusDetail.
-
getStatusDetailBytes
com.google.protobuf.ByteString getStatusDetailBytes()Human-readable status of the operation, if any.
string status_detail = 5;- Returns:
- The bytes for statusDetail.
-
getCancelRequested
boolean getCancelRequested()Specifies if cancellation was requested for the operation.
bool cancel_requested = 6;- Returns:
- The cancelRequested.
-
getApiVersion
String getApiVersion()API version.
string api_version = 7;- Returns:
- The apiVersion.
-
getApiVersionBytes
com.google.protobuf.ByteString getApiVersionBytes()API version.
string api_version = 7;- Returns:
- The bytes for apiVersion.
-