[[["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 RetryOrBuilder (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.deploy.v1.RetryOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.deploy.v1.RetryOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.deploy.v1.RetryOrBuilder) \n\n public interface RetryOrBuilder 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### getAttempts()\n\n public abstract long getAttempts()\n\nRequired. Total number of retries. Retry is skipped if set to 0; The\nminimum value is 1, and the maximum value is 10.\n\n`int64 attempts = 1;`\n\n### getBackoffMode()\n\n public abstract BackoffMode getBackoffMode()\n\nOptional. The pattern of how wait time will be increased. Default is\nlinear. Backoff mode will be ignored if `wait` is 0.\n\n`.google.events.cloud.deploy.v1.BackoffMode backoff_mode = 3;`\n\n### getBackoffModeValue()\n\n public abstract int getBackoffModeValue()\n\nOptional. The pattern of how wait time will be increased. Default is\nlinear. Backoff mode will be ignored if `wait` is 0.\n\n`.google.events.cloud.deploy.v1.BackoffMode backoff_mode = 3;`\n\n### getWait()\n\n public abstract Duration getWait()\n\nOptional. How long to wait for the first retry. Default is 0, and the\nmaximum value is 14d.\n\n`.google.protobuf.Duration wait = 2;`\n\n### getWaitOrBuilder()\n\n public abstract DurationOrBuilder getWaitOrBuilder()\n\nOptional. How long to wait for the first retry. Default is 0, and the\nmaximum value is 14d.\n\n`.google.protobuf.Duration wait = 2;`\n\n### hasWait()\n\n public abstract boolean hasWait()\n\nOptional. How long to wait for the first retry. Default is 0, and the\nmaximum value is 14d.\n\n`.google.protobuf.Duration wait = 2;`"]]