Documentation ¶
Overview ¶
Code generated by protoc-gen-go-helpers. DO NOT EDIT.
Index ¶
- Variables
- type BuildIdRedirectInfo
- func (*BuildIdRedirectInfo) Descriptor() ([]byte, []int)deprecated
- func (this *BuildIdRedirectInfo) Equal(that interface{}) bool
- func (x *BuildIdRedirectInfo) GetAssignedBuildId() string
- func (val *BuildIdRedirectInfo) Marshal() ([]byte, error)
- func (*BuildIdRedirectInfo) ProtoMessage()
- func (x *BuildIdRedirectInfo) ProtoReflect() protoreflect.Message
- func (x *BuildIdRedirectInfo) Reset()
- func (val *BuildIdRedirectInfo) Size() int
- func (x *BuildIdRedirectInfo) String() string
- func (val *BuildIdRedirectInfo) Unmarshal(buf []byte) error
- type PhysicalTaskQueueInfo
- func (*PhysicalTaskQueueInfo) Descriptor() ([]byte, []int)deprecated
- func (this *PhysicalTaskQueueInfo) Equal(that interface{}) bool
- func (x *PhysicalTaskQueueInfo) GetPollers() []*v1.PollerInfo
- func (x *PhysicalTaskQueueInfo) GetTaskQueueStats() *v1.TaskQueueStats
- func (val *PhysicalTaskQueueInfo) Marshal() ([]byte, error)
- func (*PhysicalTaskQueueInfo) ProtoMessage()
- func (x *PhysicalTaskQueueInfo) ProtoReflect() protoreflect.Message
- func (x *PhysicalTaskQueueInfo) Reset()
- func (val *PhysicalTaskQueueInfo) Size() int
- func (x *PhysicalTaskQueueInfo) String() string
- func (val *PhysicalTaskQueueInfo) Unmarshal(buf []byte) error
- type TaskForwardInfo
- func (*TaskForwardInfo) Descriptor() ([]byte, []int)deprecated
- func (this *TaskForwardInfo) Equal(that interface{}) bool
- func (x *TaskForwardInfo) GetDispatchBuildId() string
- func (x *TaskForwardInfo) GetDispatchVersionSet() string
- func (x *TaskForwardInfo) GetRedirectInfo() *BuildIdRedirectInfo
- func (x *TaskForwardInfo) GetSourcePartition() string
- func (x *TaskForwardInfo) GetTaskSource() v12.TaskSource
- func (val *TaskForwardInfo) Marshal() ([]byte, error)
- func (*TaskForwardInfo) ProtoMessage()
- func (x *TaskForwardInfo) ProtoReflect() protoreflect.Message
- func (x *TaskForwardInfo) Reset()
- func (val *TaskForwardInfo) Size() int
- func (x *TaskForwardInfo) String() string
- func (val *TaskForwardInfo) Unmarshal(buf []byte) error
- type TaskQueuePartition
- func (*TaskQueuePartition) Descriptor() ([]byte, []int)deprecated
- func (this *TaskQueuePartition) Equal(that interface{}) bool
- func (x *TaskQueuePartition) GetNormalPartitionId() int32
- func (m *TaskQueuePartition) GetPartitionId() isTaskQueuePartition_PartitionId
- func (x *TaskQueuePartition) GetStickyName() string
- func (x *TaskQueuePartition) GetTaskQueue() string
- func (x *TaskQueuePartition) GetTaskQueueType() v11.TaskQueueType
- func (val *TaskQueuePartition) Marshal() ([]byte, error)
- func (*TaskQueuePartition) ProtoMessage()
- func (x *TaskQueuePartition) ProtoReflect() protoreflect.Message
- func (x *TaskQueuePartition) Reset()
- func (val *TaskQueuePartition) Size() int
- func (x *TaskQueuePartition) String() string
- func (val *TaskQueuePartition) Unmarshal(buf []byte) error
- type TaskQueuePartition_NormalPartitionId
- type TaskQueuePartition_StickyName
- type TaskQueueVersionInfoInternal
- func (*TaskQueueVersionInfoInternal) Descriptor() ([]byte, []int)deprecated
- func (this *TaskQueueVersionInfoInternal) Equal(that interface{}) bool
- func (x *TaskQueueVersionInfoInternal) GetPhysicalTaskQueueInfo() *PhysicalTaskQueueInfo
- func (val *TaskQueueVersionInfoInternal) Marshal() ([]byte, error)
- func (*TaskQueueVersionInfoInternal) ProtoMessage()
- func (x *TaskQueueVersionInfoInternal) ProtoReflect() protoreflect.Message
- func (x *TaskQueueVersionInfoInternal) Reset()
- func (val *TaskQueueVersionInfoInternal) Size() int
- func (x *TaskQueueVersionInfoInternal) String() string
- func (val *TaskQueueVersionInfoInternal) Unmarshal(buf []byte) error
- type TaskVersionDirective
- func (*TaskVersionDirective) Descriptor() ([]byte, []int)deprecated
- func (this *TaskVersionDirective) Equal(that interface{}) bool
- func (x *TaskVersionDirective) GetAssignedBuildId() string
- func (m *TaskVersionDirective) GetBuildId() isTaskVersionDirective_BuildId
- func (x *TaskVersionDirective) GetUseAssignmentRules() *emptypb.Empty
- func (val *TaskVersionDirective) Marshal() ([]byte, error)
- func (*TaskVersionDirective) ProtoMessage()
- func (x *TaskVersionDirective) ProtoReflect() protoreflect.Message
- func (x *TaskVersionDirective) Reset()
- func (val *TaskVersionDirective) Size() int
- func (x *TaskVersionDirective) String() string
- func (val *TaskVersionDirective) Unmarshal(buf []byte) error
- type TaskVersionDirective_AssignedBuildId
- type TaskVersionDirective_UseAssignmentRules
Constants ¶
This section is empty.
Variables ¶
var File_temporal_server_api_taskqueue_v1_message_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BuildIdRedirectInfo ¶ added in v1.25.0
type BuildIdRedirectInfo struct { // build ID asked by History in the directive or the one calculated based on the assignment rules. // this is the source of the redirect rule chain applied. (the target of the redirect rule chain is // the poller's build ID reported in WorkerVersionCapabilities) AssignedBuildId string `protobuf:"bytes,1,opt,name=assigned_build_id,json=assignedBuildId,proto3" json:"assigned_build_id,omitempty"` // contains filtered or unexported fields }
Information about redirect intention sent by Matching to History in Record*TaskStarted calls
func (*BuildIdRedirectInfo) Descriptor
deprecated
added in
v1.25.0
func (*BuildIdRedirectInfo) Descriptor() ([]byte, []int)
Deprecated: Use BuildIdRedirectInfo.ProtoReflect.Descriptor instead.
func (*BuildIdRedirectInfo) Equal ¶ added in v1.25.0
func (this *BuildIdRedirectInfo) Equal(that interface{}) bool
Equal returns whether two BuildIdRedirectInfo 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 (*BuildIdRedirectInfo) GetAssignedBuildId ¶ added in v1.25.0
func (x *BuildIdRedirectInfo) GetAssignedBuildId() string
func (*BuildIdRedirectInfo) Marshal ¶ added in v1.25.0
func (val *BuildIdRedirectInfo) Marshal() ([]byte, error)
Marshal an object of type BuildIdRedirectInfo to the protobuf v3 wire format
func (*BuildIdRedirectInfo) ProtoMessage ¶ added in v1.25.0
func (*BuildIdRedirectInfo) ProtoMessage()
func (*BuildIdRedirectInfo) ProtoReflect ¶ added in v1.25.0
func (x *BuildIdRedirectInfo) ProtoReflect() protoreflect.Message
func (*BuildIdRedirectInfo) Reset ¶ added in v1.25.0
func (x *BuildIdRedirectInfo) Reset()
func (*BuildIdRedirectInfo) Size ¶ added in v1.25.0
func (val *BuildIdRedirectInfo) Size() int
Size returns the size of the object, in bytes, once serialized
func (*BuildIdRedirectInfo) String ¶ added in v1.25.0
func (x *BuildIdRedirectInfo) String() string
func (*BuildIdRedirectInfo) Unmarshal ¶ added in v1.25.0
func (val *BuildIdRedirectInfo) Unmarshal(buf []byte) error
Unmarshal an object of type BuildIdRedirectInfo from the protobuf v3 wire format
type PhysicalTaskQueueInfo ¶ added in v1.24.0
type PhysicalTaskQueueInfo struct { // Unversioned workers (with `useVersioning=false`) are reported in unversioned result even if they set a Build ID. Pollers []*v1.PollerInfo `protobuf:"bytes,1,rep,name=pollers,proto3" json:"pollers,omitempty"` TaskQueueStats *v1.TaskQueueStats `protobuf:"bytes,2,opt,name=task_queue_stats,json=taskQueueStats,proto3" json:"task_queue_stats,omitempty"` // contains filtered or unexported fields }
func (*PhysicalTaskQueueInfo) Descriptor
deprecated
added in
v1.24.0
func (*PhysicalTaskQueueInfo) Descriptor() ([]byte, []int)
Deprecated: Use PhysicalTaskQueueInfo.ProtoReflect.Descriptor instead.
func (*PhysicalTaskQueueInfo) Equal ¶ added in v1.24.0
func (this *PhysicalTaskQueueInfo) Equal(that interface{}) bool
Equal returns whether two PhysicalTaskQueueInfo 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 (*PhysicalTaskQueueInfo) GetPollers ¶ added in v1.24.0
func (x *PhysicalTaskQueueInfo) GetPollers() []*v1.PollerInfo
func (*PhysicalTaskQueueInfo) GetTaskQueueStats ¶ added in v1.25.0
func (x *PhysicalTaskQueueInfo) GetTaskQueueStats() *v1.TaskQueueStats
func (*PhysicalTaskQueueInfo) Marshal ¶ added in v1.24.0
func (val *PhysicalTaskQueueInfo) Marshal() ([]byte, error)
Marshal an object of type PhysicalTaskQueueInfo to the protobuf v3 wire format
func (*PhysicalTaskQueueInfo) ProtoMessage ¶ added in v1.24.0
func (*PhysicalTaskQueueInfo) ProtoMessage()
func (*PhysicalTaskQueueInfo) ProtoReflect ¶ added in v1.24.0
func (x *PhysicalTaskQueueInfo) ProtoReflect() protoreflect.Message
func (*PhysicalTaskQueueInfo) Reset ¶ added in v1.24.0
func (x *PhysicalTaskQueueInfo) Reset()
func (*PhysicalTaskQueueInfo) Size ¶ added in v1.24.0
func (val *PhysicalTaskQueueInfo) Size() int
Size returns the size of the object, in bytes, once serialized
func (*PhysicalTaskQueueInfo) String ¶ added in v1.24.0
func (x *PhysicalTaskQueueInfo) String() string
func (*PhysicalTaskQueueInfo) Unmarshal ¶ added in v1.24.0
func (val *PhysicalTaskQueueInfo) Unmarshal(buf []byte) error
Unmarshal an object of type PhysicalTaskQueueInfo from the protobuf v3 wire format
type TaskForwardInfo ¶ added in v1.25.0
type TaskForwardInfo struct { // RPC name of the partition forwarded the task. // In case of multiple hops, this is the source partition of the last hop. SourcePartition string `protobuf:"bytes,1,opt,name=source_partition,json=sourcePartition,proto3" json:"source_partition,omitempty"` TaskSource v12.TaskSource `` /* 137-byte string literal not displayed */ // Redirect info is not present for Query and Nexus tasks. RedirectInfo *BuildIdRedirectInfo `protobuf:"bytes,3,opt,name=redirect_info,json=redirectInfo,proto3" json:"redirect_info,omitempty"` // Build ID that should be used to dispatch the task to. DispatchBuildId string `protobuf:"bytes,4,opt,name=dispatch_build_id,json=dispatchBuildId,proto3" json:"dispatch_build_id,omitempty"` // Only used for old versioning. [cleanup-old-wv] DispatchVersionSet string `protobuf:"bytes,5,opt,name=dispatch_version_set,json=dispatchVersionSet,proto3" json:"dispatch_version_set,omitempty"` // contains filtered or unexported fields }
Information about task forwarding from one partition to its parent. Versioning decisions are made at the source partition and sent to the parent partition in this message.
func (*TaskForwardInfo) Descriptor
deprecated
added in
v1.25.0
func (*TaskForwardInfo) Descriptor() ([]byte, []int)
Deprecated: Use TaskForwardInfo.ProtoReflect.Descriptor instead.
func (*TaskForwardInfo) Equal ¶ added in v1.25.0
func (this *TaskForwardInfo) Equal(that interface{}) bool
Equal returns whether two TaskForwardInfo 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 (*TaskForwardInfo) GetDispatchBuildId ¶ added in v1.25.0
func (x *TaskForwardInfo) GetDispatchBuildId() string
func (*TaskForwardInfo) GetDispatchVersionSet ¶ added in v1.25.0
func (x *TaskForwardInfo) GetDispatchVersionSet() string
func (*TaskForwardInfo) GetRedirectInfo ¶ added in v1.25.0
func (x *TaskForwardInfo) GetRedirectInfo() *BuildIdRedirectInfo
func (*TaskForwardInfo) GetSourcePartition ¶ added in v1.25.0
func (x *TaskForwardInfo) GetSourcePartition() string
func (*TaskForwardInfo) GetTaskSource ¶ added in v1.25.0
func (x *TaskForwardInfo) GetTaskSource() v12.TaskSource
func (*TaskForwardInfo) Marshal ¶ added in v1.25.0
func (val *TaskForwardInfo) Marshal() ([]byte, error)
Marshal an object of type TaskForwardInfo to the protobuf v3 wire format
func (*TaskForwardInfo) ProtoMessage ¶ added in v1.25.0
func (*TaskForwardInfo) ProtoMessage()
func (*TaskForwardInfo) ProtoReflect ¶ added in v1.25.0
func (x *TaskForwardInfo) ProtoReflect() protoreflect.Message
func (*TaskForwardInfo) Reset ¶ added in v1.25.0
func (x *TaskForwardInfo) Reset()
func (*TaskForwardInfo) Size ¶ added in v1.25.0
func (val *TaskForwardInfo) Size() int
Size returns the size of the object, in bytes, once serialized
func (*TaskForwardInfo) String ¶ added in v1.25.0
func (x *TaskForwardInfo) String() string
func (*TaskForwardInfo) Unmarshal ¶ added in v1.25.0
func (val *TaskForwardInfo) Unmarshal(buf []byte) error
Unmarshal an object of type TaskForwardInfo from the protobuf v3 wire format
type TaskQueuePartition ¶ added in v1.24.0
type TaskQueuePartition struct { // This is the user-facing name for this task queue TaskQueue string `protobuf:"bytes,1,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` TaskQueueType v11.TaskQueueType `` /* 144-byte string literal not displayed */ // Absent means normal root partition (normal_partition_id=0) // // Types that are assignable to PartitionId: // // *TaskQueuePartition_NormalPartitionId // *TaskQueuePartition_StickyName PartitionId isTaskQueuePartition_PartitionId `protobuf_oneof:"partition_id"` // contains filtered or unexported fields }
Represents a normal or sticky partition of a task queue.
func (*TaskQueuePartition) Descriptor
deprecated
added in
v1.24.0
func (*TaskQueuePartition) Descriptor() ([]byte, []int)
Deprecated: Use TaskQueuePartition.ProtoReflect.Descriptor instead.
func (*TaskQueuePartition) Equal ¶ added in v1.24.0
func (this *TaskQueuePartition) Equal(that interface{}) bool
Equal returns whether two TaskQueuePartition 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 (*TaskQueuePartition) GetNormalPartitionId ¶ added in v1.24.0
func (x *TaskQueuePartition) GetNormalPartitionId() int32
func (*TaskQueuePartition) GetPartitionId ¶ added in v1.24.0
func (m *TaskQueuePartition) GetPartitionId() isTaskQueuePartition_PartitionId
func (*TaskQueuePartition) GetStickyName ¶ added in v1.24.0
func (x *TaskQueuePartition) GetStickyName() string
func (*TaskQueuePartition) GetTaskQueue ¶ added in v1.24.0
func (x *TaskQueuePartition) GetTaskQueue() string
func (*TaskQueuePartition) GetTaskQueueType ¶ added in v1.24.0
func (x *TaskQueuePartition) GetTaskQueueType() v11.TaskQueueType
func (*TaskQueuePartition) Marshal ¶ added in v1.24.0
func (val *TaskQueuePartition) Marshal() ([]byte, error)
Marshal an object of type TaskQueuePartition to the protobuf v3 wire format
func (*TaskQueuePartition) ProtoMessage ¶ added in v1.24.0
func (*TaskQueuePartition) ProtoMessage()
func (*TaskQueuePartition) ProtoReflect ¶ added in v1.24.0
func (x *TaskQueuePartition) ProtoReflect() protoreflect.Message
func (*TaskQueuePartition) Reset ¶ added in v1.24.0
func (x *TaskQueuePartition) Reset()
func (*TaskQueuePartition) Size ¶ added in v1.24.0
func (val *TaskQueuePartition) Size() int
Size returns the size of the object, in bytes, once serialized
func (*TaskQueuePartition) String ¶ added in v1.24.0
func (x *TaskQueuePartition) String() string
func (*TaskQueuePartition) Unmarshal ¶ added in v1.24.0
func (val *TaskQueuePartition) Unmarshal(buf []byte) error
Unmarshal an object of type TaskQueuePartition from the protobuf v3 wire format
type TaskQueuePartition_NormalPartitionId ¶ added in v1.24.0
type TaskQueuePartition_NormalPartitionId struct {
NormalPartitionId int32 `protobuf:"varint,3,opt,name=normal_partition_id,json=normalPartitionId,proto3,oneof"`
}
type TaskQueuePartition_StickyName ¶ added in v1.24.0
type TaskQueuePartition_StickyName struct {
StickyName string `protobuf:"bytes,4,opt,name=sticky_name,json=stickyName,proto3,oneof"`
}
type TaskQueueVersionInfoInternal ¶ added in v1.24.0
type TaskQueueVersionInfoInternal struct { PhysicalTaskQueueInfo *PhysicalTaskQueueInfo `` /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TaskQueueVersionInfoInternal) Descriptor
deprecated
added in
v1.24.0
func (*TaskQueueVersionInfoInternal) Descriptor() ([]byte, []int)
Deprecated: Use TaskQueueVersionInfoInternal.ProtoReflect.Descriptor instead.
func (*TaskQueueVersionInfoInternal) Equal ¶ added in v1.24.0
func (this *TaskQueueVersionInfoInternal) Equal(that interface{}) bool
Equal returns whether two TaskQueueVersionInfoInternal 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 (*TaskQueueVersionInfoInternal) GetPhysicalTaskQueueInfo ¶ added in v1.24.0
func (x *TaskQueueVersionInfoInternal) GetPhysicalTaskQueueInfo() *PhysicalTaskQueueInfo
func (*TaskQueueVersionInfoInternal) Marshal ¶ added in v1.24.0
func (val *TaskQueueVersionInfoInternal) Marshal() ([]byte, error)
Marshal an object of type TaskQueueVersionInfoInternal to the protobuf v3 wire format
func (*TaskQueueVersionInfoInternal) ProtoMessage ¶ added in v1.24.0
func (*TaskQueueVersionInfoInternal) ProtoMessage()
func (*TaskQueueVersionInfoInternal) ProtoReflect ¶ added in v1.24.0
func (x *TaskQueueVersionInfoInternal) ProtoReflect() protoreflect.Message
func (*TaskQueueVersionInfoInternal) Reset ¶ added in v1.24.0
func (x *TaskQueueVersionInfoInternal) Reset()
func (*TaskQueueVersionInfoInternal) Size ¶ added in v1.24.0
func (val *TaskQueueVersionInfoInternal) Size() int
Size returns the size of the object, in bytes, once serialized
func (*TaskQueueVersionInfoInternal) String ¶ added in v1.24.0
func (x *TaskQueueVersionInfoInternal) String() string
func (*TaskQueueVersionInfoInternal) Unmarshal ¶ added in v1.24.0
func (val *TaskQueueVersionInfoInternal) Unmarshal(buf []byte) error
Unmarshal an object of type TaskQueueVersionInfoInternal from the protobuf v3 wire format
type TaskVersionDirective ¶
type TaskVersionDirective struct { // Default (if build_id is not present) is "unversioned": // Use the unversioned task queue, even if the task queue has versioning data. // Absent value means the task is the non-starting task of an unversioned execution so it should remain unversioned. // // Types that are assignable to BuildId: // // *TaskVersionDirective_UseAssignmentRules // *TaskVersionDirective_AssignedBuildId BuildId isTaskVersionDirective_BuildId `protobuf_oneof:"build_id"` // contains filtered or unexported fields }
TaskVersionDirective controls how matching should direct a task.
func (*TaskVersionDirective) Descriptor
deprecated
func (*TaskVersionDirective) Descriptor() ([]byte, []int)
Deprecated: Use TaskVersionDirective.ProtoReflect.Descriptor instead.
func (*TaskVersionDirective) Equal ¶
func (this *TaskVersionDirective) Equal(that interface{}) bool
Equal returns whether two TaskVersionDirective 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 (*TaskVersionDirective) GetAssignedBuildId ¶ added in v1.24.0
func (x *TaskVersionDirective) GetAssignedBuildId() string
func (*TaskVersionDirective) GetBuildId ¶
func (m *TaskVersionDirective) GetBuildId() isTaskVersionDirective_BuildId
func (*TaskVersionDirective) GetUseAssignmentRules ¶ added in v1.24.0
func (x *TaskVersionDirective) GetUseAssignmentRules() *emptypb.Empty
func (*TaskVersionDirective) Marshal ¶
func (val *TaskVersionDirective) Marshal() ([]byte, error)
Marshal an object of type TaskVersionDirective to the protobuf v3 wire format
func (*TaskVersionDirective) ProtoMessage ¶
func (*TaskVersionDirective) ProtoMessage()
func (*TaskVersionDirective) ProtoReflect ¶ added in v1.23.0
func (x *TaskVersionDirective) ProtoReflect() protoreflect.Message
func (*TaskVersionDirective) Reset ¶
func (x *TaskVersionDirective) Reset()
func (*TaskVersionDirective) Size ¶
func (val *TaskVersionDirective) Size() int
Size returns the size of the object, in bytes, once serialized
func (*TaskVersionDirective) String ¶
func (x *TaskVersionDirective) String() string
func (*TaskVersionDirective) Unmarshal ¶
func (val *TaskVersionDirective) Unmarshal(buf []byte) error
Unmarshal an object of type TaskVersionDirective from the protobuf v3 wire format
type TaskVersionDirective_AssignedBuildId ¶ added in v1.24.0
type TaskVersionDirective_AssignedBuildId struct { // This means the task is already assigned to `build_id` // WV1: If assigned_build_id is present, use the default version in the compatible set // containing this build ID. [cleanup-old-wv] AssignedBuildId string `protobuf:"bytes,2,opt,name=assigned_build_id,json=assignedBuildId,proto3,oneof"` }
type TaskVersionDirective_UseAssignmentRules ¶ added in v1.24.0
type TaskVersionDirective_UseAssignmentRules struct { // If use_assignment_rules is present, matching should use the assignment rules // to determine the build ID. // WV1: the task should be assigned the default version for the task queue. [cleanup-old-wv] UseAssignmentRules *emptypb.Empty `protobuf:"bytes,1,opt,name=use_assignment_rules,json=useAssignmentRules,proto3,oneof"` }