Documentation
¶
Overview ¶
Code generated by protoc-gen-go-helpers. DO NOT EDIT.
Index ¶
- Variables
- type HistoryDLQKey
- func (*HistoryDLQKey) Descriptor() ([]byte, []int)deprecated
- func (this *HistoryDLQKey) Equal(that interface{}) bool
- func (x *HistoryDLQKey) GetSourceCluster() string
- func (x *HistoryDLQKey) GetTargetCluster() string
- func (x *HistoryDLQKey) GetTaskCategory() int32
- func (val *HistoryDLQKey) Marshal() ([]byte, error)
- func (*HistoryDLQKey) ProtoMessage()
- func (x *HistoryDLQKey) ProtoReflect() protoreflect.Message
- func (x *HistoryDLQKey) Reset()
- func (val *HistoryDLQKey) Size() int
- func (x *HistoryDLQKey) String() string
- func (val *HistoryDLQKey) Unmarshal(buf []byte) error
- type HistoryDLQTask
- func (*HistoryDLQTask) Descriptor() ([]byte, []int)deprecated
- func (this *HistoryDLQTask) Equal(that interface{}) bool
- func (x *HistoryDLQTask) GetMetadata() *HistoryDLQTaskMetadata
- func (x *HistoryDLQTask) GetPayload() *HistoryTask
- func (val *HistoryDLQTask) Marshal() ([]byte, error)
- func (*HistoryDLQTask) ProtoMessage()
- func (x *HistoryDLQTask) ProtoReflect() protoreflect.Message
- func (x *HistoryDLQTask) Reset()
- func (val *HistoryDLQTask) Size() int
- func (x *HistoryDLQTask) String() string
- func (val *HistoryDLQTask) Unmarshal(buf []byte) error
- type HistoryDLQTaskMetadata
- func (*HistoryDLQTaskMetadata) Descriptor() ([]byte, []int)deprecated
- func (this *HistoryDLQTaskMetadata) Equal(that interface{}) bool
- func (x *HistoryDLQTaskMetadata) GetMessageId() int64
- func (val *HistoryDLQTaskMetadata) Marshal() ([]byte, error)
- func (*HistoryDLQTaskMetadata) ProtoMessage()
- func (x *HistoryDLQTaskMetadata) ProtoReflect() protoreflect.Message
- func (x *HistoryDLQTaskMetadata) Reset()
- func (val *HistoryDLQTaskMetadata) Size() int
- func (x *HistoryDLQTaskMetadata) String() string
- func (val *HistoryDLQTaskMetadata) Unmarshal(buf []byte) error
- type HistoryTask
- func (*HistoryTask) Descriptor() ([]byte, []int)deprecated
- func (this *HistoryTask) Equal(that interface{}) bool
- func (x *HistoryTask) GetBlob() *v1.DataBlob
- func (x *HistoryTask) GetShardId() int32
- func (val *HistoryTask) Marshal() ([]byte, error)
- func (*HistoryTask) ProtoMessage()
- func (x *HistoryTask) ProtoReflect() protoreflect.Message
- func (x *HistoryTask) Reset()
- func (val *HistoryTask) Size() int
- func (x *HistoryTask) String() string
- func (val *HistoryTask) Unmarshal(buf []byte) error
Constants ¶
This section is empty.
Variables ¶
var File_temporal_server_api_common_v1_dlq_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type HistoryDLQKey ¶
type HistoryDLQKey struct {
// task_category is the category of the task. The default values are defined in the TaskCategory enum. However, there
// may also be other categories registered at runtime with the history/tasks package. As a result, the category here
// is an integer instead of an enum to support both the default values and custom values.
TaskCategory int32 `protobuf:"varint,1,opt,name=task_category,json=taskCategory,proto3" json:"task_category,omitempty"`
// source_cluster and target_cluster must both be non-empty. For non-cross DC tasks, i.e. non-replication tasks,
// they should be the same. The reason for this is that we may support wildcard clusters in the future, and we want
// to differentiate between queues which go from one cluster to all other clusters, and queues which don't leave the
// current cluster.
SourceCluster string `protobuf:"bytes,2,opt,name=source_cluster,json=sourceCluster,proto3" json:"source_cluster,omitempty"`
TargetCluster string `protobuf:"bytes,3,opt,name=target_cluster,json=targetCluster,proto3" json:"target_cluster,omitempty"`
// contains filtered or unexported fields
}
HistoryDLQKey is a compound key that identifies a history DLQ.
func (*HistoryDLQKey) Descriptor
deprecated
func (*HistoryDLQKey) Descriptor() ([]byte, []int)
Deprecated: Use HistoryDLQKey.ProtoReflect.Descriptor instead.
func (*HistoryDLQKey) Equal ¶
func (this *HistoryDLQKey) Equal(that interface{}) bool
Equal returns whether two HistoryDLQKey values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkgo.dev/google.golang.org/protobuf/proto#Equal
func (*HistoryDLQKey) GetSourceCluster ¶
func (x *HistoryDLQKey) GetSourceCluster() string
func (*HistoryDLQKey) GetTargetCluster ¶
func (x *HistoryDLQKey) GetTargetCluster() string
func (*HistoryDLQKey) GetTaskCategory ¶
func (x *HistoryDLQKey) GetTaskCategory() int32
func (*HistoryDLQKey) Marshal ¶
func (val *HistoryDLQKey) Marshal() ([]byte, error)
Marshal an object of type HistoryDLQKey to the protobuf v3 wire format
func (*HistoryDLQKey) ProtoMessage ¶
func (*HistoryDLQKey) ProtoMessage()
func (*HistoryDLQKey) ProtoReflect ¶
func (x *HistoryDLQKey) ProtoReflect() protoreflect.Message
type HistoryDLQTask ¶
type HistoryDLQTask struct {
Metadata *HistoryDLQTaskMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// This is named payload to prevent stuttering (e.g. task.Task).
Payload *HistoryTask `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
// contains filtered or unexported fields
}
HistoryDLQTask is a history task that has been moved to the DLQ, so it also has a message ID (index within that queue).
func (*HistoryDLQTask) Descriptor
deprecated
func (*HistoryDLQTask) Descriptor() ([]byte, []int)
Deprecated: Use HistoryDLQTask.ProtoReflect.Descriptor instead.
func (*HistoryDLQTask) Equal ¶
func (this *HistoryDLQTask) Equal(that interface{}) bool
Equal returns whether two HistoryDLQTask values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkgo.dev/google.golang.org/protobuf/proto#Equal
func (*HistoryDLQTask) GetMetadata ¶
func (x *HistoryDLQTask) GetMetadata() *HistoryDLQTaskMetadata
func (*HistoryDLQTask) GetPayload ¶
func (x *HistoryDLQTask) GetPayload() *HistoryTask
func (*HistoryDLQTask) Marshal ¶
func (val *HistoryDLQTask) Marshal() ([]byte, error)
Marshal an object of type HistoryDLQTask to the protobuf v3 wire format
func (*HistoryDLQTask) ProtoMessage ¶
func (*HistoryDLQTask) ProtoMessage()
func (*HistoryDLQTask) ProtoReflect ¶
func (x *HistoryDLQTask) ProtoReflect() protoreflect.Message
type HistoryDLQTaskMetadata ¶
type HistoryDLQTaskMetadata struct {
// message_id is the zero-indexed sequence number of the message in the queue that contains this history task.
MessageId int64 `protobuf:"varint,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
// contains filtered or unexported fields
}
func (*HistoryDLQTaskMetadata) Descriptor
deprecated
func (*HistoryDLQTaskMetadata) Descriptor() ([]byte, []int)
Deprecated: Use HistoryDLQTaskMetadata.ProtoReflect.Descriptor instead.
func (*HistoryDLQTaskMetadata) Equal ¶
func (this *HistoryDLQTaskMetadata) Equal(that interface{}) bool
Equal returns whether two HistoryDLQTaskMetadata values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkgo.dev/google.golang.org/protobuf/proto#Equal
func (*HistoryDLQTaskMetadata) GetMessageId ¶
func (x *HistoryDLQTaskMetadata) GetMessageId() int64
func (*HistoryDLQTaskMetadata) Marshal ¶
func (val *HistoryDLQTaskMetadata) Marshal() ([]byte, error)
Marshal an object of type HistoryDLQTaskMetadata to the protobuf v3 wire format
func (*HistoryDLQTaskMetadata) ProtoMessage ¶
func (*HistoryDLQTaskMetadata) ProtoMessage()
func (*HistoryDLQTaskMetadata) ProtoReflect ¶
func (x *HistoryDLQTaskMetadata) ProtoReflect() protoreflect.Message
type HistoryTask ¶
type HistoryTask struct {
// shard_id is included to avoid having to deserialize the task blob.
ShardId int32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
Blob *v1.DataBlob `protobuf:"bytes,2,opt,name=blob,proto3" json:"blob,omitempty"`
// contains filtered or unexported fields
}
func (*HistoryTask) Descriptor
deprecated
func (*HistoryTask) Descriptor() ([]byte, []int)
Deprecated: Use HistoryTask.ProtoReflect.Descriptor instead.
func (*HistoryTask) Equal ¶
func (this *HistoryTask) Equal(that interface{}) bool
Equal returns whether two HistoryTask values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkgo.dev/google.golang.org/protobuf/proto#Equal
func (*HistoryTask) GetShardId ¶
func (x *HistoryTask) GetShardId() int32
func (*HistoryTask) Marshal ¶
func (val *HistoryTask) Marshal() ([]byte, error)
Marshal an object of type HistoryTask to the protobuf v3 wire format
func (*HistoryTask) ProtoMessage ¶
func (*HistoryTask) ProtoMessage()
func (*HistoryTask) ProtoReflect ¶
func (x *HistoryTask) ProtoReflect() protoreflect.Message