Package com.google.cloud.batch.v1alpha
Interface LifecyclePolicy.ActionConditionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LifecyclePolicy.ActionCondition,LifecyclePolicy.ActionCondition.Builder
- Enclosing class:
- LifecyclePolicy
public static interface LifecyclePolicy.ActionConditionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintgetExitCodes(int index) Exit codes of a task execution.intExit codes of a task execution.Exit codes of a task execution.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
-
getExitCodesList
Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed.
repeated int32 exit_codes = 1;- Returns:
- A list containing the exitCodes.
-
getExitCodesCount
int getExitCodesCount()Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed.
repeated int32 exit_codes = 1;- Returns:
- The count of exitCodes.
-
getExitCodes
int getExitCodes(int index) Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed.
repeated int32 exit_codes = 1;- Parameters:
index- The index of the element to return.- Returns:
- The exitCodes at the given index.
-