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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface LifecyclePolicy.ActionConditionOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.batch.v1.LifecyclePolicy.ActionConditionOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.batch.v1.LifecyclePolicy.ActionConditionOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.batch.v1.LifecyclePolicy.ActionConditionOrBuilder) \n\n public static interface LifecyclePolicy.ActionConditionOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getExitCodes(int index)\n\n public abstract int getExitCodes(int index)\n\nExit codes of a task execution.\nIf there are more than 1 exit codes,\nwhen task executes with any of the exit code in the list,\nthe condition is met and the action will be executed.\n\n`repeated int32 exit_codes = 1;`\n\n### getExitCodesCount()\n\n public abstract int getExitCodesCount()\n\nExit codes of a task execution.\nIf there are more than 1 exit codes,\nwhen task executes with any of the exit code in the list,\nthe condition is met and the action will be executed.\n\n`repeated int32 exit_codes = 1;`\n\n### getExitCodesList()\n\n public abstract List\u003cInteger\u003e getExitCodesList()\n\nExit codes of a task execution.\nIf there are more than 1 exit codes,\nwhen task executes with any of the exit code in the list,\nthe condition is met and the action will be executed.\n\n`repeated int32 exit_codes = 1;`"]]