Interface GatewayOuterClass.FailJobRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GatewayOuterClass.FailJobRequest,GatewayOuterClass.FailJobRequest.Builder
- Enclosing class:
- GatewayOuterClass
public static interface GatewayOuterClass.FailJobRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionan optional message describing why the job failed this is particularly useful if a job runs out of retries and an incident is raised, as it this message can help explain why an incident was raisedcom.google.protobuf.ByteStringan optional message describing why the job failed this is particularly useful if a job runs out of retries and an incident is raised, as it this message can help explain why an incident was raisedlongthe unique job identifier, as obtained when activating the jobintthe amount of retries the job should have leftlongthe backoff timeout for the next retryMethods 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
-
getJobKey
long getJobKey()the unique job identifier, as obtained when activating the job
int64 jobKey = 1;- Returns:
- The jobKey.
-
getRetries
int getRetries()the amount of retries the job should have left
int32 retries = 2;- Returns:
- The retries.
-
getErrorMessage
String getErrorMessage()an optional message describing why the job failed this is particularly useful if a job runs out of retries and an incident is raised, as it this message can help explain why an incident was raised
string errorMessage = 3;- Returns:
- The errorMessage.
-
getErrorMessageBytes
com.google.protobuf.ByteString getErrorMessageBytes()an optional message describing why the job failed this is particularly useful if a job runs out of retries and an incident is raised, as it this message can help explain why an incident was raised
string errorMessage = 3;- Returns:
- The bytes for errorMessage.
-
getRetryBackOff
long getRetryBackOff()the backoff timeout for the next retry
int64 retryBackOff = 4;- Returns:
- The retryBackOff.
-