Package com.google.cloud.batch.v1alpha
Interface TaskExecutionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TaskExecution
,TaskExecution.Builder
public interface TaskExecutionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.String
getStderrSnippet()
Optional.com.google.protobuf.ByteString
getStderrSnippetBytes()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getExitCode
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:
- The exitCode.
-
getStderrSnippet
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:
- The stderrSnippet.
-
getStderrSnippetBytes
com.google.protobuf.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:
- The bytes for stderrSnippet.
-
-