Documentation
¶
Overview ¶
Code generated by protoc-gen-go-helpers. DO NOT EDIT.
Index ¶
- Variables
- type ActivityExecutionInfo
- func (*ActivityExecutionInfo) Descriptor() ([]byte, []int)deprecated
- func (this *ActivityExecutionInfo) Equal(that interface{}) bool
- func (x *ActivityExecutionInfo) GetActivityId() string
- func (x *ActivityExecutionInfo) GetActivityType() *v1.ActivityType
- func (x *ActivityExecutionInfo) GetAttempt() int32
- func (x *ActivityExecutionInfo) GetCanceledReason() string
- func (x *ActivityExecutionInfo) GetCloseTime() *timestamppb.Timestamp
- func (x *ActivityExecutionInfo) GetCurrentRetryInterval() *durationpb.Duration
- func (x *ActivityExecutionInfo) GetExecutionDuration() *durationpb.Duration
- func (x *ActivityExecutionInfo) GetExecutionTime() *timestamppb.Timestamp
- func (x *ActivityExecutionInfo) GetExpirationTime() *timestamppb.Timestamp
- func (x *ActivityExecutionInfo) GetHeader() *v1.Header
- func (x *ActivityExecutionInfo) GetHeartbeatDetails() *v1.Payloads
- func (x *ActivityExecutionInfo) GetHeartbeatTimeout() *durationpb.Duration
- func (x *ActivityExecutionInfo) GetLastAttemptCompleteTime() *timestamppb.Timestamp
- func (x *ActivityExecutionInfo) GetLastDeploymentVersion() *v14.WorkerDeploymentVersion
- func (x *ActivityExecutionInfo) GetLastFailure() *v11.Failure
- func (x *ActivityExecutionInfo) GetLastHeartbeatTime() *timestamppb.Timestamp
- func (x *ActivityExecutionInfo) GetLastStartedTime() *timestamppb.Timestamp
- func (x *ActivityExecutionInfo) GetLastWorkerIdentity() string
- func (x *ActivityExecutionInfo) GetLinks() []*v1.Link
- func (x *ActivityExecutionInfo) GetNextAttemptScheduleTime() *timestamppb.Timestamp
- func (x *ActivityExecutionInfo) GetPriority() *v1.Priority
- func (x *ActivityExecutionInfo) GetRetryPolicy() *v1.RetryPolicy
- func (x *ActivityExecutionInfo) GetRunId() string
- func (x *ActivityExecutionInfo) GetRunState() v13.PendingActivityState
- func (x *ActivityExecutionInfo) GetScheduleTime() *timestamppb.Timestamp
- func (x *ActivityExecutionInfo) GetScheduleToCloseTimeout() *durationpb.Duration
- func (x *ActivityExecutionInfo) GetScheduleToStartTimeout() *durationpb.Duration
- func (x *ActivityExecutionInfo) GetSdkName() string
- func (x *ActivityExecutionInfo) GetSdkVersion() string
- func (x *ActivityExecutionInfo) GetSearchAttributes() *v1.SearchAttributes
- func (x *ActivityExecutionInfo) GetStartDelay() *durationpb.Duration
- func (x *ActivityExecutionInfo) GetStartToCloseTimeout() *durationpb.Duration
- func (x *ActivityExecutionInfo) GetStateSizeBytes() int64
- func (x *ActivityExecutionInfo) GetStateTransitionCount() int64
- func (x *ActivityExecutionInfo) GetStatus() v13.ActivityExecutionStatus
- func (x *ActivityExecutionInfo) GetTaskQueue() string
- func (x *ActivityExecutionInfo) GetTotalHeartbeatCount() int64
- func (x *ActivityExecutionInfo) GetUserMetadata() *v15.UserMetadata
- func (val *ActivityExecutionInfo) Marshal() ([]byte, error)
- func (*ActivityExecutionInfo) ProtoMessage()
- func (x *ActivityExecutionInfo) ProtoReflect() protoreflect.Message
- func (x *ActivityExecutionInfo) Reset()
- func (val *ActivityExecutionInfo) Size() int
- func (x *ActivityExecutionInfo) String() string
- func (val *ActivityExecutionInfo) Unmarshal(buf []byte) error
- type ActivityExecutionListInfo
- func (*ActivityExecutionListInfo) Descriptor() ([]byte, []int)deprecated
- func (this *ActivityExecutionListInfo) Equal(that interface{}) bool
- func (x *ActivityExecutionListInfo) GetActivityId() string
- func (x *ActivityExecutionListInfo) GetActivityType() *v1.ActivityType
- func (x *ActivityExecutionListInfo) GetCloseTime() *timestamppb.Timestamp
- func (x *ActivityExecutionListInfo) GetExecutionDuration() *durationpb.Duration
- func (x *ActivityExecutionListInfo) GetRunId() string
- func (x *ActivityExecutionListInfo) GetScheduleTime() *timestamppb.Timestamp
- func (x *ActivityExecutionListInfo) GetSearchAttributes() *v1.SearchAttributes
- func (x *ActivityExecutionListInfo) GetStateSizeBytes() int64
- func (x *ActivityExecutionListInfo) GetStateTransitionCount() int64
- func (x *ActivityExecutionListInfo) GetStatus() v13.ActivityExecutionStatus
- func (x *ActivityExecutionListInfo) GetTaskQueue() string
- func (val *ActivityExecutionListInfo) Marshal() ([]byte, error)
- func (*ActivityExecutionListInfo) ProtoMessage()
- func (x *ActivityExecutionListInfo) ProtoReflect() protoreflect.Message
- func (x *ActivityExecutionListInfo) Reset()
- func (val *ActivityExecutionListInfo) Size() int
- func (x *ActivityExecutionListInfo) String() string
- func (val *ActivityExecutionListInfo) Unmarshal(buf []byte) error
- type ActivityExecutionOutcome
- func (*ActivityExecutionOutcome) Descriptor() ([]byte, []int)deprecated
- func (this *ActivityExecutionOutcome) Equal(that interface{}) bool
- func (x *ActivityExecutionOutcome) GetFailure() *v11.Failure
- func (x *ActivityExecutionOutcome) GetResult() *v1.Payloads
- func (x *ActivityExecutionOutcome) GetValue() isActivityExecutionOutcome_Value
- func (val *ActivityExecutionOutcome) Marshal() ([]byte, error)
- func (*ActivityExecutionOutcome) ProtoMessage()
- func (x *ActivityExecutionOutcome) ProtoReflect() protoreflect.Message
- func (x *ActivityExecutionOutcome) Reset()
- func (val *ActivityExecutionOutcome) Size() int
- func (x *ActivityExecutionOutcome) String() string
- func (val *ActivityExecutionOutcome) Unmarshal(buf []byte) error
- type ActivityExecutionOutcome_Failure
- type ActivityExecutionOutcome_Result
- type ActivityOptions
- func (*ActivityOptions) Descriptor() ([]byte, []int)deprecated
- func (this *ActivityOptions) Equal(that interface{}) bool
- func (x *ActivityOptions) GetHeartbeatTimeout() *durationpb.Duration
- func (x *ActivityOptions) GetPriority() *v1.Priority
- func (x *ActivityOptions) GetRetryPolicy() *v1.RetryPolicy
- func (x *ActivityOptions) GetScheduleToCloseTimeout() *durationpb.Duration
- func (x *ActivityOptions) GetScheduleToStartTimeout() *durationpb.Duration
- func (x *ActivityOptions) GetStartDelay() *durationpb.Duration
- func (x *ActivityOptions) GetStartToCloseTimeout() *durationpb.Duration
- func (x *ActivityOptions) GetTaskQueue() *v12.TaskQueue
- func (val *ActivityOptions) Marshal() ([]byte, error)
- func (*ActivityOptions) ProtoMessage()
- func (x *ActivityOptions) ProtoReflect() protoreflect.Message
- func (x *ActivityOptions) Reset()
- func (val *ActivityOptions) Size() int
- func (x *ActivityOptions) String() string
- func (val *ActivityOptions) Unmarshal(buf []byte) error
- type CallbackInfo
- func (*CallbackInfo) Descriptor() ([]byte, []int)deprecated
- func (this *CallbackInfo) Equal(that interface{}) bool
- func (x *CallbackInfo) GetInfo() *v16.CallbackInfo
- func (x *CallbackInfo) GetTrigger() *CallbackInfo_Trigger
- func (val *CallbackInfo) Marshal() ([]byte, error)
- func (*CallbackInfo) ProtoMessage()
- func (x *CallbackInfo) ProtoReflect() protoreflect.Message
- func (x *CallbackInfo) Reset()
- func (val *CallbackInfo) Size() int
- func (x *CallbackInfo) String() string
- func (val *CallbackInfo) Unmarshal(buf []byte) error
- type CallbackInfo_ActivityClosed
- type CallbackInfo_Trigger
- func (*CallbackInfo_Trigger) Descriptor() ([]byte, []int)deprecated
- func (x *CallbackInfo_Trigger) GetActivityClosed() *CallbackInfo_ActivityClosed
- func (x *CallbackInfo_Trigger) GetVariant() isCallbackInfo_Trigger_Variant
- func (*CallbackInfo_Trigger) ProtoMessage()
- func (x *CallbackInfo_Trigger) ProtoReflect() protoreflect.Message
- func (x *CallbackInfo_Trigger) Reset()
- func (x *CallbackInfo_Trigger) String() string
- type CallbackInfo_Trigger_ActivityClosed
Constants ¶
This section is empty.
Variables ¶
var File_temporal_api_activity_v1_message_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ActivityExecutionInfo ¶ added in v1.60.0
type ActivityExecutionInfo struct {
// Unique identifier of this activity within its namespace along with run ID (below).
ActivityId string `protobuf:"bytes,1,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"`
RunId string `protobuf:"bytes,2,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
// The type of the activity, a string that maps to a registered activity on a worker.
ActivityType *v1.ActivityType `protobuf:"bytes,3,opt,name=activity_type,json=activityType,proto3" json:"activity_type,omitempty"`
// A general status for this activity, indicates whether it is currently running or in one of the terminal statuses.
Status v13.ActivityExecutionStatus `protobuf:"varint,4,opt,name=status,proto3,enum=temporal.api.enums.v1.ActivityExecutionStatus" json:"status,omitempty"`
// More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.
RunState v13.PendingActivityState `` /* 134-byte string literal not displayed */
TaskQueue string `protobuf:"bytes,6,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
// Indicates how long the caller is willing to wait for an activity completion. Limits how long
// retries will be attempted.
//
// (-- api-linter: core::0140::prepositions=disabled
//
// aip.dev/not-precedent: "to" is used to indicate interval. --)
ScheduleToCloseTimeout *durationpb.Duration `` /* 131-byte string literal not displayed */
// Limits time an activity task can stay in a task queue before a worker picks it up. This
// timeout is always non retryable, as all a retry would achieve is to put it back into the same
// queue. Defaults to `schedule_to_close_timeout`.
//
// (-- api-linter: core::0140::prepositions=disabled
//
// aip.dev/not-precedent: "to" is used to indicate interval. --)
ScheduleToStartTimeout *durationpb.Duration `` /* 131-byte string literal not displayed */
// Maximum time a single activity attempt is allowed to execute after being picked up by a worker. This
// timeout is always retryable.
//
// (-- api-linter: core::0140::prepositions=disabled
//
// aip.dev/not-precedent: "to" is used to indicate interval. --)
StartToCloseTimeout *durationpb.Duration `protobuf:"bytes,9,opt,name=start_to_close_timeout,json=startToCloseTimeout,proto3" json:"start_to_close_timeout,omitempty"`
// Maximum permitted time between successful worker heartbeats.
HeartbeatTimeout *durationpb.Duration `protobuf:"bytes,10,opt,name=heartbeat_timeout,json=heartbeatTimeout,proto3" json:"heartbeat_timeout,omitempty"`
// The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
RetryPolicy *v1.RetryPolicy `protobuf:"bytes,11,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"`
// Details provided in the last recorded activity heartbeat.
// DescribeActivityExecution does not set this field unless include_heartbeat_details was true in the request.
HeartbeatDetails *v1.Payloads `protobuf:"bytes,12,opt,name=heartbeat_details,json=heartbeatDetails,proto3" json:"heartbeat_details,omitempty"`
// Time the last heartbeat was recorded.
LastHeartbeatTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=last_heartbeat_time,json=lastHeartbeatTime,proto3" json:"last_heartbeat_time,omitempty"`
// Time the last attempt was started.
LastStartedTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=last_started_time,json=lastStartedTime,proto3" json:"last_started_time,omitempty"`
// The attempt this activity is currently on. Incremented each time a new attempt is scheduled.
Attempt int32 `protobuf:"varint,15,opt,name=attempt,proto3" json:"attempt,omitempty"`
// How long this activity has been running for, including all attempts and backoff between attempts.
ExecutionDuration *durationpb.Duration `protobuf:"bytes,16,opt,name=execution_duration,json=executionDuration,proto3" json:"execution_duration,omitempty"`
// Time the activity was originally scheduled via a StartActivityExecution request.
ScheduleTime *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"`
// Scheduled time + schedule to close timeout.
ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
// Time when the activity transitioned to a closed state.
CloseTime *timestamppb.Timestamp `protobuf:"bytes,19,opt,name=close_time,json=closeTime,proto3" json:"close_time,omitempty"`
// Failure details from the last failed attempt.
// DescribeActivityExecution does not set this field unless include_last_failure was true in the request.
LastFailure *v11.Failure `protobuf:"bytes,20,opt,name=last_failure,json=lastFailure,proto3" json:"last_failure,omitempty"`
LastWorkerIdentity string `protobuf:"bytes,21,opt,name=last_worker_identity,json=lastWorkerIdentity,proto3" json:"last_worker_identity,omitempty"`
// Time from the last attempt failure to the next activity retry.
// If the activity is currently running, this represents the next retry interval in case the attempt fails.
// If activity is currently backing off between attempt, this represents the current retry interval.
// If there is no next retry allowed, this field will be null.
// This interval is typically calculated from the specified retry policy, but may be modified if an activity fails
// with a retryable application failure specifying a retry delay.
CurrentRetryInterval *durationpb.Duration `protobuf:"bytes,22,opt,name=current_retry_interval,json=currentRetryInterval,proto3" json:"current_retry_interval,omitempty"`
// The time when the last activity attempt completed. If activity has not been completed yet, it will be null.
LastAttemptCompleteTime *timestamppb.Timestamp `` /* 135-byte string literal not displayed */
// The time when the next activity attempt will be scheduled.
// If activity is currently scheduled or started, this field will be null.
NextAttemptScheduleTime *timestamppb.Timestamp `` /* 135-byte string literal not displayed */
// The Worker Deployment Version this activity was dispatched to most recently.
// If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
LastDeploymentVersion *v14.WorkerDeploymentVersion `` /* 127-byte string literal not displayed */
// Priority metadata.
Priority *v1.Priority `protobuf:"bytes,26,opt,name=priority,proto3" json:"priority,omitempty"`
// Incremented each time the activity's state is mutated in persistence.
StateTransitionCount int64 `protobuf:"varint,27,opt,name=state_transition_count,json=stateTransitionCount,proto3" json:"state_transition_count,omitempty"`
// Updated once on scheduled and once on terminal status.
StateSizeBytes int64 `protobuf:"varint,28,opt,name=state_size_bytes,json=stateSizeBytes,proto3" json:"state_size_bytes,omitempty"`
SearchAttributes *v1.SearchAttributes `protobuf:"bytes,29,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"`
Header *v1.Header `protobuf:"bytes,30,opt,name=header,proto3" json:"header,omitempty"`
// Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
UserMetadata *v15.UserMetadata `protobuf:"bytes,31,opt,name=user_metadata,json=userMetadata,proto3" json:"user_metadata,omitempty"`
// Set if activity cancelation was requested.
CanceledReason string `protobuf:"bytes,32,opt,name=canceled_reason,json=canceledReason,proto3" json:"canceled_reason,omitempty"`
// Links to related entities, such as the entity that started this activity.
Links []*v1.Link `protobuf:"bytes,33,rep,name=links,proto3" json:"links,omitempty"`
// Total number of heartbeats recorded across all attempts of this activity, including retries.
TotalHeartbeatCount int64 `protobuf:"varint,34,opt,name=total_heartbeat_count,json=totalHeartbeatCount,proto3" json:"total_heartbeat_count,omitempty"`
// The name of the SDK of the worker that most recently picked up an attempt of this activity.
// Overwritten on each new attempt. Empty if unknown.
SdkName string `protobuf:"bytes,35,opt,name=sdk_name,json=sdkName,proto3" json:"sdk_name,omitempty"`
// The version of the SDK of the worker that most recently picked up an attempt of this activity.
// Overwritten on each new attempt. Empty if unknown.
SdkVersion string `protobuf:"bytes,36,opt,name=sdk_version,json=sdkVersion,proto3" json:"sdk_version,omitempty"`
// Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
StartDelay *durationpb.Duration `protobuf:"bytes,37,opt,name=start_delay,json=startDelay,proto3" json:"start_delay,omitempty"`
// The time at which the first activity task is made available for dispatch, computed as
// `schedule_time + start_delay`. Same as `schedule_time` if `start_delay` is not set.
ExecutionTime *timestamppb.Timestamp `protobuf:"bytes,38,opt,name=execution_time,json=executionTime,proto3" json:"execution_time,omitempty"`
// contains filtered or unexported fields
}
Information about a standalone activity.
func (*ActivityExecutionInfo) Descriptor
deprecated
added in
v1.60.0
func (*ActivityExecutionInfo) Descriptor() ([]byte, []int)
Deprecated: Use ActivityExecutionInfo.ProtoReflect.Descriptor instead.
func (*ActivityExecutionInfo) Equal ¶ added in v1.60.0
func (this *ActivityExecutionInfo) Equal(that interface{}) bool
Equal returns whether two ActivityExecutionInfo 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 (*ActivityExecutionInfo) GetActivityId ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetActivityId() string
func (*ActivityExecutionInfo) GetActivityType ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetActivityType() *v1.ActivityType
func (*ActivityExecutionInfo) GetAttempt ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetAttempt() int32
func (*ActivityExecutionInfo) GetCanceledReason ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetCanceledReason() string
func (*ActivityExecutionInfo) GetCloseTime ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetCloseTime() *timestamppb.Timestamp
func (*ActivityExecutionInfo) GetCurrentRetryInterval ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetCurrentRetryInterval() *durationpb.Duration
func (*ActivityExecutionInfo) GetExecutionDuration ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetExecutionDuration() *durationpb.Duration
func (*ActivityExecutionInfo) GetExecutionTime ¶ added in v1.63.2
func (x *ActivityExecutionInfo) GetExecutionTime() *timestamppb.Timestamp
func (*ActivityExecutionInfo) GetExpirationTime ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetExpirationTime() *timestamppb.Timestamp
func (*ActivityExecutionInfo) GetHeader ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetHeader() *v1.Header
func (*ActivityExecutionInfo) GetHeartbeatDetails ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetHeartbeatDetails() *v1.Payloads
func (*ActivityExecutionInfo) GetHeartbeatTimeout ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetHeartbeatTimeout() *durationpb.Duration
func (*ActivityExecutionInfo) GetLastAttemptCompleteTime ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetLastAttemptCompleteTime() *timestamppb.Timestamp
func (*ActivityExecutionInfo) GetLastDeploymentVersion ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetLastDeploymentVersion() *v14.WorkerDeploymentVersion
func (*ActivityExecutionInfo) GetLastFailure ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetLastFailure() *v11.Failure
func (*ActivityExecutionInfo) GetLastHeartbeatTime ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetLastHeartbeatTime() *timestamppb.Timestamp
func (*ActivityExecutionInfo) GetLastStartedTime ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetLastStartedTime() *timestamppb.Timestamp
func (*ActivityExecutionInfo) GetLastWorkerIdentity ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetLastWorkerIdentity() string
func (*ActivityExecutionInfo) GetLinks ¶ added in v1.62.9
func (x *ActivityExecutionInfo) GetLinks() []*v1.Link
func (*ActivityExecutionInfo) GetNextAttemptScheduleTime ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetNextAttemptScheduleTime() *timestamppb.Timestamp
func (*ActivityExecutionInfo) GetPriority ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetPriority() *v1.Priority
func (*ActivityExecutionInfo) GetRetryPolicy ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetRetryPolicy() *v1.RetryPolicy
func (*ActivityExecutionInfo) GetRunId ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetRunId() string
func (*ActivityExecutionInfo) GetRunState ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetRunState() v13.PendingActivityState
func (*ActivityExecutionInfo) GetScheduleTime ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetScheduleTime() *timestamppb.Timestamp
func (*ActivityExecutionInfo) GetScheduleToCloseTimeout ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetScheduleToCloseTimeout() *durationpb.Duration
func (*ActivityExecutionInfo) GetScheduleToStartTimeout ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetScheduleToStartTimeout() *durationpb.Duration
func (*ActivityExecutionInfo) GetSdkName ¶ added in v1.62.13
func (x *ActivityExecutionInfo) GetSdkName() string
func (*ActivityExecutionInfo) GetSdkVersion ¶ added in v1.62.13
func (x *ActivityExecutionInfo) GetSdkVersion() string
func (*ActivityExecutionInfo) GetSearchAttributes ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetSearchAttributes() *v1.SearchAttributes
func (*ActivityExecutionInfo) GetStartDelay ¶ added in v1.62.14
func (x *ActivityExecutionInfo) GetStartDelay() *durationpb.Duration
func (*ActivityExecutionInfo) GetStartToCloseTimeout ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetStartToCloseTimeout() *durationpb.Duration
func (*ActivityExecutionInfo) GetStateSizeBytes ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetStateSizeBytes() int64
func (*ActivityExecutionInfo) GetStateTransitionCount ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetStateTransitionCount() int64
func (*ActivityExecutionInfo) GetStatus ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetStatus() v13.ActivityExecutionStatus
func (*ActivityExecutionInfo) GetTaskQueue ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetTaskQueue() string
func (*ActivityExecutionInfo) GetTotalHeartbeatCount ¶ added in v1.62.10
func (x *ActivityExecutionInfo) GetTotalHeartbeatCount() int64
func (*ActivityExecutionInfo) GetUserMetadata ¶ added in v1.60.0
func (x *ActivityExecutionInfo) GetUserMetadata() *v15.UserMetadata
func (*ActivityExecutionInfo) Marshal ¶ added in v1.60.0
func (val *ActivityExecutionInfo) Marshal() ([]byte, error)
Marshal an object of type ActivityExecutionInfo to the protobuf v3 wire format
func (*ActivityExecutionInfo) ProtoMessage ¶ added in v1.60.0
func (*ActivityExecutionInfo) ProtoMessage()
func (*ActivityExecutionInfo) ProtoReflect ¶ added in v1.60.0
func (x *ActivityExecutionInfo) ProtoReflect() protoreflect.Message
func (*ActivityExecutionInfo) Reset ¶ added in v1.60.0
func (x *ActivityExecutionInfo) Reset()
func (*ActivityExecutionInfo) Size ¶ added in v1.60.0
func (val *ActivityExecutionInfo) Size() int
Size returns the size of the object, in bytes, once serialized
func (*ActivityExecutionInfo) String ¶ added in v1.60.0
func (x *ActivityExecutionInfo) String() string
func (*ActivityExecutionInfo) Unmarshal ¶ added in v1.60.0
func (val *ActivityExecutionInfo) Unmarshal(buf []byte) error
Unmarshal an object of type ActivityExecutionInfo from the protobuf v3 wire format
type ActivityExecutionListInfo ¶ added in v1.60.0
type ActivityExecutionListInfo struct {
// A unique identifier of this activity within its namespace along with run ID (below).
ActivityId string `protobuf:"bytes,1,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"`
// The run ID of the standalone activity.
RunId string `protobuf:"bytes,2,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
// The type of the activity, a string that maps to a registered activity on a worker.
ActivityType *v1.ActivityType `protobuf:"bytes,3,opt,name=activity_type,json=activityType,proto3" json:"activity_type,omitempty"`
// Time the activity was originally scheduled via a StartActivityExecution request.
ScheduleTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"`
// If the activity is in a terminal status, this field represents the time the activity transitioned to that status.
CloseTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=close_time,json=closeTime,proto3" json:"close_time,omitempty"`
// Only scheduled and terminal statuses appear here. More detailed information in PendingActivityInfo but not
// available in the list response.
Status v13.ActivityExecutionStatus `protobuf:"varint,6,opt,name=status,proto3,enum=temporal.api.enums.v1.ActivityExecutionStatus" json:"status,omitempty"`
// Search attributes from the start request.
SearchAttributes *v1.SearchAttributes `protobuf:"bytes,7,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"`
// The task queue this activity was scheduled on when it was originally started, updated on activity options update.
TaskQueue string `protobuf:"bytes,8,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
// Updated on terminal status.
StateTransitionCount int64 `protobuf:"varint,9,opt,name=state_transition_count,json=stateTransitionCount,proto3" json:"state_transition_count,omitempty"`
// Updated once on scheduled and once on terminal status.
StateSizeBytes int64 `protobuf:"varint,10,opt,name=state_size_bytes,json=stateSizeBytes,proto3" json:"state_size_bytes,omitempty"`
// The difference between close time and scheduled time.
// This field is only populated if the activity is closed.
ExecutionDuration *durationpb.Duration `protobuf:"bytes,11,opt,name=execution_duration,json=executionDuration,proto3" json:"execution_duration,omitempty"`
// contains filtered or unexported fields
}
Limited activity information returned in the list response. When adding fields here, ensure that it is also present in ActivityExecutionInfo (note that it may already be present in ActivityExecutionInfo but not at the top-level).
func (*ActivityExecutionListInfo) Descriptor
deprecated
added in
v1.60.0
func (*ActivityExecutionListInfo) Descriptor() ([]byte, []int)
Deprecated: Use ActivityExecutionListInfo.ProtoReflect.Descriptor instead.
func (*ActivityExecutionListInfo) Equal ¶ added in v1.60.0
func (this *ActivityExecutionListInfo) Equal(that interface{}) bool
Equal returns whether two ActivityExecutionListInfo 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 (*ActivityExecutionListInfo) GetActivityId ¶ added in v1.60.0
func (x *ActivityExecutionListInfo) GetActivityId() string
func (*ActivityExecutionListInfo) GetActivityType ¶ added in v1.60.0
func (x *ActivityExecutionListInfo) GetActivityType() *v1.ActivityType
func (*ActivityExecutionListInfo) GetCloseTime ¶ added in v1.60.0
func (x *ActivityExecutionListInfo) GetCloseTime() *timestamppb.Timestamp
func (*ActivityExecutionListInfo) GetExecutionDuration ¶ added in v1.60.0
func (x *ActivityExecutionListInfo) GetExecutionDuration() *durationpb.Duration
func (*ActivityExecutionListInfo) GetRunId ¶ added in v1.60.0
func (x *ActivityExecutionListInfo) GetRunId() string
func (*ActivityExecutionListInfo) GetScheduleTime ¶ added in v1.60.0
func (x *ActivityExecutionListInfo) GetScheduleTime() *timestamppb.Timestamp
func (*ActivityExecutionListInfo) GetSearchAttributes ¶ added in v1.60.0
func (x *ActivityExecutionListInfo) GetSearchAttributes() *v1.SearchAttributes
func (*ActivityExecutionListInfo) GetStateSizeBytes ¶ added in v1.60.0
func (x *ActivityExecutionListInfo) GetStateSizeBytes() int64
func (*ActivityExecutionListInfo) GetStateTransitionCount ¶ added in v1.60.0
func (x *ActivityExecutionListInfo) GetStateTransitionCount() int64
func (*ActivityExecutionListInfo) GetStatus ¶ added in v1.60.0
func (x *ActivityExecutionListInfo) GetStatus() v13.ActivityExecutionStatus
func (*ActivityExecutionListInfo) GetTaskQueue ¶ added in v1.60.0
func (x *ActivityExecutionListInfo) GetTaskQueue() string
func (*ActivityExecutionListInfo) Marshal ¶ added in v1.60.0
func (val *ActivityExecutionListInfo) Marshal() ([]byte, error)
Marshal an object of type ActivityExecutionListInfo to the protobuf v3 wire format
func (*ActivityExecutionListInfo) ProtoMessage ¶ added in v1.60.0
func (*ActivityExecutionListInfo) ProtoMessage()
func (*ActivityExecutionListInfo) ProtoReflect ¶ added in v1.60.0
func (x *ActivityExecutionListInfo) ProtoReflect() protoreflect.Message
func (*ActivityExecutionListInfo) Reset ¶ added in v1.60.0
func (x *ActivityExecutionListInfo) Reset()
func (*ActivityExecutionListInfo) Size ¶ added in v1.60.0
func (val *ActivityExecutionListInfo) Size() int
Size returns the size of the object, in bytes, once serialized
func (*ActivityExecutionListInfo) String ¶ added in v1.60.0
func (x *ActivityExecutionListInfo) String() string
func (*ActivityExecutionListInfo) Unmarshal ¶ added in v1.60.0
func (val *ActivityExecutionListInfo) Unmarshal(buf []byte) error
Unmarshal an object of type ActivityExecutionListInfo from the protobuf v3 wire format
type ActivityExecutionOutcome ¶ added in v1.60.0
type ActivityExecutionOutcome struct {
// Types that are valid to be assigned to Value:
//
// *ActivityExecutionOutcome_Result
// *ActivityExecutionOutcome_Failure
Value isActivityExecutionOutcome_Value `protobuf_oneof:"value"`
// contains filtered or unexported fields
}
The outcome of a completed activity execution: either a successful result or a failure.
func (*ActivityExecutionOutcome) Descriptor
deprecated
added in
v1.60.0
func (*ActivityExecutionOutcome) Descriptor() ([]byte, []int)
Deprecated: Use ActivityExecutionOutcome.ProtoReflect.Descriptor instead.
func (*ActivityExecutionOutcome) Equal ¶ added in v1.60.0
func (this *ActivityExecutionOutcome) Equal(that interface{}) bool
Equal returns whether two ActivityExecutionOutcome 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 (*ActivityExecutionOutcome) GetFailure ¶ added in v1.60.0
func (x *ActivityExecutionOutcome) GetFailure() *v11.Failure
func (*ActivityExecutionOutcome) GetResult ¶ added in v1.60.0
func (x *ActivityExecutionOutcome) GetResult() *v1.Payloads
func (*ActivityExecutionOutcome) GetValue ¶ added in v1.60.0
func (x *ActivityExecutionOutcome) GetValue() isActivityExecutionOutcome_Value
func (*ActivityExecutionOutcome) Marshal ¶ added in v1.60.0
func (val *ActivityExecutionOutcome) Marshal() ([]byte, error)
Marshal an object of type ActivityExecutionOutcome to the protobuf v3 wire format
func (*ActivityExecutionOutcome) ProtoMessage ¶ added in v1.60.0
func (*ActivityExecutionOutcome) ProtoMessage()
func (*ActivityExecutionOutcome) ProtoReflect ¶ added in v1.60.0
func (x *ActivityExecutionOutcome) ProtoReflect() protoreflect.Message
func (*ActivityExecutionOutcome) Reset ¶ added in v1.60.0
func (x *ActivityExecutionOutcome) Reset()
func (*ActivityExecutionOutcome) Size ¶ added in v1.60.0
func (val *ActivityExecutionOutcome) Size() int
Size returns the size of the object, in bytes, once serialized
func (*ActivityExecutionOutcome) String ¶ added in v1.60.0
func (x *ActivityExecutionOutcome) String() string
func (*ActivityExecutionOutcome) Unmarshal ¶ added in v1.60.0
func (val *ActivityExecutionOutcome) Unmarshal(buf []byte) error
Unmarshal an object of type ActivityExecutionOutcome from the protobuf v3 wire format
type ActivityExecutionOutcome_Failure ¶ added in v1.60.0
type ActivityExecutionOutcome_Result ¶ added in v1.60.0
type ActivityOptions ¶
type ActivityOptions struct {
TaskQueue *v12.TaskQueue `protobuf:"bytes,1,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
// Indicates how long the caller is willing to wait for an activity completion. Limits how long
// retries will be attempted. Either this or `start_to_close_timeout` must be specified.
//
// (-- api-linter: core::0140::prepositions=disabled
//
// aip.dev/not-precedent: "to" is used to indicate interval. --)
ScheduleToCloseTimeout *durationpb.Duration `` /* 131-byte string literal not displayed */
// Limits time an activity task can stay in a task queue before a worker picks it up. This
// timeout is always non retryable, as all a retry would achieve is to put it back into the same
// queue. Defaults to `schedule_to_close_timeout` or workflow execution timeout if not
// specified.
//
// (-- api-linter: core::0140::prepositions=disabled
//
// aip.dev/not-precedent: "to" is used to indicate interval. --)
ScheduleToStartTimeout *durationpb.Duration `` /* 131-byte string literal not displayed */
// Maximum time an activity is allowed to execute after being picked up by a worker. This
// timeout is always retryable. Either this or `schedule_to_close_timeout` must be
// specified.
//
// (-- api-linter: core::0140::prepositions=disabled
//
// aip.dev/not-precedent: "to" is used to indicate interval. --)
StartToCloseTimeout *durationpb.Duration `protobuf:"bytes,4,opt,name=start_to_close_timeout,json=startToCloseTimeout,proto3" json:"start_to_close_timeout,omitempty"`
// Maximum permitted time between successful worker heartbeats.
HeartbeatTimeout *durationpb.Duration `protobuf:"bytes,5,opt,name=heartbeat_timeout,json=heartbeatTimeout,proto3" json:"heartbeat_timeout,omitempty"`
// The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
RetryPolicy *v1.RetryPolicy `protobuf:"bytes,6,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"`
// Priority metadata. If this message is not present, or any fields are not
// present, they inherit the values from the workflow.
Priority *v1.Priority `protobuf:"bytes,7,opt,name=priority,proto3" json:"priority,omitempty"`
// Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
// When updated, the time is added to the original `schedule_time`, not to the current time.
// If the resulting time is in the past, the task is made available for dispatch immediately.
StartDelay *durationpb.Duration `protobuf:"bytes,8,opt,name=start_delay,json=startDelay,proto3" json:"start_delay,omitempty"`
// contains filtered or unexported fields
}
func (*ActivityOptions) Descriptor
deprecated
func (*ActivityOptions) Descriptor() ([]byte, []int)
Deprecated: Use ActivityOptions.ProtoReflect.Descriptor instead.
func (*ActivityOptions) Equal ¶
func (this *ActivityOptions) Equal(that interface{}) bool
Equal returns whether two ActivityOptions 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 (*ActivityOptions) GetHeartbeatTimeout ¶
func (x *ActivityOptions) GetHeartbeatTimeout() *durationpb.Duration
func (*ActivityOptions) GetPriority ¶ added in v1.60.0
func (x *ActivityOptions) GetPriority() *v1.Priority
func (*ActivityOptions) GetRetryPolicy ¶
func (x *ActivityOptions) GetRetryPolicy() *v1.RetryPolicy
func (*ActivityOptions) GetScheduleToCloseTimeout ¶
func (x *ActivityOptions) GetScheduleToCloseTimeout() *durationpb.Duration
func (*ActivityOptions) GetScheduleToStartTimeout ¶
func (x *ActivityOptions) GetScheduleToStartTimeout() *durationpb.Duration
func (*ActivityOptions) GetStartDelay ¶ added in v1.63.2
func (x *ActivityOptions) GetStartDelay() *durationpb.Duration
func (*ActivityOptions) GetStartToCloseTimeout ¶
func (x *ActivityOptions) GetStartToCloseTimeout() *durationpb.Duration
func (*ActivityOptions) GetTaskQueue ¶
func (x *ActivityOptions) GetTaskQueue() *v12.TaskQueue
func (*ActivityOptions) Marshal ¶
func (val *ActivityOptions) Marshal() ([]byte, error)
Marshal an object of type ActivityOptions to the protobuf v3 wire format
func (*ActivityOptions) ProtoMessage ¶
func (*ActivityOptions) ProtoMessage()
func (*ActivityOptions) ProtoReflect ¶
func (x *ActivityOptions) ProtoReflect() protoreflect.Message
func (*ActivityOptions) Reset ¶
func (x *ActivityOptions) Reset()
func (*ActivityOptions) Size ¶
func (val *ActivityOptions) Size() int
Size returns the size of the object, in bytes, once serialized
func (*ActivityOptions) String ¶
func (x *ActivityOptions) String() string
func (*ActivityOptions) Unmarshal ¶
func (val *ActivityOptions) Unmarshal(buf []byte) error
Unmarshal an object of type ActivityOptions from the protobuf v3 wire format
type CallbackInfo ¶ added in v1.62.9
type CallbackInfo struct {
// Trigger for this callback.
Trigger *CallbackInfo_Trigger `protobuf:"bytes,1,opt,name=trigger,proto3" json:"trigger,omitempty"`
// Common callback info.
Info *v16.CallbackInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
// contains filtered or unexported fields
}
CallbackInfo contains the state of an attached activity callback.
func (*CallbackInfo) Descriptor
deprecated
added in
v1.62.9
func (*CallbackInfo) Descriptor() ([]byte, []int)
Deprecated: Use CallbackInfo.ProtoReflect.Descriptor instead.
func (*CallbackInfo) Equal ¶ added in v1.62.9
func (this *CallbackInfo) Equal(that interface{}) bool
Equal returns whether two CallbackInfo 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 (*CallbackInfo) GetInfo ¶ added in v1.62.9
func (x *CallbackInfo) GetInfo() *v16.CallbackInfo
func (*CallbackInfo) GetTrigger ¶ added in v1.62.9
func (x *CallbackInfo) GetTrigger() *CallbackInfo_Trigger
func (*CallbackInfo) Marshal ¶ added in v1.62.9
func (val *CallbackInfo) Marshal() ([]byte, error)
Marshal an object of type CallbackInfo to the protobuf v3 wire format
func (*CallbackInfo) ProtoMessage ¶ added in v1.62.9
func (*CallbackInfo) ProtoMessage()
func (*CallbackInfo) ProtoReflect ¶ added in v1.62.9
func (x *CallbackInfo) ProtoReflect() protoreflect.Message
func (*CallbackInfo) Reset ¶ added in v1.62.9
func (x *CallbackInfo) Reset()
func (*CallbackInfo) Size ¶ added in v1.62.9
func (val *CallbackInfo) Size() int
Size returns the size of the object, in bytes, once serialized
func (*CallbackInfo) String ¶ added in v1.62.9
func (x *CallbackInfo) String() string
func (*CallbackInfo) Unmarshal ¶ added in v1.62.9
func (val *CallbackInfo) Unmarshal(buf []byte) error
Unmarshal an object of type CallbackInfo from the protobuf v3 wire format
type CallbackInfo_ActivityClosed ¶ added in v1.62.9
type CallbackInfo_ActivityClosed struct {
// contains filtered or unexported fields
}
Trigger for when the activity is closed.
func (*CallbackInfo_ActivityClosed) Descriptor
deprecated
added in
v1.62.9
func (*CallbackInfo_ActivityClosed) Descriptor() ([]byte, []int)
Deprecated: Use CallbackInfo_ActivityClosed.ProtoReflect.Descriptor instead.
func (*CallbackInfo_ActivityClosed) ProtoMessage ¶ added in v1.62.9
func (*CallbackInfo_ActivityClosed) ProtoMessage()
func (*CallbackInfo_ActivityClosed) ProtoReflect ¶ added in v1.62.9
func (x *CallbackInfo_ActivityClosed) ProtoReflect() protoreflect.Message
func (*CallbackInfo_ActivityClosed) Reset ¶ added in v1.62.9
func (x *CallbackInfo_ActivityClosed) Reset()
func (*CallbackInfo_ActivityClosed) String ¶ added in v1.62.9
func (x *CallbackInfo_ActivityClosed) String() string
type CallbackInfo_Trigger ¶ added in v1.62.9
type CallbackInfo_Trigger struct {
// Types that are valid to be assigned to Variant:
//
// *CallbackInfo_Trigger_ActivityClosed
Variant isCallbackInfo_Trigger_Variant `protobuf_oneof:"variant"`
// contains filtered or unexported fields
}
func (*CallbackInfo_Trigger) Descriptor
deprecated
added in
v1.62.9
func (*CallbackInfo_Trigger) Descriptor() ([]byte, []int)
Deprecated: Use CallbackInfo_Trigger.ProtoReflect.Descriptor instead.
func (*CallbackInfo_Trigger) GetActivityClosed ¶ added in v1.62.9
func (x *CallbackInfo_Trigger) GetActivityClosed() *CallbackInfo_ActivityClosed
func (*CallbackInfo_Trigger) GetVariant ¶ added in v1.62.9
func (x *CallbackInfo_Trigger) GetVariant() isCallbackInfo_Trigger_Variant
func (*CallbackInfo_Trigger) ProtoMessage ¶ added in v1.62.9
func (*CallbackInfo_Trigger) ProtoMessage()
func (*CallbackInfo_Trigger) ProtoReflect ¶ added in v1.62.9
func (x *CallbackInfo_Trigger) ProtoReflect() protoreflect.Message
func (*CallbackInfo_Trigger) Reset ¶ added in v1.62.9
func (x *CallbackInfo_Trigger) Reset()
func (*CallbackInfo_Trigger) String ¶ added in v1.62.9
func (x *CallbackInfo_Trigger) String() string
type CallbackInfo_Trigger_ActivityClosed ¶ added in v1.62.9
type CallbackInfo_Trigger_ActivityClosed struct {
ActivityClosed *CallbackInfo_ActivityClosed `protobuf:"bytes,1,opt,name=activity_closed,json=activityClosed,proto3,oneof"`
}