// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v6.33.2
// source: google/cloud/aiplatform/v1/specialist_pool.proto

package aiplatformpb

import (
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"

	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)

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)
)

// SpecialistPool represents customers' own workforce to work on their data
// labeling jobs. It includes a group of specialist managers and workers.
// Managers are responsible for managing the workers in this pool as well as
// customers' data labeling jobs associated with this pool. Customers create
// specialist pool as well as start data labeling jobs on Cloud, managers and
// workers handle the jobs using CrowdCompute console.
type SpecialistPool struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The resource name of the SpecialistPool.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The user-defined name of the SpecialistPool.
	// The name can be up to 128 characters long and can consist of any UTF-8
	// characters.
	// This field should be unique on project-level.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Output only. The number of managers in this SpecialistPool.
	SpecialistManagersCount int32 `protobuf:"varint,3,opt,name=specialist_managers_count,json=specialistManagersCount,proto3" json:"specialist_managers_count,omitempty"`
	// The email addresses of the managers in the SpecialistPool.
	SpecialistManagerEmails []string `protobuf:"bytes,4,rep,name=specialist_manager_emails,json=specialistManagerEmails,proto3" json:"specialist_manager_emails,omitempty"`
	// Output only. The resource name of the pending data labeling jobs.
	PendingDataLabelingJobs []string `protobuf:"bytes,5,rep,name=pending_data_labeling_jobs,json=pendingDataLabelingJobs,proto3" json:"pending_data_labeling_jobs,omitempty"`
	// The email addresses of workers in the SpecialistPool.
	SpecialistWorkerEmails []string `protobuf:"bytes,7,rep,name=specialist_worker_emails,json=specialistWorkerEmails,proto3" json:"specialist_worker_emails,omitempty"`
	unknownFields          protoimpl.UnknownFields
	sizeCache              protoimpl.SizeCache
}

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

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

func (*SpecialistPool) ProtoMessage() {}

func (x *SpecialistPool) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_aiplatform_v1_specialist_pool_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 SpecialistPool.ProtoReflect.Descriptor instead.
func (*SpecialistPool) Descriptor() ([]byte, []int) {
	return file_google_cloud_aiplatform_v1_specialist_pool_proto_rawDescGZIP(), []int{0}
}

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

func (x *SpecialistPool) GetDisplayName() string {
	if x != nil {
		return x.DisplayName
	}
	return ""
}

func (x *SpecialistPool) GetSpecialistManagersCount() int32 {
	if x != nil {
		return x.SpecialistManagersCount
	}
	return 0
}

func (x *SpecialistPool) GetSpecialistManagerEmails() []string {
	if x != nil {
		return x.SpecialistManagerEmails
	}
	return nil
}

func (x *SpecialistPool) GetPendingDataLabelingJobs() []string {
	if x != nil {
		return x.PendingDataLabelingJobs
	}
	return nil
}

func (x *SpecialistPool) GetSpecialistWorkerEmails() []string {
	if x != nil {
		return x.SpecialistWorkerEmails
	}
	return nil
}

var File_google_cloud_aiplatform_v1_specialist_pool_proto protoreflect.FileDescriptor

const file_google_cloud_aiplatform_v1_specialist_pool_proto_rawDesc = "" +
	"\n" +
	"0google/cloud/aiplatform/v1/specialist_pool.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xc4\x03\n" +
	"\x0eSpecialistPool\x12\x17\n" +
	"\x04name\x18\x01 \x01(\tB\x03\xe0A\x02R\x04name\x12&\n" +
	"\fdisplay_name\x18\x02 \x01(\tB\x03\xe0A\x02R\vdisplayName\x12?\n" +
	"\x19specialist_managers_count\x18\x03 \x01(\x05B\x03\xe0A\x03R\x17specialistManagersCount\x12:\n" +
	"\x19specialist_manager_emails\x18\x04 \x03(\tR\x17specialistManagerEmails\x12@\n" +
	"\x1apending_data_labeling_jobs\x18\x05 \x03(\tB\x03\xe0A\x03R\x17pendingDataLabelingJobs\x128\n" +
	"\x18specialist_worker_emails\x18\a \x03(\tR\x16specialistWorkerEmails:x\xeaAu\n" +
	"(aiplatform.googleapis.com/SpecialistPool\x12Iprojects/{project}/locations/{location}/specialistPools/{specialist_pool}B\xd1\x01\n" +
	"\x1ecom.google.cloud.aiplatform.v1B\x13SpecialistPoolProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"

var (
	file_google_cloud_aiplatform_v1_specialist_pool_proto_rawDescOnce sync.Once
	file_google_cloud_aiplatform_v1_specialist_pool_proto_rawDescData []byte
)

func file_google_cloud_aiplatform_v1_specialist_pool_proto_rawDescGZIP() []byte {
	file_google_cloud_aiplatform_v1_specialist_pool_proto_rawDescOnce.Do(func() {
		file_google_cloud_aiplatform_v1_specialist_pool_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_cloud_aiplatform_v1_specialist_pool_proto_rawDesc), len(file_google_cloud_aiplatform_v1_specialist_pool_proto_rawDesc)))
	})
	return file_google_cloud_aiplatform_v1_specialist_pool_proto_rawDescData
}

var file_google_cloud_aiplatform_v1_specialist_pool_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_google_cloud_aiplatform_v1_specialist_pool_proto_goTypes = []any{
	(*SpecialistPool)(nil), // 0: google.cloud.aiplatform.v1.SpecialistPool
}
var file_google_cloud_aiplatform_v1_specialist_pool_proto_depIdxs = []int32{
	0, // [0:0] is the sub-list for method output_type
	0, // [0:0] is the sub-list for method input_type
	0, // [0:0] is the sub-list for extension type_name
	0, // [0:0] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_google_cloud_aiplatform_v1_specialist_pool_proto_init() }
func file_google_cloud_aiplatform_v1_specialist_pool_proto_init() {
	if File_google_cloud_aiplatform_v1_specialist_pool_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_cloud_aiplatform_v1_specialist_pool_proto_rawDesc), len(file_google_cloud_aiplatform_v1_specialist_pool_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_google_cloud_aiplatform_v1_specialist_pool_proto_goTypes,
		DependencyIndexes: file_google_cloud_aiplatform_v1_specialist_pool_proto_depIdxs,
		MessageInfos:      file_google_cloud_aiplatform_v1_specialist_pool_proto_msgTypes,
	}.Build()
	File_google_cloud_aiplatform_v1_specialist_pool_proto = out.File
	file_google_cloud_aiplatform_v1_specialist_pool_proto_goTypes = nil
	file_google_cloud_aiplatform_v1_specialist_pool_proto_depIdxs = nil
}
