Interface TaskExecutionOrBuilder (0.41.0)

public interface TaskExecutionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExitCode()

public abstract int getExitCode()

When task is completed as the status of FAILED or SUCCEEDED, exit code is for one task execution result, default is 0 as success.

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.