Interface TaskExecutionOrBuilder (0.45.0)

public interface TaskExecutionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExitCode()

public abstract int getExitCode()

The exit code of a finished task.

If the task succeeded, the exit code will be 0. If the task failed but not due to the following reasons, the exit code will be 50000.

Otherwise, it can be from different sources:

int32 exit_code = 1;

Returns
Type Description
int

The exitCode.

getStderrSnippet()

public abstract String getStderrSnippet()

Optional. The tail end of any content written to standard error by the task execution. This field will be populated only when the execution failed.

string stderr_snippet = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The stderrSnippet.

getStderrSnippetBytes()

public abstract ByteString getStderrSnippetBytes()

Optional. The tail end of any content written to standard error by the task execution. This field will be populated only when the execution failed.

string stderr_snippet = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for stderrSnippet.