Variables
CompanySize_name, CompanySize_value
var (
CompanySize_name = map[int32]string{
0: "COMPANY_SIZE_UNSPECIFIED",
1: "MINI",
2: "SMALL",
3: "SMEDIUM",
4: "MEDIUM",
5: "BIG",
6: "BIGGER",
7: "GIANT",
}
CompanySize_value = map[string]int32{
"COMPANY_SIZE_UNSPECIFIED": 0,
"MINI": 1,
"SMALL": 2,
"SMEDIUM": 3,
"MEDIUM": 4,
"BIG": 5,
"BIGGER": 6,
"GIANT": 7,
}
)
Enum value maps for CompanySize.
JobBenefit_name, JobBenefit_value
var (
JobBenefit_name = map[int32]string{
0: "JOB_BENEFIT_UNSPECIFIED",
1: "CHILD_CARE",
2: "DENTAL",
3: "DOMESTIC_PARTNER",
4: "FLEXIBLE_HOURS",
5: "MEDICAL",
6: "LIFE_INSURANCE",
7: "PARENTAL_LEAVE",
8: "RETIREMENT_PLAN",
9: "SICK_DAYS",
10: "VACATION",
11: "VISION",
}
JobBenefit_value = map[string]int32{
"JOB_BENEFIT_UNSPECIFIED": 0,
"CHILD_CARE": 1,
"DENTAL": 2,
"DOMESTIC_PARTNER": 3,
"FLEXIBLE_HOURS": 4,
"MEDICAL": 5,
"LIFE_INSURANCE": 6,
"PARENTAL_LEAVE": 7,
"RETIREMENT_PLAN": 8,
"SICK_DAYS": 9,
"VACATION": 10,
"VISION": 11,
}
)
Enum value maps for JobBenefit.
DegreeType_name, DegreeType_value
var (
DegreeType_name = map[int32]string{
0: "DEGREE_TYPE_UNSPECIFIED",
1: "PRIMARY_EDUCATION",
2: "LOWER_SECONDARY_EDUCATION",
3: "UPPER_SECONDARY_EDUCATION",
4: "ADULT_REMEDIAL_EDUCATION",
5: "ASSOCIATES_OR_EQUIVALENT",
6: "BACHELORS_OR_EQUIVALENT",
7: "MASTERS_OR_EQUIVALENT",
8: "DOCTORAL_OR_EQUIVALENT",
}
DegreeType_value = map[string]int32{
"DEGREE_TYPE_UNSPECIFIED": 0,
"PRIMARY_EDUCATION": 1,
"LOWER_SECONDARY_EDUCATION": 2,
"UPPER_SECONDARY_EDUCATION": 3,
"ADULT_REMEDIAL_EDUCATION": 4,
"ASSOCIATES_OR_EQUIVALENT": 5,
"BACHELORS_OR_EQUIVALENT": 6,
"MASTERS_OR_EQUIVALENT": 7,
"DOCTORAL_OR_EQUIVALENT": 8,
}
)
Enum value maps for DegreeType.
EmploymentType_name, EmploymentType_value
var (
EmploymentType_name = map[int32]string{
0: "EMPLOYMENT_TYPE_UNSPECIFIED",
1: "FULL_TIME",
2: "PART_TIME",
3: "CONTRACTOR",
4: "CONTRACT_TO_HIRE",
5: "TEMPORARY",
6: "INTERN",
7: "VOLUNTEER",
8: "PER_DIEM",
9: "FLY_IN_FLY_OUT",
10: "OTHER_EMPLOYMENT_TYPE",
}
EmploymentType_value = map[string]int32{
"EMPLOYMENT_TYPE_UNSPECIFIED": 0,
"FULL_TIME": 1,
"PART_TIME": 2,
"CONTRACTOR": 3,
"CONTRACT_TO_HIRE": 4,
"TEMPORARY": 5,
"INTERN": 6,
"VOLUNTEER": 7,
"PER_DIEM": 8,
"FLY_IN_FLY_OUT": 9,
"OTHER_EMPLOYMENT_TYPE": 10,
}
)
Enum value maps for EmploymentType.
JobLevel_name, JobLevel_value
var (
JobLevel_name = map[int32]string{
0: "JOB_LEVEL_UNSPECIFIED",
1: "ENTRY_LEVEL",
2: "EXPERIENCED",
3: "MANAGER",
4: "DIRECTOR",
5: "EXECUTIVE",
}
JobLevel_value = map[string]int32{
"JOB_LEVEL_UNSPECIFIED": 0,
"ENTRY_LEVEL": 1,
"EXPERIENCED": 2,
"MANAGER": 3,
"DIRECTOR": 4,
"EXECUTIVE": 5,
}
)
Enum value maps for JobLevel.
JobCategory_name, JobCategory_value
var (
JobCategory_name = map[int32]string{
0: "JOB_CATEGORY_UNSPECIFIED",
1: "ACCOUNTING_AND_FINANCE",
2: "ADMINISTRATIVE_AND_OFFICE",
3: "ADVERTISING_AND_MARKETING",
4: "ANIMAL_CARE",
5: "ART_FASHION_AND_DESIGN",
6: "BUSINESS_OPERATIONS",
7: "CLEANING_AND_FACILITIES",
8: "COMPUTER_AND_IT",
9: "CONSTRUCTION",
10: "CUSTOMER_SERVICE",
11: "EDUCATION",
12: "ENTERTAINMENT_AND_TRAVEL",
13: "FARMING_AND_OUTDOORS",
14: "HEALTHCARE",
15: "HUMAN_RESOURCES",
16: "INSTALLATION_MAINTENANCE_AND_REPAIR",
17: "LEGAL",
18: "MANAGEMENT",
19: "MANUFACTURING_AND_WAREHOUSE",
20: "MEDIA_COMMUNICATIONS_AND_WRITING",
21: "OIL_GAS_AND_MINING",
22: "PERSONAL_CARE_AND_SERVICES",
23: "PROTECTIVE_SERVICES",
24: "REAL_ESTATE",
25: "RESTAURANT_AND_HOSPITALITY",
26: "SALES_AND_RETAIL",
27: "SCIENCE_AND_ENGINEERING",
28: "SOCIAL_SERVICES_AND_NON_PROFIT",
29: "SPORTS_FITNESS_AND_RECREATION",
30: "TRANSPORTATION_AND_LOGISTICS",
}
JobCategory_value = map[string]int32{
"JOB_CATEGORY_UNSPECIFIED": 0,
"ACCOUNTING_AND_FINANCE": 1,
"ADMINISTRATIVE_AND_OFFICE": 2,
"ADVERTISING_AND_MARKETING": 3,
"ANIMAL_CARE": 4,
"ART_FASHION_AND_DESIGN": 5,
"BUSINESS_OPERATIONS": 6,
"CLEANING_AND_FACILITIES": 7,
"COMPUTER_AND_IT": 8,
"CONSTRUCTION": 9,
"CUSTOMER_SERVICE": 10,
"EDUCATION": 11,
"ENTERTAINMENT_AND_TRAVEL": 12,
"FARMING_AND_OUTDOORS": 13,
"HEALTHCARE": 14,
"HUMAN_RESOURCES": 15,
"INSTALLATION_MAINTENANCE_AND_REPAIR": 16,
"LEGAL": 17,
"MANAGEMENT": 18,
"MANUFACTURING_AND_WAREHOUSE": 19,
"MEDIA_COMMUNICATIONS_AND_WRITING": 20,
"OIL_GAS_AND_MINING": 21,
"PERSONAL_CARE_AND_SERVICES": 22,
"PROTECTIVE_SERVICES": 23,
"REAL_ESTATE": 24,
"RESTAURANT_AND_HOSPITALITY": 25,
"SALES_AND_RETAIL": 26,
"SCIENCE_AND_ENGINEERING": 27,
"SOCIAL_SERVICES_AND_NON_PROFIT": 28,
"SPORTS_FITNESS_AND_RECREATION": 29,
"TRANSPORTATION_AND_LOGISTICS": 30,
}
)
Enum value maps for JobCategory.
PostingRegion_name, PostingRegion_value
var (
PostingRegion_name = map[int32]string{
0: "POSTING_REGION_UNSPECIFIED",
1: "ADMINISTRATIVE_AREA",
2: "NATION",
3: "TELECOMMUTE",
}
PostingRegion_value = map[string]int32{
"POSTING_REGION_UNSPECIFIED": 0,
"ADMINISTRATIVE_AREA": 1,
"NATION": 2,
"TELECOMMUTE": 3,
}
)
Enum value maps for PostingRegion.
Visibility_name, Visibility_value
var (
Visibility_name = map[int32]string{
0: "VISIBILITY_UNSPECIFIED",
1: "ACCOUNT_ONLY",
2: "SHARED_WITH_GOOGLE",
3: "SHARED_WITH_PUBLIC",
}
Visibility_value = map[string]int32{
"VISIBILITY_UNSPECIFIED": 0,
"ACCOUNT_ONLY": 1,
"SHARED_WITH_GOOGLE": 2,
"SHARED_WITH_PUBLIC": 3,
}
)
Enum value maps for Visibility.
HtmlSanitization_name, HtmlSanitization_value
var (
HtmlSanitization_name = map[int32]string{
0: "HTML_SANITIZATION_UNSPECIFIED",
1: "HTML_SANITIZATION_DISABLED",
2: "SIMPLE_FORMATTING_ONLY",
}
HtmlSanitization_value = map[string]int32{
"HTML_SANITIZATION_UNSPECIFIED": 0,
"HTML_SANITIZATION_DISABLED": 1,
"SIMPLE_FORMATTING_ONLY": 2,
}
)
Enum value maps for HtmlSanitization.
CommuteMethod_name, CommuteMethod_value
var (
CommuteMethod_name = map[int32]string{
0: "COMMUTE_METHOD_UNSPECIFIED",
1: "DRIVING",
2: "TRANSIT",
3: "WALKING",
4: "CYCLING",
5: "TRANSIT_ACCESSIBLE",
}
CommuteMethod_value = map[string]int32{
"COMMUTE_METHOD_UNSPECIFIED": 0,
"DRIVING": 1,
"TRANSIT": 2,
"WALKING": 3,
"CYCLING": 4,
"TRANSIT_ACCESSIBLE": 5,
}
)
Enum value maps for CommuteMethod.
Location_LocationType_name, Location_LocationType_value
var (
Location_LocationType_name = map[int32]string{
0: "LOCATION_TYPE_UNSPECIFIED",
1: "COUNTRY",
2: "ADMINISTRATIVE_AREA",
3: "SUB_ADMINISTRATIVE_AREA",
4: "LOCALITY",
5: "POSTAL_CODE",
6: "SUB_LOCALITY",
7: "SUB_LOCALITY_1",
8: "SUB_LOCALITY_2",
9: "NEIGHBORHOOD",
10: "STREET_ADDRESS",
}
Location_LocationType_value = map[string]int32{
"LOCATION_TYPE_UNSPECIFIED": 0,
"COUNTRY": 1,
"ADMINISTRATIVE_AREA": 2,
"SUB_ADMINISTRATIVE_AREA": 3,
"LOCALITY": 4,
"POSTAL_CODE": 5,
"SUB_LOCALITY": 6,
"SUB_LOCALITY_1": 7,
"SUB_LOCALITY_2": 8,
"NEIGHBORHOOD": 9,
"STREET_ADDRESS": 10,
}
)
Enum value maps for Location_LocationType.
DeviceInfo_DeviceType_name, DeviceInfo_DeviceType_value
var (
DeviceInfo_DeviceType_name = map[int32]string{
0: "DEVICE_TYPE_UNSPECIFIED",
1: "WEB",
2: "MOBILE_WEB",
3: "ANDROID",
4: "IOS",
5: "BOT",
6: "OTHER",
}
DeviceInfo_DeviceType_value = map[string]int32{
"DEVICE_TYPE_UNSPECIFIED": 0,
"WEB": 1,
"MOBILE_WEB": 2,
"ANDROID": 3,
"IOS": 4,
"BOT": 5,
"OTHER": 6,
}
)
Enum value maps for DeviceInfo_DeviceType.
CompensationInfo_CompensationType_name, CompensationInfo_CompensationType_value
var (
CompensationInfo_CompensationType_name = map[int32]string{
0: "COMPENSATION_TYPE_UNSPECIFIED",
1: "BASE",
2: "BONUS",
3: "SIGNING_BONUS",
4: "EQUITY",
5: "PROFIT_SHARING",
6: "COMMISSIONS",
7: "TIPS",
8: "OTHER_COMPENSATION_TYPE",
}
CompensationInfo_CompensationType_value = map[string]int32{
"COMPENSATION_TYPE_UNSPECIFIED": 0,
"BASE": 1,
"BONUS": 2,
"SIGNING_BONUS": 3,
"EQUITY": 4,
"PROFIT_SHARING": 5,
"COMMISSIONS": 6,
"TIPS": 7,
"OTHER_COMPENSATION_TYPE": 8,
}
)
Enum value maps for CompensationInfo_CompensationType.
CompensationInfo_CompensationUnit_name, CompensationInfo_CompensationUnit_value
var (
CompensationInfo_CompensationUnit_name = map[int32]string{
0: "COMPENSATION_UNIT_UNSPECIFIED",
1: "HOURLY",
2: "DAILY",
3: "WEEKLY",
4: "MONTHLY",
5: "YEARLY",
6: "ONE_TIME",
7: "OTHER_COMPENSATION_UNIT",
}
CompensationInfo_CompensationUnit_value = map[string]int32{
"COMPENSATION_UNIT_UNSPECIFIED": 0,
"HOURLY": 1,
"DAILY": 2,
"WEEKLY": 3,
"MONTHLY": 4,
"YEARLY": 5,
"ONE_TIME": 6,
"OTHER_COMPENSATION_UNIT": 7,
}
)
Enum value maps for CompensationInfo_CompensationUnit.
BatchOperationMetadata_State_name, BatchOperationMetadata_State_value
var (
BatchOperationMetadata_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "INITIALIZING",
2: "PROCESSING",
3: "SUCCEEDED",
4: "FAILED",
5: "CANCELLING",
6: "CANCELLED",
}
BatchOperationMetadata_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"INITIALIZING": 1,
"PROCESSING": 2,
"SUCCEEDED": 3,
"FAILED": 4,
"CANCELLING": 5,
"CANCELLED": 6,
}
)
Enum value maps for BatchOperationMetadata_State.
CompleteQueryRequest_CompletionScope_name, CompleteQueryRequest_CompletionScope_value
var (
CompleteQueryRequest_CompletionScope_name = map[int32]string{
0: "COMPLETION_SCOPE_UNSPECIFIED",
1: "TENANT",
2: "PUBLIC",
}
CompleteQueryRequest_CompletionScope_value = map[string]int32{
"COMPLETION_SCOPE_UNSPECIFIED": 0,
"TENANT": 1,
"PUBLIC": 2,
}
)
Enum value maps for CompleteQueryRequest_CompletionScope.
CompleteQueryRequest_CompletionType_name, CompleteQueryRequest_CompletionType_value
var (
CompleteQueryRequest_CompletionType_name = map[int32]string{
0: "COMPLETION_TYPE_UNSPECIFIED",
1: "JOB_TITLE",
2: "COMPANY_NAME",
3: "COMBINED",
}
CompleteQueryRequest_CompletionType_value = map[string]int32{
"COMPLETION_TYPE_UNSPECIFIED": 0,
"JOB_TITLE": 1,
"COMPANY_NAME": 2,
"COMBINED": 3,
}
)
Enum value maps for CompleteQueryRequest_CompletionType.
JobEvent_JobEventType_name, JobEvent_JobEventType_value
var (
JobEvent_JobEventType_name = map[int32]string{
0: "JOB_EVENT_TYPE_UNSPECIFIED",
1: "IMPRESSION",
2: "VIEW",
3: "VIEW_REDIRECT",
4: "APPLICATION_START",
5: "APPLICATION_FINISH",
6: "APPLICATION_QUICK_SUBMISSION",
7: "APPLICATION_REDIRECT",
8: "APPLICATION_START_FROM_SEARCH",
9: "APPLICATION_REDIRECT_FROM_SEARCH",
10: "APPLICATION_COMPANY_SUBMIT",
11: "BOOKMARK",
12: "NOTIFICATION",
13: "HIRED",
14: "SENT_CV",
15: "INTERVIEW_GRANTED",
}
JobEvent_JobEventType_value = map[string]int32{
"JOB_EVENT_TYPE_UNSPECIFIED": 0,
"IMPRESSION": 1,
"VIEW": 2,
"VIEW_REDIRECT": 3,
"APPLICATION_START": 4,
"APPLICATION_FINISH": 5,
"APPLICATION_QUICK_SUBMISSION": 6,
"APPLICATION_REDIRECT": 7,
"APPLICATION_START_FROM_SEARCH": 8,
"APPLICATION_REDIRECT_FROM_SEARCH": 9,
"APPLICATION_COMPANY_SUBMIT": 10,
"BOOKMARK": 11,
"NOTIFICATION": 12,
"HIRED": 13,
"SENT_CV": 14,
"INTERVIEW_GRANTED": 15,
}
)
Enum value maps for JobEvent_JobEventType.
LocationFilter_TelecommutePreference_name, LocationFilter_TelecommutePreference_value
var (
LocationFilter_TelecommutePreference_name = map[int32]string{
0: "TELECOMMUTE_PREFERENCE_UNSPECIFIED",
1: "TELECOMMUTE_EXCLUDED",
2: "TELECOMMUTE_ALLOWED",
3: "TELECOMMUTE_JOBS_EXCLUDED",
}
LocationFilter_TelecommutePreference_value = map[string]int32{
"TELECOMMUTE_PREFERENCE_UNSPECIFIED": 0,
"TELECOMMUTE_EXCLUDED": 1,
"TELECOMMUTE_ALLOWED": 2,
"TELECOMMUTE_JOBS_EXCLUDED": 3,
}
)
Enum value maps for LocationFilter_TelecommutePreference.
CompensationFilter_FilterType_name, CompensationFilter_FilterType_value
var (
CompensationFilter_FilterType_name = map[int32]string{
0: "FILTER_TYPE_UNSPECIFIED",
1: "UNIT_ONLY",
2: "UNIT_AND_AMOUNT",
3: "ANNUALIZED_BASE_AMOUNT",
4: "ANNUALIZED_TOTAL_AMOUNT",
}
CompensationFilter_FilterType_value = map[string]int32{
"FILTER_TYPE_UNSPECIFIED": 0,
"UNIT_ONLY": 1,
"UNIT_AND_AMOUNT": 2,
"ANNUALIZED_BASE_AMOUNT": 3,
"ANNUALIZED_TOTAL_AMOUNT": 4,
}
)
Enum value maps for CompensationFilter_FilterType.
CommuteFilter_RoadTraffic_name, CommuteFilter_RoadTraffic_value
var (
CommuteFilter_RoadTraffic_name = map[int32]string{
0: "ROAD_TRAFFIC_UNSPECIFIED",
1: "TRAFFIC_FREE",
2: "BUSY_HOUR",
}
CommuteFilter_RoadTraffic_value = map[string]int32{
"ROAD_TRAFFIC_UNSPECIFIED": 0,
"TRAFFIC_FREE": 1,
"BUSY_HOUR": 2,
}
)
Enum value maps for CommuteFilter_RoadTraffic.
JobView_name, JobView_value
var (
JobView_name = map[int32]string{
0: "JOB_VIEW_UNSPECIFIED",
1: "JOB_VIEW_ID_ONLY",
2: "JOB_VIEW_MINIMAL",
3: "JOB_VIEW_SMALL",
4: "JOB_VIEW_FULL",
}
JobView_value = map[string]int32{
"JOB_VIEW_UNSPECIFIED": 0,
"JOB_VIEW_ID_ONLY": 1,
"JOB_VIEW_MINIMAL": 2,
"JOB_VIEW_SMALL": 3,
"JOB_VIEW_FULL": 4,
}
)
Enum value maps for JobView.
SearchJobsRequest_SearchMode_name, SearchJobsRequest_SearchMode_value
var (
SearchJobsRequest_SearchMode_name = map[int32]string{
0: "SEARCH_MODE_UNSPECIFIED",
1: "JOB_SEARCH",
2: "FEATURED_JOB_SEARCH",
}
SearchJobsRequest_SearchMode_value = map[string]int32{
"SEARCH_MODE_UNSPECIFIED": 0,
"JOB_SEARCH": 1,
"FEATURED_JOB_SEARCH": 2,
}
)
Enum value maps for SearchJobsRequest_SearchMode.
SearchJobsRequest_DiversificationLevel_name, SearchJobsRequest_DiversificationLevel_value
var (
SearchJobsRequest_DiversificationLevel_name = map[int32]string{
0: "DIVERSIFICATION_LEVEL_UNSPECIFIED",
1: "DISABLED",
2: "SIMPLE",
3: "ONE_PER_COMPANY",
4: "TWO_PER_COMPANY",
5: "DIVERSIFY_BY_LOOSER_SIMILARITY",
}
SearchJobsRequest_DiversificationLevel_value = map[string]int32{
"DIVERSIFICATION_LEVEL_UNSPECIFIED": 0,
"DISABLED": 1,
"SIMPLE": 2,
"ONE_PER_COMPANY": 3,
"TWO_PER_COMPANY": 4,
"DIVERSIFY_BY_LOOSER_SIMILARITY": 5,
}
)
Enum value maps for SearchJobsRequest_DiversificationLevel.
SearchJobsRequest_KeywordMatchMode_name, SearchJobsRequest_KeywordMatchMode_value
var (
SearchJobsRequest_KeywordMatchMode_name = map[int32]string{
0: "KEYWORD_MATCH_MODE_UNSPECIFIED",
1: "KEYWORD_MATCH_DISABLED",
2: "KEYWORD_MATCH_ALL",
3: "KEYWORD_MATCH_TITLE_ONLY",
}
SearchJobsRequest_KeywordMatchMode_value = map[string]int32{
"KEYWORD_MATCH_MODE_UNSPECIFIED": 0,
"KEYWORD_MATCH_DISABLED": 1,
"KEYWORD_MATCH_ALL": 2,
"KEYWORD_MATCH_TITLE_ONLY": 3,
}
)
Enum value maps for SearchJobsRequest_KeywordMatchMode.
SearchJobsRequest_CustomRankingInfo_ImportanceLevel_name, SearchJobsRequest_CustomRankingInfo_ImportanceLevel_value
var (
SearchJobsRequest_CustomRankingInfo_ImportanceLevel_name = map[int32]string{
0: "IMPORTANCE_LEVEL_UNSPECIFIED",
1: "NONE",
2: "LOW",
3: "MILD",
4: "MEDIUM",
5: "HIGH",
6: "EXTREME",
}
SearchJobsRequest_CustomRankingInfo_ImportanceLevel_value = map[string]int32{
"IMPORTANCE_LEVEL_UNSPECIFIED": 0,
"NONE": 1,
"LOW": 2,
"MILD": 3,
"MEDIUM": 4,
"HIGH": 5,
"EXTREME": 6,
}
)
Enum value maps for SearchJobsRequest_CustomRankingInfo_ImportanceLevel.
File_google_cloud_talent_v4_common_proto
var File_google_cloud_talent_v4_common_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4_company_proto
var File_google_cloud_talent_v4_company_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4_company_service_proto
var File_google_cloud_talent_v4_company_service_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4_completion_service_proto
var File_google_cloud_talent_v4_completion_service_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4_event_proto
var File_google_cloud_talent_v4_event_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4_event_service_proto
var File_google_cloud_talent_v4_event_service_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4_filters_proto
var File_google_cloud_talent_v4_filters_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4_histogram_proto
var File_google_cloud_talent_v4_histogram_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4_job_proto
var File_google_cloud_talent_v4_job_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4_job_service_proto
var File_google_cloud_talent_v4_job_service_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4_tenant_proto
var File_google_cloud_talent_v4_tenant_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4_tenant_service_proto
var File_google_cloud_talent_v4_tenant_service_proto protoreflect.FileDescriptor
Functions
func RegisterCompanyServiceServer
func RegisterCompanyServiceServer(s *grpc.Server, srv CompanyServiceServer)
func RegisterCompletionServer
func RegisterCompletionServer(s *grpc.Server, srv CompletionServer)
func RegisterEventServiceServer
func RegisterEventServiceServer(s *grpc.Server, srv EventServiceServer)
func RegisterJobServiceServer
func RegisterJobServiceServer(s *grpc.Server, srv JobServiceServer)
func RegisterTenantServiceServer
func RegisterTenantServiceServer(s *grpc.Server, srv TenantServiceServer)
BatchCreateJobsRequest
type BatchCreateJobsRequest struct {
// Required. The resource name of the tenant under which the job is created.
//
// The format is "projects/{project_id}/tenants/{tenant_id}". For example,
// "projects/foo/tenants/bar".
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The jobs to be created.
// A maximum of 200 jobs can be created in a batch.
Jobs []*Job `protobuf:"bytes,2,rep,name=jobs,proto3" json:"jobs,omitempty"`
// contains filtered or unexported fields
}
Request to create a batch of jobs.
func (*BatchCreateJobsRequest) Descriptor
func (*BatchCreateJobsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateJobsRequest.ProtoReflect.Descriptor instead.
func (*BatchCreateJobsRequest) GetJobs
func (x *BatchCreateJobsRequest) GetJobs() []*Job
func (*BatchCreateJobsRequest) GetParent
func (x *BatchCreateJobsRequest) GetParent() string
func (*BatchCreateJobsRequest) ProtoMessage
func (*BatchCreateJobsRequest) ProtoMessage()
func (*BatchCreateJobsRequest) ProtoReflect
func (x *BatchCreateJobsRequest) ProtoReflect() protoreflect.Message
func (*BatchCreateJobsRequest) Reset
func (x *BatchCreateJobsRequest) Reset()
func (*BatchCreateJobsRequest) String
func (x *BatchCreateJobsRequest) String() string
BatchCreateJobsResponse
type BatchCreateJobsResponse struct {
// List of job mutation results from a batch create operation. It can change
// until operation status is FINISHED, FAILED or CANCELLED.
JobResults []*JobResult `protobuf:"bytes,1,rep,name=job_results,json=jobResults,proto3" json:"job_results,omitempty"`
// contains filtered or unexported fields
}
The result of [JobService.BatchCreateJobs][google.cloud.talent.v4.JobService.BatchCreateJobs]. It's used to replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
func (*BatchCreateJobsResponse) Descriptor
func (*BatchCreateJobsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateJobsResponse.ProtoReflect.Descriptor instead.
func (*BatchCreateJobsResponse) GetJobResults
func (x *BatchCreateJobsResponse) GetJobResults() []*JobResult
func (*BatchCreateJobsResponse) ProtoMessage
func (*BatchCreateJobsResponse) ProtoMessage()
func (*BatchCreateJobsResponse) ProtoReflect
func (x *BatchCreateJobsResponse) ProtoReflect() protoreflect.Message
func (*BatchCreateJobsResponse) Reset
func (x *BatchCreateJobsResponse) Reset()
func (*BatchCreateJobsResponse) String
func (x *BatchCreateJobsResponse) String() string
BatchDeleteJobsRequest
type BatchDeleteJobsRequest struct {
// Required. The resource name of the tenant under which the job is created.
//
// The format is "projects/{project_id}/tenants/{tenant_id}". For example,
// "projects/foo/tenants/bar".
//
// The parent of all of the jobs specified in `names` must match this field.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The names of the jobs to delete.
//
// The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
// For example, "projects/foo/tenants/bar/jobs/baz".
//
// A maximum of 200 jobs can be deleted in a batch.
Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
// contains filtered or unexported fields
}
Request to delete a batch of jobs.
func (*BatchDeleteJobsRequest) Descriptor
func (*BatchDeleteJobsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchDeleteJobsRequest.ProtoReflect.Descriptor instead.
func (*BatchDeleteJobsRequest) GetNames
func (x *BatchDeleteJobsRequest) GetNames() []string
func (*BatchDeleteJobsRequest) GetParent
func (x *BatchDeleteJobsRequest) GetParent() string
func (*BatchDeleteJobsRequest) ProtoMessage
func (*BatchDeleteJobsRequest) ProtoMessage()
func (*BatchDeleteJobsRequest) ProtoReflect
func (x *BatchDeleteJobsRequest) ProtoReflect() protoreflect.Message
func (*BatchDeleteJobsRequest) Reset
func (x *BatchDeleteJobsRequest) Reset()
func (*BatchDeleteJobsRequest) String
func (x *BatchDeleteJobsRequest) String() string
BatchDeleteJobsResponse
type BatchDeleteJobsResponse struct {
// List of job mutation results from a batch delete operation. It can change
// until operation status is FINISHED, FAILED or CANCELLED.
JobResults []*JobResult `protobuf:"bytes,1,rep,name=job_results,json=jobResults,proto3" json:"job_results,omitempty"`
// contains filtered or unexported fields
}
The result of [JobService.BatchDeleteJobs][google.cloud.talent.v4.JobService.BatchDeleteJobs]. It's used to replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
func (*BatchDeleteJobsResponse) Descriptor
func (*BatchDeleteJobsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchDeleteJobsResponse.ProtoReflect.Descriptor instead.
func (*BatchDeleteJobsResponse) GetJobResults
func (x *BatchDeleteJobsResponse) GetJobResults() []*JobResult
func (*BatchDeleteJobsResponse) ProtoMessage
func (*BatchDeleteJobsResponse) ProtoMessage()
func (*BatchDeleteJobsResponse) ProtoReflect
func (x *BatchDeleteJobsResponse) ProtoReflect() protoreflect.Message
func (*BatchDeleteJobsResponse) Reset
func (x *BatchDeleteJobsResponse) Reset()
func (*BatchDeleteJobsResponse) String
func (x *BatchDeleteJobsResponse) String() string
BatchOperationMetadata
type BatchOperationMetadata struct {
// The state of a long running operation.
State BatchOperationMetadata_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.talent.v4.BatchOperationMetadata_State" json:"state,omitempty"`
// More detailed information about operation state.
StateDescription string `protobuf:"bytes,2,opt,name=state_description,json=stateDescription,proto3" json:"state_description,omitempty"`
// Count of successful item(s) inside an operation.
SuccessCount int32 `protobuf:"varint,3,opt,name=success_count,json=successCount,proto3" json:"success_count,omitempty"`
// Count of failed item(s) inside an operation.
FailureCount int32 `protobuf:"varint,4,opt,name=failure_count,json=failureCount,proto3" json:"failure_count,omitempty"`
// Count of total item(s) inside an operation.
TotalCount int32 `protobuf:"varint,5,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
// The time when the batch operation is created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// The time when the batch operation status is updated. The metadata and the
// [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is
// refreshed every minute otherwise cached data is returned.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// The time when the batch operation is finished and
// [google.longrunning.Operation.done][google.longrunning.Operation.done] is
// set to `true`.
EndTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// contains filtered or unexported fields
}
Metadata used for long running operations returned by CTS batch APIs. It's used to replace [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata].
func (*BatchOperationMetadata) Descriptor
func (*BatchOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use BatchOperationMetadata.ProtoReflect.Descriptor instead.
func (*BatchOperationMetadata) GetCreateTime
func (x *BatchOperationMetadata) GetCreateTime() *timestamppb.Timestamp
func (*BatchOperationMetadata) GetEndTime
func (x *BatchOperationMetadata) GetEndTime() *timestamppb.Timestamp
func (*BatchOperationMetadata) GetFailureCount
func (x *BatchOperationMetadata) GetFailureCount() int32
func (*BatchOperationMetadata) GetState
func (x *BatchOperationMetadata) GetState() BatchOperationMetadata_State
func (*BatchOperationMetadata) GetStateDescription
func (x *BatchOperationMetadata) GetStateDescription() string
func (*BatchOperationMetadata) GetSuccessCount
func (x *BatchOperationMetadata) GetSuccessCount() int32
func (*BatchOperationMetadata) GetTotalCount
func (x *BatchOperationMetadata) GetTotalCount() int32
func (*BatchOperationMetadata) GetUpdateTime
func (x *BatchOperationMetadata) GetUpdateTime() *timestamppb.Timestamp
func (*BatchOperationMetadata) ProtoMessage
func (*BatchOperationMetadata) ProtoMessage()
func (*BatchOperationMetadata) ProtoReflect
func (x *BatchOperationMetadata) ProtoReflect() protoreflect.Message
func (*BatchOperationMetadata) Reset
func (x *BatchOperationMetadata) Reset()
func (*BatchOperationMetadata) String
func (x *BatchOperationMetadata) String() string
BatchOperationMetadata_State
type BatchOperationMetadata_State int32
BatchOperationMetadata_STATE_UNSPECIFIED, BatchOperationMetadata_INITIALIZING, BatchOperationMetadata_PROCESSING, BatchOperationMetadata_SUCCEEDED, BatchOperationMetadata_FAILED, BatchOperationMetadata_CANCELLING, BatchOperationMetadata_CANCELLED
const (
// Default value.
BatchOperationMetadata_STATE_UNSPECIFIED BatchOperationMetadata_State = 0
// The batch operation is being prepared for processing.
BatchOperationMetadata_INITIALIZING BatchOperationMetadata_State = 1
// The batch operation is actively being processed.
BatchOperationMetadata_PROCESSING BatchOperationMetadata_State = 2
// The batch operation is processed, and at least one item has been
// successfully processed.
BatchOperationMetadata_SUCCEEDED BatchOperationMetadata_State = 3
// The batch operation is done and no item has been successfully processed.
BatchOperationMetadata_FAILED BatchOperationMetadata_State = 4
// The batch operation is in the process of cancelling after
// [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
// is called.
BatchOperationMetadata_CANCELLING BatchOperationMetadata_State = 5
// The batch operation is done after
// [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
// is called. Any items processed before cancelling are returned in the
// response.
BatchOperationMetadata_CANCELLED BatchOperationMetadata_State = 6
)
func (BatchOperationMetadata_State) Descriptor
func (BatchOperationMetadata_State) Descriptor() protoreflect.EnumDescriptor
func (BatchOperationMetadata_State) Enum
func (x BatchOperationMetadata_State) Enum() *BatchOperationMetadata_State
func (BatchOperationMetadata_State) EnumDescriptor
func (BatchOperationMetadata_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use BatchOperationMetadata_State.Descriptor instead.
func (BatchOperationMetadata_State) Number
func (x BatchOperationMetadata_State) Number() protoreflect.EnumNumber
func (BatchOperationMetadata_State) String
func (x BatchOperationMetadata_State) String() string
func (BatchOperationMetadata_State) Type
func (BatchOperationMetadata_State) Type() protoreflect.EnumType
BatchUpdateJobsRequest
type BatchUpdateJobsRequest struct {
// Required. The resource name of the tenant under which the job is created.
//
// The format is "projects/{project_id}/tenants/{tenant_id}". For example,
// "projects/foo/tenants/bar".
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The jobs to be updated.
// A maximum of 200 jobs can be updated in a batch.
Jobs []*Job `protobuf:"bytes,2,rep,name=jobs,proto3" json:"jobs,omitempty"`
// Strongly recommended for the best service experience. Be aware that it will
// also increase latency when checking the status of a batch operation.
//
// If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask]
// is provided, only the specified fields in [Job][google.cloud.talent.v4.Job]
// are updated. Otherwise all the fields are updated.
//
// A field mask to restrict the fields that are updated. Only
// top level fields of [Job][google.cloud.talent.v4.Job] are supported.
//
// If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask]
// is provided, The [Job][google.cloud.talent.v4.Job] inside
// [JobResult][JobOperationResult.JobResult]
// will only contains fields that is updated, plus the Id of the Job.
// Otherwise, [Job][google.cloud.talent.v4.Job] will include all fields,
// which can yield a very large response.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request to update a batch of jobs.
func (*BatchUpdateJobsRequest) Descriptor
func (*BatchUpdateJobsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateJobsRequest.ProtoReflect.Descriptor instead.
func (*BatchUpdateJobsRequest) GetJobs
func (x *BatchUpdateJobsRequest) GetJobs() []*Job
func (*BatchUpdateJobsRequest) GetParent
func (x *BatchUpdateJobsRequest) GetParent() string
func (*BatchUpdateJobsRequest) GetUpdateMask
func (x *BatchUpdateJobsRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*BatchUpdateJobsRequest) ProtoMessage
func (*BatchUpdateJobsRequest) ProtoMessage()
func (*BatchUpdateJobsRequest) ProtoReflect
func (x *BatchUpdateJobsRequest) ProtoReflect() protoreflect.Message
func (*BatchUpdateJobsRequest) Reset
func (x *BatchUpdateJobsRequest) Reset()
func (*BatchUpdateJobsRequest) String
func (x *BatchUpdateJobsRequest) String() string
BatchUpdateJobsResponse
type BatchUpdateJobsResponse struct {
// List of job mutation results from a batch update operation. It can change
// until operation status is FINISHED, FAILED or CANCELLED.
JobResults []*JobResult `protobuf:"bytes,1,rep,name=job_results,json=jobResults,proto3" json:"job_results,omitempty"`
// contains filtered or unexported fields
}
The result of [JobService.BatchUpdateJobs][google.cloud.talent.v4.JobService.BatchUpdateJobs]. It's used to replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
func (*BatchUpdateJobsResponse) Descriptor
func (*BatchUpdateJobsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateJobsResponse.ProtoReflect.Descriptor instead.
func (*BatchUpdateJobsResponse) GetJobResults
func (x *BatchUpdateJobsResponse) GetJobResults() []*JobResult
func (*BatchUpdateJobsResponse) ProtoMessage
func (*BatchUpdateJobsResponse) ProtoMessage()
func (*BatchUpdateJobsResponse) ProtoReflect
func (x *BatchUpdateJobsResponse) ProtoReflect() protoreflect.Message
func (*BatchUpdateJobsResponse) Reset
func (x *BatchUpdateJobsResponse) Reset()
func (*BatchUpdateJobsResponse) String
func (x *BatchUpdateJobsResponse) String() string
ClientEvent
type ClientEvent struct {
// Strongly recommended for the best service experience.
//
// A unique ID generated in the API responses. It can be found in
// [ResponseMetadata.request_id][google.cloud.talent.v4.ResponseMetadata.request_id].
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Required. A unique identifier, generated by the client application.
EventId string `protobuf:"bytes,2,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
// Required. The timestamp of the event.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Required.
//
// The detail information of a specific event type.
//
// Types that are assignable to Event:
// *ClientEvent_JobEvent
Event isClientEvent_Event `protobuf_oneof:"event"`
// Notes about the event provided by recruiters or other users, for example,
// feedback on why a job was bookmarked.
EventNotes string `protobuf:"bytes,9,opt,name=event_notes,json=eventNotes,proto3" json:"event_notes,omitempty"`
// contains filtered or unexported fields
}
An event issued when an end user interacts with the application that implements Cloud Talent Solution. Providing this information improves the quality of results for the API clients, enabling the service to perform optimally. The number of events sent must be consistent with other calls, such as job searches, issued to the service by the client.
func (*ClientEvent) Descriptor
func (*ClientEvent) Descriptor() ([]byte, []int)
Deprecated: Use ClientEvent.ProtoReflect.Descriptor instead.
func (*ClientEvent) GetCreateTime
func (x *ClientEvent) GetCreateTime() *timestamppb.Timestamp
func (*ClientEvent) GetEvent
func (m *ClientEvent) GetEvent() isClientEvent_Event
func (*ClientEvent) GetEventId
func (x *ClientEvent) GetEventId() string
func (*ClientEvent) GetEventNotes
func (x *ClientEvent) GetEventNotes() string
func (*ClientEvent) GetJobEvent
func (x *ClientEvent) GetJobEvent() *JobEvent
func (*ClientEvent) GetRequestId
func (x *ClientEvent) GetRequestId() string
func (*ClientEvent) ProtoMessage
func (*ClientEvent) ProtoMessage()
func (*ClientEvent) ProtoReflect
func (x *ClientEvent) ProtoReflect() protoreflect.Message
func (*ClientEvent) Reset
func (x *ClientEvent) Reset()
func (*ClientEvent) String
func (x *ClientEvent) String() string
ClientEvent_JobEvent
type ClientEvent_JobEvent struct {
// An event issued when a job seeker interacts with the application that
// implements Cloud Talent Solution.
JobEvent *JobEvent `protobuf:"bytes,5,opt,name=job_event,json=jobEvent,proto3,oneof"`
}
CommuteFilter
type CommuteFilter struct {
CommuteMethod CommuteMethod "" /* 143 byte string literal not displayed */
StartCoordinates *latlng.LatLng `protobuf:"bytes,2,opt,name=start_coordinates,json=startCoordinates,proto3" json:"start_coordinates,omitempty"`
TravelDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=travel_duration,json=travelDuration,proto3" json:"travel_duration,omitempty"`
AllowImpreciseAddresses bool "" /* 133 byte string literal not displayed */
TrafficOption isCommuteFilter_TrafficOption `protobuf_oneof:"traffic_option"`
}
Parameters needed for commute search.
func (*CommuteFilter) Descriptor
func (*CommuteFilter) Descriptor() ([]byte, []int)
Deprecated: Use CommuteFilter.ProtoReflect.Descriptor instead.
func (*CommuteFilter) GetAllowImpreciseAddresses
func (x *CommuteFilter) GetAllowImpreciseAddresses() bool
func (*CommuteFilter) GetCommuteMethod
func (x *CommuteFilter) GetCommuteMethod() CommuteMethod
func (*CommuteFilter) GetDepartureTime
func (x *CommuteFilter) GetDepartureTime() *timeofday.TimeOfDay
func (*CommuteFilter) GetRoadTraffic
func (x *CommuteFilter) GetRoadTraffic() CommuteFilter_RoadTraffic
func (*CommuteFilter) GetStartCoordinates
func (x *CommuteFilter) GetStartCoordinates() *latlng.LatLng
func (*CommuteFilter) GetTrafficOption
func (m *CommuteFilter) GetTrafficOption() isCommuteFilter_TrafficOption
func (*CommuteFilter) GetTravelDuration
func (x *CommuteFilter) GetTravelDuration() *durationpb.Duration
func (*CommuteFilter) ProtoMessage
func (*CommuteFilter) ProtoMessage()
func (*CommuteFilter) ProtoReflect
func (x *CommuteFilter) ProtoReflect() protoreflect.Message
func (*CommuteFilter) Reset
func (x *CommuteFilter) Reset()
func (*CommuteFilter) String
func (x *CommuteFilter) String() string
CommuteFilter_DepartureTime
type CommuteFilter_DepartureTime struct {
// The departure time used to calculate traffic impact, represented as
// [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
//
// Currently traffic model is restricted to hour level resolution.
DepartureTime *timeofday.TimeOfDay `protobuf:"bytes,6,opt,name=departure_time,json=departureTime,proto3,oneof"`
}
CommuteFilter_RoadTraffic
type CommuteFilter_RoadTraffic int32
The traffic density to use when calculating commute time.
CommuteFilter_ROAD_TRAFFIC_UNSPECIFIED, CommuteFilter_TRAFFIC_FREE, CommuteFilter_BUSY_HOUR
const (
// Road traffic situation isn't specified.
CommuteFilter_ROAD_TRAFFIC_UNSPECIFIED CommuteFilter_RoadTraffic = 0
// Optimal commute time without considering any traffic impact.
CommuteFilter_TRAFFIC_FREE CommuteFilter_RoadTraffic = 1
// Commute time calculation takes in account the peak traffic impact.
CommuteFilter_BUSY_HOUR CommuteFilter_RoadTraffic = 2
)
func (CommuteFilter_RoadTraffic) Descriptor
func (CommuteFilter_RoadTraffic) Descriptor() protoreflect.EnumDescriptor
func (CommuteFilter_RoadTraffic) Enum
func (x CommuteFilter_RoadTraffic) Enum() *CommuteFilter_RoadTraffic
func (CommuteFilter_RoadTraffic) EnumDescriptor
func (CommuteFilter_RoadTraffic) EnumDescriptor() ([]byte, []int)
Deprecated: Use CommuteFilter_RoadTraffic.Descriptor instead.
func (CommuteFilter_RoadTraffic) Number
func (x CommuteFilter_RoadTraffic) Number() protoreflect.EnumNumber
func (CommuteFilter_RoadTraffic) String
func (x CommuteFilter_RoadTraffic) String() string
func (CommuteFilter_RoadTraffic) Type
func (CommuteFilter_RoadTraffic) Type() protoreflect.EnumType
CommuteFilter_RoadTraffic_
type CommuteFilter_RoadTraffic_ struct {
// Specifies the traffic density to use when calculating commute time.
RoadTraffic CommuteFilter_RoadTraffic `protobuf:"varint,5,opt,name=road_traffic,json=roadTraffic,proto3,enum=google.cloud.talent.v4.CommuteFilter_RoadTraffic,oneof"`
}
CommuteMethod
type CommuteMethod int32
Method for commute. Walking, biking and wheelchair accessible transit is still in the Preview stage.
CommuteMethod_COMMUTE_METHOD_UNSPECIFIED, CommuteMethod_DRIVING, CommuteMethod_TRANSIT, CommuteMethod_WALKING, CommuteMethod_CYCLING, CommuteMethod_TRANSIT_ACCESSIBLE
const (
// Commute method isn't specified.
CommuteMethod_COMMUTE_METHOD_UNSPECIFIED CommuteMethod = 0
// Commute time is calculated based on driving time.
CommuteMethod_DRIVING CommuteMethod = 1
// Commute time is calculated based on public transit including bus, metro,
// subway, and so on.
CommuteMethod_TRANSIT CommuteMethod = 2
// Commute time is calculated based on walking time.
CommuteMethod_WALKING CommuteMethod = 3
// Commute time is calculated based on biking time.
CommuteMethod_CYCLING CommuteMethod = 4
// Commute time is calculated based on public transit that is wheelchair
// accessible.
CommuteMethod_TRANSIT_ACCESSIBLE CommuteMethod = 5
)
func (CommuteMethod) Descriptor
func (CommuteMethod) Descriptor() protoreflect.EnumDescriptor
func (CommuteMethod) Enum
func (x CommuteMethod) Enum() *CommuteMethod
func (CommuteMethod) EnumDescriptor
func (CommuteMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use CommuteMethod.Descriptor instead.
func (CommuteMethod) Number
func (x CommuteMethod) Number() protoreflect.EnumNumber
func (CommuteMethod) String
func (x CommuteMethod) String() string
func (CommuteMethod) Type
func (CommuteMethod) Type() protoreflect.EnumType
Company
type Company struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
ExternalId string `protobuf:"bytes,3,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
Size CompanySize `protobuf:"varint,4,opt,name=size,proto3,enum=google.cloud.talent.v4.CompanySize" json:"size,omitempty"`
HeadquartersAddress string `protobuf:"bytes,5,opt,name=headquarters_address,json=headquartersAddress,proto3" json:"headquarters_address,omitempty"`
HiringAgency bool `protobuf:"varint,6,opt,name=hiring_agency,json=hiringAgency,proto3" json:"hiring_agency,omitempty"`
EeoText string `protobuf:"bytes,7,opt,name=eeo_text,json=eeoText,proto3" json:"eeo_text,omitempty"`
WebsiteUri string `protobuf:"bytes,8,opt,name=website_uri,json=websiteUri,proto3" json:"website_uri,omitempty"`
CareerSiteUri string `protobuf:"bytes,9,opt,name=career_site_uri,json=careerSiteUri,proto3" json:"career_site_uri,omitempty"`
ImageUri string `protobuf:"bytes,10,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"`
KeywordSearchableJobCustomAttributes []string "" /* 176 byte string literal not displayed */
DerivedInfo *Company_DerivedInfo `protobuf:"bytes,12,opt,name=derived_info,json=derivedInfo,proto3" json:"derived_info,omitempty"`
Suspended bool `protobuf:"varint,13,opt,name=suspended,proto3" json:"suspended,omitempty"`
}
A Company resource represents a company in the service. A company is the entity that owns job postings, that is, the hiring entity responsible for employing applicants for the job position.
func (*Company) Descriptor
Deprecated: Use Company.ProtoReflect.Descriptor instead.
func (*Company) GetCareerSiteUri
func (*Company) GetDerivedInfo
func (x *Company) GetDerivedInfo() *Company_DerivedInfo
func (*Company) GetDisplayName
func (*Company) GetEeoText
func (*Company) GetExternalId
func (*Company) GetHeadquartersAddress
func (*Company) GetHiringAgency
func (*Company) GetImageUri
func (*Company) GetKeywordSearchableJobCustomAttributes
Deprecated: Marked as deprecated in google/cloud/talent/v4/company.proto.
func (*Company) GetName
func (*Company) GetSize
func (x *Company) GetSize() CompanySize
func (*Company) GetSuspended
func (*Company) GetWebsiteUri
func (*Company) ProtoMessage
func (*Company) ProtoMessage()
func (*Company) ProtoReflect
func (x *Company) ProtoReflect() protoreflect.Message
func (*Company) Reset
func (x *Company) Reset()
func (*Company) String
CompanyServiceClient
type CompanyServiceClient interface {
// Creates a new company entity.
CreateCompany(ctx context.Context, in *CreateCompanyRequest, opts ...grpc.CallOption) (*Company, error)
// Retrieves specified company.
GetCompany(ctx context.Context, in *GetCompanyRequest, opts ...grpc.CallOption) (*Company, error)
// Updates specified company.
UpdateCompany(ctx context.Context, in *UpdateCompanyRequest, opts ...grpc.CallOption) (*Company, error)
// Deletes specified company.
// Prerequisite: The company has no jobs associated with it.
DeleteCompany(ctx context.Context, in *DeleteCompanyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Lists all companies associated with the project.
ListCompanies(ctx context.Context, in *ListCompaniesRequest, opts ...grpc.CallOption) (*ListCompaniesResponse, error)
}
CompanyServiceClient is the client API for CompanyService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCompanyServiceClient
func NewCompanyServiceClient(cc grpc.ClientConnInterface) CompanyServiceClient
CompanyServiceServer
type CompanyServiceServer interface {
// Creates a new company entity.
CreateCompany(context.Context, *CreateCompanyRequest) (*Company, error)
// Retrieves specified company.
GetCompany(context.Context, *GetCompanyRequest) (*Company, error)
// Updates specified company.
UpdateCompany(context.Context, *UpdateCompanyRequest) (*Company, error)
// Deletes specified company.
// Prerequisite: The company has no jobs associated with it.
DeleteCompany(context.Context, *DeleteCompanyRequest) (*emptypb.Empty, error)
// Lists all companies associated with the project.
ListCompanies(context.Context, *ListCompaniesRequest) (*ListCompaniesResponse, error)
}
CompanyServiceServer is the server API for CompanyService service.
CompanySize
type CompanySize int32
An enum that represents the size of the company.
CompanySize_COMPANY_SIZE_UNSPECIFIED, CompanySize_MINI, CompanySize_SMALL, CompanySize_SMEDIUM, CompanySize_MEDIUM, CompanySize_BIG, CompanySize_BIGGER, CompanySize_GIANT
const (
// Default value if the size isn't specified.
CompanySize_COMPANY_SIZE_UNSPECIFIED CompanySize = 0
// The company has less than 50 employees.
CompanySize_MINI CompanySize = 1
// The company has between 50 and 99 employees.
CompanySize_SMALL CompanySize = 2
// The company has between 100 and 499 employees.
CompanySize_SMEDIUM CompanySize = 3
// The company has between 500 and 999 employees.
CompanySize_MEDIUM CompanySize = 4
// The company has between 1,000 and 4,999 employees.
CompanySize_BIG CompanySize = 5
// The company has between 5,000 and 9,999 employees.
CompanySize_BIGGER CompanySize = 6
// The company has 10,000 or more employees.
CompanySize_GIANT CompanySize = 7
)
func (CompanySize) Descriptor
func (CompanySize) Descriptor() protoreflect.EnumDescriptor
func (CompanySize) Enum
func (x CompanySize) Enum() *CompanySize
func (CompanySize) EnumDescriptor
func (CompanySize) EnumDescriptor() ([]byte, []int)
Deprecated: Use CompanySize.Descriptor instead.
func (CompanySize) Number
func (x CompanySize) Number() protoreflect.EnumNumber
func (CompanySize) String
func (x CompanySize) String() string
func (CompanySize) Type
func (CompanySize) Type() protoreflect.EnumType
Company_DerivedInfo
type Company_DerivedInfo struct {
// A structured headquarters location of the company, resolved from
// [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address]
// if provided.
HeadquartersLocation *Location `protobuf:"bytes,1,opt,name=headquarters_location,json=headquartersLocation,proto3" json:"headquarters_location,omitempty"`
// contains filtered or unexported fields
}
Derived details about the company.
func (*Company_DerivedInfo) Descriptor
func (*Company_DerivedInfo) Descriptor() ([]byte, []int)
Deprecated: Use Company_DerivedInfo.ProtoReflect.Descriptor instead.
func (*Company_DerivedInfo) GetHeadquartersLocation
func (x *Company_DerivedInfo) GetHeadquartersLocation() *Location
func (*Company_DerivedInfo) ProtoMessage
func (*Company_DerivedInfo) ProtoMessage()
func (*Company_DerivedInfo) ProtoReflect
func (x *Company_DerivedInfo) ProtoReflect() protoreflect.Message
func (*Company_DerivedInfo) Reset
func (x *Company_DerivedInfo) Reset()
func (*Company_DerivedInfo) String
func (x *Company_DerivedInfo) String() string
CompensationFilter
type CompensationFilter struct {
Type CompensationFilter_FilterType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.talent.v4.CompensationFilter_FilterType" json:"type,omitempty"`
Units []CompensationInfo_CompensationUnit "" /* 133 byte string literal not displayed */
Range *CompensationInfo_CompensationRange `protobuf:"bytes,3,opt,name=range,proto3" json:"range,omitempty"`
IncludeJobsWithUnspecifiedCompensationRange bool "" /* 199 byte string literal not displayed */
}
Filter on job compensation type and amount.
func (*CompensationFilter) Descriptor
func (*CompensationFilter) Descriptor() ([]byte, []int)
Deprecated: Use CompensationFilter.ProtoReflect.Descriptor instead.
func (*CompensationFilter) GetIncludeJobsWithUnspecifiedCompensationRange
func (x *CompensationFilter) GetIncludeJobsWithUnspecifiedCompensationRange() bool
func (*CompensationFilter) GetRange
func (x *CompensationFilter) GetRange() *CompensationInfo_CompensationRange
func (*CompensationFilter) GetType
func (x *CompensationFilter) GetType() CompensationFilter_FilterType
func (*CompensationFilter) GetUnits
func (x *CompensationFilter) GetUnits() []CompensationInfo_CompensationUnit
func (*CompensationFilter) ProtoMessage
func (*CompensationFilter) ProtoMessage()
func (*CompensationFilter) ProtoReflect
func (x *CompensationFilter) ProtoReflect() protoreflect.Message
func (*CompensationFilter) Reset
func (x *CompensationFilter) Reset()
func (*CompensationFilter) String
func (x *CompensationFilter) String() string
CompensationFilter_FilterType
type CompensationFilter_FilterType int32
Specify the type of filtering.
CompensationFilter_FILTER_TYPE_UNSPECIFIED, CompensationFilter_UNIT_ONLY, CompensationFilter_UNIT_AND_AMOUNT, CompensationFilter_ANNUALIZED_BASE_AMOUNT, CompensationFilter_ANNUALIZED_TOTAL_AMOUNT
const (
// Filter type unspecified. Position holder, INVALID, should never be used.
CompensationFilter_FILTER_TYPE_UNSPECIFIED CompensationFilter_FilterType = 0
// Filter by `base compensation entry's` unit. A job is a match if and
// only if the job contains a base CompensationEntry and the base
// CompensationEntry's unit matches provided
// [units][google.cloud.talent.v4.CompensationFilter.units]. Populate one or
// more [units][google.cloud.talent.v4.CompensationFilter.units].
//
// See
// [CompensationInfo.CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry]
// for definition of base compensation entry.
CompensationFilter_UNIT_ONLY CompensationFilter_FilterType = 1
// Filter by `base compensation entry's` unit and amount / range. A job
// is a match if and only if the job contains a base CompensationEntry, and
// the base entry's unit matches provided
// [CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit]
// and amount or range overlaps with provided
// [CompensationRange][google.cloud.talent.v4.CompensationInfo.CompensationRange].
//
// See
// [CompensationInfo.CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry]
// for definition of base compensation entry.
//
// Set exactly one [units][google.cloud.talent.v4.CompensationFilter.units]
// and populate [range][google.cloud.talent.v4.CompensationFilter.range].
CompensationFilter_UNIT_AND_AMOUNT CompensationFilter_FilterType = 2
// Filter by annualized base compensation amount and `base compensation
// entry's` unit. Populate
// [range][google.cloud.talent.v4.CompensationFilter.range] and zero or more
// [units][google.cloud.talent.v4.CompensationFilter.units].
CompensationFilter_ANNUALIZED_BASE_AMOUNT CompensationFilter_FilterType = 3
// Filter by annualized total compensation amount and `base compensation
// entry's` unit . Populate
// [range][google.cloud.talent.v4.CompensationFilter.range] and zero or more
// [units][google.cloud.talent.v4.CompensationFilter.units].
CompensationFilter_ANNUALIZED_TOTAL_AMOUNT CompensationFilter_FilterType = 4
)
func (CompensationFilter_FilterType) Descriptor
func (CompensationFilter_FilterType) Descriptor() protoreflect.EnumDescriptor
func (CompensationFilter_FilterType) Enum
func (x CompensationFilter_FilterType) Enum() *CompensationFilter_FilterType
func (CompensationFilter_FilterType) EnumDescriptor
func (CompensationFilter_FilterType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CompensationFilter_FilterType.Descriptor instead.
func (CompensationFilter_FilterType) Number
func (x CompensationFilter_FilterType) Number() protoreflect.EnumNumber
func (CompensationFilter_FilterType) String
func (x CompensationFilter_FilterType) String() string
func (CompensationFilter_FilterType) Type
func (CompensationFilter_FilterType) Type() protoreflect.EnumType
CompensationInfo
type CompensationInfo struct {
Entries []*CompensationInfo_CompensationEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
AnnualizedBaseCompensationRange *CompensationInfo_CompensationRange "" /* 158 byte string literal not displayed */
AnnualizedTotalCompensationRange *CompensationInfo_CompensationRange "" /* 161 byte string literal not displayed */
}
Job compensation details.
func (*CompensationInfo) Descriptor
func (*CompensationInfo) Descriptor() ([]byte, []int)
Deprecated: Use CompensationInfo.ProtoReflect.Descriptor instead.
func (*CompensationInfo) GetAnnualizedBaseCompensationRange
func (x *CompensationInfo) GetAnnualizedBaseCompensationRange() *CompensationInfo_CompensationRange
func (*CompensationInfo) GetAnnualizedTotalCompensationRange
func (x *CompensationInfo) GetAnnualizedTotalCompensationRange() *CompensationInfo_CompensationRange
func (*CompensationInfo) GetEntries
func (x *CompensationInfo) GetEntries() []*CompensationInfo_CompensationEntry
func (*CompensationInfo) ProtoMessage
func (*CompensationInfo) ProtoMessage()
func (*CompensationInfo) ProtoReflect
func (x *CompensationInfo) ProtoReflect() protoreflect.Message
func (*CompensationInfo) Reset
func (x *CompensationInfo) Reset()
func (*CompensationInfo) String
func (x *CompensationInfo) String() string
CompensationInfo_CompensationEntry
type CompensationInfo_CompensationEntry struct {
// Compensation type.
//
// Default is
// [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
Type CompensationInfo_CompensationType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.talent.v4.CompensationInfo_CompensationType" json:"type,omitempty"`
// Frequency of the specified amount.
//
// Default is
// [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
Unit CompensationInfo_CompensationUnit `protobuf:"varint,2,opt,name=unit,proto3,enum=google.cloud.talent.v4.CompensationInfo_CompensationUnit" json:"unit,omitempty"`
// Compensation amount. It could be a fixed amount or a floating range.
//
// Types that are assignable to CompensationAmount:
// *CompensationInfo_CompensationEntry_Amount
// *CompensationInfo_CompensationEntry_Range
CompensationAmount isCompensationInfo_CompensationEntry_CompensationAmount `protobuf_oneof:"compensation_amount"`
// Compensation description. For example, could
// indicate equity terms or provide additional context to an estimated
// bonus.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// Expected number of units paid each year. If not specified, when
// [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is
// FULLTIME, a default value is inferred based on
// [unit][google.cloud.talent.v4.CompensationInfo.CompensationEntry.unit].
// Default values:
// - HOURLY: 2080
// - DAILY: 260
// - WEEKLY: 52
// - MONTHLY: 12
// - ANNUAL: 1
ExpectedUnitsPerYear *wrapperspb.DoubleValue `protobuf:"bytes,6,opt,name=expected_units_per_year,json=expectedUnitsPerYear,proto3" json:"expected_units_per_year,omitempty"`
// contains filtered or unexported fields
}
A compensation entry that represents one component of compensation, such as base pay, bonus, or other compensation type.
Annualization: One compensation entry can be annualized if
- it contains valid [amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] or [range][google.cloud.talent.v4.CompensationInfo.CompensationEntry.range].
- and its [expected_units_per_year][google.cloud.talent.v4.CompensationInfo.CompensationEntry.expected_units_per_year] is set or can be derived. Its annualized range is determined as ([amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] or [range][google.cloud.talent.v4.CompensationInfo.CompensationEntry.range]) times [expected_units_per_year][google.cloud.talent.v4.CompensationInfo.CompensationEntry.expected_units_per_year].
func (*CompensationInfo_CompensationEntry) Descriptor
func (*CompensationInfo_CompensationEntry) Descriptor() ([]byte, []int)
Deprecated: Use CompensationInfo_CompensationEntry.ProtoReflect.Descriptor instead.
func (*CompensationInfo_CompensationEntry) GetAmount
func (x *CompensationInfo_CompensationEntry) GetAmount() *money.Money
func (*CompensationInfo_CompensationEntry) GetCompensationAmount
func (m *CompensationInfo_CompensationEntry) GetCompensationAmount() isCompensationInfo_CompensationEntry_CompensationAmount
func (*CompensationInfo_CompensationEntry) GetDescription
func (x *CompensationInfo_CompensationEntry) GetDescription() string
func (*CompensationInfo_CompensationEntry) GetExpectedUnitsPerYear
func (x *CompensationInfo_CompensationEntry) GetExpectedUnitsPerYear() *wrapperspb.DoubleValue
func (*CompensationInfo_CompensationEntry) GetRange
func (x *CompensationInfo_CompensationEntry) GetRange() *CompensationInfo_CompensationRange
func (*CompensationInfo_CompensationEntry) GetType
func (x *CompensationInfo_CompensationEntry) GetType() CompensationInfo_CompensationType
func (*CompensationInfo_CompensationEntry) GetUnit
func (x *CompensationInfo_CompensationEntry) GetUnit() CompensationInfo_CompensationUnit
func (*CompensationInfo_CompensationEntry) ProtoMessage
func (*CompensationInfo_CompensationEntry) ProtoMessage()
func (*CompensationInfo_CompensationEntry) ProtoReflect
func (x *CompensationInfo_CompensationEntry) ProtoReflect() protoreflect.Message
func (*CompensationInfo_CompensationEntry) Reset
func (x *CompensationInfo_CompensationEntry) Reset()
func (*CompensationInfo_CompensationEntry) String
func (x *CompensationInfo_CompensationEntry) String() string
CompensationInfo_CompensationEntry_Amount
type CompensationInfo_CompensationEntry_Amount struct {
// Compensation amount.
Amount *money.Money `protobuf:"bytes,3,opt,name=amount,proto3,oneof"`
}
CompensationInfo_CompensationEntry_Range
type CompensationInfo_CompensationEntry_Range struct {
// Compensation range.
Range *CompensationInfo_CompensationRange `protobuf:"bytes,4,opt,name=range,proto3,oneof"`
}
CompensationInfo_CompensationRange
type CompensationInfo_CompensationRange struct {
// The maximum amount of compensation. If left empty, the value is set
// to a maximal compensation value and the currency code is set to
// match the [currency code][google.type.Money.currency_code] of
// min_compensation.
MaxCompensation *money.Money `protobuf:"bytes,2,opt,name=max_compensation,json=maxCompensation,proto3" json:"max_compensation,omitempty"`
// The minimum amount of compensation. If left empty, the value is set
// to zero and the currency code is set to match the
// [currency code][google.type.Money.currency_code] of max_compensation.
MinCompensation *money.Money `protobuf:"bytes,1,opt,name=min_compensation,json=minCompensation,proto3" json:"min_compensation,omitempty"`
// contains filtered or unexported fields
}
Compensation range.
func (*CompensationInfo_CompensationRange) Descriptor
func (*CompensationInfo_CompensationRange) Descriptor() ([]byte, []int)
Deprecated: Use CompensationInfo_CompensationRange.ProtoReflect.Descriptor instead.
func (*CompensationInfo_CompensationRange) GetMaxCompensation
func (x *CompensationInfo_CompensationRange) GetMaxCompensation() *money.Money
func (*CompensationInfo_CompensationRange) GetMinCompensation
func (x *CompensationInfo_CompensationRange) GetMinCompensation() *money.Money
func (*CompensationInfo_CompensationRange) ProtoMessage
func (*CompensationInfo_CompensationRange) ProtoMessage()
func (*CompensationInfo_CompensationRange) ProtoReflect
func (x *CompensationInfo_CompensationRange) ProtoReflect() protoreflect.Message
func (*CompensationInfo_CompensationRange) Reset
func (x *CompensationInfo_CompensationRange) Reset()
func (*CompensationInfo_CompensationRange) String
func (x *CompensationInfo_CompensationRange) String() string
CompensationInfo_CompensationType
type CompensationInfo_CompensationType int32
The type of compensation.
For compensation amounts specified in non-monetary amounts, describe the compensation scheme in the [CompensationEntry.description][google.cloud.talent.v4.CompensationInfo.CompensationEntry.description].
For example, tipping format is described in [CompensationEntry.description][google.cloud.talent.v4.CompensationInfo.CompensationEntry.description] (for example, "expect 15-20% tips based on customer bill.") and an estimate of the tips provided in [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] or [CompensationEntry.range][google.cloud.talent.v4.CompensationInfo.CompensationEntry.range] ($10 per hour).
For example, equity is described in [CompensationEntry.description][google.cloud.talent.v4.CompensationInfo.CompensationEntry.description] (for example, "1% - 2% equity vesting over 4 years, 1 year cliff") and value estimated in [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] or [CompensationEntry.range][google.cloud.talent.v4.CompensationInfo.CompensationEntry.range]. If no value estimate is possible, units are [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED] and then further clarified in [CompensationEntry.description][google.cloud.talent.v4.CompensationInfo.CompensationEntry.description] field.
CompensationInfo_COMPENSATION_TYPE_UNSPECIFIED, CompensationInfo_BASE, CompensationInfo_BONUS, CompensationInfo_SIGNING_BONUS, CompensationInfo_EQUITY, CompensationInfo_PROFIT_SHARING, CompensationInfo_COMMISSIONS, CompensationInfo_TIPS, CompensationInfo_OTHER_COMPENSATION_TYPE
const (
// Default value.
CompensationInfo_COMPENSATION_TYPE_UNSPECIFIED CompensationInfo_CompensationType = 0
// Base compensation: Refers to the fixed amount of money paid to an
// employee by an employer in return for work performed. Base compensation
// does not include benefits, bonuses or any other potential compensation
// from an employer.
CompensationInfo_BASE CompensationInfo_CompensationType = 1
// Bonus.
CompensationInfo_BONUS CompensationInfo_CompensationType = 2
// Signing bonus.
CompensationInfo_SIGNING_BONUS CompensationInfo_CompensationType = 3
// Equity.
CompensationInfo_EQUITY CompensationInfo_CompensationType = 4
// Profit sharing.
CompensationInfo_PROFIT_SHARING CompensationInfo_CompensationType = 5
// Commission.
CompensationInfo_COMMISSIONS CompensationInfo_CompensationType = 6
// Tips.
CompensationInfo_TIPS CompensationInfo_CompensationType = 7
// Other compensation type.
CompensationInfo_OTHER_COMPENSATION_TYPE CompensationInfo_CompensationType = 8
)
func (CompensationInfo_CompensationType) Descriptor
func (CompensationInfo_CompensationType) Descriptor() protoreflect.EnumDescriptor
func (CompensationInfo_CompensationType) Enum
func (x CompensationInfo_CompensationType) Enum() *CompensationInfo_CompensationType
func (CompensationInfo_CompensationType) EnumDescriptor
func (CompensationInfo_CompensationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CompensationInfo_CompensationType.Descriptor instead.
func (CompensationInfo_CompensationType) Number
func (x CompensationInfo_CompensationType) Number() protoreflect.EnumNumber
func (CompensationInfo_CompensationType) String
func (x CompensationInfo_CompensationType) String() string
func (CompensationInfo_CompensationType) Type
func (CompensationInfo_CompensationType) Type() protoreflect.EnumType
CompensationInfo_CompensationUnit
type CompensationInfo_CompensationUnit int32
Pay frequency.
CompensationInfo_COMPENSATION_UNIT_UNSPECIFIED, CompensationInfo_HOURLY, CompensationInfo_DAILY, CompensationInfo_WEEKLY, CompensationInfo_MONTHLY, CompensationInfo_YEARLY, CompensationInfo_ONE_TIME, CompensationInfo_OTHER_COMPENSATION_UNIT
const (
// Default value.
CompensationInfo_COMPENSATION_UNIT_UNSPECIFIED CompensationInfo_CompensationUnit = 0
// Hourly.
CompensationInfo_HOURLY CompensationInfo_CompensationUnit = 1
// Daily.
CompensationInfo_DAILY CompensationInfo_CompensationUnit = 2
// Weekly
CompensationInfo_WEEKLY CompensationInfo_CompensationUnit = 3
// Monthly.
CompensationInfo_MONTHLY CompensationInfo_CompensationUnit = 4
// Yearly.
CompensationInfo_YEARLY CompensationInfo_CompensationUnit = 5
// One time.
CompensationInfo_ONE_TIME CompensationInfo_CompensationUnit = 6
// Other compensation units.
CompensationInfo_OTHER_COMPENSATION_UNIT CompensationInfo_CompensationUnit = 7
)
func (CompensationInfo_CompensationUnit) Descriptor
func (CompensationInfo_CompensationUnit) Descriptor() protoreflect.EnumDescriptor
func (CompensationInfo_CompensationUnit) Enum
func (x CompensationInfo_CompensationUnit) Enum() *CompensationInfo_CompensationUnit
func (CompensationInfo_CompensationUnit) EnumDescriptor
func (CompensationInfo_CompensationUnit) EnumDescriptor() ([]byte, []int)
Deprecated: Use CompensationInfo_CompensationUnit.Descriptor instead.
func (CompensationInfo_CompensationUnit) Number
func (x CompensationInfo_CompensationUnit) Number() protoreflect.EnumNumber
func (CompensationInfo_CompensationUnit) String
func (x CompensationInfo_CompensationUnit) String() string
func (CompensationInfo_CompensationUnit) Type
func (CompensationInfo_CompensationUnit) Type() protoreflect.EnumType
CompleteQueryRequest
type CompleteQueryRequest struct {
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
LanguageCodes []string `protobuf:"bytes,3,rep,name=language_codes,json=languageCodes,proto3" json:"language_codes,omitempty"`
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
Company string `protobuf:"bytes,5,opt,name=company,proto3" json:"company,omitempty"`
Scope CompleteQueryRequest_CompletionScope "" /* 129 byte string literal not displayed */
Type CompleteQueryRequest_CompletionType `protobuf:"varint,7,opt,name=type,proto3,enum=google.cloud.talent.v4.CompleteQueryRequest_CompletionType" json:"type,omitempty"`
}
Auto-complete parameters.
func (*CompleteQueryRequest) Descriptor
func (*CompleteQueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompleteQueryRequest.ProtoReflect.Descriptor instead.
func (*CompleteQueryRequest) GetCompany
func (x *CompleteQueryRequest) GetCompany() string
func (*CompleteQueryRequest) GetLanguageCodes
func (x *CompleteQueryRequest) GetLanguageCodes() []string
func (*CompleteQueryRequest) GetPageSize
func (x *CompleteQueryRequest) GetPageSize() int32
func (*CompleteQueryRequest) GetQuery
func (x *CompleteQueryRequest) GetQuery() string
func (*CompleteQueryRequest) GetScope
func (x *CompleteQueryRequest) GetScope() CompleteQueryRequest_CompletionScope
func (*CompleteQueryRequest) GetTenant
func (x *CompleteQueryRequest) GetTenant() string
func (*CompleteQueryRequest) GetType
func (x *CompleteQueryRequest) GetType() CompleteQueryRequest_CompletionType
func (*CompleteQueryRequest) ProtoMessage
func (*CompleteQueryRequest) ProtoMessage()
func (*CompleteQueryRequest) ProtoReflect
func (x *CompleteQueryRequest) ProtoReflect() protoreflect.Message
func (*CompleteQueryRequest) Reset
func (x *CompleteQueryRequest) Reset()
func (*CompleteQueryRequest) String
func (x *CompleteQueryRequest) String() string
CompleteQueryRequest_CompletionScope
type CompleteQueryRequest_CompletionScope int32
Enum to specify the scope of completion.
CompleteQueryRequest_COMPLETION_SCOPE_UNSPECIFIED, CompleteQueryRequest_TENANT, CompleteQueryRequest_PUBLIC
const (
// Default value.
CompleteQueryRequest_COMPLETION_SCOPE_UNSPECIFIED CompleteQueryRequest_CompletionScope = 0
// Suggestions are based only on the data provided by the client.
CompleteQueryRequest_TENANT CompleteQueryRequest_CompletionScope = 1
// Suggestions are based on all jobs data in the system that's visible to
// the client
CompleteQueryRequest_PUBLIC CompleteQueryRequest_CompletionScope = 2
)
func (CompleteQueryRequest_CompletionScope) Descriptor
func (CompleteQueryRequest_CompletionScope) Descriptor() protoreflect.EnumDescriptor
func (CompleteQueryRequest_CompletionScope) Enum
func (x CompleteQueryRequest_CompletionScope) Enum() *CompleteQueryRequest_CompletionScope
func (CompleteQueryRequest_CompletionScope) EnumDescriptor
func (CompleteQueryRequest_CompletionScope) EnumDescriptor() ([]byte, []int)
Deprecated: Use CompleteQueryRequest_CompletionScope.Descriptor instead.
func (CompleteQueryRequest_CompletionScope) Number
func (x CompleteQueryRequest_CompletionScope) Number() protoreflect.EnumNumber
func (CompleteQueryRequest_CompletionScope) String
func (x CompleteQueryRequest_CompletionScope) String() string
func (CompleteQueryRequest_CompletionScope) Type
func (CompleteQueryRequest_CompletionScope) Type() protoreflect.EnumType
CompleteQueryRequest_CompletionType
type CompleteQueryRequest_CompletionType int32
Enum to specify auto-completion topics.
CompleteQueryRequest_COMPLETION_TYPE_UNSPECIFIED, CompleteQueryRequest_JOB_TITLE, CompleteQueryRequest_COMPANY_NAME, CompleteQueryRequest_COMBINED
const (
// Default value.
CompleteQueryRequest_COMPLETION_TYPE_UNSPECIFIED CompleteQueryRequest_CompletionType = 0
// Suggest job titles for jobs autocomplete.
//
// For
// [CompletionType.JOB_TITLE][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.JOB_TITLE]
// type, only open jobs with the same
// [language_codes][google.cloud.talent.v4.CompleteQueryRequest.language_codes]
// are returned.
CompleteQueryRequest_JOB_TITLE CompleteQueryRequest_CompletionType = 1
// Suggest company names for jobs autocomplete.
//
// For
// [CompletionType.COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME]
// type, only companies having open jobs with the same
// [language_codes][google.cloud.talent.v4.CompleteQueryRequest.language_codes]
// are returned.
CompleteQueryRequest_COMPANY_NAME CompleteQueryRequest_CompletionType = 2
// Suggest both job titles and company names for jobs autocomplete.
//
// For
// [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED]
// type, only open jobs with the same
// [language_codes][google.cloud.talent.v4.CompleteQueryRequest.language_codes]
// or companies having open jobs with the same
// [language_codes][google.cloud.talent.v4.CompleteQueryRequest.language_codes]
// are returned.
CompleteQueryRequest_COMBINED CompleteQueryRequest_CompletionType = 3
)
func (CompleteQueryRequest_CompletionType) Descriptor
func (CompleteQueryRequest_CompletionType) Descriptor() protoreflect.EnumDescriptor
func (CompleteQueryRequest_CompletionType) Enum
func (x CompleteQueryRequest_CompletionType) Enum() *CompleteQueryRequest_CompletionType
func (CompleteQueryRequest_CompletionType) EnumDescriptor
func (CompleteQueryRequest_CompletionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CompleteQueryRequest_CompletionType.Descriptor instead.
func (CompleteQueryRequest_CompletionType) Number
func (x CompleteQueryRequest_CompletionType) Number() protoreflect.EnumNumber
func (CompleteQueryRequest_CompletionType) String
func (x CompleteQueryRequest_CompletionType) String() string
func (CompleteQueryRequest_CompletionType) Type
func (CompleteQueryRequest_CompletionType) Type() protoreflect.EnumType
CompleteQueryResponse
type CompleteQueryResponse struct {
// Results of the matching job/company candidates.
CompletionResults []*CompleteQueryResponse_CompletionResult `protobuf:"bytes,1,rep,name=completion_results,json=completionResults,proto3" json:"completion_results,omitempty"`
// Additional information for the API invocation, such as the request
// tracking id.
Metadata *ResponseMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}
Response of auto-complete query.
func (*CompleteQueryResponse) Descriptor
func (*CompleteQueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use CompleteQueryResponse.ProtoReflect.Descriptor instead.
func (*CompleteQueryResponse) GetCompletionResults
func (x *CompleteQueryResponse) GetCompletionResults() []*CompleteQueryResponse_CompletionResult
func (*CompleteQueryResponse) GetMetadata
func (x *CompleteQueryResponse) GetMetadata() *ResponseMetadata
func (*CompleteQueryResponse) ProtoMessage
func (*CompleteQueryResponse) ProtoMessage()
func (*CompleteQueryResponse) ProtoReflect
func (x *CompleteQueryResponse) ProtoReflect() protoreflect.Message
func (*CompleteQueryResponse) Reset
func (x *CompleteQueryResponse) Reset()
func (*CompleteQueryResponse) String
func (x *CompleteQueryResponse) String() string
CompleteQueryResponse_CompletionResult
type CompleteQueryResponse_CompletionResult struct {
// The suggestion for the query.
Suggestion string `protobuf:"bytes,1,opt,name=suggestion,proto3" json:"suggestion,omitempty"`
// The completion topic.
Type CompleteQueryRequest_CompletionType `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.talent.v4.CompleteQueryRequest_CompletionType" json:"type,omitempty"`
// The URI of the company image for
// [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
ImageUri string `protobuf:"bytes,3,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"`
// contains filtered or unexported fields
}
Resource that represents completion results.
func (*CompleteQueryResponse_CompletionResult) Descriptor
func (*CompleteQueryResponse_CompletionResult) Descriptor() ([]byte, []int)
Deprecated: Use CompleteQueryResponse_CompletionResult.ProtoReflect.Descriptor instead.
func (*CompleteQueryResponse_CompletionResult) GetImageUri
func (x *CompleteQueryResponse_CompletionResult) GetImageUri() string
func (*CompleteQueryResponse_CompletionResult) GetSuggestion
func (x *CompleteQueryResponse_CompletionResult) GetSuggestion() string
func (*CompleteQueryResponse_CompletionResult) GetType
func (x *CompleteQueryResponse_CompletionResult) GetType() CompleteQueryRequest_CompletionType
func (*CompleteQueryResponse_CompletionResult) ProtoMessage
func (*CompleteQueryResponse_CompletionResult) ProtoMessage()
func (*CompleteQueryResponse_CompletionResult) ProtoReflect
func (x *CompleteQueryResponse_CompletionResult) ProtoReflect() protoreflect.Message
func (*CompleteQueryResponse_CompletionResult) Reset
func (x *CompleteQueryResponse_CompletionResult) Reset()
func (*CompleteQueryResponse_CompletionResult) String
func (x *CompleteQueryResponse_CompletionResult) String() string
CompletionClient
type CompletionClient interface {
// Completes the specified prefix with keyword suggestions.
// Intended for use by a job search auto-complete search box.
CompleteQuery(ctx context.Context, in *CompleteQueryRequest, opts ...grpc.CallOption) (*CompleteQueryResponse, error)
}
CompletionClient is the client API for Completion service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCompletionClient
func NewCompletionClient(cc grpc.ClientConnInterface) CompletionClient
CompletionServer
type CompletionServer interface {
// Completes the specified prefix with keyword suggestions.
// Intended for use by a job search auto-complete search box.
CompleteQuery(context.Context, *CompleteQueryRequest) (*CompleteQueryResponse, error)
}
CompletionServer is the server API for Completion service.
CreateClientEventRequest
type CreateClientEventRequest struct {
// Required. Resource name of the tenant under which the event is created.
//
// The format is "projects/{project_id}/tenants/{tenant_id}", for example,
// "projects/foo/tenants/bar".
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Events issued when end user interacts with customer's application
// that uses Cloud Talent Solution.
ClientEvent *ClientEvent `protobuf:"bytes,2,opt,name=client_event,json=clientEvent,proto3" json:"client_event,omitempty"`
// contains filtered or unexported fields
}
The report event request.
func (*CreateClientEventRequest) Descriptor
func (*CreateClientEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateClientEventRequest.ProtoReflect.Descriptor instead.
func (*CreateClientEventRequest) GetClientEvent
func (x *CreateClientEventRequest) GetClientEvent() *ClientEvent
func (*CreateClientEventRequest) GetParent
func (x *CreateClientEventRequest) GetParent() string
func (*CreateClientEventRequest) ProtoMessage
func (*CreateClientEventRequest) ProtoMessage()
func (*CreateClientEventRequest) ProtoReflect
func (x *CreateClientEventRequest) ProtoReflect() protoreflect.Message
func (*CreateClientEventRequest) Reset
func (x *CreateClientEventRequest) Reset()
func (*CreateClientEventRequest) String
func (x *CreateClientEventRequest) String() string
CreateCompanyRequest
type CreateCompanyRequest struct {
// Required. Resource name of the tenant under which the company is created.
//
// The format is "projects/{project_id}/tenants/{tenant_id}", for example,
// "projects/foo/tenants/bar".
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The company to be created.
Company *Company `protobuf:"bytes,2,opt,name=company,proto3" json:"company,omitempty"`
// contains filtered or unexported fields
}
The Request of the CreateCompany method.
func (*CreateCompanyRequest) Descriptor
func (*CreateCompanyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCompanyRequest.ProtoReflect.Descriptor instead.
func (*CreateCompanyRequest) GetCompany
func (x *CreateCompanyRequest) GetCompany() *Company
func (*CreateCompanyRequest) GetParent
func (x *CreateCompanyRequest) GetParent() string
func (*CreateCompanyRequest) ProtoMessage
func (*CreateCompanyRequest) ProtoMessage()
func (*CreateCompanyRequest) ProtoReflect
func (x *CreateCompanyRequest) ProtoReflect() protoreflect.Message
func (*CreateCompanyRequest) Reset
func (x *CreateCompanyRequest) Reset()
func (*CreateCompanyRequest) String
func (x *CreateCompanyRequest) String() string
CreateJobRequest
type CreateJobRequest struct {
// Required. The resource name of the tenant under which the job is created.
//
// The format is "projects/{project_id}/tenants/{tenant_id}". For example,
// "projects/foo/tenants/bar".
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The Job to be created.
Job *Job `protobuf:"bytes,2,opt,name=job,proto3" json:"job,omitempty"`
// contains filtered or unexported fields
}
Create job request.
func (*CreateJobRequest) Descriptor
func (*CreateJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateJobRequest.ProtoReflect.Descriptor instead.
func (*CreateJobRequest) GetJob
func (x *CreateJobRequest) GetJob() *Job
func (*CreateJobRequest) GetParent
func (x *CreateJobRequest) GetParent() string
func (*CreateJobRequest) ProtoMessage
func (*CreateJobRequest) ProtoMessage()
func (*CreateJobRequest) ProtoReflect
func (x *CreateJobRequest) ProtoReflect() protoreflect.Message
func (*CreateJobRequest) Reset
func (x *CreateJobRequest) Reset()
func (*CreateJobRequest) String
func (x *CreateJobRequest) String() string
CreateTenantRequest
type CreateTenantRequest struct {
// Required. Resource name of the project under which the tenant is created.
//
// The format is "projects/{project_id}", for example,
// "projects/foo".
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The tenant to be created.
Tenant *Tenant `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
// contains filtered or unexported fields
}
The Request of the CreateTenant method.
func (*CreateTenantRequest) Descriptor
func (*CreateTenantRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTenantRequest.ProtoReflect.Descriptor instead.
func (*CreateTenantRequest) GetParent
func (x *CreateTenantRequest) GetParent() string
func (*CreateTenantRequest) GetTenant
func (x *CreateTenantRequest) GetTenant() *Tenant
func (*CreateTenantRequest) ProtoMessage
func (*CreateTenantRequest) ProtoMessage()
func (*CreateTenantRequest) ProtoReflect
func (x *CreateTenantRequest) ProtoReflect() protoreflect.Message
func (*CreateTenantRequest) Reset
func (x *CreateTenantRequest) Reset()
func (*CreateTenantRequest) String
func (x *CreateTenantRequest) String() string
CustomAttribute
type CustomAttribute struct {
// Exactly one of
// [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or
// [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be
// specified.
//
// This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
// `CASE_INSENSITIVE_MATCH`) search.
// For filterable `string_value`s, a maximum total number of 200 values
// is allowed, with each `string_value` has a byte size of no more than
// 500B. For unfilterable `string_values`, the maximum total byte size of
// unfilterable `string_values` is 50KB.
//
// Empty string isn't allowed.
StringValues []string `protobuf:"bytes,1,rep,name=string_values,json=stringValues,proto3" json:"string_values,omitempty"`
// Exactly one of
// [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or
// [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be
// specified.
//
// This field is used to perform number range search.
// (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
//
// Currently at most 1
// [long_values][google.cloud.talent.v4.CustomAttribute.long_values] is
// supported.
LongValues []int64 `protobuf:"varint,2,rep,packed,name=long_values,json=longValues,proto3" json:"long_values,omitempty"`
// If the `filterable` flag is true, the custom field values may be used for
// custom attribute filters
// [JobQuery.custom_attribute_filter][google.cloud.talent.v4.JobQuery.custom_attribute_filter].
// If false, these values may not be used for custom attribute filters.
//
// Default is false.
Filterable bool `protobuf:"varint,3,opt,name=filterable,proto3" json:"filterable,omitempty"`
// If the `keyword_searchable` flag is true, the keywords in custom fields are
// searchable by keyword match.
// If false, the values are not searchable by keyword match.
//
// Default is false.
KeywordSearchable bool `protobuf:"varint,4,opt,name=keyword_searchable,json=keywordSearchable,proto3" json:"keyword_searchable,omitempty"`
// contains filtered or unexported fields
}
Custom attribute values that are either filterable or non-filterable.
func (*CustomAttribute) Descriptor
func (*CustomAttribute) Descriptor() ([]byte, []int)
Deprecated: Use CustomAttribute.ProtoReflect.Descriptor instead.
func (*CustomAttribute) GetFilterable
func (x *CustomAttribute) GetFilterable() bool
func (*CustomAttribute) GetKeywordSearchable
func (x *CustomAttribute) GetKeywordSearchable() bool
func (*CustomAttribute) GetLongValues
func (x *CustomAttribute) GetLongValues() []int64
func (*CustomAttribute) GetStringValues
func (x *CustomAttribute) GetStringValues() []string
func (*CustomAttribute) ProtoMessage
func (*CustomAttribute) ProtoMessage()
func (*CustomAttribute) ProtoReflect
func (x *CustomAttribute) ProtoReflect() protoreflect.Message
func (*CustomAttribute) Reset
func (x *CustomAttribute) Reset()
func (*CustomAttribute) String
func (x *CustomAttribute) String() string
DegreeType
type DegreeType int32
Educational degree level defined in International Standard Classification of Education (ISCED).
DegreeType_DEGREE_TYPE_UNSPECIFIED, DegreeType_PRIMARY_EDUCATION, DegreeType_LOWER_SECONDARY_EDUCATION, DegreeType_UPPER_SECONDARY_EDUCATION, DegreeType_ADULT_REMEDIAL_EDUCATION, DegreeType_ASSOCIATES_OR_EQUIVALENT, DegreeType_BACHELORS_OR_EQUIVALENT, DegreeType_MASTERS_OR_EQUIVALENT, DegreeType_DOCTORAL_OR_EQUIVALENT
const (
// Default value. Represents no degree, or early childhood education.
// Maps to ISCED code 0.
// Ex) Kindergarten
DegreeType_DEGREE_TYPE_UNSPECIFIED DegreeType = 0
// Primary education which is typically the first stage of compulsory
// education. ISCED code 1.
// Ex) Elementary school
DegreeType_PRIMARY_EDUCATION DegreeType = 1
// Lower secondary education; First stage of secondary education building on
// primary education, typically with a more subject-oriented curriculum.
// ISCED code 2.
// Ex) Middle school
DegreeType_LOWER_SECONDARY_EDUCATION DegreeType = 2
// Middle education; Second/final stage of secondary education preparing for
// tertiary education and/or providing skills relevant to employment.
// Usually with an increased range of subject options and streams. ISCED
// code 3.
// Ex) High school
DegreeType_UPPER_SECONDARY_EDUCATION DegreeType = 3
// Adult Remedial Education; Programmes providing learning experiences that
// build on secondary education and prepare for labour market entry and/or
// tertiary education. The content is broader than secondary but not as
// complex as tertiary education. ISCED code 4.
DegreeType_ADULT_REMEDIAL_EDUCATION DegreeType = 4
// Associate's or equivalent; Short first tertiary programmes that are
// typically practically-based, occupationally-specific and prepare for
// labour market entry. These programmes may also provide a pathway to other
// tertiary programmes. ISCED code 5.
DegreeType_ASSOCIATES_OR_EQUIVALENT DegreeType = 5
// Bachelor's or equivalent; Programmes designed to provide intermediate
// academic and/or professional knowledge, skills and competencies leading
// to a first tertiary degree or equivalent qualification. ISCED code 6.
DegreeType_BACHELORS_OR_EQUIVALENT DegreeType = 6
// Master's or equivalent; Programmes designed to provide advanced academic
// and/or professional knowledge, skills and competencies leading to a
// second tertiary degree or equivalent qualification. ISCED code 7.
DegreeType_MASTERS_OR_EQUIVALENT DegreeType = 7
// Doctoral or equivalent; Programmes designed primarily to lead to an
// advanced research qualification, usually concluding with the submission
// and defense of a substantive dissertation of publishable quality based on
// original research. ISCED code 8.
DegreeType_DOCTORAL_OR_EQUIVALENT DegreeType = 8
)
func (DegreeType) Descriptor
func (DegreeType) Descriptor() protoreflect.EnumDescriptor
func (DegreeType) Enum
func (x DegreeType) Enum() *DegreeType
func (DegreeType) EnumDescriptor
func (DegreeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DegreeType.Descriptor instead.
func (DegreeType) Number
func (x DegreeType) Number() protoreflect.EnumNumber
func (DegreeType) String
func (x DegreeType) String() string
func (DegreeType) Type
func (DegreeType) Type() protoreflect.EnumType
DeleteCompanyRequest
type DeleteCompanyRequest struct {
// Required. The resource name of the company to be deleted.
//
// The format is
// "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
// example, "projects/foo/tenants/bar/companies/baz".
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request to delete a company.
func (*DeleteCompanyRequest) Descriptor
func (*DeleteCompanyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCompanyRequest.ProtoReflect.Descriptor instead.
func (*DeleteCompanyRequest) GetName
func (x *DeleteCompanyRequest) GetName() string
func (*DeleteCompanyRequest) ProtoMessage
func (*DeleteCompanyRequest) ProtoMessage()
func (*DeleteCompanyRequest) ProtoReflect
func (x *DeleteCompanyRequest) ProtoReflect() protoreflect.Message
func (*DeleteCompanyRequest) Reset
func (x *DeleteCompanyRequest) Reset()
func (*DeleteCompanyRequest) String
func (x *DeleteCompanyRequest) String() string
DeleteJobRequest
type DeleteJobRequest struct {
// Required. The resource name of the job to be deleted.
//
// The format is
// "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
// example, "projects/foo/tenants/bar/jobs/baz".
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Delete job request.
func (*DeleteJobRequest) Descriptor
func (*DeleteJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteJobRequest.ProtoReflect.Descriptor instead.
func (*DeleteJobRequest) GetName
func (x *DeleteJobRequest) GetName() string
func (*DeleteJobRequest) ProtoMessage
func (*DeleteJobRequest) ProtoMessage()
func (*DeleteJobRequest) ProtoReflect
func (x *DeleteJobRequest) ProtoReflect() protoreflect.Message
func (*DeleteJobRequest) Reset
func (x *DeleteJobRequest) Reset()
func (*DeleteJobRequest) String
func (x *DeleteJobRequest) String() string
DeleteTenantRequest
type DeleteTenantRequest struct {
// Required. The resource name of the tenant to be deleted.
//
// The format is "projects/{project_id}/tenants/{tenant_id}", for example,
// "projects/foo/tenants/bar".
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request to delete a tenant.
func (*DeleteTenantRequest) Descriptor
func (*DeleteTenantRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTenantRequest.ProtoReflect.Descriptor instead.
func (*DeleteTenantRequest) GetName
func (x *DeleteTenantRequest) GetName() string
func (*DeleteTenantRequest) ProtoMessage
func (*DeleteTenantRequest) ProtoMessage()
func (*DeleteTenantRequest) ProtoReflect
func (x *DeleteTenantRequest) ProtoReflect() protoreflect.Message
func (*DeleteTenantRequest) Reset
func (x *DeleteTenantRequest) Reset()
func (*DeleteTenantRequest) String
func (x *DeleteTenantRequest) String() string
DeviceInfo
type DeviceInfo struct {
DeviceType DeviceInfo_DeviceType "" /* 142 byte string literal not displayed */
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
}
Device information collected from the job seeker, candidate, or other entity conducting the job search. Providing this information improves the quality of the search results across devices.
func (*DeviceInfo) Descriptor
func (*DeviceInfo) Descriptor() ([]byte, []int)
Deprecated: Use DeviceInfo.ProtoReflect.Descriptor instead.
func (*DeviceInfo) GetDeviceType
func (x *DeviceInfo) GetDeviceType() DeviceInfo_DeviceType
func (*DeviceInfo) GetId
func (x *DeviceInfo) GetId() string
func (*DeviceInfo) ProtoMessage
func (*DeviceInfo) ProtoMessage()
func (*DeviceInfo) ProtoReflect
func (x *DeviceInfo) ProtoReflect() protoreflect.Message
func (*DeviceInfo) Reset
func (x *DeviceInfo) Reset()
func (*DeviceInfo) String
func (x *DeviceInfo) String() string
DeviceInfo_DeviceType
type DeviceInfo_DeviceType int32
An enumeration describing an API access portal and exposure mechanism.
DeviceInfo_DEVICE_TYPE_UNSPECIFIED, DeviceInfo_WEB, DeviceInfo_MOBILE_WEB, DeviceInfo_ANDROID, DeviceInfo_IOS, DeviceInfo_BOT, DeviceInfo_OTHER
const (
// The device type isn't specified.
DeviceInfo_DEVICE_TYPE_UNSPECIFIED DeviceInfo_DeviceType = 0
// A desktop web browser, such as, Chrome, Firefox, Safari, or Internet
// Explorer)
DeviceInfo_WEB DeviceInfo_DeviceType = 1
// A mobile device web browser, such as a phone or tablet with a Chrome
// browser.
DeviceInfo_MOBILE_WEB DeviceInfo_DeviceType = 2
// An Android device native application.
DeviceInfo_ANDROID DeviceInfo_DeviceType = 3
// An iOS device native application.
DeviceInfo_IOS DeviceInfo_DeviceType = 4
// A bot, as opposed to a device operated by human beings, such as a web
// crawler.
DeviceInfo_BOT DeviceInfo_DeviceType = 5
// Other devices types.
DeviceInfo_OTHER DeviceInfo_DeviceType = 6
)
func (DeviceInfo_DeviceType) Descriptor
func (DeviceInfo_DeviceType) Descriptor() protoreflect.EnumDescriptor
func (DeviceInfo_DeviceType) Enum
func (x DeviceInfo_DeviceType) Enum() *DeviceInfo_DeviceType
func (DeviceInfo_DeviceType) EnumDescriptor
func (DeviceInfo_DeviceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeviceInfo_DeviceType.Descriptor instead.
func (DeviceInfo_DeviceType) Number
func (x DeviceInfo_DeviceType) Number() protoreflect.EnumNumber
func (DeviceInfo_DeviceType) String
func (x DeviceInfo_DeviceType) String() string
func (DeviceInfo_DeviceType) Type
func (DeviceInfo_DeviceType) Type() protoreflect.EnumType
EmploymentType
type EmploymentType int32
An enum that represents the employment type of a job.
EmploymentType_EMPLOYMENT_TYPE_UNSPECIFIED, EmploymentType_FULL_TIME, EmploymentType_PART_TIME, EmploymentType_CONTRACTOR, EmploymentType_CONTRACT_TO_HIRE, EmploymentType_TEMPORARY, EmploymentType_INTERN, EmploymentType_VOLUNTEER, EmploymentType_PER_DIEM, EmploymentType_FLY_IN_FLY_OUT, EmploymentType_OTHER_EMPLOYMENT_TYPE
const (
// The default value if the employment type isn't specified.
EmploymentType_EMPLOYMENT_TYPE_UNSPECIFIED EmploymentType = 0
// The job requires working a number of hours that constitute full
// time employment, typically 40 or more hours per week.
EmploymentType_FULL_TIME EmploymentType = 1
// The job entails working fewer hours than a full time job,
// typically less than 40 hours a week.
EmploymentType_PART_TIME EmploymentType = 2
// The job is offered as a contracted, as opposed to a salaried employee,
// position.
EmploymentType_CONTRACTOR EmploymentType = 3
// The job is offered as a contracted position with the understanding
// that it's converted into a full-time position at the end of the
// contract. Jobs of this type are also returned by a search for
// [EmploymentType.CONTRACTOR][google.cloud.talent.v4.EmploymentType.CONTRACTOR]
// jobs.
EmploymentType_CONTRACT_TO_HIRE EmploymentType = 4
// The job is offered as a temporary employment opportunity, usually
// a short-term engagement.
EmploymentType_TEMPORARY EmploymentType = 5
// The job is a fixed-term opportunity for students or entry-level job
// seekers to obtain on-the-job training, typically offered as a summer
// position.
EmploymentType_INTERN EmploymentType = 6
// The is an opportunity for an individual to volunteer, where there's no
// expectation of compensation for the provided services.
EmploymentType_VOLUNTEER EmploymentType = 7
// The job requires an employee to work on an as-needed basis with a
// flexible schedule.
EmploymentType_PER_DIEM EmploymentType = 8
// The job involves employing people in remote areas and flying them
// temporarily to the work site instead of relocating employees and their
// families permanently.
EmploymentType_FLY_IN_FLY_OUT EmploymentType = 9
// The job does not fit any of the other listed types.
EmploymentType_OTHER_EMPLOYMENT_TYPE EmploymentType = 10
)
func (EmploymentType) Descriptor
func (EmploymentType) Descriptor() protoreflect.EnumDescriptor
func (EmploymentType) Enum
func (x EmploymentType) Enum() *EmploymentType
func (EmploymentType) EnumDescriptor
func (EmploymentType) EnumDescriptor() ([]byte, []int)
Deprecated: Use EmploymentType.Descriptor instead.
func (EmploymentType) Number
func (x EmploymentType) Number() protoreflect.EnumNumber
func (EmploymentType) String
func (x EmploymentType) String() string
func (EmploymentType) Type
func (EmploymentType) Type() protoreflect.EnumType
EventServiceClient
type EventServiceClient interface {
// Report events issued when end user interacts with customer's application
// that uses Cloud Talent Solution. You may inspect the created events in
// [self service
// tools](https://console.cloud.google.com/talent-solution/overview).
// [Learn
// more](https://cloud.google.com/talent-solution/docs/management-tools)
// about self service tools.
CreateClientEvent(ctx context.Context, in *CreateClientEventRequest, opts ...grpc.CallOption) (*ClientEvent, error)
}
EventServiceClient is the client API for EventService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewEventServiceClient
func NewEventServiceClient(cc grpc.ClientConnInterface) EventServiceClient
EventServiceServer
type EventServiceServer interface {
// Report events issued when end user interacts with customer's application
// that uses Cloud Talent Solution. You may inspect the created events in
// [self service
// tools](https://console.cloud.google.com/talent-solution/overview).
// [Learn
// more](https://cloud.google.com/talent-solution/docs/management-tools)
// about self service tools.
CreateClientEvent(context.Context, *CreateClientEventRequest) (*ClientEvent, error)
}
EventServiceServer is the server API for EventService service.
GetCompanyRequest
type GetCompanyRequest struct {
// Required. The resource name of the company to be retrieved.
//
// The format is
// "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
// example, "projects/api-test-project/tenants/foo/companies/bar".
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request for getting a company by name.
func (*GetCompanyRequest) Descriptor
func (*GetCompanyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCompanyRequest.ProtoReflect.Descriptor instead.
func (*GetCompanyRequest) GetName
func (x *GetCompanyRequest) GetName() string
func (*GetCompanyRequest) ProtoMessage
func (*GetCompanyRequest) ProtoMessage()
func (*GetCompanyRequest) ProtoReflect
func (x *GetCompanyRequest) ProtoReflect() protoreflect.Message
func (*GetCompanyRequest) Reset
func (x *GetCompanyRequest) Reset()
func (*GetCompanyRequest) String
func (x *GetCompanyRequest) String() string
GetJobRequest
type GetJobRequest struct {
// Required. The resource name of the job to retrieve.
//
// The format is
// "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
// example, "projects/foo/tenants/bar/jobs/baz".
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Get job request.
func (*GetJobRequest) Descriptor
func (*GetJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetJobRequest.ProtoReflect.Descriptor instead.
func (*GetJobRequest) GetName
func (x *GetJobRequest) GetName() string
func (*GetJobRequest) ProtoMessage
func (*GetJobRequest) ProtoMessage()
func (*GetJobRequest) ProtoReflect
func (x *GetJobRequest) ProtoReflect() protoreflect.Message
func (*GetJobRequest) Reset
func (x *GetJobRequest) Reset()
func (*GetJobRequest) String
func (x *GetJobRequest) String() string
GetTenantRequest
type GetTenantRequest struct {
// Required. The resource name of the tenant to be retrieved.
//
// The format is "projects/{project_id}/tenants/{tenant_id}", for example,
// "projects/foo/tenants/bar".
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request for getting a tenant by name.
func (*GetTenantRequest) Descriptor
func (*GetTenantRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTenantRequest.ProtoReflect.Descriptor instead.
func (*GetTenantRequest) GetName
func (x *GetTenantRequest) GetName() string
func (*GetTenantRequest) ProtoMessage
func (*GetTenantRequest) ProtoMessage()
func (*GetTenantRequest) ProtoReflect
func (x *GetTenantRequest) ProtoReflect() protoreflect.Message
func (*GetTenantRequest) Reset
func (x *GetTenantRequest) Reset()
func (*GetTenantRequest) String
func (x *GetTenantRequest) String() string
HistogramQuery
type HistogramQuery struct {
// An expression specifies a histogram request against matching jobs for
// searches.
//
// See
// [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries]
// for details about syntax.
HistogramQuery string `protobuf:"bytes,1,opt,name=histogram_query,json=histogramQuery,proto3" json:"histogram_query,omitempty"`
// contains filtered or unexported fields
}
The histogram request.
func (*HistogramQuery) Descriptor
func (*HistogramQuery) Descriptor() ([]byte, []int)
Deprecated: Use HistogramQuery.ProtoReflect.Descriptor instead.
func (*HistogramQuery) GetHistogramQuery
func (x *HistogramQuery) GetHistogramQuery() string
func (*HistogramQuery) ProtoMessage
func (*HistogramQuery) ProtoMessage()
func (*HistogramQuery) ProtoReflect
func (x *HistogramQuery) ProtoReflect() protoreflect.Message
func (*HistogramQuery) Reset
func (x *HistogramQuery) Reset()
func (*HistogramQuery) String
func (x *HistogramQuery) String() string
HistogramQueryResult
type HistogramQueryResult struct {
HistogramQuery string `protobuf:"bytes,1,opt,name=histogram_query,json=histogramQuery,proto3" json:"histogram_query,omitempty"`
Histogram map[string]int64 "" /* 160 byte string literal not displayed */
}
Histogram result that matches [HistogramQuery][google.cloud.talent.v4.HistogramQuery] specified in searches.
func (*HistogramQueryResult) Descriptor
func (*HistogramQueryResult) Descriptor() ([]byte, []int)
Deprecated: Use HistogramQueryResult.ProtoReflect.Descriptor instead.
func (*HistogramQueryResult) GetHistogram
func (x *HistogramQueryResult) GetHistogram() map[string]int64
func (*HistogramQueryResult) GetHistogramQuery
func (x *HistogramQueryResult) GetHistogramQuery() string
func (*HistogramQueryResult) ProtoMessage
func (*HistogramQueryResult) ProtoMessage()
func (*HistogramQueryResult) ProtoReflect
func (x *HistogramQueryResult) ProtoReflect() protoreflect.Message
func (*HistogramQueryResult) Reset
func (x *HistogramQueryResult) Reset()
func (*HistogramQueryResult) String
func (x *HistogramQueryResult) String() string
HtmlSanitization
type HtmlSanitization int32
Option for HTML content sanitization on user input fields, for example, job description. By setting this option, user can determine whether and how sanitization is performed on these fields.
HtmlSanitization_HTML_SANITIZATION_UNSPECIFIED, HtmlSanitization_HTML_SANITIZATION_DISABLED, HtmlSanitization_SIMPLE_FORMATTING_ONLY
const (
// Default value.
HtmlSanitization_HTML_SANITIZATION_UNSPECIFIED HtmlSanitization = 0
// Disables sanitization on HTML input.
HtmlSanitization_HTML_SANITIZATION_DISABLED HtmlSanitization = 1
// Sanitizes HTML input, only accepts bold, italic, ordered list, and
// unordered list markup tags.
HtmlSanitization_SIMPLE_FORMATTING_ONLY HtmlSanitization = 2
)
func (HtmlSanitization) Descriptor
func (HtmlSanitization) Descriptor() protoreflect.EnumDescriptor
func (HtmlSanitization) Enum
func (x HtmlSanitization) Enum() *HtmlSanitization
func (HtmlSanitization) EnumDescriptor
func (HtmlSanitization) EnumDescriptor() ([]byte, []int)
Deprecated: Use HtmlSanitization.Descriptor instead.
func (HtmlSanitization) Number
func (x HtmlSanitization) Number() protoreflect.EnumNumber
func (HtmlSanitization) String
func (x HtmlSanitization) String() string
func (HtmlSanitization) Type
func (HtmlSanitization) Type() protoreflect.EnumType
Job
type Job struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Company string `protobuf:"bytes,2,opt,name=company,proto3" json:"company,omitempty"`
RequisitionId string `protobuf:"bytes,3,opt,name=requisition_id,json=requisitionId,proto3" json:"requisition_id,omitempty"`
Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
Addresses []string `protobuf:"bytes,6,rep,name=addresses,proto3" json:"addresses,omitempty"`
ApplicationInfo *Job_ApplicationInfo `protobuf:"bytes,7,opt,name=application_info,json=applicationInfo,proto3" json:"application_info,omitempty"`
JobBenefits []JobBenefit "" /* 141 byte string literal not displayed */
CompensationInfo *CompensationInfo `protobuf:"bytes,9,opt,name=compensation_info,json=compensationInfo,proto3" json:"compensation_info,omitempty"`
CustomAttributes map[string]*CustomAttribute "" /* 198 byte string literal not displayed */
DegreeTypes []DegreeType "" /* 142 byte string literal not displayed */
Department string `protobuf:"bytes,12,opt,name=department,proto3" json:"department,omitempty"`
EmploymentTypes []EmploymentType "" /* 158 byte string literal not displayed */
Incentives string `protobuf:"bytes,14,opt,name=incentives,proto3" json:"incentives,omitempty"`
LanguageCode string `protobuf:"bytes,15,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
JobLevel JobLevel `protobuf:"varint,16,opt,name=job_level,json=jobLevel,proto3,enum=google.cloud.talent.v4.JobLevel" json:"job_level,omitempty"`
PromotionValue int32 `protobuf:"varint,17,opt,name=promotion_value,json=promotionValue,proto3" json:"promotion_value,omitempty"`
Qualifications string `protobuf:"bytes,18,opt,name=qualifications,proto3" json:"qualifications,omitempty"`
Responsibilities string `protobuf:"bytes,19,opt,name=responsibilities,proto3" json:"responsibilities,omitempty"`
PostingRegion PostingRegion "" /* 144 byte string literal not displayed */
Visibility Visibility `protobuf:"varint,21,opt,name=visibility,proto3,enum=google.cloud.talent.v4.Visibility" json:"visibility,omitempty"`
JobStartTime *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=job_start_time,json=jobStartTime,proto3" json:"job_start_time,omitempty"`
JobEndTime *timestamppb.Timestamp `protobuf:"bytes,23,opt,name=job_end_time,json=jobEndTime,proto3" json:"job_end_time,omitempty"`
PostingPublishTime *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=posting_publish_time,json=postingPublishTime,proto3" json:"posting_publish_time,omitempty"`
PostingExpireTime *timestamppb.