Documentation ¶
Overview ¶
Code generated by protoc-gen-go-helpers. DO NOT EDIT.
Index ¶
- Variables
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (this *Message) Equal(that interface{}) bool
- func (x *Message) GetBody() *anypb.Any
- func (x *Message) GetCommandIndex() int64
- func (x *Message) GetEventId() int64
- func (x *Message) GetId() string
- func (x *Message) GetProtocolInstanceId() string
- func (m *Message) GetSequencingId() isMessage_SequencingId
- func (val *Message) Marshal() ([]byte, error)
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (val *Message) Size() int
- func (x *Message) String() string
- func (val *Message) Unmarshal(buf []byte) error
- type Message_CommandIndex
- type Message_EventId
Constants ¶
This section is empty.
Variables ¶
View Source
var File_temporal_api_protocol_v1_message_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { // An ID for this specific message. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Identifies the specific instance of a protocol to which this message // belongs. ProtocolInstanceId string `protobuf:"bytes,2,opt,name=protocol_instance_id,json=protocolInstanceId,proto3" json:"protocol_instance_id,omitempty"` // The event ID or command ID after which this message can be delivered. The // effects of history up to and including this event ID should be visible to // the code that handles this message. Omit to opt out of sequencing. // // Types that are assignable to SequencingId: // // *Message_EventId // *Message_CommandIndex SequencingId isMessage_SequencingId `protobuf_oneof:"sequencing_id"` // The opaque data carried by this message. The protocol type can be // extracted from the package name of the message carried inside the Any. Body *anypb.Any `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
(-- api-linter: core::0146::any=disabled
aip.dev/not-precedent: We want runtime extensibility for the body field --)
func (*Message) Descriptor
deprecated
func (*Message) Equal ¶
Equal returns whether two Message 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 (*Message) GetCommandIndex ¶
func (*Message) GetEventId ¶
func (*Message) GetProtocolInstanceId ¶
func (*Message) GetSequencingId ¶
func (m *Message) GetSequencingId() isMessage_SequencingId
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶ added in v1.26.1
func (x *Message) ProtoReflect() protoreflect.Message
type Message_CommandIndex ¶
type Message_CommandIndex struct {
CommandIndex int64 `protobuf:"varint,4,opt,name=command_index,json=commandIndex,proto3,oneof"`
}
type Message_EventId ¶
type Message_EventId struct {
EventId int64 `protobuf:"varint,3,opt,name=event_id,json=eventId,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.