Variables
CompanySize_name, CompanySize_value
var (
CompanySize_name = map[int32]string{
0: "COMPANY_SIZE_UNSPECIFIED",
1: "MINI",
2: "SMALL",
3: "SMEDIUM",
4: "MEDIUM",
5: "BIG",
6: "BIGGER",
7: "GIANT",
}
CompanySize_value = map[string]int32{
"COMPANY_SIZE_UNSPECIFIED": 0,
"MINI": 1,
"SMALL": 2,
"SMEDIUM": 3,
"MEDIUM": 4,
"BIG": 5,
"BIGGER": 6,
"GIANT": 7,
}
)
Enum value maps for CompanySize.
JobBenefit_name, JobBenefit_value
var (
JobBenefit_name = map[int32]string{
0: "JOB_BENEFIT_UNSPECIFIED",
1: "CHILD_CARE",
2: "DENTAL",
3: "DOMESTIC_PARTNER",
4: "FLEXIBLE_HOURS",
5: "MEDICAL",
6: "LIFE_INSURANCE",
7: "PARENTAL_LEAVE",
8: "RETIREMENT_PLAN",
9: "SICK_DAYS",
10: "VACATION",
11: "VISION",
}
JobBenefit_value = map[string]int32{
"JOB_BENEFIT_UNSPECIFIED": 0,
"CHILD_CARE": 1,
"DENTAL": 2,
"DOMESTIC_PARTNER": 3,
"FLEXIBLE_HOURS": 4,
"MEDICAL": 5,
"LIFE_INSURANCE": 6,
"PARENTAL_LEAVE": 7,
"RETIREMENT_PLAN": 8,
"SICK_DAYS": 9,
"VACATION": 10,
"VISION": 11,
}
)
Enum value maps for JobBenefit.
DegreeType_name, DegreeType_value
var (
DegreeType_name = map[int32]string{
0: "DEGREE_TYPE_UNSPECIFIED",
1: "PRIMARY_EDUCATION",
2: "LOWER_SECONDARY_EDUCATION",
3: "UPPER_SECONDARY_EDUCATION",
4: "ADULT_REMEDIAL_EDUCATION",
5: "ASSOCIATES_OR_EQUIVALENT",
6: "BACHELORS_OR_EQUIVALENT",
7: "MASTERS_OR_EQUIVALENT",
8: "DOCTORAL_OR_EQUIVALENT",
}
DegreeType_value = map[string]int32{
"DEGREE_TYPE_UNSPECIFIED": 0,
"PRIMARY_EDUCATION": 1,
"LOWER_SECONDARY_EDUCATION": 2,
"UPPER_SECONDARY_EDUCATION": 3,
"ADULT_REMEDIAL_EDUCATION": 4,
"ASSOCIATES_OR_EQUIVALENT": 5,
"BACHELORS_OR_EQUIVALENT": 6,
"MASTERS_OR_EQUIVALENT": 7,
"DOCTORAL_OR_EQUIVALENT": 8,
}
)
Enum value maps for DegreeType.
EmploymentType_name, EmploymentType_value
var (
EmploymentType_name = map[int32]string{
0: "EMPLOYMENT_TYPE_UNSPECIFIED",
1: "FULL_TIME",
2: "PART_TIME",
3: "CONTRACTOR",
4: "CONTRACT_TO_HIRE",
5: "TEMPORARY",
6: "INTERN",
7: "VOLUNTEER",
8: "PER_DIEM",
9: "FLY_IN_FLY_OUT",
10: "OTHER_EMPLOYMENT_TYPE",
}
EmploymentType_value = map[string]int32{
"EMPLOYMENT_TYPE_UNSPECIFIED": 0,
"FULL_TIME": 1,
"PART_TIME": 2,
"CONTRACTOR": 3,
"CONTRACT_TO_HIRE": 4,
"TEMPORARY": 5,
"INTERN": 6,
"VOLUNTEER": 7,
"PER_DIEM": 8,
"FLY_IN_FLY_OUT": 9,
"OTHER_EMPLOYMENT_TYPE": 10,
}
)
Enum value maps for EmploymentType.
JobLevel_name, JobLevel_value
var (
JobLevel_name = map[int32]string{
0: "JOB_LEVEL_UNSPECIFIED",
1: "ENTRY_LEVEL",
2: "EXPERIENCED",
3: "MANAGER",
4: "DIRECTOR",
5: "EXECUTIVE",
}
JobLevel_value = map[string]int32{
"JOB_LEVEL_UNSPECIFIED": 0,
"ENTRY_LEVEL": 1,
"EXPERIENCED": 2,
"MANAGER": 3,
"DIRECTOR": 4,
"EXECUTIVE": 5,
}
)
Enum value maps for JobLevel.
JobCategory_name, JobCategory_value
var (
JobCategory_name = map[int32]string{
0: "JOB_CATEGORY_UNSPECIFIED",
1: "ACCOUNTING_AND_FINANCE",
2: "ADMINISTRATIVE_AND_OFFICE",
3: "ADVERTISING_AND_MARKETING",
4: "ANIMAL_CARE",
5: "ART_FASHION_AND_DESIGN",
6: "BUSINESS_OPERATIONS",
7: "CLEANING_AND_FACILITIES",
8: "COMPUTER_AND_IT",
9: "CONSTRUCTION",
10: "CUSTOMER_SERVICE",
11: "EDUCATION",
12: "ENTERTAINMENT_AND_TRAVEL",
13: "FARMING_AND_OUTDOORS",
14: "HEALTHCARE",
15: "HUMAN_RESOURCES",
16: "INSTALLATION_MAINTENANCE_AND_REPAIR",
17: "LEGAL",
18: "MANAGEMENT",
19: "MANUFACTURING_AND_WAREHOUSE",
20: "MEDIA_COMMUNICATIONS_AND_WRITING",
21: "OIL_GAS_AND_MINING",
22: "PERSONAL_CARE_AND_SERVICES",
23: "PROTECTIVE_SERVICES",
24: "REAL_ESTATE",
25: "RESTAURANT_AND_HOSPITALITY",
26: "SALES_AND_RETAIL",
27: "SCIENCE_AND_ENGINEERING",
28: "SOCIAL_SERVICES_AND_NON_PROFIT",
29: "SPORTS_FITNESS_AND_RECREATION",
30: "TRANSPORTATION_AND_LOGISTICS",
}
JobCategory_value = map[string]int32{
"JOB_CATEGORY_UNSPECIFIED": 0,
"ACCOUNTING_AND_FINANCE": 1,
"ADMINISTRATIVE_AND_OFFICE": 2,
"ADVERTISING_AND_MARKETING": 3,
"ANIMAL_CARE": 4,
"ART_FASHION_AND_DESIGN": 5,
"BUSINESS_OPERATIONS": 6,
"CLEANING_AND_FACILITIES": 7,
"COMPUTER_AND_IT": 8,
"CONSTRUCTION": 9,
"CUSTOMER_SERVICE": 10,
"EDUCATION": 11,
"ENTERTAINMENT_AND_TRAVEL": 12,
"FARMING_AND_OUTDOORS": 13,
"HEALTHCARE": 14,
"HUMAN_RESOURCES": 15,
"INSTALLATION_MAINTENANCE_AND_REPAIR": 16,
"LEGAL": 17,
"MANAGEMENT": 18,
"MANUFACTURING_AND_WAREHOUSE": 19,
"MEDIA_COMMUNICATIONS_AND_WRITING": 20,
"OIL_GAS_AND_MINING": 21,
"PERSONAL_CARE_AND_SERVICES": 22,
"PROTECTIVE_SERVICES": 23,
"REAL_ESTATE": 24,
"RESTAURANT_AND_HOSPITALITY": 25,
"SALES_AND_RETAIL": 26,
"SCIENCE_AND_ENGINEERING": 27,
"SOCIAL_SERVICES_AND_NON_PROFIT": 28,
"SPORTS_FITNESS_AND_RECREATION": 29,
"TRANSPORTATION_AND_LOGISTICS": 30,
}
)
Enum value maps for JobCategory.
PostingRegion_name, PostingRegion_value
var (
PostingRegion_name = map[int32]string{
0: "POSTING_REGION_UNSPECIFIED",
1: "ADMINISTRATIVE_AREA",
2: "NATION",
3: "TELECOMMUTE",
}
PostingRegion_value = map[string]int32{
"POSTING_REGION_UNSPECIFIED": 0,
"ADMINISTRATIVE_AREA": 1,
"NATION": 2,
"TELECOMMUTE": 3,
}
)
Enum value maps for PostingRegion.
Visibility_name, Visibility_value
var (
Visibility_name = map[int32]string{
0: "VISIBILITY_UNSPECIFIED",
1: "ACCOUNT_ONLY",
2: "SHARED_WITH_GOOGLE",
3: "SHARED_WITH_PUBLIC",
}
Visibility_value = map[string]int32{
"VISIBILITY_UNSPECIFIED": 0,
"ACCOUNT_ONLY": 1,
"SHARED_WITH_GOOGLE": 2,
"SHARED_WITH_PUBLIC": 3,
}
)
Enum value maps for Visibility.
HtmlSanitization_name, HtmlSanitization_value
var (
HtmlSanitization_name = map[int32]string{
0: "HTML_SANITIZATION_UNSPECIFIED",
1: "HTML_SANITIZATION_DISABLED",
2: "SIMPLE_FORMATTING_ONLY",
}
HtmlSanitization_value = map[string]int32{
"HTML_SANITIZATION_UNSPECIFIED": 0,
"HTML_SANITIZATION_DISABLED": 1,
"SIMPLE_FORMATTING_ONLY": 2,
}
)
Enum value maps for HtmlSanitization.
CommuteMethod_name, CommuteMethod_value
var (
CommuteMethod_name = map[int32]string{
0: "COMMUTE_METHOD_UNSPECIFIED",
1: "DRIVING",
2: "TRANSIT",
3: "WALKING",
4: "CYCLING",
5: "TRANSIT_ACCESSIBLE",
}
CommuteMethod_value = map[string]int32{
"COMMUTE_METHOD_UNSPECIFIED": 0,
"DRIVING": 1,
"TRANSIT": 2,
"WALKING": 3,
"CYCLING": 4,
"TRANSIT_ACCESSIBLE": 5,
}
)
Enum value maps for CommuteMethod.
Location_LocationType_name, Location_LocationType_value
var (
Location_LocationType_name = map[int32]string{
0: "LOCATION_TYPE_UNSPECIFIED",
1: "COUNTRY",
2: "ADMINISTRATIVE_AREA",
3: "SUB_ADMINISTRATIVE_AREA",
4: "LOCALITY",
5: "POSTAL_CODE",
6: "SUB_LOCALITY",
7: "SUB_LOCALITY_1",
8: "SUB_LOCALITY_2",
9: "NEIGHBORHOOD",
10: "STREET_ADDRESS",
}
Location_LocationType_value = map[string]int32{
"LOCATION_TYPE_UNSPECIFIED": 0,
"COUNTRY": 1,
"ADMINISTRATIVE_AREA": 2,
"SUB_ADMINISTRATIVE_AREA": 3,
"LOCALITY": 4,
"POSTAL_CODE": 5,
"SUB_LOCALITY": 6,
"SUB_LOCALITY_1": 7,
"SUB_LOCALITY_2": 8,
"NEIGHBORHOOD": 9,
"STREET_ADDRESS": 10,
}
)
Enum value maps for Location_LocationType.
DeviceInfo_DeviceType_name, DeviceInfo_DeviceType_value
var (
DeviceInfo_DeviceType_name = map[int32]string{
0: "DEVICE_TYPE_UNSPECIFIED",
1: "WEB",
2: "MOBILE_WEB",
3: "ANDROID",
4: "IOS",
5: "BOT",
6: "OTHER",
}
DeviceInfo_DeviceType_value = map[string]int32{
"DEVICE_TYPE_UNSPECIFIED": 0,
"WEB": 1,
"MOBILE_WEB": 2,
"ANDROID": 3,
"IOS": 4,
"BOT": 5,
"OTHER": 6,
}
)
Enum value maps for DeviceInfo_DeviceType.
CompensationInfo_CompensationType_name, CompensationInfo_CompensationType_value
var (
CompensationInfo_CompensationType_name = map[int32]string{
0: "COMPENSATION_TYPE_UNSPECIFIED",
1: "BASE",
2: "BONUS",
3: "SIGNING_BONUS",
4: "EQUITY",
5: "PROFIT_SHARING",
6: "COMMISSIONS",
7: "TIPS",
8: "OTHER_COMPENSATION_TYPE",
}
CompensationInfo_CompensationType_value = map[string]int32{
"COMPENSATION_TYPE_UNSPECIFIED": 0,
"BASE": 1,
"BONUS": 2,
"SIGNING_BONUS": 3,
"EQUITY": 4,
"PROFIT_SHARING": 5,
"COMMISSIONS": 6,
"TIPS": 7,
"OTHER_COMPENSATION_TYPE": 8,
}
)
Enum value maps for CompensationInfo_CompensationType.
CompensationInfo_CompensationUnit_name, CompensationInfo_CompensationUnit_value
var (
CompensationInfo_CompensationUnit_name = map[int32]string{
0: "COMPENSATION_UNIT_UNSPECIFIED",
1: "HOURLY",
2: "DAILY",
3: "WEEKLY",
4: "MONTHLY",
5: "YEARLY",
6: "ONE_TIME",
7: "OTHER_COMPENSATION_UNIT",
}
CompensationInfo_CompensationUnit_value = map[string]int32{
"COMPENSATION_UNIT_UNSPECIFIED": 0,
"HOURLY": 1,
"DAILY": 2,
"WEEKLY": 3,
"MONTHLY": 4,
"YEARLY": 5,
"ONE_TIME": 6,
"OTHER_COMPENSATION_UNIT": 7,
}
)
Enum value maps for CompensationInfo_CompensationUnit.
BatchOperationMetadata_State_name, BatchOperationMetadata_State_value
var (
BatchOperationMetadata_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "INITIALIZING",
2: "PROCESSING",
3: "SUCCEEDED",
4: "FAILED",
5: "CANCELLING",
6: "CANCELLED",
}
BatchOperationMetadata_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"INITIALIZING": 1,
"PROCESSING": 2,
"SUCCEEDED": 3,
"FAILED": 4,
"CANCELLING": 5,
"CANCELLED": 6,
}
)
Enum value maps for BatchOperationMetadata_State.
CompleteQueryRequest_CompletionScope_name, CompleteQueryRequest_CompletionScope_value
var (
CompleteQueryRequest_CompletionScope_name = map[int32]string{
0: "COMPLETION_SCOPE_UNSPECIFIED",
1: "TENANT",
2: "PUBLIC",
}
CompleteQueryRequest_CompletionScope_value = map[string]int32{
"COMPLETION_SCOPE_UNSPECIFIED": 0,
"TENANT": 1,
"PUBLIC": 2,
}
)
Enum value maps for CompleteQueryRequest_CompletionScope.
CompleteQueryRequest_CompletionType_name, CompleteQueryRequest_CompletionType_value
var (
CompleteQueryRequest_CompletionType_name = map[int32]string{
0: "COMPLETION_TYPE_UNSPECIFIED",
1: "JOB_TITLE",
2: "COMPANY_NAME",
3: "COMBINED",
}
CompleteQueryRequest_CompletionType_value = map[string]int32{
"COMPLETION_TYPE_UNSPECIFIED": 0,
"JOB_TITLE": 1,
"COMPANY_NAME": 2,
"COMBINED": 3,
}
)
Enum value maps for CompleteQueryRequest_CompletionType.
JobEvent_JobEventType_name, JobEvent_JobEventType_value
var (
JobEvent_JobEventType_name = map[int32]string{
0: "JOB_EVENT_TYPE_UNSPECIFIED",
1: "IMPRESSION",
2: "VIEW",
3: "VIEW_REDIRECT",
4: "APPLICATION_START",
5: "APPLICATION_FINISH",
6: "APPLICATION_QUICK_SUBMISSION",
7: "APPLICATION_REDIRECT",
8: "APPLICATION_START_FROM_SEARCH",
9: "APPLICATION_REDIRECT_FROM_SEARCH",
10: "APPLICATION_COMPANY_SUBMIT",
11: "BOOKMARK",
12: "NOTIFICATION",
13: "HIRED",
14: "SENT_CV",
15: "INTERVIEW_GRANTED",
}
JobEvent_JobEventType_value = map[string]int32{
"JOB_EVENT_TYPE_UNSPECIFIED": 0,
"IMPRESSION": 1,
"VIEW": 2,
"VIEW_REDIRECT": 3,
"APPLICATION_START": 4,
"APPLICATION_FINISH": 5,
"APPLICATION_QUICK_SUBMISSION": 6,
"APPLICATION_REDIRECT": 7,
"APPLICATION_START_FROM_SEARCH": 8,
"APPLICATION_REDIRECT_FROM_SEARCH": 9,
"APPLICATION_COMPANY_SUBMIT": 10,
"BOOKMARK": 11,
"NOTIFICATION": 12,
"HIRED": 13,
"SENT_CV": 14,
"INTERVIEW_GRANTED": 15,
}
)
Enum value maps for JobEvent_JobEventType.
LocationFilter_TelecommutePreference_name, LocationFilter_TelecommutePreference_value
var (
LocationFilter_TelecommutePreference_name = map[int32]string{
0: "TELECOMMUTE_PREFERENCE_UNSPECIFIED",
1: "TELECOMMUTE_EXCLUDED",
2: "TELECOMMUTE_ALLOWED",
3: "TELECOMMUTE_JOBS_EXCLUDED",
}
LocationFilter_TelecommutePreference_value = map[string]int32{
"TELECOMMUTE_PREFERENCE_UNSPECIFIED": 0,
"TELECOMMUTE_EXCLUDED": 1,
"TELECOMMUTE_ALLOWED": 2,
"TELECOMMUTE_JOBS_EXCLUDED": 3,
}
)
Enum value maps for LocationFilter_TelecommutePreference.
CompensationFilter_FilterType_name, CompensationFilter_FilterType_value
var (
CompensationFilter_FilterType_name = map[int32]string{
0: "FILTER_TYPE_UNSPECIFIED",
1: "UNIT_ONLY",
2: "UNIT_AND_AMOUNT",
3: "ANNUALIZED_BASE_AMOUNT",
4: "ANNUALIZED_TOTAL_AMOUNT",
}
CompensationFilter_FilterType_value = map[string]int32{
"FILTER_TYPE_UNSPECIFIED": 0,
"UNIT_ONLY": 1,
"UNIT_AND_AMOUNT": 2,
"ANNUALIZED_BASE_AMOUNT": 3,
"ANNUALIZED_TOTAL_AMOUNT": 4,
}
)
Enum value maps for CompensationFilter_FilterType.
CommuteFilter_RoadTraffic_name, CommuteFilter_RoadTraffic_value
var (
CommuteFilter_RoadTraffic_name = map[int32]string{
0: "ROAD_TRAFFIC_UNSPECIFIED",
1: "TRAFFIC_FREE",
2: "BUSY_HOUR",
}
CommuteFilter_RoadTraffic_value = map[string]int32{
"ROAD_TRAFFIC_UNSPECIFIED": 0,
"TRAFFIC_FREE": 1,
"BUSY_HOUR": 2,
}
)
Enum value maps for CommuteFilter_RoadTraffic.
JobView_name, JobView_value
var (
JobView_name = map[int32]string{
0: "JOB_VIEW_UNSPECIFIED",
1: "JOB_VIEW_ID_ONLY",
2: "JOB_VIEW_MINIMAL",
3: "JOB_VIEW_SMALL",
4: "JOB_VIEW_FULL",
}
JobView_value = map[string]int32{
"JOB_VIEW_UNSPECIFIED": 0,
"JOB_VIEW_ID_ONLY": 1,
"JOB_VIEW_MINIMAL": 2,
"JOB_VIEW_SMALL": 3,
"JOB_VIEW_FULL": 4,
}
)
Enum value maps for JobView.
SearchJobsRequest_SearchMode_name, SearchJobsRequest_SearchMode_value
var (
SearchJobsRequest_SearchMode_name = map[int32]string{
0: "SEARCH_MODE_UNSPECIFIED",
1: "JOB_SEARCH",
2: "FEATURED_JOB_SEARCH",
}
SearchJobsRequest_SearchMode_value = map[string]int32{
"SEARCH_MODE_UNSPECIFIED": 0,
"JOB_SEARCH": 1,
"FEATURED_JOB_SEARCH": 2,
}
)
Enum value maps for SearchJobsRequest_SearchMode.
SearchJobsRequest_DiversificationLevel_name, SearchJobsRequest_DiversificationLevel_value
var (
SearchJobsRequest_DiversificationLevel_name = map[int32]string{
0: "DIVERSIFICATION_LEVEL_UNSPECIFIED",
1: "DISABLED",
2: "SIMPLE",
3: "ONE_PER_COMPANY",
4: "TWO_PER_COMPANY",
6: "MAX_THREE_PER_COMPANY",
5: "DIVERSIFY_BY_LOOSER_SIMILARITY",
}
SearchJobsRequest_DiversificationLevel_value = map[string]int32{
"DIVERSIFICATION_LEVEL_UNSPECIFIED": 0,
"DISABLED": 1,
"SIMPLE": 2,
"ONE_PER_COMPANY": 3,
"TWO_PER_COMPANY": 4,
"MAX_THREE_PER_COMPANY": 6,
"DIVERSIFY_BY_LOOSER_SIMILARITY": 5,
}
)
Enum value maps for SearchJobsRequest_DiversificationLevel.
SearchJobsRequest_KeywordMatchMode_name, SearchJobsRequest_KeywordMatchMode_value
var (
SearchJobsRequest_KeywordMatchMode_name = map[int32]string{
0: "KEYWORD_MATCH_MODE_UNSPECIFIED",
1: "KEYWORD_MATCH_DISABLED",
2: "KEYWORD_MATCH_ALL",
3: "KEYWORD_MATCH_TITLE_ONLY",
}
SearchJobsRequest_KeywordMatchMode_value = map[string]int32{
"KEYWORD_MATCH_MODE_UNSPECIFIED": 0,
"KEYWORD_MATCH_DISABLED": 1,
"KEYWORD_MATCH_ALL": 2,
"KEYWORD_MATCH_TITLE_ONLY": 3,
}
)
Enum value maps for SearchJobsRequest_KeywordMatchMode.
SearchJobsRequest_RelevanceThreshold_name, SearchJobsRequest_RelevanceThreshold_value
var (
SearchJobsRequest_RelevanceThreshold_name = map[int32]string{
0: "RELEVANCE_THRESHOLD_UNSPECIFIED",
1: "LOWEST",
2: "LOW",
3: "MEDIUM",
4: "HIGH",
}
SearchJobsRequest_RelevanceThreshold_value = map[string]int32{
"RELEVANCE_THRESHOLD_UNSPECIFIED": 0,
"LOWEST": 1,
"LOW": 2,
"MEDIUM": 3,
"HIGH": 4,
}
)
Enum value maps for SearchJobsRequest_RelevanceThreshold.
SearchJobsRequest_CustomRankingInfo_ImportanceLevel_name, SearchJobsRequest_CustomRankingInfo_ImportanceLevel_value
var (
SearchJobsRequest_CustomRankingInfo_ImportanceLevel_name = map[int32]string{
0: "IMPORTANCE_LEVEL_UNSPECIFIED",
1: "NONE",
2: "LOW",
3: "MILD",
4: "MEDIUM",
5: "HIGH",
6: "EXTREME",
}
SearchJobsRequest_CustomRankingInfo_ImportanceLevel_value = map[string]int32{
"IMPORTANCE_LEVEL_UNSPECIFIED": 0,
"NONE": 1,
"LOW": 2,
"MILD": 3,
"MEDIUM": 4,
"HIGH": 5,
"EXTREME": 6,
}
)
Enum value maps for SearchJobsRequest_CustomRankingInfo_ImportanceLevel.
File_google_cloud_talent_v4_common_proto
var File_google_cloud_talent_v4_common_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4_company_proto
var File_google_cloud_talent_v4_company_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4_company_service_proto
var File_google_cloud_talent_v4_company_service_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4_completion_service_proto
var File_google_cloud_talent_v4_completion_service_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4_event_proto
var File_google_cloud_talent_v4_event_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4_event_service_proto
var File_google_cloud_talent_v4_event_service_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4_filters_proto
var File_google_cloud_talent_v4_filters_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4_histogram_proto
var File_google_cloud_talent_v4_histogram_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4_job_proto
var File_google_cloud_talent_v4_job_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4_job_service_proto
var File_google_cloud_talent_v4_job_service_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4_tenant_proto
var File_google_cloud_talent_v4_tenant_proto protoreflect.FileDescriptor
File_google_cloud_talent_v4_tenant_service_proto
var File_google_cloud_talent_v4_tenant_service_proto protoreflect.FileDescriptor
Functions
func RegisterCompanyServiceServer
func RegisterCompanyServiceServer(s *grpc.Server, srv CompanyServiceServer)
func RegisterCompletionServer
func RegisterCompletionServer(s *grpc.Server, srv CompletionServer)
func RegisterEventServiceServer
func RegisterEventServiceServer(s *grpc.Server, srv EventServiceServer)
func RegisterJobServiceServer
func RegisterJobServiceServer(s *grpc.Server, srv JobServiceServer)
func RegisterTenantServiceServer
func RegisterTenantServiceServer(s *grpc.Server, srv TenantServiceServer)
BatchCreateJobsRequest
type BatchCreateJobsRequest struct {
// Required. The resource name of the tenant under which the job is created.
//
// The format is "projects/{project_id}/tenants/{tenant_id}". For example,
// "projects/foo/tenants/bar".
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The jobs to be created.
// A maximum of 200 jobs can be created in a batch.
Jobs []*Job `protobuf:"bytes,2,rep,name=jobs,proto3" json:"jobs,omitempty"`
// contains filtered or unexported fields
}
Request to create a batch of jobs.
func (*BatchCreateJobsRequest) Descriptor
func (*BatchCreateJobsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateJobsRequest.ProtoReflect.Descriptor instead.
func (*BatchCreateJobsRequest) GetJobs
func (x *BatchCreateJobsRequest) GetJobs() []*Job
func (*BatchCreateJobsRequest) GetParent
func (x *BatchCreateJobsRequest) GetParent() string
func (*BatchCreateJobsRequest) ProtoMessage
func (*BatchCreateJobsRequest) ProtoMessage()
func (*BatchCreateJobsRequest) ProtoReflect
func (x *BatchCreateJobsRequest) ProtoReflect() protoreflect.Message
func (*BatchCreateJobsRequest) Reset
func (x *BatchCreateJobsRequest) Reset()
func (*BatchCreateJobsRequest) String
func (x *BatchCreateJobsRequest) String() string
BatchCreateJobsResponse
type BatchCreateJobsResponse struct {
// List of job mutation results from a batch create operation. It can change
// until operation status is FINISHED, FAILED or CANCELLED.
JobResults []*JobResult `protobuf:"bytes,1,rep,name=job_results,json=jobResults,proto3" json:"job_results,omitempty"`
// contains filtered or unexported fields
}
The result of [JobService.BatchCreateJobs][google.cloud.talent.v4.JobService.BatchCreateJobs]. It's used to replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
func (*BatchCreateJobsResponse) Descriptor
func (*BatchCreateJobsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateJobsResponse.ProtoReflect.Descriptor instead.
func (*BatchCreateJobsResponse) GetJobResults
func (x *BatchCreateJobsResponse) GetJobResults() []*JobResult
func (*BatchCreateJobsResponse) ProtoMessage
func (*BatchCreateJobsResponse) ProtoMessage()
func (*BatchCreateJobsResponse) ProtoReflect
func (x *BatchCreateJobsResponse) ProtoReflect() protoreflect.Message
func (*BatchCreateJobsResponse) Reset
func (x *BatchCreateJobsResponse) Reset()
func (*BatchCreateJobsResponse) String
func (x *BatchCreateJobsResponse) String() string
BatchDeleteJobsRequest
type BatchDeleteJobsRequest struct {
// Required. The resource name of the tenant under which the job is created.
//
// The format is "projects/{project_id}/tenants/{tenant_id}". For example,
// "projects/foo/tenants/bar".
//
// The parent of all of the jobs specified in `names` must match this field.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The names of the jobs to delete.
//
// The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
// For example, "projects/foo/tenants/bar/jobs/baz".
//
// A maximum of 200 jobs can be deleted in a batch.
Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
// contains filtered or unexported fields
}
Request to delete a batch of jobs.
func (*BatchDeleteJobsRequest) Descriptor
func (*BatchDeleteJobsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchDeleteJobsRequest.ProtoReflect.Descriptor instead.
func (*BatchDeleteJobsRequest) GetNames
func (x *BatchDeleteJobsRequest) GetNames() []string
func (*BatchDeleteJobsRequest) GetParent
func (x *BatchDeleteJobsRequest) GetParent() string
func (*BatchDeleteJobsRequest) ProtoMessage
func (*BatchDeleteJobsRequest) ProtoMessage()
func (*BatchDeleteJobsRequest) ProtoReflect
func (x *BatchDeleteJobsRequest) ProtoReflect() protoreflect.Message
func (*BatchDeleteJobsRequest) Reset
func (x *BatchDeleteJobsRequest) Reset()
func (*BatchDeleteJobsRequest) String
func (x *BatchDeleteJobsRequest) String() string
BatchDeleteJobsResponse
type BatchDeleteJobsResponse struct {
// List of job mutation results from a batch delete operation. It can change
// until operation status is FINISHED, FAILED or CANCELLED.
JobResults []*JobResult `protobuf:"bytes,1,rep,name=job_results,json=jobResults,proto3" json:"job_results,omitempty"`
// contains filtered or unexported fields
}
The result of [JobService.BatchDeleteJobs][google.cloud.talent.v4.JobService.BatchDeleteJobs]. It's used to replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
func (*BatchDeleteJobsResponse) Descriptor
func (*BatchDeleteJobsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchDeleteJobsResponse.ProtoReflect.Descriptor instead.
func (*BatchDeleteJobsResponse) GetJobResults
func (x *BatchDeleteJobsResponse) GetJobResults() []*JobResult
func (*BatchDeleteJobsResponse) ProtoMessage
func (*BatchDeleteJobsResponse) ProtoMessage()
func (*BatchDeleteJobsResponse) ProtoReflect
func (x *BatchDeleteJobsResponse) ProtoReflect() protoreflect.Message
func (*BatchDeleteJobsResponse) Reset
func (x *BatchDeleteJobsResponse) Reset()
func (*BatchDeleteJobsResponse) String
func (x *BatchDeleteJobsResponse) String() string
BatchOperationMetadata
type BatchOperationMetadata struct {
// The state of a long running operation.
State BatchOperationMetadata_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.talent.v4.BatchOperationMetadata_State" json:"state,omitempty"`
// More detailed information about operation state.
StateDescription string `protobuf:"bytes,2,opt,name=state_description,json=stateDescription,proto3" json:"state_description,omitempty"`
// Count of successful item(s) inside an operation.
SuccessCount int32 `protobuf:"varint,3,opt,name=success_count,json=successCount,proto3" json:"success_count,omitempty"`
// Count of failed item(s) inside an operation.
FailureCount int32 `protobuf:"varint,4,opt,name=failure_count,json=failureCount,proto3" json:"failure_count,omitempty"`
// Count of total item(s) inside an operation.
TotalCount int32 `protobuf:"varint,5,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
// The time when the batch operation is created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// The time when the batch operation status is updated. The metadata and the
// [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is
// refreshed every minute otherwise cached data is returned.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// The time when the batch operation is finished and
// [google.longrunning.Operation.done][google.longrunning.Operation.done] is
// set to `true`.
EndTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// contains filtered or unexported fields
}
Metadata used for long running operations returned by CTS batch APIs. It's used to replace [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata].
func (*BatchOperationMetadata) Descriptor
func (*BatchOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use BatchOperationMetadata.ProtoReflect.Descriptor instead.
func (*BatchOperationMetadata) GetCreateTime
func (x *BatchOperationMetadata) GetCreateTime() *timestamppb.Timestamp
func (*BatchOperationMetadata) GetEndTime
func (x *BatchOperationMetadata) GetEndTime() *timestamppb.Timestamp
func (*BatchOperationMetadata) GetFailureCount
func (x *BatchOperationMetadata) GetFailureCount() int32
func (*BatchOperationMetadata) GetState
func (x *BatchOperationMetadata) GetState() BatchOperationMetadata_State
func (*BatchOperationMetadata) GetStateDescription
func (x *BatchOperationMetadata) GetStateDescription() string
func (*BatchOperationMetadata) GetSuccessCount
func (x *BatchOperationMetadata) GetSuccessCount() int32
func (*BatchOperationMetadata) GetTotalCount
func (x *BatchOperationMetadata) GetTotalCount() int32
func (*BatchOperationMetadata) GetUpdateTime
func (x *BatchOperationMetadata) GetUpdateTime() *timestamppb.Timestamp
func (*BatchOperationMetadata) ProtoMessage
func (*BatchOperationMetadata) ProtoMessage()
func (*BatchOperationMetadata) ProtoReflect
func (x *BatchOperationMetadata) ProtoReflect() protoreflect.Message
func (*BatchOperationMetadata) Reset
func (x *BatchOperationMetadata) Reset()
func (*BatchOperationMetadata) String
func (x *BatchOperationMetadata) String() string
BatchOperationMetadata_State
type BatchOperationMetadata_State int32
BatchOperationMetadata_STATE_UNSPECIFIED, BatchOperationMetadata_INITIALIZING, BatchOperationMetadata_PROCESSING, BatchOperationMetadata_SUCCEEDED, BatchOperationMetadata_FAILED, BatchOperationMetadata_CANCELLING, BatchOperationMetadata_CANCELLED
const (
// Default value.
BatchOperationMetadata_STATE_UNSPECIFIED BatchOperationMetadata_State = 0
// The batch operation is being prepared for processing.
BatchOperationMetadata_INITIALIZING BatchOperationMetadata_State = 1
// The batch operation is actively being processed.
BatchOperationMetadata_PROCESSING BatchOperationMetadata_State = 2
// The batch operation is processed, and at least one item has been
// successfully processed.
BatchOperationMetadata_SUCCEEDED BatchOperationMetadata_State = 3
// The batch operation is done and no item has been successfully processed.
BatchOperationMetadata_FAILED BatchOperationMetadata_State = 4
// The batch operation is in the process of cancelling after
// [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
// is called.
BatchOperationMetadata_CANCELLING BatchOperationMetadata_State = 5
// The batch operation is done after
// [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
// is called. Any items processed before cancelling are returned in the
// response.
BatchOperationMetadata_CANCELLED BatchOperationMetadata_State = 6
)
func (BatchOperationMetadata_State) Descriptor
func (BatchOperationMetadata_State) Descriptor() protoreflect.EnumDescriptor
func (BatchOperationMetadata_State) Enum
func (x BatchOperationMetadata_State) Enum() *BatchOperationMetadata_State
func (BatchOperationMetadata_State) EnumDescriptor
func (BatchOperationMetadata_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use BatchOperationMetadata_State.Descriptor instead.
func (BatchOperationMetadata_State) Number
func (x BatchOperationMetadata_State) Number() protoreflect.EnumNumber
func (BatchOperationMetadata_State) String
func (x BatchOperationMetadata_State) String() string
func (BatchOperationMetadata_State) Type
func (BatchOperationMetadata_State) Type() protoreflect.EnumType
BatchUpdateJobsRequest
type BatchUpdateJobsRequest struct {
// Required. The resource name of the tenant under which the job is created.
//
// The format is "projects/{project_id}/tenants/{tenant_id}". For example,
// "projects/foo/tenants/bar".
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The jobs to be updated.
// A maximum of 200 jobs can be updated in a batch.
Jobs []*Job `protobuf:"bytes,2,rep,name=jobs,proto3" json:"jobs,omitempty"`
// Strongly recommended for the best service experience. Be aware that it will
// also increase latency when checking the status of a batch operation.
//
// If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask]
// is provided, only the specified fields in [Job][google.cloud.talent.v4.Job]
// are updated. Otherwise all the fields are updated.
//
// A field mask to restrict the fields that are updated. Only
// top level fields of [Job][google.cloud.talent.v4.Job] are supported.
//
// If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask]
// is provided, The [Job][google.cloud.talent.v4.Job] inside
// [JobResult][google.cloud.talent.v4.JobResult]
// will only contains fields that is updated, plus the Id of the Job.
// Otherwise, [Job][google.cloud.talent.v4.Job] will include all fields,
// which can yield a very large response.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request to update a batch of jobs.
func (*BatchUpdateJobsRequest) Descriptor
func (*BatchUpdateJobsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateJobsRequest.ProtoReflect.Descriptor instead.
func (*BatchUpdateJobsRequest) GetJobs
func (x *BatchUpdateJobsRequest) GetJobs() []*Job
func (*BatchUpdateJobsRequest) GetParent
func (x *BatchUpdateJobsRequest) GetParent() string
func (*BatchUpdateJobsRequest) GetUpdateMask
func (x *BatchUpdateJobsRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*BatchUpdateJobsRequest) ProtoMessage
func (*BatchUpdateJobsRequest) ProtoMessage()
func (*BatchUpdateJobsRequest) ProtoReflect
func (x *BatchUpdateJobsRequest) ProtoReflect() protoreflect.Message
func (*BatchUpdateJobsRequest) Reset
func (x *BatchUpdateJobsRequest) Reset()
func (*BatchUpdateJobsRequest) String
func (x *BatchUpdateJobsRequest) String() string
BatchUpdateJobsResponse
type BatchUpdateJobsResponse struct {
// List of job mutation results from a batch update operation. It can change
// until operation status is FINISHED, FAILED or CANCELLED.
JobResults []*JobResult `protobuf:"bytes,1,rep,name=job_results,json=jobResults,proto3" json:"job_results,omitempty"`
// contains filtered or unexported fields
}
The result of [JobService.BatchUpdateJobs][google.cloud.talent.v4.JobService.BatchUpdateJobs]. It's used to replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
func (*BatchUpdateJobsResponse) Descriptor
func (*BatchUpdateJobsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateJobsResponse.ProtoReflect.Descriptor instead.
func (*BatchUpdateJobsResponse) GetJobResults
func (x *BatchUpdateJobsResponse) GetJobResults() []*JobResult
func (*BatchUpdateJobsResponse) ProtoMessage
func (*BatchUpdateJobsResponse) ProtoMessage()
func (*BatchUpdateJobsResponse) ProtoReflect
func (x *BatchUpdateJobsResponse) ProtoReflect() protoreflect.Message
func (*BatchUpdateJobsResponse) Reset
func (x *BatchUpdateJobsResponse) Reset()
func (*BatchUpdateJobsResponse) String
func (x *BatchUpdateJobsResponse) String() string
ClientEvent
type ClientEvent struct {
// Strongly recommended for the best service experience.
//
// A unique ID generated in the API responses. It can be found in
// [ResponseMetadata.request_id][google.cloud.talent.v4.ResponseMetadata.request_id].
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Required. A unique identifier, generated by the client application.
EventId string `protobuf:"bytes,2,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
// Required. The timestamp of the event.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Required.
//
// The detail information of a specific event type.
//
// Types that are assignable to Event:
//
// *ClientEvent_JobEvent
Event isClientEvent_Event `protobuf_oneof:"event"`
// Notes about the event provided by recruiters or other users, for example,
// feedback on why a job was bookmarked.
EventNotes string `protobuf:"bytes,9,opt,name=event_notes,json=eventNotes,proto3" json:"event_notes,omitempty"`
// contains filtered or unexported fields
}
An event issued when an end user interacts with the application that implements Cloud Talent Solution. Providing this information improves the quality of results for the API clients, enabling the service to perform optimally. The number of events sent must be consistent with other calls, such as job searches, issued to the service by the client.
func (*ClientEvent) Descriptor
func (*ClientEvent) Descriptor() ([]byte, []int)
Deprecated: Use ClientEvent.ProtoReflect.Descriptor instead.
func (*ClientEvent) GetCreateTime
func (x *ClientEvent) GetCreateTime() *timestamppb.Timestamp
func (*ClientEvent) GetEvent
func (m *ClientEvent) GetEvent() isClientEvent_Event
func (*ClientEvent) GetEventId
func (x *ClientEvent) GetEventId() string
func (*ClientEvent) GetEventNotes
func (x *ClientEvent) GetEventNotes() string
func (*ClientEvent) GetJobEvent
func (x *ClientEvent) GetJobEvent() *JobEvent
func (*ClientEvent) GetRequestId
func (x *ClientEvent) GetRequestId() string
func (*ClientEvent) ProtoMessage
func (*ClientEvent) ProtoMessage()
func (*ClientEvent) ProtoReflect
func (x *ClientEvent) ProtoReflect() protoreflect.Message
func (*ClientEvent) Reset
func (x *ClientEvent) Reset()
func (*ClientEvent) String
func (x *ClientEvent) String() string
ClientEvent_JobEvent
type ClientEvent_JobEvent struct {
// An event issued when a job seeker interacts with the application that
// implements Cloud Talent Solution.
JobEvent *JobEvent `protobuf:"bytes,5,opt,name=job_event,json=jobEvent,proto3,oneof"`
}
CommuteFilter
type CommuteFilter struct {
// Required. The method of transportation to calculate the commute time for.
CommuteMethod CommuteMethod `protobuf:"varint,1,opt,name=commute_method,json=commuteMethod,proto3,enum=google.cloud.talent.v4.CommuteMethod" json:"commute_method,omitempty"`
// Required. The latitude and longitude of the location to calculate the
// commute time from.
StartCoordinates *latlng.LatLng `protobuf:"bytes,2,opt,name=start_coordinates,json=startCoordinates,proto3" json:"start_coordinates,omitempty"`
// Required. The maximum travel time in seconds. The maximum allowed value is
// `3600s` (one hour). Format is `123s`.
TravelDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=travel_duration,json=travelDuration,proto3" json:"travel_duration,omitempty"`
// If `true`, jobs without street level addresses may also be returned.
// For city level addresses, the city center is used. For state and coarser
// level addresses, text matching is used.
// If this field is set to `false` or isn't specified, only jobs that include
// street level addresses will be returned by commute search.
AllowImpreciseAddresses bool `protobuf:"varint,4,opt,name=allow_imprecise_addresses,json=allowImpreciseAddresses,proto3" json:"allow_imprecise_addresses,omitempty"`
// Traffic factor to take into account while searching by commute.
//
// Types that are assignable to TrafficOption:
//
// *CommuteFilter_RoadTraffic_
// *CommuteFilter_DepartureTime
TrafficOption isCommuteFilter_TrafficOption `protobuf_oneof:"traffic_option"`
// contains filtered or unexported fields
}
Parameters needed for commute search.
func (*CommuteFilter) Descriptor
func (*CommuteFilter) Descriptor() ([]byte, []int)
Deprecated: Use CommuteFilter.ProtoReflect.Descriptor instead.
func (*CommuteFilter) GetAllowImpreciseAddresses
func (x *CommuteFilter) GetAllowImpreciseAddresses() bool
func (*CommuteFilter) GetCommuteMethod
func (x *CommuteFilter) GetCommuteMethod() CommuteMethod
func (*CommuteFilter) GetDepartureTime
func (x *CommuteFilter) GetDepartureTime() *timeofday.TimeOfDay
func (*CommuteFilter) GetRoadTraffic
func (x *CommuteFilter) GetRoadTraffic() CommuteFilter_RoadTraffic
func (*CommuteFilter) GetStartCoordinates
func (x *CommuteFilter) GetStartCoordinates() *latlng.LatLng
func (*CommuteFilter) GetTrafficOption
func (m *CommuteFilter) GetTrafficOption() isCommuteFilter_TrafficOption
func (*CommuteFilter) GetTravelDuration
func (x *CommuteFilter) GetTravelDuration() *durationpb.Duration
func (*CommuteFilter) ProtoMessage
func (*CommuteFilter) ProtoMessage()
func (*CommuteFilter) ProtoReflect
func (x *CommuteFilter) ProtoReflect() protoreflect.Message
func (*CommuteFilter) Reset
func (x *CommuteFilter) Reset()
func (*CommuteFilter) String
func (x *CommuteFilter) String() string
CommuteFilter_DepartureTime
type CommuteFilter_DepartureTime struct {
// The departure time used to calculate traffic impact, represented as
// [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
//
// Currently traffic model is restricted to hour level resolution.
DepartureTime *timeofday.TimeOfDay `protobuf:"bytes,6,opt,name=departure_time,json=departureTime,proto3,oneof"`
}
CommuteFilter_RoadTraffic
type CommuteFilter_RoadTraffic int32
The traffic density to use when calculating commute time.
CommuteFilter_ROAD_TRAFFIC_UNSPECIFIED, CommuteFilter_TRAFFIC_FREE, CommuteFilter_BUSY_HOUR
const (
// Road traffic situation isn't specified.
CommuteFilter_ROAD_TRAFFIC_UNSPECIFIED CommuteFilter_RoadTraffic = 0
// Optimal commute time without considering any traffic impact.
CommuteFilter_TRAFFIC_FREE CommuteFilter_RoadTraffic = 1
// Commute time calculation takes in account the peak traffic impact.
CommuteFilter_BUSY_HOUR CommuteFilter_RoadTraffic = 2
)
func (CommuteFilter_RoadTraffic) Descriptor
func (CommuteFilter_RoadTraffic) Descriptor() protoreflect.EnumDescriptor
func (CommuteFilter_RoadTraffic) Enum
func (x CommuteFilter_RoadTraffic) Enum() *CommuteFilter_RoadTraffic
func (CommuteFilter_RoadTraffic) EnumDescriptor
func (CommuteFilter_RoadTraffic) EnumDescriptor() ([]byte, []int)
Deprecated: Use CommuteFilter_RoadTraffic.Descriptor instead.
func (CommuteFilter_RoadTraffic) Number
func (x CommuteFilter_RoadTraffic) Number() protoreflect.EnumNumber
func (CommuteFilter_RoadTraffic) String
func (x CommuteFilter_RoadTraffic) String() string
func (CommuteFilter_RoadTraffic) Type
func (CommuteFilter_RoadTraffic) Type() protoreflect.EnumType
CommuteFilter_RoadTraffic_
type CommuteFilter_RoadTraffic_ struct {
// Specifies the traffic density to use when calculating commute time.
RoadTraffic CommuteFilter_RoadTraffic `protobuf:"varint,5,opt,name=road_traffic,json=roadTraffic,proto3,enum=google.cloud.talent.v4.CommuteFilter_RoadTraffic,oneof"`
}
CommuteMethod
type CommuteMethod int32
Method for commute. Walking, biking and wheelchair accessible transit is still in the Preview stage.
CommuteMethod_COMMUTE_METHOD_UNSPECIFIED, CommuteMethod_DRIVING, CommuteMethod_TRANSIT, CommuteMethod_WALKING, CommuteMethod_CYCLING, CommuteMethod_TRANSIT_ACCESSIBLE
const (
// Commute method isn't specified.
CommuteMethod_COMMUTE_METHOD_UNSPECIFIED CommuteMethod = 0
// Commute time is calculated based on driving time.
CommuteMethod_DRIVING CommuteMethod = 1
// Commute time is calculated based on public transit including bus, metro,
// subway, and so on.
CommuteMethod_TRANSIT CommuteMethod = 2
// Commute time is calculated based on walking time.
CommuteMethod_WALKING CommuteMethod = 3
// Commute time is calculated based on biking time.
CommuteMethod_CYCLING CommuteMethod = 4
// Commute time is calculated based on public transit that is wheelchair
// accessible.
CommuteMethod_TRANSIT_ACCESSIBLE CommuteMethod = 5
)
func (CommuteMethod) Descriptor
func (