Documentation ¶
Index ¶
- Variables
- type Frame
- type History
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetCommand() string
- func (x *Message) GetContinueAsNewSuggested() bool
- func (x *Message) GetFailure() *v1.Failure
- func (x *Message) GetHeader() *v11.Header
- func (x *Message) GetHistoryLength() int64
- func (x *Message) GetHistorySize() int64
- func (x *Message) GetId() uint64
- func (x *Message) GetOptions() []byte
- func (x *Message) GetPayloads() *v11.Payloads
- func (x *Message) GetReplay() bool
- func (x *Message) GetRunId() string
- func (x *Message) GetTaskQueue() string
- func (x *Message) GetTickTime() string
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type ReplayRequest
- func (*ReplayRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReplayRequest) GetLastEventId() int64
- func (x *ReplayRequest) GetSavePath() string
- func (x *ReplayRequest) GetWorkflowExecution() *v11.WorkflowExecution
- func (x *ReplayRequest) GetWorkflowType() *v11.WorkflowType
- func (*ReplayRequest) ProtoMessage()
- func (x *ReplayRequest) ProtoReflect() protoreflect.Message
- func (x *ReplayRequest) Reset()
- func (x *ReplayRequest) String() string
- type ReplayResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var File_temporal_v1_temporal_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Frame ¶
type Frame struct { Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*Frame) Descriptor
deprecated
func (*Frame) GetMessages ¶
func (*Frame) ProtoMessage ¶
func (*Frame) ProtoMessage()
func (*Frame) ProtoReflect ¶
func (x *Frame) ProtoReflect() protoreflect.Message
type History ¶ added in v4.7.0
type History struct { History *v13.History `protobuf:"bytes,1,opt,name=history,proto3" json:"history,omitempty"` WorkflowType *v11.WorkflowType `protobuf:"bytes,2,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` // contains filtered or unexported fields }
func (*History) Descriptor
deprecated
added in
v4.7.0
func (*History) GetHistory ¶ added in v4.7.0
func (*History) GetWorkflowType ¶ added in v4.7.0
func (x *History) GetWorkflowType() *v11.WorkflowType
func (*History) ProtoMessage ¶ added in v4.7.0
func (*History) ProtoMessage()
func (*History) ProtoReflect ¶ added in v4.7.0
func (x *History) ProtoReflect() protoreflect.Message
type Message ¶
type Message struct { // unique ID of the message (counter) Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // command name (if any) Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"` // command options in json format. Options []byte `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"` // error response. Failure *v1.Failure `protobuf:"bytes,4,opt,name=failure,proto3" json:"failure,omitempty"` // invocation or result payloads. Payloads *v11.Payloads `protobuf:"bytes,5,opt,name=payloads,proto3" json:"payloads,omitempty"` // invocation or result payloads. Header *v11.Header `protobuf:"bytes,6,opt,name=header,proto3" json:"header,omitempty"` // workflow history length HistoryLength int64 `protobuf:"varint,7,opt,name=history_length,json=historyLength,proto3" json:"history_length,omitempty"` // rr_run id RunId string `protobuf:"bytes,8,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` // task queue name TaskQueue string `protobuf:"bytes,9,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` // tick time TickTime string `protobuf:"bytes,10,opt,name=tick_time,json=tickTime,proto3" json:"tick_time,omitempty"` // replay flag Replay bool `protobuf:"varint,11,opt,name=replay,proto3" json:"replay,omitempty"` // continue as new flag ContinueAsNewSuggested bool `` /* 133-byte string literal not displayed */ // returns the current length of history when called. // This value may change throughout the life of the workflow. HistorySize int64 `protobuf:"varint,13,opt,name=history_size,json=historySize,proto3" json:"history_size,omitempty"` // contains filtered or unexported fields }
Single communication message.
func (*Message) Descriptor
deprecated
func (*Message) GetCommand ¶
func (*Message) GetContinueAsNewSuggested ¶ added in v4.16.0
func (*Message) GetFailure ¶
func (*Message) GetHistoryLength ¶
func (*Message) GetHistorySize ¶ added in v4.16.0
func (*Message) GetOptions ¶
func (*Message) GetPayloads ¶
func (*Message) GetTaskQueue ¶ added in v4.16.0
func (*Message) GetTickTime ¶ added in v4.16.0
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type ReplayRequest ¶
type ReplayRequest struct { WorkflowExecution *v11.WorkflowExecution `protobuf:"bytes,1,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` WorkflowType *v11.WorkflowType `protobuf:"bytes,2,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` SavePath string `protobuf:"bytes,3,opt,name=save_path,json=savePath,proto3" json:"save_path,omitempty"` LastEventId int64 `protobuf:"varint,4,opt,name=last_event_id,json=lastEventId,proto3" json:"last_event_id,omitempty"` // contains filtered or unexported fields }
func (*ReplayRequest) Descriptor
deprecated
func (*ReplayRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReplayRequest.ProtoReflect.Descriptor instead.
func (*ReplayRequest) GetLastEventId ¶ added in v4.6.1
func (x *ReplayRequest) GetLastEventId() int64
func (*ReplayRequest) GetSavePath ¶
func (x *ReplayRequest) GetSavePath() string
func (*ReplayRequest) GetWorkflowExecution ¶
func (x *ReplayRequest) GetWorkflowExecution() *v11.WorkflowExecution
func (*ReplayRequest) GetWorkflowType ¶
func (x *ReplayRequest) GetWorkflowType() *v11.WorkflowType
func (*ReplayRequest) ProtoMessage ¶
func (*ReplayRequest) ProtoMessage()
func (*ReplayRequest) ProtoReflect ¶
func (x *ReplayRequest) ProtoReflect() protoreflect.Message
func (*ReplayRequest) Reset ¶
func (x *ReplayRequest) Reset()
func (*ReplayRequest) String ¶
func (x *ReplayRequest) String() string
type ReplayResponse ¶
type ReplayResponse struct { Status *v12.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
https://cloud.google.com/apis/design/errors
func (*ReplayResponse) Descriptor
deprecated
func (*ReplayResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReplayResponse.ProtoReflect.Descriptor instead.
func (*ReplayResponse) GetStatus ¶
func (x *ReplayResponse) GetStatus() *v12.Status
func (*ReplayResponse) ProtoMessage ¶
func (*ReplayResponse) ProtoMessage()
func (*ReplayResponse) ProtoReflect ¶
func (x *ReplayResponse) ProtoReflect() protoreflect.Message
func (*ReplayResponse) Reset ¶
func (x *ReplayResponse) Reset()
func (*ReplayResponse) String ¶
func (x *ReplayResponse) String() string
Click to show internal directories.
Click to hide internal directories.