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