// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.10
// 	protoc        v6.31.1
// source: github.com/buildbarn/bb-remote-execution/pkg/proto/buildqueuestate/buildqueuestate.proto

package buildqueuestate

import (
	v2 "github.com/bazelbuild/remote-apis/build/bazel/remote/execution/v2"
	status "google.golang.org/genproto/googleapis/rpc/status"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	anypb "google.golang.org/protobuf/types/known/anypb"
	durationpb "google.golang.org/protobuf/types/known/durationpb"
	emptypb "google.golang.org/protobuf/types/known/emptypb"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

type ListInvocationChildrenRequest_Filter int32

const (
	ListInvocationChildrenRequest_ALL    ListInvocationChildrenRequest_Filter = 0
	ListInvocationChildrenRequest_ACTIVE ListInvocationChildrenRequest_Filter = 1
	ListInvocationChildrenRequest_QUEUED ListInvocationChildrenRequest_Filter = 2
)

// Enum value maps for ListInvocationChildrenRequest_Filter.
var (
	ListInvocationChildrenRequest_Filter_name = map[int32]string{
		0: "ALL",
		1: "ACTIVE",
		2: "QUEUED",
	}
	ListInvocationChildrenRequest_Filter_value = map[string]int32{
		"ALL":    0,
		"ACTIVE": 1,
		"QUEUED": 2,
	}
)

func (x ListInvocationChildrenRequest_Filter) Enum() *ListInvocationChildrenRequest_Filter {
	p := new(ListInvocationChildrenRequest_Filter)
	*p = x
	return p
}

func (x ListInvocationChildrenRequest_Filter) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (ListInvocationChildrenRequest_Filter) Descriptor() protoreflect.EnumDescriptor {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_enumTypes[0].Descriptor()
}

func (ListInvocationChildrenRequest_Filter) Type() protoreflect.EnumType {
	return &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_enumTypes[0]
}

func (x ListInvocationChildrenRequest_Filter) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use ListInvocationChildrenRequest_Filter.Descriptor instead.
func (ListInvocationChildrenRequest_Filter) EnumDescriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{17, 0}
}

type PaginationInfo struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	StartIndex    uint32                 `protobuf:"varint,1,opt,name=start_index,json=startIndex,proto3" json:"start_index,omitempty"`
	TotalEntries  uint32                 `protobuf:"varint,2,opt,name=total_entries,json=totalEntries,proto3" json:"total_entries,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *PaginationInfo) Reset() {
	*x = PaginationInfo{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *PaginationInfo) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PaginationInfo) ProtoMessage() {}

func (x *PaginationInfo) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PaginationInfo.ProtoReflect.Descriptor instead.
func (*PaginationInfo) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{0}
}

func (x *PaginationInfo) GetStartIndex() uint32 {
	if x != nil {
		return x.StartIndex
	}
	return 0
}

func (x *PaginationInfo) GetTotalEntries() uint32 {
	if x != nil {
		return x.TotalEntries
	}
	return 0
}

type PlatformQueueName struct {
	state              protoimpl.MessageState `protogen:"open.v1"`
	InstanceNamePrefix string                 `protobuf:"bytes,1,opt,name=instance_name_prefix,json=instanceNamePrefix,proto3" json:"instance_name_prefix,omitempty"`
	Platform           *v2.Platform           `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

func (x *PlatformQueueName) Reset() {
	*x = PlatformQueueName{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *PlatformQueueName) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PlatformQueueName) ProtoMessage() {}

func (x *PlatformQueueName) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PlatformQueueName.ProtoReflect.Descriptor instead.
func (*PlatformQueueName) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{1}
}

func (x *PlatformQueueName) GetInstanceNamePrefix() string {
	if x != nil {
		return x.InstanceNamePrefix
	}
	return ""
}

func (x *PlatformQueueName) GetPlatform() *v2.Platform {
	if x != nil {
		return x.Platform
	}
	return nil
}

type SizeClassQueueName struct {
	state             protoimpl.MessageState `protogen:"open.v1"`
	PlatformQueueName *PlatformQueueName     `protobuf:"bytes,1,opt,name=platform_queue_name,json=platformQueueName,proto3" json:"platform_queue_name,omitempty"`
	SizeClass         uint32                 `protobuf:"varint,2,opt,name=size_class,json=sizeClass,proto3" json:"size_class,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

func (x *SizeClassQueueName) Reset() {
	*x = SizeClassQueueName{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SizeClassQueueName) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SizeClassQueueName) ProtoMessage() {}

func (x *SizeClassQueueName) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[2]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SizeClassQueueName.ProtoReflect.Descriptor instead.
func (*SizeClassQueueName) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{2}
}

func (x *SizeClassQueueName) GetPlatformQueueName() *PlatformQueueName {
	if x != nil {
		return x.PlatformQueueName
	}
	return nil
}

func (x *SizeClassQueueName) GetSizeClass() uint32 {
	if x != nil {
		return x.SizeClass
	}
	return 0
}

type InvocationName struct {
	state              protoimpl.MessageState `protogen:"open.v1"`
	SizeClassQueueName *SizeClassQueueName    `protobuf:"bytes,1,opt,name=size_class_queue_name,json=sizeClassQueueName,proto3" json:"size_class_queue_name,omitempty"`
	Ids                []*anypb.Any           `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

func (x *InvocationName) Reset() {
	*x = InvocationName{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *InvocationName) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*InvocationName) ProtoMessage() {}

func (x *InvocationName) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[3]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use InvocationName.ProtoReflect.Descriptor instead.
func (*InvocationName) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{3}
}

func (x *InvocationName) GetSizeClassQueueName() *SizeClassQueueName {
	if x != nil {
		return x.SizeClassQueueName
	}
	return nil
}

func (x *InvocationName) GetIds() []*anypb.Any {
	if x != nil {
		return x.Ids
	}
	return nil
}

type OperationState struct {
	state            protoimpl.MessageState `protogen:"open.v1"`
	Name             string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	InvocationName   *InvocationName        `protobuf:"bytes,2,opt,name=invocation_name,json=invocationName,proto3" json:"invocation_name,omitempty"`
	ExpectedDuration *durationpb.Duration   `protobuf:"bytes,14,opt,name=expected_duration,json=expectedDuration,proto3" json:"expected_duration,omitempty"`
	QueuedTimestamp  *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=queued_timestamp,json=queuedTimestamp,proto3" json:"queued_timestamp,omitempty"`
	ActionDigest     *v2.Digest             `protobuf:"bytes,5,opt,name=action_digest,json=actionDigest,proto3" json:"action_digest,omitempty"`
	Timeout          *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// Types that are valid to be assigned to Stage:
	//
	//	*OperationState_Queued
	//	*OperationState_Executing
	//	*OperationState_Completed
	Stage              isOperationState_Stage  `protobuf_oneof:"stage"`
	TargetId           string                  `protobuf:"bytes,11,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	Priority           int32                   `protobuf:"varint,12,opt,name=priority,proto3" json:"priority,omitempty"`
	InstanceNameSuffix string                  `protobuf:"bytes,13,opt,name=instance_name_suffix,json=instanceNameSuffix,proto3" json:"instance_name_suffix,omitempty"`
	DigestFunction     v2.DigestFunction_Value `protobuf:"varint,15,opt,name=digest_function,json=digestFunction,proto3,enum=build.bazel.remote.execution.v2.DigestFunction_Value" json:"digest_function,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

func (x *OperationState) Reset() {
	*x = OperationState{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *OperationState) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*OperationState) ProtoMessage() {}

func (x *OperationState) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[4]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use OperationState.ProtoReflect.Descriptor instead.
func (*OperationState) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{4}
}

func (x *OperationState) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *OperationState) GetInvocationName() *InvocationName {
	if x != nil {
		return x.InvocationName
	}
	return nil
}

func (x *OperationState) GetExpectedDuration() *durationpb.Duration {
	if x != nil {
		return x.ExpectedDuration
	}
	return nil
}

func (x *OperationState) GetQueuedTimestamp() *timestamppb.Timestamp {
	if x != nil {
		return x.QueuedTimestamp
	}
	return nil
}

func (x *OperationState) GetActionDigest() *v2.Digest {
	if x != nil {
		return x.ActionDigest
	}
	return nil
}

func (x *OperationState) GetTimeout() *timestamppb.Timestamp {
	if x != nil {
		return x.Timeout
	}
	return nil
}

func (x *OperationState) GetStage() isOperationState_Stage {
	if x != nil {
		return x.Stage
	}
	return nil
}

func (x *OperationState) GetQueued() *emptypb.Empty {
	if x != nil {
		if x, ok := x.Stage.(*OperationState_Queued); ok {
			return x.Queued
		}
	}
	return nil
}

func (x *OperationState) GetExecuting() *emptypb.Empty {
	if x != nil {
		if x, ok := x.Stage.(*OperationState_Executing); ok {
			return x.Executing
		}
	}
	return nil
}

func (x *OperationState) GetCompleted() *v2.ExecuteResponse {
	if x != nil {
		if x, ok := x.Stage.(*OperationState_Completed); ok {
			return x.Completed
		}
	}
	return nil
}

func (x *OperationState) GetTargetId() string {
	if x != nil {
		return x.TargetId
	}
	return ""
}

func (x *OperationState) GetPriority() int32 {
	if x != nil {
		return x.Priority
	}
	return 0
}

func (x *OperationState) GetInstanceNameSuffix() string {
	if x != nil {
		return x.InstanceNameSuffix
	}
	return ""
}

func (x *OperationState) GetDigestFunction() v2.DigestFunction_Value {
	if x != nil {
		return x.DigestFunction
	}
	return v2.DigestFunction_Value(0)
}

type isOperationState_Stage interface {
	isOperationState_Stage()
}

type OperationState_Queued struct {
	Queued *emptypb.Empty `protobuf:"bytes,8,opt,name=queued,proto3,oneof"`
}

type OperationState_Executing struct {
	Executing *emptypb.Empty `protobuf:"bytes,9,opt,name=executing,proto3,oneof"`
}

type OperationState_Completed struct {
	Completed *v2.ExecuteResponse `protobuf:"bytes,10,opt,name=completed,proto3,oneof"`
}

func (*OperationState_Queued) isOperationState_Stage() {}

func (*OperationState_Executing) isOperationState_Stage() {}

func (*OperationState_Completed) isOperationState_Stage() {}

type SizeClassQueueState struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	SizeClass      uint32                 `protobuf:"varint,1,opt,name=size_class,json=sizeClass,proto3" json:"size_class,omitempty"`
	Timeout        *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
	WorkersCount   uint32                 `protobuf:"varint,5,opt,name=workers_count,json=workersCount,proto3" json:"workers_count,omitempty"`
	DrainsCount    uint32                 `protobuf:"varint,7,opt,name=drains_count,json=drainsCount,proto3" json:"drains_count,omitempty"`
	RootInvocation *InvocationState       `protobuf:"bytes,9,opt,name=root_invocation,json=rootInvocation,proto3" json:"root_invocation,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *SizeClassQueueState) Reset() {
	*x = SizeClassQueueState{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SizeClassQueueState) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SizeClassQueueState) ProtoMessage() {}

func (x *SizeClassQueueState) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[5]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SizeClassQueueState.ProtoReflect.Descriptor instead.
func (*SizeClassQueueState) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{5}
}

func (x *SizeClassQueueState) GetSizeClass() uint32 {
	if x != nil {
		return x.SizeClass
	}
	return 0
}

func (x *SizeClassQueueState) GetTimeout() *timestamppb.Timestamp {
	if x != nil {
		return x.Timeout
	}
	return nil
}

func (x *SizeClassQueueState) GetWorkersCount() uint32 {
	if x != nil {
		return x.WorkersCount
	}
	return 0
}

func (x *SizeClassQueueState) GetDrainsCount() uint32 {
	if x != nil {
		return x.DrainsCount
	}
	return 0
}

func (x *SizeClassQueueState) GetRootInvocation() *InvocationState {
	if x != nil {
		return x.RootInvocation
	}
	return nil
}

type PlatformQueueState struct {
	state           protoimpl.MessageState `protogen:"open.v1"`
	Name            *PlatformQueueName     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	SizeClassQueues []*SizeClassQueueState `protobuf:"bytes,2,rep,name=size_class_queues,json=sizeClassQueues,proto3" json:"size_class_queues,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *PlatformQueueState) Reset() {
	*x = PlatformQueueState{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[6]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *PlatformQueueState) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PlatformQueueState) ProtoMessage() {}

func (x *PlatformQueueState) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[6]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PlatformQueueState.ProtoReflect.Descriptor instead.
func (*PlatformQueueState) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{6}
}

func (x *PlatformQueueState) GetName() *PlatformQueueName {
	if x != nil {
		return x.Name
	}
	return nil
}

func (x *PlatformQueueState) GetSizeClassQueues() []*SizeClassQueueState {
	if x != nil {
		return x.SizeClassQueues
	}
	return nil
}

type InvocationState struct {
	state                         protoimpl.MessageState                 `protogen:"open.v1"`
	QueuedOperationsCount         *InvocationState_InvocationObjectCount `protobuf:"bytes,2,opt,name=queued_operations_count,json=queuedOperationsCount,proto3" json:"queued_operations_count,omitempty"`
	ExecutingWorkersCount         uint32                                 `protobuf:"varint,4,opt,name=executing_workers_count,json=executingWorkersCount,proto3" json:"executing_workers_count,omitempty"`
	IdleWorkersCount              uint32                                 `protobuf:"varint,5,opt,name=idle_workers_count,json=idleWorkersCount,proto3" json:"idle_workers_count,omitempty"`
	IdleSynchronizingWorkersCount uint32                                 `protobuf:"varint,6,opt,name=idle_synchronizing_workers_count,json=idleSynchronizingWorkersCount,proto3" json:"idle_synchronizing_workers_count,omitempty"`
	ChildrenCount                 uint32                                 `protobuf:"varint,7,opt,name=children_count,json=childrenCount,proto3" json:"children_count,omitempty"`
	ActiveChildrenCount           uint32                                 `protobuf:"varint,8,opt,name=active_children_count,json=activeChildrenCount,proto3" json:"active_children_count,omitempty"`
	QueuedChildrenCount           uint32                                 `protobuf:"varint,9,opt,name=queued_children_count,json=queuedChildrenCount,proto3" json:"queued_children_count,omitempty"`
	unknownFields                 protoimpl.UnknownFields
	sizeCache                     protoimpl.SizeCache
}

func (x *InvocationState) Reset() {
	*x = InvocationState{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[7]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *InvocationState) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*InvocationState) ProtoMessage() {}

func (x *InvocationState) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[7]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use InvocationState.ProtoReflect.Descriptor instead.
func (*InvocationState) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{7}
}

func (x *InvocationState) GetQueuedOperationsCount() *InvocationState_InvocationObjectCount {
	if x != nil {
		return x.QueuedOperationsCount
	}
	return nil
}

func (x *InvocationState) GetExecutingWorkersCount() uint32 {
	if x != nil {
		return x.ExecutingWorkersCount
	}
	return 0
}

func (x *InvocationState) GetIdleWorkersCount() uint32 {
	if x != nil {
		return x.IdleWorkersCount
	}
	return 0
}

func (x *InvocationState) GetIdleSynchronizingWorkersCount() uint32 {
	if x != nil {
		return x.IdleSynchronizingWorkersCount
	}
	return 0
}

func (x *InvocationState) GetChildrenCount() uint32 {
	if x != nil {
		return x.ChildrenCount
	}
	return 0
}

func (x *InvocationState) GetActiveChildrenCount() uint32 {
	if x != nil {
		return x.ActiveChildrenCount
	}
	return 0
}

func (x *InvocationState) GetQueuedChildrenCount() uint32 {
	if x != nil {
		return x.QueuedChildrenCount
	}
	return 0
}

type InvocationChildState struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            *anypb.Any             `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	State         *InvocationState       `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *InvocationChildState) Reset() {
	*x = InvocationChildState{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[8]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *InvocationChildState) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*InvocationChildState) ProtoMessage() {}

func (x *InvocationChildState) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[8]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use InvocationChildState.ProtoReflect.Descriptor instead.
func (*InvocationChildState) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{8}
}

func (x *InvocationChildState) GetId() *anypb.Any {
	if x != nil {
		return x.Id
	}
	return nil
}

func (x *InvocationChildState) GetState() *InvocationState {
	if x != nil {
		return x.State
	}
	return nil
}

type WorkerState struct {
	state            protoimpl.MessageState `protogen:"open.v1"`
	Id               map[string]string      `protobuf:"bytes,1,rep,name=id,proto3" json:"id,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	Timeout          *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
	CurrentOperation *OperationState        `protobuf:"bytes,3,opt,name=current_operation,json=currentOperation,proto3" json:"current_operation,omitempty"`
	Drained          bool                   `protobuf:"varint,4,opt,name=drained,proto3" json:"drained,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

func (x *WorkerState) Reset() {
	*x = WorkerState{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[9]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *WorkerState) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*WorkerState) ProtoMessage() {}

func (x *WorkerState) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[9]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use WorkerState.ProtoReflect.Descriptor instead.
func (*WorkerState) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{9}
}

func (x *WorkerState) GetId() map[string]string {
	if x != nil {
		return x.Id
	}
	return nil
}

func (x *WorkerState) GetTimeout() *timestamppb.Timestamp {
	if x != nil {
		return x.Timeout
	}
	return nil
}

func (x *WorkerState) GetCurrentOperation() *OperationState {
	if x != nil {
		return x.CurrentOperation
	}
	return nil
}

func (x *WorkerState) GetDrained() bool {
	if x != nil {
		return x.Drained
	}
	return false
}

type DrainState struct {
	state            protoimpl.MessageState `protogen:"open.v1"`
	WorkerIdPattern  map[string]string      `protobuf:"bytes,1,rep,name=worker_id_pattern,json=workerIdPattern,proto3" json:"worker_id_pattern,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	CreatedTimestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_timestamp,json=createdTimestamp,proto3" json:"created_timestamp,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

func (x *DrainState) Reset() {
	*x = DrainState{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[10]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *DrainState) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*DrainState) ProtoMessage() {}

func (x *DrainState) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[10]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use DrainState.ProtoReflect.Descriptor instead.
func (*DrainState) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{10}
}

func (x *DrainState) GetWorkerIdPattern() map[string]string {
	if x != nil {
		return x.WorkerIdPattern
	}
	return nil
}

func (x *DrainState) GetCreatedTimestamp() *timestamppb.Timestamp {
	if x != nil {
		return x.CreatedTimestamp
	}
	return nil
}

type GetOperationRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	OperationName string                 `protobuf:"bytes,1,opt,name=operation_name,json=operationName,proto3" json:"operation_name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetOperationRequest) Reset() {
	*x = GetOperationRequest{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[11]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetOperationRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetOperationRequest) ProtoMessage() {}

func (x *GetOperationRequest) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[11]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetOperationRequest.ProtoReflect.Descriptor instead.
func (*GetOperationRequest) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{11}
}

func (x *GetOperationRequest) GetOperationName() string {
	if x != nil {
		return x.OperationName
	}
	return ""
}

type GetOperationResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Operation     *OperationState        `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetOperationResponse) Reset() {
	*x = GetOperationResponse{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[12]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetOperationResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetOperationResponse) ProtoMessage() {}

func (x *GetOperationResponse) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[12]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetOperationResponse.ProtoReflect.Descriptor instead.
func (*GetOperationResponse) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{12}
}

func (x *GetOperationResponse) GetOperation() *OperationState {
	if x != nil {
		return x.Operation
	}
	return nil
}

type ListOperationsRequest struct {
	state              protoimpl.MessageState            `protogen:"open.v1"`
	PageSize           uint32                            `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	StartAfter         *ListOperationsRequest_StartAfter `protobuf:"bytes,2,opt,name=start_after,json=startAfter,proto3" json:"start_after,omitempty"`
	FilterInvocationId *anypb.Any                        `protobuf:"bytes,3,opt,name=filter_invocation_id,json=filterInvocationId,proto3" json:"filter_invocation_id,omitempty"`
	FilterStage        v2.ExecutionStage_Value           `protobuf:"varint,4,opt,name=filter_stage,json=filterStage,proto3,enum=build.bazel.remote.execution.v2.ExecutionStage_Value" json:"filter_stage,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

func (x *ListOperationsRequest) Reset() {
	*x = ListOperationsRequest{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[13]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListOperationsRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListOperationsRequest) ProtoMessage() {}

func (x *ListOperationsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[13]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListOperationsRequest.ProtoReflect.Descriptor instead.
func (*ListOperationsRequest) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{13}
}

func (x *ListOperationsRequest) GetPageSize() uint32 {
	if x != nil {
		return x.PageSize
	}
	return 0
}

func (x *ListOperationsRequest) GetStartAfter() *ListOperationsRequest_StartAfter {
	if x != nil {
		return x.StartAfter
	}
	return nil
}

func (x *ListOperationsRequest) GetFilterInvocationId() *anypb.Any {
	if x != nil {
		return x.FilterInvocationId
	}
	return nil
}

func (x *ListOperationsRequest) GetFilterStage() v2.ExecutionStage_Value {
	if x != nil {
		return x.FilterStage
	}
	return v2.ExecutionStage_Value(0)
}

type ListOperationsResponse struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	Operations     []*OperationState      `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"`
	PaginationInfo *PaginationInfo        `protobuf:"bytes,2,opt,name=pagination_info,json=paginationInfo,proto3" json:"pagination_info,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *ListOperationsResponse) Reset() {
	*x = ListOperationsResponse{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[14]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListOperationsResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListOperationsResponse) ProtoMessage() {}

func (x *ListOperationsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[14]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListOperationsResponse.ProtoReflect.Descriptor instead.
func (*ListOperationsResponse) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{14}
}

func (x *ListOperationsResponse) GetOperations() []*OperationState {
	if x != nil {
		return x.Operations
	}
	return nil
}

func (x *ListOperationsResponse) GetPaginationInfo() *PaginationInfo {
	if x != nil {
		return x.PaginationInfo
	}
	return nil
}

type KillOperationsRequest struct {
	state         protoimpl.MessageState        `protogen:"open.v1"`
	Filter        *KillOperationsRequest_Filter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	Status        *status.Status                `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *KillOperationsRequest) Reset() {
	*x = KillOperationsRequest{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[15]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *KillOperationsRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*KillOperationsRequest) ProtoMessage() {}

func (x *KillOperationsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[15]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use KillOperationsRequest.ProtoReflect.Descriptor instead.
func (*KillOperationsRequest) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{15}
}

func (x *KillOperationsRequest) GetFilter() *KillOperationsRequest_Filter {
	if x != nil {
		return x.Filter
	}
	return nil
}

func (x *KillOperationsRequest) GetStatus() *status.Status {
	if x != nil {
		return x.Status
	}
	return nil
}

type ListPlatformQueuesResponse struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	PlatformQueues []*PlatformQueueState  `protobuf:"bytes,1,rep,name=platform_queues,json=platformQueues,proto3" json:"platform_queues,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *ListPlatformQueuesResponse) Reset() {
	*x = ListPlatformQueuesResponse{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[16]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListPlatformQueuesResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListPlatformQueuesResponse) ProtoMessage() {}

func (x *ListPlatformQueuesResponse) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[16]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListPlatformQueuesResponse.ProtoReflect.Descriptor instead.
func (*ListPlatformQueuesResponse) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{16}
}

func (x *ListPlatformQueuesResponse) GetPlatformQueues() []*PlatformQueueState {
	if x != nil {
		return x.PlatformQueues
	}
	return nil
}

type ListInvocationChildrenRequest struct {
	state          protoimpl.MessageState               `protogen:"open.v1"`
	InvocationName *InvocationName                      `protobuf:"bytes,1,opt,name=invocation_name,json=invocationName,proto3" json:"invocation_name,omitempty"`
	Filter         ListInvocationChildrenRequest_Filter `protobuf:"varint,2,opt,name=filter,proto3,enum=buildbarn.buildqueuestate.ListInvocationChildrenRequest_Filter" json:"filter,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *ListInvocationChildrenRequest) Reset() {
	*x = ListInvocationChildrenRequest{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[17]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListInvocationChildrenRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListInvocationChildrenRequest) ProtoMessage() {}

func (x *ListInvocationChildrenRequest) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[17]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListInvocationChildrenRequest.ProtoReflect.Descriptor instead.
func (*ListInvocationChildrenRequest) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{17}
}

func (x *ListInvocationChildrenRequest) GetInvocationName() *InvocationName {
	if x != nil {
		return x.InvocationName
	}
	return nil
}

func (x *ListInvocationChildrenRequest) GetFilter() ListInvocationChildrenRequest_Filter {
	if x != nil {
		return x.Filter
	}
	return ListInvocationChildrenRequest_ALL
}

type ListInvocationChildrenResponse struct {
	state         protoimpl.MessageState  `protogen:"open.v1"`
	Children      []*InvocationChildState `protobuf:"bytes,1,rep,name=children,proto3" json:"children,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListInvocationChildrenResponse) Reset() {
	*x = ListInvocationChildrenResponse{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[18]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListInvocationChildrenResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListInvocationChildrenResponse) ProtoMessage() {}

func (x *ListInvocationChildrenResponse) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[18]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListInvocationChildrenResponse.ProtoReflect.Descriptor instead.
func (*ListInvocationChildrenResponse) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{18}
}

func (x *ListInvocationChildrenResponse) GetChildren() []*InvocationChildState {
	if x != nil {
		return x.Children
	}
	return nil
}

type ListQueuedOperationsRequest struct {
	state          protoimpl.MessageState                  `protogen:"open.v1"`
	InvocationName *InvocationName                         `protobuf:"bytes,1,opt,name=invocation_name,json=invocationName,proto3" json:"invocation_name,omitempty"`
	PageSize       uint32                                  `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	StartAfter     *ListQueuedOperationsRequest_StartAfter `protobuf:"bytes,4,opt,name=start_after,json=startAfter,proto3" json:"start_after,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *ListQueuedOperationsRequest) Reset() {
	*x = ListQueuedOperationsRequest{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[19]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListQueuedOperationsRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListQueuedOperationsRequest) ProtoMessage() {}

func (x *ListQueuedOperationsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[19]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListQueuedOperationsRequest.ProtoReflect.Descriptor instead.
func (*ListQueuedOperationsRequest) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{19}
}

func (x *ListQueuedOperationsRequest) GetInvocationName() *InvocationName {
	if x != nil {
		return x.InvocationName
	}
	return nil
}

func (x *ListQueuedOperationsRequest) GetPageSize() uint32 {
	if x != nil {
		return x.PageSize
	}
	return 0
}

func (x *ListQueuedOperationsRequest) GetStartAfter() *ListQueuedOperationsRequest_StartAfter {
	if x != nil {
		return x.StartAfter
	}
	return nil
}

type ListQueuedOperationsResponse struct {
	state            protoimpl.MessageState `protogen:"open.v1"`
	QueuedOperations []*OperationState      `protobuf:"bytes,1,rep,name=queued_operations,json=queuedOperations,proto3" json:"queued_operations,omitempty"`
	PaginationInfo   *PaginationInfo        `protobuf:"bytes,2,opt,name=pagination_info,json=paginationInfo,proto3" json:"pagination_info,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

func (x *ListQueuedOperationsResponse) Reset() {
	*x = ListQueuedOperationsResponse{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[20]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListQueuedOperationsResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListQueuedOperationsResponse) ProtoMessage() {}

func (x *ListQueuedOperationsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[20]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListQueuedOperationsResponse.ProtoReflect.Descriptor instead.
func (*ListQueuedOperationsResponse) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{20}
}

func (x *ListQueuedOperationsResponse) GetQueuedOperations() []*OperationState {
	if x != nil {
		return x.QueuedOperations
	}
	return nil
}

func (x *ListQueuedOperationsResponse) GetPaginationInfo() *PaginationInfo {
	if x != nil {
		return x.PaginationInfo
	}
	return nil
}

type ListWorkersRequest struct {
	state         protoimpl.MessageState         `protogen:"open.v1"`
	Filter        *ListWorkersRequest_Filter     `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	PageSize      uint32                         `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	StartAfter    *ListWorkersRequest_StartAfter `protobuf:"bytes,4,opt,name=start_after,json=startAfter,proto3" json:"start_after,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListWorkersRequest) Reset() {
	*x = ListWorkersRequest{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[21]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListWorkersRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListWorkersRequest) ProtoMessage() {}

func (x *ListWorkersRequest) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[21]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListWorkersRequest.ProtoReflect.Descriptor instead.
func (*ListWorkersRequest) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{21}
}

func (x *ListWorkersRequest) GetFilter() *ListWorkersRequest_Filter {
	if x != nil {
		return x.Filter
	}
	return nil
}

func (x *ListWorkersRequest) GetPageSize() uint32 {
	if x != nil {
		return x.PageSize
	}
	return 0
}

func (x *ListWorkersRequest) GetStartAfter() *ListWorkersRequest_StartAfter {
	if x != nil {
		return x.StartAfter
	}
	return nil
}

type ListWorkersResponse struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	Workers        []*WorkerState         `protobuf:"bytes,1,rep,name=workers,proto3" json:"workers,omitempty"`
	PaginationInfo *PaginationInfo        `protobuf:"bytes,2,opt,name=pagination_info,json=paginationInfo,proto3" json:"pagination_info,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *ListWorkersResponse) Reset() {
	*x = ListWorkersResponse{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[22]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListWorkersResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListWorkersResponse) ProtoMessage() {}

func (x *ListWorkersResponse) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[22]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListWorkersResponse.ProtoReflect.Descriptor instead.
func (*ListWorkersResponse) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{22}
}

func (x *ListWorkersResponse) GetWorkers() []*WorkerState {
	if x != nil {
		return x.Workers
	}
	return nil
}

func (x *ListWorkersResponse) GetPaginationInfo() *PaginationInfo {
	if x != nil {
		return x.PaginationInfo
	}
	return nil
}

type TerminateWorkersRequest struct {
	state           protoimpl.MessageState `protogen:"open.v1"`
	WorkerIdPattern map[string]string      `protobuf:"bytes,1,rep,name=worker_id_pattern,json=workerIdPattern,proto3" json:"worker_id_pattern,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *TerminateWorkersRequest) Reset() {
	*x = TerminateWorkersRequest{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[23]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *TerminateWorkersRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*TerminateWorkersRequest) ProtoMessage() {}

func (x *TerminateWorkersRequest) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[23]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use TerminateWorkersRequest.ProtoReflect.Descriptor instead.
func (*TerminateWorkersRequest) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{23}
}

func (x *TerminateWorkersRequest) GetWorkerIdPattern() map[string]string {
	if x != nil {
		return x.WorkerIdPattern
	}
	return nil
}

type ListDrainsRequest struct {
	state              protoimpl.MessageState `protogen:"open.v1"`
	SizeClassQueueName *SizeClassQueueName    `protobuf:"bytes,1,opt,name=size_class_queue_name,json=sizeClassQueueName,proto3" json:"size_class_queue_name,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

func (x *ListDrainsRequest) Reset() {
	*x = ListDrainsRequest{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[24]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListDrainsRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListDrainsRequest) ProtoMessage() {}

func (x *ListDrainsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[24]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListDrainsRequest.ProtoReflect.Descriptor instead.
func (*ListDrainsRequest) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{24}
}

func (x *ListDrainsRequest) GetSizeClassQueueName() *SizeClassQueueName {
	if x != nil {
		return x.SizeClassQueueName
	}
	return nil
}

type ListDrainsResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Drains        []*DrainState          `protobuf:"bytes,1,rep,name=drains,proto3" json:"drains,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListDrainsResponse) Reset() {
	*x = ListDrainsResponse{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[25]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListDrainsResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListDrainsResponse) ProtoMessage() {}

func (x *ListDrainsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[25]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListDrainsResponse.ProtoReflect.Descriptor instead.
func (*ListDrainsResponse) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{25}
}

func (x *ListDrainsResponse) GetDrains() []*DrainState {
	if x != nil {
		return x.Drains
	}
	return nil
}

type AddOrRemoveDrainRequest struct {
	state              protoimpl.MessageState `protogen:"open.v1"`
	SizeClassQueueName *SizeClassQueueName    `protobuf:"bytes,1,opt,name=size_class_queue_name,json=sizeClassQueueName,proto3" json:"size_class_queue_name,omitempty"`
	WorkerIdPattern    map[string]string      `protobuf:"bytes,2,rep,name=worker_id_pattern,json=workerIdPattern,proto3" json:"worker_id_pattern,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

func (x *AddOrRemoveDrainRequest) Reset() {
	*x = AddOrRemoveDrainRequest{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[26]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AddOrRemoveDrainRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AddOrRemoveDrainRequest) ProtoMessage() {}

func (x *AddOrRemoveDrainRequest) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[26]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AddOrRemoveDrainRequest.ProtoReflect.Descriptor instead.
func (*AddOrRemoveDrainRequest) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{26}
}

func (x *AddOrRemoveDrainRequest) GetSizeClassQueueName() *SizeClassQueueName {
	if x != nil {
		return x.SizeClassQueueName
	}
	return nil
}

func (x *AddOrRemoveDrainRequest) GetWorkerIdPattern() map[string]string {
	if x != nil {
		return x.WorkerIdPattern
	}
	return nil
}

type BackgroundLearning struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *BackgroundLearning) Reset() {
	*x = BackgroundLearning{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[27]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *BackgroundLearning) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*BackgroundLearning) ProtoMessage() {}

func (x *BackgroundLearning) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[27]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use BackgroundLearning.ProtoReflect.Descriptor instead.
func (*BackgroundLearning) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{27}
}

type InvocationState_InvocationObjectCount struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Direct        uint32                 `protobuf:"varint,1,opt,name=direct,proto3" json:"direct,omitempty"`
	Indirect      uint32                 `protobuf:"varint,2,opt,name=indirect,proto3" json:"indirect,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *InvocationState_InvocationObjectCount) Reset() {
	*x = InvocationState_InvocationObjectCount{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[28]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *InvocationState_InvocationObjectCount) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*InvocationState_InvocationObjectCount) ProtoMessage() {}

func (x *InvocationState_InvocationObjectCount) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[28]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use InvocationState_InvocationObjectCount.ProtoReflect.Descriptor instead.
func (*InvocationState_InvocationObjectCount) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{7, 0}
}

func (x *InvocationState_InvocationObjectCount) GetDirect() uint32 {
	if x != nil {
		return x.Direct
	}
	return 0
}

func (x *InvocationState_InvocationObjectCount) GetIndirect() uint32 {
	if x != nil {
		return x.Indirect
	}
	return 0
}

type ListOperationsRequest_StartAfter struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	OperationName string                 `protobuf:"bytes,1,opt,name=operation_name,json=operationName,proto3" json:"operation_name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListOperationsRequest_StartAfter) Reset() {
	*x = ListOperationsRequest_StartAfter{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[31]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListOperationsRequest_StartAfter) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListOperationsRequest_StartAfter) ProtoMessage() {}

func (x *ListOperationsRequest_StartAfter) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[31]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListOperationsRequest_StartAfter.ProtoReflect.Descriptor instead.
func (*ListOperationsRequest_StartAfter) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{13, 0}
}

func (x *ListOperationsRequest_StartAfter) GetOperationName() string {
	if x != nil {
		return x.OperationName
	}
	return ""
}

type KillOperationsRequest_Filter struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Types that are valid to be assigned to Type:
	//
	//	*KillOperationsRequest_Filter_OperationName
	//	*KillOperationsRequest_Filter_SizeClassQueueWithoutWorkers
	Type          isKillOperationsRequest_Filter_Type `protobuf_oneof:"type"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *KillOperationsRequest_Filter) Reset() {
	*x = KillOperationsRequest_Filter{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[32]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *KillOperationsRequest_Filter) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*KillOperationsRequest_Filter) ProtoMessage() {}

func (x *KillOperationsRequest_Filter) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[32]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use KillOperationsRequest_Filter.ProtoReflect.Descriptor instead.
func (*KillOperationsRequest_Filter) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{15, 0}
}

func (x *KillOperationsRequest_Filter) GetType() isKillOperationsRequest_Filter_Type {
	if x != nil {
		return x.Type
	}
	return nil
}

func (x *KillOperationsRequest_Filter) GetOperationName() string {
	if x != nil {
		if x, ok := x.Type.(*KillOperationsRequest_Filter_OperationName); ok {
			return x.OperationName
		}
	}
	return ""
}

func (x *KillOperationsRequest_Filter) GetSizeClassQueueWithoutWorkers() *SizeClassQueueName {
	if x != nil {
		if x, ok := x.Type.(*KillOperationsRequest_Filter_SizeClassQueueWithoutWorkers); ok {
			return x.SizeClassQueueWithoutWorkers
		}
	}
	return nil
}

type isKillOperationsRequest_Filter_Type interface {
	isKillOperationsRequest_Filter_Type()
}

type KillOperationsRequest_Filter_OperationName struct {
	OperationName string `protobuf:"bytes,1,opt,name=operation_name,json=operationName,proto3,oneof"`
}

type KillOperationsRequest_Filter_SizeClassQueueWithoutWorkers struct {
	SizeClassQueueWithoutWorkers *SizeClassQueueName `protobuf:"bytes,2,opt,name=size_class_queue_without_workers,json=sizeClassQueueWithoutWorkers,proto3,oneof"`
}

func (*KillOperationsRequest_Filter_OperationName) isKillOperationsRequest_Filter_Type() {}

func (*KillOperationsRequest_Filter_SizeClassQueueWithoutWorkers) isKillOperationsRequest_Filter_Type() {
}

type ListQueuedOperationsRequest_StartAfter struct {
	state            protoimpl.MessageState `protogen:"open.v1"`
	Priority         int32                  `protobuf:"varint,1,opt,name=priority,proto3" json:"priority,omitempty"`
	ExpectedDuration *durationpb.Duration   `protobuf:"bytes,3,opt,name=expected_duration,json=expectedDuration,proto3" json:"expected_duration,omitempty"`
	QueuedTimestamp  *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=queued_timestamp,json=queuedTimestamp,proto3" json:"queued_timestamp,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

func (x *ListQueuedOperationsRequest_StartAfter) Reset() {
	*x = ListQueuedOperationsRequest_StartAfter{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[33]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListQueuedOperationsRequest_StartAfter) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListQueuedOperationsRequest_StartAfter) ProtoMessage() {}

func (x *ListQueuedOperationsRequest_StartAfter) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[33]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListQueuedOperationsRequest_StartAfter.ProtoReflect.Descriptor instead.
func (*ListQueuedOperationsRequest_StartAfter) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{19, 0}
}

func (x *ListQueuedOperationsRequest_StartAfter) GetPriority() int32 {
	if x != nil {
		return x.Priority
	}
	return 0
}

func (x *ListQueuedOperationsRequest_StartAfter) GetExpectedDuration() *durationpb.Duration {
	if x != nil {
		return x.ExpectedDuration
	}
	return nil
}

func (x *ListQueuedOperationsRequest_StartAfter) GetQueuedTimestamp() *timestamppb.Timestamp {
	if x != nil {
		return x.QueuedTimestamp
	}
	return nil
}

type ListWorkersRequest_Filter struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Types that are valid to be assigned to Type:
	//
	//	*ListWorkersRequest_Filter_All
	//	*ListWorkersRequest_Filter_Executing
	//	*ListWorkersRequest_Filter_IdleSynchronizing
	Type          isListWorkersRequest_Filter_Type `protobuf_oneof:"type"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListWorkersRequest_Filter) Reset() {
	*x = ListWorkersRequest_Filter{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[34]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListWorkersRequest_Filter) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListWorkersRequest_Filter) ProtoMessage() {}

func (x *ListWorkersRequest_Filter) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[34]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListWorkersRequest_Filter.ProtoReflect.Descriptor instead.
func (*ListWorkersRequest_Filter) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{21, 0}
}

func (x *ListWorkersRequest_Filter) GetType() isListWorkersRequest_Filter_Type {
	if x != nil {
		return x.Type
	}
	return nil
}

func (x *ListWorkersRequest_Filter) GetAll() *SizeClassQueueName {
	if x != nil {
		if x, ok := x.Type.(*ListWorkersRequest_Filter_All); ok {
			return x.All
		}
	}
	return nil
}

func (x *ListWorkersRequest_Filter) GetExecuting() *InvocationName {
	if x != nil {
		if x, ok := x.Type.(*ListWorkersRequest_Filter_Executing); ok {
			return x.Executing
		}
	}
	return nil
}

func (x *ListWorkersRequest_Filter) GetIdleSynchronizing() *InvocationName {
	if x != nil {
		if x, ok := x.Type.(*ListWorkersRequest_Filter_IdleSynchronizing); ok {
			return x.IdleSynchronizing
		}
	}
	return nil
}

type isListWorkersRequest_Filter_Type interface {
	isListWorkersRequest_Filter_Type()
}

type ListWorkersRequest_Filter_All struct {
	All *SizeClassQueueName `protobuf:"bytes,1,opt,name=all,proto3,oneof"`
}

type ListWorkersRequest_Filter_Executing struct {
	Executing *InvocationName `protobuf:"bytes,2,opt,name=executing,proto3,oneof"`
}

type ListWorkersRequest_Filter_IdleSynchronizing struct {
	IdleSynchronizing *InvocationName `protobuf:"bytes,3,opt,name=idle_synchronizing,json=idleSynchronizing,proto3,oneof"`
}

func (*ListWorkersRequest_Filter_All) isListWorkersRequest_Filter_Type() {}

func (*ListWorkersRequest_Filter_Executing) isListWorkersRequest_Filter_Type() {}

func (*ListWorkersRequest_Filter_IdleSynchronizing) isListWorkersRequest_Filter_Type() {}

type ListWorkersRequest_StartAfter struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	WorkerId      map[string]string      `protobuf:"bytes,1,rep,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListWorkersRequest_StartAfter) Reset() {
	*x = ListWorkersRequest_StartAfter{}
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[35]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListWorkersRequest_StartAfter) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListWorkersRequest_StartAfter) ProtoMessage() {}

func (x *ListWorkersRequest_StartAfter) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[35]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListWorkersRequest_StartAfter.ProtoReflect.Descriptor instead.
func (*ListWorkersRequest_StartAfter) Descriptor() ([]byte, []int) {
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP(), []int{21, 1}
}

func (x *ListWorkersRequest_StartAfter) GetWorkerId() map[string]string {
	if x != nil {
		return x.WorkerId
	}
	return nil
}

var File_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto protoreflect.FileDescriptor

const file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDesc = "" +
	"\n" +
	"Xgithub.com/buildbarn/bb-remote-execution/pkg/proto/buildqueuestate/buildqueuestate.proto\x12\x19buildbarn.buildqueuestate\x1a6build/bazel/remote/execution/v2/remote_execution.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"V\n" +
	"\x0ePaginationInfo\x12\x1f\n" +
	"\vstart_index\x18\x01 \x01(\rR\n" +
	"startIndex\x12#\n" +
	"\rtotal_entries\x18\x02 \x01(\rR\ftotalEntries\"\x8c\x01\n" +
	"\x11PlatformQueueName\x120\n" +
	"\x14instance_name_prefix\x18\x01 \x01(\tR\x12instanceNamePrefix\x12E\n" +
	"\bplatform\x18\x02 \x01(\v2).build.bazel.remote.execution.v2.PlatformR\bplatform\"\x91\x01\n" +
	"\x12SizeClassQueueName\x12\\\n" +
	"\x13platform_queue_name\x18\x01 \x01(\v2,.buildbarn.buildqueuestate.PlatformQueueNameR\x11platformQueueName\x12\x1d\n" +
	"\n" +
	"size_class\x18\x02 \x01(\rR\tsizeClass\"\x9a\x01\n" +
	"\x0eInvocationName\x12`\n" +
	"\x15size_class_queue_name\x18\x01 \x01(\v2-.buildbarn.buildqueuestate.SizeClassQueueNameR\x12sizeClassQueueName\x12&\n" +
	"\x03ids\x18\x02 \x03(\v2\x14.google.protobuf.AnyR\x03ids\"\xa7\x06\n" +
	"\x0eOperationState\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12R\n" +
	"\x0finvocation_name\x18\x02 \x01(\v2).buildbarn.buildqueuestate.InvocationNameR\x0einvocationName\x12F\n" +
	"\x11expected_duration\x18\x0e \x01(\v2\x19.google.protobuf.DurationR\x10expectedDuration\x12E\n" +
	"\x10queued_timestamp\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\x0fqueuedTimestamp\x12L\n" +
	"\raction_digest\x18\x05 \x01(\v2'.build.bazel.remote.execution.v2.DigestR\factionDigest\x124\n" +
	"\atimeout\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\atimeout\x120\n" +
	"\x06queued\x18\b \x01(\v2\x16.google.protobuf.EmptyH\x00R\x06queued\x126\n" +
	"\texecuting\x18\t \x01(\v2\x16.google.protobuf.EmptyH\x00R\texecuting\x12P\n" +
	"\tcompleted\x18\n" +
	" \x01(\v20.build.bazel.remote.execution.v2.ExecuteResponseH\x00R\tcompleted\x12\x1b\n" +
	"\ttarget_id\x18\v \x01(\tR\btargetId\x12\x1a\n" +
	"\bpriority\x18\f \x01(\x05R\bpriority\x120\n" +
	"\x14instance_name_suffix\x18\r \x01(\tR\x12instanceNameSuffix\x12^\n" +
	"\x0fdigest_function\x18\x0f \x01(\x0e25.build.bazel.remote.execution.v2.DigestFunction.ValueR\x0edigestFunctionB\a\n" +
	"\x05stageJ\x04\b\x03\x10\x04J\x04\b\x06\x10\a\"\x9f\x02\n" +
	"\x13SizeClassQueueState\x12\x1d\n" +
	"\n" +
	"size_class\x18\x01 \x01(\rR\tsizeClass\x124\n" +
	"\atimeout\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\atimeout\x12#\n" +
	"\rworkers_count\x18\x05 \x01(\rR\fworkersCount\x12!\n" +
	"\fdrains_count\x18\a \x01(\rR\vdrainsCount\x12S\n" +
	"\x0froot_invocation\x18\t \x01(\v2*.buildbarn.buildqueuestate.InvocationStateR\x0erootInvocationJ\x04\b\x03\x10\x04J\x04\b\x04\x10\x05J\x04\b\x06\x10\aJ\x04\b\b\x10\t\"\xb2\x01\n" +
	"\x12PlatformQueueState\x12@\n" +
	"\x04name\x18\x01 \x01(\v2,.buildbarn.buildqueuestate.PlatformQueueNameR\x04name\x12Z\n" +
	"\x11size_class_queues\x18\x02 \x03(\v2..buildbarn.buildqueuestate.SizeClassQueueStateR\x0fsizeClassQueues\"\xa2\x04\n" +
	"\x0fInvocationState\x12x\n" +
	"\x17queued_operations_count\x18\x02 \x01(\v2@.buildbarn.buildqueuestate.InvocationState.InvocationObjectCountR\x15queuedOperationsCount\x126\n" +
	"\x17executing_workers_count\x18\x04 \x01(\rR\x15executingWorkersCount\x12,\n" +
	"\x12idle_workers_count\x18\x05 \x01(\rR\x10idleWorkersCount\x12G\n" +
	" idle_synchronizing_workers_count\x18\x06 \x01(\rR\x1didleSynchronizingWorkersCount\x12%\n" +
	"\x0echildren_count\x18\a \x01(\rR\rchildrenCount\x122\n" +
	"\x15active_children_count\x18\b \x01(\rR\x13activeChildrenCount\x122\n" +
	"\x15queued_children_count\x18\t \x01(\rR\x13queuedChildrenCount\x1aK\n" +
	"\x15InvocationObjectCount\x12\x16\n" +
	"\x06direct\x18\x01 \x01(\rR\x06direct\x12\x1a\n" +
	"\bindirect\x18\x02 \x01(\rR\bindirectJ\x04\b\x01\x10\x02J\x04\b\x03\x10\x04\"~\n" +
	"\x14InvocationChildState\x12$\n" +
	"\x02id\x18\x01 \x01(\v2\x14.google.protobuf.AnyR\x02id\x12@\n" +
	"\x05state\x18\x02 \x01(\v2*.buildbarn.buildqueuestate.InvocationStateR\x05state\"\xac\x02\n" +
	"\vWorkerState\x12>\n" +
	"\x02id\x18\x01 \x03(\v2..buildbarn.buildqueuestate.WorkerState.IdEntryR\x02id\x124\n" +
	"\atimeout\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\atimeout\x12V\n" +
	"\x11current_operation\x18\x03 \x01(\v2).buildbarn.buildqueuestate.OperationStateR\x10currentOperation\x12\x18\n" +
	"\adrained\x18\x04 \x01(\bR\adrained\x1a5\n" +
	"\aIdEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x81\x02\n" +
	"\n" +
	"DrainState\x12f\n" +
	"\x11worker_id_pattern\x18\x01 \x03(\v2:.buildbarn.buildqueuestate.DrainState.WorkerIdPatternEntryR\x0fworkerIdPattern\x12G\n" +
	"\x11created_timestamp\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\x10createdTimestamp\x1aB\n" +
	"\x14WorkerIdPatternEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"<\n" +
	"\x13GetOperationRequest\x12%\n" +
	"\x0eoperation_name\x18\x01 \x01(\tR\roperationName\"_\n" +
	"\x14GetOperationResponse\x12G\n" +
	"\toperation\x18\x01 \x01(\v2).buildbarn.buildqueuestate.OperationStateR\toperation\"\xe9\x02\n" +
	"\x15ListOperationsRequest\x12\x1b\n" +
	"\tpage_size\x18\x01 \x01(\rR\bpageSize\x12\\\n" +
	"\vstart_after\x18\x02 \x01(\v2;.buildbarn.buildqueuestate.ListOperationsRequest.StartAfterR\n" +
	"startAfter\x12F\n" +
	"\x14filter_invocation_id\x18\x03 \x01(\v2\x14.google.protobuf.AnyR\x12filterInvocationId\x12X\n" +
	"\ffilter_stage\x18\x04 \x01(\x0e25.build.bazel.remote.execution.v2.ExecutionStage.ValueR\vfilterStage\x1a3\n" +
	"\n" +
	"StartAfter\x12%\n" +
	"\x0eoperation_name\x18\x01 \x01(\tR\roperationName\"\xb7\x01\n" +
	"\x16ListOperationsResponse\x12I\n" +
	"\n" +
	"operations\x18\x01 \x03(\v2).buildbarn.buildqueuestate.OperationStateR\n" +
	"operations\x12R\n" +
	"\x0fpagination_info\x18\x02 \x01(\v2).buildbarn.buildqueuestate.PaginationInfoR\x0epaginationInfo\"\xc9\x02\n" +
	"\x15KillOperationsRequest\x12O\n" +
	"\x06filter\x18\x01 \x01(\v27.buildbarn.buildqueuestate.KillOperationsRequest.FilterR\x06filter\x12*\n" +
	"\x06status\x18\x02 \x01(\v2\x12.google.rpc.StatusR\x06status\x1a\xb2\x01\n" +
	"\x06Filter\x12'\n" +
	"\x0eoperation_name\x18\x01 \x01(\tH\x00R\roperationName\x12w\n" +
	" size_class_queue_without_workers\x18\x02 \x01(\v2-.buildbarn.buildqueuestate.SizeClassQueueNameH\x00R\x1csizeClassQueueWithoutWorkersB\x06\n" +
	"\x04type\"t\n" +
	"\x1aListPlatformQueuesResponse\x12V\n" +
	"\x0fplatform_queues\x18\x01 \x03(\v2-.buildbarn.buildqueuestate.PlatformQueueStateR\x0eplatformQueues\"\xf7\x01\n" +
	"\x1dListInvocationChildrenRequest\x12R\n" +
	"\x0finvocation_name\x18\x01 \x01(\v2).buildbarn.buildqueuestate.InvocationNameR\x0einvocationName\x12W\n" +
	"\x06filter\x18\x02 \x01(\x0e2?.buildbarn.buildqueuestate.ListInvocationChildrenRequest.FilterR\x06filter\")\n" +
	"\x06Filter\x12\a\n" +
	"\x03ALL\x10\x00\x12\n" +
	"\n" +
	"\x06ACTIVE\x10\x01\x12\n" +
	"\n" +
	"\x06QUEUED\x10\x02\"m\n" +
	"\x1eListInvocationChildrenResponse\x12K\n" +
	"\bchildren\x18\x01 \x03(\v2/.buildbarn.buildqueuestate.InvocationChildStateR\bchildren\"\xb2\x03\n" +
	"\x1bListQueuedOperationsRequest\x12R\n" +
	"\x0finvocation_name\x18\x01 \x01(\v2).buildbarn.buildqueuestate.InvocationNameR\x0einvocationName\x12\x1b\n" +
	"\tpage_size\x18\x03 \x01(\rR\bpageSize\x12b\n" +
	"\vstart_after\x18\x04 \x01(\v2A.buildbarn.buildqueuestate.ListQueuedOperationsRequest.StartAfterR\n" +
	"startAfter\x1a\xb7\x01\n" +
	"\n" +
	"StartAfter\x12\x1a\n" +
	"\bpriority\x18\x01 \x01(\x05R\bpriority\x12F\n" +
	"\x11expected_duration\x18\x03 \x01(\v2\x19.google.protobuf.DurationR\x10expectedDuration\x12E\n" +
	"\x10queued_timestamp\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\x0fqueuedTimestampJ\x04\b\x02\x10\x03\"\xca\x01\n" +
	"\x1cListQueuedOperationsResponse\x12V\n" +
	"\x11queued_operations\x18\x01 \x03(\v2).buildbarn.buildqueuestate.OperationStateR\x10queuedOperations\x12R\n" +
	"\x0fpagination_info\x18\x02 \x01(\v2).buildbarn.buildqueuestate.PaginationInfoR\x0epaginationInfo\"\x88\x05\n" +
	"\x12ListWorkersRequest\x12L\n" +
	"\x06filter\x18\x01 \x01(\v24.buildbarn.buildqueuestate.ListWorkersRequest.FilterR\x06filter\x12\x1b\n" +
	"\tpage_size\x18\x03 \x01(\rR\bpageSize\x12Y\n" +
	"\vstart_after\x18\x04 \x01(\v28.buildbarn.buildqueuestate.ListWorkersRequest.StartAfterR\n" +
	"startAfter\x1a\xfa\x01\n" +
	"\x06Filter\x12A\n" +
	"\x03all\x18\x01 \x01(\v2-.buildbarn.buildqueuestate.SizeClassQueueNameH\x00R\x03all\x12I\n" +
	"\texecuting\x18\x02 \x01(\v2).buildbarn.buildqueuestate.InvocationNameH\x00R\texecuting\x12Z\n" +
	"\x12idle_synchronizing\x18\x03 \x01(\v2).buildbarn.buildqueuestate.InvocationNameH\x00R\x11idleSynchronizingB\x06\n" +
	"\x04type\x1a\xae\x01\n" +
	"\n" +
	"StartAfter\x12c\n" +
	"\tworker_id\x18\x01 \x03(\v2F.buildbarn.buildqueuestate.ListWorkersRequest.StartAfter.WorkerIdEntryR\bworkerId\x1a;\n" +
	"\rWorkerIdEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xab\x01\n" +
	"\x13ListWorkersResponse\x12@\n" +
	"\aworkers\x18\x01 \x03(\v2&.buildbarn.buildqueuestate.WorkerStateR\aworkers\x12R\n" +
	"\x0fpagination_info\x18\x02 \x01(\v2).buildbarn.buildqueuestate.PaginationInfoR\x0epaginationInfo\"\xd2\x01\n" +
	"\x17TerminateWorkersRequest\x12s\n" +
	"\x11worker_id_pattern\x18\x01 \x03(\v2G.buildbarn.buildqueuestate.TerminateWorkersRequest.WorkerIdPatternEntryR\x0fworkerIdPattern\x1aB\n" +
	"\x14WorkerIdPatternEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"u\n" +
	"\x11ListDrainsRequest\x12`\n" +
	"\x15size_class_queue_name\x18\x01 \x01(\v2-.buildbarn.buildqueuestate.SizeClassQueueNameR\x12sizeClassQueueName\"S\n" +
	"\x12ListDrainsResponse\x12=\n" +
	"\x06drains\x18\x01 \x03(\v2%.buildbarn.buildqueuestate.DrainStateR\x06drains\"\xb4\x02\n" +
	"\x17AddOrRemoveDrainRequest\x12`\n" +
	"\x15size_class_queue_name\x18\x01 \x01(\v2-.buildbarn.buildqueuestate.SizeClassQueueNameR\x12sizeClassQueueName\x12s\n" +
	"\x11worker_id_pattern\x18\x02 \x03(\v2G.buildbarn.buildqueuestate.AddOrRemoveDrainRequest.WorkerIdPatternEntryR\x0fworkerIdPattern\x1aB\n" +
	"\x14WorkerIdPatternEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x14\n" +
	"\x12BackgroundLearning2\xc0\t\n" +
	"\x0fBuildQueueState\x12o\n" +
	"\fGetOperation\x12..buildbarn.buildqueuestate.GetOperationRequest\x1a/.buildbarn.buildqueuestate.GetOperationResponse\x12u\n" +
	"\x0eListOperations\x120.buildbarn.buildqueuestate.ListOperationsRequest\x1a1.buildbarn.buildqueuestate.ListOperationsResponse\x12Z\n" +
	"\x0eKillOperations\x120.buildbarn.buildqueuestate.KillOperationsRequest\x1a\x16.google.protobuf.Empty\x12c\n" +
	"\x12ListPlatformQueues\x12\x16.google.protobuf.Empty\x1a5.buildbarn.buildqueuestate.ListPlatformQueuesResponse\x12\x8d\x01\n" +
	"\x16ListInvocationChildren\x128.buildbarn.buildqueuestate.ListInvocationChildrenRequest\x1a9.buildbarn.buildqueuestate.ListInvocationChildrenResponse\x12\x87\x01\n" +
	"\x14ListQueuedOperations\x126.buildbarn.buildqueuestate.ListQueuedOperationsRequest\x1a7.buildbarn.buildqueuestate.ListQueuedOperationsResponse\x12l\n" +
	"\vListWorkers\x12-.buildbarn.buildqueuestate.ListWorkersRequest\x1a..buildbarn.buildqueuestate.ListWorkersResponse\x12^\n" +
	"\x10TerminateWorkers\x122.buildbarn.buildqueuestate.TerminateWorkersRequest\x1a\x16.google.protobuf.Empty\x12i\n" +
	"\n" +
	"ListDrains\x12,.buildbarn.buildqueuestate.ListDrainsRequest\x1a-.buildbarn.buildqueuestate.ListDrainsResponse\x12V\n" +
	"\bAddDrain\x122.buildbarn.buildqueuestate.AddOrRemoveDrainRequest\x1a\x16.google.protobuf.Empty\x12Y\n" +
	"\vRemoveDrain\x122.buildbarn.buildqueuestate.AddOrRemoveDrainRequest\x1a\x16.google.protobuf.EmptyBDZBgithub.com/buildbarn/bb-remote-execution/pkg/proto/buildqueuestateb\x06proto3"

var (
	file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescOnce sync.Once
	file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescData []byte
)

func file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescGZIP() []byte {
	file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescOnce.Do(func() {
		file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDesc), len(file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDesc)))
	})
	return file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDescData
}

var file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes = make([]protoimpl.MessageInfo, 39)
var file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_goTypes = []any{
	(ListInvocationChildrenRequest_Filter)(0),     // 0: buildbarn.buildqueuestate.ListInvocationChildrenRequest.Filter
	(*PaginationInfo)(nil),                        // 1: buildbarn.buildqueuestate.PaginationInfo
	(*PlatformQueueName)(nil),                     // 2: buildbarn.buildqueuestate.PlatformQueueName
	(*SizeClassQueueName)(nil),                    // 3: buildbarn.buildqueuestate.SizeClassQueueName
	(*InvocationName)(nil),                        // 4: buildbarn.buildqueuestate.InvocationName
	(*OperationState)(nil),                        // 5: buildbarn.buildqueuestate.OperationState
	(*SizeClassQueueState)(nil),                   // 6: buildbarn.buildqueuestate.SizeClassQueueState
	(*PlatformQueueState)(nil),                    // 7: buildbarn.buildqueuestate.PlatformQueueState
	(*InvocationState)(nil),                       // 8: buildbarn.buildqueuestate.InvocationState
	(*InvocationChildState)(nil),                  // 9: buildbarn.buildqueuestate.InvocationChildState
	(*WorkerState)(nil),                           // 10: buildbarn.buildqueuestate.WorkerState
	(*DrainState)(nil),                            // 11: buildbarn.buildqueuestate.DrainState
	(*GetOperationRequest)(nil),                   // 12: buildbarn.buildqueuestate.GetOperationRequest
	(*GetOperationResponse)(nil),                  // 13: buildbarn.buildqueuestate.GetOperationResponse
	(*ListOperationsRequest)(nil),                 // 14: buildbarn.buildqueuestate.ListOperationsRequest
	(*ListOperationsResponse)(nil),                // 15: buildbarn.buildqueuestate.ListOperationsResponse
	(*KillOperationsRequest)(nil),                 // 16: buildbarn.buildqueuestate.KillOperationsRequest
	(*ListPlatformQueuesResponse)(nil),            // 17: buildbarn.buildqueuestate.ListPlatformQueuesResponse
	(*ListInvocationChildrenRequest)(nil),         // 18: buildbarn.buildqueuestate.ListInvocationChildrenRequest
	(*ListInvocationChildrenResponse)(nil),        // 19: buildbarn.buildqueuestate.ListInvocationChildrenResponse
	(*ListQueuedOperationsRequest)(nil),           // 20: buildbarn.buildqueuestate.ListQueuedOperationsRequest
	(*ListQueuedOperationsResponse)(nil),          // 21: buildbarn.buildqueuestate.ListQueuedOperationsResponse
	(*ListWorkersRequest)(nil),                    // 22: buildbarn.buildqueuestate.ListWorkersRequest
	(*ListWorkersResponse)(nil),                   // 23: buildbarn.buildqueuestate.ListWorkersResponse
	(*TerminateWorkersRequest)(nil),               // 24: buildbarn.buildqueuestate.TerminateWorkersRequest
	(*ListDrainsRequest)(nil),                     // 25: buildbarn.buildqueuestate.ListDrainsRequest
	(*ListDrainsResponse)(nil),                    // 26: buildbarn.buildqueuestate.ListDrainsResponse
	(*AddOrRemoveDrainRequest)(nil),               // 27: buildbarn.buildqueuestate.AddOrRemoveDrainRequest
	(*BackgroundLearning)(nil),                    // 28: buildbarn.buildqueuestate.BackgroundLearning
	(*InvocationState_InvocationObjectCount)(nil), // 29: buildbarn.buildqueuestate.InvocationState.InvocationObjectCount
	nil,                                      // 30: buildbarn.buildqueuestate.WorkerState.IdEntry
	nil,                                      // 31: buildbarn.buildqueuestate.DrainState.WorkerIdPatternEntry
	(*ListOperationsRequest_StartAfter)(nil), // 32: buildbarn.buildqueuestate.ListOperationsRequest.StartAfter
	(*KillOperationsRequest_Filter)(nil),     // 33: buildbarn.buildqueuestate.KillOperationsRequest.Filter
	(*ListQueuedOperationsRequest_StartAfter)(nil), // 34: buildbarn.buildqueuestate.ListQueuedOperationsRequest.StartAfter
	(*ListWorkersRequest_Filter)(nil),              // 35: buildbarn.buildqueuestate.ListWorkersRequest.Filter
	(*ListWorkersRequest_StartAfter)(nil),          // 36: buildbarn.buildqueuestate.ListWorkersRequest.StartAfter
	nil,                                            // 37: buildbarn.buildqueuestate.ListWorkersRequest.StartAfter.WorkerIdEntry
	nil,                                            // 38: buildbarn.buildqueuestate.TerminateWorkersRequest.WorkerIdPatternEntry
	nil,                                            // 39: buildbarn.buildqueuestate.AddOrRemoveDrainRequest.WorkerIdPatternEntry
	(*v2.Platform)(nil),                            // 40: build.bazel.remote.execution.v2.Platform
	(*anypb.Any)(nil),                              // 41: google.protobuf.Any
	(*durationpb.Duration)(nil),                    // 42: google.protobuf.Duration
	(*timestamppb.Timestamp)(nil),                  // 43: google.protobuf.Timestamp
	(*v2.Digest)(nil),                              // 44: build.bazel.remote.execution.v2.Digest
	(*emptypb.Empty)(nil),                          // 45: google.protobuf.Empty
	(*v2.ExecuteResponse)(nil),                     // 46: build.bazel.remote.execution.v2.ExecuteResponse
	(v2.DigestFunction_Value)(0),                   // 47: build.bazel.remote.execution.v2.DigestFunction.Value
	(v2.ExecutionStage_Value)(0),                   // 48: build.bazel.remote.execution.v2.ExecutionStage.Value
	(*status.Status)(nil),                          // 49: google.rpc.Status
}
var file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_depIdxs = []int32{
	40, // 0: buildbarn.buildqueuestate.PlatformQueueName.platform:type_name -> build.bazel.remote.execution.v2.Platform
	2,  // 1: buildbarn.buildqueuestate.SizeClassQueueName.platform_queue_name:type_name -> buildbarn.buildqueuestate.PlatformQueueName
	3,  // 2: buildbarn.buildqueuestate.InvocationName.size_class_queue_name:type_name -> buildbarn.buildqueuestate.SizeClassQueueName
	41, // 3: buildbarn.buildqueuestate.InvocationName.ids:type_name -> google.protobuf.Any
	4,  // 4: buildbarn.buildqueuestate.OperationState.invocation_name:type_name -> buildbarn.buildqueuestate.InvocationName
	42, // 5: buildbarn.buildqueuestate.OperationState.expected_duration:type_name -> google.protobuf.Duration
	43, // 6: buildbarn.buildqueuestate.OperationState.queued_timestamp:type_name -> google.protobuf.Timestamp
	44, // 7: buildbarn.buildqueuestate.OperationState.action_digest:type_name -> build.bazel.remote.execution.v2.Digest
	43, // 8: buildbarn.buildqueuestate.OperationState.timeout:type_name -> google.protobuf.Timestamp
	45, // 9: buildbarn.buildqueuestate.OperationState.queued:type_name -> google.protobuf.Empty
	45, // 10: buildbarn.buildqueuestate.OperationState.executing:type_name -> google.protobuf.Empty
	46, // 11: buildbarn.buildqueuestate.OperationState.completed:type_name -> build.bazel.remote.execution.v2.ExecuteResponse
	47, // 12: buildbarn.buildqueuestate.OperationState.digest_function:type_name -> build.bazel.remote.execution.v2.DigestFunction.Value
	43, // 13: buildbarn.buildqueuestate.SizeClassQueueState.timeout:type_name -> google.protobuf.Timestamp
	8,  // 14: buildbarn.buildqueuestate.SizeClassQueueState.root_invocation:type_name -> buildbarn.buildqueuestate.InvocationState
	2,  // 15: buildbarn.buildqueuestate.PlatformQueueState.name:type_name -> buildbarn.buildqueuestate.PlatformQueueName
	6,  // 16: buildbarn.buildqueuestate.PlatformQueueState.size_class_queues:type_name -> buildbarn.buildqueuestate.SizeClassQueueState
	29, // 17: buildbarn.buildqueuestate.InvocationState.queued_operations_count:type_name -> buildbarn.buildqueuestate.InvocationState.InvocationObjectCount
	41, // 18: buildbarn.buildqueuestate.InvocationChildState.id:type_name -> google.protobuf.Any
	8,  // 19: buildbarn.buildqueuestate.InvocationChildState.state:type_name -> buildbarn.buildqueuestate.InvocationState
	30, // 20: buildbarn.buildqueuestate.WorkerState.id:type_name -> buildbarn.buildqueuestate.WorkerState.IdEntry
	43, // 21: buildbarn.buildqueuestate.WorkerState.timeout:type_name -> google.protobuf.Timestamp
	5,  // 22: buildbarn.buildqueuestate.WorkerState.current_operation:type_name -> buildbarn.buildqueuestate.OperationState
	31, // 23: buildbarn.buildqueuestate.DrainState.worker_id_pattern:type_name -> buildbarn.buildqueuestate.DrainState.WorkerIdPatternEntry
	43, // 24: buildbarn.buildqueuestate.DrainState.created_timestamp:type_name -> google.protobuf.Timestamp
	5,  // 25: buildbarn.buildqueuestate.GetOperationResponse.operation:type_name -> buildbarn.buildqueuestate.OperationState
	32, // 26: buildbarn.buildqueuestate.ListOperationsRequest.start_after:type_name -> buildbarn.buildqueuestate.ListOperationsRequest.StartAfter
	41, // 27: buildbarn.buildqueuestate.ListOperationsRequest.filter_invocation_id:type_name -> google.protobuf.Any
	48, // 28: buildbarn.buildqueuestate.ListOperationsRequest.filter_stage:type_name -> build.bazel.remote.execution.v2.ExecutionStage.Value
	5,  // 29: buildbarn.buildqueuestate.ListOperationsResponse.operations:type_name -> buildbarn.buildqueuestate.OperationState
	1,  // 30: buildbarn.buildqueuestate.ListOperationsResponse.pagination_info:type_name -> buildbarn.buildqueuestate.PaginationInfo
	33, // 31: buildbarn.buildqueuestate.KillOperationsRequest.filter:type_name -> buildbarn.buildqueuestate.KillOperationsRequest.Filter
	49, // 32: buildbarn.buildqueuestate.KillOperationsRequest.status:type_name -> google.rpc.Status
	7,  // 33: buildbarn.buildqueuestate.ListPlatformQueuesResponse.platform_queues:type_name -> buildbarn.buildqueuestate.PlatformQueueState
	4,  // 34: buildbarn.buildqueuestate.ListInvocationChildrenRequest.invocation_name:type_name -> buildbarn.buildqueuestate.InvocationName
	0,  // 35: buildbarn.buildqueuestate.ListInvocationChildrenRequest.filter:type_name -> buildbarn.buildqueuestate.ListInvocationChildrenRequest.Filter
	9,  // 36: buildbarn.buildqueuestate.ListInvocationChildrenResponse.children:type_name -> buildbarn.buildqueuestate.InvocationChildState
	4,  // 37: buildbarn.buildqueuestate.ListQueuedOperationsRequest.invocation_name:type_name -> buildbarn.buildqueuestate.InvocationName
	34, // 38: buildbarn.buildqueuestate.ListQueuedOperationsRequest.start_after:type_name -> buildbarn.buildqueuestate.ListQueuedOperationsRequest.StartAfter
	5,  // 39: buildbarn.buildqueuestate.ListQueuedOperationsResponse.queued_operations:type_name -> buildbarn.buildqueuestate.OperationState
	1,  // 40: buildbarn.buildqueuestate.ListQueuedOperationsResponse.pagination_info:type_name -> buildbarn.buildqueuestate.PaginationInfo
	35, // 41: buildbarn.buildqueuestate.ListWorkersRequest.filter:type_name -> buildbarn.buildqueuestate.ListWorkersRequest.Filter
	36, // 42: buildbarn.buildqueuestate.ListWorkersRequest.start_after:type_name -> buildbarn.buildqueuestate.ListWorkersRequest.StartAfter
	10, // 43: buildbarn.buildqueuestate.ListWorkersResponse.workers:type_name -> buildbarn.buildqueuestate.WorkerState
	1,  // 44: buildbarn.buildqueuestate.ListWorkersResponse.pagination_info:type_name -> buildbarn.buildqueuestate.PaginationInfo
	38, // 45: buildbarn.buildqueuestate.TerminateWorkersRequest.worker_id_pattern:type_name -> buildbarn.buildqueuestate.TerminateWorkersRequest.WorkerIdPatternEntry
	3,  // 46: buildbarn.buildqueuestate.ListDrainsRequest.size_class_queue_name:type_name -> buildbarn.buildqueuestate.SizeClassQueueName
	11, // 47: buildbarn.buildqueuestate.ListDrainsResponse.drains:type_name -> buildbarn.buildqueuestate.DrainState
	3,  // 48: buildbarn.buildqueuestate.AddOrRemoveDrainRequest.size_class_queue_name:type_name -> buildbarn.buildqueuestate.SizeClassQueueName
	39, // 49: buildbarn.buildqueuestate.AddOrRemoveDrainRequest.worker_id_pattern:type_name -> buildbarn.buildqueuestate.AddOrRemoveDrainRequest.WorkerIdPatternEntry
	3,  // 50: buildbarn.buildqueuestate.KillOperationsRequest.Filter.size_class_queue_without_workers:type_name -> buildbarn.buildqueuestate.SizeClassQueueName
	42, // 51: buildbarn.buildqueuestate.ListQueuedOperationsRequest.StartAfter.expected_duration:type_name -> google.protobuf.Duration
	43, // 52: buildbarn.buildqueuestate.ListQueuedOperationsRequest.StartAfter.queued_timestamp:type_name -> google.protobuf.Timestamp
	3,  // 53: buildbarn.buildqueuestate.ListWorkersRequest.Filter.all:type_name -> buildbarn.buildqueuestate.SizeClassQueueName
	4,  // 54: buildbarn.buildqueuestate.ListWorkersRequest.Filter.executing:type_name -> buildbarn.buildqueuestate.InvocationName
	4,  // 55: buildbarn.buildqueuestate.ListWorkersRequest.Filter.idle_synchronizing:type_name -> buildbarn.buildqueuestate.InvocationName
	37, // 56: buildbarn.buildqueuestate.ListWorkersRequest.StartAfter.worker_id:type_name -> buildbarn.buildqueuestate.ListWorkersRequest.StartAfter.WorkerIdEntry
	12, // 57: buildbarn.buildqueuestate.BuildQueueState.GetOperation:input_type -> buildbarn.buildqueuestate.GetOperationRequest
	14, // 58: buildbarn.buildqueuestate.BuildQueueState.ListOperations:input_type -> buildbarn.buildqueuestate.ListOperationsRequest
	16, // 59: buildbarn.buildqueuestate.BuildQueueState.KillOperations:input_type -> buildbarn.buildqueuestate.KillOperationsRequest
	45, // 60: buildbarn.buildqueuestate.BuildQueueState.ListPlatformQueues:input_type -> google.protobuf.Empty
	18, // 61: buildbarn.buildqueuestate.BuildQueueState.ListInvocationChildren:input_type -> buildbarn.buildqueuestate.ListInvocationChildrenRequest
	20, // 62: buildbarn.buildqueuestate.BuildQueueState.ListQueuedOperations:input_type -> buildbarn.buildqueuestate.ListQueuedOperationsRequest
	22, // 63: buildbarn.buildqueuestate.BuildQueueState.ListWorkers:input_type -> buildbarn.buildqueuestate.ListWorkersRequest
	24, // 64: buildbarn.buildqueuestate.BuildQueueState.TerminateWorkers:input_type -> buildbarn.buildqueuestate.TerminateWorkersRequest
	25, // 65: buildbarn.buildqueuestate.BuildQueueState.ListDrains:input_type -> buildbarn.buildqueuestate.ListDrainsRequest
	27, // 66: buildbarn.buildqueuestate.BuildQueueState.AddDrain:input_type -> buildbarn.buildqueuestate.AddOrRemoveDrainRequest
	27, // 67: buildbarn.buildqueuestate.BuildQueueState.RemoveDrain:input_type -> buildbarn.buildqueuestate.AddOrRemoveDrainRequest
	13, // 68: buildbarn.buildqueuestate.BuildQueueState.GetOperation:output_type -> buildbarn.buildqueuestate.GetOperationResponse
	15, // 69: buildbarn.buildqueuestate.BuildQueueState.ListOperations:output_type -> buildbarn.buildqueuestate.ListOperationsResponse
	45, // 70: buildbarn.buildqueuestate.BuildQueueState.KillOperations:output_type -> google.protobuf.Empty
	17, // 71: buildbarn.buildqueuestate.BuildQueueState.ListPlatformQueues:output_type -> buildbarn.buildqueuestate.ListPlatformQueuesResponse
	19, // 72: buildbarn.buildqueuestate.BuildQueueState.ListInvocationChildren:output_type -> buildbarn.buildqueuestate.ListInvocationChildrenResponse
	21, // 73: buildbarn.buildqueuestate.BuildQueueState.ListQueuedOperations:output_type -> buildbarn.buildqueuestate.ListQueuedOperationsResponse
	23, // 74: buildbarn.buildqueuestate.BuildQueueState.ListWorkers:output_type -> buildbarn.buildqueuestate.ListWorkersResponse
	45, // 75: buildbarn.buildqueuestate.BuildQueueState.TerminateWorkers:output_type -> google.protobuf.Empty
	26, // 76: buildbarn.buildqueuestate.BuildQueueState.ListDrains:output_type -> buildbarn.buildqueuestate.ListDrainsResponse
	45, // 77: buildbarn.buildqueuestate.BuildQueueState.AddDrain:output_type -> google.protobuf.Empty
	45, // 78: buildbarn.buildqueuestate.BuildQueueState.RemoveDrain:output_type -> google.protobuf.Empty
	68, // [68:79] is the sub-list for method output_type
	57, // [57:68] is the sub-list for method input_type
	57, // [57:57] is the sub-list for extension type_name
	57, // [57:57] is the sub-list for extension extendee
	0,  // [0:57] is the sub-list for field type_name
}

func init() {
	file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_init()
}
func file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_init() {
	if File_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto != nil {
		return
	}
	file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[4].OneofWrappers = []any{
		(*OperationState_Queued)(nil),
		(*OperationState_Executing)(nil),
		(*OperationState_Completed)(nil),
	}
	file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[32].OneofWrappers = []any{
		(*KillOperationsRequest_Filter_OperationName)(nil),
		(*KillOperationsRequest_Filter_SizeClassQueueWithoutWorkers)(nil),
	}
	file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes[34].OneofWrappers = []any{
		(*ListWorkersRequest_Filter_All)(nil),
		(*ListWorkersRequest_Filter_Executing)(nil),
		(*ListWorkersRequest_Filter_IdleSynchronizing)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDesc), len(file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   39,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_goTypes,
		DependencyIndexes: file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_depIdxs,
		EnumInfos:         file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_enumTypes,
		MessageInfos:      file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_msgTypes,
	}.Build()
	File_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto = out.File
	file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_goTypes = nil
	file_github_com_buildbarn_bb_remote_execution_pkg_proto_buildqueuestate_buildqueuestate_proto_depIdxs = nil
}
