update

package
v1.63.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2026 License: MIT Imports: 9 Imported by: 15 modules, 17 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Code generated by protoc-gen-go-helpers. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var File_temporal_api_update_v1_message_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Acceptance added in v1.16.0

type Acceptance struct {
	AcceptedRequestMessageId         string   `` /* 137-byte string literal not displayed */
	AcceptedRequestSequencingEventId int64    `` /* 164-byte string literal not displayed */
	AcceptedRequest                  *Request `protobuf:"bytes,3,opt,name=accepted_request,json=acceptedRequest,proto3" json:"accepted_request,omitempty"`
	// contains filtered or unexported fields
}

An Update protocol message indicating that a Workflow Update has been accepted (i.e. passed the worker-side validation phase).

func (*Acceptance) Descriptor deprecated added in v1.16.0

func (*Acceptance) Descriptor() ([]byte, []int)

Deprecated: Use Acceptance.ProtoReflect.Descriptor instead.

func (*Acceptance) Equal added in v1.16.0

func (this *Acceptance) Equal(that interface{}) bool

Equal returns whether two Acceptance 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 (*Acceptance) GetAcceptedRequest added in v1.16.0

func (x *Acceptance) GetAcceptedRequest() *Request

func (*Acceptance) GetAcceptedRequestMessageId added in v1.16.0

func (x *Acceptance) GetAcceptedRequestMessageId() string

func (*Acceptance) GetAcceptedRequestSequencingEventId added in v1.16.0

func (x *Acceptance) GetAcceptedRequestSequencingEventId() int64

func (*Acceptance) Marshal added in v1.16.0

func (val *Acceptance) Marshal() ([]byte, error)

Marshal an object of type Acceptance to the protobuf v3 wire format

func (*Acceptance) ProtoMessage added in v1.16.0

func (*Acceptance) ProtoMessage()

func (*Acceptance) ProtoReflect added in v1.26.1

func (x *Acceptance) ProtoReflect() protoreflect.Message

func (*Acceptance) Reset added in v1.16.0

func (x *Acceptance) Reset()

func (*Acceptance) Size added in v1.16.0

func (val *Acceptance) Size() int

Size returns the size of the object, in bytes, once serialized

func (*Acceptance) String added in v1.16.0

func (x *Acceptance) String() string

func (*Acceptance) Unmarshal added in v1.16.0

func (val *Acceptance) Unmarshal(buf []byte) error

Unmarshal an object of type Acceptance from the protobuf v3 wire format

type Input added in v1.16.0

type Input struct {

	// Headers that are passed with the Update from the requesting entity.
	// These can include things like auth or tracing tokens.
	Header *v11.Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// The name of the Update handler to invoke on the target Workflow.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The arguments to pass to the named Update handler.
	Args *v11.Payloads `protobuf:"bytes,3,opt,name=args,proto3" json:"args,omitempty"`
	// contains filtered or unexported fields
}

func (*Input) Descriptor deprecated added in v1.16.0

func (*Input) Descriptor() ([]byte, []int)

Deprecated: Use Input.ProtoReflect.Descriptor instead.

func (*Input) Equal added in v1.16.0

func (this *Input) Equal(that interface{}) bool

Equal returns whether two Input 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 (*Input) GetArgs added in v1.16.0

func (x *Input) GetArgs() *v11.Payloads

func (*Input) GetHeader added in v1.16.0

func (x *Input) GetHeader() *v11.Header

func (*Input) GetName added in v1.16.0

func (x *Input) GetName() string

func (*Input) Marshal added in v1.16.0

func (val *Input) Marshal() ([]byte, error)

Marshal an object of type Input to the protobuf v3 wire format

func (*Input) ProtoMessage added in v1.16.0

func (*Input) ProtoMessage()

func (*Input) ProtoReflect added in v1.26.1

func (x *Input) ProtoReflect() protoreflect.Message

func (*Input) Reset added in v1.16.0

func (x *Input) Reset()

func (*Input) Size added in v1.16.0

func (val *Input) Size() int

Size returns the size of the object, in bytes, once serialized

func (*Input) String added in v1.16.0

func (x *Input) String() string

func (*Input) Unmarshal added in v1.16.0

func (val *Input) Unmarshal(buf []byte) error

Unmarshal an object of type Input from the protobuf v3 wire format

type Meta added in v1.16.0

type Meta struct {

	// An ID with workflow-scoped uniqueness for this Update.
	UpdateId string `protobuf:"bytes,1,opt,name=update_id,json=updateId,proto3" json:"update_id,omitempty"`
	// A string identifying the agent that requested this Update.
	Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
	// contains filtered or unexported fields
}

Metadata about a Workflow Update.

func (*Meta) Descriptor deprecated added in v1.16.0

func (*Meta) Descriptor() ([]byte, []int)

Deprecated: Use Meta.ProtoReflect.Descriptor instead.

func (*Meta) Equal added in v1.16.0

func (this *Meta) Equal(that interface{}) bool

Equal returns whether two Meta 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 (*Meta) GetIdentity added in v1.16.0

func (x *Meta) GetIdentity() string

func (*Meta) GetUpdateId added in v1.16.0

func (x *Meta) GetUpdateId() string

func (*Meta) Marshal added in v1.16.0

func (val *Meta) Marshal() ([]byte, error)

Marshal an object of type Meta to the protobuf v3 wire format

func (*Meta) ProtoMessage added in v1.16.0

func (*Meta) ProtoMessage()

func (*Meta) ProtoReflect added in v1.26.1

func (x *Meta) ProtoReflect() protoreflect.Message

func (*Meta) Reset added in v1.16.0

func (x *Meta) Reset()

func (*Meta) Size added in v1.16.0

func (val *Meta) Size() int

Size returns the size of the object, in bytes, once serialized

func (*Meta) String added in v1.16.0

func (x *Meta) String() string

func (*Meta) Unmarshal added in v1.16.0

func (val *Meta) Unmarshal(buf []byte) error

Unmarshal an object of type Meta from the protobuf v3 wire format

type Outcome added in v1.16.0

type Outcome struct {

	// Types that are valid to be assigned to Value:
	//
	//	*Outcome_Success
	//	*Outcome_Failure
	Value isOutcome_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

The outcome of a Workflow Update: success or failure.

func (*Outcome) Descriptor deprecated added in v1.16.0

func (*Outcome) Descriptor() ([]byte, []int)

Deprecated: Use Outcome.ProtoReflect.Descriptor instead.

func (*Outcome) Equal added in v1.16.0

func (this *Outcome) Equal(that interface{}) bool

Equal returns whether two Outcome 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 (*Outcome) GetFailure added in v1.16.0

func (x *Outcome) GetFailure() *v12.Failure

func (*Outcome) GetSuccess added in v1.16.0

func (x *Outcome) GetSuccess() *v11.Payloads

func (*Outcome) GetValue added in v1.16.0

func (x *Outcome) GetValue() isOutcome_Value

func (*Outcome) Marshal added in v1.16.0

func (val *Outcome) Marshal() ([]byte, error)

Marshal an object of type Outcome to the protobuf v3 wire format

func (*Outcome) ProtoMessage added in v1.16.0

func (*Outcome) ProtoMessage()

func (*Outcome) ProtoReflect added in v1.26.1

func (x *Outcome) ProtoReflect() protoreflect.Message

func (*Outcome) Reset added in v1.16.0

func (x *Outcome) Reset()

func (*Outcome) Size added in v1.16.0

func (val *Outcome) Size() int

Size returns the size of the object, in bytes, once serialized

func (*Outcome) String added in v1.16.0

func (x *Outcome) String() string

func (*Outcome) Unmarshal added in v1.16.0

func (val *Outcome) Unmarshal(buf []byte) error

Unmarshal an object of type Outcome from the protobuf v3 wire format

type Outcome_Failure added in v1.16.0

type Outcome_Failure struct {
	Failure *v12.Failure `protobuf:"bytes,2,opt,name=failure,proto3,oneof"`
}

type Outcome_Success added in v1.16.0

type Outcome_Success struct {
	Success *v11.Payloads `protobuf:"bytes,1,opt,name=success,proto3,oneof"`
}

type Rejection added in v1.16.0

type Rejection struct {
	RejectedRequestMessageId         string       `` /* 137-byte string literal not displayed */
	RejectedRequestSequencingEventId int64        `` /* 164-byte string literal not displayed */
	RejectedRequest                  *Request     `protobuf:"bytes,3,opt,name=rejected_request,json=rejectedRequest,proto3" json:"rejected_request,omitempty"`
	Failure                          *v12.Failure `protobuf:"bytes,4,opt,name=failure,proto3" json:"failure,omitempty"`
	// contains filtered or unexported fields
}

An Update protocol message indicating that a Workflow Update has been rejected.

func (*Rejection) Descriptor deprecated added in v1.16.0

func (*Rejection) Descriptor() ([]byte, []int)

Deprecated: Use Rejection.ProtoReflect.Descriptor instead.

func (*Rejection) Equal added in v1.16.0

func (this *Rejection) Equal(that interface{}) bool

Equal returns whether two Rejection 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 (*Rejection) GetFailure added in v1.16.0

func (x *Rejection) GetFailure() *v12.Failure

func (*Rejection) GetRejectedRequest added in v1.16.0

func (x *Rejection) GetRejectedRequest() *Request

func (*Rejection) GetRejectedRequestMessageId added in v1.16.0

func (x *Rejection) GetRejectedRequestMessageId() string

func (*Rejection) GetRejectedRequestSequencingEventId added in v1.16.0

func (x *Rejection) GetRejectedRequestSequencingEventId() int64

func (*Rejection) Marshal added in v1.16.0

func (val *Rejection) Marshal() ([]byte, error)

Marshal an object of type Rejection to the protobuf v3 wire format

func (*Rejection) ProtoMessage added in v1.16.0

func (*Rejection) ProtoMessage()

func (*Rejection) ProtoReflect added in v1.26.1

func (x *Rejection) ProtoReflect() protoreflect.Message

func (*Rejection) Reset added in v1.16.0

func (x *Rejection) Reset()

func (*Rejection) Size added in v1.16.0

func (val *Rejection) Size() int

Size returns the size of the object, in bytes, once serialized

func (*Rejection) String added in v1.16.0

func (x *Rejection) String() string

func (*Rejection) Unmarshal added in v1.16.0

func (val *Rejection) Unmarshal(buf []byte) error

Unmarshal an object of type Rejection from the protobuf v3 wire format

type Request added in v1.16.0

type Request struct {
	Meta  *Meta  `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Input *Input `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"`
	// The request ID of the request.
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Callbacks to be called by the server when this update reaches a terminal state.
	CompletionCallbacks []*v11.Callback `protobuf:"bytes,4,rep,name=completion_callbacks,json=completionCallbacks,proto3" json:"completion_callbacks,omitempty"`
	// Links to be associated with this update.
	Links []*v11.Link `protobuf:"bytes,5,rep,name=links,proto3" json:"links,omitempty"`
	// contains filtered or unexported fields
}

The client request that triggers a Workflow Update.

func (*Request) Descriptor deprecated added in v1.16.0

func (*Request) Descriptor() ([]byte, []int)

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) Equal added in v1.16.0

func (this *Request) Equal(that interface{}) bool

Equal returns whether two Request 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 (*Request) GetCompletionCallbacks added in v1.62.13

func (x *Request) GetCompletionCallbacks() []*v11.Callback

func (*Request) GetInput added in v1.16.0

func (x *Request) GetInput() *Input
func (x *Request) GetLinks() []*v11.Link

func (*Request) GetMeta added in v1.16.0

func (x *Request) GetMeta() *Meta

func (*Request) GetRequestId added in v1.62.13

func (x *Request) GetRequestId() string

func (*Request) Marshal added in v1.16.0

func (val *Request) Marshal() ([]byte, error)

Marshal an object of type Request to the protobuf v3 wire format

func (*Request) ProtoMessage added in v1.16.0

func (*Request) ProtoMessage()

func (*Request) ProtoReflect added in v1.26.1

func (x *Request) ProtoReflect() protoreflect.Message

func (*Request) Reset added in v1.16.0

func (x *Request) Reset()

func (*Request) Size added in v1.16.0

func (val *Request) Size() int

Size returns the size of the object, in bytes, once serialized

func (*Request) String added in v1.16.0

func (x *Request) String() string

func (*Request) Unmarshal added in v1.16.0

func (val *Request) Unmarshal(buf []byte) error

Unmarshal an object of type Request from the protobuf v3 wire format

type Response added in v1.16.0

type Response struct {
	Meta    *Meta    `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Outcome *Outcome `protobuf:"bytes,2,opt,name=outcome,proto3" json:"outcome,omitempty"`
	// contains filtered or unexported fields
}

An Update protocol message indicating that a Workflow Update has completed with the contained outcome.

func (*Response) Descriptor deprecated added in v1.16.0

func (*Response) Descriptor() ([]byte, []int)

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) Equal added in v1.16.0

func (this *Response) Equal(that interface{}) bool

Equal returns whether two Response 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 (*Response) GetMeta added in v1.16.0

func (x *Response) GetMeta() *Meta

func (*Response) GetOutcome added in v1.16.0

func (x *Response) GetOutcome() *Outcome

func (*Response) Marshal added in v1.16.0

func (val *Response) Marshal() ([]byte, error)

Marshal an object of type Response to the protobuf v3 wire format

func (*Response) ProtoMessage added in v1.16.0

func (*Response) ProtoMessage()

func (*Response) ProtoReflect added in v1.26.1

func (x *Response) ProtoReflect() protoreflect.Message

func (*Response) Reset added in v1.16.0

func (x *Response) Reset()

func (*Response) Size added in v1.16.0

func (val *Response) Size() int

Size returns the size of the object, in bytes, once serialized

func (*Response) String added in v1.16.0

func (x *Response) String() string

func (*Response) Unmarshal added in v1.16.0

func (val *Response) Unmarshal(buf []byte) error

Unmarshal an object of type Response from the protobuf v3 wire format

type UpdateRef added in v1.16.0

type UpdateRef struct {
	WorkflowExecution *v11.WorkflowExecution `protobuf:"bytes,1,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"`
	UpdateId          string                 `protobuf:"bytes,2,opt,name=update_id,json=updateId,proto3" json:"update_id,omitempty"`
	// contains filtered or unexported fields
}

The data needed by a client to refer to a previously invoked Workflow Update.

func (*UpdateRef) Descriptor deprecated added in v1.16.0

func (*UpdateRef) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRef.ProtoReflect.Descriptor instead.

func (*UpdateRef) Equal added in v1.16.0

func (this *UpdateRef) Equal(that interface{}) bool

Equal returns whether two UpdateRef 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 (*UpdateRef) GetUpdateId added in v1.16.0

func (x *UpdateRef) GetUpdateId() string

func (*UpdateRef) GetWorkflowExecution added in v1.16.0

func (x *UpdateRef) GetWorkflowExecution() *v11.WorkflowExecution

func (*UpdateRef) Marshal added in v1.16.0

func (val *UpdateRef) Marshal() ([]byte, error)

Marshal an object of type UpdateRef to the protobuf v3 wire format

func (*UpdateRef) ProtoMessage added in v1.16.0

func (*UpdateRef) ProtoMessage()

func (*UpdateRef) ProtoReflect added in v1.26.1

func (x *UpdateRef) ProtoReflect() protoreflect.Message

func (*UpdateRef) Reset added in v1.16.0

func (x *UpdateRef) Reset()

func (*UpdateRef) Size added in v1.16.0

func (val *UpdateRef) Size() int

Size returns the size of the object, in bytes, once serialized

func (*UpdateRef) String added in v1.16.0

func (x *UpdateRef) String() string

func (*UpdateRef) Unmarshal added in v1.16.0

func (val *UpdateRef) Unmarshal(buf []byte) error

Unmarshal an object of type UpdateRef from the protobuf v3 wire format

type WaitPolicy added in v1.16.0

type WaitPolicy struct {

	// Indicates the Update lifecycle stage that the Update must reach before
	// API call is returned.
	// NOTE: This field works together with API call timeout which is limited by
	// server timeout (maximum wait time). If server timeout is expired before
	// user specified timeout, API call returns even if specified stage is not reached.
	LifecycleStage v1.UpdateWorkflowExecutionLifecycleStage `` /* 169-byte string literal not displayed */
	// contains filtered or unexported fields
}

Specifies client's intent to wait for Update results.

func (*WaitPolicy) Descriptor deprecated added in v1.16.0

func (*WaitPolicy) Descriptor() ([]byte, []int)

Deprecated: Use WaitPolicy.ProtoReflect.Descriptor instead.

func (*WaitPolicy) Equal added in v1.16.0

func (this *WaitPolicy) Equal(that interface{}) bool

Equal returns whether two WaitPolicy 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 (*WaitPolicy) GetLifecycleStage added in v1.16.0

func (x *WaitPolicy) GetLifecycleStage() v1.UpdateWorkflowExecutionLifecycleStage

func (*WaitPolicy) Marshal added in v1.16.0

func (val *WaitPolicy) Marshal() ([]byte, error)

Marshal an object of type WaitPolicy to the protobuf v3 wire format

func (*WaitPolicy) ProtoMessage added in v1.16.0

func (*WaitPolicy) ProtoMessage()

func (*WaitPolicy) ProtoReflect added in v1.26.1

func (x *WaitPolicy) ProtoReflect() protoreflect.Message

func (*WaitPolicy) Reset added in v1.16.0

func (x *WaitPolicy) Reset()

func (*WaitPolicy) Size added in v1.16.0

func (val *WaitPolicy) Size() int

Size returns the size of the object, in bytes, once serialized

func (*WaitPolicy) String added in v1.16.0

func (x *WaitPolicy) String() string

func (*WaitPolicy) Unmarshal added in v1.16.0

func (val *WaitPolicy) Unmarshal(buf []byte) error

Unmarshal an object of type WaitPolicy from the protobuf v3 wire format

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL