update

package
v1.23.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 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 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
	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) 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_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