Interface TaskAttemptResultOrBuilder (0.23.0)

public interface TaskAttemptResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExitCode()

public abstract 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
TypeDescription
int

The exitCode.

getStatus()

public abstract 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
TypeDescription
com.google.rpc.Status

The status.

getStatusOrBuilder()

public abstract 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];

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

hasStatus()

public abstract 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
TypeDescription
boolean

Whether the status field is set.