Documentation ¶
Index ¶
- Constants
- Variables
- type ActivityType
- func (*ActivityType) Descriptor() ([]byte, []int)
- func (this *ActivityType) Equal(that interface{}) bool
- func (m *ActivityType) GetName() string
- func (this *ActivityType) GoString() string
- func (m *ActivityType) Marshal() (dAtA []byte, err error)
- func (m *ActivityType) MarshalTo(dAtA []byte) (int, error)
- func (m *ActivityType) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ActivityType) ProtoMessage()
- func (m *ActivityType) Reset()
- func (m *ActivityType) Size() (n int)
- func (this *ActivityType) String() string
- func (m *ActivityType) Unmarshal(dAtA []byte) error
- func (m *ActivityType) XXX_DiscardUnknown()
- func (m *ActivityType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ActivityType) XXX_Merge(src proto.Message)
- func (m *ActivityType) XXX_Size() int
- func (m *ActivityType) XXX_Unmarshal(b []byte) error
- type DataBlob
- func (*DataBlob) Descriptor() ([]byte, []int)
- func (this *DataBlob) Equal(that interface{}) bool
- func (m *DataBlob) GetData() []byte
- func (m *DataBlob) GetEncodingType() v1.EncodingType
- func (this *DataBlob) GoString() string
- func (m *DataBlob) Marshal() (dAtA []byte, err error)
- func (m *DataBlob) MarshalTo(dAtA []byte) (int, error)
- func (m *DataBlob) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DataBlob) ProtoMessage()
- func (m *DataBlob) Reset()
- func (m *DataBlob) Size() (n int)
- func (this *DataBlob) String() string
- func (m *DataBlob) Unmarshal(dAtA []byte) error
- func (m *DataBlob) XXX_DiscardUnknown()
- func (m *DataBlob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DataBlob) XXX_Merge(src proto.Message)
- func (m *DataBlob) XXX_Size() int
- func (m *DataBlob) XXX_Unmarshal(b []byte) error
- type Header
- func (*Header) Descriptor() ([]byte, []int)
- func (this *Header) Equal(that interface{}) bool
- func (m *Header) GetFields() map[string]*Payload
- func (this *Header) GoString() string
- func (m *Header) Marshal() (dAtA []byte, err error)
- func (m *Header) MarshalTo(dAtA []byte) (int, error)
- func (m *Header) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Header) ProtoMessage()
- func (m *Header) Reset()
- func (m *Header) Size() (n int)
- func (this *Header) String() string
- func (m *Header) Unmarshal(dAtA []byte) error
- func (m *Header) XXX_DiscardUnknown()
- func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Header) XXX_Merge(src proto.Message)
- func (m *Header) XXX_Size() int
- func (m *Header) XXX_Unmarshal(b []byte) error
- type Memo
- func (*Memo) Descriptor() ([]byte, []int)
- func (this *Memo) Equal(that interface{}) bool
- func (m *Memo) GetFields() map[string]*Payload
- func (this *Memo) GoString() string
- func (m *Memo) Marshal() (dAtA []byte, err error)
- func (m *Memo) MarshalTo(dAtA []byte) (int, error)
- func (m *Memo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Memo) ProtoMessage()
- func (m *Memo) Reset()
- func (m *Memo) Size() (n int)
- func (this *Memo) String() string
- func (m *Memo) Unmarshal(dAtA []byte) error
- func (m *Memo) XXX_DiscardUnknown()
- func (m *Memo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Memo) XXX_Merge(src proto.Message)
- func (m *Memo) XXX_Size() int
- func (m *Memo) XXX_Unmarshal(b []byte) error
- type MeteringMetadata
- func (*MeteringMetadata) Descriptor() ([]byte, []int)
- func (this *MeteringMetadata) Equal(that interface{}) bool
- func (m *MeteringMetadata) GetNonfirstLocalActivityExecutionAttempts() uint32
- func (this *MeteringMetadata) GoString() string
- func (m *MeteringMetadata) Marshal() (dAtA []byte, err error)
- func (m *MeteringMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *MeteringMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MeteringMetadata) ProtoMessage()
- func (m *MeteringMetadata) Reset()
- func (m *MeteringMetadata) Size() (n int)
- func (this *MeteringMetadata) String() string
- func (m *MeteringMetadata) Unmarshal(dAtA []byte) error
- func (m *MeteringMetadata) XXX_DiscardUnknown()
- func (m *MeteringMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MeteringMetadata) XXX_Merge(src proto.Message)
- func (m *MeteringMetadata) XXX_Size() int
- func (m *MeteringMetadata) XXX_Unmarshal(b []byte) error
- type Payload
- func (*Payload) Descriptor() ([]byte, []int)
- func (this *Payload) Equal(that interface{}) bool
- func (m *Payload) GetData() []byte
- func (m *Payload) GetMetadata() map[string][]byte
- func (this *Payload) GoString() string
- func (m *Payload) Marshal() (dAtA []byte, err error)
- func (m *Payload) MarshalTo(dAtA []byte) (int, error)
- func (m *Payload) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Payload) MaybeMarshalJSONPB(m *jsonpb.Marshaler, currIndent string) (handled bool, b []byte, err error)
- func (p *Payload) MaybeUnmarshalJSONPB(u *jsonpb.Unmarshaler, b []byte) (handled bool, err error)
- func (*Payload) ProtoMessage()
- func (m *Payload) Reset()
- func (m *Payload) Size() (n int)
- func (this *Payload) String() string
- func (m *Payload) Unmarshal(dAtA []byte) error
- func (m *Payload) XXX_DiscardUnknown()
- func (m *Payload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Payload) XXX_Merge(src proto.Message)
- func (m *Payload) XXX_Size() int
- func (m *Payload) XXX_Unmarshal(b []byte) error
- type Payloads
- func (*Payloads) Descriptor() ([]byte, []int)
- func (this *Payloads) Equal(that interface{}) bool
- func (m *Payloads) GetPayloads() []*Payload
- func (this *Payloads) GoString() string
- func (m *Payloads) Marshal() (dAtA []byte, err error)
- func (m *Payloads) MarshalTo(dAtA []byte) (int, error)
- func (m *Payloads) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Payloads) MaybeMarshalJSONPB(m *jsonpb.Marshaler, currIndent string) (handled bool, b []byte, err error)
- func (p *Payloads) MaybeUnmarshalJSONPB(u *jsonpb.Unmarshaler, b []byte) (handled bool, err error)
- func (*Payloads) ProtoMessage()
- func (m *Payloads) Reset()
- func (m *Payloads) Size() (n int)
- func (this *Payloads) String() string
- func (m *Payloads) Unmarshal(dAtA []byte) error
- func (m *Payloads) XXX_DiscardUnknown()
- func (m *Payloads) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Payloads) XXX_Merge(src proto.Message)
- func (m *Payloads) XXX_Size() int
- func (m *Payloads) XXX_Unmarshal(b []byte) error
- type RetryPolicy
- func (*RetryPolicy) Descriptor() ([]byte, []int)
- func (this *RetryPolicy) Equal(that interface{}) bool
- func (m *RetryPolicy) GetBackoffCoefficient() float64
- func (m *RetryPolicy) GetInitialInterval() *time.Duration
- func (m *RetryPolicy) GetMaximumAttempts() int32
- func (m *RetryPolicy) GetMaximumInterval() *time.Duration
- func (m *RetryPolicy) GetNonRetryableErrorTypes() []string
- func (this *RetryPolicy) GoString() string
- func (m *RetryPolicy) Marshal() (dAtA []byte, err error)
- func (m *RetryPolicy) MarshalTo(dAtA []byte) (int, error)
- func (m *RetryPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RetryPolicy) ProtoMessage()
- func (m *RetryPolicy) Reset()
- func (m *RetryPolicy) Size() (n int)
- func (this *RetryPolicy) String() string
- func (m *RetryPolicy) Unmarshal(dAtA []byte) error
- func (m *RetryPolicy) XXX_DiscardUnknown()
- func (m *RetryPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RetryPolicy) XXX_Merge(src proto.Message)
- func (m *RetryPolicy) XXX_Size() int
- func (m *RetryPolicy) XXX_Unmarshal(b []byte) error
- type SearchAttributes
- func (*SearchAttributes) Descriptor() ([]byte, []int)
- func (this *SearchAttributes) Equal(that interface{}) bool
- func (m *SearchAttributes) GetIndexedFields() map[string]*Payload
- func (this *SearchAttributes) GoString() string
- func (m *SearchAttributes) Marshal() (dAtA []byte, err error)
- func (m *SearchAttributes) MarshalTo(dAtA []byte) (int, error)
- func (m *SearchAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SearchAttributes) ProtoMessage()
- func (m *SearchAttributes) Reset()
- func (m *SearchAttributes) Size() (n int)
- func (this *SearchAttributes) String() string
- func (m *SearchAttributes) Unmarshal(dAtA []byte) error
- func (m *SearchAttributes) XXX_DiscardUnknown()
- func (m *SearchAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchAttributes) XXX_Merge(src proto.Message)
- func (m *SearchAttributes) XXX_Size() int
- func (m *SearchAttributes) XXX_Unmarshal(b []byte) error
- type WorkerVersionCapabilities
- func (*WorkerVersionCapabilities) Descriptor() ([]byte, []int)
- func (this *WorkerVersionCapabilities) Equal(that interface{}) bool
- func (m *WorkerVersionCapabilities) GetBuildId() string
- func (m *WorkerVersionCapabilities) GetUseVersioning() bool
- func (this *WorkerVersionCapabilities) GoString() string
- func (m *WorkerVersionCapabilities) Marshal() (dAtA []byte, err error)
- func (m *WorkerVersionCapabilities) MarshalTo(dAtA []byte) (int, error)
- func (m *WorkerVersionCapabilities) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WorkerVersionCapabilities) ProtoMessage()
- func (m *WorkerVersionCapabilities) Reset()
- func (m *WorkerVersionCapabilities) Size() (n int)
- func (this *WorkerVersionCapabilities) String() string
- func (m *WorkerVersionCapabilities) Unmarshal(dAtA []byte) error
- func (m *WorkerVersionCapabilities) XXX_DiscardUnknown()
- func (m *WorkerVersionCapabilities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WorkerVersionCapabilities) XXX_Merge(src proto.Message)
- func (m *WorkerVersionCapabilities) XXX_Size() int
- func (m *WorkerVersionCapabilities) XXX_Unmarshal(b []byte) error
- type WorkerVersionStamp
- func (*WorkerVersionStamp) Descriptor() ([]byte, []int)
- func (this *WorkerVersionStamp) Equal(that interface{}) bool
- func (m *WorkerVersionStamp) GetBuildId() string
- func (m *WorkerVersionStamp) GetBundleId() string
- func (m *WorkerVersionStamp) GetUseVersioning() bool
- func (this *WorkerVersionStamp) GoString() string
- func (m *WorkerVersionStamp) Marshal() (dAtA []byte, err error)
- func (m *WorkerVersionStamp) MarshalTo(dAtA []byte) (int, error)
- func (m *WorkerVersionStamp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WorkerVersionStamp) ProtoMessage()
- func (m *WorkerVersionStamp) Reset()
- func (m *WorkerVersionStamp) Size() (n int)
- func (this *WorkerVersionStamp) String() string
- func (m *WorkerVersionStamp) Unmarshal(dAtA []byte) error
- func (m *WorkerVersionStamp) XXX_DiscardUnknown()
- func (m *WorkerVersionStamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WorkerVersionStamp) XXX_Merge(src proto.Message)
- func (m *WorkerVersionStamp) XXX_Size() int
- func (m *WorkerVersionStamp) XXX_Unmarshal(b []byte) error
- type WorkflowExecution
- func (*WorkflowExecution) Descriptor() ([]byte, []int)
- func (this *WorkflowExecution) Equal(that interface{}) bool
- func (m *WorkflowExecution) GetRunId() string
- func (m *WorkflowExecution) GetWorkflowId() string
- func (this *WorkflowExecution) GoString() string
- func (m *WorkflowExecution) Marshal() (dAtA []byte, err error)
- func (m *WorkflowExecution) MarshalTo(dAtA []byte) (int, error)
- func (m *WorkflowExecution) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WorkflowExecution) ProtoMessage()
- func (m *WorkflowExecution) Reset()
- func (m *WorkflowExecution) Size() (n int)
- func (this *WorkflowExecution) String() string
- func (m *WorkflowExecution) Unmarshal(dAtA []byte) error
- func (m *WorkflowExecution) XXX_DiscardUnknown()
- func (m *WorkflowExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WorkflowExecution) XXX_Merge(src proto.Message)
- func (m *WorkflowExecution) XXX_Size() int
- func (m *WorkflowExecution) XXX_Unmarshal(b []byte) error
- type WorkflowType
- func (*WorkflowType) Descriptor() ([]byte, []int)
- func (this *WorkflowType) Equal(that interface{}) bool
- func (m *WorkflowType) GetName() string
- func (this *WorkflowType) GoString() string
- func (m *WorkflowType) Marshal() (dAtA []byte, err error)
- func (m *WorkflowType) MarshalTo(dAtA []byte) (int, error)
- func (m *WorkflowType) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WorkflowType) ProtoMessage()
- func (m *WorkflowType) Reset()
- func (m *WorkflowType) Size() (n int)
- func (this *WorkflowType) String() string
- func (m *WorkflowType) Unmarshal(dAtA []byte) error
- func (m *WorkflowType) XXX_DiscardUnknown()
- func (m *WorkflowType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WorkflowType) XXX_Merge(src proto.Message)
- func (m *WorkflowType) XXX_Size() int
- func (m *WorkflowType) XXX_Unmarshal(b []byte) error
Constants ¶
const DisablePayloadShorthandMetadataKey = "__temporal_disable_payload_shorthand"
Key on the marshaler metadata specifying whether shorthand is disabled.
WARNING: This is internal API and should not be called externally.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ActivityType ¶
type ActivityType struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}
Represents the identifier used by a activity author to define the activity. Typically, the name of a function. This is sometimes referred to as the activity's "name"
func (*ActivityType) Descriptor ¶
func (*ActivityType) Descriptor() ([]byte, []int)
func (*ActivityType) Equal ¶
func (this *ActivityType) Equal(that interface{}) bool
func (*ActivityType) GetName ¶
func (m *ActivityType) GetName() string
func (*ActivityType) GoString ¶
func (this *ActivityType) GoString() string
func (*ActivityType) Marshal ¶
func (m *ActivityType) Marshal() (dAtA []byte, err error)
func (*ActivityType) MarshalToSizedBuffer ¶
func (m *ActivityType) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ActivityType) ProtoMessage ¶
func (*ActivityType) ProtoMessage()
func (*ActivityType) Reset ¶
func (m *ActivityType) Reset()
func (*ActivityType) Size ¶
func (m *ActivityType) Size() (n int)
func (*ActivityType) String ¶
func (this *ActivityType) String() string
func (*ActivityType) Unmarshal ¶
func (m *ActivityType) Unmarshal(dAtA []byte) error
func (*ActivityType) XXX_DiscardUnknown ¶
func (m *ActivityType) XXX_DiscardUnknown()
func (*ActivityType) XXX_Marshal ¶
func (m *ActivityType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActivityType) XXX_Merge ¶
func (m *ActivityType) XXX_Merge(src proto.Message)
func (*ActivityType) XXX_Size ¶
func (m *ActivityType) XXX_Size() int
func (*ActivityType) XXX_Unmarshal ¶
func (m *ActivityType) XXX_Unmarshal(b []byte) error
type DataBlob ¶
type DataBlob struct { EncodingType v1.EncodingType `` /* 138-byte string literal not displayed */ Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` }
func (*DataBlob) Descriptor ¶
func (*DataBlob) GetEncodingType ¶
func (m *DataBlob) GetEncodingType() v1.EncodingType
func (*DataBlob) MarshalToSizedBuffer ¶
func (*DataBlob) ProtoMessage ¶
func (*DataBlob) ProtoMessage()
func (*DataBlob) XXX_DiscardUnknown ¶
func (m *DataBlob) XXX_DiscardUnknown()
func (*DataBlob) XXX_Marshal ¶
func (*DataBlob) XXX_Unmarshal ¶
type Header ¶
Contains metadata that can be attached to a variety of requests, like starting a workflow, and can be propagated between, for example, workflows and activities.
func (*Header) Descriptor ¶
func (*Header) MarshalToSizedBuffer ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) XXX_DiscardUnknown ¶
func (m *Header) XXX_DiscardUnknown()
func (*Header) XXX_Marshal ¶
func (*Header) XXX_Unmarshal ¶
type Memo ¶
A user-defined set of *unindexed* fields that are exposed when listing/searching workflows
func (*Memo) Descriptor ¶
func (*Memo) ProtoMessage ¶
func (*Memo) ProtoMessage()
func (*Memo) XXX_DiscardUnknown ¶
func (m *Memo) XXX_DiscardUnknown()
func (*Memo) XXX_Unmarshal ¶
type MeteringMetadata ¶ added in v1.18.1
type MeteringMetadata struct { // Count of local activities which have begun an execution attempt during this workflow task, // and whose first attempt occurred in some previous task. This is used for metering // purposes, and does not affect workflow state. // // (-- api-linter: core::0141::forbidden-types=disabled // aip.dev/not-precedent: Negative values make no sense to represent. --) NonfirstLocalActivityExecutionAttempts uint32 `` /* 183-byte string literal not displayed */ }
Metadata relevant for metering purposes
func (*MeteringMetadata) Descriptor ¶ added in v1.18.1
func (*MeteringMetadata) Descriptor() ([]byte, []int)
func (*MeteringMetadata) Equal ¶ added in v1.18.1
func (this *MeteringMetadata) Equal(that interface{}) bool
func (*MeteringMetadata) GetNonfirstLocalActivityExecutionAttempts ¶ added in v1.18.1
func (m *MeteringMetadata) GetNonfirstLocalActivityExecutionAttempts() uint32
func (*MeteringMetadata) GoString ¶ added in v1.18.1
func (this *MeteringMetadata) GoString() string
func (*MeteringMetadata) Marshal ¶ added in v1.18.1
func (m *MeteringMetadata) Marshal() (dAtA []byte, err error)
func (*MeteringMetadata) MarshalTo ¶ added in v1.18.1
func (m *MeteringMetadata) MarshalTo(dAtA []byte) (int, error)
func (*MeteringMetadata) MarshalToSizedBuffer ¶ added in v1.18.1
func (m *MeteringMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MeteringMetadata) ProtoMessage ¶ added in v1.18.1
func (*MeteringMetadata) ProtoMessage()
func (*MeteringMetadata) Reset ¶ added in v1.18.1
func (m *MeteringMetadata) Reset()
func (*MeteringMetadata) Size ¶ added in v1.18.1
func (m *MeteringMetadata) Size() (n int)
func (*MeteringMetadata) String ¶ added in v1.18.1
func (this *MeteringMetadata) String() string
func (*MeteringMetadata) Unmarshal ¶ added in v1.18.1
func (m *MeteringMetadata) Unmarshal(dAtA []byte) error
func (*MeteringMetadata) XXX_DiscardUnknown ¶ added in v1.18.1
func (m *MeteringMetadata) XXX_DiscardUnknown()
func (*MeteringMetadata) XXX_Marshal ¶ added in v1.18.1
func (m *MeteringMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MeteringMetadata) XXX_Merge ¶ added in v1.18.1
func (m *MeteringMetadata) XXX_Merge(src proto.Message)
func (*MeteringMetadata) XXX_Size ¶ added in v1.18.1
func (m *MeteringMetadata) XXX_Size() int
func (*MeteringMetadata) XXX_Unmarshal ¶ added in v1.18.1
func (m *MeteringMetadata) XXX_Unmarshal(b []byte) error
type Payload ¶
type Payload struct { Metadata map[string][]byte `` /* 157-byte string literal not displayed */ Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` }
Represents some binary (byte array) data (ex: activity input parameters or workflow result) with metadata which describes this binary data (format, encoding, encryption, etc). Serialization of the data may be user-defined.
func (*Payload) Descriptor ¶
func (*Payload) GetMetadata ¶
func (*Payload) MarshalToSizedBuffer ¶
func (*Payload) MaybeMarshalJSONPB ¶ added in v1.24.0
func (p *Payload) MaybeMarshalJSONPB(m *jsonpb.Marshaler, currIndent string) (handled bool, b []byte, err error)
MaybeMarshalJSONPB implements go.temporal.io/api/internal/temporaljsonpb.JSONPBMaybeMarshaler.MaybeMarshalJSONPB.
WARNING: This is internal API and should not be called externally.
func (*Payload) MaybeUnmarshalJSONPB ¶ added in v1.24.0
MaybeUnmarshalJSONPB implements go.temporal.io/api/internal/temporaljsonpb.JSONPBMaybeUnmarshaler.MaybeUnmarshalJSONPB.
WARNING: This is internal API and should not be called externally.
func (*Payload) ProtoMessage ¶
func (*Payload) ProtoMessage()
func (*Payload) XXX_DiscardUnknown ¶
func (m *Payload) XXX_DiscardUnknown()
func (*Payload) XXX_Marshal ¶
func (*Payload) XXX_Unmarshal ¶
type Payloads ¶
type Payloads struct {
Payloads []*Payload `protobuf:"bytes,1,rep,name=payloads,proto3" json:"payloads,omitempty"`
}
See `Payload`
func (*Payloads) Descriptor ¶
func (*Payloads) GetPayloads ¶
func (*Payloads) MarshalToSizedBuffer ¶
func (*Payloads) MaybeMarshalJSONPB ¶ added in v1.24.0
func (p *Payloads) MaybeMarshalJSONPB(m *jsonpb.Marshaler, currIndent string) (handled bool, b []byte, err error)
MaybeMarshalJSONPB implements go.temporal.io/api/internal/temporaljsonpb.JSONPBMaybeMarshaler.MaybeMarshalJSONPB.
WARNING: This is internal API and should not be called externally.
func (*Payloads) MaybeUnmarshalJSONPB ¶ added in v1.24.0
MaybeUnmarshalJSONPB implements go.temporal.io/api/internal/temporaljsonpb.JSONPBMaybeUnmarshaler.MaybeUnmarshalJSONPB.
WARNING: This is internal API and should not be called externally.
func (*Payloads) ProtoMessage ¶
func (*Payloads) ProtoMessage()
func (*Payloads) XXX_DiscardUnknown ¶
func (m *Payloads) XXX_DiscardUnknown()
func (*Payloads) XXX_Marshal ¶
func (*Payloads) XXX_Unmarshal ¶
type RetryPolicy ¶
type RetryPolicy struct { // Interval of the first retry. If retryBackoffCoefficient is 1.0 then it is used for all retries. InitialInterval *time.Duration `protobuf:"bytes,1,opt,name=initial_interval,json=initialInterval,proto3,stdduration" json:"initial_interval,omitempty"` // Coefficient used to calculate the next retry interval. // The next retry interval is previous interval multiplied by the coefficient. // Must be 1 or larger. BackoffCoefficient float64 `protobuf:"fixed64,2,opt,name=backoff_coefficient,json=backoffCoefficient,proto3" json:"backoff_coefficient,omitempty"` // Maximum interval between retries. Exponential backoff leads to interval increase. // This value is the cap of the increase. Default is 100x of the initial interval. MaximumInterval *time.Duration `protobuf:"bytes,3,opt,name=maximum_interval,json=maximumInterval,proto3,stdduration" json:"maximum_interval,omitempty"` // Maximum number of attempts. When exceeded the retries stop even if not expired yet. // 1 disables retries. 0 means unlimited (up to the timeouts) MaximumAttempts int32 `protobuf:"varint,4,opt,name=maximum_attempts,json=maximumAttempts,proto3" json:"maximum_attempts,omitempty"` // Non-Retryable errors types. Will stop retrying if the error type matches this list. Note that // this is not a substring match, the error *type* (not message) must match exactly. NonRetryableErrorTypes []string `` /* 131-byte string literal not displayed */ }
How retries ought to be handled, usable by both workflows and activities
func (*RetryPolicy) Descriptor ¶
func (*RetryPolicy) Descriptor() ([]byte, []int)
func (*RetryPolicy) Equal ¶
func (this *RetryPolicy) Equal(that interface{}) bool
func (*RetryPolicy) GetBackoffCoefficient ¶
func (m *RetryPolicy) GetBackoffCoefficient() float64
func (*RetryPolicy) GetInitialInterval ¶ added in v0.28.0
func (m *RetryPolicy) GetInitialInterval() *time.Duration
func (*RetryPolicy) GetMaximumAttempts ¶
func (m *RetryPolicy) GetMaximumAttempts() int32
func (*RetryPolicy) GetMaximumInterval ¶ added in v0.28.0
func (m *RetryPolicy) GetMaximumInterval() *time.Duration
func (*RetryPolicy) GetNonRetryableErrorTypes ¶
func (m *RetryPolicy) GetNonRetryableErrorTypes() []string
func (*RetryPolicy) GoString ¶
func (this *RetryPolicy) GoString() string
func (*RetryPolicy) Marshal ¶
func (m *RetryPolicy) Marshal() (dAtA []byte, err error)
func (*RetryPolicy) MarshalToSizedBuffer ¶
func (m *RetryPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RetryPolicy) ProtoMessage ¶
func (*RetryPolicy) ProtoMessage()
func (*RetryPolicy) Reset ¶
func (m *RetryPolicy) Reset()
func (*RetryPolicy) Size ¶
func (m *RetryPolicy) Size() (n int)
func (*RetryPolicy) String ¶
func (this *RetryPolicy) String() string
func (*RetryPolicy) Unmarshal ¶
func (m *RetryPolicy) Unmarshal(dAtA []byte) error
func (*RetryPolicy) XXX_DiscardUnknown ¶
func (m *RetryPolicy) XXX_DiscardUnknown()
func (*RetryPolicy) XXX_Marshal ¶
func (m *RetryPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RetryPolicy) XXX_Merge ¶
func (m *RetryPolicy) XXX_Merge(src proto.Message)
func (*RetryPolicy) XXX_Size ¶
func (m *RetryPolicy) XXX_Size() int
func (*RetryPolicy) XXX_Unmarshal ¶
func (m *RetryPolicy) XXX_Unmarshal(b []byte) error
type SearchAttributes ¶
type SearchAttributes struct {
IndexedFields map[string]*Payload `` /* 188-byte string literal not displayed */
}
A user-defined set of *indexed* fields that are used/exposed when listing/searching workflows. The payload is not serialized in a user-defined way.
func (*SearchAttributes) Descriptor ¶
func (*SearchAttributes) Descriptor() ([]byte, []int)
func (*SearchAttributes) Equal ¶
func (this *SearchAttributes) Equal(that interface{}) bool
func (*SearchAttributes) GetIndexedFields ¶
func (m *SearchAttributes) GetIndexedFields() map[string]*Payload
func (*SearchAttributes) GoString ¶
func (this *SearchAttributes) GoString() string
func (*SearchAttributes) Marshal ¶
func (m *SearchAttributes) Marshal() (dAtA []byte, err error)
func (*SearchAttributes) MarshalToSizedBuffer ¶
func (m *SearchAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SearchAttributes) ProtoMessage ¶
func (*SearchAttributes) ProtoMessage()
func (*SearchAttributes) Reset ¶
func (m *SearchAttributes) Reset()
func (*SearchAttributes) Size ¶
func (m *SearchAttributes) Size() (n int)
func (*SearchAttributes) String ¶
func (this *SearchAttributes) String() string
func (*SearchAttributes) Unmarshal ¶
func (m *SearchAttributes) Unmarshal(dAtA []byte) error
func (*SearchAttributes) XXX_DiscardUnknown ¶
func (m *SearchAttributes) XXX_DiscardUnknown()
func (*SearchAttributes) XXX_Marshal ¶
func (m *SearchAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchAttributes) XXX_Merge ¶
func (m *SearchAttributes) XXX_Merge(src proto.Message)
func (*SearchAttributes) XXX_Size ¶
func (m *SearchAttributes) XXX_Size() int
func (*SearchAttributes) XXX_Unmarshal ¶
func (m *SearchAttributes) XXX_Unmarshal(b []byte) error
type WorkerVersionCapabilities ¶ added in v1.19.0
type WorkerVersionCapabilities struct { // An opaque whole-worker identifier BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` // If set, the worker is opting in to worker versioning, and wishes to only receive appropriate // tasks. UseVersioning bool `protobuf:"varint,2,opt,name=use_versioning,json=useVersioning,proto3" json:"use_versioning,omitempty"` }
Identifies the version(s) that a worker is compatible with when polling or identifying itself, and whether or not this worker is opting into the build-id based versioning feature. This is used by matching to determine which workers ought to receive what tasks.
func (*WorkerVersionCapabilities) Descriptor ¶ added in v1.19.0
func (*WorkerVersionCapabilities) Descriptor() ([]byte, []int)
func (*WorkerVersionCapabilities) Equal ¶ added in v1.19.0
func (this *WorkerVersionCapabilities) Equal(that interface{}) bool
func (*WorkerVersionCapabilities) GetBuildId ¶ added in v1.19.0
func (m *WorkerVersionCapabilities) GetBuildId() string
func (*WorkerVersionCapabilities) GetUseVersioning ¶ added in v1.21.0
func (m *WorkerVersionCapabilities) GetUseVersioning() bool
func (*WorkerVersionCapabilities) GoString ¶ added in v1.19.0
func (this *WorkerVersionCapabilities) GoString() string
func (*WorkerVersionCapabilities) Marshal ¶ added in v1.19.0
func (m *WorkerVersionCapabilities) Marshal() (dAtA []byte, err error)
func (*WorkerVersionCapabilities) MarshalTo ¶ added in v1.19.0
func (m *WorkerVersionCapabilities) MarshalTo(dAtA []byte) (int, error)
func (*WorkerVersionCapabilities) MarshalToSizedBuffer ¶ added in v1.19.0
func (m *WorkerVersionCapabilities) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WorkerVersionCapabilities) ProtoMessage ¶ added in v1.19.0
func (*WorkerVersionCapabilities) ProtoMessage()
func (*WorkerVersionCapabilities) Reset ¶ added in v1.19.0
func (m *WorkerVersionCapabilities) Reset()
func (*WorkerVersionCapabilities) Size ¶ added in v1.19.0
func (m *WorkerVersionCapabilities) Size() (n int)
func (*WorkerVersionCapabilities) String ¶ added in v1.19.0
func (this *WorkerVersionCapabilities) String() string
func (*WorkerVersionCapabilities) Unmarshal ¶ added in v1.19.0
func (m *WorkerVersionCapabilities) Unmarshal(dAtA []byte) error
func (*WorkerVersionCapabilities) XXX_DiscardUnknown ¶ added in v1.19.0
func (m *WorkerVersionCapabilities) XXX_DiscardUnknown()
func (*WorkerVersionCapabilities) XXX_Marshal ¶ added in v1.19.0
func (m *WorkerVersionCapabilities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WorkerVersionCapabilities) XXX_Merge ¶ added in v1.19.0
func (m *WorkerVersionCapabilities) XXX_Merge(src proto.Message)
func (*WorkerVersionCapabilities) XXX_Size ¶ added in v1.19.0
func (m *WorkerVersionCapabilities) XXX_Size() int
func (*WorkerVersionCapabilities) XXX_Unmarshal ¶ added in v1.19.0
func (m *WorkerVersionCapabilities) XXX_Unmarshal(b []byte) error
type WorkerVersionStamp ¶ added in v1.19.0
type WorkerVersionStamp struct { // An opaque whole-worker identifier. Replaces the deprecated `binary_checksum` field when this // message is included in requests which previously used that. BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` // Set if the worker used a dynamically loadable bundle to process // the task. The bundle could be a WASM blob, JS bundle, etc. BundleId string `protobuf:"bytes,2,opt,name=bundle_id,json=bundleId,proto3" json:"bundle_id,omitempty"` // If set, the worker is opting in to worker versioning. Otherwise, this is used only as a // marker for workflow reset points and the BuildIDs search attribute. UseVersioning bool `protobuf:"varint,3,opt,name=use_versioning,json=useVersioning,proto3" json:"use_versioning,omitempty"` }
Identifies the version(s) of a worker that processed a task
func (*WorkerVersionStamp) Descriptor ¶ added in v1.19.0
func (*WorkerVersionStamp) Descriptor() ([]byte, []int)
func (*WorkerVersionStamp) Equal ¶ added in v1.19.0
func (this *WorkerVersionStamp) Equal(that interface{}) bool
func (*WorkerVersionStamp) GetBuildId ¶ added in v1.19.0
func (m *WorkerVersionStamp) GetBuildId() string
func (*WorkerVersionStamp) GetBundleId ¶ added in v1.19.0
func (m *WorkerVersionStamp) GetBundleId() string
func (*WorkerVersionStamp) GetUseVersioning ¶ added in v1.21.0
func (m *WorkerVersionStamp) GetUseVersioning() bool
func (*WorkerVersionStamp) GoString ¶ added in v1.19.0
func (this *WorkerVersionStamp) GoString() string
func (*WorkerVersionStamp) Marshal ¶ added in v1.19.0
func (m *WorkerVersionStamp) Marshal() (dAtA []byte, err error)
func (*WorkerVersionStamp) MarshalTo ¶ added in v1.19.0
func (m *WorkerVersionStamp) MarshalTo(dAtA []byte) (int, error)
func (*WorkerVersionStamp) MarshalToSizedBuffer ¶ added in v1.19.0
func (m *WorkerVersionStamp) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WorkerVersionStamp) ProtoMessage ¶ added in v1.19.0
func (*WorkerVersionStamp) ProtoMessage()
func (*WorkerVersionStamp) Reset ¶ added in v1.19.0
func (m *WorkerVersionStamp) Reset()
func (*WorkerVersionStamp) Size ¶ added in v1.19.0
func (m *WorkerVersionStamp) Size() (n int)
func (*WorkerVersionStamp) String ¶ added in v1.19.0
func (this *WorkerVersionStamp) String() string
func (*WorkerVersionStamp) Unmarshal ¶ added in v1.19.0
func (m *WorkerVersionStamp) Unmarshal(dAtA []byte) error
func (*WorkerVersionStamp) XXX_DiscardUnknown ¶ added in v1.19.0
func (m *WorkerVersionStamp) XXX_DiscardUnknown()
func (*WorkerVersionStamp) XXX_Marshal ¶ added in v1.19.0
func (m *WorkerVersionStamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WorkerVersionStamp) XXX_Merge ¶ added in v1.19.0
func (m *WorkerVersionStamp) XXX_Merge(src proto.Message)
func (*WorkerVersionStamp) XXX_Size ¶ added in v1.19.0
func (m *WorkerVersionStamp) XXX_Size() int
func (*WorkerVersionStamp) XXX_Unmarshal ¶ added in v1.19.0
func (m *WorkerVersionStamp) XXX_Unmarshal(b []byte) error
type WorkflowExecution ¶
type WorkflowExecution struct { WorkflowId string `protobuf:"bytes,1,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` RunId string `protobuf:"bytes,2,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` }
Identifies a specific workflow within a namespace. Practically speaking, because run_id is a uuid, a workflow execution is globally unique. Note that many commands allow specifying an empty run id as a way of saying "target the latest run of the workflow".
func (*WorkflowExecution) Descriptor ¶
func (*WorkflowExecution) Descriptor() ([]byte, []int)
func (*WorkflowExecution) Equal ¶
func (this *WorkflowExecution) Equal(that interface{}) bool
func (*WorkflowExecution) GetRunId ¶
func (m *WorkflowExecution) GetRunId() string
func (*WorkflowExecution) GetWorkflowId ¶
func (m *WorkflowExecution) GetWorkflowId() string
func (*WorkflowExecution) GoString ¶
func (this *WorkflowExecution) GoString() string
func (*WorkflowExecution) Marshal ¶
func (m *WorkflowExecution) Marshal() (dAtA []byte, err error)
func (*WorkflowExecution) MarshalTo ¶
func (m *WorkflowExecution) MarshalTo(dAtA []byte) (int, error)
func (*WorkflowExecution) MarshalToSizedBuffer ¶
func (m *WorkflowExecution) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WorkflowExecution) ProtoMessage ¶
func (*WorkflowExecution) ProtoMessage()
func (*WorkflowExecution) Reset ¶
func (m *WorkflowExecution) Reset()
func (*WorkflowExecution) Size ¶
func (m *WorkflowExecution) Size() (n int)
func (*WorkflowExecution) String ¶
func (this *WorkflowExecution) String() string
func (*WorkflowExecution) Unmarshal ¶
func (m *WorkflowExecution) Unmarshal(dAtA []byte) error
func (*WorkflowExecution) XXX_DiscardUnknown ¶
func (m *WorkflowExecution) XXX_DiscardUnknown()
func (*WorkflowExecution) XXX_Marshal ¶
func (m *WorkflowExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WorkflowExecution) XXX_Merge ¶
func (m *WorkflowExecution) XXX_Merge(src proto.Message)
func (*WorkflowExecution) XXX_Size ¶
func (m *WorkflowExecution) XXX_Size() int
func (*WorkflowExecution) XXX_Unmarshal ¶
func (m *WorkflowExecution) XXX_Unmarshal(b []byte) error
type WorkflowType ¶
type WorkflowType struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}
Represents the identifier used by a workflow author to define the workflow. Typically, the name of a function. This is sometimes referred to as the workflow's "name"
func (*WorkflowType) Descriptor ¶
func (*WorkflowType) Descriptor() ([]byte, []int)
func (*WorkflowType) Equal ¶
func (this *WorkflowType) Equal(that interface{}) bool
func (*WorkflowType) GetName ¶
func (m *WorkflowType) GetName() string
func (*WorkflowType) GoString ¶
func (this *WorkflowType) GoString() string
func (*WorkflowType) Marshal ¶
func (m *WorkflowType) Marshal() (dAtA []byte, err error)
func (*WorkflowType) MarshalToSizedBuffer ¶
func (m *WorkflowType) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WorkflowType) ProtoMessage ¶
func (*WorkflowType) ProtoMessage()
func (*WorkflowType) Reset ¶
func (m *WorkflowType) Reset()
func (*WorkflowType) Size ¶
func (m *WorkflowType) Size() (n int)
func (*WorkflowType) String ¶
func (this *WorkflowType) String() string
func (*WorkflowType) Unmarshal ¶
func (m *WorkflowType) Unmarshal(dAtA []byte) error
func (*WorkflowType) XXX_DiscardUnknown ¶
func (m *WorkflowType) XXX_DiscardUnknown()
func (*WorkflowType) XXX_Marshal ¶
func (m *WorkflowType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WorkflowType) XXX_Merge ¶
func (m *WorkflowType) XXX_Merge(src proto.Message)
func (*WorkflowType) XXX_Size ¶
func (m *WorkflowType) XXX_Size() int
func (*WorkflowType) XXX_Unmarshal ¶
func (m *WorkflowType) XXX_Unmarshal(b []byte) error