taskqueue

package
v1.24.0-m2.6 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 6 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_taskqueue_v1_message_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type TaskVersionDirective

type TaskVersionDirective struct {

	// Default (if value is not present) is "unversioned":
	// Use the unversioned task queue, even if the task queue has versioning data.
	//
	// Types that are assignable to Value:
	//
	//	*TaskVersionDirective_UseDefault
	//	*TaskVersionDirective_BuildId
	Value isTaskVersionDirective_Value `protobuf_oneof:"value"`
	// 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) GetBuildId

func (x *TaskVersionDirective) GetBuildId() string

func (*TaskVersionDirective) GetUseDefault

func (x *TaskVersionDirective) GetUseDefault() *emptypb.Empty

func (*TaskVersionDirective) GetValue

func (m *TaskVersionDirective) GetValue() isTaskVersionDirective_Value

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_BuildId

type TaskVersionDirective_BuildId struct {
	// If build_id is present, use the default version in the compatible set
	// containing this build id.
	BuildId string `protobuf:"bytes,2,opt,name=build_id,json=buildId,proto3,oneof"`
}

type TaskVersionDirective_UseDefault

type TaskVersionDirective_UseDefault struct {
	// If use_default is present, the task should be assigned the default
	// version for the task queue. This will typically be set for the first
	// workflow task in a workflow.
	UseDefault *emptypb.Empty `protobuf:"bytes,1,opt,name=use_default,json=useDefault,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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