Interface FailureDetails.SpawnOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FailureDetails.Spawn,FailureDetails.Spawn.Builder
- Enclosing class:
- FailureDetails
public static interface FailureDetails.SpawnOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanFor Codes describing generic failure to spawn (eg.getCode().failure_details.Spawn.Code code = 1;int.failure_details.Spawn.Code code = 1;intIf Code is NON_ZERO_EXIT, the `spawn_exit_code` field may be set to the non-zero exit code returned by the spawned process to the OS.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCodeValue
int getCodeValue().failure_details.Spawn.Code code = 1;- Returns:
- The enum numeric value on the wire for code.
-
getCode
FailureDetails.Spawn.Code getCode().failure_details.Spawn.Code code = 1;- Returns:
- The code.
-
getCatastrophic
boolean getCatastrophic()For Codes describing generic failure to spawn (eg. EXECUTION_FAILED and EXECUTION_DENIED) the `catastrophic` field may be set to true indicating a failure that immediately terminated the entire build tool.
bool catastrophic = 2;- Returns:
- The catastrophic.
-
getSpawnExitCode
int getSpawnExitCode()If Code is NON_ZERO_EXIT, the `spawn_exit_code` field may be set to the non-zero exit code returned by the spawned process to the OS. NOTE: This field must not be confused with the build tool's overall exit code.
int32 spawn_exit_code = 3;- Returns:
- The spawnExitCode.
-