1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/cloud/talent/v4beta1/application_service.proto 3 4package talent 5 6import ( 7 context "context" 8 fmt "fmt" 9 math "math" 10 11 proto "github.com/golang/protobuf/proto" 12 empty "github.com/golang/protobuf/ptypes/empty" 13 _ "google.golang.org/genproto/googleapis/api/annotations" 14 field_mask "google.golang.org/genproto/protobuf/field_mask" 15 grpc "google.golang.org/grpc" 16) 17 18// Reference imports to suppress errors if they are not otherwise used. 19var _ = proto.Marshal 20var _ = fmt.Errorf 21var _ = math.Inf 22 23// This is a compile-time assertion to ensure that this generated file 24// is compatible with the proto package it is being compiled against. 25// A compilation error at this line likely means your copy of the 26// proto package needs to be updated. 27const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 28 29// The Request of the CreateApplication method. 30type CreateApplicationRequest struct { 31 // Required. Resource name of the profile under which the application is 32 // created. 33 // 34 // The format is 35 // "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for 36 // example, "projects/test-project/tenants/test-tenant/profiles/test-profile". 37 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 38 // Required. The application to be created. 39 Application *Application `protobuf:"bytes,2,opt,name=application,proto3" json:"application,omitempty"` 40 XXX_NoUnkeyedLiteral struct{} `json:"-"` 41 XXX_unrecognized []byte `json:"-"` 42 XXX_sizecache int32 `json:"-"` 43} 44 45func (m *CreateApplicationRequest) Reset() { *m = CreateApplicationRequest{} } 46func (m *CreateApplicationRequest) String() string { return proto.CompactTextString(m) } 47func (*CreateApplicationRequest) ProtoMessage() {} 48func (*CreateApplicationRequest) Descriptor() ([]byte, []int) { 49 return fileDescriptor_5d34b1b7148314cc, []int{0} 50} 51 52func (m *CreateApplicationRequest) XXX_Unmarshal(b []byte) error { 53 return xxx_messageInfo_CreateApplicationRequest.Unmarshal(m, b) 54} 55func (m *CreateApplicationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 56 return xxx_messageInfo_CreateApplicationRequest.Marshal(b, m, deterministic) 57} 58func (m *CreateApplicationRequest) XXX_Merge(src proto.Message) { 59 xxx_messageInfo_CreateApplicationRequest.Merge(m, src) 60} 61func (m *CreateApplicationRequest) XXX_Size() int { 62 return xxx_messageInfo_CreateApplicationRequest.Size(m) 63} 64func (m *CreateApplicationRequest) XXX_DiscardUnknown() { 65 xxx_messageInfo_CreateApplicationRequest.DiscardUnknown(m) 66} 67 68var xxx_messageInfo_CreateApplicationRequest proto.InternalMessageInfo 69 70func (m *CreateApplicationRequest) GetParent() string { 71 if m != nil { 72 return m.Parent 73 } 74 return "" 75} 76 77func (m *CreateApplicationRequest) GetApplication() *Application { 78 if m != nil { 79 return m.Application 80 } 81 return nil 82} 83 84// Request for getting a application by name. 85type GetApplicationRequest struct { 86 // Required. The resource name of the application to be retrieved. 87 // 88 // The format is 89 // "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}", 90 // for example, 91 // "projects/test-project/tenants/test-tenant/profiles/test-profile/applications/test-application". 92 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 93 XXX_NoUnkeyedLiteral struct{} `json:"-"` 94 XXX_unrecognized []byte `json:"-"` 95 XXX_sizecache int32 `json:"-"` 96} 97 98func (m *GetApplicationRequest) Reset() { *m = GetApplicationRequest{} } 99func (m *GetApplicationRequest) String() string { return proto.CompactTextString(m) } 100func (*GetApplicationRequest) ProtoMessage() {} 101func (*GetApplicationRequest) Descriptor() ([]byte, []int) { 102 return fileDescriptor_5d34b1b7148314cc, []int{1} 103} 104 105func (m *GetApplicationRequest) XXX_Unmarshal(b []byte) error { 106 return xxx_messageInfo_GetApplicationRequest.Unmarshal(m, b) 107} 108func (m *GetApplicationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 109 return xxx_messageInfo_GetApplicationRequest.Marshal(b, m, deterministic) 110} 111func (m *GetApplicationRequest) XXX_Merge(src proto.Message) { 112 xxx_messageInfo_GetApplicationRequest.Merge(m, src) 113} 114func (m *GetApplicationRequest) XXX_Size() int { 115 return xxx_messageInfo_GetApplicationRequest.Size(m) 116} 117func (m *GetApplicationRequest) XXX_DiscardUnknown() { 118 xxx_messageInfo_GetApplicationRequest.DiscardUnknown(m) 119} 120 121var xxx_messageInfo_GetApplicationRequest proto.InternalMessageInfo 122 123func (m *GetApplicationRequest) GetName() string { 124 if m != nil { 125 return m.Name 126 } 127 return "" 128} 129 130// Request for updating a specified application. 131type UpdateApplicationRequest struct { 132 // Required. The application resource to replace the current resource in the 133 // system. 134 Application *Application `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"` 135 // Optional but strongly recommended for the best service 136 // experience. 137 // 138 // If 139 // [update_mask][google.cloud.talent.v4beta1.UpdateApplicationRequest.update_mask] 140 // is provided, only the specified fields in 141 // [application][google.cloud.talent.v4beta1.UpdateApplicationRequest.application] 142 // are updated. Otherwise all the fields are updated. 143 // 144 // A field mask to specify the application fields to be updated. Only 145 // top level fields of [Application][google.cloud.talent.v4beta1.Application] 146 // are supported. 147 UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 148 XXX_NoUnkeyedLiteral struct{} `json:"-"` 149 XXX_unrecognized []byte `json:"-"` 150 XXX_sizecache int32 `json:"-"` 151} 152 153func (m *UpdateApplicationRequest) Reset() { *m = UpdateApplicationRequest{} } 154func (m *UpdateApplicationRequest) String() string { return proto.CompactTextString(m) } 155func (*UpdateApplicationRequest) ProtoMessage() {} 156func (*UpdateApplicationRequest) Descriptor() ([]byte, []int) { 157 return fileDescriptor_5d34b1b7148314cc, []int{2} 158} 159 160func (m *UpdateApplicationRequest) XXX_Unmarshal(b []byte) error { 161 return xxx_messageInfo_UpdateApplicationRequest.Unmarshal(m, b) 162} 163func (m *UpdateApplicationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 164 return xxx_messageInfo_UpdateApplicationRequest.Marshal(b, m, deterministic) 165} 166func (m *UpdateApplicationRequest) XXX_Merge(src proto.Message) { 167 xxx_messageInfo_UpdateApplicationRequest.Merge(m, src) 168} 169func (m *UpdateApplicationRequest) XXX_Size() int { 170 return xxx_messageInfo_UpdateApplicationRequest.Size(m) 171} 172func (m *UpdateApplicationRequest) XXX_DiscardUnknown() { 173 xxx_messageInfo_UpdateApplicationRequest.DiscardUnknown(m) 174} 175 176var xxx_messageInfo_UpdateApplicationRequest proto.InternalMessageInfo 177 178func (m *UpdateApplicationRequest) GetApplication() *Application { 179 if m != nil { 180 return m.Application 181 } 182 return nil 183} 184 185func (m *UpdateApplicationRequest) GetUpdateMask() *field_mask.FieldMask { 186 if m != nil { 187 return m.UpdateMask 188 } 189 return nil 190} 191 192// Request to delete a application. 193type DeleteApplicationRequest struct { 194 // Required. The resource name of the application to be deleted. 195 // 196 // The format is 197 // "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}", 198 // for example, 199 // "projects/test-project/tenants/test-tenant/profiles/test-profile/applications/test-application". 200 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 201 XXX_NoUnkeyedLiteral struct{} `json:"-"` 202 XXX_unrecognized []byte `json:"-"` 203 XXX_sizecache int32 `json:"-"` 204} 205 206func (m *DeleteApplicationRequest) Reset() { *m = DeleteApplicationRequest{} } 207func (m *DeleteApplicationRequest) String() string { return proto.CompactTextString(m) } 208func (*DeleteApplicationRequest) ProtoMessage() {} 209func (*DeleteApplicationRequest) Descriptor() ([]byte, []int) { 210 return fileDescriptor_5d34b1b7148314cc, []int{3} 211} 212 213func (m *DeleteApplicationRequest) XXX_Unmarshal(b []byte) error { 214 return xxx_messageInfo_DeleteApplicationRequest.Unmarshal(m, b) 215} 216func (m *DeleteApplicationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 217 return xxx_messageInfo_DeleteApplicationRequest.Marshal(b, m, deterministic) 218} 219func (m *DeleteApplicationRequest) XXX_Merge(src proto.Message) { 220 xxx_messageInfo_DeleteApplicationRequest.Merge(m, src) 221} 222func (m *DeleteApplicationRequest) XXX_Size() int { 223 return xxx_messageInfo_DeleteApplicationRequest.Size(m) 224} 225func (m *DeleteApplicationRequest) XXX_DiscardUnknown() { 226 xxx_messageInfo_DeleteApplicationRequest.DiscardUnknown(m) 227} 228 229var xxx_messageInfo_DeleteApplicationRequest proto.InternalMessageInfo 230 231func (m *DeleteApplicationRequest) GetName() string { 232 if m != nil { 233 return m.Name 234 } 235 return "" 236} 237 238// List applications for which the client has ACL visibility. 239type ListApplicationsRequest struct { 240 // Required. Resource name of the profile under which the application is 241 // created. 242 // 243 // The format is 244 // "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for 245 // example, "projects/test-project/tenants/test-tenant/profiles/test-profile". 246 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 247 // Optional. The starting indicator from which to return results. 248 PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 249 // Optional. The maximum number of applications to be returned, at most 100. 250 // Default is 100 if a non-positive number is provided. 251 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 252 XXX_NoUnkeyedLiteral struct{} `json:"-"` 253 XXX_unrecognized []byte `json:"-"` 254 XXX_sizecache int32 `json:"-"` 255} 256 257func (m *ListApplicationsRequest) Reset() { *m = ListApplicationsRequest{} } 258func (m *ListApplicationsRequest) String() string { return proto.CompactTextString(m) } 259func (*ListApplicationsRequest) ProtoMessage() {} 260func (*ListApplicationsRequest) Descriptor() ([]byte, []int) { 261 return fileDescriptor_5d34b1b7148314cc, []int{4} 262} 263 264func (m *ListApplicationsRequest) XXX_Unmarshal(b []byte) error { 265 return xxx_messageInfo_ListApplicationsRequest.Unmarshal(m, b) 266} 267func (m *ListApplicationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 268 return xxx_messageInfo_ListApplicationsRequest.Marshal(b, m, deterministic) 269} 270func (m *ListApplicationsRequest) XXX_Merge(src proto.Message) { 271 xxx_messageInfo_ListApplicationsRequest.Merge(m, src) 272} 273func (m *ListApplicationsRequest) XXX_Size() int { 274 return xxx_messageInfo_ListApplicationsRequest.Size(m) 275} 276func (m *ListApplicationsRequest) XXX_DiscardUnknown() { 277 xxx_messageInfo_ListApplicationsRequest.DiscardUnknown(m) 278} 279 280var xxx_messageInfo_ListApplicationsRequest proto.InternalMessageInfo 281 282func (m *ListApplicationsRequest) GetParent() string { 283 if m != nil { 284 return m.Parent 285 } 286 return "" 287} 288 289func (m *ListApplicationsRequest) GetPageToken() string { 290 if m != nil { 291 return m.PageToken 292 } 293 return "" 294} 295 296func (m *ListApplicationsRequest) GetPageSize() int32 { 297 if m != nil { 298 return m.PageSize 299 } 300 return 0 301} 302 303// Output only. 304// 305// The List applications response object. 306type ListApplicationsResponse struct { 307 // Applications for the current client. 308 Applications []*Application `protobuf:"bytes,1,rep,name=applications,proto3" json:"applications,omitempty"` 309 // A token to retrieve the next page of results. 310 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 311 // Additional information for the API invocation, such as the request 312 // tracking id. 313 Metadata *ResponseMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` 314 XXX_NoUnkeyedLiteral struct{} `json:"-"` 315 XXX_unrecognized []byte `json:"-"` 316 XXX_sizecache int32 `json:"-"` 317} 318 319func (m *ListApplicationsResponse) Reset() { *m = ListApplicationsResponse{} } 320func (m *ListApplicationsResponse) String() string { return proto.CompactTextString(m) } 321func (*ListApplicationsResponse) ProtoMessage() {} 322func (*ListApplicationsResponse) Descriptor() ([]byte, []int) { 323 return fileDescriptor_5d34b1b7148314cc, []int{5} 324} 325 326func (m *ListApplicationsResponse) XXX_Unmarshal(b []byte) error { 327 return xxx_messageInfo_ListApplicationsResponse.Unmarshal(m, b) 328} 329func (m *ListApplicationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 330 return xxx_messageInfo_ListApplicationsResponse.Marshal(b, m, deterministic) 331} 332func (m *ListApplicationsResponse) XXX_Merge(src proto.Message) { 333 xxx_messageInfo_ListApplicationsResponse.Merge(m, src) 334} 335func (m *ListApplicationsResponse) XXX_Size() int { 336 return xxx_messageInfo_ListApplicationsResponse.Size(m) 337} 338func (m *ListApplicationsResponse) XXX_DiscardUnknown() { 339 xxx_messageInfo_ListApplicationsResponse.DiscardUnknown(m) 340} 341 342var xxx_messageInfo_ListApplicationsResponse proto.InternalMessageInfo 343 344func (m *ListApplicationsResponse) GetApplications() []*Application { 345 if m != nil { 346 return m.Applications 347 } 348 return nil 349} 350 351func (m *ListApplicationsResponse) GetNextPageToken() string { 352 if m != nil { 353 return m.NextPageToken 354 } 355 return "" 356} 357 358func (m *ListApplicationsResponse) GetMetadata() *ResponseMetadata { 359 if m != nil { 360 return m.Metadata 361 } 362 return nil 363} 364 365func init() { 366 proto.RegisterType((*CreateApplicationRequest)(nil), "google.cloud.talent.v4beta1.CreateApplicationRequest") 367 proto.RegisterType((*GetApplicationRequest)(nil), "google.cloud.talent.v4beta1.GetApplicationRequest") 368 proto.RegisterType((*UpdateApplicationRequest)(nil), "google.cloud.talent.v4beta1.UpdateApplicationRequest") 369 proto.RegisterType((*DeleteApplicationRequest)(nil), "google.cloud.talent.v4beta1.DeleteApplicationRequest") 370 proto.RegisterType((*ListApplicationsRequest)(nil), "google.cloud.talent.v4beta1.ListApplicationsRequest") 371 proto.RegisterType((*ListApplicationsResponse)(nil), "google.cloud.talent.v4beta1.ListApplicationsResponse") 372} 373 374func init() { 375 proto.RegisterFile("google/cloud/talent/v4beta1/application_service.proto", fileDescriptor_5d34b1b7148314cc) 376} 377 378var fileDescriptor_5d34b1b7148314cc = []byte{ 379 // 725 bytes of a gzipped FileDescriptorProto 380 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x4f, 0x4f, 0x13, 0x4f, 381 0x18, 0xc7, 0x33, 0xf0, 0xfb, 0x11, 0x98, 0xfe, 0xfe, 0xc8, 0x18, 0x61, 0x53, 0x34, 0x36, 0x3d, 382 0x98, 0xa6, 0xca, 0x4e, 0xac, 0x70, 0x81, 0x68, 0x2c, 0x28, 0x06, 0x02, 0x91, 0xb4, 0x70, 0xf1, 383 0xd2, 0x4c, 0xb7, 0x4f, 0x97, 0x85, 0xdd, 0x9d, 0x71, 0x67, 0x0a, 0x8a, 0xc1, 0x83, 0x89, 0xaf, 384 0xc0, 0x77, 0xa0, 0x37, 0x5f, 0x80, 0x57, 0x13, 0x2f, 0x26, 0x7a, 0xd3, 0xa3, 0x57, 0x5f, 0x88, 385 0xd9, 0x3f, 0x2d, 0x4b, 0x77, 0xbb, 0xa5, 0x70, 0xdb, 0xf9, 0xf3, 0x9d, 0xe7, 0x33, 0xcf, 0x33, 386 0xdf, 0x67, 0xf1, 0xa2, 0xc9, 0xb9, 0x69, 0x03, 0x35, 0x6c, 0xde, 0x69, 0x51, 0xc5, 0x6c, 0x70, 387 0x15, 0x3d, 0x5c, 0x68, 0x82, 0x62, 0x77, 0x29, 0x13, 0xc2, 0xb6, 0x0c, 0xa6, 0x2c, 0xee, 0x36, 388 0x24, 0x78, 0x87, 0x96, 0x01, 0xba, 0xf0, 0xb8, 0xe2, 0x64, 0x2e, 0x94, 0xe9, 0x81, 0x4c, 0x0f, 389 0x65, 0x7a, 0x24, 0xcb, 0x5f, 0x8f, 0xce, 0x64, 0xc2, 0xa2, 0xcc, 0x75, 0xb9, 0x0a, 0x4e, 0x90, 390 0xa1, 0x34, 0x3f, 0x1b, 0x5b, 0x35, 0x6c, 0xcb, 0x17, 0x86, 0x0b, 0xf3, 0xe7, 0x44, 0x89, 0xb6, 391 0x97, 0xb2, 0xb6, 0x1b, 0xdc, 0x71, 0x7a, 0x3b, 0x23, 0x58, 0x1a, 0x8c, 0x9a, 0x9d, 0x36, 0x05, 392 0x47, 0xa8, 0x97, 0xd1, 0x62, 0xa1, 0x7f, 0xb1, 0x6d, 0x81, 0xdd, 0x6a, 0x38, 0x4c, 0x1e, 0x84, 393 0x3b, 0x8a, 0xaf, 0xb1, 0xb6, 0xea, 0x01, 0x53, 0x50, 0x3d, 0x65, 0xa8, 0xc1, 0xf3, 0x0e, 0x48, 394 0x45, 0x66, 0xf0, 0x84, 0x60, 0x1e, 0xb8, 0x4a, 0x43, 0x05, 0x54, 0x9a, 0xaa, 0x45, 0x23, 0xb2, 395 0x81, 0x73, 0x31, 0x62, 0x6d, 0xac, 0x80, 0x4a, 0xb9, 0x4a, 0x49, 0xcf, 0xc8, 0x9a, 0x1e, 0x3f, 396 0x3d, 0x2e, 0x2e, 0xde, 0xc6, 0xd7, 0x9e, 0x80, 0x4a, 0x09, 0x4e, 0xf0, 0x5f, 0x2e, 0x73, 0x20, 397 0x0a, 0x1d, 0x7c, 0x17, 0x3f, 0x20, 0xac, 0xed, 0x8a, 0x56, 0x3a, 0x6d, 0x1f, 0x15, 0xba, 0x04, 398 0x15, 0x59, 0xc6, 0xb9, 0x4e, 0x10, 0x27, 0x48, 0x55, 0x74, 0xc3, 0x7c, 0xf7, 0xac, 0x6e, 0x36, 399 0xf5, 0x35, 0x3f, 0x9b, 0x5b, 0x4c, 0x1e, 0xd4, 0x70, 0xb8, 0xdd, 0xff, 0x2e, 0xea, 0x58, 0x7b, 400 0x04, 0x36, 0xa4, 0x42, 0xa6, 0xdd, 0xca, 0xc1, 0xb3, 0x9b, 0x96, 0x8c, 0xe7, 0x40, 0x0e, 0xab, 401 0xc0, 0x0d, 0x8c, 0x05, 0x33, 0xa1, 0xa1, 0xf8, 0x01, 0x84, 0x05, 0x98, 0xaa, 0x4d, 0xf9, 0x33, 402 0x3b, 0xfe, 0x04, 0x99, 0xc3, 0xc1, 0xa0, 0x21, 0xad, 0x63, 0xd0, 0xc6, 0x0b, 0xa8, 0xf4, 0x77, 403 0x6d, 0xd2, 0x9f, 0xa8, 0x5b, 0xc7, 0x50, 0xfc, 0x85, 0xb0, 0x96, 0x8c, 0x27, 0x05, 0x77, 0x25, 404 0x90, 0x4d, 0xfc, 0x4f, 0x2c, 0x0f, 0x52, 0x43, 0x85, 0xf1, 0x91, 0xb2, 0x78, 0x46, 0x4d, 0x6e, 405 0xe1, 0xff, 0x5d, 0x78, 0xa1, 0x1a, 0x09, 0xd6, 0x7f, 0xfd, 0xe9, 0xed, 0x1e, 0xef, 0x3a, 0x9e, 406 0x74, 0x40, 0xb1, 0x16, 0x53, 0x2c, 0xc0, 0xcd, 0x55, 0xe6, 0x33, 0x23, 0x76, 0x71, 0xb7, 0x22, 407 0x51, 0xad, 0x27, 0xaf, 0x7c, 0x99, 0xc4, 0x24, 0x06, 0x54, 0x0f, 0x8d, 0x4d, 0x3e, 0x23, 0x3c, 408 0x9d, 0x78, 0xe7, 0x64, 0x31, 0x33, 0xca, 0x20, 0x5f, 0xe4, 0xcf, 0x9d, 0x8e, 0xe2, 0xfa, 0x9b, 409 0x9f, 0xbf, 0xdf, 0x8d, 0xad, 0x16, 0x1f, 0xf4, 0xbc, 0xfb, 0x2a, 0xac, 0xe0, 0x7d, 0xe1, 0xf1, 410 0x7d, 0x30, 0x94, 0xa4, 0x65, 0xaa, 0xc0, 0x65, 0x6e, 0xf0, 0x25, 0x3c, 0xde, 0xb6, 0x6c, 0x90, 411 0xb4, 0x7c, 0x12, 0xef, 0x09, 0x72, 0x09, 0x95, 0xc9, 0x27, 0x84, 0xff, 0x3b, 0xeb, 0x14, 0x52, 412 0xc9, 0xe4, 0x48, 0xb5, 0xd5, 0x08, 0xec, 0x6b, 0x01, 0xfb, 0x43, 0x12, 0x63, 0xf7, 0x9f, 0xeb, 413 0x30, 0xf2, 0x33, 0xe0, 0xb4, 0x7c, 0x42, 0xbe, 0x23, 0x3c, 0x9d, 0x30, 0xed, 0x90, 0xd4, 0x0f, 414 0x32, 0xf9, 0x08, 0xf8, 0xbb, 0x01, 0xfe, 0xd3, 0xca, 0xc6, 0x29, 0x7e, 0xbc, 0xcd, 0x5e, 0xe4, 415 0x2a, 0x7e, 0x19, 0x3e, 0x22, 0x3c, 0x9d, 0x70, 0xf7, 0x90, 0xdb, 0x0c, 0xea, 0x06, 0xf9, 0x99, 416 0x44, 0x47, 0x79, 0xec, 0x37, 0xef, 0x6e, 0xea, 0xcb, 0x97, 0x4d, 0xfd, 0x57, 0x84, 0xaf, 0xf4, 417 0x5b, 0x9d, 0x2c, 0x64, 0xb2, 0x0e, 0xe8, 0x44, 0xf9, 0xc5, 0x11, 0x55, 0xa1, 0x41, 0xd3, 0x1e, 418 0xd1, 0x45, 0x0c, 0x90, 0xb7, 0xbf, 0x55, 0xaf, 0xee, 0xf3, 0xa6, 0x8c, 0x28, 0x98, 0xb0, 0xa4, 419 0x6e, 0x70, 0xe7, 0x47, 0xb5, 0xbe, 0xa7, 0x94, 0x90, 0x4b, 0x94, 0x1e, 0x1d, 0x1d, 0xf5, 0x2d, 420 0x52, 0xd6, 0x51, 0x7b, 0xe1, 0x1f, 0x74, 0x5e, 0xd8, 0x4c, 0xb5, 0xb9, 0xe7, 0xdc, 0x19, 0xb6, 421 0xdd, 0x0f, 0xb2, 0xf2, 0x16, 0xe1, 0x9b, 0x06, 0x77, 0xb2, 0xae, 0xbc, 0x32, 0x9b, 0xec, 0x32, 422 0xdb, 0x7e, 0x15, 0xb7, 0xd1, 0xb3, 0x6a, 0xa4, 0x33, 0xb9, 0xcd, 0x5c, 0x53, 0xe7, 0x9e, 0x49, 423 0x4d, 0x70, 0x83, 0x1a, 0xd3, 0xd3, 0x98, 0xa9, 0xff, 0xf6, 0xe5, 0x70, 0xf8, 0x7e, 0x6c, 0x7c, 424 0x75, 0xa7, 0xde, 0x9c, 0x08, 0x34, 0xf7, 0xfe, 0x04, 0x00, 0x00, 0xff, 0xff, 0xa1, 0xf8, 0xee, 425 0x62, 0xc8, 0x08, 0x00, 0x00, 426} 427 428// Reference imports to suppress errors if they are not otherwise used. 429var _ context.Context 430var _ grpc.ClientConn 431 432// This is a compile-time assertion to ensure that this generated file 433// is compatible with the grpc package it is being compiled against. 434const _ = grpc.SupportPackageIsVersion4 435 436// ApplicationServiceClient is the client API for ApplicationService service. 437// 438// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 439type ApplicationServiceClient interface { 440 // Creates a new application entity. 441 CreateApplication(ctx context.Context, in *CreateApplicationRequest, opts ...grpc.CallOption) (*Application, error) 442 // Retrieves specified application. 443 GetApplication(ctx context.Context, in *GetApplicationRequest, opts ...grpc.CallOption) (*Application, error) 444 // Updates specified application. 445 UpdateApplication(ctx context.Context, in *UpdateApplicationRequest, opts ...grpc.CallOption) (*Application, error) 446 // Deletes specified application. 447 DeleteApplication(ctx context.Context, in *DeleteApplicationRequest, opts ...grpc.CallOption) (*empty.Empty, error) 448 // Lists all applications associated with the profile. 449 ListApplications(ctx context.Context, in *ListApplicationsRequest, opts ...grpc.CallOption) (*ListApplicationsResponse, error) 450} 451 452type applicationServiceClient struct { 453 cc *grpc.ClientConn 454} 455 456func NewApplicationServiceClient(cc *grpc.ClientConn) ApplicationServiceClient { 457 return &applicationServiceClient{cc} 458} 459 460func (c *applicationServiceClient) CreateApplication(ctx context.Context, in *CreateApplicationRequest, opts ...grpc.CallOption) (*Application, error) { 461 out := new(Application) 462 err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.ApplicationService/CreateApplication", in, out, opts...) 463 if err != nil { 464 return nil, err 465 } 466 return out, nil 467} 468 469func (c *applicationServiceClient) GetApplication(ctx context.Context, in *GetApplicationRequest, opts ...grpc.CallOption) (*Application, error) { 470 out := new(Application) 471 err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.ApplicationService/GetApplication", in, out, opts...) 472 if err != nil { 473 return nil, err 474 } 475 return out, nil 476} 477 478func (c *applicationServiceClient) UpdateApplication(ctx context.Context, in *UpdateApplicationRequest, opts ...grpc.CallOption) (*Application, error) { 479 out := new(Application) 480 err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.ApplicationService/UpdateApplication", in, out, opts...) 481 if err != nil { 482 return nil, err 483 } 484 return out, nil 485} 486 487func (c *applicationServiceClient) DeleteApplication(ctx context.Context, in *DeleteApplicationRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 488 out := new(empty.Empty) 489 err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.ApplicationService/DeleteApplication", in, out, opts...) 490 if err != nil { 491 return nil, err 492 } 493 return out, nil 494} 495 496func (c *applicationServiceClient) ListApplications(ctx context.Context, in *ListApplicationsRequest, opts ...grpc.CallOption) (*ListApplicationsResponse, error) { 497 out := new(ListApplicationsResponse) 498 err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.ApplicationService/ListApplications", in, out, opts...) 499 if err != nil { 500 return nil, err 501 } 502 return out, nil 503} 504 505// ApplicationServiceServer is the server API for ApplicationService service. 506type ApplicationServiceServer interface { 507 // Creates a new application entity. 508 CreateApplication(context.Context, *CreateApplicationRequest) (*Application, error) 509 // Retrieves specified application. 510 GetApplication(context.Context, *GetApplicationRequest) (*Application, error) 511 // Updates specified application. 512 UpdateApplication(context.Context, *UpdateApplicationRequest) (*Application, error) 513 // Deletes specified application. 514 DeleteApplication(context.Context, *DeleteApplicationRequest) (*empty.Empty, error) 515 // Lists all applications associated with the profile. 516 ListApplications(context.Context, *ListApplicationsRequest) (*ListApplicationsResponse, error) 517} 518 519func RegisterApplicationServiceServer(s *grpc.Server, srv ApplicationServiceServer) { 520 s.RegisterService(&_ApplicationService_serviceDesc, srv) 521} 522 523func _ApplicationService_CreateApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 524 in := new(CreateApplicationRequest) 525 if err := dec(in); err != nil { 526 return nil, err 527 } 528 if interceptor == nil { 529 return srv.(ApplicationServiceServer).CreateApplication(ctx, in) 530 } 531 info := &grpc.UnaryServerInfo{ 532 Server: srv, 533 FullMethod: "/google.cloud.talent.v4beta1.ApplicationService/CreateApplication", 534 } 535 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 536 return srv.(ApplicationServiceServer).CreateApplication(ctx, req.(*CreateApplicationRequest)) 537 } 538 return interceptor(ctx, in, info, handler) 539} 540 541func _ApplicationService_GetApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 542 in := new(GetApplicationRequest) 543 if err := dec(in); err != nil { 544 return nil, err 545 } 546 if interceptor == nil { 547 return srv.(ApplicationServiceServer).GetApplication(ctx, in) 548 } 549 info := &grpc.UnaryServerInfo{ 550 Server: srv, 551 FullMethod: "/google.cloud.talent.v4beta1.ApplicationService/GetApplication", 552 } 553 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 554 return srv.(ApplicationServiceServer).GetApplication(ctx, req.(*GetApplicationRequest)) 555 } 556 return interceptor(ctx, in, info, handler) 557} 558 559func _ApplicationService_UpdateApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 560 in := new(UpdateApplicationRequest) 561 if err := dec(in); err != nil { 562 return nil, err 563 } 564 if interceptor == nil { 565 return srv.(ApplicationServiceServer).UpdateApplication(ctx, in) 566 } 567 info := &grpc.UnaryServerInfo{ 568 Server: srv, 569 FullMethod: "/google.cloud.talent.v4beta1.ApplicationService/UpdateApplication", 570 } 571 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 572 return srv.(ApplicationServiceServer).UpdateApplication(ctx, req.(*UpdateApplicationRequest)) 573 } 574 return interceptor(ctx, in, info, handler) 575} 576 577func _ApplicationService_DeleteApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 578 in := new(DeleteApplicationRequest) 579 if err := dec(in); err != nil { 580 return nil, err 581 } 582 if interceptor == nil { 583 return srv.(ApplicationServiceServer).DeleteApplication(ctx, in) 584 } 585 info := &grpc.UnaryServerInfo{ 586 Server: srv, 587 FullMethod: "/google.cloud.talent.v4beta1.ApplicationService/DeleteApplication", 588 } 589 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 590 return srv.(ApplicationServiceServer).DeleteApplication(ctx, req.(*DeleteApplicationRequest)) 591 } 592 return interceptor(ctx, in, info, handler) 593} 594 595func _ApplicationService_ListApplications_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 596 in := new(ListApplicationsRequest) 597 if err := dec(in); err != nil { 598 return nil, err 599 } 600 if interceptor == nil { 601 return srv.(ApplicationServiceServer).ListApplications(ctx, in) 602 } 603 info := &grpc.UnaryServerInfo{ 604 Server: srv, 605 FullMethod: "/google.cloud.talent.v4beta1.ApplicationService/ListApplications", 606 } 607 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 608 return srv.(ApplicationServiceServer).ListApplications(ctx, req.(*ListApplicationsRequest)) 609 } 610 return interceptor(ctx, in, info, handler) 611} 612 613var _ApplicationService_serviceDesc = grpc.ServiceDesc{ 614 ServiceName: "google.cloud.talent.v4beta1.ApplicationService", 615 HandlerType: (*ApplicationServiceServer)(nil), 616 Methods: []grpc.MethodDesc{ 617 { 618 MethodName: "CreateApplication", 619 Handler: _ApplicationService_CreateApplication_Handler, 620 }, 621 { 622 MethodName: "GetApplication", 623 Handler: _ApplicationService_GetApplication_Handler, 624 }, 625 { 626 MethodName: "UpdateApplication", 627 Handler: _ApplicationService_UpdateApplication_Handler, 628 }, 629 { 630 MethodName: "DeleteApplication", 631 Handler: _ApplicationService_DeleteApplication_Handler, 632 }, 633 { 634 MethodName: "ListApplications", 635 Handler: _ApplicationService_ListApplications_Handler, 636 }, 637 }, 638 Streams: []grpc.StreamDesc{}, 639 Metadata: "google/cloud/talent/v4beta1/application_service.proto", 640} 641