update

package
v1.35.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: MIT Imports: 8 Imported by: 17

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 execution 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 input 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 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 execution 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 assignable 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 (m *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 execution 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"`
	// contains filtered or unexported fields
}

The client request that triggers a workflow execution 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) GetInput added in v1.16.0

func (x *Request) GetInput() *Input

func (*Request) GetMeta added in v1.16.0

func (x *Request) GetMeta() *Meta

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 execution 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 execution update process.

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 gRPC call should wait for
	// before returning.
	LifecycleStage v1.UpdateWorkflowExecutionLifecycleStage `` /* 169-byte string literal not displayed */
	// contains filtered or unexported fields
}

Specifies to the gRPC server how long the client wants the an update-related RPC call to wait before returning control to the caller.

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