update

package
v1.24.0-m112.4 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var File_temporal_server_api_update_v1_message_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AcceptanceInfo

type AcceptanceInfo struct {

	// the event ID of the WorkflowExecutionUpdateAcceptedEvent
	EventId int64 `protobuf:"varint,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	// contains filtered or unexported fields
}

AcceptanceInfo contains information about an accepted update

func (*AcceptanceInfo) Descriptor deprecated

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

Deprecated: Use AcceptanceInfo.ProtoReflect.Descriptor instead.

func (*AcceptanceInfo) Equal

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

Equal returns whether two AcceptanceInfo 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 (*AcceptanceInfo) GetEventId

func (x *AcceptanceInfo) GetEventId() int64

func (*AcceptanceInfo) Marshal

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

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

func (*AcceptanceInfo) ProtoMessage

func (*AcceptanceInfo) ProtoMessage()

func (*AcceptanceInfo) ProtoReflect added in v1.23.0

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

func (*AcceptanceInfo) Reset

func (x *AcceptanceInfo) Reset()

func (*AcceptanceInfo) Size

func (val *AcceptanceInfo) Size() int

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

func (*AcceptanceInfo) String

func (x *AcceptanceInfo) String() string

func (*AcceptanceInfo) Unmarshal

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

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

type AdmissionInfo added in v1.24.0

type AdmissionInfo struct {

	// Types that are assignable to Location:
	//
	//	*AdmissionInfo_HistoryPointer_
	Location isAdmissionInfo_Location `protobuf_oneof:"location"`
	// contains filtered or unexported fields
}

AdmissionInfo contains information about a durably admitted update. Note that updates in Admitted state are typically non-durable (i.e. do not have a corresponding event in history). Durably admitted updates arise as a result of workflow reset or history event replication conflict: in these cases a WorkflowExecutionUpdateAdmittedEvent event is created when an accepted update (on one branch of workflow history) is converted into an admitted update (on another branch).

func (*AdmissionInfo) Descriptor deprecated added in v1.24.0

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

Deprecated: Use AdmissionInfo.ProtoReflect.Descriptor instead.

func (*AdmissionInfo) Equal added in v1.24.0

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

Equal returns whether two AdmissionInfo 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 (*AdmissionInfo) GetHistoryPointer added in v1.24.0

func (x *AdmissionInfo) GetHistoryPointer() *AdmissionInfo_HistoryPointer

func (*AdmissionInfo) GetLocation added in v1.24.0

func (m *AdmissionInfo) GetLocation() isAdmissionInfo_Location

func (*AdmissionInfo) Marshal added in v1.24.0

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

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

func (*AdmissionInfo) ProtoMessage added in v1.24.0

func (*AdmissionInfo) ProtoMessage()

func (*AdmissionInfo) ProtoReflect added in v1.24.0

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

func (*AdmissionInfo) Reset added in v1.24.0

func (x *AdmissionInfo) Reset()

func (*AdmissionInfo) Size added in v1.24.0

func (val *AdmissionInfo) Size() int

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

func (*AdmissionInfo) String added in v1.24.0

func (x *AdmissionInfo) String() string

func (*AdmissionInfo) Unmarshal added in v1.24.0

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

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

type AdmissionInfo_HistoryPointer added in v1.24.0

type AdmissionInfo_HistoryPointer struct {

	// the event ID of the WorkflowExecutionUpdateAdmittedEvent
	EventId int64 `protobuf:"varint,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	// the ID of the event batch containing the event_id
	EventBatchId int64 `protobuf:"varint,2,opt,name=event_batch_id,json=eventBatchId,proto3" json:"event_batch_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AdmissionInfo_HistoryPointer) Descriptor deprecated added in v1.24.0

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

Deprecated: Use AdmissionInfo_HistoryPointer.ProtoReflect.Descriptor instead.

func (*AdmissionInfo_HistoryPointer) GetEventBatchId added in v1.24.0

func (x *AdmissionInfo_HistoryPointer) GetEventBatchId() int64

func (*AdmissionInfo_HistoryPointer) GetEventId added in v1.24.0

func (x *AdmissionInfo_HistoryPointer) GetEventId() int64

func (*AdmissionInfo_HistoryPointer) ProtoMessage added in v1.24.0

func (*AdmissionInfo_HistoryPointer) ProtoMessage()

func (*AdmissionInfo_HistoryPointer) ProtoReflect added in v1.24.0

func (*AdmissionInfo_HistoryPointer) Reset added in v1.24.0

func (x *AdmissionInfo_HistoryPointer) Reset()

func (*AdmissionInfo_HistoryPointer) String added in v1.24.0

type AdmissionInfo_HistoryPointer_ added in v1.24.0

type AdmissionInfo_HistoryPointer_ struct {
	HistoryPointer *AdmissionInfo_HistoryPointer `protobuf:"bytes,1,opt,name=history_pointer,json=historyPointer,proto3,oneof"`
}

type CompletionInfo

type CompletionInfo struct {

	// the event ID of the WorkflowExecutionUpdateCompletedEvent
	EventId int64 `protobuf:"varint,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	// the ID of the event batch containing the event_id above
	EventBatchId int64 `protobuf:"varint,2,opt,name=event_batch_id,json=eventBatchId,proto3" json:"event_batch_id,omitempty"`
	// contains filtered or unexported fields
}

CompletionInfo contains information about a completed update

func (*CompletionInfo) Descriptor deprecated

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

Deprecated: Use CompletionInfo.ProtoReflect.Descriptor instead.

func (*CompletionInfo) Equal

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

Equal returns whether two CompletionInfo 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 (*CompletionInfo) GetEventBatchId

func (x *CompletionInfo) GetEventBatchId() int64

func (*CompletionInfo) GetEventId

func (x *CompletionInfo) GetEventId() int64

func (*CompletionInfo) Marshal

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

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

func (*CompletionInfo) ProtoMessage

func (*CompletionInfo) ProtoMessage()

func (*CompletionInfo) ProtoReflect added in v1.23.0

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

func (*CompletionInfo) Reset

func (x *CompletionInfo) Reset()

func (*CompletionInfo) Size

func (val *CompletionInfo) Size() int

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

func (*CompletionInfo) String

func (x *CompletionInfo) String() string

func (*CompletionInfo) Unmarshal

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

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

type UpdateInfo

type UpdateInfo struct {

	// Types that are assignable to Value:
	//
	//	*UpdateInfo_Acceptance
	//	*UpdateInfo_Completion
	//	*UpdateInfo_Admission
	Value isUpdateInfo_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

UpdateInfo is the persistent state of a single update

func (*UpdateInfo) Descriptor deprecated

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

Deprecated: Use UpdateInfo.ProtoReflect.Descriptor instead.

func (*UpdateInfo) Equal

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

Equal returns whether two UpdateInfo 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 (*UpdateInfo) GetAcceptance

func (x *UpdateInfo) GetAcceptance() *AcceptanceInfo

func (*UpdateInfo) GetAdmission added in v1.24.0

func (x *UpdateInfo) GetAdmission() *AdmissionInfo

func (*UpdateInfo) GetCompletion

func (x *UpdateInfo) GetCompletion() *CompletionInfo

func (*UpdateInfo) GetValue

func (m *UpdateInfo) GetValue() isUpdateInfo_Value

func (*UpdateInfo) Marshal

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

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

func (*UpdateInfo) ProtoMessage

func (*UpdateInfo) ProtoMessage()

func (*UpdateInfo) ProtoReflect added in v1.23.0

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

func (*UpdateInfo) Reset

func (x *UpdateInfo) Reset()

func (*UpdateInfo) Size

func (val *UpdateInfo) Size() int

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

func (*UpdateInfo) String

func (x *UpdateInfo) String() string

func (*UpdateInfo) Unmarshal

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

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

type UpdateInfo_Acceptance

type UpdateInfo_Acceptance struct {
	// update has been accepted and this is the acceptance metadata
	Acceptance *AcceptanceInfo `protobuf:"bytes,1,opt,name=acceptance,proto3,oneof"`
}

type UpdateInfo_Admission added in v1.24.0

type UpdateInfo_Admission struct {
	// update has been admitted and this is the admission metadata
	Admission *AdmissionInfo `protobuf:"bytes,3,opt,name=admission,proto3,oneof"`
}

type UpdateInfo_Completion

type UpdateInfo_Completion struct {
	// update has been completed and this is the completion metadata
	Completion *CompletionInfo `protobuf:"bytes,2,opt,name=completion,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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