io.temporal.api.failure.v1.FailureOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: temporal/api/failure/v1/message.proto
package io.temporal.api.failure.v1;
@javax.annotation.Generated(value="protoc", comments="annotations:FailureOrBuilder.java.pb.meta")
public interface FailureOrBuilder extends
// @@protoc_insertion_point(interface_extends:temporal.api.failure.v1.Failure)
com.google.protobuf.MessageOrBuilder {
/**
* string message = 1;
* @return The message.
*/
java.lang.String getMessage();
/**
* string message = 1;
* @return The bytes for message.
*/
com.google.protobuf.ByteString
getMessageBytes();
/**
*
* The source this Failure originated in, e.g. TypeScriptSDK / JavaSDK
* In some SDKs this is used to rehydrate the stack trace into an exception object.
*
*
* string source = 2;
* @return The source.
*/
java.lang.String getSource();
/**
*
* The source this Failure originated in, e.g. TypeScriptSDK / JavaSDK
* In some SDKs this is used to rehydrate the stack trace into an exception object.
*
*
* string source = 2;
* @return The bytes for source.
*/
com.google.protobuf.ByteString
getSourceBytes();
/**
* string stack_trace = 3;
* @return The stackTrace.
*/
java.lang.String getStackTrace();
/**
* string stack_trace = 3;
* @return The bytes for stackTrace.
*/
com.google.protobuf.ByteString
getStackTraceBytes();
/**
*
* Alternative way to supply `message` and `stack_trace` and possibly other attributes, used for encryption of
* errors originating in user code which might contain sensitive information.
* The `encoded_attributes` Payload could represent any serializable object, e.g. JSON object or a `Failure` proto
* message.
* SDK authors:
* - The SDK should provide a default `encodeFailureAttributes` and `decodeFailureAttributes` implementation that:
* - Uses a JSON object to represent `{ message, stack_trace }`.
* - Overwrites the original message with "Encoded failure" to indicate that more information could be extracted.
* - Overwrites the original stack_trace with an empty string.
* - The resulting JSON object is converted to Payload using the default PayloadConverter and should be processed
* by the user-provided PayloadCodec
* - If there's demand, we could allow overriding the default SDK implementation to encode other opaque Failure attributes.
* (-- api-linter: core::0203::optional=disabled --)
*
*
* .temporal.api.common.v1.Payload encoded_attributes = 20;
* @return Whether the encodedAttributes field is set.
*/
boolean hasEncodedAttributes();
/**
*
* Alternative way to supply `message` and `stack_trace` and possibly other attributes, used for encryption of
* errors originating in user code which might contain sensitive information.
* The `encoded_attributes` Payload could represent any serializable object, e.g. JSON object or a `Failure` proto
* message.
* SDK authors:
* - The SDK should provide a default `encodeFailureAttributes` and `decodeFailureAttributes` implementation that:
* - Uses a JSON object to represent `{ message, stack_trace }`.
* - Overwrites the original message with "Encoded failure" to indicate that more information could be extracted.
* - Overwrites the original stack_trace with an empty string.
* - The resulting JSON object is converted to Payload using the default PayloadConverter and should be processed
* by the user-provided PayloadCodec
* - If there's demand, we could allow overriding the default SDK implementation to encode other opaque Failure attributes.
* (-- api-linter: core::0203::optional=disabled --)
*
*
* .temporal.api.common.v1.Payload encoded_attributes = 20;
* @return The encodedAttributes.
*/
io.temporal.api.common.v1.Payload getEncodedAttributes();
/**
*
* Alternative way to supply `message` and `stack_trace` and possibly other attributes, used for encryption of
* errors originating in user code which might contain sensitive information.
* The `encoded_attributes` Payload could represent any serializable object, e.g. JSON object or a `Failure` proto
* message.
* SDK authors:
* - The SDK should provide a default `encodeFailureAttributes` and `decodeFailureAttributes` implementation that:
* - Uses a JSON object to represent `{ message, stack_trace }`.
* - Overwrites the original message with "Encoded failure" to indicate that more information could be extracted.
* - Overwrites the original stack_trace with an empty string.
* - The resulting JSON object is converted to Payload using the default PayloadConverter and should be processed
* by the user-provided PayloadCodec
* - If there's demand, we could allow overriding the default SDK implementation to encode other opaque Failure attributes.
* (-- api-linter: core::0203::optional=disabled --)
*
*
* .temporal.api.common.v1.Payload encoded_attributes = 20;
*/
io.temporal.api.common.v1.PayloadOrBuilder getEncodedAttributesOrBuilder();
/**
* .temporal.api.failure.v1.Failure cause = 4;
* @return Whether the cause field is set.
*/
boolean hasCause();
/**
* .temporal.api.failure.v1.Failure cause = 4;
* @return The cause.
*/
io.temporal.api.failure.v1.Failure getCause();
/**
* .temporal.api.failure.v1.Failure cause = 4;
*/
io.temporal.api.failure.v1.FailureOrBuilder getCauseOrBuilder();
/**
* .temporal.api.failure.v1.ApplicationFailureInfo application_failure_info = 5;
* @return Whether the applicationFailureInfo field is set.
*/
boolean hasApplicationFailureInfo();
/**
* .temporal.api.failure.v1.ApplicationFailureInfo application_failure_info = 5;
* @return The applicationFailureInfo.
*/
io.temporal.api.failure.v1.ApplicationFailureInfo getApplicationFailureInfo();
/**
* .temporal.api.failure.v1.ApplicationFailureInfo application_failure_info = 5;
*/
io.temporal.api.failure.v1.ApplicationFailureInfoOrBuilder getApplicationFailureInfoOrBuilder();
/**
* .temporal.api.failure.v1.TimeoutFailureInfo timeout_failure_info = 6;
* @return Whether the timeoutFailureInfo field is set.
*/
boolean hasTimeoutFailureInfo();
/**
* .temporal.api.failure.v1.TimeoutFailureInfo timeout_failure_info = 6;
* @return The timeoutFailureInfo.
*/
io.temporal.api.failure.v1.TimeoutFailureInfo getTimeoutFailureInfo();
/**
* .temporal.api.failure.v1.TimeoutFailureInfo timeout_failure_info = 6;
*/
io.temporal.api.failure.v1.TimeoutFailureInfoOrBuilder getTimeoutFailureInfoOrBuilder();
/**
* .temporal.api.failure.v1.CanceledFailureInfo canceled_failure_info = 7;
* @return Whether the canceledFailureInfo field is set.
*/
boolean hasCanceledFailureInfo();
/**
* .temporal.api.failure.v1.CanceledFailureInfo canceled_failure_info = 7;
* @return The canceledFailureInfo.
*/
io.temporal.api.failure.v1.CanceledFailureInfo getCanceledFailureInfo();
/**
* .temporal.api.failure.v1.CanceledFailureInfo canceled_failure_info = 7;
*/
io.temporal.api.failure.v1.CanceledFailureInfoOrBuilder getCanceledFailureInfoOrBuilder();
/**
* .temporal.api.failure.v1.TerminatedFailureInfo terminated_failure_info = 8;
* @return Whether the terminatedFailureInfo field is set.
*/
boolean hasTerminatedFailureInfo();
/**
* .temporal.api.failure.v1.TerminatedFailureInfo terminated_failure_info = 8;
* @return The terminatedFailureInfo.
*/
io.temporal.api.failure.v1.TerminatedFailureInfo getTerminatedFailureInfo();
/**
* .temporal.api.failure.v1.TerminatedFailureInfo terminated_failure_info = 8;
*/
io.temporal.api.failure.v1.TerminatedFailureInfoOrBuilder getTerminatedFailureInfoOrBuilder();
/**
* .temporal.api.failure.v1.ServerFailureInfo server_failure_info = 9;
* @return Whether the serverFailureInfo field is set.
*/
boolean hasServerFailureInfo();
/**
* .temporal.api.failure.v1.ServerFailureInfo server_failure_info = 9;
* @return The serverFailureInfo.
*/
io.temporal.api.failure.v1.ServerFailureInfo getServerFailureInfo();
/**
* .temporal.api.failure.v1.ServerFailureInfo server_failure_info = 9;
*/
io.temporal.api.failure.v1.ServerFailureInfoOrBuilder getServerFailureInfoOrBuilder();
/**
* .temporal.api.failure.v1.ResetWorkflowFailureInfo reset_workflow_failure_info = 10;
* @return Whether the resetWorkflowFailureInfo field is set.
*/
boolean hasResetWorkflowFailureInfo();
/**
* .temporal.api.failure.v1.ResetWorkflowFailureInfo reset_workflow_failure_info = 10;
* @return The resetWorkflowFailureInfo.
*/
io.temporal.api.failure.v1.ResetWorkflowFailureInfo getResetWorkflowFailureInfo();
/**
* .temporal.api.failure.v1.ResetWorkflowFailureInfo reset_workflow_failure_info = 10;
*/
io.temporal.api.failure.v1.ResetWorkflowFailureInfoOrBuilder getResetWorkflowFailureInfoOrBuilder();
/**
* .temporal.api.failure.v1.ActivityFailureInfo activity_failure_info = 11;
* @return Whether the activityFailureInfo field is set.
*/
boolean hasActivityFailureInfo();
/**
* .temporal.api.failure.v1.ActivityFailureInfo activity_failure_info = 11;
* @return The activityFailureInfo.
*/
io.temporal.api.failure.v1.ActivityFailureInfo getActivityFailureInfo();
/**
* .temporal.api.failure.v1.ActivityFailureInfo activity_failure_info = 11;
*/
io.temporal.api.failure.v1.ActivityFailureInfoOrBuilder getActivityFailureInfoOrBuilder();
/**
* .temporal.api.failure.v1.ChildWorkflowExecutionFailureInfo child_workflow_execution_failure_info = 12;
* @return Whether the childWorkflowExecutionFailureInfo field is set.
*/
boolean hasChildWorkflowExecutionFailureInfo();
/**
* .temporal.api.failure.v1.ChildWorkflowExecutionFailureInfo child_workflow_execution_failure_info = 12;
* @return The childWorkflowExecutionFailureInfo.
*/
io.temporal.api.failure.v1.ChildWorkflowExecutionFailureInfo getChildWorkflowExecutionFailureInfo();
/**
* .temporal.api.failure.v1.ChildWorkflowExecutionFailureInfo child_workflow_execution_failure_info = 12;
*/
io.temporal.api.failure.v1.ChildWorkflowExecutionFailureInfoOrBuilder getChildWorkflowExecutionFailureInfoOrBuilder();
public io.temporal.api.failure.v1.Failure.FailureInfoCase getFailureInfoCase();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy