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",
}
CommuteMethod_value = map[string]int32{
"COMMUTE_METHOD_UNSPECIFIED": 0,
"DRIVING": 1,
"TRANSIT": 2,
"WALKING": 3,
"CYCLING": 4,
}
)
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",
}
SearchJobsRequest_DiversificationLevel_value = map[string]int32{
"DIVERSIFICATION_LEVEL_UNSPECIFIED": 0,
"DISABLED": 1,
"SIMPLE": 2,
}
)
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.
Tenant_DataUsageType_name, Tenant_DataUsageType_value
var (
Tenant_DataUsageType_name = map[int32]string{
0: "DATA_USAGE_TYPE_UNSPECIFIED",
1: "AGGREGATED",
2: "ISOLATED",
}
Tenant_DataUsageType_value = map[string]int32{
"DATA_USAGE_TYPE_UNSPECIFIED": 0,
"AGGREGATED": 1,
"ISOLATED": 2,
}
)
Enum value maps for Tenant_DataUsageType.
File_google_cloud_talent_v4beta1_batch_proto
var File_google_cloud_talent_v4beta1_batch_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4beta1_common_proto
var File_google_cloud_talent_v4beta1_common_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4beta1_company_proto
var File_google_cloud_talent_v4beta1_company_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4beta1_company_service_proto
var File_google_cloud_talent_v4beta1_company_service_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4beta1_completion_service_proto
var File_google_cloud_talent_v4beta1_completion_service_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4beta1_event_proto
var File_google_cloud_talent_v4beta1_event_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4beta1_event_service_proto
var File_google_cloud_talent_v4beta1_event_service_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4beta1_filters_proto
var File_google_cloud_talent_v4beta1_filters_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4beta1_histogram_proto
var File_google_cloud_talent_v4beta1_histogram_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4beta1_job_proto
var File_google_cloud_talent_v4beta1_job_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4beta1_job_service_proto
var File_google_cloud_talent_v4beta1_job_service_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4beta1_tenant_proto
var File_google_cloud_talent_v4beta1_tenant_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4beta1_tenant_service_proto
var File_google_cloud_talent_v4beta1_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/tenant/bar". If tenant id is unspecified, a default tenant
// is created. For example, "projects/foo".
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The jobs to be created.
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
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/tenant/bar". If tenant id is unspecified, a default tenant
// is created. For example, "projects/foo".
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The filter string specifies the jobs to be deleted.
//
// Supported operator: =, AND
//
// The fields eligible for filtering are:
//
// * `companyName` (Required)
// * `requisitionId` (Required)
//
// Sample Query: companyName = "projects/foo/companies/bar" AND
// requisitionId = "req-1"
Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
Batch delete jobs request.
func (*BatchDeleteJobsRequest) Descriptor
func (*BatchDeleteJobsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchDeleteJobsRequest.ProtoReflect.Descriptor instead.
func (*BatchDeleteJobsRequest) GetFilter
func (x *BatchDeleteJobsRequest) GetFilter() 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
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.v4beta1.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.v4beta1.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/tenant/bar". If tenant id is unspecified, a default tenant
// is created. For example, "projects/foo".
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The jobs to be updated.
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.v4beta1.BatchUpdateJobsRequest.update_mask] is provided, only the specified fields in
// [Job][google.cloud.talent.v4beta1.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.v4beta1.Job] are supported.
//
// If [update_mask][google.cloud.talent.v4beta1.BatchUpdateJobsRequest.update_mask] is provided, The [Job][google.cloud.talent.v4beta1.Job] inside
// [JobResult][google.cloud.talent.v4beta1.JobOperationResult.JobResult]
// will only contains fields that is updated, plus the Id of the Job.
// Otherwise, [Job][google.cloud.talent.v4beta1.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
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.v4beta1.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 profile 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 "" /* 148 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 {
RoadTraffic CommuteFilter_RoadTraffic "" /* 130 byte string literal not displayed */
}
CommuteMethod
type CommuteMethod int32
Method for commute.
CommuteMethod_COMMUTE_METHOD_UNSPECIFIED, CommuteMethod_DRIVING, CommuteMethod_TRANSIT, CommuteMethod_WALKING, CommuteMethod_CYCLING
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
)
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.v4beta1.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: Do not use.
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.v4beta1.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.v4beta1.CompensationFilter_FilterType" json:"type,omitempty"`
Units []CompensationInfo_CompensationUnit "" /* 138 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.v4beta1.CompensationFilter.units].
// Populate one or more [units][google.cloud.talent.v4beta1.CompensationFilter.units].
//
// See [CompensationInfo.CompensationEntry][google.cloud.talent.v4beta1.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.v4beta1.CompensationInfo.CompensationUnit] and
// amount or range overlaps with provided
// [CompensationRange][google.cloud.talent.v4beta1.CompensationInfo.CompensationRange].
//
// See [CompensationInfo.CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for definition of
// base compensation entry.
//
// Set exactly one [units][google.cloud.talent.v4beta1.CompensationFilter.units] and populate [range][google.cloud.talent.v4beta1.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.v4beta1.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4beta1.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.v4beta1.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4beta1.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 {
Type CompensationInfo_CompensationType "" /* 129 byte string literal not displayed */
Unit CompensationInfo_CompensationUnit "" /* 129 byte string literal not displayed */
CompensationAmount isCompensationInfo_CompensationEntry_CompensationAmount `protobuf_oneof:"compensation_amount"`
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
ExpectedUnitsPerYear *wrapperspb.DoubleValue `protobuf:"bytes,6,opt,name=expected_units_per_year,json=expectedUnitsPerYear,proto3" json:"expected_units_per_year,omitempty"`
}
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.v4beta1.CompensationInfo.CompensationEntry.amount] or [range][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.range].
- and its [expected_units_per_year][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.expected_units_per_year] is set or can be derived. Its annualized range is determined as ([amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] or [range][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.range]) times [expected_units_per_year][google.cloud.talent.v4beta1.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.v4beta1.CompensationInfo.CompensationEntry.description].
For example, tipping format is described in [CompensationEntry.description][google.cloud.talent.v4beta1.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.v4beta1.CompensationInfo.CompensationEntry.amount] or [CompensationEntry.range][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.range] ($10 per hour).
For example, equity is described in [CompensationEntry.description][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.description] (for example, "1% - 2% equity vesting over 4 years, 1 year cliff") and value estimated in [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] or [CompensationEntry.range][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.range]. If no value estimate is possible, units are [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED] and then further clarified in [CompensationEntry.description][google.cloud.talent.v4beta1.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 {
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,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 "" /* 134 byte string literal not displayed */
Type CompleteQueryRequest_CompletionType "" /* 131 byte string literal not displayed */
}
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) GetParent
func (x *CompleteQueryRequest) GetParent() string
func (*CompleteQueryRequest) GetQuery
func (x *CompleteQueryRequest) GetQuery() string
func (*CompleteQueryRequest) GetScope
func (x *CompleteQueryRequest) GetScope() CompleteQueryRequest_CompletionScope
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.v4beta1.CompleteQueryRequest.CompletionType.JOB_TITLE] type, only open jobs with the same
// [language_codes][google.cloud.talent.v4beta1.CompleteQueryRequest.language_codes] are returned.
CompleteQueryRequest_JOB_TITLE CompleteQueryRequest_CompletionType = 1
// Suggest company names for jobs autocomplete.
//
// For [CompletionType.COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME] type,
// only companies having open jobs with the same [language_codes][google.cloud.talent.v4beta1.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.v4beta1.CompleteQueryRequest.CompletionType.COMBINED] type, only open jobs with the same
// [language_codes][google.cloud.talent.v4beta1.CompleteQueryRequest.language_codes] or companies having open jobs with the same
// [language_codes][google.cloud.talent.v4beta1.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 {
Suggestion string `protobuf:"bytes,1,opt,name=suggestion,proto3" json:"suggestion,omitempty"`
Type CompleteQueryRequest_CompletionType "" /* 131 byte string literal not displayed */
ImageUri string `protobuf:"bytes,3,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"`
}
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/tenant/bar". If tenant id is unspecified, a default tenant
// is created, for example, "projects/foo".
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/tenant/bar". If tenant id is unspecified, a default tenant
// is created, for example, "projects/foo".
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/tenant/bar". If tenant id is unspecified a default tenant
// is created. For example, "projects/foo".
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.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.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.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.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.v4beta1.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.v4beta1.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".
//
// If tenant id is unspecified, the default tenant is used, for
// example, "projects/foo/companies/bar".
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".
//
// If tenant id is unspecified, the default tenant is used. For
// example, "projects/foo/jobs/bar".
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 "" /* 147 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.v4beta1.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".
//
// If tenant id is unspecified, the default tenant is used, for
// example, "projects/api-test-project/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".
//
// If tenant id is unspecified, the default tenant is used. For
// example, "projects/foo/jobs/bar".
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 resources
// (for example, jobs, profiles) for searches.
//
// See [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries] and
// [SearchProfilesRequest.histogram_queries][google.cloud.talent.v4beta1.SearchProfilesRequest.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.v4beta1.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 "" /* 146 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 "" /* 147 byte string literal not displayed */
Department string `protobuf:"bytes,12,opt,name=department,proto3" json:"department,omitempty"`
EmploymentTypes []EmploymentType "" /* 163 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 "" /* 129 byte string literal not displayed */
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 "" /* 149 byte string literal not displayed */
Visibility Visibility `protobuf:"varint,21,opt,name=visibility,proto3,enum=google.cloud.talent.v4beta1.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.Timestamp `protobuf:"bytes,25,opt,name=posting_expire_time,json=postingExpireTime,proto3" json:"posting_expire_time,omitempty"`
PostingCreateTime *timestamppb.Timestamp `protobuf:"bytes,26,opt,name=posting_create_time,json=postingCreateTime,proto3" json:"posting_create_time,omitempty"`
PostingUpdateTime *timestamppb.Timestamp `protobuf:"bytes,27,opt,name=posting_update_time,json=postingUpdateTime,proto3" json:"posting_update_time,omitempty"`
CompanyDisplayName string `protobuf:"bytes,28,opt,name=company_display_name,json=companyDisplayName,proto3" json:"company_display_name,omitempty"`
DerivedInfo *Job_DerivedInfo `protobuf:"bytes,29,opt,name=derived_info,json=derivedInfo,proto3" json:"derived_info,omitempty"`
ProcessingOptions *Job_ProcessingOptions `protobuf:"bytes,30,opt,name=processing_options,json=processingOptions,proto3" json:"processing_options,omitempty"`
}
A Job resource represents a job posting (also referred to as a "job listing" or "job requisition"). A job belongs to a [Company][google.cloud.talent.v4beta1.Company], which is the hiring entity responsible for the job.
func (*Job) Descriptor
Deprecated: Use Job.ProtoReflect.Descriptor instead.
func (*Job) GetAddresses
func (*Job) GetApplicationInfo
func (x *Job) GetApplicationInfo() *Job_ApplicationInfo
func (*Job) GetCompany
func (*Job) GetCompanyDisplayName
func (*Job) GetCompensationInfo
func (x *Job) GetCompensationInfo() *CompensationInfo
func (*Job) GetCustomAttributes
func (x *Job) GetCustomAttributes() map[string]*CustomAttribute
func (*Job) GetDegreeTypes
func (x *Job) GetDegreeTypes() []DegreeType
func (*Job) GetDepartment
func (*Job) GetDerivedInfo
func (x *Job) GetDerivedInfo() *Job_DerivedInfo
func (*Job) GetDescription
func (*Job) GetEmploymentTypes
func (x *Job) GetEmploymentTypes() []EmploymentType
func (*Job) GetIncentives
func (*Job) GetJobBenefits
func (x *Job) GetJobBenefits() []JobBenefit
func (*Job) GetJobEndTime
func (x *Job) GetJobEndTime() *timestamppb.Timestamp
func (*Job) GetJobLevel
func (*Job) GetJobStartTime
func (x *Job) GetJobStartTime() *timestamppb.Timestamp
func (*Job) GetLanguageCode
func (*Job) GetName
func (*Job) GetPostingCreateTime
func (x *Job) GetPostingCreateTime() *timestamppb.Timestamp
func (*Job) GetPostingExpireTime
func (x *Job) GetPostingExpireTime() *timestamppb.Timestamp
func (*Job) GetPostingPublishTime
func (x *Job) GetPostingPublishTime() *timestamppb.Timestamp
func (*Job) GetPostingRegion
func (x *Job) GetPostingRegion() PostingRegion
func (*Job) GetPostingUpdateTime
func (x *Job) GetPostingUpdateTime() *timestamppb.Timestamp
func (*Job) GetProcessingOptions
func (x *Job) GetProcessingOptions() *Job_ProcessingOptions
func (*Job) GetPromotionValue
func (*Job) GetQualifications
func (*Job) GetRequisitionId
func (*Job) GetResponsibilities
func (*Job) GetTitle
func (*Job) GetVisibility
func (x *Job) GetVisibility() Visibility
Deprecated: Do not use.
func (*Job) ProtoMessage
func (*Job) ProtoMessage()
func (*Job) ProtoReflect
func (x *Job) ProtoReflect() protoreflect.Message
func (*Job) Reset
func (x *Job) Reset()
func (*Job) String
JobBenefit
type JobBenefit int32
An enum that represents employee benefits included with the job.
JobBenefit_JOB_BENEFIT_UNSPECIFIED, JobBenefit_CHILD_CARE, JobBenefit_DENTAL, JobBenefit_DOMESTIC_PARTNER, JobBenefit_FLEXIBLE_HOURS, JobBenefit_MEDICAL, JobBenefit_LIFE_INSURANCE, JobBenefit_PARENTAL_LEAVE, JobBenefit_RETIREMENT_PLAN, JobBenefit_SICK_DAYS, JobBenefit_VACATION, JobBenefit_VISION
const (
// Default value if the type isn't specified.
JobBenefit_JOB_BENEFIT_UNSPECIFIED JobBenefit = 0
// The job includes access to programs that support child care, such
// as daycare.
JobBenefit_CHILD_CARE JobBenefit = 1
// The job includes dental services covered by a dental
// insurance plan.
JobBenefit_DENTAL JobBenefit = 2
// The job offers specific benefits to domestic partners.
JobBenefit_DOMESTIC_PARTNER JobBenefit = 3
// The job allows for a flexible work schedule.
JobBenefit_FLEXIBLE_HOURS JobBenefit = 4
// The job includes health services covered by a medical insurance plan.
JobBenefit_MEDICAL JobBenefit = 5
// The job includes a life insurance plan provided by the employer or
// available for purchase by the employee.
JobBenefit_LIFE_INSURANCE JobBenefit = 6
// The job allows for a leave of absence to a parent to care for a newborn
// child.
JobBenefit_PARENTAL_LEAVE JobBenefit = 7
// The job includes a workplace retirement plan provided by the
// employer or available for purchase by the employee.
JobBenefit_RETIREMENT_PLAN JobBenefit = 8
// The job allows for paid time off due to illness.
JobBenefit_SICK_DAYS JobBenefit = 9
// The job includes paid time off for vacation.
JobBenefit_VACATION JobBenefit = 10
// The job includes vision services covered by a vision
// insurance plan.
JobBenefit_VISION JobBenefit = 11
)
func (JobBenefit) Descriptor
func (JobBenefit) Descriptor() protoreflect.EnumDescriptor
func (JobBenefit) Enum
func (x JobBenefit) Enum() *JobBenefit
func (JobBenefit) EnumDescriptor
func (JobBenefit) EnumDescriptor() ([]byte, []int)
Deprecated: Use JobBenefit.Descriptor instead.
func (JobBenefit) Number
func (x JobBenefit) Number() protoreflect.EnumNumber
func (JobBenefit) String
func (x JobBenefit) String() string
func (JobBenefit) Type
func (JobBenefit) Type() protoreflect.EnumType
JobCategory
type JobCategory int32
An enum that represents the categorization or primary focus of specific role. This value is different than the "industry" associated with a role, which is related to the categorization of the company listing the job.
JobCategory_JOB_CATEGORY_UNSPECIFIED, JobCategory_ACCOUNTING_AND_FINANCE, JobCategory_ADMINISTRATIVE_AND_OFFICE, JobCategory_ADVERTISING_AND_MARKETING, JobCategory_ANIMAL_CARE, JobCategory_ART_FASHION_AND_DESIGN, JobCategory_BUSINESS_OPERATIONS, JobCategory_CLEANING_AND_FACILITIES, JobCategory_COMPUTER_AND_IT, JobCategory_CONSTRUCTION, JobCategory_CUSTOMER_SERVICE, JobCategory_EDUCATION, JobCategory_ENTERTAINMENT_AND_TRAVEL, JobCategory_FARMING_AND_OUTDOORS, JobCategory_HEALTHCARE, JobCategory_HUMAN_RESOURCES, JobCategory_INSTALLATION_MAINTENANCE_AND_REPAIR, JobCategory_LEGAL, JobCategory_MANAGEMENT, JobCategory_MANUFACTURING_AND_WAREHOUSE, JobCategory_MEDIA_COMMUNICATIONS_AND_WRITING, JobCategory_OIL_GAS_AND_MINING, JobCategory_PERSONAL_CARE_AND_SERVICES, JobCategory_PROTECTIVE_SERVICES, JobCategory_REAL_ESTATE, JobCategory_RESTAURANT_AND_HOSPITALITY, JobCategory_SALES_AND_RETAIL, JobCategory_SCIENCE_AND_ENGINEERING, JobCategory_SOCIAL_SERVICES_AND_NON_PROFIT, JobCategory_SPORTS_FITNESS_AND_RECREATION, JobCategory_TRANSPORTATION_AND_LOGISTICS
const (
// The default value if the category isn't specified.
JobCategory_JOB_CATEGORY_UNSPECIFIED JobCategory = 0
// An accounting and finance job, such as an Accountant.
JobCategory_ACCOUNTING_AND_FINANCE JobCategory = 1
// An administrative and office job, such as an Administrative Assistant.
JobCategory_ADMINISTRATIVE_AND_OFFICE JobCategory = 2
// An advertising and marketing job, such as Marketing Manager.
JobCategory_ADVERTISING_AND_MARKETING JobCategory = 3
// An animal care job, such as Veterinarian.
JobCategory_ANIMAL_CARE JobCategory = 4
// An art, fashion, or design job, such as Designer.
JobCategory_ART_FASHION_AND_DESIGN JobCategory = 5
// A business operations job, such as Business Operations Manager.
JobCategory_BUSINESS_OPERATIONS JobCategory = 6
// A cleaning and facilities job, such as Custodial Staff.
JobCategory_CLEANING_AND_FACILITIES JobCategory = 7
// A computer and IT job, such as Systems Administrator.
JobCategory_COMPUTER_AND_IT JobCategory = 8
// A construction job, such as General Laborer.
JobCategory_CONSTRUCTION JobCategory = 9
// A customer service job, such s Cashier.
JobCategory_CUSTOMER_SERVICE JobCategory = 10
// An education job, such as School Teacher.
JobCategory_EDUCATION JobCategory = 11
// An entertainment and travel job, such as Flight Attendant.
JobCategory_ENTERTAINMENT_AND_TRAVEL JobCategory = 12
// A farming or outdoor job, such as Park Ranger.
JobCategory_FARMING_AND_OUTDOORS JobCategory = 13
// A healthcare job, such as Registered Nurse.
JobCategory_HEALTHCARE JobCategory = 14
// A human resources job, such as Human Resources Director.
JobCategory_HUMAN_RESOURCES JobCategory = 15
// An installation, maintenance, or repair job, such as Electrician.
JobCategory_INSTALLATION_MAINTENANCE_AND_REPAIR JobCategory = 16
// A legal job, such as Law Clerk.
JobCategory_LEGAL JobCategory = 17
// A management job, often used in conjunction with another category,
// such as Store Manager.
JobCategory_MANAGEMENT JobCategory = 18
// A manufacturing or warehouse job, such as Assembly Technician.
JobCategory_MANUFACTURING_AND_WAREHOUSE JobCategory = 19
// A media, communications, or writing job, such as Media Relations.
JobCategory_MEDIA_COMMUNICATIONS_AND_WRITING JobCategory = 20
// An oil, gas or mining job, such as Offshore Driller.
JobCategory_OIL_GAS_AND_MINING JobCategory = 21
// A personal care and services job, such as Hair Stylist.
JobCategory_PERSONAL_CARE_AND_SERVICES JobCategory = 22
// A protective services job, such as Security Guard.
JobCategory_PROTECTIVE_SERVICES JobCategory = 23
// A real estate job, such as Buyer's Agent.
JobCategory_REAL_ESTATE JobCategory = 24
// A restaurant and hospitality job, such as Restaurant Server.
JobCategory_RESTAURANT_AND_HOSPITALITY JobCategory = 25
// A sales and/or retail job, such Sales Associate.
JobCategory_SALES_AND_RETAIL JobCategory = 26
// A science and engineering job, such as Lab Technician.
JobCategory_SCIENCE_AND_ENGINEERING JobCategory = 27
// A social services or non-profit job, such as Case Worker.
JobCategory_SOCIAL_SERVICES_AND_NON_PROFIT JobCategory = 28
// A sports, fitness, or recreation job, such as Personal Trainer.
JobCategory_SPORTS_FITNESS_AND_RECREATION JobCategory = 29
// A transportation or logistics job, such as Truck Driver.
JobCategory_TRANSPORTATION_AND_LOGISTICS JobCategory = 30
)
func (JobCategory) Descriptor
func (JobCategory) Descriptor() protoreflect.EnumDescriptor
func (JobCategory) Enum
func (x JobCategory) Enum() *JobCategory
func (JobCategory) EnumDescriptor
func (JobCategory) EnumDescriptor() ([]byte, []int)
Deprecated: Use JobCategory.Descriptor instead.
func (JobCategory) Number
func (x JobCategory) Number() protoreflect.EnumNumber
func (JobCategory) String
func (x JobCategory) String() string
func (JobCategory) Type
func (JobCategory) Type() protoreflect.EnumType
JobEvent
type JobEvent struct {
// Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
Type JobEvent_JobEventType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.talent.v4beta1.JobEvent_JobEventType" json:"type,omitempty"`
// Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
// For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
// this field contains the identifiers of all jobs shown to the job seeker.
// If this was a [view][google.cloud.talent.v4beta1.JobEvent.JobEventType.VIEW] event, this field contains the
// identifier of the viewed job.
//
// The format is
// "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
// example, "projects/foo/tenants/bar/jobs/baz".
Jobs []string `protobuf:"bytes,2,rep,name=jobs,proto3" json:"jobs,omitempty"`
// The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
//
// The format is
// "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}",
// for example, "projects/foo/tenants/bar/profiles/baz".
Profile string `protobuf:"bytes,3,opt,name=profile,proto3" json:"profile,omitempty"`
// contains filtered or unexported fields
}
An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.
func (*JobEvent) Descriptor
Deprecated: Use JobEvent.ProtoReflect.Descriptor instead.
func (*JobEvent) GetJobs
func (*JobEvent) GetProfile
func (*JobEvent) GetType
func (x *JobEvent) GetType() JobEvent_JobEventType
func (*JobEvent) ProtoMessage
func (*JobEvent) ProtoMessage()
func (*JobEvent) ProtoReflect
func (x *JobEvent) ProtoReflect() protoreflect.Message
func (*JobEvent) Reset
func (x *JobEvent) Reset()
func (*JobEvent) String
JobEvent_JobEventType
type JobEvent_JobEventType int32
An enumeration of an event attributed to the behavior of the end user, such as a job seeker.
JobEvent_JOB_EVENT_TYPE_UNSPECIFIED, JobEvent_IMPRESSION, JobEvent_VIEW, JobEvent_VIEW_REDIRECT, JobEvent_APPLICATION_START, JobEvent_APPLICATION_FINISH, JobEvent_APPLICATION_QUICK_SUBMISSION, JobEvent_APPLICATION_REDIRECT, JobEvent_APPLICATION_START_FROM_SEARCH, JobEvent_APPLICATION_REDIRECT_FROM_SEARCH, JobEvent_APPLICATION_COMPANY_SUBMIT, JobEvent_BOOKMARK, JobEvent_NOTIFICATION, JobEvent_HIRED, JobEvent_SENT_CV, JobEvent_INTERVIEW_GRANTED
const (
// The event is unspecified by other provided values.
JobEvent_JOB_EVENT_TYPE_UNSPECIFIED JobEvent_JobEventType = 0
// The job seeker or other entity interacting with the service has
// had a job rendered in their view, such as in a list of search results in
// a compressed or clipped format. This event is typically associated with
// the viewing of a jobs list on a single page by a job seeker.
JobEvent_IMPRESSION JobEvent_JobEventType = 1
// The job seeker, or other entity interacting with the service, has
// viewed the details of a job, including the full description. This
// event doesn't apply to the viewing a snippet of a job appearing as a
// part of the job search results. Viewing a snippet is associated with an
// [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION]).
JobEvent_VIEW JobEvent_JobEventType = 2
// The job seeker or other entity interacting with the service
// performed an action to view a job and was redirected to a different
// website for job.
JobEvent_VIEW_REDIRECT JobEvent_JobEventType = 3
// The job seeker or other entity interacting with the service
// began the process or demonstrated the intention of applying for a job.
JobEvent_APPLICATION_START JobEvent_JobEventType = 4
// The job seeker or other entity interacting with the service
// submitted an application for a job.
JobEvent_APPLICATION_FINISH JobEvent_JobEventType = 5
// The job seeker or other entity interacting with the service
// submitted an application for a job with a single click without
// entering information. If a job seeker performs this action, send only
// this event to the service. Do not also send
// [JobEventType.APPLICATION_START][google.cloud.talent.v4beta1.JobEvent.JobEventType.APPLICATION_START] or [JobEventType.APPLICATION_FINISH][google.cloud.talent.v4beta1.JobEvent.JobEventType.APPLICATION_FINISH]
// events.
JobEvent_APPLICATION_QUICK_SUBMISSION JobEvent_JobEventType = 6
// The job seeker or other entity interacting with the service
// performed an action to apply to a job and was redirected to a different
// website to complete the application.
JobEvent_APPLICATION_REDIRECT JobEvent_JobEventType = 7
// The job seeker or other entity interacting with the service began the
// process or demonstrated the intention of applying for a job from the
// search results page without viewing the details of the job posting.
// If sending this event, JobEventType.VIEW event shouldn't be sent.
JobEvent_APPLICATION_START_FROM_SEARCH JobEvent_JobEventType = 8
// The job seeker, or other entity interacting with the service, performs an
// action with a single click from the search results page to apply to a job
// (without viewing the details of the job posting), and is redirected
// to a different website to complete the application. If a candidate
// performs this action, send only this event to the service. Do not also
// send [JobEventType.APPLICATION_START][google.cloud.talent.v4beta1.JobEvent.JobEventType.APPLICATION_START],
// [JobEventType.APPLICATION_FINISH][google.cloud.talent.v4beta1.JobEvent.JobEventType.APPLICATION_FINISH] or [JobEventType.VIEW][google.cloud.talent.v4beta1.JobEvent.JobEventType.VIEW] events.
JobEvent_APPLICATION_REDIRECT_FROM_SEARCH JobEvent_JobEventType = 9
// This event should be used when a company submits an application
// on behalf of a job seeker. This event is intended for use by staffing
// agencies attempting to place candidates.
JobEvent_APPLICATION_COMPANY_SUBMIT JobEvent_JobEventType = 10
// The job seeker or other entity interacting with the service demonstrated
// an interest in a job by bookmarking or saving it.
JobEvent_BOOKMARK JobEvent_JobEventType = 11
// The job seeker or other entity interacting with the service was
// sent a notification, such as an email alert or device notification,
// containing one or more jobs listings generated by the service.
JobEvent_NOTIFICATION JobEvent_JobEventType = 12
// The job seeker or other entity interacting with the service was
// employed by the hiring entity (employer). Send this event
// only if the job seeker was hired through an application that was
// initiated by a search conducted through the Cloud Talent Solution
// service.
JobEvent_HIRED JobEvent_JobEventType = 13
// A recruiter or staffing agency submitted an application on behalf of the
// candidate after interacting with the service to identify a suitable job
// posting.
JobEvent_SENT_CV JobEvent_JobEventType = 14
// The entity interacting with the service (for example, the job seeker),
// was granted an initial interview by the hiring entity (employer). This
// event should only be sent if the job seeker was granted an interview as
// part of an application that was initiated by a search conducted through /
// recommendation provided by the Cloud Talent Solution service.
JobEvent_INTERVIEW_GRANTED JobEvent_JobEventType = 15
)
func (JobEvent_JobEventType) Descriptor
func (JobEvent_JobEventType) Descriptor() protoreflect.EnumDescriptor
func (JobEvent_JobEventType) Enum
func (x JobEvent_JobEventType) Enum() *JobEvent_JobEventType
func (JobEvent_JobEventType) EnumDescriptor
func (JobEvent_JobEventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use JobEvent_JobEventType.Descriptor instead.
func (JobEvent_JobEventType) Number
func (x JobEvent_JobEventType) Number() protoreflect.EnumNumber
func (JobEvent_JobEventType) String
func (x JobEvent_JobEventType) String() string
func (JobEvent_JobEventType) Type
func (JobEvent_JobEventType) Type() protoreflect.EnumType
JobLevel
type JobLevel int32
An enum that represents the required experience level required for the job.
JobLevel_JOB_LEVEL_UNSPECIFIED, JobLevel_ENTRY_LEVEL, JobLevel_EXPERIENCED, JobLevel_MANAGER, JobLevel_DIRECTOR, JobLevel_EXECUTIVE
const (
// The default value if the level isn't specified.
JobLevel_JOB_LEVEL_UNSPECIFIED JobLevel = 0
// Entry-level individual contributors, typically with less than 2 years of
// experience in a similar role. Includes interns.
JobLevel_ENTRY_LEVEL JobLevel = 1
// Experienced individual contributors, typically with 2+ years of
// experience in a similar role.
JobLevel_EXPERIENCED JobLevel = 2
// Entry- to mid-level managers responsible for managing a team of people.
JobLevel_MANAGER JobLevel = 3
// Senior-level managers responsible for managing teams of managers.
JobLevel_DIRECTOR JobLevel = 4
// Executive-level managers and above, including C-level positions.
JobLevel_EXECUTIVE JobLevel = 5
)
func (JobLevel) Descriptor
func (JobLevel) Descriptor() protoreflect.EnumDescriptor
func (JobLevel) Enum
func (JobLevel) EnumDescriptor
Deprecated: Use JobLevel.Descriptor instead.
func (JobLevel) Number
func (x JobLevel) Number() protoreflect.EnumNumber
func (JobLevel) String
func (JobLevel) Type
func (JobLevel) Type() protoreflect.EnumType
JobOperationResult
type JobOperationResult struct {
// List of job mutation results from a batch mutate operation. It can change
// until operation status is FINISHED, FAILED or CANCELLED.
JobResults []*JobOperationResult_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.v4beta1.JobService.BatchCreateJobs] or [JobService.BatchUpdateJobs][google.cloud.talent.v4beta1.JobService.BatchUpdateJobs] APIs. It's used to replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
func (*JobOperationResult) Descriptor
func (*JobOperationResult) Descriptor() ([]byte, []int)
Deprecated: Use JobOperationResult.ProtoReflect.Descriptor instead.
func (*JobOperationResult) GetJobResults
func (x *JobOperationResult) GetJobResults() []*JobOperationResult_JobResult
func (*JobOperationResult) ProtoMessage
func (*JobOperationResult) ProtoMessage()
func (*JobOperationResult) ProtoReflect
func (x *JobOperationResult) ProtoReflect() protoreflect.Message
func (*JobOperationResult) Reset
func (x *JobOperationResult) Reset()
func (*JobOperationResult) String
func (x *JobOperationResult) String() string
JobOperationResult_JobResult
type JobOperationResult_JobResult struct {
// Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
// [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
// and [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], use getJob method to retrieve
// detailed information of the created/updated job.
Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
// The status of the job processed. This field is populated if the
// processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
Mutation result of a job.
func (*JobOperationResult_JobResult) Descriptor
func (*JobOperationResult_JobResult) Descriptor() ([]byte, []int)
Deprecated: Use JobOperationResult_JobResult.ProtoReflect.Descriptor instead.
func (*JobOperationResult_JobResult) GetJob
func (x *JobOperationResult_JobResult) GetJob() *Job
func (*JobOperationResult_JobResult) GetStatus
func (x *JobOperationResult_JobResult) GetStatus() *status.Status
func (*JobOperationResult_JobResult) ProtoMessage
func (*JobOperationResult_JobResult) ProtoMessage()
func (*JobOperationResult_JobResult) ProtoReflect
func (x *JobOperationResult_JobResult) ProtoReflect() protoreflect.Message
func (*JobOperationResult_JobResult) Reset
func (x *JobOperationResult_JobResult) Reset()
func (*JobOperationResult_JobResult) String
func (x *JobOperationResult_JobResult) String() string
JobQuery
type JobQuery struct {
Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
QueryLanguageCode string `protobuf:"bytes,14,opt,name=query_language_code,json=queryLanguageCode,proto3" json:"query_language_code,omitempty"`
Companies []string `protobuf:"bytes,2,rep,name=companies,proto3" json:"companies,omitempty"`
LocationFilters []*LocationFilter `protobuf:"bytes,3,rep,name=location_filters,json=locationFilters,proto3" json:"location_filters,omitempty"`
JobCategories []JobCategory "" /* 153 byte string literal not displayed */
CommuteFilter *CommuteFilter `protobuf:"bytes,5,opt,name=commute_filter,json=commuteFilter,proto3" json:"commute_filter,omitempty"`
CompanyDisplayNames []string `protobuf:"bytes,6,rep,name=company_display_names,json=companyDisplayNames,proto3" json:"company_display_names,omitempty"`
CompensationFilter *CompensationFilter `protobuf:"bytes,7,opt,name=compensation_filter,json=compensationFilter,proto3" json:"compensation_filter,omitempty"`
CustomAttributeFilter string `protobuf:"bytes,8,opt,name=custom_attribute_filter,json=customAttributeFilter,proto3" json:"custom_attribute_filter,omitempty"`
DisableSpellCheck bool `protobuf:"varint,9,opt,name=disable_spell_check,json=disableSpellCheck,proto3" json:"disable_spell_check,omitempty"`
EmploymentTypes []EmploymentType "" /* 163 byte string literal not displayed */
LanguageCodes []string `protobuf:"bytes,11,rep,name=language_codes,json=languageCodes,proto3" json:"language_codes,omitempty"`
PublishTimeRange *TimestampRange `protobuf:"bytes,12,opt,name=publish_time_range,json=publishTimeRange,proto3" json:"publish_time_range,omitempty"`
ExcludedJobs []string `protobuf:"bytes,13,rep,name=excluded_jobs,json=excludedJobs,proto3" json:"excluded_jobs,omitempty"`
}
The query required to perform a search query.
func (*JobQuery) Descriptor
Deprecated: Use JobQuery.ProtoReflect.Descriptor instead.
func (*JobQuery) GetCommuteFilter
func (x *JobQuery) GetCommuteFilter() *CommuteFilter
func (*JobQuery) GetCompanies
func (*JobQuery) GetCompanyDisplayNames
func (*JobQuery) GetCompensationFilter
func (x *JobQuery) GetCompensationFilter() *CompensationFilter
func (*JobQuery) GetCustomAttributeFilter
func (*JobQuery) GetDisableSpellCheck
func (*JobQuery) GetEmploymentTypes
func (x *JobQuery) GetEmploymentTypes() []EmploymentType
func (*JobQuery) GetExcludedJobs
func (*JobQuery) GetJobCategories
func (x *JobQuery) GetJobCategories() []JobCategory
func (*JobQuery) GetLanguageCodes
func (*JobQuery) GetLocationFilters
func (x *JobQuery) GetLocationFilters() []*LocationFilter
func (*JobQuery) GetPublishTimeRange
func (x *JobQuery) GetPublishTimeRange() *TimestampRange
func (*JobQuery) GetQuery
func (*JobQuery) GetQueryLanguageCode
func (*JobQuery) ProtoMessage
func (*JobQuery) ProtoMessage()
func (*JobQuery) ProtoReflect
func (x *JobQuery) ProtoReflect() protoreflect.Message
func (*JobQuery) Reset
func (x *JobQuery) Reset()
func (*JobQuery) String
JobServiceClient
type JobServiceClient interface {
// Creates a new job.
//
// Typically, the job becomes searchable within 10 seconds, but it may take
// up to 5 minutes.
CreateJob(ctx context.Context, in *CreateJobRequest, opts ...grpc.CallOption) (*Job, error)
// Begins executing a batch create jobs operation.
BatchCreateJobs(ctx context.Context, in *BatchCreateJobsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
// Retrieves the specified job, whose status is OPEN or recently EXPIRED
// within the last 90 days.
GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*Job, error)
// Updates specified job.
//
// Typically, updated contents become visible in search results within 10
// seconds, but it may take up to 5 minutes.
UpdateJob(ctx context.Context, in *UpdateJobRequest, opts ...grpc.CallOption) (*Job, error)
// Begins executing a batch update jobs operation.
BatchUpdateJobs(ctx context.Context, in *BatchUpdateJobsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
// Deletes the specified job.
//
// Typically, the job becomes unsearchable within 10 seconds, but it may take
// up to 5 minutes.
DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
BatchDeleteJobs(ctx context.Context, in *BatchDeleteJobsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Lists jobs by filter.
ListJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (*ListJobsResponse, error)
// Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
//
// This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
// present in the database, and only returns jobs that the caller has
// permission to search against.
SearchJobs(ctx context.Context, in *SearchJobsRequest, opts ...grpc.CallOption) (*SearchJobsResponse, error)
// Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
//
// This API call is intended for the use case of targeting passive job
// seekers (for example, job seekers who have signed up to receive email
// alerts about potential job opportunities), and has different algorithmic
// adjustments that are targeted to passive job seekers.
//
// This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
// present in the database, and only returns jobs the caller has
// permission to search against.
SearchJobsForAlert(ctx context.Context, in *SearchJobsRequest, opts ...grpc.CallOption) (*SearchJobsResponse, error)
}
JobServiceClient is the client API for JobService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewJobServiceClient
func NewJobServiceClient(cc grpc.ClientConnInterface) JobServiceClient
JobServiceServer
type JobServiceServer interface {
// Creates a new job.
//
// Typically, the job becomes searchable within 10 seconds, but it may take
// up to 5 minutes.
CreateJob(context.Context, *CreateJobRequest) (*Job, error)
// Begins executing a batch create jobs operation.
BatchCreateJobs(context.Context, *BatchCreateJobsRequest) (*longrunning.Operation, error)
// Retrieves the specified job, whose status is OPEN or recently EXPIRED
// within the last 90 days.
GetJob(context.Context, *GetJobRequest) (*Job, error)
// Updates specified job.
//
// Typically, updated contents become visible in search results within 10
// seconds, but it may take up to 5 minutes.
UpdateJob(context.Context, *UpdateJobRequest) (*Job, error)
// Begins executing a batch update jobs operation.
BatchUpdateJobs(context.Context, *BatchUpdateJobsRequest) (*longrunning.Operation, error)
// Deletes the specified job.
//
// Typically, the job becomes unsearchable within 10 seconds, but it may take
// up to 5 minutes.
DeleteJob(context.Context, *DeleteJobRequest) (*emptypb.Empty, error)
// Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
BatchDeleteJobs(context.Context, *BatchDeleteJobsRequest) (*emptypb.Empty, error)
// Lists jobs by filter.
ListJobs(context.Context, *ListJobsRequest) (*ListJobsResponse, error)
// Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
//
// This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
// present in the database, and only returns jobs that the caller has
// permission to search against.
SearchJobs(context.Context, *SearchJobsRequest) (*SearchJobsResponse, error)
// Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
//
// This API call is intended for the use case of targeting passive job
// seekers (for example, job seekers who have signed up to receive email
// alerts about potential job opportunities), and has different algorithmic
// adjustments that are targeted to passive job seekers.
//
// This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
// present in the database, and only returns jobs the caller has
// permission to search against.
SearchJobsForAlert(context.Context, *SearchJobsRequest) (*SearchJobsResponse, error)
}
JobServiceServer is the server API for JobService service.
JobView
type JobView int32
An enum that specifies the job attributes that are returned in the [MatchingJob.job][google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.job] or [ListJobsResponse.jobs][google.cloud.talent.v4beta1.ListJobsResponse.jobs] fields.
JobView_JOB_VIEW_UNSPECIFIED, JobView_JOB_VIEW_ID_ONLY, JobView_JOB_VIEW_MINIMAL, JobView_JOB_VIEW_SMALL, JobView_JOB_VIEW_FULL
const (
// Default value.
JobView_JOB_VIEW_UNSPECIFIED JobView = 0
// A ID only view of job, with following attributes:
// [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.language_code][google.cloud.talent.v4beta1.Job.language_code].
JobView_JOB_VIEW_ID_ONLY JobView = 1
// A minimal view of the job, with the following attributes:
// [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.title][google.cloud.talent.v4beta1.Job.title],
// [Job.company][google.cloud.talent.v4beta1.Job.company], [Job.DerivedInfo.locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations], [Job.language_code][google.cloud.talent.v4beta1.Job.language_code].
JobView_JOB_VIEW_MINIMAL JobView = 2
// A small view of the job, with the following attributes in the search
// results: [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.title][google.cloud.talent.v4beta1.Job.title],
// [Job.company][google.cloud.talent.v4beta1.Job.company], [Job.DerivedInfo.locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations], [Job.visibility][google.cloud.talent.v4beta1.Job.visibility],
// [Job.language_code][google.cloud.talent.v4beta1.Job.language_code], [Job.description][google.cloud.talent.v4beta1.Job.description].
JobView_JOB_VIEW_SMALL JobView = 3
// All available attributes are included in the search results.
JobView_JOB_VIEW_FULL JobView = 4
)
func (JobView) Descriptor
func (JobView) Descriptor() protoreflect.EnumDescriptor
func (JobView) Enum
func (JobView) EnumDescriptor
Deprecated: Use JobView.Descriptor instead.
func (JobView) Number
func (x JobView) Number() protoreflect.EnumNumber
func (JobView) String
func (JobView) Type
func (JobView) Type() protoreflect.EnumType
Job_ApplicationInfo
type Job_ApplicationInfo struct {
// Use this field to specify email address(es) to which resumes or
// applications can be sent.
//
// The maximum number of allowed characters for each entry is 255.
Emails []string `protobuf:"bytes,1,rep,name=emails,proto3" json:"emails,omitempty"`
// Use this field to provide instructions, such as "Mail your application
// to ...", that a candidate can follow to apply for the job.
//
// This field accepts and sanitizes HTML input, and also accepts
// bold, italic, ordered list, and unordered list markup tags.
//
// The maximum number of allowed characters is 3,000.
Instruction string `protobuf:"bytes,2,opt,name=instruction,proto3" json:"instruction,omitempty"`
// Use this URI field to direct an applicant to a website, for example to
// link to an online application form.
//
// The maximum number of allowed characters for each entry is 2,000.
Uris []string `protobuf:"bytes,3,rep,name=uris,proto3" json:"uris,omitempty"`
// contains filtered or unexported fields
}
Application related details of a job posting.
func (*Job_ApplicationInfo) Descriptor
func (*Job_ApplicationInfo) Descriptor() ([]byte, []int)
Deprecated: Use Job_ApplicationInfo.ProtoReflect.Descriptor instead.
func (*Job_ApplicationInfo) GetEmails
func (x *Job_ApplicationInfo) GetEmails() []string
func (*Job_ApplicationInfo) GetInstruction
func (x *Job_ApplicationInfo) GetInstruction() string
func (*Job_ApplicationInfo) GetUris
func (x *Job_ApplicationInfo) GetUris() []string
func (*Job_ApplicationInfo) ProtoMessage
func (*Job_ApplicationInfo) ProtoMessage()
func (*Job_ApplicationInfo) ProtoReflect
func (x *Job_ApplicationInfo) ProtoReflect() protoreflect.Message
func (*Job_ApplicationInfo) Reset
func (x *Job_ApplicationInfo) Reset()
func (*Job_ApplicationInfo) String
func (x *Job_ApplicationInfo) String() string
Job_DerivedInfo
type Job_DerivedInfo struct {
Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"`
JobCategories []JobCategory "" /* 153 byte string literal not displayed */
}
Derived details about the job posting.
func (*Job_DerivedInfo) Descriptor
func (*Job_DerivedInfo) Descriptor() ([]byte, []int)
Deprecated: Use Job_DerivedInfo.ProtoReflect.Descriptor instead.
func (*Job_DerivedInfo) GetJobCategories
func (x *Job_DerivedInfo) GetJobCategories() []JobCategory
func (*Job_DerivedInfo) GetLocations
func (x *Job_DerivedInfo) GetLocations() []*Location
func (*Job_DerivedInfo) ProtoMessage
func (*Job_DerivedInfo) ProtoMessage()
func (*Job_DerivedInfo) ProtoReflect
func (x *Job_DerivedInfo) ProtoReflect() protoreflect.Message
func (*Job_DerivedInfo) Reset
func (x *Job_DerivedInfo) Reset()
func (*Job_DerivedInfo) String
func (x *Job_DerivedInfo) String() string
Job_ProcessingOptions
type Job_ProcessingOptions struct {
DisableStreetAddressResolution bool "" /* 156 byte string literal not displayed */
HtmlSanitization HtmlSanitization "" /* 160 byte string literal not displayed */
}
Options for job processing.
func (*Job_ProcessingOptions) Descriptor
func (*Job_ProcessingOptions) Descriptor() ([]byte, []int)
Deprecated: Use Job_ProcessingOptions.ProtoReflect.Descriptor instead.
func (*Job_ProcessingOptions) GetDisableStreetAddressResolution
func (x *Job_ProcessingOptions) GetDisableStreetAddressResolution() bool
func (*Job_ProcessingOptions) GetHtmlSanitization
func (x *Job_ProcessingOptions) GetHtmlSanitization() HtmlSanitization
func (*Job_ProcessingOptions) ProtoMessage
func (*Job_ProcessingOptions) ProtoMessage()
func (*Job_ProcessingOptions) ProtoReflect
func (x *Job_ProcessingOptions) ProtoReflect() protoreflect.Message
func (*Job_ProcessingOptions) Reset
func (x *Job_ProcessingOptions) Reset()
func (*Job_ProcessingOptions) String
func (x *Job_ProcessingOptions) String() string
ListCompaniesRequest
type ListCompaniesRequest 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/tenant/bar".
//
// If tenant id is unspecified, the default tenant will be used, for
// example, "projects/foo".
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The starting indicator from which to return results.
PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// The maximum number of companies to be returned, at most 100.
// Default is 100 if a non-positive number is provided.
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Set to true if the companies requested must have open jobs.
//
// Defaults to false.
//
// If true, at most [page_size][google.cloud.talent.v4beta1.ListCompaniesRequest.page_size] of companies are fetched, among which
// only those with open jobs are returned.
RequireOpenJobs bool `protobuf:"varint,4,opt,name=require_open_jobs,json=requireOpenJobs,proto3" json:"require_open_jobs,omitempty"`
// contains filtered or unexported fields
}
List companies for which the client has ACL visibility.
func (*ListCompaniesRequest) Descriptor
func (*ListCompaniesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCompaniesRequest.ProtoReflect.Descriptor instead.
func (*ListCompaniesRequest) GetPageSize
func (x *ListCompaniesRequest) GetPageSize() int32
func (*ListCompaniesRequest) GetPageToken
func (x *ListCompaniesRequest) GetPageToken() string
func (*ListCompaniesRequest) GetParent
func (x *ListCompaniesRequest) GetParent() string
func (*ListCompaniesRequest) GetRequireOpenJobs
func (x *ListCompaniesRequest) GetRequireOpenJobs() bool
func (*ListCompaniesRequest) ProtoMessage
func (*ListCompaniesRequest) ProtoMessage()
func (*ListCompaniesRequest) ProtoReflect
func (x *ListCompaniesRequest) ProtoReflect() protoreflect.Message
func (*ListCompaniesRequest) Reset
func (x *ListCompaniesRequest) Reset()
func (*ListCompaniesRequest) String
func (x *ListCompaniesRequest) String() string
ListCompaniesResponse
type ListCompaniesResponse struct {
// Companies for the current client.
Companies []*Company `protobuf:"bytes,1,rep,name=companies,proto3" json:"companies,omitempty"`
// A token to retrieve the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Additional information for the API invocation, such as the request
// tracking id.
Metadata *ResponseMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}
The List companies response object.
func (*ListCompaniesResponse) Descriptor
func (*ListCompaniesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCompaniesResponse.ProtoReflect.Descriptor instead.
func (*ListCompaniesResponse) GetCompanies
func (x *ListCompaniesResponse) GetCompanies() []*Company
func (*ListCompaniesResponse) GetMetadata
func (x *ListCompaniesResponse) GetMetadata() *ResponseMetadata
func (*ListCompaniesResponse) GetNextPageToken
func (x *ListCompaniesResponse) GetNextPageToken() string
func (*ListCompaniesResponse) ProtoMessage
func (*ListCompaniesResponse) ProtoMessage()
func (*ListCompaniesResponse) ProtoReflect
func (x *ListCompaniesResponse) ProtoReflect() protoreflect.Message
func (*ListCompaniesResponse) Reset
func (x *ListCompaniesResponse) Reset()
func (*ListCompaniesResponse) String
func (x *ListCompaniesResponse) String() string
ListJobsRequest
type ListJobsRequest 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/tenant/bar". If tenant id is unspecified, a default tenant
// is created. For example, "projects/foo".
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The filter string specifies the jobs to be enumerated.
//
// Supported operator: =, AND
//
// The fields eligible for filtering are:
//
// * `companyName`
// * `requisitionId`
// * `status` Available values: OPEN, EXPIRED, ALL. Defaults to
// OPEN if no value is specified.
//
// At least one of `companyName` and `requisitionId` must present or an
// INVALID_ARGUMENT error is thrown.
//
// Sample Query:
//
// * companyName = "projects/foo/tenants/bar/companies/baz"
// * companyName = "projects/foo/tenants/bar/companies/baz" AND
// requisitionId = "req-1"
// * companyName = "projects/foo/tenants/bar/companies/baz" AND
// status = "EXPIRED"
// * requisitionId = "req-1"
// * requisitionId = "req-1" AND status = "EXPIRED"
Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
// The starting point of a query result.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// The maximum number of jobs to be returned per page of results.
//
// If [job_view][google.cloud.talent.v4beta1.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4beta1.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
// page size is 1000. Otherwise, the maximum allowed page size is 100.
//
// Default is 100 if empty or a number < 1="" is="" specified.="" pagesize="">int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The desired job attributes returned for jobs in the
// search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
// specified.
JobView JobView `protobuf:"varint,5,opt,name=job_view,json=jobView,proto3,enum=google.cloud.talent.v4beta1.JobView" json:"job_view,omitempty"`
// contains filtered or unexported fields
}
List jobs request.
func (*ListJobsRequest) Descriptor
func (*ListJobsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListJobsRequest.ProtoReflect.Descriptor instead.
func (*ListJobsRequest) GetFilter
func (x *ListJobsRequest) GetFilter() string
func (*ListJobsRequest) GetJobView
func (x *ListJobsRequest) GetJobView() JobView
func (*ListJobsRequest) GetPageSize
func (x *ListJobsRequest) GetPageSize() int32
func (*ListJobsRequest) GetPageToken
func (x *ListJobsRequest) GetPageToken() string
func (*ListJobsRequest) GetParent
func (x *ListJobsRequest) GetParent() string
func (*ListJobsRequest) ProtoMessage
func (*ListJobsRequest) ProtoMessage()
func (*ListJobsRequest) ProtoReflect
func (x *ListJobsRequest) ProtoReflect() protoreflect.Message
func (*ListJobsRequest) Reset
func (x *ListJobsRequest) Reset()
func (*ListJobsRequest) String
func (x *ListJobsRequest) String() string
ListJobsResponse
type ListJobsResponse struct {
// The Jobs for a given company.
//
// The maximum number of items returned is based on the limit field
// provided in the request.
Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
// A token to retrieve the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Additional information for the API invocation, such as the request
// tracking id.
Metadata *ResponseMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}
List jobs response.
func (*ListJobsResponse) Descriptor
func (*ListJobsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListJobsResponse.ProtoReflect.Descriptor instead.
func (*ListJobsResponse) GetJobs
func (x *ListJobsResponse) GetJobs() []*Job
func (*ListJobsResponse) GetMetadata
func (x *ListJobsResponse) GetMetadata() *ResponseMetadata
func (*ListJobsResponse) GetNextPageToken
func (x *ListJobsResponse) GetNextPageToken() string
func (*ListJobsResponse) ProtoMessage
func (*ListJobsResponse) ProtoMessage()
func (*ListJobsResponse) ProtoReflect
func (x *ListJobsResponse) ProtoReflect() protoreflect.Message
func (*ListJobsResponse) Reset
func (x *ListJobsResponse) Reset()
func (*ListJobsResponse) String
func (x *ListJobsResponse) String() string
ListTenantsRequest
type ListTenantsRequest 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"`
// The starting indicator from which to return results.
PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// The maximum number of tenants to be returned, at most 100.
// Default is 100 if a non-positive number is provided.
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// contains filtered or unexported fields
}
List tenants for which the client has ACL visibility.
func (*ListTenantsRequest) Descriptor
func (*ListTenantsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTenantsRequest.ProtoReflect.Descriptor instead.
func (*ListTenantsRequest) GetPageSize
func (x *ListTenantsRequest) GetPageSize() int32
func (*ListTenantsRequest) GetPageToken
func (x *ListTenantsRequest) GetPageToken() string
func (*ListTenantsRequest) GetParent
func (x *ListTenantsRequest) GetParent() string
func (*ListTenantsRequest) ProtoMessage
func (*ListTenantsRequest) ProtoMessage()
func (*ListTenantsRequest) ProtoReflect
func (x *ListTenantsRequest) ProtoReflect() protoreflect.Message
func (*ListTenantsRequest) Reset
func (x *ListTenantsRequest) Reset()
func (*ListTenantsRequest) String
func (x *ListTenantsRequest) String() string
ListTenantsResponse
type ListTenantsResponse struct {
// Tenants for the current client.
Tenants []*Tenant `protobuf:"bytes,1,rep,name=tenants,proto3" json:"tenants,omitempty"`
// A token to retrieve the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Additional information for the API invocation, such as the request
// tracking id.
Metadata *ResponseMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}
The List tenants response object.
func (*ListTenantsResponse) Descriptor
func (*ListTenantsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTenantsResponse.ProtoReflect.Descriptor instead.
func (*ListTenantsResponse) GetMetadata
func (x *ListTenantsResponse) GetMetadata() *ResponseMetadata
func (*ListTenantsResponse) GetNextPageToken
func (x *ListTenantsResponse) GetNextPageToken() string
func (*ListTenantsResponse) GetTenants
func (x *ListTenantsResponse) GetTenants() []*Tenant
func (*ListTenantsResponse) ProtoMessage
func (*ListTenantsResponse) ProtoMessage()
func (*ListTenantsResponse) ProtoReflect
func (x *ListTenantsResponse) ProtoReflect() protoreflect.Message
func (*ListTenantsResponse) Reset
func (x *ListTenantsResponse) Reset()
func (*ListTenantsResponse) String
func (x *ListTenantsResponse) String() string
Location
type Location struct {
LocationType Location_LocationType "" /* 153 byte string literal not displayed */
PostalAddress *postaladdress.PostalAddress `protobuf:"bytes,2,opt,name=postal_address,json=postalAddress,proto3" json:"postal_address,omitempty"`
LatLng *latlng.LatLng `protobuf:"bytes,3,opt,name=lat_lng,json=latLng,proto3" json:"lat_lng,omitempty"`
RadiusMiles float64 `protobuf:"fixed64,4,opt,name=radius_miles,json=radiusMiles,proto3" json:"radius_miles,omitempty"`
}
A resource that represents a location with full geographic information.
func (*Location) Descriptor
Deprecated: Use Location.ProtoReflect.Descriptor instead.
func (*Location) GetLatLng
func (*Location) GetLocationType
func (x *Location) GetLocationType() Location_LocationType
func (*Location) GetPostalAddress
func (x *Location) GetPostalAddress() *postaladdress.PostalAddress
func (*Location) GetRadiusMiles
func (*Location) ProtoMessage
func (*Location) ProtoMessage()
func (*Location) ProtoReflect
func (x *Location) ProtoReflect() protoreflect.Message
func (*Location) Reset
func (x *Location) Reset()
func (*Location) String
LocationFilter
type LocationFilter struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
RegionCode string `protobuf:"bytes,2,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
LatLng *latlng.LatLng `protobuf:"bytes,3,opt,name=lat_lng,json=latLng,proto3" json:"lat_lng,omitempty"`
DistanceInMiles float64 `protobuf:"fixed64,4,opt,name=distance_in_miles,json=distanceInMiles,proto3" json:"distance_in_miles,omitempty"`
TelecommutePreference LocationFilter_TelecommutePreference "" /* 195 byte string literal not displayed */
Negated bool `protobuf:"varint,6,opt,name=negated,proto3" json:"negated,omitempty"`
}
Geographic region of the search.
func (*LocationFilter) Descriptor
func (*LocationFilter) Descriptor() ([]byte, []int)
Deprecated: Use LocationFilter.ProtoReflect.Descriptor instead.
func (*LocationFilter) GetAddress
func (x *LocationFilter) GetAddress() string
func (*LocationFilter) GetDistanceInMiles
func (x *LocationFilter) GetDistanceInMiles() float64
func (*LocationFilter) GetLatLng
func (x *LocationFilter) GetLatLng() *latlng.LatLng
func (*LocationFilter) GetNegated
func (x *LocationFilter) GetNegated() bool
func (*LocationFilter) GetRegionCode
func (x *LocationFilter) GetRegionCode() string
func (*LocationFilter) GetTelecommutePreference
func (x *LocationFilter) GetTelecommutePreference() LocationFilter_TelecommutePreference
func (*LocationFilter) ProtoMessage
func (*LocationFilter) ProtoMessage()
func (*LocationFilter) ProtoReflect
func (x *LocationFilter) ProtoReflect() protoreflect.Message
func (*LocationFilter) Reset
func (x *LocationFilter) Reset()
func (*LocationFilter) String
func (x *LocationFilter) String() string
LocationFilter_TelecommutePreference
type LocationFilter_TelecommutePreference int32
Specify whether to include telecommute jobs.
LocationFilter_TELECOMMUTE_PREFERENCE_UNSPECIFIED, LocationFilter_TELECOMMUTE_EXCLUDED, LocationFilter_TELECOMMUTE_ALLOWED, LocationFilter_TELECOMMUTE_JOBS_EXCLUDED
const (
// Default value if the telecommute preference isn't specified.
LocationFilter_TELECOMMUTE_PREFERENCE_UNSPECIFIED LocationFilter_TelecommutePreference = 0
// Deprecated: Ignore telecommute status of jobs. Use
// TELECOMMUTE_JOBS_EXCLUDED if want to exclude telecommute jobs.
//
// Deprecated: Do not use.
LocationFilter_TELECOMMUTE_EXCLUDED LocationFilter_TelecommutePreference = 1
// Allow telecommute jobs.
LocationFilter_TELECOMMUTE_ALLOWED LocationFilter_TelecommutePreference = 2
// Exclude telecommute jobs.
LocationFilter_TELECOMMUTE_JOBS_EXCLUDED LocationFilter_TelecommutePreference = 3
)
func (LocationFilter_TelecommutePreference) Descriptor
func (LocationFilter_TelecommutePreference) Descriptor() protoreflect.EnumDescriptor
func (LocationFilter_TelecommutePreference) Enum
func (x LocationFilter_TelecommutePreference) Enum() *LocationFilter_TelecommutePreference
func (LocationFilter_TelecommutePreference) EnumDescriptor
func (LocationFilter_TelecommutePreference) EnumDescriptor() ([]byte, []int)
Deprecated: Use LocationFilter_TelecommutePreference.Descriptor instead.
func (LocationFilter_TelecommutePreference) Number
func (x LocationFilter_TelecommutePreference) Number() protoreflect.EnumNumber
func (LocationFilter_TelecommutePreference) String
func (x LocationFilter_TelecommutePreference) String() string
func (LocationFilter_TelecommutePreference) Type
func (LocationFilter_TelecommutePreference) Type() protoreflect.EnumType
Location_LocationType
type Location_LocationType int32
An enum which represents the type of a location.
Location_LOCATION_TYPE_UNSPECIFIED, Location_COUNTRY, Location_ADMINISTRATIVE_AREA, Location_SUB_ADMINISTRATIVE_AREA, Location_LOCALITY, Location_POSTAL_CODE, Location_SUB_LOCALITY, Location_SUB_LOCALITY_1, Location_SUB_LOCALITY_2, Location_NEIGHBORHOOD, Location_STREET_ADDRESS
const (
// Default value if the type isn't specified.
Location_LOCATION_TYPE_UNSPECIFIED Location_LocationType = 0
// A country level location.
Location_COUNTRY Location_LocationType = 1
// A state or equivalent level location.
Location_ADMINISTRATIVE_AREA Location_LocationType = 2
// A county or equivalent level location.
Location_SUB_ADMINISTRATIVE_AREA Location_LocationType = 3
// A city or equivalent level location.
Location_LOCALITY Location_LocationType = 4
// A postal code level location.
Location_POSTAL_CODE Location_LocationType = 5
// A sublocality is a subdivision of a locality, for example a city borough,
// ward, or arrondissement. Sublocalities are usually recognized by a local
// political authority. For example, Manhattan and Brooklyn are recognized
// as boroughs by the City of New York, and are therefore modeled as
// sublocalities.
Location_SUB_LOCALITY Location_LocationType = 6
// A district or equivalent level location.
Location_SUB_LOCALITY_1 Location_LocationType = 7
// A smaller district or equivalent level display.
Location_SUB_LOCALITY_2 Location_LocationType = 8
// A neighborhood level location.
Location_NEIGHBORHOOD Location_LocationType = 9
// A street address level location.
Location_STREET_ADDRESS Location_LocationType = 10
)
func (Location_LocationType) Descriptor
func (Location_LocationType) Descriptor() protoreflect.EnumDescriptor
func (Location_LocationType) Enum
func (x Location_LocationType) Enum() *Location_LocationType
func (Location_LocationType) EnumDescriptor
func (Location_LocationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Location_LocationType.Descriptor instead.
func (Location_LocationType) Number
func (x Location_LocationType) Number() protoreflect.EnumNumber
func (Location_LocationType) String
func (x Location_LocationType) String() string
func (Location_LocationType) Type
func (Location_LocationType) Type() protoreflect.EnumType
PostingRegion
type PostingRegion int32
An enum that represents the job posting region. In most cases, job postings don't need to specify a region. If a region is given, jobs are eligible for searches in the specified region.
PostingRegion_POSTING_REGION_UNSPECIFIED, PostingRegion_ADMINISTRATIVE_AREA, PostingRegion_NATION, PostingRegion_TELECOMMUTE
const (
// If the region is unspecified, the job is only returned if it
// matches the [LocationFilter][google.cloud.talent.v4beta1.LocationFilter].
PostingRegion_POSTING_REGION_UNSPECIFIED PostingRegion = 0
// In addition to exact location matching, job posting is returned when the
// [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] in the search query is in the same administrative area
// as the returned job posting. For example, if a `ADMINISTRATIVE_AREA` job
// is posted in "CA, USA", it's returned if [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] has
// "Mountain View".
//
// Administrative area refers to top-level administrative subdivision of this
// country. For example, US state, IT region, UK constituent nation and
// JP prefecture.
PostingRegion_ADMINISTRATIVE_AREA PostingRegion = 1
// In addition to exact location matching, job is returned when
// [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] in search query is in the same country as this job.
// For example, if a `NATION_WIDE` job is posted in "USA", it's
// returned if [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] has 'Mountain View'.
PostingRegion_NATION PostingRegion = 2
// Job allows employees to work remotely (telecommute).
// If locations are provided with this value, the job is
// considered as having a location, but telecommuting is allowed.
PostingRegion_TELECOMMUTE PostingRegion = 3
)
func (PostingRegion) Descriptor
func (PostingRegion) Descriptor() protoreflect.EnumDescriptor
func (PostingRegion) Enum
func (x PostingRegion) Enum() *PostingRegion
func (PostingRegion) EnumDescriptor
func (PostingRegion) EnumDescriptor() ([]byte, []int)
Deprecated: Use PostingRegion.Descriptor instead.
func (PostingRegion) Number
func (x PostingRegion) Number() protoreflect.EnumNumber
func (PostingRegion) String
func (x PostingRegion) String() string
func (PostingRegion) Type
func (PostingRegion) Type() protoreflect.EnumType
RequestMetadata
type RequestMetadata struct {
// Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
//
// The client-defined scope or source of the service call, which typically
// is the domain on
// which the service has been implemented and is currently being run.
//
// For example, if the service is being run by client Foo, Inc., on
// job board www.foo.com and career site www.bar.com, then this field is
// set to "foo.com" for use on the job board, and "bar.com" for use on the
// career site.
//
// Note that any improvements to the model for a particular tenant site rely
// on this field being set correctly to a unique domain.
//
// The maximum number of allowed characters is 255.
Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
// Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
//
// A unique session identification string. A session is defined as the
// duration of an end user's interaction with the service over a certain
// period.
// Obfuscate this field for privacy concerns before
// providing it to the service.
//
// Note that any improvements to the model for a particular tenant site rely
// on this field being set correctly to a unique session ID.
//
// The maximum number of allowed characters is 255.
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
//
// A unique user identification string, as determined by the client.
// To have the strongest positive impact on search quality
// make sure the client-level is unique.
// Obfuscate this field for privacy concerns before
// providing it to the service.
//
// Note that any improvements to the model for a particular tenant site rely
// on this field being set correctly to a unique user ID.
//
// The maximum number of allowed characters is 255.
UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// Only set when any of [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] isn't
// available for some reason. It is highly recommended not to set this field
// and provide accurate [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] for the
// best service experience.
AllowMissingIds bool `protobuf:"varint,4,opt,name=allow_missing_ids,json=allowMissingIds,proto3" json:"allow_missing_ids,omitempty"`
// The type of device used by the job seeker at the time of the call to the
// service.
DeviceInfo *DeviceInfo `protobuf:"bytes,5,opt,name=device_info,json=deviceInfo,proto3" json:"device_info,omitempty"`
// contains filtered or unexported fields
}
Meta information related to the job searcher or entity conducting the job search. This information is used to improve the performance of the service.
func (*RequestMetadata) Descriptor
func (*RequestMetadata) Descriptor() ([]byte, []int)
Deprecated: Use RequestMetadata.ProtoReflect.Descriptor instead.
func (*RequestMetadata) GetAllowMissingIds
func (x *RequestMetadata) GetAllowMissingIds() bool
func (*RequestMetadata) GetDeviceInfo
func (x *RequestMetadata) GetDeviceInfo() *DeviceInfo
func (*RequestMetadata) GetDomain
func (x *RequestMetadata) GetDomain() string
func (*RequestMetadata) GetSessionId
func (x *RequestMetadata) GetSessionId() string
func (*RequestMetadata) GetUserId
func (x *RequestMetadata) GetUserId() string
func (*RequestMetadata) ProtoMessage
func (*RequestMetadata) ProtoMessage()
func (*RequestMetadata) ProtoReflect
func (x *RequestMetadata) ProtoReflect() protoreflect.Message
func (*RequestMetadata) Reset
func (x *RequestMetadata) Reset()
func (*RequestMetadata) String
func (x *RequestMetadata) String() string
ResponseMetadata
type ResponseMetadata struct {
// A unique id associated with this call.
// This id is logged for tracking purposes.
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Additional information returned to client, such as debugging information.
func (*ResponseMetadata) Descriptor
func (*ResponseMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMetadata.ProtoReflect.Descriptor instead.
func (*ResponseMetadata) GetRequestId
func (x *ResponseMetadata) GetRequestId() string
func (*ResponseMetadata) ProtoMessage
func (*ResponseMetadata) ProtoMessage()
func (*ResponseMetadata) ProtoReflect
func (x *ResponseMetadata) ProtoReflect() protoreflect.Message
func (*ResponseMetadata) Reset
func (x *ResponseMetadata) Reset()
func (*ResponseMetadata) String
func (x *ResponseMetadata) String() string
SearchJobsRequest
type SearchJobsRequest struct {
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
SearchMode SearchJobsRequest_SearchMode "" /* 154 byte string literal not displayed */
RequestMetadata *RequestMetadata `protobuf:"bytes,3,opt,name=request_metadata,json=requestMetadata,proto3" json:"request_metadata,omitempty"`
JobQuery *JobQuery `protobuf:"bytes,4,opt,name=job_query,json=jobQuery,proto3" json:"job_query,omitempty"`
EnableBroadening bool `protobuf:"varint,5,opt,name=enable_broadening,json=enableBroadening,proto3" json:"enable_broadening,omitempty"`
RequirePreciseResultSize bool "" /* 138 byte string literal not displayed */
HistogramQueries []*HistogramQuery `protobuf:"bytes,7,rep,name=histogram_queries,json=histogramQueries,proto3" json:"histogram_queries,omitempty"`
JobView JobView `protobuf:"varint,8,opt,name=job_view,json=jobView,proto3,enum=google.cloud.talent.v4beta1.JobView" json:"job_view,omitempty"`
Offset int32 `protobuf:"varint,9,opt,name=offset,proto3" json:"offset,omitempty"`
PageSize int32 `protobuf:"varint,10,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
PageToken string `protobuf:"bytes,11,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
OrderBy string `protobuf:"bytes,12,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
DiversificationLevel SearchJobsRequest_DiversificationLevel "" /* 195 byte string literal not displayed */
CustomRankingInfo *SearchJobsRequest_CustomRankingInfo `protobuf:"bytes,14,opt,name=custom_ranking_info,json=customRankingInfo,proto3" json:"custom_ranking_info,omitempty"`
DisableKeywordMatch bool `protobuf:"varint,16,opt,name=disable_keyword_match,json=disableKeywordMatch,proto3" json:"disable_keyword_match,omitempty"`
KeywordMatchMode SearchJobsRequest_KeywordMatchMode "" /* 181 byte string literal not displayed */
}
The Request body of the SearchJobs
call.
func (*SearchJobsRequest) Descriptor
func (*SearchJobsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchJobsRequest.ProtoReflect.Descriptor instead.
func (*SearchJobsRequest) GetCustomRankingInfo
func (x *SearchJobsRequest) GetCustomRankingInfo() *SearchJobsRequest_CustomRankingInfo
func (*SearchJobsRequest) GetDisableKeywordMatch
func (x *SearchJobsRequest) GetDisableKeywordMatch() bool
func (*SearchJobsRequest) GetDiversificationLevel
func (x *SearchJobsRequest) GetDiversificationLevel() SearchJobsRequest_DiversificationLevel
func (*SearchJobsRequest) GetEnableBroadening
func (x *SearchJobsRequest) GetEnableBroadening() bool
func (*SearchJobsRequest) GetHistogramQueries
func (x *SearchJobsRequest) GetHistogramQueries() []*HistogramQuery
func (*SearchJobsRequest) GetJobQuery
func (x *SearchJobsRequest) GetJobQuery() *JobQuery
func (*SearchJobsRequest) GetJobView
func (x *SearchJobsRequest) GetJobView() JobView
func (*SearchJobsRequest) GetKeywordMatchMode
func (x *SearchJobsRequest) GetKeywordMatchMode() SearchJobsRequest_KeywordMatchMode
func (*SearchJobsRequest) GetOffset
func (x *SearchJobsRequest) GetOffset() int32
func (*SearchJobsRequest) GetOrderBy
func (x *SearchJobsRequest) GetOrderBy() string
func (*SearchJobsRequest) GetPageSize
func (x *SearchJobsRequest) GetPageSize() int32
func (*SearchJobsRequest) GetPageToken
func (x *SearchJobsRequest) GetPageToken() string
func (*SearchJobsRequest) GetParent
func (x *SearchJobsRequest) GetParent() string
func (*SearchJobsRequest) GetRequestMetadata
func (x *SearchJobsRequest) GetRequestMetadata() *RequestMetadata
func (*SearchJobsRequest) GetRequirePreciseResultSize
func (x *SearchJobsRequest) GetRequirePreciseResultSize() bool
Deprecated: Do not use.
func (*SearchJobsRequest) GetSearchMode
func (x *SearchJobsRequest) GetSearchMode() SearchJobsRequest_SearchMode
func (*SearchJobsRequest) ProtoMessage
func (*SearchJobsRequest) ProtoMessage()
func (*SearchJobsRequest) ProtoReflect
func (x *SearchJobsRequest) ProtoReflect() protoreflect.Message
func (*SearchJobsRequest) Reset
func (x *SearchJobsRequest) Reset()
func (*SearchJobsRequest) String
func (x *SearchJobsRequest) String() string
SearchJobsRequest_CustomRankingInfo
type SearchJobsRequest_CustomRankingInfo struct {
ImportanceLevel SearchJobsRequest_CustomRankingInfo_ImportanceLevel "" /* 192 byte string literal not displayed */
RankingExpression string `protobuf:"bytes,2,opt,name=ranking_expression,json=rankingExpression,proto3" json:"ranking_expression,omitempty"`
}
Custom ranking information for [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
func (*SearchJobsRequest_CustomRankingInfo) Descriptor
func (*SearchJobsRequest_CustomRankingInfo) Descriptor() ([]byte, []int)
Deprecated: Use SearchJobsRequest_CustomRankingInfo.ProtoReflect.Descriptor instead.
func (*SearchJobsRequest_CustomRankingInfo) GetImportanceLevel
func (x *SearchJobsRequest_CustomRankingInfo) GetImportanceLevel() SearchJobsRequest_CustomRankingInfo_ImportanceLevel
func (*SearchJobsRequest_CustomRankingInfo) GetRankingExpression
func (x *SearchJobsRequest_CustomRankingInfo) GetRankingExpression() string
func (*SearchJobsRequest_CustomRankingInfo) ProtoMessage
func (*SearchJobsRequest_CustomRankingInfo) ProtoMessage()
func (*SearchJobsRequest_CustomRankingInfo) ProtoReflect
func (x *SearchJobsRequest_CustomRankingInfo) ProtoReflect() protoreflect.Message
func (*SearchJobsRequest_CustomRankingInfo) Reset
func (x *SearchJobsRequest_CustomRankingInfo) Reset()
func (*SearchJobsRequest_CustomRankingInfo) String
func (x *SearchJobsRequest_CustomRankingInfo) String() string
SearchJobsRequest_CustomRankingInfo_ImportanceLevel
type SearchJobsRequest_CustomRankingInfo_ImportanceLevel int32
The importance level for [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression].
SearchJobsRequest_CustomRankingInfo_IMPORTANCE_LEVEL_UNSPECIFIED, SearchJobsRequest_CustomRankingInfo_NONE, SearchJobsRequest_CustomRankingInfo_LOW, SearchJobsRequest_CustomRankingInfo_MILD, SearchJobsRequest_CustomRankingInfo_MEDIUM, SearchJobsRequest_CustomRankingInfo_HIGH, SearchJobsRequest_CustomRankingInfo_EXTREME
const (
// Default value if the importance level isn't specified.
SearchJobsRequest_CustomRankingInfo_IMPORTANCE_LEVEL_UNSPECIFIED SearchJobsRequest_CustomRankingInfo_ImportanceLevel = 0
// The given ranking expression is of None importance, existing relevance
// score (determined by API algorithm) dominates job's final ranking
// position.
SearchJobsRequest_CustomRankingInfo_NONE SearchJobsRequest_CustomRankingInfo_ImportanceLevel = 1
// The given ranking expression is of Low importance in terms of job's
// final ranking position compared to existing relevance
// score (determined by API algorithm).
SearchJobsRequest_CustomRankingInfo_LOW SearchJobsRequest_CustomRankingInfo_ImportanceLevel = 2
// The given ranking expression is of Mild importance in terms of job's
// final ranking position compared to existing relevance
// score (determined by API algorithm).
SearchJobsRequest_CustomRankingInfo_MILD SearchJobsRequest_CustomRankingInfo_ImportanceLevel = 3
// The given ranking expression is of Medium importance in terms of job's
// final ranking position compared to existing relevance
// score (determined by API algorithm).
SearchJobsRequest_CustomRankingInfo_MEDIUM SearchJobsRequest_CustomRankingInfo_ImportanceLevel = 4
// The given ranking expression is of High importance in terms of job's
// final ranking position compared to existing relevance
// score (determined by API algorithm).
SearchJobsRequest_CustomRankingInfo_HIGH SearchJobsRequest_CustomRankingInfo_ImportanceLevel = 5
// The given ranking expression is of Extreme importance, and dominates
// job's final ranking position with existing relevance
// score (determined by API algorithm) ignored.
SearchJobsRequest_CustomRankingInfo_EXTREME SearchJobsRequest_CustomRankingInfo_ImportanceLevel = 6
)
func (SearchJobsRequest_CustomRankingInfo_ImportanceLevel) Descriptor
func (SearchJobsRequest_CustomRankingInfo_ImportanceLevel) Descriptor() protoreflect.EnumDescriptor
func (SearchJobsRequest_CustomRankingInfo_ImportanceLevel) Enum
func (x SearchJobsRequest_CustomRankingInfo_ImportanceLevel) Enum() *SearchJobsRequest_CustomRankingInfo_ImportanceLevel
func (SearchJobsRequest_CustomRankingInfo_ImportanceLevel) EnumDescriptor
func (SearchJobsRequest_CustomRankingInfo_ImportanceLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use SearchJobsRequest_CustomRankingInfo_ImportanceLevel.Descriptor instead.
func (SearchJobsRequest_CustomRankingInfo_ImportanceLevel) Number
func (x SearchJobsRequest_CustomRankingInfo_ImportanceLevel) Number() protoreflect.EnumNumber
func (SearchJobsRequest_CustomRankingInfo_ImportanceLevel) String
func (x SearchJobsRequest_CustomRankingInfo_ImportanceLevel) String() string
func (SearchJobsRequest_CustomRankingInfo_ImportanceLevel) Type
SearchJobsRequest_DiversificationLevel
type SearchJobsRequest_DiversificationLevel int32
Controls whether highly similar jobs are returned next to each other in the search results. Jobs are identified as highly similar based on their titles, job categories, and locations. Highly similar results are clustered so that only one representative job of the cluster is displayed to the job seeker higher up in the results, with the other jobs being displayed lower down in the results.
SearchJobsRequest_DIVERSIFICATION_LEVEL_UNSPECIFIED, SearchJobsRequest_DISABLED, SearchJobsRequest_SIMPLE
const (
// The diversification level isn't specified.
SearchJobsRequest_DIVERSIFICATION_LEVEL_UNSPECIFIED SearchJobsRequest_DiversificationLevel = 0
// Disables diversification. Jobs that would normally be pushed to the last
// page would not have their positions altered. This may result in highly
// similar jobs appearing in sequence in the search results.
SearchJobsRequest_DISABLED SearchJobsRequest_DiversificationLevel = 1
// Default diversifying behavior. The result list is ordered so that
// highly similar results are pushed to the end of the last page of search
// results. If you are using pageToken to page through the result set,
// latency might be lower but we can't guarantee that all results are
// returned. If you are using page offset, latency might be higher but all
// results are returned.
SearchJobsRequest_SIMPLE SearchJobsRequest_DiversificationLevel = 2
)
func (SearchJobsRequest_DiversificationLevel) Descriptor
func (SearchJobsRequest_DiversificationLevel) Descriptor() protoreflect.EnumDescriptor
func (SearchJobsRequest_DiversificationLevel) Enum
func (SearchJobsRequest_DiversificationLevel) EnumDescriptor
func (SearchJobsRequest_DiversificationLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use SearchJobsRequest_DiversificationLevel.Descriptor instead.
func (SearchJobsRequest_DiversificationLevel) Number
func (x SearchJobsRequest_DiversificationLevel) Number() protoreflect.EnumNumber
func (SearchJobsRequest_DiversificationLevel) String
func (x SearchJobsRequest_DiversificationLevel) String() string
func (SearchJobsRequest_DiversificationLevel) Type
func (SearchJobsRequest_DiversificationLevel) Type() protoreflect.EnumType
SearchJobsRequest_KeywordMatchMode
type SearchJobsRequest_KeywordMatchMode int32
Controls what keyword matching behavior the search has. When keyword matching is enabled, a keyword match returns jobs that may not match given category filters when there are matching keywords. For example, for the query "program manager" with KeywordMatchMode set to KEYWORD_MATCH_ALL, a job posting with the title "software developer," which doesn't fall into "program manager" ontology, and "program manager" appearing in its description will be surfaced.
For queries like "cloud" that don't contain title or location specific ontology, jobs with "cloud" keyword matches are returned regardless of this enum's value.
Use [Company.keyword_searchable_job_custom_attributes][google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes] if company-specific globally matched custom field/attribute string values are needed. Enabling keyword match improves recall of subsequent search requests.
SearchJobsRequest_KEYWORD_MATCH_MODE_UNSPECIFIED, SearchJobsRequest_KEYWORD_MATCH_DISABLED, SearchJobsRequest_KEYWORD_MATCH_ALL, SearchJobsRequest_KEYWORD_MATCH_TITLE_ONLY
const (
// The keyword match option isn't specified. Defaults to
// [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] behavior.
SearchJobsRequest_KEYWORD_MATCH_MODE_UNSPECIFIED SearchJobsRequest_KeywordMatchMode = 0
// Disables keyword matching.
SearchJobsRequest_KEYWORD_MATCH_DISABLED SearchJobsRequest_KeywordMatchMode = 1
// Enable keyword matching over [Job.title][google.cloud.talent.v4beta1.Job.title],
// [Job.description][google.cloud.talent.v4beta1.Job.description], [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name], [Job.addresses][google.cloud.talent.v4beta1.Job.addresses],
// [Job.qualifications][google.cloud.talent.v4beta1.Job.qualifications], and keyword searchable [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes]
// fields.
SearchJobsRequest_KEYWORD_MATCH_ALL SearchJobsRequest_KeywordMatchMode = 2
// Only enable keyword matching over [Job.title][google.cloud.talent.v4beta1.Job.title].
SearchJobsRequest_KEYWORD_MATCH_TITLE_ONLY SearchJobsRequest_KeywordMatchMode = 3
)
func (SearchJobsRequest_KeywordMatchMode) Descriptor
func (SearchJobsRequest_KeywordMatchMode) Descriptor() protoreflect.EnumDescriptor
func (SearchJobsRequest_KeywordMatchMode) Enum
func (x SearchJobsRequest_KeywordMatchMode) Enum() *SearchJobsRequest_KeywordMatchMode
func (SearchJobsRequest_KeywordMatchMode) EnumDescriptor
func (SearchJobsRequest_KeywordMatchMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use SearchJobsRequest_KeywordMatchMode.Descriptor instead.
func (SearchJobsRequest_KeywordMatchMode) Number
func (x SearchJobsRequest_KeywordMatchMode) Number() protoreflect.EnumNumber
func (SearchJobsRequest_KeywordMatchMode) String
func (x SearchJobsRequest_KeywordMatchMode) String() string
func (SearchJobsRequest_KeywordMatchMode) Type
func (SearchJobsRequest_KeywordMatchMode) Type() protoreflect.EnumType
SearchJobsRequest_SearchMode
type SearchJobsRequest_SearchMode int32
A string-represented enumeration of the job search mode. The service operate differently for different modes of service.
SearchJobsRequest_SEARCH_MODE_UNSPECIFIED, SearchJobsRequest_JOB_SEARCH, SearchJobsRequest_FEATURED_JOB_SEARCH
const (
// The mode of the search method isn't specified. The default search
// behavior is identical to JOB_SEARCH search behavior.
SearchJobsRequest_SEARCH_MODE_UNSPECIFIED SearchJobsRequest_SearchMode = 0
// The job search matches against all jobs, and featured jobs
// (jobs with promotionValue > 0) are not specially handled.
SearchJobsRequest_JOB_SEARCH SearchJobsRequest_SearchMode = 1
// The job search matches only against featured jobs (jobs with a
// promotionValue > 0). This method doesn't return any jobs having a
// promotionValue <= 0.="" the="" search="" results="" order="" is="" determined="" by="" the="" promotionvalue="" (jobs="" with="" a="" higher="" promotionvalue="" are="" returned="" higher="" up="" in="" the="" search="" results),="" with="" relevance="" being="" used="" as="" a="" tiebreaker.="" searchjobsrequest_featured_job_search="">SearchJobsRequest_SearchMode = 2
)
func (SearchJobsRequest_SearchMode) Descriptor
func (SearchJobsRequest_SearchMode) Descriptor() protoreflect.EnumDescriptor
func (SearchJobsRequest_SearchMode) Enum
func (x SearchJobsRequest_SearchMode) Enum() *SearchJobsRequest_SearchMode
func (SearchJobsRequest_SearchMode) EnumDescriptor
func (SearchJobsRequest_SearchMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use SearchJobsRequest_SearchMode.Descriptor instead.
func (SearchJobsRequest_SearchMode) Number
func (x SearchJobsRequest_SearchMode) Number() protoreflect.EnumNumber
func (SearchJobsRequest_SearchMode) String
func (x SearchJobsRequest_SearchMode) String() string
func (SearchJobsRequest_SearchMode) Type
func (SearchJobsRequest_SearchMode) Type() protoreflect.EnumType
SearchJobsResponse
type SearchJobsResponse struct {
MatchingJobs []*SearchJobsResponse_MatchingJob `protobuf:"bytes,1,rep,name=matching_jobs,json=matchingJobs,proto3" json:"matching_jobs,omitempty"`
HistogramQueryResults []*HistogramQueryResult `protobuf:"bytes,2,rep,name=histogram_query_results,json=histogramQueryResults,proto3" json:"histogram_query_results,omitempty"`
NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
LocationFilters []*Location `protobuf:"bytes,4,rep,name=location_filters,json=locationFilters,proto3" json:"location_filters,omitempty"`
EstimatedTotalSize int32 `protobuf:"varint,5,opt,name=estimated_total_size,json=estimatedTotalSize,proto3" json:"estimated_total_size,omitempty"`
TotalSize int32 `protobuf:"varint,6,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
Metadata *ResponseMetadata `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata,omitempty"`
BroadenedQueryJobsCount int32 "" /* 135 byte string literal not displayed */
SpellCorrection *SpellingCorrection `protobuf:"bytes,9,opt,name=spell_correction,json=spellCorrection,proto3" json:"spell_correction,omitempty"`
}
Response for SearchJob method.
func (*SearchJobsResponse) Descriptor
func (*SearchJobsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchJobsResponse.ProtoReflect.Descriptor instead.
func (*SearchJobsResponse) GetBroadenedQueryJobsCount
func (x *SearchJobsResponse) GetBroadenedQueryJobsCount() int32
func (*SearchJobsResponse) GetEstimatedTotalSize
func (x *SearchJobsResponse) GetEstimatedTotalSize() int32
func (*SearchJobsResponse) GetHistogramQueryResults
func (x *SearchJobsResponse) GetHistogramQueryResults() []*HistogramQueryResult
func (*SearchJobsResponse) GetLocationFilters
func (x *SearchJobsResponse) GetLocationFilters() []*Location
func (*SearchJobsResponse) GetMatchingJobs
func (x *SearchJobsResponse) GetMatchingJobs() []*SearchJobsResponse_MatchingJob
func (*SearchJobsResponse) GetMetadata
func (x *SearchJobsResponse) GetMetadata() *ResponseMetadata
func (*SearchJobsResponse) GetNextPageToken
func (x *SearchJobsResponse) GetNextPageToken() string
func (*SearchJobsResponse) GetSpellCorrection
func (x *SearchJobsResponse) GetSpellCorrection() *SpellingCorrection
func (*SearchJobsResponse) GetTotalSize
func (x *SearchJobsResponse) GetTotalSize() int32
func (*SearchJobsResponse) ProtoMessage
func (*SearchJobsResponse) ProtoMessage()
func (*SearchJobsResponse) ProtoReflect
func (x *SearchJobsResponse) ProtoReflect() protoreflect.Message
func (*SearchJobsResponse) Reset
func (x *SearchJobsResponse) Reset()
func (*SearchJobsResponse) String
func (x *SearchJobsResponse) String() string
SearchJobsResponse_CommuteInfo
type SearchJobsResponse_CommuteInfo struct {
// Location used as the destination in the commute calculation.
JobLocation *Location `protobuf:"bytes,1,opt,name=job_location,json=jobLocation,proto3" json:"job_location,omitempty"`
// The number of seconds required to travel to the job location from the
// query location. A duration of 0 seconds indicates that the job isn't
// reachable within the requested duration, but was returned as part of an
// expanded query.
TravelDuration *durationpb.Duration `protobuf:"bytes,2,opt,name=travel_duration,json=travelDuration,proto3" json:"travel_duration,omitempty"`
// contains filtered or unexported fields
}
Commute details related to this job.
func (*SearchJobsResponse_CommuteInfo) Descriptor
func (*SearchJobsResponse_CommuteInfo) Descriptor() ([]byte, []int)
Deprecated: Use SearchJobsResponse_CommuteInfo.ProtoReflect.Descriptor instead.
func (*SearchJobsResponse_CommuteInfo) GetJobLocation
func (x *SearchJobsResponse_CommuteInfo) GetJobLocation() *Location
func (*SearchJobsResponse_CommuteInfo) GetTravelDuration
func (x *SearchJobsResponse_CommuteInfo) GetTravelDuration() *durationpb.Duration
func (*SearchJobsResponse_CommuteInfo) ProtoMessage
func (*SearchJobsResponse_CommuteInfo) ProtoMessage()
func (*SearchJobsResponse_CommuteInfo) ProtoReflect
func (x *SearchJobsResponse_CommuteInfo) ProtoReflect() protoreflect.Message
func (*SearchJobsResponse_CommuteInfo) Reset
func (x *SearchJobsResponse_CommuteInfo) Reset()
func (*SearchJobsResponse_CommuteInfo) String
func (x *SearchJobsResponse_CommuteInfo) String() string
SearchJobsResponse_MatchingJob
type SearchJobsResponse_MatchingJob struct {
// Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
// A summary of the job with core information that's displayed on the search
// results listing page.
JobSummary string `protobuf:"bytes,2,opt,name=job_summary,json=jobSummary,proto3" json:"job_summary,omitempty"`
// Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
// closely matching a search query's keywords, if available. The matching
// query keywords are enclosed in HTML bold tags.
JobTitleSnippet string `protobuf:"bytes,3,opt,name=job_title_snippet,json=jobTitleSnippet,proto3" json:"job_title_snippet,omitempty"`
// Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
// fields that most closely match a search query's keywords, if available.
// All HTML tags in the original fields are stripped when returned in this
// field, and matching query keywords are enclosed in HTML bold tags.
SearchTextSnippet string `protobuf:"bytes,4,opt,name=search_text_snippet,json=searchTextSnippet,proto3" json:"search_text_snippet,omitempty"`
// Commute information which is generated based on specified
//
// [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
CommuteInfo *SearchJobsResponse_CommuteInfo `protobuf:"bytes,5,opt,name=commute_info,json=commuteInfo,proto3" json:"commute_info,omitempty"`
// contains filtered or unexported fields
}
Job entry with metadata inside [SearchJobsResponse][google.cloud.talent.v4beta1.SearchJobsResponse].
func (*SearchJobsResponse_MatchingJob) Descriptor
func (*SearchJobsResponse_MatchingJob) Descriptor() ([]byte, []int)
Deprecated: Use SearchJobsResponse_MatchingJob.ProtoReflect.Descriptor instead.
func (*SearchJobsResponse_MatchingJob) GetCommuteInfo
func (x *SearchJobsResponse_MatchingJob) GetCommuteInfo() *SearchJobsResponse_CommuteInfo
func (*SearchJobsResponse_MatchingJob) GetJob
func (x *SearchJobsResponse_MatchingJob) GetJob() *Job
func (*SearchJobsResponse_MatchingJob) GetJobSummary
func (x *SearchJobsResponse_MatchingJob) GetJobSummary() string
func (*SearchJobsResponse_MatchingJob) GetJobTitleSnippet
func (x *SearchJobsResponse_MatchingJob) GetJobTitleSnippet() string
func (*SearchJobsResponse_MatchingJob) GetSearchTextSnippet
func (x *SearchJobsResponse_MatchingJob) GetSearchTextSnippet() string
func (*SearchJobsResponse_MatchingJob) ProtoMessage
func (*SearchJobsResponse_MatchingJob) ProtoMessage()
func (*SearchJobsResponse_MatchingJob) ProtoReflect
func (x *SearchJobsResponse_MatchingJob) ProtoReflect() protoreflect.Message
func (*SearchJobsResponse_MatchingJob) Reset
func (x *SearchJobsResponse_MatchingJob) Reset()
func (*SearchJobsResponse_MatchingJob) String
func (x *SearchJobsResponse_MatchingJob) String() string
SpellingCorrection
type SpellingCorrection struct {
// Indicates if the query was corrected by the spell checker.
Corrected bool `protobuf:"varint,1,opt,name=corrected,proto3" json:"corrected,omitempty"`
// Correction output consisting of the corrected keyword string.
CorrectedText string `protobuf:"bytes,2,opt,name=corrected_text,json=correctedText,proto3" json:"corrected_text,omitempty"`
// Corrected output with html tags to highlight the corrected words.
// Corrected words are called out with the "..." html tags.
//
// For example, the user input query is "software enginear", where the second
// word, "enginear," is incorrect. It should be "engineer". When spelling
// correction is enabled, this value is
// "software engineer".
CorrectedHtml string `protobuf:"bytes,3,opt,name=corrected_html,json=correctedHtml,proto3" json:"corrected_html,omitempty"`
// contains filtered or unexported fields
}
Spell check result.
func (*SpellingCorrection) Descriptor
func (*SpellingCorrection) Descriptor() ([]byte, []int)
Deprecated: Use SpellingCorrection.ProtoReflect.Descriptor instead.
func (*SpellingCorrection) GetCorrected
func (x *SpellingCorrection) GetCorrected() bool
func (*SpellingCorrection) GetCorrectedHtml
func (x *SpellingCorrection) GetCorrectedHtml() string
func (*SpellingCorrection) GetCorrectedText
func (x *SpellingCorrection) GetCorrectedText() string
func (*SpellingCorrection) ProtoMessage
func (*SpellingCorrection) ProtoMessage()
func (*SpellingCorrection) ProtoReflect
func (x *SpellingCorrection) ProtoReflect() protoreflect.Message
func (*SpellingCorrection) Reset
func (x *SpellingCorrection) Reset()
func (*SpellingCorrection) String
func (x *SpellingCorrection) String() string
Tenant
type Tenant struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
ExternalId string `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
UsageType Tenant_DataUsageType "" /* 143 byte string literal not displayed */
KeywordSearchableProfileCustomAttributes []string "" /* 187 byte string literal not displayed */
}
A Tenant resource represents a tenant in the service. A tenant is a group or entity that shares common access with specific privileges for resources like profiles. Customer may create multiple tenants to provide data isolation for different groups.
func (*Tenant) Descriptor
Deprecated: Use Tenant.ProtoReflect.Descriptor instead.
func (*Tenant) GetExternalId
func (*Tenant) GetKeywordSearchableProfileCustomAttributes
func (*Tenant) GetName
func (*Tenant) GetUsageType
func (x *Tenant) GetUsageType() Tenant_DataUsageType
func (*Tenant) ProtoMessage
func (*Tenant) ProtoMessage()
func (*Tenant) ProtoReflect
func (x *Tenant) ProtoReflect() protoreflect.Message
func (*Tenant) Reset
func (x *Tenant) Reset()
func (*Tenant) String
TenantServiceClient
type TenantServiceClient interface {
// Creates a new tenant entity.
CreateTenant(ctx context.Context, in *CreateTenantRequest, opts ...grpc.CallOption) (*Tenant, error)
// Retrieves specified tenant.
GetTenant(ctx context.Context, in *GetTenantRequest, opts ...grpc.CallOption) (*Tenant, error)
// Updates specified tenant.
UpdateTenant(ctx context.Context, in *UpdateTenantRequest, opts ...grpc.CallOption) (*Tenant, error)
// Deletes specified tenant.
DeleteTenant(ctx context.Context, in *DeleteTenantRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Lists all tenants associated with the project.
ListTenants(ctx context.Context, in *ListTenantsRequest, opts ...grpc.CallOption) (*ListTenantsResponse, error)
}
TenantServiceClient is the client API for TenantService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTenantServiceClient
func NewTenantServiceClient(cc grpc.ClientConnInterface) TenantServiceClient
TenantServiceServer
type TenantServiceServer interface {
// Creates a new tenant entity.
CreateTenant(context.Context, *CreateTenantRequest) (*Tenant, error)
// Retrieves specified tenant.
GetTenant(context.Context, *GetTenantRequest) (*Tenant, error)
// Updates specified tenant.
UpdateTenant(context.Context, *UpdateTenantRequest) (*Tenant, error)
// Deletes specified tenant.
DeleteTenant(context.Context, *DeleteTenantRequest) (*emptypb.Empty, error)
// Lists all tenants associated with the project.
ListTenants(context.Context, *ListTenantsRequest) (*ListTenantsResponse, error)
}
TenantServiceServer is the server API for TenantService service.
Tenant_DataUsageType
type Tenant_DataUsageType int32
Enum that represents how user data owned by the tenant is used.
Tenant_DATA_USAGE_TYPE_UNSPECIFIED, Tenant_AGGREGATED, Tenant_ISOLATED
const (
// Default value.
Tenant_DATA_USAGE_TYPE_UNSPECIFIED Tenant_DataUsageType = 0
// Data owned by this tenant is used to improve search/recommendation
// quality across tenants.
Tenant_AGGREGATED Tenant_DataUsageType = 1
// Data owned by this tenant is used to improve search/recommendation
// quality for this tenant only.
Tenant_ISOLATED Tenant_DataUsageType = 2
)
func (Tenant_DataUsageType) Descriptor
func (Tenant_DataUsageType) Descriptor() protoreflect.EnumDescriptor
func (Tenant_DataUsageType) Enum
func (x Tenant_DataUsageType) Enum() *Tenant_DataUsageType
func (Tenant_DataUsageType) EnumDescriptor
func (Tenant_DataUsageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Tenant_DataUsageType.Descriptor instead.
func (Tenant_DataUsageType) Number
func (x Tenant_DataUsageType) Number() protoreflect.EnumNumber
func (Tenant_DataUsageType) String
func (x Tenant_DataUsageType) String() string
func (Tenant_DataUsageType) Type
func (Tenant_DataUsageType) Type() protoreflect.EnumType
TimestampRange
type TimestampRange struct {
// Begin of the period (inclusive).
StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// End of the period (exclusive).
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// contains filtered or unexported fields
}
Message representing a period of time between two timestamps.
func (*TimestampRange) Descriptor
func (*TimestampRange) Descriptor() ([]byte, []int)
Deprecated: Use TimestampRange.ProtoReflect.Descriptor instead.
func (*TimestampRange) GetEndTime
func (x *TimestampRange) GetEndTime() *timestamppb.Timestamp
func (*TimestampRange) GetStartTime
func (x *TimestampRange) GetStartTime() *timestamppb.Timestamp
func (*TimestampRange) ProtoMessage
func (*TimestampRange) ProtoMessage()
func (*TimestampRange) ProtoReflect
func (x *TimestampRange) ProtoReflect() protoreflect.Message
func (*TimestampRange) Reset
func (x *TimestampRange) Reset()
func (*TimestampRange) String
func (x *TimestampRange) String() string
UnimplementedCompanyServiceServer
type UnimplementedCompanyServiceServer struct {
}
UnimplementedCompanyServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedCompanyServiceServer) CreateCompany
func (*UnimplementedCompanyServiceServer) CreateCompany(context.Context, *CreateCompanyRequest) (*Company, error)
func (*UnimplementedCompanyServiceServer) DeleteCompany
func (*UnimplementedCompanyServiceServer) DeleteCompany(context.Context, *DeleteCompanyRequest) (*emptypb.Empty, error)
func (*UnimplementedCompanyServiceServer) GetCompany
func (*UnimplementedCompanyServiceServer) GetCompany(context.Context, *GetCompanyRequest) (*Company, error)
func (*UnimplementedCompanyServiceServer) ListCompanies
func (*UnimplementedCompanyServiceServer) ListCompanies(context.Context, *ListCompaniesRequest) (*ListCompaniesResponse, error)
func (*UnimplementedCompanyServiceServer) UpdateCompany
func (*UnimplementedCompanyServiceServer) UpdateCompany(context.Context, *UpdateCompanyRequest) (*Company, error)
UnimplementedCompletionServer
type UnimplementedCompletionServer struct {
}
UnimplementedCompletionServer can be embedded to have forward compatible implementations.
func (*UnimplementedCompletionServer) CompleteQuery
func (*UnimplementedCompletionServer) CompleteQuery(context.Context, *CompleteQueryRequest) (*CompleteQueryResponse, error)
UnimplementedEventServiceServer
type UnimplementedEventServiceServer struct {
}
UnimplementedEventServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedEventServiceServer) CreateClientEvent
func (*UnimplementedEventServiceServer) CreateClientEvent(context.Context, *CreateClientEventRequest) (*ClientEvent, error)
UnimplementedJobServiceServer
type UnimplementedJobServiceServer struct {
}
UnimplementedJobServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedJobServiceServer) BatchCreateJobs
func (*UnimplementedJobServiceServer) BatchCreateJobs(context.Context, *BatchCreateJobsRequest) (*longrunning.Operation, error)
func (*UnimplementedJobServiceServer) BatchDeleteJobs
func (*UnimplementedJobServiceServer) BatchDeleteJobs(context.Context, *BatchDeleteJobsRequest) (*emptypb.Empty, error)
func (*UnimplementedJobServiceServer) BatchUpdateJobs
func (*UnimplementedJobServiceServer) BatchUpdateJobs(context.Context, *BatchUpdateJobsRequest) (*longrunning.Operation, error)
func (*UnimplementedJobServiceServer) CreateJob
func (*UnimplementedJobServiceServer) CreateJob(context.Context, *CreateJobRequest) (*Job, error)
func (*UnimplementedJobServiceServer) DeleteJob
func (*UnimplementedJobServiceServer) DeleteJob(context.Context, *DeleteJobRequest) (*emptypb.Empty, error)
func (*UnimplementedJobServiceServer) GetJob
func (*UnimplementedJobServiceServer) GetJob(context.Context, *GetJobRequest) (*Job, error)
func (*UnimplementedJobServiceServer) ListJobs
func (*UnimplementedJobServiceServer) ListJobs(context.Context, *ListJobsRequest) (*ListJobsResponse, error)
func (*UnimplementedJobServiceServer) SearchJobs
func (*UnimplementedJobServiceServer) SearchJobs(context.Context, *SearchJobsRequest) (*SearchJobsResponse, error)
func (*UnimplementedJobServiceServer) SearchJobsForAlert
func (*UnimplementedJobServiceServer) SearchJobsForAlert(context.Context, *SearchJobsRequest) (*SearchJobsResponse, error)
func (*UnimplementedJobServiceServer) UpdateJob
func (*UnimplementedJobServiceServer) UpdateJob(context.Context, *UpdateJobRequest) (*Job, error)
UnimplementedTenantServiceServer
type UnimplementedTenantServiceServer struct {
}
UnimplementedTenantServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedTenantServiceServer) CreateTenant
func (*UnimplementedTenantServiceServer) CreateTenant(context.Context, *CreateTenantRequest) (*Tenant, error)
func (*UnimplementedTenantServiceServer) DeleteTenant
func (*UnimplementedTenantServiceServer) DeleteTenant(context.Context, *DeleteTenantRequest) (*emptypb.Empty, error)
func (*UnimplementedTenantServiceServer) GetTenant
func (*UnimplementedTenantServiceServer) GetTenant(context.Context, *GetTenantRequest) (*Tenant, error)
func (*UnimplementedTenantServiceServer) ListTenants
func (*UnimplementedTenantServiceServer) ListTenants(context.Context, *ListTenantsRequest) (*ListTenantsResponse, error)
func (*UnimplementedTenantServiceServer) UpdateTenant
func (*UnimplementedTenantServiceServer) UpdateTenant(context.Context, *UpdateTenantRequest) (*Tenant, error)
UpdateCompanyRequest
type UpdateCompanyRequest struct {
// Required. The company resource to replace the current resource in the system.
Company *Company `protobuf:"bytes,1,opt,name=company,proto3" json:"company,omitempty"`
// Strongly recommended for the best service experience.
//
// If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
// [company][google.cloud.talent.v4beta1.UpdateCompanyRequest.company] are updated. Otherwise all the fields are updated.
//
// A field mask to specify the company fields to be updated. Only
// top level fields of [Company][google.cloud.talent.v4beta1.Company] are supported.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request for updating a specified company.
func (*UpdateCompanyRequest) Descriptor
func (*UpdateCompanyRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCompanyRequest.ProtoReflect.Descriptor instead.
func (*UpdateCompanyRequest) GetCompany
func (x *UpdateCompanyRequest) GetCompany() *Company
func (*UpdateCompanyRequest) GetUpdateMask
func (x *UpdateCompanyRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateCompanyRequest) ProtoMessage
func (*UpdateCompanyRequest) ProtoMessage()
func (*UpdateCompanyRequest) ProtoReflect
func (x *UpdateCompanyRequest) ProtoReflect() protoreflect.Message
func (*UpdateCompanyRequest) Reset
func (x *UpdateCompanyRequest) Reset()
func (*UpdateCompanyRequest) String
func (x *UpdateCompanyRequest) String() string
UpdateJobRequest
type UpdateJobRequest struct {
// Required. The Job to be updated.
Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
// Strongly recommended for the best service experience.
//
// If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
// [job][google.cloud.talent.v4beta1.UpdateJobRequest.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.v4beta1.Job] are supported.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Update job request.
func (*UpdateJobRequest) Descriptor
func (*UpdateJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateJobRequest.ProtoReflect.Descriptor instead.
func (*UpdateJobRequest) GetJob
func (x *UpdateJobRequest) GetJob() *Job
func (*UpdateJobRequest) GetUpdateMask
func (x *UpdateJobRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateJobRequest) ProtoMessage
func (*UpdateJobRequest) ProtoMessage()
func (*UpdateJobRequest) ProtoReflect
func (x *UpdateJobRequest) ProtoReflect() protoreflect.Message
func (*UpdateJobRequest) Reset
func (x *UpdateJobRequest) Reset()
func (*UpdateJobRequest) String
func (x *UpdateJobRequest) String() string
UpdateTenantRequest
type UpdateTenantRequest struct {
// Required. The tenant resource to replace the current resource in the system.
Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// Strongly recommended for the best service experience.
//
// If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
// [tenant][google.cloud.talent.v4beta1.UpdateTenantRequest.tenant] are updated. Otherwise all the fields are updated.
//
// A field mask to specify the tenant fields to be updated. Only
// top level fields of [Tenant][google.cloud.talent.v4beta1.Tenant] are supported.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request for updating a specified tenant.
func (*UpdateTenantRequest) Descriptor
func (*UpdateTenantRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTenantRequest.ProtoReflect.Descriptor instead.
func (*UpdateTenantRequest) GetTenant
func (x *UpdateTenantRequest) GetTenant() *Tenant
func (*UpdateTenantRequest) GetUpdateMask
func (x *UpdateTenantRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateTenantRequest) ProtoMessage
func (*UpdateTenantRequest) ProtoMessage()
func (*UpdateTenantRequest) ProtoReflect
func (x *UpdateTenantRequest) ProtoReflect() protoreflect.Message
func (*UpdateTenantRequest) Reset
func (x *UpdateTenantRequest) Reset()
func (*UpdateTenantRequest) String
func (x *UpdateTenantRequest) String() string
Visibility (deprecated)
type Visibility int32
Deprecated. All resources are only visible to the owner.
An enum that represents who has view access to the resource.
Deprecated: Do not use.
Visibility_VISIBILITY_UNSPECIFIED, Visibility_ACCOUNT_ONLY, Visibility_SHARED_WITH_GOOGLE, Visibility_SHARED_WITH_PUBLIC (deprecated)
const (
// Default value.
Visibility_VISIBILITY_UNSPECIFIED Visibility = 0
// The resource is only visible to the GCP account who owns it.
Visibility_ACCOUNT_ONLY Visibility = 1
// The resource is visible to the owner and may be visible to other
// applications and processes at Google.
Visibility_SHARED_WITH_GOOGLE Visibility = 2
// The resource is visible to the owner and may be visible to all other API
// clients.
Visibility_SHARED_WITH_PUBLIC Visibility = 3
)
func (Visibility) Descriptor (deprecated)
func (Visibility) Descriptor() protoreflect.EnumDescriptor
func (Visibility) Enum (deprecated)
func (x Visibility) Enum() *Visibility
func (Visibility) EnumDescriptor (deprecated)
func (Visibility) EnumDescriptor() ([]byte, []int)
Deprecated: Use Visibility.Descriptor instead.
func (Visibility) Number (deprecated)
func (x Visibility) Number() protoreflect.EnumNumber
func (Visibility) String (deprecated)
func (x Visibility) String() string
func (Visibility) Type (deprecated)
func (Visibility) Type() protoreflect.EnumType