Documentation
¶
Overview ¶
Code generated by protoc-gen-go-helpers. DO NOT EDIT.
Index ¶
- Variables
- type BufferedStart
- func (*BufferedStart) Descriptor() ([]byte, []int)deprecated
- func (this *BufferedStart) Equal(that interface{}) bool
- func (x *BufferedStart) GetActualTime() *timestamppb.Timestamp
- func (x *BufferedStart) GetDesiredTime() *timestamppb.Timestamp
- func (x *BufferedStart) GetManual() bool
- func (x *BufferedStart) GetNominalTime() *timestamppb.Timestamp
- func (x *BufferedStart) GetOverlapPolicy() v1.ScheduleOverlapPolicy
- func (val *BufferedStart) Marshal() ([]byte, error)
- func (*BufferedStart) ProtoMessage()
- func (x *BufferedStart) ProtoReflect() protoreflect.Message
- func (x *BufferedStart) Reset()
- func (val *BufferedStart) Size() int
- func (x *BufferedStart) String() string
- func (val *BufferedStart) Unmarshal(buf []byte) error
- type CancelWorkflowRequest
- func (*CancelWorkflowRequest) Descriptor() ([]byte, []int)deprecated
- func (this *CancelWorkflowRequest) Equal(that interface{}) bool
- func (x *CancelWorkflowRequest) GetExecution() *v12.WorkflowExecution
- func (x *CancelWorkflowRequest) GetIdentity() string
- func (x *CancelWorkflowRequest) GetReason() string
- func (x *CancelWorkflowRequest) GetRequestId() string
- func (val *CancelWorkflowRequest) Marshal() ([]byte, error)
- func (*CancelWorkflowRequest) ProtoMessage()
- func (x *CancelWorkflowRequest) ProtoReflect() protoreflect.Message
- func (x *CancelWorkflowRequest) Reset()
- func (val *CancelWorkflowRequest) Size() int
- func (x *CancelWorkflowRequest) String() string
- func (val *CancelWorkflowRequest) Unmarshal(buf []byte) error
- type DescribeResponse
- func (*DescribeResponse) Descriptor() ([]byte, []int)deprecated
- func (this *DescribeResponse) Equal(that interface{}) bool
- func (x *DescribeResponse) GetConflictToken() int64
- func (x *DescribeResponse) GetInfo() *v11.ScheduleInfo
- func (x *DescribeResponse) GetSchedule() *v11.Schedule
- func (val *DescribeResponse) Marshal() ([]byte, error)
- func (*DescribeResponse) ProtoMessage()
- func (x *DescribeResponse) ProtoReflect() protoreflect.Message
- func (x *DescribeResponse) Reset()
- func (val *DescribeResponse) Size() int
- func (x *DescribeResponse) String() string
- func (val *DescribeResponse) Unmarshal(buf []byte) error
- type FullUpdateRequest
- func (*FullUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (this *FullUpdateRequest) Equal(that interface{}) bool
- func (x *FullUpdateRequest) GetConflictToken() int64
- func (x *FullUpdateRequest) GetSchedule() *v11.Schedule
- func (x *FullUpdateRequest) GetSearchAttributes() *v12.SearchAttributes
- func (val *FullUpdateRequest) Marshal() ([]byte, error)
- func (*FullUpdateRequest) ProtoMessage()
- func (x *FullUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *FullUpdateRequest) Reset()
- func (val *FullUpdateRequest) Size() int
- func (x *FullUpdateRequest) String() string
- func (val *FullUpdateRequest) Unmarshal(buf []byte) error
- type HsmSchedulerState
- func (*HsmSchedulerState) Descriptor() ([]byte, []int)deprecated
- func (this *HsmSchedulerState) Equal(that interface{}) bool
- func (x *HsmSchedulerState) GetArgs() *StartScheduleArgs
- func (x *HsmSchedulerState) GetHsmState() v15.SchedulerState
- func (x *HsmSchedulerState) GetNextInvocationTime() *timestamppb.Timestamp
- func (val *HsmSchedulerState) Marshal() ([]byte, error)
- func (*HsmSchedulerState) ProtoMessage()
- func (x *HsmSchedulerState) ProtoReflect() protoreflect.Message
- func (x *HsmSchedulerState) Reset()
- func (val *HsmSchedulerState) Size() int
- func (x *HsmSchedulerState) String() string
- func (val *HsmSchedulerState) Unmarshal(buf []byte) error
- type InternalState
- func (*InternalState) Descriptor() ([]byte, []int)deprecated
- func (this *InternalState) Equal(that interface{}) bool
- func (x *InternalState) GetBufferedStarts() []*BufferedStart
- func (x *InternalState) GetConflictToken() int64
- func (x *InternalState) GetContinuedFailure() *v13.Failure
- func (x *InternalState) GetLastCompletionResult() *v12.Payloads
- func (x *InternalState) GetLastProcessedTime() *timestamppb.Timestamp
- func (x *InternalState) GetNamespace() string
- func (x *InternalState) GetNamespaceId() string
- func (x *InternalState) GetNeedRefresh() bool
- func (x *InternalState) GetOngoingBackfills() []*v11.BackfillRequest
- func (x *InternalState) GetScheduleId() string
- func (val *InternalState) Marshal() ([]byte, error)
- func (*InternalState) ProtoMessage()
- func (x *InternalState) ProtoReflect() protoreflect.Message
- func (x *InternalState) Reset()
- func (val *InternalState) Size() int
- func (x *InternalState) String() string
- func (val *InternalState) Unmarshal(buf []byte) error
- type NextTimeCache
- func (*NextTimeCache) Descriptor() ([]byte, []int)deprecated
- func (this *NextTimeCache) Equal(that interface{}) bool
- func (x *NextTimeCache) GetCompleted() bool
- func (x *NextTimeCache) GetNextTimes() []int64
- func (x *NextTimeCache) GetNominalTimes() []int64
- func (x *NextTimeCache) GetStartTime() *timestamppb.Timestamp
- func (x *NextTimeCache) GetVersion() int64
- func (val *NextTimeCache) Marshal() ([]byte, error)
- func (*NextTimeCache) ProtoMessage()
- func (x *NextTimeCache) ProtoReflect() protoreflect.Message
- func (x *NextTimeCache) Reset()
- func (val *NextTimeCache) Size() int
- func (x *NextTimeCache) String() string
- func (val *NextTimeCache) Unmarshal(buf []byte) error
- type StartScheduleArgs
- func (*StartScheduleArgs) Descriptor() ([]byte, []int)deprecated
- func (this *StartScheduleArgs) Equal(that interface{}) bool
- func (x *StartScheduleArgs) GetInfo() *v11.ScheduleInfo
- func (x *StartScheduleArgs) GetInitialPatch() *v11.SchedulePatch
- func (x *StartScheduleArgs) GetSchedule() *v11.Schedule
- func (x *StartScheduleArgs) GetState() *InternalState
- func (val *StartScheduleArgs) Marshal() ([]byte, error)
- func (*StartScheduleArgs) ProtoMessage()
- func (x *StartScheduleArgs) ProtoReflect() protoreflect.Message
- func (x *StartScheduleArgs) Reset()
- func (val *StartScheduleArgs) Size() int
- func (x *StartScheduleArgs) String() string
- func (val *StartScheduleArgs) Unmarshal(buf []byte) error
- type StartWorkflowRequest
- func (*StartWorkflowRequest) Descriptor() ([]byte, []int)deprecated
- func (this *StartWorkflowRequest) Equal(that interface{}) bool
- func (x *StartWorkflowRequest) GetCompletedRateLimitSleep() bool
- func (x *StartWorkflowRequest) GetRequest() *v14.StartWorkflowExecutionRequest
- func (val *StartWorkflowRequest) Marshal() ([]byte, error)
- func (*StartWorkflowRequest) ProtoMessage()
- func (x *StartWorkflowRequest) ProtoReflect() protoreflect.Message
- func (x *StartWorkflowRequest) Reset()
- func (val *StartWorkflowRequest) Size() int
- func (x *StartWorkflowRequest) String() string
- func (val *StartWorkflowRequest) Unmarshal(buf []byte) error
- type StartWorkflowResponse
- func (*StartWorkflowResponse) Descriptor() ([]byte, []int)deprecated
- func (this *StartWorkflowResponse) Equal(that interface{}) bool
- func (x *StartWorkflowResponse) GetRealStartTime() *timestamppb.Timestamp
- func (x *StartWorkflowResponse) GetRunId() string
- func (val *StartWorkflowResponse) Marshal() ([]byte, error)
- func (*StartWorkflowResponse) ProtoMessage()
- func (x *StartWorkflowResponse) ProtoReflect() protoreflect.Message
- func (x *StartWorkflowResponse) Reset()
- func (val *StartWorkflowResponse) Size() int
- func (x *StartWorkflowResponse) String() string
- func (val *StartWorkflowResponse) Unmarshal(buf []byte) error
- type TerminateWorkflowRequest
- func (*TerminateWorkflowRequest) Descriptor() ([]byte, []int)deprecated
- func (this *TerminateWorkflowRequest) Equal(that interface{}) bool
- func (x *TerminateWorkflowRequest) GetExecution() *v12.WorkflowExecution
- func (x *TerminateWorkflowRequest) GetIdentity() string
- func (x *TerminateWorkflowRequest) GetReason() string
- func (x *TerminateWorkflowRequest) GetRequestId() string
- func (val *TerminateWorkflowRequest) Marshal() ([]byte, error)
- func (*TerminateWorkflowRequest) ProtoMessage()
- func (x *TerminateWorkflowRequest) ProtoReflect() protoreflect.Message
- func (x *TerminateWorkflowRequest) Reset()
- func (val *TerminateWorkflowRequest) Size() int
- func (x *TerminateWorkflowRequest) String() string
- func (val *TerminateWorkflowRequest) Unmarshal(buf []byte) error
- type WatchWorkflowRequest
- func (*WatchWorkflowRequest) Descriptor() ([]byte, []int)deprecated
- func (this *WatchWorkflowRequest) Equal(that interface{}) bool
- func (x *WatchWorkflowRequest) GetExecution() *v12.WorkflowExecution
- func (x *WatchWorkflowRequest) GetFirstExecutionRunId() string
- func (x *WatchWorkflowRequest) GetLongPoll() bool
- func (val *WatchWorkflowRequest) Marshal() ([]byte, error)
- func (*WatchWorkflowRequest) ProtoMessage()
- func (x *WatchWorkflowRequest) ProtoReflect() protoreflect.Message
- func (x *WatchWorkflowRequest) Reset()
- func (val *WatchWorkflowRequest) Size() int
- func (x *WatchWorkflowRequest) String() string
- func (val *WatchWorkflowRequest) Unmarshal(buf []byte) error
- type WatchWorkflowResponse
- func (*WatchWorkflowResponse) Descriptor() ([]byte, []int)deprecated
- func (this *WatchWorkflowResponse) Equal(that interface{}) bool
- func (x *WatchWorkflowResponse) GetCloseTime() *timestamppb.Timestamp
- func (x *WatchWorkflowResponse) GetFailure() *v13.Failure
- func (x *WatchWorkflowResponse) GetResult() *v12.Payloads
- func (m *WatchWorkflowResponse) GetResultFailure() isWatchWorkflowResponse_ResultFailure
- func (x *WatchWorkflowResponse) GetStatus() v1.WorkflowExecutionStatus
- func (val *WatchWorkflowResponse) Marshal() ([]byte, error)
- func (*WatchWorkflowResponse) ProtoMessage()
- func (x *WatchWorkflowResponse) ProtoReflect() protoreflect.Message
- func (x *WatchWorkflowResponse) Reset()
- func (val *WatchWorkflowResponse) Size() int
- func (x *WatchWorkflowResponse) String() string
- func (val *WatchWorkflowResponse) Unmarshal(buf []byte) error
- type WatchWorkflowResponse_Failure
- type WatchWorkflowResponse_Result
Constants ¶
This section is empty.
Variables ¶
var File_temporal_server_api_schedule_v1_message_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BufferedStart ¶
type BufferedStart struct {
// Nominal (pre-jitter) and Actual (post-jitter) time of action
NominalTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=nominal_time,json=nominalTime,proto3" json:"nominal_time,omitempty"`
ActualTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=actual_time,json=actualTime,proto3" json:"actual_time,omitempty"`
// Desired time is usually nil, which should be interpreted as == actual time, but for starts
// that are blocked behind another action, it is set to the close time of the previous action
// for more meaningful metrics.
DesiredTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=desired_time,json=desiredTime,proto3" json:"desired_time,omitempty"`
// Overridden overlap policy
OverlapPolicy v1.ScheduleOverlapPolicy `` /* 150-byte string literal not displayed */
// Trigger-immediately or backfill
Manual bool `protobuf:"varint,4,opt,name=manual,proto3" json:"manual,omitempty"`
// contains filtered or unexported fields
}
func (*BufferedStart) Descriptor
deprecated
func (*BufferedStart) Descriptor() ([]byte, []int)
Deprecated: Use BufferedStart.ProtoReflect.Descriptor instead.
func (*BufferedStart) Equal ¶
func (this *BufferedStart) Equal(that interface{}) bool
Equal returns whether two BufferedStart values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkgo.dev/google.golang.org/protobuf/proto#Equal
func (*BufferedStart) GetActualTime ¶
func (x *BufferedStart) GetActualTime() *timestamppb.Timestamp
func (*BufferedStart) GetDesiredTime ¶ added in v1.25.0
func (x *BufferedStart) GetDesiredTime() *timestamppb.Timestamp
func (*BufferedStart) GetNominalTime ¶
func (x *BufferedStart) GetNominalTime() *timestamppb.Timestamp
func (*BufferedStart) GetOverlapPolicy ¶
func (x *BufferedStart) GetOverlapPolicy() v1.ScheduleOverlapPolicy
func (*BufferedStart) Marshal ¶
func (val *BufferedStart) Marshal() ([]byte, error)
Marshal an object of type BufferedStart to the protobuf v3 wire format
func (*BufferedStart) ProtoMessage ¶
func (*BufferedStart) ProtoMessage()
func (*BufferedStart) ProtoReflect ¶ added in v1.23.0
func (x *BufferedStart) ProtoReflect() protoreflect.Message
type CancelWorkflowRequest ¶
type CancelWorkflowRequest struct {
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
Identity string `protobuf:"bytes,4,opt,name=identity,proto3" json:"identity,omitempty"`
// Note: run id in execution is first execution run id
Execution *v12.WorkflowExecution `protobuf:"bytes,5,opt,name=execution,proto3" json:"execution,omitempty"`
Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"`
// contains filtered or unexported fields
}
func (*CancelWorkflowRequest) Descriptor
deprecated
func (*CancelWorkflowRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelWorkflowRequest.ProtoReflect.Descriptor instead.
func (*CancelWorkflowRequest) Equal ¶
func (this *CancelWorkflowRequest) Equal(that interface{}) bool
Equal returns whether two CancelWorkflowRequest values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkgo.dev/google.golang.org/protobuf/proto#Equal
func (*CancelWorkflowRequest) GetExecution ¶
func (x *CancelWorkflowRequest) GetExecution() *v12.WorkflowExecution
func (*CancelWorkflowRequest) GetIdentity ¶
func (x *CancelWorkflowRequest) GetIdentity() string
func (*CancelWorkflowRequest) GetRequestId ¶
func (x *CancelWorkflowRequest) GetRequestId() string
func (*CancelWorkflowRequest) Marshal ¶
func (val *CancelWorkflowRequest) Marshal() ([]byte, error)
Marshal an object of type CancelWorkflowRequest to the protobuf v3 wire format
func (*CancelWorkflowRequest) ProtoMessage ¶
func (*CancelWorkflowRequest) ProtoMessage()
func (*CancelWorkflowRequest) ProtoReflect ¶ added in v1.23.0
func (x *CancelWorkflowRequest) ProtoReflect() protoreflect.Message
type DescribeResponse ¶
type DescribeResponse struct {
Schedule *v11.Schedule `protobuf:"bytes,1,opt,name=schedule,proto3" json:"schedule,omitempty"`
Info *v11.ScheduleInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
ConflictToken int64 `protobuf:"varint,3,opt,name=conflict_token,json=conflictToken,proto3" json:"conflict_token,omitempty"`
// contains filtered or unexported fields
}
func (*DescribeResponse) Descriptor
deprecated
func (*DescribeResponse) Descriptor() ([]byte, []int)
Deprecated: Use DescribeResponse.ProtoReflect.Descriptor instead.
func (*DescribeResponse) Equal ¶
func (this *DescribeResponse) Equal(that interface{}) bool
Equal returns whether two DescribeResponse values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkgo.dev/google.golang.org/protobuf/proto#Equal
func (*DescribeResponse) GetConflictToken ¶
func (x *DescribeResponse) GetConflictToken() int64
func (*DescribeResponse) GetSchedule ¶
func (x *DescribeResponse) GetSchedule() *v11.Schedule
func (*DescribeResponse) Marshal ¶
func (val *DescribeResponse) Marshal() ([]byte, error)
Marshal an object of type DescribeResponse to the protobuf v3 wire format
func (*DescribeResponse) ProtoMessage ¶
func (*DescribeResponse) ProtoMessage()
func (*DescribeResponse) ProtoReflect ¶ added in v1.23.0
func (x *DescribeResponse) ProtoReflect() protoreflect.Message
type FullUpdateRequest ¶
type FullUpdateRequest struct {
Schedule *v11.Schedule `protobuf:"bytes,1,opt,name=schedule,proto3" json:"schedule,omitempty"`
ConflictToken int64 `protobuf:"varint,2,opt,name=conflict_token,json=conflictToken,proto3" json:"conflict_token,omitempty"`
SearchAttributes *v12.SearchAttributes `protobuf:"bytes,3,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"`
// contains filtered or unexported fields
}
func (*FullUpdateRequest) Descriptor
deprecated
func (*FullUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use FullUpdateRequest.ProtoReflect.Descriptor instead.
func (*FullUpdateRequest) Equal ¶
func (this *FullUpdateRequest) Equal(that interface{}) bool
Equal returns whether two FullUpdateRequest values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkgo.dev/google.golang.org/protobuf/proto#Equal
func (*FullUpdateRequest) GetConflictToken ¶
func (x *FullUpdateRequest) GetConflictToken() int64
func (*FullUpdateRequest) GetSchedule ¶
func (x *FullUpdateRequest) GetSchedule() *v11.Schedule
func (*FullUpdateRequest) GetSearchAttributes ¶ added in v1.24.0
func (x *FullUpdateRequest) GetSearchAttributes() *v12.SearchAttributes
func (*FullUpdateRequest) Marshal ¶
func (val *FullUpdateRequest) Marshal() ([]byte, error)
Marshal an object of type FullUpdateRequest to the protobuf v3 wire format
func (*FullUpdateRequest) ProtoMessage ¶
func (*FullUpdateRequest) ProtoMessage()
func (*FullUpdateRequest) ProtoReflect ¶ added in v1.23.0
func (x *FullUpdateRequest) ProtoReflect() protoreflect.Message
type HsmSchedulerState ¶ added in v1.25.0
type HsmSchedulerState struct {
Args *StartScheduleArgs `protobuf:"bytes,1,opt,name=args,proto3" json:"args,omitempty"`
HsmState v15.SchedulerState `` /* 135-byte string literal not displayed */
NextInvocationTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=next_invocation_time,json=nextInvocationTime,proto3" json:"next_invocation_time,omitempty"`
// contains filtered or unexported fields
}
State of a scheduler using hierarchical state machines.
func (*HsmSchedulerState) Descriptor
deprecated
added in
v1.25.0
func (*HsmSchedulerState) Descriptor() ([]byte, []int)
Deprecated: Use HsmSchedulerState.ProtoReflect.Descriptor instead.
func (*HsmSchedulerState) Equal ¶ added in v1.25.0
func (this *HsmSchedulerState) Equal(that interface{}) bool
Equal returns whether two HsmSchedulerState values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkgo.dev/google.golang.org/protobuf/proto#Equal
func (*HsmSchedulerState) GetArgs ¶ added in v1.25.0
func (x *HsmSchedulerState) GetArgs() *StartScheduleArgs
func (*HsmSchedulerState) GetHsmState ¶ added in v1.25.0
func (x *HsmSchedulerState) GetHsmState() v15.SchedulerState
func (*HsmSchedulerState) GetNextInvocationTime ¶ added in v1.25.0
func (x *HsmSchedulerState) GetNextInvocationTime() *timestamppb.Timestamp
func (*HsmSchedulerState) Marshal ¶ added in v1.25.0
func (val *HsmSchedulerState) Marshal() ([]byte, error)
Marshal an object of type HsmSchedulerState to the protobuf v3 wire format
func (*HsmSchedulerState) ProtoMessage ¶ added in v1.25.0
func (*HsmSchedulerState) ProtoMessage()
func (*HsmSchedulerState) ProtoReflect ¶ added in v1.25.0
func (x *HsmSchedulerState) ProtoReflect() protoreflect.Message
type InternalState ¶
type InternalState struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
NamespaceId string `protobuf:"bytes,2,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
ScheduleId string `protobuf:"bytes,8,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"`
LastProcessedTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_processed_time,json=lastProcessedTime,proto3" json:"last_processed_time,omitempty"`
BufferedStarts []*BufferedStart `protobuf:"bytes,4,rep,name=buffered_starts,json=bufferedStarts,proto3" json:"buffered_starts,omitempty"`
OngoingBackfills []*v11.BackfillRequest `protobuf:"bytes,10,rep,name=ongoing_backfills,json=ongoingBackfills,proto3" json:"ongoing_backfills,omitempty"`
// last completion/failure
LastCompletionResult *v12.Payloads `protobuf:"bytes,5,opt,name=last_completion_result,json=lastCompletionResult,proto3" json:"last_completion_result,omitempty"`
ContinuedFailure *v13.Failure `protobuf:"bytes,6,opt,name=continued_failure,json=continuedFailure,proto3" json:"continued_failure,omitempty"`
// conflict token is implemented as simple sequence number
ConflictToken int64 `protobuf:"varint,7,opt,name=conflict_token,json=conflictToken,proto3" json:"conflict_token,omitempty"`
NeedRefresh bool `protobuf:"varint,9,opt,name=need_refresh,json=needRefresh,proto3" json:"need_refresh,omitempty"`
// contains filtered or unexported fields
}
func (*InternalState) Descriptor
deprecated
func (*InternalState) Descriptor() ([]byte, []int)
Deprecated: Use InternalState.ProtoReflect.Descriptor instead.
func (*InternalState) Equal ¶
func (this *InternalState) Equal(that interface{}) bool
Equal returns whether two InternalState values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkgo.dev/google.golang.org/protobuf/proto#Equal
func (*InternalState) GetBufferedStarts ¶
func (x *InternalState) GetBufferedStarts() []*BufferedStart
func (*InternalState) GetConflictToken ¶
func (x *InternalState) GetConflictToken() int64
func (*InternalState) GetContinuedFailure ¶
func (x *InternalState) GetContinuedFailure() *v13.Failure
func (*InternalState) GetLastCompletionResult ¶
func (x *InternalState) GetLastCompletionResult() *v12.Payloads
func (*InternalState) GetLastProcessedTime ¶
func (x *InternalState) GetLastProcessedTime() *timestamppb.Timestamp
func (*InternalState) GetNamespace ¶
func (x *InternalState) GetNamespace() string
func (*InternalState) GetNamespaceId ¶
func (x *InternalState) GetNamespaceId() string
func (*InternalState) GetNeedRefresh ¶ added in v1.17.3
func (x *InternalState) GetNeedRefresh() bool
func (*InternalState) GetOngoingBackfills ¶ added in v1.23.1
func (x *InternalState) GetOngoingBackfills() []*v11.BackfillRequest
func (*InternalState) GetScheduleId ¶
func (x *InternalState) GetScheduleId() string
func (*InternalState) Marshal ¶
func (val *InternalState) Marshal() ([]byte, error)
Marshal an object of type InternalState to the protobuf v3 wire format
func (*InternalState) ProtoMessage ¶
func (*InternalState) ProtoMessage()
func (*InternalState) ProtoReflect ¶ added in v1.23.0
func (x *InternalState) ProtoReflect() protoreflect.Message
type NextTimeCache ¶ added in v1.23.1
type NextTimeCache struct {
// workflow logic version (invalidate when changed)
Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// start time that the results were calculated from
StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// next_times and nominal_times are a series of timestamp pairs, encoded as a nanosecond
// offset from start_time. next_times has one value for each time in the cache.
// nominal_times may have up to the same number of values, but it may also be shorter (or
// empty), if the corresponding nominal time is equal to the next time.
NextTimes []int64 `protobuf:"varint,3,rep,packed,name=next_times,json=nextTimes,proto3" json:"next_times,omitempty"`
NominalTimes []int64 `protobuf:"varint,4,rep,packed,name=nominal_times,json=nominalTimes,proto3" json:"nominal_times,omitempty"`
Completed bool `protobuf:"varint,5,opt,name=completed,proto3" json:"completed,omitempty"`
// contains filtered or unexported fields
}
func (*NextTimeCache) Descriptor
deprecated
added in
v1.23.1
func (*NextTimeCache) Descriptor() ([]byte, []int)
Deprecated: Use NextTimeCache.ProtoReflect.Descriptor instead.
func (*NextTimeCache) Equal ¶ added in v1.23.1
func (this *NextTimeCache) Equal(that interface{}) bool
Equal returns whether two NextTimeCache values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkgo.dev/google.golang.org/protobuf/proto#Equal
func (*NextTimeCache) GetCompleted ¶ added in v1.23.1
func (x *NextTimeCache) GetCompleted() bool
func (*NextTimeCache) GetNextTimes ¶ added in v1.23.1
func (x *NextTimeCache) GetNextTimes() []int64
func (*NextTimeCache) GetNominalTimes ¶ added in v1.23.1
func (x *NextTimeCache) GetNominalTimes() []int64
func (*NextTimeCache) GetStartTime ¶ added in v1.23.1
func (x *NextTimeCache) GetStartTime() *timestamppb.Timestamp
func (*NextTimeCache) GetVersion ¶ added in v1.23.1
func (x *NextTimeCache) GetVersion() int64
func (*NextTimeCache) Marshal ¶ added in v1.23.1
func (val *NextTimeCache) Marshal() ([]byte, error)
Marshal an object of type NextTimeCache to the protobuf v3 wire format
func (*NextTimeCache) ProtoMessage ¶ added in v1.23.1
func (*NextTimeCache) ProtoMessage()
func (*NextTimeCache) ProtoReflect ¶ added in v1.23.1
func (x *NextTimeCache) ProtoReflect() protoreflect.Message
type StartScheduleArgs ¶
type StartScheduleArgs struct {
Schedule *v11.Schedule `protobuf:"bytes,1,opt,name=schedule,proto3" json:"schedule,omitempty"`
Info *v11.ScheduleInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
InitialPatch *v11.SchedulePatch `protobuf:"bytes,3,opt,name=initial_patch,json=initialPatch,proto3" json:"initial_patch,omitempty"`
State *InternalState `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
// contains filtered or unexported fields
}
func (*StartScheduleArgs) Descriptor
deprecated
func (*StartScheduleArgs) Descriptor() ([]byte, []int)
Deprecated: Use StartScheduleArgs.ProtoReflect.Descriptor instead.
func (*StartScheduleArgs) Equal ¶
func (this *StartScheduleArgs) Equal(that interface{}) bool
Equal returns whether two StartScheduleArgs values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkgo.dev/google.golang.org/protobuf/proto#Equal
func (*StartScheduleArgs) GetInitialPatch ¶
func (x *StartScheduleArgs) GetInitialPatch() *v11.SchedulePatch
func (*StartScheduleArgs) GetSchedule ¶
func (x *StartScheduleArgs) GetSchedule() *v11.Schedule
func (*StartScheduleArgs) Marshal ¶
func (val *StartScheduleArgs) Marshal() ([]byte, error)
Marshal an object of type StartScheduleArgs to the protobuf v3 wire format
func (*StartScheduleArgs) ProtoMessage ¶
func (*StartScheduleArgs) ProtoMessage()
func (*StartScheduleArgs) ProtoReflect ¶ added in v1.23.0
func (x *StartScheduleArgs) ProtoReflect() protoreflect.Message
type StartWorkflowRequest ¶
type StartWorkflowRequest struct {
Request *v14.StartWorkflowExecutionRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
CompletedRateLimitSleep bool `` /* 135-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*StartWorkflowRequest) Descriptor
deprecated
func (*StartWorkflowRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartWorkflowRequest.ProtoReflect.Descriptor instead.
func (*StartWorkflowRequest) Equal ¶
func (this *StartWorkflowRequest) Equal(that interface{}) bool
Equal returns whether two StartWorkflowRequest values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkgo.dev/google.golang.org/protobuf/proto#Equal
func (*StartWorkflowRequest) GetCompletedRateLimitSleep ¶ added in v1.20.0
func (x *StartWorkflowRequest) GetCompletedRateLimitSleep() bool
func (*StartWorkflowRequest) GetRequest ¶
func (x *StartWorkflowRequest) GetRequest() *v14.StartWorkflowExecutionRequest
func (*StartWorkflowRequest) Marshal ¶
func (val *StartWorkflowRequest) Marshal() ([]byte, error)
Marshal an object of type StartWorkflowRequest to the protobuf v3 wire format
func (*StartWorkflowRequest) ProtoMessage ¶
func (*StartWorkflowRequest) ProtoMessage()
func (*StartWorkflowRequest) ProtoReflect ¶ added in v1.23.0
func (x *StartWorkflowRequest) ProtoReflect() protoreflect.Message
type StartWorkflowResponse ¶
type StartWorkflowResponse struct {
RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
RealStartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=real_start_time,json=realStartTime,proto3" json:"real_start_time,omitempty"`
// contains filtered or unexported fields
}
func (*StartWorkflowResponse) Descriptor
deprecated
func (*StartWorkflowResponse) Descriptor() ([]byte, []int)
Deprecated: Use StartWorkflowResponse.ProtoReflect.Descriptor instead.
func (*StartWorkflowResponse) Equal ¶
func (this *StartWorkflowResponse) Equal(that interface{}) bool
Equal returns whether two StartWorkflowResponse values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkgo.dev/google.golang.org/protobuf/proto#Equal
func (*StartWorkflowResponse) GetRealStartTime ¶
func (x *StartWorkflowResponse) GetRealStartTime() *timestamppb.Timestamp
func (*StartWorkflowResponse) Marshal ¶
func (val *StartWorkflowResponse) Marshal() ([]byte, error)
Marshal an object of type StartWorkflowResponse to the protobuf v3 wire format
func (*StartWorkflowResponse) ProtoMessage ¶
func (*StartWorkflowResponse) ProtoMessage()
func (*StartWorkflowResponse) ProtoReflect ¶ added in v1.23.0
func (x *StartWorkflowResponse) ProtoReflect() protoreflect.Message
type TerminateWorkflowRequest ¶
type TerminateWorkflowRequest struct {
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
Identity string `protobuf:"bytes,4,opt,name=identity,proto3" json:"identity,omitempty"`
// Note: run id in execution is first execution run id
Execution *v12.WorkflowExecution `protobuf:"bytes,5,opt,name=execution,proto3" json:"execution,omitempty"`
Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"`
// contains filtered or unexported fields
}
func (*TerminateWorkflowRequest) Descriptor
deprecated
func (*TerminateWorkflowRequest) Descriptor() ([]byte, []int)
Deprecated: Use TerminateWorkflowRequest.ProtoReflect.Descriptor instead.
func (*TerminateWorkflowRequest) Equal ¶
func (this *TerminateWorkflowRequest) Equal(that interface{}) bool
Equal returns whether two TerminateWorkflowRequest values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkgo.dev/google.golang.org/protobuf/proto#Equal
func (*TerminateWorkflowRequest) GetExecution ¶
func (x *TerminateWorkflowRequest) GetExecution() *v12.WorkflowExecution
func (*TerminateWorkflowRequest) GetIdentity ¶
func (x *TerminateWorkflowRequest) GetIdentity() string
func (*TerminateWorkflowRequest) GetRequestId ¶
func (x *TerminateWorkflowRequest) GetRequestId() string
func (*TerminateWorkflowRequest) Marshal ¶
func (val *TerminateWorkflowRequest) Marshal() ([]byte, error)
Marshal an object of type TerminateWorkflowRequest to the protobuf v3 wire format
func (*TerminateWorkflowRequest) ProtoMessage ¶
func (*TerminateWorkflowRequest) ProtoMessage()
func (*TerminateWorkflowRequest) ProtoReflect ¶ added in v1.23.0
func (x *TerminateWorkflowRequest) ProtoReflect() protoreflect.Message
type WatchWorkflowRequest ¶
type WatchWorkflowRequest struct {
// Note: this will be sent to the activity with empty execution.run_id, and
// the run id that we started in first_execution_run_id.
Execution *v12.WorkflowExecution `protobuf:"bytes,3,opt,name=execution,proto3" json:"execution,omitempty"`
FirstExecutionRunId string `protobuf:"bytes,4,opt,name=first_execution_run_id,json=firstExecutionRunId,proto3" json:"first_execution_run_id,omitempty"`
LongPoll bool `protobuf:"varint,5,opt,name=long_poll,json=longPoll,proto3" json:"long_poll,omitempty"`
// contains filtered or unexported fields
}
func (*WatchWorkflowRequest) Descriptor
deprecated
func (*WatchWorkflowRequest) Descriptor() ([]byte, []int)
Deprecated: Use WatchWorkflowRequest.ProtoReflect.Descriptor instead.
func (*WatchWorkflowRequest) Equal ¶
func (this *WatchWorkflowRequest) Equal(that interface{}) bool
Equal returns whether two WatchWorkflowRequest values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkgo.dev/google.golang.org/protobuf/proto#Equal
func (*WatchWorkflowRequest) GetExecution ¶
func (x *WatchWorkflowRequest) GetExecution() *v12.WorkflowExecution
func (*WatchWorkflowRequest) GetFirstExecutionRunId ¶
func (x *WatchWorkflowRequest) GetFirstExecutionRunId() string
func (*WatchWorkflowRequest) GetLongPoll ¶
func (x *WatchWorkflowRequest) GetLongPoll() bool
func (*WatchWorkflowRequest) Marshal ¶
func (val *WatchWorkflowRequest) Marshal() ([]byte, error)
Marshal an object of type WatchWorkflowRequest to the protobuf v3 wire format
func (*WatchWorkflowRequest) ProtoMessage ¶
func (*WatchWorkflowRequest) ProtoMessage()
func (*WatchWorkflowRequest) ProtoReflect ¶ added in v1.23.0
func (x *WatchWorkflowRequest) ProtoReflect() protoreflect.Message
type WatchWorkflowResponse ¶
type WatchWorkflowResponse struct {
Status v1.WorkflowExecutionStatus `protobuf:"varint,1,opt,name=status,proto3,enum=temporal.api.enums.v1.WorkflowExecutionStatus" json:"status,omitempty"`
// Types that are assignable to ResultFailure:
//
// *WatchWorkflowResponse_Result
// *WatchWorkflowResponse_Failure
ResultFailure isWatchWorkflowResponse_ResultFailure `protobuf_oneof:"result_failure"`
// Timestamp of close event
CloseTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=close_time,json=closeTime,proto3" json:"close_time,omitempty"`
// contains filtered or unexported fields
}
func (*WatchWorkflowResponse) Descriptor
deprecated
func (*WatchWorkflowResponse) Descriptor() ([]byte, []int)
Deprecated: Use WatchWorkflowResponse.ProtoReflect.Descriptor instead.
func (*WatchWorkflowResponse) Equal ¶
func (this *WatchWorkflowResponse) Equal(that interface{}) bool
Equal returns whether two WatchWorkflowResponse values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkgo.dev/google.golang.org/protobuf/proto#Equal
func (*WatchWorkflowResponse) GetCloseTime ¶ added in v1.25.0
func (x *WatchWorkflowResponse) GetCloseTime() *timestamppb.Timestamp
func (*WatchWorkflowResponse) GetFailure ¶
func (x *WatchWorkflowResponse) GetFailure() *v13.Failure
func (*WatchWorkflowResponse) GetResultFailure ¶
func (m *WatchWorkflowResponse) GetResultFailure() isWatchWorkflowResponse_ResultFailure
func (*WatchWorkflowResponse) GetStatus ¶
func (x *WatchWorkflowResponse) GetStatus() v1.WorkflowExecutionStatus
func (*WatchWorkflowResponse) Marshal ¶
func (val *WatchWorkflowResponse) Marshal() ([]byte, error)
Marshal an object of type WatchWorkflowResponse to the protobuf v3 wire format
func (*WatchWorkflowResponse) ProtoMessage ¶
func (*WatchWorkflowResponse) ProtoMessage()
func (*WatchWorkflowResponse) ProtoReflect ¶ added in v1.23.0
func (x *WatchWorkflowResponse) ProtoReflect() protoreflect.Message
type WatchWorkflowResponse_Failure ¶
type WatchWorkflowResponse_Failure struct {
Failure *v13.Failure `protobuf:"bytes,3,opt,name=failure,proto3,oneof"`
}
type WatchWorkflowResponse_Result ¶
type WatchWorkflowResponse_Result struct {
Result *v12.Payloads `protobuf:"bytes,2,opt,name=result,proto3,oneof"`
}