1// Copyright 2021 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.25.0-devel 18// protoc v3.13.0 19// source: google/cloud/aiplatform/v1beta1/specialist_pool.proto 20 21package aiplatform 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 proto "github.com/golang/protobuf/proto" 28 _ "google.golang.org/genproto/googleapis/api/annotations" 29 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 30 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 31) 32 33const ( 34 // Verify that this generated code is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 36 // Verify that runtime/protoimpl is sufficiently up-to-date. 37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 38) 39 40// This is a compile-time assertion that a sufficiently up-to-date version 41// of the legacy proto package is being used. 42const _ = proto.ProtoPackageIsVersion4 43 44// SpecialistPool represents customers' own workforce to work on their data 45// labeling jobs. It includes a group of specialist managers who are responsible 46// for managing the labelers in this pool as well as customers' data labeling 47// jobs associated with this pool. 48// Customers create specialist pool as well as start data labeling jobs on 49// Cloud, managers and labelers work with the jobs using CrowdCompute console. 50type SpecialistPool struct { 51 state protoimpl.MessageState 52 sizeCache protoimpl.SizeCache 53 unknownFields protoimpl.UnknownFields 54 55 // Required. The resource name of the SpecialistPool. 56 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 57 // Required. The user-defined name of the SpecialistPool. 58 // The name can be up to 128 characters long and can be consist of any UTF-8 59 // characters. 60 // This field should be unique on project-level. 61 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 62 // Output only. The number of Specialists in this SpecialistPool. 63 SpecialistManagersCount int32 `protobuf:"varint,3,opt,name=specialist_managers_count,json=specialistManagersCount,proto3" json:"specialist_managers_count,omitempty"` 64 // The email addresses of the specialists in the SpecialistPool. 65 SpecialistManagerEmails []string `protobuf:"bytes,4,rep,name=specialist_manager_emails,json=specialistManagerEmails,proto3" json:"specialist_manager_emails,omitempty"` 66 // Output only. The resource name of the pending data labeling jobs. 67 PendingDataLabelingJobs []string `protobuf:"bytes,5,rep,name=pending_data_labeling_jobs,json=pendingDataLabelingJobs,proto3" json:"pending_data_labeling_jobs,omitempty"` 68} 69 70func (x *SpecialistPool) Reset() { 71 *x = SpecialistPool{} 72 if protoimpl.UnsafeEnabled { 73 mi := &file_google_cloud_aiplatform_v1beta1_specialist_pool_proto_msgTypes[0] 74 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 75 ms.StoreMessageInfo(mi) 76 } 77} 78 79func (x *SpecialistPool) String() string { 80 return protoimpl.X.MessageStringOf(x) 81} 82 83func (*SpecialistPool) ProtoMessage() {} 84 85func (x *SpecialistPool) ProtoReflect() protoreflect.Message { 86 mi := &file_google_cloud_aiplatform_v1beta1_specialist_pool_proto_msgTypes[0] 87 if protoimpl.UnsafeEnabled && x != nil { 88 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 89 if ms.LoadMessageInfo() == nil { 90 ms.StoreMessageInfo(mi) 91 } 92 return ms 93 } 94 return mi.MessageOf(x) 95} 96 97// Deprecated: Use SpecialistPool.ProtoReflect.Descriptor instead. 98func (*SpecialistPool) Descriptor() ([]byte, []int) { 99 return file_google_cloud_aiplatform_v1beta1_specialist_pool_proto_rawDescGZIP(), []int{0} 100} 101 102func (x *SpecialistPool) GetName() string { 103 if x != nil { 104 return x.Name 105 } 106 return "" 107} 108 109func (x *SpecialistPool) GetDisplayName() string { 110 if x != nil { 111 return x.DisplayName 112 } 113 return "" 114} 115 116func (x *SpecialistPool) GetSpecialistManagersCount() int32 { 117 if x != nil { 118 return x.SpecialistManagersCount 119 } 120 return 0 121} 122 123func (x *SpecialistPool) GetSpecialistManagerEmails() []string { 124 if x != nil { 125 return x.SpecialistManagerEmails 126 } 127 return nil 128} 129 130func (x *SpecialistPool) GetPendingDataLabelingJobs() []string { 131 if x != nil { 132 return x.PendingDataLabelingJobs 133 } 134 return nil 135} 136 137var File_google_cloud_aiplatform_v1beta1_specialist_pool_proto protoreflect.FileDescriptor 138 139var file_google_cloud_aiplatform_v1beta1_specialist_pool_proto_rawDesc = []byte{ 140 0x0a, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 141 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 142 0x31, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x70, 0x6f, 0x6f, 143 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 144 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 145 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 146 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 147 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 148 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 149 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 150 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 151 0x74, 0x6f, 0x22, 0x8a, 0x03, 0x0a, 0x0e, 0x53, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x69, 0x73, 152 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 153 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 154 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 155 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 156 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x19, 0x73, 0x70, 0x65, 0x63, 0x69, 0x61, 157 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x73, 0x5f, 0x63, 0x6f, 158 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x17, 159 0x73, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 160 0x72, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3a, 0x0a, 0x19, 0x73, 0x70, 0x65, 0x63, 0x69, 161 0x61, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x5f, 0x65, 0x6d, 162 0x61, 0x69, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x17, 0x73, 0x70, 0x65, 0x63, 163 0x69, 0x61, 0x6c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x45, 0x6d, 0x61, 164 0x69, 0x6c, 0x73, 0x12, 0x40, 0x0a, 0x1a, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x64, 165 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x6a, 0x6f, 0x62, 166 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x17, 0x70, 0x65, 167 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x69, 0x6e, 168 0x67, 0x4a, 0x6f, 0x62, 0x73, 0x3a, 0x78, 0xea, 0x41, 0x75, 0x0a, 0x28, 0x61, 0x69, 0x70, 0x6c, 169 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 170 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x69, 0x73, 0x74, 171 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x49, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 172 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 173 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x73, 0x70, 174 0x65, 0x63, 0x69, 0x61, 0x6c, 0x69, 0x73, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x7b, 0x73, 175 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x7d, 0x42, 176 0x87, 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 177 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 178 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x13, 0x53, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 179 0x69, 0x73, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x49, 180 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 181 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 182 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 183 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x61, 184 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 185 0x33, 186} 187 188var ( 189 file_google_cloud_aiplatform_v1beta1_specialist_pool_proto_rawDescOnce sync.Once 190 file_google_cloud_aiplatform_v1beta1_specialist_pool_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_specialist_pool_proto_rawDesc 191) 192 193func file_google_cloud_aiplatform_v1beta1_specialist_pool_proto_rawDescGZIP() []byte { 194 file_google_cloud_aiplatform_v1beta1_specialist_pool_proto_rawDescOnce.Do(func() { 195 file_google_cloud_aiplatform_v1beta1_specialist_pool_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_specialist_pool_proto_rawDescData) 196 }) 197 return file_google_cloud_aiplatform_v1beta1_specialist_pool_proto_rawDescData 198} 199 200var file_google_cloud_aiplatform_v1beta1_specialist_pool_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 201var file_google_cloud_aiplatform_v1beta1_specialist_pool_proto_goTypes = []interface{}{ 202 (*SpecialistPool)(nil), // 0: google.cloud.aiplatform.v1beta1.SpecialistPool 203} 204var file_google_cloud_aiplatform_v1beta1_specialist_pool_proto_depIdxs = []int32{ 205 0, // [0:0] is the sub-list for method output_type 206 0, // [0:0] is the sub-list for method input_type 207 0, // [0:0] is the sub-list for extension type_name 208 0, // [0:0] is the sub-list for extension extendee 209 0, // [0:0] is the sub-list for field type_name 210} 211 212func init() { file_google_cloud_aiplatform_v1beta1_specialist_pool_proto_init() } 213func file_google_cloud_aiplatform_v1beta1_specialist_pool_proto_init() { 214 if File_google_cloud_aiplatform_v1beta1_specialist_pool_proto != nil { 215 return 216 } 217 if !protoimpl.UnsafeEnabled { 218 file_google_cloud_aiplatform_v1beta1_specialist_pool_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 219 switch v := v.(*SpecialistPool); i { 220 case 0: 221 return &v.state 222 case 1: 223 return &v.sizeCache 224 case 2: 225 return &v.unknownFields 226 default: 227 return nil 228 } 229 } 230 } 231 type x struct{} 232 out := protoimpl.TypeBuilder{ 233 File: protoimpl.DescBuilder{ 234 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 235 RawDescriptor: file_google_cloud_aiplatform_v1beta1_specialist_pool_proto_rawDesc, 236 NumEnums: 0, 237 NumMessages: 1, 238 NumExtensions: 0, 239 NumServices: 0, 240 }, 241 GoTypes: file_google_cloud_aiplatform_v1beta1_specialist_pool_proto_goTypes, 242 DependencyIndexes: file_google_cloud_aiplatform_v1beta1_specialist_pool_proto_depIdxs, 243 MessageInfos: file_google_cloud_aiplatform_v1beta1_specialist_pool_proto_msgTypes, 244 }.Build() 245 File_google_cloud_aiplatform_v1beta1_specialist_pool_proto = out.File 246 file_google_cloud_aiplatform_v1beta1_specialist_pool_proto_rawDesc = nil 247 file_google_cloud_aiplatform_v1beta1_specialist_pool_proto_goTypes = nil 248 file_google_cloud_aiplatform_v1beta1_specialist_pool_proto_depIdxs = nil 249} 250