Documentation ¶
Overview ¶
Code generated by protoc-gen-go-helpers. DO NOT EDIT.
Index ¶
- Variables
- type ActivityFailureInfo
- func (*ActivityFailureInfo) Descriptor() ([]byte, []int)deprecated
- func (this *ActivityFailureInfo) Equal(that interface{}) bool
- func (x *ActivityFailureInfo) GetActivityId() string
- func (x *ActivityFailureInfo) GetActivityType() *v1.ActivityType
- func (x *ActivityFailureInfo) GetIdentity() string
- func (x *ActivityFailureInfo) GetRetryState() v11.RetryState
- func (x *ActivityFailureInfo) GetScheduledEventId() int64
- func (x *ActivityFailureInfo) GetStartedEventId() int64
- func (val *ActivityFailureInfo) Marshal() ([]byte, error)
- func (*ActivityFailureInfo) ProtoMessage()
- func (x *ActivityFailureInfo) ProtoReflect() protoreflect.Message
- func (x *ActivityFailureInfo) Reset()
- func (val *ActivityFailureInfo) Size() int
- func (x *ActivityFailureInfo) String() string
- func (val *ActivityFailureInfo) Unmarshal(buf []byte) error
- type ApplicationFailureInfo
- func (*ApplicationFailureInfo) Descriptor() ([]byte, []int)deprecated
- func (this *ApplicationFailureInfo) Equal(that interface{}) bool
- func (x *ApplicationFailureInfo) GetDetails() *v1.Payloads
- func (x *ApplicationFailureInfo) GetNextRetryDelay() *durationpb.Duration
- func (x *ApplicationFailureInfo) GetNonRetryable() bool
- func (x *ApplicationFailureInfo) GetType() string
- func (val *ApplicationFailureInfo) Marshal() ([]byte, error)
- func (*ApplicationFailureInfo) ProtoMessage()
- func (x *ApplicationFailureInfo) ProtoReflect() protoreflect.Message
- func (x *ApplicationFailureInfo) Reset()
- func (val *ApplicationFailureInfo) Size() int
- func (x *ApplicationFailureInfo) String() string
- func (val *ApplicationFailureInfo) Unmarshal(buf []byte) error
- type CanceledFailureInfo
- func (*CanceledFailureInfo) Descriptor() ([]byte, []int)deprecated
- func (this *CanceledFailureInfo) Equal(that interface{}) bool
- func (x *CanceledFailureInfo) GetDetails() *v1.Payloads
- func (val *CanceledFailureInfo) Marshal() ([]byte, error)
- func (*CanceledFailureInfo) ProtoMessage()
- func (x *CanceledFailureInfo) ProtoReflect() protoreflect.Message
- func (x *CanceledFailureInfo) Reset()
- func (val *CanceledFailureInfo) Size() int
- func (x *CanceledFailureInfo) String() string
- func (val *CanceledFailureInfo) Unmarshal(buf []byte) error
- type ChildWorkflowExecutionFailureInfo
- func (*ChildWorkflowExecutionFailureInfo) Descriptor() ([]byte, []int)deprecated
- func (this *ChildWorkflowExecutionFailureInfo) Equal(that interface{}) bool
- func (x *ChildWorkflowExecutionFailureInfo) GetInitiatedEventId() int64
- func (x *ChildWorkflowExecutionFailureInfo) GetNamespace() string
- func (x *ChildWorkflowExecutionFailureInfo) GetRetryState() v11.RetryState
- func (x *ChildWorkflowExecutionFailureInfo) GetStartedEventId() int64
- func (x *ChildWorkflowExecutionFailureInfo) GetWorkflowExecution() *v1.WorkflowExecution
- func (x *ChildWorkflowExecutionFailureInfo) GetWorkflowType() *v1.WorkflowType
- func (val *ChildWorkflowExecutionFailureInfo) Marshal() ([]byte, error)
- func (*ChildWorkflowExecutionFailureInfo) ProtoMessage()
- func (x *ChildWorkflowExecutionFailureInfo) ProtoReflect() protoreflect.Message
- func (x *ChildWorkflowExecutionFailureInfo) Reset()
- func (val *ChildWorkflowExecutionFailureInfo) Size() int
- func (x *ChildWorkflowExecutionFailureInfo) String() string
- func (val *ChildWorkflowExecutionFailureInfo) Unmarshal(buf []byte) error
- type Failure
- func (*Failure) Descriptor() ([]byte, []int)deprecated
- func (this *Failure) Equal(that interface{}) bool
- func (x *Failure) GetActivityFailureInfo() *ActivityFailureInfo
- func (x *Failure) GetApplicationFailureInfo() *ApplicationFailureInfo
- func (x *Failure) GetCanceledFailureInfo() *CanceledFailureInfo
- func (x *Failure) GetCause() *Failure
- func (x *Failure) GetChildWorkflowExecutionFailureInfo() *ChildWorkflowExecutionFailureInfo
- func (x *Failure) GetEncodedAttributes() *v1.Payload
- func (m *Failure) GetFailureInfo() isFailure_FailureInfo
- func (x *Failure) GetMessage() string
- func (x *Failure) GetNexusHandlerFailureInfo() *NexusHandlerFailureInfo
- func (x *Failure) GetNexusOperationExecutionFailureInfo() *NexusOperationFailureInfo
- func (x *Failure) GetResetWorkflowFailureInfo() *ResetWorkflowFailureInfo
- func (x *Failure) GetServerFailureInfo() *ServerFailureInfo
- func (x *Failure) GetSource() string
- func (x *Failure) GetStackTrace() string
- func (x *Failure) GetTerminatedFailureInfo() *TerminatedFailureInfo
- func (x *Failure) GetTimeoutFailureInfo() *TimeoutFailureInfo
- func (val *Failure) Marshal() ([]byte, error)
- func (*Failure) ProtoMessage()
- func (x *Failure) ProtoReflect() protoreflect.Message
- func (x *Failure) Reset()
- func (val *Failure) Size() int
- func (x *Failure) String() string
- func (val *Failure) Unmarshal(buf []byte) error
- type Failure_ActivityFailureInfo
- type Failure_ApplicationFailureInfo
- type Failure_CanceledFailureInfo
- type Failure_ChildWorkflowExecutionFailureInfo
- type Failure_NexusHandlerFailureInfo
- type Failure_NexusOperationExecutionFailureInfo
- type Failure_ResetWorkflowFailureInfo
- type Failure_ServerFailureInfo
- type Failure_TerminatedFailureInfo
- type Failure_TimeoutFailureInfo
- type MultiOperationExecutionAborted
- func (*MultiOperationExecutionAborted) Descriptor() ([]byte, []int)deprecated
- func (this *MultiOperationExecutionAborted) Equal(that interface{}) bool
- func (val *MultiOperationExecutionAborted) Marshal() ([]byte, error)
- func (*MultiOperationExecutionAborted) ProtoMessage()
- func (x *MultiOperationExecutionAborted) ProtoReflect() protoreflect.Message
- func (x *MultiOperationExecutionAborted) Reset()
- func (val *MultiOperationExecutionAborted) Size() int
- func (x *MultiOperationExecutionAborted) String() string
- func (val *MultiOperationExecutionAborted) Unmarshal(buf []byte) error
- type NexusHandlerFailureInfo
- func (*NexusHandlerFailureInfo) Descriptor() ([]byte, []int)deprecated
- func (this *NexusHandlerFailureInfo) Equal(that interface{}) bool
- func (x *NexusHandlerFailureInfo) GetType() string
- func (val *NexusHandlerFailureInfo) Marshal() ([]byte, error)
- func (*NexusHandlerFailureInfo) ProtoMessage()
- func (x *NexusHandlerFailureInfo) ProtoReflect() protoreflect.Message
- func (x *NexusHandlerFailureInfo) Reset()
- func (val *NexusHandlerFailureInfo) Size() int
- func (x *NexusHandlerFailureInfo) String() string
- func (val *NexusHandlerFailureInfo) Unmarshal(buf []byte) error
- type NexusOperationFailureInfo
- func (*NexusOperationFailureInfo) Descriptor() ([]byte, []int)deprecated
- func (this *NexusOperationFailureInfo) Equal(that interface{}) bool
- func (x *NexusOperationFailureInfo) GetEndpoint() string
- func (x *NexusOperationFailureInfo) GetOperation() string
- func (x *NexusOperationFailureInfo) GetOperationId() string
- func (x *NexusOperationFailureInfo) GetScheduledEventId() int64
- func (x *NexusOperationFailureInfo) GetService() string
- func (val *NexusOperationFailureInfo) Marshal() ([]byte, error)
- func (*NexusOperationFailureInfo) ProtoMessage()
- func (x *NexusOperationFailureInfo) ProtoReflect() protoreflect.Message
- func (x *NexusOperationFailureInfo) Reset()
- func (val *NexusOperationFailureInfo) Size() int
- func (x *NexusOperationFailureInfo) String() string
- func (val *NexusOperationFailureInfo) Unmarshal(buf []byte) error
- type ResetWorkflowFailureInfo
- func (*ResetWorkflowFailureInfo) Descriptor() ([]byte, []int)deprecated
- func (this *ResetWorkflowFailureInfo) Equal(that interface{}) bool
- func (x *ResetWorkflowFailureInfo) GetLastHeartbeatDetails() *v1.Payloads
- func (val *ResetWorkflowFailureInfo) Marshal() ([]byte, error)
- func (*ResetWorkflowFailureInfo) ProtoMessage()
- func (x *ResetWorkflowFailureInfo) ProtoReflect() protoreflect.Message
- func (x *ResetWorkflowFailureInfo) Reset()
- func (val *ResetWorkflowFailureInfo) Size() int
- func (x *ResetWorkflowFailureInfo) String() string
- func (val *ResetWorkflowFailureInfo) Unmarshal(buf []byte) error
- type ServerFailureInfo
- func (*ServerFailureInfo) Descriptor() ([]byte, []int)deprecated
- func (this *ServerFailureInfo) Equal(that interface{}) bool
- func (x *ServerFailureInfo) GetNonRetryable() bool
- func (val *ServerFailureInfo) Marshal() ([]byte, error)
- func (*ServerFailureInfo) ProtoMessage()
- func (x *ServerFailureInfo) ProtoReflect() protoreflect.Message
- func (x *ServerFailureInfo) Reset()
- func (val *ServerFailureInfo) Size() int
- func (x *ServerFailureInfo) String() string
- func (val *ServerFailureInfo) Unmarshal(buf []byte) error
- type TerminatedFailureInfo
- func (*TerminatedFailureInfo) Descriptor() ([]byte, []int)deprecated
- func (this *TerminatedFailureInfo) Equal(that interface{}) bool
- func (val *TerminatedFailureInfo) Marshal() ([]byte, error)
- func (*TerminatedFailureInfo) ProtoMessage()
- func (x *TerminatedFailureInfo) ProtoReflect() protoreflect.Message
- func (x *TerminatedFailureInfo) Reset()
- func (val *TerminatedFailureInfo) Size() int
- func (x *TerminatedFailureInfo) String() string
- func (val *TerminatedFailureInfo) Unmarshal(buf []byte) error
- type TimeoutFailureInfo
- func (*TimeoutFailureInfo) Descriptor() ([]byte, []int)deprecated
- func (this *TimeoutFailureInfo) Equal(that interface{}) bool
- func (x *TimeoutFailureInfo) GetLastHeartbeatDetails() *v1.Payloads
- func (x *TimeoutFailureInfo) GetTimeoutType() v11.TimeoutType
- func (val *TimeoutFailureInfo) Marshal() ([]byte, error)
- func (*TimeoutFailureInfo) ProtoMessage()
- func (x *TimeoutFailureInfo) ProtoReflect() protoreflect.Message
- func (x *TimeoutFailureInfo) Reset()
- func (val *TimeoutFailureInfo) Size() int
- func (x *TimeoutFailureInfo) String() string
- func (val *TimeoutFailureInfo) Unmarshal(buf []byte) error
Constants ¶
This section is empty.
Variables ¶
var File_temporal_api_failure_v1_message_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ActivityFailureInfo ¶
type ActivityFailureInfo struct { ScheduledEventId int64 `protobuf:"varint,1,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` StartedEventId int64 `protobuf:"varint,2,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` ActivityType *v1.ActivityType `protobuf:"bytes,4,opt,name=activity_type,json=activityType,proto3" json:"activity_type,omitempty"` ActivityId string `protobuf:"bytes,5,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` RetryState v11.RetryState `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ActivityFailureInfo) Descriptor
deprecated
func (*ActivityFailureInfo) Descriptor() ([]byte, []int)
Deprecated: Use ActivityFailureInfo.ProtoReflect.Descriptor instead.
func (*ActivityFailureInfo) Equal ¶
func (this *ActivityFailureInfo) Equal(that interface{}) bool
Equal returns whether two ActivityFailureInfo values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (*ActivityFailureInfo) GetActivityId ¶
func (x *ActivityFailureInfo) GetActivityId() string
func (*ActivityFailureInfo) GetActivityType ¶
func (x *ActivityFailureInfo) GetActivityType() *v1.ActivityType
func (*ActivityFailureInfo) GetIdentity ¶
func (x *ActivityFailureInfo) GetIdentity() string
func (*ActivityFailureInfo) GetRetryState ¶
func (x *ActivityFailureInfo) GetRetryState() v11.RetryState
func (*ActivityFailureInfo) GetScheduledEventId ¶
func (x *ActivityFailureInfo) GetScheduledEventId() int64
func (*ActivityFailureInfo) GetStartedEventId ¶
func (x *ActivityFailureInfo) GetStartedEventId() int64
func (*ActivityFailureInfo) Marshal ¶
func (val *ActivityFailureInfo) Marshal() ([]byte, error)
Marshal an object of type ActivityFailureInfo to the protobuf v3 wire format
func (*ActivityFailureInfo) ProtoMessage ¶
func (*ActivityFailureInfo) ProtoMessage()
func (*ActivityFailureInfo) ProtoReflect ¶ added in v1.26.1
func (x *ActivityFailureInfo) ProtoReflect() protoreflect.Message
func (*ActivityFailureInfo) Reset ¶
func (x *ActivityFailureInfo) Reset()
func (*ActivityFailureInfo) Size ¶
func (val *ActivityFailureInfo) Size() int
Size returns the size of the object, in bytes, once serialized
func (*ActivityFailureInfo) String ¶
func (x *ActivityFailureInfo) String() string
func (*ActivityFailureInfo) Unmarshal ¶
func (val *ActivityFailureInfo) Unmarshal(buf []byte) error
Unmarshal an object of type ActivityFailureInfo from the protobuf v3 wire format
type ApplicationFailureInfo ¶
type ApplicationFailureInfo struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` NonRetryable bool `protobuf:"varint,2,opt,name=non_retryable,json=nonRetryable,proto3" json:"non_retryable,omitempty"` Details *v1.Payloads `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` // next_retry_delay can be used by the client to override the activity // retry interval calculated by the retry policy. Retry attempts will // still be subject to the maximum retries limit and total time limit // defined by the policy. NextRetryDelay *durationpb.Duration `protobuf:"bytes,4,opt,name=next_retry_delay,json=nextRetryDelay,proto3" json:"next_retry_delay,omitempty"` // contains filtered or unexported fields }
func (*ApplicationFailureInfo) Descriptor
deprecated
func (*ApplicationFailureInfo) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationFailureInfo.ProtoReflect.Descriptor instead.
func (*ApplicationFailureInfo) Equal ¶
func (this *ApplicationFailureInfo) Equal(that interface{}) bool
Equal returns whether two ApplicationFailureInfo values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (*ApplicationFailureInfo) GetDetails ¶
func (x *ApplicationFailureInfo) GetDetails() *v1.Payloads
func (*ApplicationFailureInfo) GetNextRetryDelay ¶ added in v1.27.0
func (x *ApplicationFailureInfo) GetNextRetryDelay() *durationpb.Duration
func (*ApplicationFailureInfo) GetNonRetryable ¶
func (x *ApplicationFailureInfo) GetNonRetryable() bool
func (*ApplicationFailureInfo) GetType ¶
func (x *ApplicationFailureInfo) GetType() string
func (*ApplicationFailureInfo) Marshal ¶
func (val *ApplicationFailureInfo) Marshal() ([]byte, error)
Marshal an object of type ApplicationFailureInfo to the protobuf v3 wire format
func (*ApplicationFailureInfo) ProtoMessage ¶
func (*ApplicationFailureInfo) ProtoMessage()
func (*ApplicationFailureInfo) ProtoReflect ¶ added in v1.26.1
func (x *ApplicationFailureInfo) ProtoReflect() protoreflect.Message
func (*ApplicationFailureInfo) Reset ¶
func (x *ApplicationFailureInfo) Reset()
func (*ApplicationFailureInfo) Size ¶
func (val *ApplicationFailureInfo) Size() int
Size returns the size of the object, in bytes, once serialized
func (*ApplicationFailureInfo) String ¶
func (x *ApplicationFailureInfo) String() string
func (*ApplicationFailureInfo) Unmarshal ¶
func (val *ApplicationFailureInfo) Unmarshal(buf []byte) error
Unmarshal an object of type ApplicationFailureInfo from the protobuf v3 wire format
type CanceledFailureInfo ¶
type CanceledFailureInfo struct { Details *v1.Payloads `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` // contains filtered or unexported fields }
func (*CanceledFailureInfo) Descriptor
deprecated
func (*CanceledFailureInfo) Descriptor() ([]byte, []int)
Deprecated: Use CanceledFailureInfo.ProtoReflect.Descriptor instead.
func (*CanceledFailureInfo) Equal ¶
func (this *CanceledFailureInfo) Equal(that interface{}) bool
Equal returns whether two CanceledFailureInfo values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (*CanceledFailureInfo) GetDetails ¶
func (x *CanceledFailureInfo) GetDetails() *v1.Payloads
func (*CanceledFailureInfo) Marshal ¶
func (val *CanceledFailureInfo) Marshal() ([]byte, error)
Marshal an object of type CanceledFailureInfo to the protobuf v3 wire format
func (*CanceledFailureInfo) ProtoMessage ¶
func (*CanceledFailureInfo) ProtoMessage()
func (*CanceledFailureInfo) ProtoReflect ¶ added in v1.26.1
func (x *CanceledFailureInfo) ProtoReflect() protoreflect.Message
func (*CanceledFailureInfo) Reset ¶
func (x *CanceledFailureInfo) Reset()
func (*CanceledFailureInfo) Size ¶
func (val *CanceledFailureInfo) Size() int
Size returns the size of the object, in bytes, once serialized
func (*CanceledFailureInfo) String ¶
func (x *CanceledFailureInfo) String() string
func (*CanceledFailureInfo) Unmarshal ¶
func (val *CanceledFailureInfo) Unmarshal(buf []byte) error
Unmarshal an object of type CanceledFailureInfo from the protobuf v3 wire format
type ChildWorkflowExecutionFailureInfo ¶
type ChildWorkflowExecutionFailureInfo struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` WorkflowExecution *v1.WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` WorkflowType *v1.WorkflowType `protobuf:"bytes,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` InitiatedEventId int64 `protobuf:"varint,4,opt,name=initiated_event_id,json=initiatedEventId,proto3" json:"initiated_event_id,omitempty"` StartedEventId int64 `protobuf:"varint,5,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` RetryState v11.RetryState `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ChildWorkflowExecutionFailureInfo) Descriptor
deprecated
func (*ChildWorkflowExecutionFailureInfo) Descriptor() ([]byte, []int)
Deprecated: Use ChildWorkflowExecutionFailureInfo.ProtoReflect.Descriptor instead.
func (*ChildWorkflowExecutionFailureInfo) Equal ¶
func (this *ChildWorkflowExecutionFailureInfo) Equal(that interface{}) bool
Equal returns whether two ChildWorkflowExecutionFailureInfo values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (*ChildWorkflowExecutionFailureInfo) GetInitiatedEventId ¶
func (x *ChildWorkflowExecutionFailureInfo) GetInitiatedEventId() int64
func (*ChildWorkflowExecutionFailureInfo) GetNamespace ¶
func (x *ChildWorkflowExecutionFailureInfo) GetNamespace() string
func (*ChildWorkflowExecutionFailureInfo) GetRetryState ¶
func (x *ChildWorkflowExecutionFailureInfo) GetRetryState() v11.RetryState
func (*ChildWorkflowExecutionFailureInfo) GetStartedEventId ¶
func (x *ChildWorkflowExecutionFailureInfo) GetStartedEventId() int64
func (*ChildWorkflowExecutionFailureInfo) GetWorkflowExecution ¶
func (x *ChildWorkflowExecutionFailureInfo) GetWorkflowExecution() *v1.WorkflowExecution
func (*ChildWorkflowExecutionFailureInfo) GetWorkflowType ¶
func (x *ChildWorkflowExecutionFailureInfo) GetWorkflowType() *v1.WorkflowType
func (*ChildWorkflowExecutionFailureInfo) Marshal ¶
func (val *ChildWorkflowExecutionFailureInfo) Marshal() ([]byte, error)
Marshal an object of type ChildWorkflowExecutionFailureInfo to the protobuf v3 wire format
func (*ChildWorkflowExecutionFailureInfo) ProtoMessage ¶
func (*ChildWorkflowExecutionFailureInfo) ProtoMessage()
func (*ChildWorkflowExecutionFailureInfo) ProtoReflect ¶ added in v1.26.1
func (x *ChildWorkflowExecutionFailureInfo) ProtoReflect() protoreflect.Message
func (*ChildWorkflowExecutionFailureInfo) Reset ¶
func (x *ChildWorkflowExecutionFailureInfo) Reset()
func (*ChildWorkflowExecutionFailureInfo) Size ¶
func (val *ChildWorkflowExecutionFailureInfo) Size() int
Size returns the size of the object, in bytes, once serialized
func (*ChildWorkflowExecutionFailureInfo) String ¶
func (x *ChildWorkflowExecutionFailureInfo) String() string
func (*ChildWorkflowExecutionFailureInfo) Unmarshal ¶
func (val *ChildWorkflowExecutionFailureInfo) Unmarshal(buf []byte) error
Unmarshal an object of type ChildWorkflowExecutionFailureInfo from the protobuf v3 wire format
type Failure ¶
type Failure struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // 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. Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` StackTrace string `protobuf:"bytes,3,opt,name=stack_trace,json=stackTrace,proto3" json:"stack_trace,omitempty"` // 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 --) EncodedAttributes *v1.Payload `protobuf:"bytes,20,opt,name=encoded_attributes,json=encodedAttributes,proto3" json:"encoded_attributes,omitempty"` Cause *Failure `protobuf:"bytes,4,opt,name=cause,proto3" json:"cause,omitempty"` // Types that are assignable to FailureInfo: // // *Failure_ApplicationFailureInfo // *Failure_TimeoutFailureInfo // *Failure_CanceledFailureInfo // *Failure_TerminatedFailureInfo // *Failure_ServerFailureInfo // *Failure_ResetWorkflowFailureInfo // *Failure_ActivityFailureInfo // *Failure_ChildWorkflowExecutionFailureInfo // *Failure_NexusOperationExecutionFailureInfo // *Failure_NexusHandlerFailureInfo FailureInfo isFailure_FailureInfo `protobuf_oneof:"failure_info"` // contains filtered or unexported fields }
func (*Failure) Descriptor
deprecated
func (*Failure) Equal ¶
Equal returns whether two Failure values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (*Failure) GetActivityFailureInfo ¶
func (x *Failure) GetActivityFailureInfo() *ActivityFailureInfo
func (*Failure) GetApplicationFailureInfo ¶
func (x *Failure) GetApplicationFailureInfo() *ApplicationFailureInfo
func (*Failure) GetCanceledFailureInfo ¶
func (x *Failure) GetCanceledFailureInfo() *CanceledFailureInfo
func (*Failure) GetChildWorkflowExecutionFailureInfo ¶
func (x *Failure) GetChildWorkflowExecutionFailureInfo() *ChildWorkflowExecutionFailureInfo
func (*Failure) GetEncodedAttributes ¶ added in v1.11.0
func (*Failure) GetFailureInfo ¶
func (m *Failure) GetFailureInfo() isFailure_FailureInfo
func (*Failure) GetMessage ¶
func (*Failure) GetNexusHandlerFailureInfo ¶ added in v1.43.0
func (x *Failure) GetNexusHandlerFailureInfo() *NexusHandlerFailureInfo
func (*Failure) GetNexusOperationExecutionFailureInfo ¶ added in v1.32.1
func (x *Failure) GetNexusOperationExecutionFailureInfo() *NexusOperationFailureInfo
func (*Failure) GetResetWorkflowFailureInfo ¶
func (x *Failure) GetResetWorkflowFailureInfo() *ResetWorkflowFailureInfo
func (*Failure) GetServerFailureInfo ¶
func (x *Failure) GetServerFailureInfo() *ServerFailureInfo
func (*Failure) GetStackTrace ¶
func (*Failure) GetTerminatedFailureInfo ¶
func (x *Failure) GetTerminatedFailureInfo() *TerminatedFailureInfo
func (*Failure) GetTimeoutFailureInfo ¶
func (x *Failure) GetTimeoutFailureInfo() *TimeoutFailureInfo
func (*Failure) ProtoMessage ¶
func (*Failure) ProtoMessage()
func (*Failure) ProtoReflect ¶ added in v1.26.1
func (x *Failure) ProtoReflect() protoreflect.Message
type Failure_ActivityFailureInfo ¶
type Failure_ActivityFailureInfo struct {
ActivityFailureInfo *ActivityFailureInfo `protobuf:"bytes,11,opt,name=activity_failure_info,json=activityFailureInfo,proto3,oneof"`
}
type Failure_ApplicationFailureInfo ¶
type Failure_ApplicationFailureInfo struct {
ApplicationFailureInfo *ApplicationFailureInfo `protobuf:"bytes,5,opt,name=application_failure_info,json=applicationFailureInfo,proto3,oneof"`
}
type Failure_CanceledFailureInfo ¶
type Failure_CanceledFailureInfo struct {
CanceledFailureInfo *CanceledFailureInfo `protobuf:"bytes,7,opt,name=canceled_failure_info,json=canceledFailureInfo,proto3,oneof"`
}
type Failure_ChildWorkflowExecutionFailureInfo ¶
type Failure_ChildWorkflowExecutionFailureInfo struct {
ChildWorkflowExecutionFailureInfo *ChildWorkflowExecutionFailureInfo `protobuf:"bytes,12,opt,name=child_workflow_execution_failure_info,json=childWorkflowExecutionFailureInfo,proto3,oneof"`
}
type Failure_NexusHandlerFailureInfo ¶ added in v1.43.0
type Failure_NexusHandlerFailureInfo struct {
NexusHandlerFailureInfo *NexusHandlerFailureInfo `protobuf:"bytes,14,opt,name=nexus_handler_failure_info,json=nexusHandlerFailureInfo,proto3,oneof"`
}
type Failure_NexusOperationExecutionFailureInfo ¶ added in v1.32.1
type Failure_NexusOperationExecutionFailureInfo struct {
NexusOperationExecutionFailureInfo *NexusOperationFailureInfo `protobuf:"bytes,13,opt,name=nexus_operation_execution_failure_info,json=nexusOperationExecutionFailureInfo,proto3,oneof"`
}
type Failure_ResetWorkflowFailureInfo ¶
type Failure_ResetWorkflowFailureInfo struct {
ResetWorkflowFailureInfo *ResetWorkflowFailureInfo `protobuf:"bytes,10,opt,name=reset_workflow_failure_info,json=resetWorkflowFailureInfo,proto3,oneof"`
}
type Failure_ServerFailureInfo ¶
type Failure_ServerFailureInfo struct {
ServerFailureInfo *ServerFailureInfo `protobuf:"bytes,9,opt,name=server_failure_info,json=serverFailureInfo,proto3,oneof"`
}
type Failure_TerminatedFailureInfo ¶
type Failure_TerminatedFailureInfo struct {
TerminatedFailureInfo *TerminatedFailureInfo `protobuf:"bytes,8,opt,name=terminated_failure_info,json=terminatedFailureInfo,proto3,oneof"`
}
type Failure_TimeoutFailureInfo ¶
type Failure_TimeoutFailureInfo struct {
TimeoutFailureInfo *TimeoutFailureInfo `protobuf:"bytes,6,opt,name=timeout_failure_info,json=timeoutFailureInfo,proto3,oneof"`
}
type MultiOperationExecutionAborted ¶ added in v1.32.1
type MultiOperationExecutionAborted struct {
// contains filtered or unexported fields
}
func (*MultiOperationExecutionAborted) Descriptor
deprecated
added in
v1.32.1
func (*MultiOperationExecutionAborted) Descriptor() ([]byte, []int)
Deprecated: Use MultiOperationExecutionAborted.ProtoReflect.Descriptor instead.
func (*MultiOperationExecutionAborted) Equal ¶ added in v1.32.1
func (this *MultiOperationExecutionAborted) Equal(that interface{}) bool
Equal returns whether two MultiOperationExecutionAborted values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (*MultiOperationExecutionAborted) Marshal ¶ added in v1.32.1
func (val *MultiOperationExecutionAborted) Marshal() ([]byte, error)
Marshal an object of type MultiOperationExecutionAborted to the protobuf v3 wire format
func (*MultiOperationExecutionAborted) ProtoMessage ¶ added in v1.32.1
func (*MultiOperationExecutionAborted) ProtoMessage()
func (*MultiOperationExecutionAborted) ProtoReflect ¶ added in v1.32.1
func (x *MultiOperationExecutionAborted) ProtoReflect() protoreflect.Message
func (*MultiOperationExecutionAborted) Reset ¶ added in v1.32.1
func (x *MultiOperationExecutionAborted) Reset()
func (*MultiOperationExecutionAborted) Size ¶ added in v1.32.1
func (val *MultiOperationExecutionAborted) Size() int
Size returns the size of the object, in bytes, once serialized
func (*MultiOperationExecutionAborted) String ¶ added in v1.32.1
func (x *MultiOperationExecutionAborted) String() string
func (*MultiOperationExecutionAborted) Unmarshal ¶ added in v1.32.1
func (val *MultiOperationExecutionAborted) Unmarshal(buf []byte) error
Unmarshal an object of type MultiOperationExecutionAborted from the protobuf v3 wire format
type NexusHandlerFailureInfo ¶ added in v1.43.0
type NexusHandlerFailureInfo struct { // The Nexus error type as defined in the spec: // https://github.com/nexus-rpc/api/blob/main/SPEC.md#predefined-handler-errors. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*NexusHandlerFailureInfo) Descriptor
deprecated
added in
v1.43.0
func (*NexusHandlerFailureInfo) Descriptor() ([]byte, []int)
Deprecated: Use NexusHandlerFailureInfo.ProtoReflect.Descriptor instead.
func (*NexusHandlerFailureInfo) Equal ¶ added in v1.43.0
func (this *NexusHandlerFailureInfo) Equal(that interface{}) bool
Equal returns whether two NexusHandlerFailureInfo values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (*NexusHandlerFailureInfo) GetType ¶ added in v1.43.0
func (x *NexusHandlerFailureInfo) GetType() string
func (*NexusHandlerFailureInfo) Marshal ¶ added in v1.43.0
func (val *NexusHandlerFailureInfo) Marshal() ([]byte, error)
Marshal an object of type NexusHandlerFailureInfo to the protobuf v3 wire format
func (*NexusHandlerFailureInfo) ProtoMessage ¶ added in v1.43.0
func (*NexusHandlerFailureInfo) ProtoMessage()
func (*NexusHandlerFailureInfo) ProtoReflect ¶ added in v1.43.0
func (x *NexusHandlerFailureInfo) ProtoReflect() protoreflect.Message
func (*NexusHandlerFailureInfo) Reset ¶ added in v1.43.0
func (x *NexusHandlerFailureInfo) Reset()
func (*NexusHandlerFailureInfo) Size ¶ added in v1.43.0
func (val *NexusHandlerFailureInfo) Size() int
Size returns the size of the object, in bytes, once serialized
func (*NexusHandlerFailureInfo) String ¶ added in v1.43.0
func (x *NexusHandlerFailureInfo) String() string
func (*NexusHandlerFailureInfo) Unmarshal ¶ added in v1.43.0
func (val *NexusHandlerFailureInfo) Unmarshal(buf []byte) error
Unmarshal an object of type NexusHandlerFailureInfo from the protobuf v3 wire format
type NexusOperationFailureInfo ¶ added in v1.32.1
type NexusOperationFailureInfo struct { // The NexusOperationScheduled event ID. ScheduledEventId int64 `protobuf:"varint,1,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` // Endpoint name. Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Service name. Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"` // Operation name. Operation string `protobuf:"bytes,4,opt,name=operation,proto3" json:"operation,omitempty"` // Operation ID - may be empty if the operation completed synchronously. OperationId string `protobuf:"bytes,5,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` // contains filtered or unexported fields }
func (*NexusOperationFailureInfo) Descriptor
deprecated
added in
v1.32.1
func (*NexusOperationFailureInfo) Descriptor() ([]byte, []int)
Deprecated: Use NexusOperationFailureInfo.ProtoReflect.Descriptor instead.
func (*NexusOperationFailureInfo) Equal ¶ added in v1.32.1
func (this *NexusOperationFailureInfo) Equal(that interface{}) bool
Equal returns whether two NexusOperationFailureInfo values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (*NexusOperationFailureInfo) GetEndpoint ¶ added in v1.33.0
func (x *NexusOperationFailureInfo) GetEndpoint() string
func (*NexusOperationFailureInfo) GetOperation ¶ added in v1.32.1
func (x *NexusOperationFailureInfo) GetOperation() string
func (*NexusOperationFailureInfo) GetOperationId ¶ added in v1.32.1
func (x *NexusOperationFailureInfo) GetOperationId() string
func (*NexusOperationFailureInfo) GetScheduledEventId ¶ added in v1.32.1
func (x *NexusOperationFailureInfo) GetScheduledEventId() int64
func (*NexusOperationFailureInfo) GetService ¶ added in v1.32.1
func (x *NexusOperationFailureInfo) GetService() string
func (*NexusOperationFailureInfo) Marshal ¶ added in v1.32.1
func (val *NexusOperationFailureInfo) Marshal() ([]byte, error)
Marshal an object of type NexusOperationFailureInfo to the protobuf v3 wire format
func (*NexusOperationFailureInfo) ProtoMessage ¶ added in v1.32.1
func (*NexusOperationFailureInfo) ProtoMessage()
func (*NexusOperationFailureInfo) ProtoReflect ¶ added in v1.32.1
func (x *NexusOperationFailureInfo) ProtoReflect() protoreflect.Message
func (*NexusOperationFailureInfo) Reset ¶ added in v1.32.1
func (x *NexusOperationFailureInfo) Reset()
func (*NexusOperationFailureInfo) Size ¶ added in v1.32.1
func (val *NexusOperationFailureInfo) Size() int
Size returns the size of the object, in bytes, once serialized
func (*NexusOperationFailureInfo) String ¶ added in v1.32.1
func (x *NexusOperationFailureInfo) String() string
func (*NexusOperationFailureInfo) Unmarshal ¶ added in v1.32.1
func (val *NexusOperationFailureInfo) Unmarshal(buf []byte) error
Unmarshal an object of type NexusOperationFailureInfo from the protobuf v3 wire format
type ResetWorkflowFailureInfo ¶
type ResetWorkflowFailureInfo struct { LastHeartbeatDetails *v1.Payloads `protobuf:"bytes,1,opt,name=last_heartbeat_details,json=lastHeartbeatDetails,proto3" json:"last_heartbeat_details,omitempty"` // contains filtered or unexported fields }
func (*ResetWorkflowFailureInfo) Descriptor
deprecated
func (*ResetWorkflowFailureInfo) Descriptor() ([]byte, []int)
Deprecated: Use ResetWorkflowFailureInfo.ProtoReflect.Descriptor instead.
func (*ResetWorkflowFailureInfo) Equal ¶
func (this *ResetWorkflowFailureInfo) Equal(that interface{}) bool
Equal returns whether two ResetWorkflowFailureInfo values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (*ResetWorkflowFailureInfo) GetLastHeartbeatDetails ¶
func (x *ResetWorkflowFailureInfo) GetLastHeartbeatDetails() *v1.Payloads
func (*ResetWorkflowFailureInfo) Marshal ¶
func (val *ResetWorkflowFailureInfo) Marshal() ([]byte, error)
Marshal an object of type ResetWorkflowFailureInfo to the protobuf v3 wire format
func (*ResetWorkflowFailureInfo) ProtoMessage ¶
func (*ResetWorkflowFailureInfo) ProtoMessage()
func (*ResetWorkflowFailureInfo) ProtoReflect ¶ added in v1.26.1
func (x *ResetWorkflowFailureInfo) ProtoReflect() protoreflect.Message
func (*ResetWorkflowFailureInfo) Reset ¶
func (x *ResetWorkflowFailureInfo) Reset()
func (*ResetWorkflowFailureInfo) Size ¶
func (val *ResetWorkflowFailureInfo) Size() int
Size returns the size of the object, in bytes, once serialized
func (*ResetWorkflowFailureInfo) String ¶
func (x *ResetWorkflowFailureInfo) String() string
func (*ResetWorkflowFailureInfo) Unmarshal ¶
func (val *ResetWorkflowFailureInfo) Unmarshal(buf []byte) error
Unmarshal an object of type ResetWorkflowFailureInfo from the protobuf v3 wire format
type ServerFailureInfo ¶
type ServerFailureInfo struct { NonRetryable bool `protobuf:"varint,1,opt,name=non_retryable,json=nonRetryable,proto3" json:"non_retryable,omitempty"` // contains filtered or unexported fields }
func (*ServerFailureInfo) Descriptor
deprecated
func (*ServerFailureInfo) Descriptor() ([]byte, []int)
Deprecated: Use ServerFailureInfo.ProtoReflect.Descriptor instead.
func (*ServerFailureInfo) Equal ¶
func (this *ServerFailureInfo) Equal(that interface{}) bool
Equal returns whether two ServerFailureInfo values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (*ServerFailureInfo) GetNonRetryable ¶
func (x *ServerFailureInfo) GetNonRetryable() bool
func (*ServerFailureInfo) Marshal ¶
func (val *ServerFailureInfo) Marshal() ([]byte, error)
Marshal an object of type ServerFailureInfo to the protobuf v3 wire format
func (*ServerFailureInfo) ProtoMessage ¶
func (*ServerFailureInfo) ProtoMessage()
func (*ServerFailureInfo) ProtoReflect ¶ added in v1.26.1
func (x *ServerFailureInfo) ProtoReflect() protoreflect.Message
func (*ServerFailureInfo) Reset ¶
func (x *ServerFailureInfo) Reset()
func (*ServerFailureInfo) Size ¶
func (val *ServerFailureInfo) Size() int
Size returns the size of the object, in bytes, once serialized
func (*ServerFailureInfo) String ¶
func (x *ServerFailureInfo) String() string
func (*ServerFailureInfo) Unmarshal ¶
func (val *ServerFailureInfo) Unmarshal(buf []byte) error
Unmarshal an object of type ServerFailureInfo from the protobuf v3 wire format
type TerminatedFailureInfo ¶
type TerminatedFailureInfo struct {
// contains filtered or unexported fields
}
func (*TerminatedFailureInfo) Descriptor
deprecated
func (*TerminatedFailureInfo) Descriptor() ([]byte, []int)
Deprecated: Use TerminatedFailureInfo.ProtoReflect.Descriptor instead.
func (*TerminatedFailureInfo) Equal ¶
func (this *TerminatedFailureInfo) Equal(that interface{}) bool
Equal returns whether two TerminatedFailureInfo values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (*TerminatedFailureInfo) Marshal ¶
func (val *TerminatedFailureInfo) Marshal() ([]byte, error)
Marshal an object of type TerminatedFailureInfo to the protobuf v3 wire format
func (*TerminatedFailureInfo) ProtoMessage ¶
func (*TerminatedFailureInfo) ProtoMessage()
func (*TerminatedFailureInfo) ProtoReflect ¶ added in v1.26.1
func (x *TerminatedFailureInfo) ProtoReflect() protoreflect.Message
func (*TerminatedFailureInfo) Reset ¶
func (x *TerminatedFailureInfo) Reset()
func (*TerminatedFailureInfo) Size ¶
func (val *TerminatedFailureInfo) Size() int
Size returns the size of the object, in bytes, once serialized
func (*TerminatedFailureInfo) String ¶
func (x *TerminatedFailureInfo) String() string
func (*TerminatedFailureInfo) Unmarshal ¶
func (val *TerminatedFailureInfo) Unmarshal(buf []byte) error
Unmarshal an object of type TerminatedFailureInfo from the protobuf v3 wire format
type TimeoutFailureInfo ¶
type TimeoutFailureInfo struct { TimeoutType v11.TimeoutType `` /* 134-byte string literal not displayed */ LastHeartbeatDetails *v1.Payloads `protobuf:"bytes,2,opt,name=last_heartbeat_details,json=lastHeartbeatDetails,proto3" json:"last_heartbeat_details,omitempty"` // contains filtered or unexported fields }
func (*TimeoutFailureInfo) Descriptor
deprecated
func (*TimeoutFailureInfo) Descriptor() ([]byte, []int)
Deprecated: Use TimeoutFailureInfo.ProtoReflect.Descriptor instead.
func (*TimeoutFailureInfo) Equal ¶
func (this *TimeoutFailureInfo) Equal(that interface{}) bool
Equal returns whether two TimeoutFailureInfo values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
func (*TimeoutFailureInfo) GetLastHeartbeatDetails ¶
func (x *TimeoutFailureInfo) GetLastHeartbeatDetails() *v1.Payloads
func (*TimeoutFailureInfo) GetTimeoutType ¶
func (x *TimeoutFailureInfo) GetTimeoutType() v11.TimeoutType
func (*TimeoutFailureInfo) Marshal ¶
func (val *TimeoutFailureInfo) Marshal() ([]byte, error)
Marshal an object of type TimeoutFailureInfo to the protobuf v3 wire format
func (*TimeoutFailureInfo) ProtoMessage ¶
func (*TimeoutFailureInfo) ProtoMessage()
func (*TimeoutFailureInfo) ProtoReflect ¶ added in v1.26.1
func (x *TimeoutFailureInfo) ProtoReflect() protoreflect.Message
func (*TimeoutFailureInfo) Reset ¶
func (x *TimeoutFailureInfo) Reset()
func (*TimeoutFailureInfo) Size ¶
func (val *TimeoutFailureInfo) Size() int
Size returns the size of the object, in bytes, once serialized
func (*TimeoutFailureInfo) String ¶
func (x *TimeoutFailureInfo) String() string
func (*TimeoutFailureInfo) Unmarshal ¶
func (val *TimeoutFailureInfo) Unmarshal(buf []byte) error
Unmarshal an object of type TimeoutFailureInfo from the protobuf v3 wire format