Package com.google.cloud.run.v2
Interface TaskAttemptResultOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TaskAttemptResult
,TaskAttemptResult.Builder
public interface TaskAttemptResultOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getExitCode()
Output only.com.google.rpc.Status
getStatus()
Output only.com.google.rpc.StatusOrBuilder
getStatusOrBuilder()
Output only.boolean
hasStatus()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasStatus
boolean hasStatus()
Output only. The status of this attempt. If the status code is OK, then the attempt succeeded.
.google.rpc.Status status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the status field is set.
-
getStatus
com.google.rpc.Status getStatus()
Output only. The status of this attempt. If the status code is OK, then the attempt succeeded.
.google.rpc.Status status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The status.
-
getStatusOrBuilder
com.google.rpc.StatusOrBuilder getStatusOrBuilder()
Output only. The status of this attempt. If the status code is OK, then the attempt succeeded.
.google.rpc.Status status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getExitCode
int getExitCode()
Output only. The exit code of this attempt. This may be unset if the container was unable to exit cleanly with a code due to some other failure. See status field for possible failure details.
int32 exit_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The exitCode.
-
-