talent

package
v0.0.0-...-d576998 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2022 License: Apache-2.0 Imports: 21 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var (
	LocationFilter_TelecommutePreference_name = map[int32]string{
		0: "TELECOMMUTE_PREFERENCE_UNSPECIFIED",
		1: "TELECOMMUTE_EXCLUDED",
		2: "TELECOMMUTE_ALLOWED",
	}
	LocationFilter_TelecommutePreference_value = map[string]int32{
		"TELECOMMUTE_PREFERENCE_UNSPECIFIED": 0,
		"TELECOMMUTE_EXCLUDED":               1,
		"TELECOMMUTE_ALLOWED":                2,
	}
)

Enum value maps for LocationFilter_TelecommutePreference.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var (
	SearchJobsRequest_DiversificationLevel_name = map[int32]string{
		0: "DIVERSIFICATION_LEVEL_UNSPECIFIED",
		1: "DISABLED",
		2: "SIMPLE",
		3: "ONE_PER_COMPANY",
		4: "TWO_PER_COMPANY",
		5: "DIVERSIFY_BY_LOOSER_SIMILARITY",
	}
	SearchJobsRequest_DiversificationLevel_value = map[string]int32{
		"DIVERSIFICATION_LEVEL_UNSPECIFIED": 0,
		"DISABLED":                          1,
		"SIMPLE":                            2,
		"ONE_PER_COMPANY":                   3,
		"TWO_PER_COMPANY":                   4,
		"DIVERSIFY_BY_LOOSER_SIMILARITY":    5,
	}
)

Enum value maps for SearchJobsRequest_DiversificationLevel.

View Source
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.

View Source
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.

View Source
var File_google_cloud_talent_v4_common_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_talent_v4_company_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_talent_v4_company_service_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_talent_v4_completion_service_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_talent_v4_event_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_talent_v4_event_service_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_talent_v4_filters_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_talent_v4_histogram_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_talent_v4_job_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_talent_v4_job_service_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_talent_v4_tenant_proto protoreflect.FileDescriptor
View Source
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)

Types

type 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 deprecated

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

type 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 deprecated

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

type 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 deprecated

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

type 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 deprecated

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

type 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 deprecated

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 (*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

type BatchOperationMetadata_State

type BatchOperationMetadata_State int32
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) Enum

func (BatchOperationMetadata_State) EnumDescriptor deprecated

func (BatchOperationMetadata_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use BatchOperationMetadata_State.Descriptor instead.

func (BatchOperationMetadata_State) Number

func (BatchOperationMetadata_State) String

func (BatchOperationMetadata_State) Type

type BatchUpdateJobsRequest

type BatchUpdateJobsRequest struct {

	// Required. The resource name of the tenant under which the job is created.
	//
	// The format is "projects/{project_id}/tenants/{tenant_id}". For example,
	// "projects/foo/tenants/bar".
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The jobs to be updated.
	// A maximum of 200 jobs can be updated in a batch.
	Jobs []*Job `protobuf:"bytes,2,rep,name=jobs,proto3" json:"jobs,omitempty"`
	// Strongly recommended for the best service experience. Be aware that it will
	// also increase latency when checking the status of a batch operation.
	//
	// If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask] is provided, only the specified fields in
	// [Job][google.cloud.talent.v4.Job] are updated. Otherwise all the fields are updated.
	//
	// A field mask to restrict the fields that are updated. Only
	// top level fields of [Job][google.cloud.talent.v4.Job] are supported.
	//
	// If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask] is provided, The [Job][google.cloud.talent.v4.Job] inside
	// [JobResult][JobOperationResult.JobResult]
	// will only contains fields that is updated, plus the Id of the Job.
	// Otherwise,  [Job][google.cloud.talent.v4.Job] will include all fields, which can yield a very
	// large response.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request to update a batch of jobs.

func (*BatchUpdateJobsRequest) Descriptor deprecated

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

type 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 deprecated

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

type 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 deprecated

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

type 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"`
}

type CommuteFilter

type CommuteFilter struct {

	// Required. The method of transportation to calculate the commute time for.
	CommuteMethod CommuteMethod `` /* 143-byte string literal not displayed */
	// 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 `` /* 133-byte string literal not displayed */
	// 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 deprecated

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

type 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"`
}

type CommuteFilter_RoadTraffic

type CommuteFilter_RoadTraffic int32

The traffic density to use when calculating commute time.

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) Enum

func (CommuteFilter_RoadTraffic) EnumDescriptor deprecated

func (CommuteFilter_RoadTraffic) EnumDescriptor() ([]byte, []int)

Deprecated: Use CommuteFilter_RoadTraffic.Descriptor instead.

func (CommuteFilter_RoadTraffic) Number

func (CommuteFilter_RoadTraffic) String

func (x CommuteFilter_RoadTraffic) String() string

func (CommuteFilter_RoadTraffic) Type

type 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"`
}

type CommuteMethod

type CommuteMethod int32

Method for commute. Walking, biking and wheelchair accessible transit is still in the Preview stage.

const (
	// Commute method isn't specified.
	CommuteMethod_COMMUTE_METHOD_UNSPECIFIED CommuteMethod = 0
	// Commute time is calculated based on driving time.
	CommuteMethod_DRIVING CommuteMethod = 1
	// Commute time is calculated based on public transit including bus, metro,
	// subway, and so on.
	CommuteMethod_TRANSIT CommuteMethod = 2
	// Commute time is calculated based on walking time.
	CommuteMethod_WALKING CommuteMethod = 3
	// Commute time is calculated based on biking time.
	CommuteMethod_CYCLING CommuteMethod = 4
	// Commute time is calculated based on public transit that is wheelchair
	// accessible.
	CommuteMethod_TRANSIT_ACCESSIBLE CommuteMethod = 5
)

func (CommuteMethod) Descriptor

func (CommuteMethod) Enum

func (x CommuteMethod) Enum() *CommuteMethod

func (CommuteMethod) EnumDescriptor deprecated

func (CommuteMethod) EnumDescriptor() ([]byte, []int)

Deprecated: Use CommuteMethod.Descriptor instead.

func (CommuteMethod) Number

func (CommuteMethod) String

func (x CommuteMethod) String() string

func (CommuteMethod) Type

type Company

type Company struct {

	// Required during company update.
	//
	// The resource name for a company. This is generated by the service when a
	// company is created.
	//
	// The format is
	// "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
	// example, "projects/foo/tenants/bar/companies/baz".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The display name of the company, for example, "Google LLC".
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Required. Client side company identifier, used to uniquely identify the
	// company.
	//
	// The maximum number of allowed characters is 255.
	ExternalId string `protobuf:"bytes,3,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
	// The employer's company size.
	Size CompanySize `protobuf:"varint,4,opt,name=size,proto3,enum=google.cloud.talent.v4.CompanySize" json:"size,omitempty"`
	// The street address of the company's main headquarters, which may be
	// different from the job location. The service attempts
	// to geolocate the provided address, and populates a more specific
	// location wherever possible in [DerivedInfo.headquarters_location][google.cloud.talent.v4.Company.DerivedInfo.headquarters_location].
	HeadquartersAddress string `protobuf:"bytes,5,opt,name=headquarters_address,json=headquartersAddress,proto3" json:"headquarters_address,omitempty"`
	// Set to true if it is the hiring agency that post jobs for other
	// employers.
	//
	// Defaults to false if not provided.
	HiringAgency bool `protobuf:"varint,6,opt,name=hiring_agency,json=hiringAgency,proto3" json:"hiring_agency,omitempty"`
	// Equal Employment Opportunity legal disclaimer text to be
	// associated with all jobs, and typically to be displayed in all
	// roles.
	//
	// The maximum number of allowed characters is 500.
	EeoText string `protobuf:"bytes,7,opt,name=eeo_text,json=eeoText,proto3" json:"eeo_text,omitempty"`
	// The URI representing the company's primary web site or home page,
	// for example, "https://www.google.com".
	//
	// The maximum number of allowed characters is 255.
	WebsiteUri string `protobuf:"bytes,8,opt,name=website_uri,json=websiteUri,proto3" json:"website_uri,omitempty"`
	// The URI to employer's career site or careers page on the employer's web
	// site, for example, "https://careers.google.com".
	CareerSiteUri string `protobuf:"bytes,9,opt,name=career_site_uri,json=careerSiteUri,proto3" json:"career_site_uri,omitempty"`
	// A URI that hosts the employer's company logo.
	ImageUri string `protobuf:"bytes,10,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"`
	// A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
	// corresponding `string_values` are used in keyword searches. Jobs with
	// `string_values` under these specified field keys are returned if any
	// of the values match the search keyword. Custom field values with
	// parenthesis, brackets and special symbols are not searchable as-is,
	// and those keyword queries must be surrounded by quotes.
	KeywordSearchableJobCustomAttributes []string `` /* 176-byte string literal not displayed */
	// Output only. Derived details about the company.
	DerivedInfo *Company_DerivedInfo `protobuf:"bytes,12,opt,name=derived_info,json=derivedInfo,proto3" json:"derived_info,omitempty"`
	// Output only. Indicates whether a company is flagged to be suspended from
	// public availability by the service when job content appears suspicious,
	// abusive, or spammy.
	Suspended bool `protobuf:"varint,13,opt,name=suspended,proto3" json:"suspended,omitempty"`
	// contains filtered or unexported fields
}

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

func (*Company) Descriptor() ([]byte, []int)

Deprecated: Use Company.ProtoReflect.Descriptor instead.

func (*Company) GetCareerSiteUri

func (x *Company) GetCareerSiteUri() string

func (*Company) GetDerivedInfo

func (x *Company) GetDerivedInfo() *Company_DerivedInfo

func (*Company) GetDisplayName

func (x *Company) GetDisplayName() string

func (*Company) GetEeoText

func (x *Company) GetEeoText() string

func (*Company) GetExternalId

func (x *Company) GetExternalId() string

func (*Company) GetHeadquartersAddress

func (x *Company) GetHeadquartersAddress() string

func (*Company) GetHiringAgency

func (x *Company) GetHiringAgency() bool

func (*Company) GetImageUri

func (x *Company) GetImageUri() string

func (*Company) GetKeywordSearchableJobCustomAttributes

func (x *Company) GetKeywordSearchableJobCustomAttributes() []string

func (*Company) GetName

func (x *Company) GetName() string

func (*Company) GetSize

func (x *Company) GetSize() CompanySize

func (*Company) GetSuspended

func (x *Company) GetSuspended() bool

func (*Company) GetWebsiteUri

func (x *Company) GetWebsiteUri() string

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

func (x *Company) String() string

type 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.

type 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.

type CompanySize

type CompanySize int32

An enum that represents the size of the company.

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) Enum

func (x CompanySize) Enum() *CompanySize

func (CompanySize) EnumDescriptor deprecated

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

type Company_DerivedInfo

type Company_DerivedInfo struct {

	// A structured headquarters location of the company, resolved from
	// [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
	HeadquartersLocation *Location `protobuf:"bytes,1,opt,name=headquarters_location,json=headquartersLocation,proto3" json:"headquarters_location,omitempty"`
	// contains filtered or unexported fields
}

Derived details about the company.

func (*Company_DerivedInfo) Descriptor deprecated

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

type CompensationFilter

type CompensationFilter struct {

	// Required. Type of filter.
	Type CompensationFilter_FilterType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.talent.v4.CompensationFilter_FilterType" json:"type,omitempty"`
	// Required. Specify desired `base compensation entry's`
	// [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
	Units []CompensationInfo_CompensationUnit `` /* 133-byte string literal not displayed */
	// Compensation range.
	Range *CompensationInfo_CompensationRange `protobuf:"bytes,3,opt,name=range,proto3" json:"range,omitempty"`
	// If set to true, jobs with unspecified compensation range fields are
	// included.
	IncludeJobsWithUnspecifiedCompensationRange bool `` /* 199-byte string literal not displayed */
	// contains filtered or unexported fields
}

Filter on job compensation type and amount.

func (*CompensationFilter) Descriptor deprecated

func (*CompensationFilter) Descriptor() ([]byte, []int)

Deprecated: Use CompensationFilter.ProtoReflect.Descriptor instead.

func (*CompensationFilter) GetIncludeJobsWithUnspecifiedCompensationRange

func (x *CompensationFilter) GetIncludeJobsWithUnspecifiedCompensationRange() bool

func (*CompensationFilter) GetRange

func (*CompensationFilter) GetType

func (*CompensationFilter) GetUnits

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

type CompensationFilter_FilterType

type CompensationFilter_FilterType int32

Specify the type of filtering.

const (
	// Filter type unspecified. Position holder, INVALID, should never be used.
	CompensationFilter_FILTER_TYPE_UNSPECIFIED CompensationFilter_FilterType = 0
	// Filter by `base compensation entry's` unit. A job is a match if and
	// only if the job contains a base CompensationEntry and the base
	// CompensationEntry's unit matches provided [units][google.cloud.talent.v4.CompensationFilter.units].
	// Populate one or more [units][google.cloud.talent.v4.CompensationFilter.units].
	//
	// See [CompensationInfo.CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for definition of
	// base compensation entry.
	CompensationFilter_UNIT_ONLY CompensationFilter_FilterType = 1
	// Filter by `base compensation entry's` unit and amount / range. A job
	// is a match if and only if the job contains a base CompensationEntry, and
	// the base entry's unit matches provided
	// [CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit] and
	// amount or range overlaps with provided
	// [CompensationRange][google.cloud.talent.v4.CompensationInfo.CompensationRange].
	//
	// See [CompensationInfo.CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for definition of
	// base compensation entry.
	//
	// Set exactly one [units][google.cloud.talent.v4.CompensationFilter.units] and populate [range][google.cloud.talent.v4.CompensationFilter.range].
	CompensationFilter_UNIT_AND_AMOUNT CompensationFilter_FilterType = 2
	// Filter by annualized base compensation amount and `base compensation
	// entry's` unit. Populate [range][google.cloud.talent.v4.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4.CompensationFilter.units].
	CompensationFilter_ANNUALIZED_BASE_AMOUNT CompensationFilter_FilterType = 3
	// Filter by annualized total compensation amount and `base compensation
	// entry's` unit . Populate [range][google.cloud.talent.v4.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4.CompensationFilter.units].
	CompensationFilter_ANNUALIZED_TOTAL_AMOUNT CompensationFilter_FilterType = 4
)

func (CompensationFilter_FilterType) Descriptor

func (CompensationFilter_FilterType) Enum

func (CompensationFilter_FilterType) EnumDescriptor deprecated

func (CompensationFilter_FilterType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CompensationFilter_FilterType.Descriptor instead.

func (CompensationFilter_FilterType) Number

func (CompensationFilter_FilterType) String

func (CompensationFilter_FilterType) Type

type CompensationInfo

type CompensationInfo struct {

	// Job compensation information.
	//
	// At most one entry can be of type
	// [CompensationInfo.CompensationType.BASE][google.cloud.talent.v4.CompensationInfo.CompensationType.BASE], which is
	// referred as **base compensation entry** for the job.
	Entries []*CompensationInfo_CompensationEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// Output only. Annualized base compensation range. Computed as base compensation entry's
	// [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
	// [CompensationEntry.expected_units_per_year][google.cloud.talent.v4.CompensationInfo.CompensationEntry.expected_units_per_year].
	//
	// See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
	AnnualizedBaseCompensationRange *CompensationInfo_CompensationRange `` /* 158-byte string literal not displayed */
	// Output only. Annualized total compensation range. Computed as all compensation entries'
	// [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
	// [CompensationEntry.expected_units_per_year][google.cloud.talent.v4.CompensationInfo.CompensationEntry.expected_units_per_year].
	//
	// See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
	AnnualizedTotalCompensationRange *CompensationInfo_CompensationRange `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

Job compensation details.

func (*CompensationInfo) Descriptor deprecated

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 (*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

type CompensationInfo_CompensationEntry

type CompensationInfo_CompensationEntry struct {

	// Compensation type.
	//
	// Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
	Type CompensationInfo_CompensationType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.talent.v4.CompensationInfo_CompensationType" json:"type,omitempty"`
	// Frequency of the specified amount.
	//
	// Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
	Unit CompensationInfo_CompensationUnit `protobuf:"varint,2,opt,name=unit,proto3,enum=google.cloud.talent.v4.CompensationInfo_CompensationUnit" json:"unit,omitempty"`
	// Compensation amount. It could be a fixed amount or a floating range.
	//
	// Types that are assignable to CompensationAmount:
	//	*CompensationInfo_CompensationEntry_Amount
	//	*CompensationInfo_CompensationEntry_Range
	CompensationAmount isCompensationInfo_CompensationEntry_CompensationAmount `protobuf_oneof:"compensation_amount"`
	// Compensation description.  For example, could
	// indicate equity terms or provide additional context to an estimated
	// bonus.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Expected number of units paid each year. If not specified, when
	// [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
	// based on [unit][google.cloud.talent.v4.CompensationInfo.CompensationEntry.unit]. Default values:
	// - HOURLY: 2080
	// - DAILY: 260
	// - WEEKLY: 52
	// - MONTHLY: 12
	// - ANNUAL: 1
	ExpectedUnitsPerYear *wrapperspb.DoubleValue `protobuf:"bytes,6,opt,name=expected_units_per_year,json=expectedUnitsPerYear,proto3" json:"expected_units_per_year,omitempty"`
	// contains filtered or unexported fields
}

A compensation entry that represents one component of compensation, such as base pay, bonus, or other compensation type.

Annualization: One compensation entry can be annualized if - it contains valid [amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] or [range][google.cloud.talent.v4.CompensationInfo.CompensationEntry.range]. - and its [expected_units_per_year][google.cloud.talent.v4.CompensationInfo.CompensationEntry.expected_units_per_year] is set or can be derived. Its annualized range is determined as ([amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] or [range][google.cloud.talent.v4.CompensationInfo.CompensationEntry.range]) times [expected_units_per_year][google.cloud.talent.v4.CompensationInfo.CompensationEntry.expected_units_per_year].

func (*CompensationInfo_CompensationEntry) Descriptor deprecated

func (*CompensationInfo_CompensationEntry) Descriptor() ([]byte, []int)

Deprecated: Use CompensationInfo_CompensationEntry.ProtoReflect.Descriptor instead.

func (*CompensationInfo_CompensationEntry) GetAmount

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 (*CompensationInfo_CompensationEntry) GetType

func (*CompensationInfo_CompensationEntry) GetUnit

func (*CompensationInfo_CompensationEntry) ProtoMessage

func (*CompensationInfo_CompensationEntry) ProtoMessage()

func (*CompensationInfo_CompensationEntry) ProtoReflect

func (*CompensationInfo_CompensationEntry) Reset

func (*CompensationInfo_CompensationEntry) String

type CompensationInfo_CompensationEntry_Amount

type CompensationInfo_CompensationEntry_Amount struct {
	// Compensation amount.
	Amount *money.Money `protobuf:"bytes,3,opt,name=amount,proto3,oneof"`
}

type CompensationInfo_CompensationEntry_Range

type CompensationInfo_CompensationEntry_Range struct {
	// Compensation range.
	Range *CompensationInfo_CompensationRange `protobuf:"bytes,4,opt,name=range,proto3,oneof"`
}

type 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 deprecated

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 (*CompensationInfo_CompensationRange) Reset

func (*CompensationInfo_CompensationRange) String

type CompensationInfo_CompensationType

type CompensationInfo_CompensationType int32

The type of compensation.

For compensation amounts specified in non-monetary amounts, describe the compensation scheme in the [CompensationEntry.description][google.cloud.talent.v4.CompensationInfo.CompensationEntry.description].

For example, tipping format is described in [CompensationEntry.description][google.cloud.talent.v4.CompensationInfo.CompensationEntry.description] (for example, "expect 15-20% tips based on customer bill.") and an estimate of the tips provided in [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] or [CompensationEntry.range][google.cloud.talent.v4.CompensationInfo.CompensationEntry.range] ($10 per hour).

For example, equity is described in [CompensationEntry.description][google.cloud.talent.v4.CompensationInfo.CompensationEntry.description] (for example, "1% - 2% equity vesting over 4 years, 1 year cliff") and value estimated in [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] or [CompensationEntry.range][google.cloud.talent.v4.CompensationInfo.CompensationEntry.range]. If no value estimate is possible, units are [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED] and then further clarified in [CompensationEntry.description][google.cloud.talent.v4.CompensationInfo.CompensationEntry.description] field.

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) Enum

func (CompensationInfo_CompensationType) EnumDescriptor deprecated

func (CompensationInfo_CompensationType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CompensationInfo_CompensationType.Descriptor instead.

func (CompensationInfo_CompensationType) Number

func (CompensationInfo_CompensationType) String

func (CompensationInfo_CompensationType) Type

type CompensationInfo_CompensationUnit

type CompensationInfo_CompensationUnit int32

Pay frequency.

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) Enum

func (CompensationInfo_CompensationUnit) EnumDescriptor deprecated

func (CompensationInfo_CompensationUnit) EnumDescriptor() ([]byte, []int)

Deprecated: Use CompensationInfo_CompensationUnit.Descriptor instead.

func (CompensationInfo_CompensationUnit) Number

func (CompensationInfo_CompensationUnit) String

func (CompensationInfo_CompensationUnit) Type

type CompleteQueryRequest

type CompleteQueryRequest struct {

	// Required. Resource name of tenant the completion is performed within.
	//
	// The format is "projects/{project_id}/tenants/{tenant_id}", for example,
	// "projects/foo/tenants/bar".
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// Required. The query used to generate suggestions.
	//
	// The maximum number of allowed characters is 255.
	Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	// The list of languages of the query. This is
	// the BCP-47 language code, such as "en-US" or "sr-Latn".
	// For more information, see
	// [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
	//
	// The maximum number of allowed characters is 255.
	LanguageCodes []string `protobuf:"bytes,3,rep,name=language_codes,json=languageCodes,proto3" json:"language_codes,omitempty"`
	// Required. Completion result count.
	//
	// The maximum allowed page size is 10.
	PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// If provided, restricts completion to specified company.
	//
	// The format is
	// "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
	// example, "projects/foo/tenants/bar/companies/baz".
	Company string `protobuf:"bytes,5,opt,name=company,proto3" json:"company,omitempty"`
	// The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
	Scope CompleteQueryRequest_CompletionScope `` /* 129-byte string literal not displayed */
	// The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
	Type CompleteQueryRequest_CompletionType `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

Auto-complete parameters.

func (*CompleteQueryRequest) Descriptor deprecated

func (*CompleteQueryRequest) Descriptor() ([]byte, []int)

Deprecated: Use CompleteQueryRequest.ProtoReflect.Descriptor instead.

func (*CompleteQueryRequest) GetCompany

func (x *CompleteQueryRequest) GetCompany() string

func (*CompleteQueryRequest) GetLanguageCodes

func (x *CompleteQueryRequest) GetLanguageCodes() []string

func (*CompleteQueryRequest) GetPageSize

func (x *CompleteQueryRequest) GetPageSize() int32

func (*CompleteQueryRequest) GetQuery

func (x *CompleteQueryRequest) GetQuery() string

func (*CompleteQueryRequest) GetScope

func (*CompleteQueryRequest) GetTenant

func (x *CompleteQueryRequest) GetTenant() string

func (*CompleteQueryRequest) GetType

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

type CompleteQueryRequest_CompletionScope

type CompleteQueryRequest_CompletionScope int32

Enum to specify the scope of completion.

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) Enum

func (CompleteQueryRequest_CompletionScope) EnumDescriptor deprecated

func (CompleteQueryRequest_CompletionScope) EnumDescriptor() ([]byte, []int)

Deprecated: Use CompleteQueryRequest_CompletionScope.Descriptor instead.

func (CompleteQueryRequest_CompletionScope) Number

func (CompleteQueryRequest_CompletionScope) String

func (CompleteQueryRequest_CompletionScope) Type

type CompleteQueryRequest_CompletionType

type CompleteQueryRequest_CompletionType int32

Enum to specify auto-completion topics.

const (
	// Default value.
	CompleteQueryRequest_COMPLETION_TYPE_UNSPECIFIED CompleteQueryRequest_CompletionType = 0
	// Suggest job titles for jobs autocomplete.
	//
	// For [CompletionType.JOB_TITLE][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.JOB_TITLE] type, only open jobs with the same
	// [language_codes][google.cloud.talent.v4.CompleteQueryRequest.language_codes] are returned.
	CompleteQueryRequest_JOB_TITLE CompleteQueryRequest_CompletionType = 1
	// Suggest company names for jobs autocomplete.
	//
	// For [CompletionType.COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME] type,
	// only companies having open jobs with the same [language_codes][google.cloud.talent.v4.CompleteQueryRequest.language_codes] are
	// returned.
	CompleteQueryRequest_COMPANY_NAME CompleteQueryRequest_CompletionType = 2
	// Suggest both job titles and company names for jobs autocomplete.
	//
	// For [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED] type, only open jobs with the same
	// [language_codes][google.cloud.talent.v4.CompleteQueryRequest.language_codes] or companies having open jobs with the same
	// [language_codes][google.cloud.talent.v4.CompleteQueryRequest.language_codes] are returned.
	CompleteQueryRequest_COMBINED CompleteQueryRequest_CompletionType = 3
)

func (CompleteQueryRequest_CompletionType) Descriptor

func (CompleteQueryRequest_CompletionType) Enum

func (CompleteQueryRequest_CompletionType) EnumDescriptor deprecated

func (CompleteQueryRequest_CompletionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CompleteQueryRequest_CompletionType.Descriptor instead.

func (CompleteQueryRequest_CompletionType) Number

func (CompleteQueryRequest_CompletionType) String

func (CompleteQueryRequest_CompletionType) Type

type 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 deprecated

func (*CompleteQueryResponse) Descriptor() ([]byte, []int)

Deprecated: Use CompleteQueryResponse.ProtoReflect.Descriptor instead.

func (*CompleteQueryResponse) GetCompletionResults

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

type CompleteQueryResponse_CompletionResult

type CompleteQueryResponse_CompletionResult struct {

	// The suggestion for the query.
	Suggestion string `protobuf:"bytes,1,opt,name=suggestion,proto3" json:"suggestion,omitempty"`
	// The completion topic.
	Type CompleteQueryRequest_CompletionType `` /* 126-byte string literal not displayed */
	// The URI of the company image for
	// [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
	ImageUri string `protobuf:"bytes,3,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"`
	// contains filtered or unexported fields
}

Resource that represents completion results.

func (*CompleteQueryResponse_CompletionResult) Descriptor deprecated

func (*CompleteQueryResponse_CompletionResult) Descriptor() ([]byte, []int)

Deprecated: Use CompleteQueryResponse_CompletionResult.ProtoReflect.Descriptor instead.

func (*CompleteQueryResponse_CompletionResult) GetImageUri

func (*CompleteQueryResponse_CompletionResult) GetSuggestion

func (*CompleteQueryResponse_CompletionResult) GetType

func (*CompleteQueryResponse_CompletionResult) ProtoMessage

func (*CompleteQueryResponse_CompletionResult) ProtoReflect

func (*CompleteQueryResponse_CompletionResult) Reset

func (*CompleteQueryResponse_CompletionResult) String

type 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

type 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.

type CreateClientEventRequest

type CreateClientEventRequest struct {

	// Required. Resource name of the tenant under which the event is created.
	//
	// The format is "projects/{project_id}/tenants/{tenant_id}", for example,
	// "projects/foo/tenants/bar".
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Events issued when end user interacts with customer's application that
	// uses Cloud Talent Solution.
	ClientEvent *ClientEvent `protobuf:"bytes,2,opt,name=client_event,json=clientEvent,proto3" json:"client_event,omitempty"`
	// contains filtered or unexported fields
}

The report event request.

func (*CreateClientEventRequest) Descriptor deprecated

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

type CreateCompanyRequest

type CreateCompanyRequest struct {

	// Required. Resource name of the tenant under which the company is created.
	//
	// The format is "projects/{project_id}/tenants/{tenant_id}", for example,
	// "projects/foo/tenants/bar".
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The company to be created.
	Company *Company `protobuf:"bytes,2,opt,name=company,proto3" json:"company,omitempty"`
	// contains filtered or unexported fields
}

The Request of the CreateCompany method.

func (*CreateCompanyRequest) Descriptor deprecated

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

type CreateJobRequest

type CreateJobRequest struct {

	// Required. The resource name of the tenant under which the job is created.
	//
	// The format is "projects/{project_id}/tenants/{tenant_id}". For example,
	// "projects/foo/tenants/bar".
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The Job to be created.
	Job *Job `protobuf:"bytes,2,opt,name=job,proto3" json:"job,omitempty"`
	// contains filtered or unexported fields
}

Create job request.

func (*CreateJobRequest) Descriptor deprecated

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

type 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 deprecated

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

type CustomAttribute

type CustomAttribute struct {

	// Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
	//
	// This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
	// `CASE_INSENSITIVE_MATCH`) search.
	// For filterable `string_value`s, a maximum total number of 200 values
	// is allowed, with each `string_value` has a byte size of no more than
	// 500B. For unfilterable `string_values`, the maximum total byte size of
	// unfilterable `string_values` is 50KB.
	//
	// Empty string isn't allowed.
	StringValues []string `protobuf:"bytes,1,rep,name=string_values,json=stringValues,proto3" json:"string_values,omitempty"`
	// Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
	//
	// This field is used to perform number range search.
	// (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
	//
	// Currently at most 1 [long_values][google.cloud.talent.v4.CustomAttribute.long_values] is supported.
	LongValues []int64 `protobuf:"varint,2,rep,packed,name=long_values,json=longValues,proto3" json:"long_values,omitempty"`
	// If the `filterable` flag is true, the custom field values may be used for
	// custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4.JobQuery.custom_attribute_filter].
	// If false, these values may not be used for custom attribute filters.
	//
	// Default is false.
	Filterable bool `protobuf:"varint,3,opt,name=filterable,proto3" json:"filterable,omitempty"`
	// If the `keyword_searchable` flag is true, the keywords in custom fields are
	// searchable by keyword match.
	// If false, the values are not searchable by keyword match.
	//
	// Default is false.
	KeywordSearchable bool `protobuf:"varint,4,opt,name=keyword_searchable,json=keywordSearchable,proto3" json:"keyword_searchable,omitempty"`
	// contains filtered or unexported fields
}

Custom attribute values that are either filterable or non-filterable.

func (*CustomAttribute) Descriptor deprecated

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

type DegreeType

type DegreeType int32

Educational degree level defined in International Standard Classification of Education (ISCED).

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 deprecated

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

type DeleteCompanyRequest

type DeleteCompanyRequest struct {

	// Required. The resource name of the company to be deleted.
	//
	// The format is
	// "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
	// example, "projects/foo/tenants/bar/companies/baz".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request to delete a company.

func (*DeleteCompanyRequest) Descriptor deprecated

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

type DeleteJobRequest

type DeleteJobRequest struct {

	// Required. The resource name of the job to be deleted.
	//
	// The format is
	// "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
	// example, "projects/foo/tenants/bar/jobs/baz".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Delete job request.

func (*DeleteJobRequest) Descriptor deprecated

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

type 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 deprecated

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

type DeviceInfo

type DeviceInfo struct {

	// Type of the device.
	DeviceType DeviceInfo_DeviceType `` /* 142-byte string literal not displayed */
	// A device-specific ID. The ID must be a unique identifier that
	// distinguishes the device from other devices.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

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 deprecated

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

type DeviceInfo_DeviceType

type DeviceInfo_DeviceType int32

An enumeration describing an API access portal and exposure mechanism.

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) Enum

func (DeviceInfo_DeviceType) EnumDescriptor deprecated

func (DeviceInfo_DeviceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DeviceInfo_DeviceType.Descriptor instead.

func (DeviceInfo_DeviceType) Number

func (DeviceInfo_DeviceType) String

func (x DeviceInfo_DeviceType) String() string

func (DeviceInfo_DeviceType) Type

type EmploymentType

type EmploymentType int32

An enum that represents the employment type of a job.

const (
	// The default value if the employment type isn't specified.
	EmploymentType_EMPLOYMENT_TYPE_UNSPECIFIED EmploymentType = 0
	// The job requires working a number of hours that constitute full
	// time employment, typically 40 or more hours per week.
	EmploymentType_FULL_TIME EmploymentType = 1
	// The job entails working fewer hours than a full time job,
	// typically less than 40 hours a week.
	EmploymentType_PART_TIME EmploymentType = 2
	// The job is offered as a contracted, as opposed to a salaried employee,
	// position.
	EmploymentType_CONTRACTOR EmploymentType = 3
	// The job is offered as a contracted position with the understanding
	// that it's converted into a full-time position at the end of the
	// contract. Jobs of this type are also returned by a search for
	// [EmploymentType.CONTRACTOR][google.cloud.talent.v4.EmploymentType.CONTRACTOR] jobs.
	EmploymentType_CONTRACT_TO_HIRE EmploymentType = 4
	// The job is offered as a temporary employment opportunity, usually
	// a short-term engagement.
	EmploymentType_TEMPORARY EmploymentType = 5
	// The job is a fixed-term opportunity for students or entry-level job
	// seekers to obtain on-the-job training, typically offered as a summer
	// position.
	EmploymentType_INTERN EmploymentType = 6
	// The is an opportunity for an individual to volunteer, where there's no
	// expectation of compensation for the provided services.
	EmploymentType_VOLUNTEER EmploymentType = 7
	// The job requires an employee to work on an as-needed basis with a
	// flexible schedule.
	EmploymentType_PER_DIEM EmploymentType = 8
	// The job involves employing people in remote areas and flying them
	// temporarily to the work site instead of relocating employees and their
	// families permanently.
	EmploymentType_FLY_IN_FLY_OUT EmploymentType = 9
	// The job does not fit any of the other listed types.
	EmploymentType_OTHER_EMPLOYMENT_TYPE EmploymentType = 10
)

func (EmploymentType) Descriptor

func (EmploymentType) Enum

func (x EmploymentType) Enum() *EmploymentType

func (EmploymentType) EnumDescriptor deprecated

func (EmploymentType) EnumDescriptor() ([]byte, []int)

Deprecated: Use EmploymentType.Descriptor instead.

func (EmploymentType) Number

func (EmploymentType) String

func (x EmploymentType) String() string

func (EmploymentType) Type

type 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.

type 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.

type GetCompanyRequest

type GetCompanyRequest struct {

	// Required. The resource name of the company to be retrieved.
	//
	// The format is
	// "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
	// example, "projects/api-test-project/tenants/foo/companies/bar".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request for getting a company by name.

func (*GetCompanyRequest) Descriptor deprecated

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

type GetJobRequest

type GetJobRequest struct {

	// Required. The resource name of the job to retrieve.
	//
	// The format is
	// "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
	// example, "projects/foo/tenants/bar/jobs/baz".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Get job request.

func (*GetJobRequest) Descriptor deprecated

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

type 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 deprecated

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

type HistogramQuery

type HistogramQuery struct {

	// An expression specifies a histogram request against matching jobs for
	// searches.
	//
	// See [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries] for details about syntax.
	HistogramQuery string `protobuf:"bytes,1,opt,name=histogram_query,json=histogramQuery,proto3" json:"histogram_query,omitempty"`
	// contains filtered or unexported fields
}

The histogram request.

func (*HistogramQuery) Descriptor deprecated

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

type HistogramQueryResult

type HistogramQueryResult struct {

	// Requested histogram expression.
	HistogramQuery string `protobuf:"bytes,1,opt,name=histogram_query,json=histogramQuery,proto3" json:"histogram_query,omitempty"`
	// A map from the values of the facet associated with distinct values to the
	// number of matching entries with corresponding value.
	//
	// The key format is:
	//
	// * (for string histogram) string values stored in the field.
	// * (for named numeric bucket) name specified in `bucket()` function, like
	//   for `bucket(0, MAX, "non-negative")`, the key will be `non-negative`.
	// * (for anonymous numeric bucket) range formatted as `<low>-<high>`, for
	//   example, `0-1000`, `MIN-0`, and `0-MAX`.
	Histogram map[string]int64 `` /* 160-byte string literal not displayed */
	// contains filtered or unexported fields
}

Histogram result that matches HistogramQuery[google.cloud.talent.v4.HistogramQuery] specified in searches.

func (*HistogramQueryResult) Descriptor deprecated

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

type 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.

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) Enum

func (HtmlSanitization) EnumDescriptor deprecated

func (HtmlSanitization) EnumDescriptor() ([]byte, []int)

Deprecated: Use HtmlSanitization.Descriptor instead.

func (HtmlSanitization) Number

func (HtmlSanitization) String

func (x HtmlSanitization) String() string

func (HtmlSanitization) Type

type Job

type Job struct {

	// Required during job update.
	//
	// The resource name for the job. This is generated by the service when a
	// job is created.
	//
	// The format is
	// "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
	// example, "projects/foo/tenants/bar/jobs/baz".
	//
	// Use of this field in job queries and API calls is preferred over the use of
	// [requisition_id][google.cloud.talent.v4.Job.requisition_id] since this value is unique.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The resource name of the company listing the job.
	//
	// The format is
	// "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}". For
	// example, "projects/foo/tenants/bar/companies/baz".
	Company string `protobuf:"bytes,2,opt,name=company,proto3" json:"company,omitempty"`
	// Required. The requisition ID, also referred to as the posting ID, is assigned by the
	// client to identify a job. This field is intended to be used by clients
	// for client identification and tracking of postings. A job isn't allowed
	// to be created if there is another job with the same [company][google.cloud.talent.v4.Job.name],
	// [language_code][google.cloud.talent.v4.Job.language_code] and [requisition_id][google.cloud.talent.v4.Job.requisition_id].
	//
	// The maximum number of allowed characters is 255.
	RequisitionId string `protobuf:"bytes,3,opt,name=requisition_id,json=requisitionId,proto3" json:"requisition_id,omitempty"`
	// Required. The title of the job, such as "Software Engineer"
	//
	// The maximum number of allowed characters is 500.
	Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
	// Required. The description of the job, which typically includes a multi-paragraph
	// description of the company and related information. Separate fields are
	// provided on the job object for [responsibilities][google.cloud.talent.v4.Job.responsibilities],
	// [qualifications][google.cloud.talent.v4.Job.qualifications], and other job characteristics. Use of
	// these separate job fields is recommended.
	//
	// 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 100,000.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Strongly recommended for the best service experience.
	//
	// Location(s) where the employer is looking to hire for this job posting.
	//
	// Specifying the full street address(es) of the hiring location enables
	// better API results, especially job searches by commute time.
	//
	// At most 50 locations are allowed for best search performance. If a job has
	// more locations, it is suggested to split it into multiple jobs with unique
	// [requisition_id][google.cloud.talent.v4.Job.requisition_id]s (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as
	// multiple jobs with the same [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code] and
	// [requisition_id][google.cloud.talent.v4.Job.requisition_id] are not allowed. If the original [requisition_id][google.cloud.talent.v4.Job.requisition_id] must
	// be preserved, a custom field should be used for storage. It is also
	// suggested to group the locations that close to each other in the same job
	// for better search experience.
	//
	// Jobs with multiple addresses must have their addresses with the same
	// [LocationType][] to allow location filtering to work properly. (For
	// example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View,
	// CA, USA" and "London, UK" may not have location filters applied correctly
	// at search time since the first is a [LocationType.STREET_ADDRESS][] and the
	// second is a [LocationType.LOCALITY][].) If a job needs to have multiple
	// addresses, it is suggested to split it into multiple jobs with same
	// LocationTypes.
	//
	// The maximum number of allowed characters is 500.
	Addresses []string `protobuf:"bytes,6,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// Job application information.
	ApplicationInfo *Job_ApplicationInfo `protobuf:"bytes,7,opt,name=application_info,json=applicationInfo,proto3" json:"application_info,omitempty"`
	// The benefits included with the job.
	JobBenefits []JobBenefit `` /* 141-byte string literal not displayed */
	// Job compensation information (a.k.a. "pay rate") i.e., the compensation
	// that will paid to the employee.
	CompensationInfo *CompensationInfo `protobuf:"bytes,9,opt,name=compensation_info,json=compensationInfo,proto3" json:"compensation_info,omitempty"`
	// A map of fields to hold both filterable and non-filterable custom job
	// attributes that are not covered by the provided structured fields.
	//
	// The keys of the map are strings up to 64 bytes and must match the
	// pattern: `[a-zA-Z][a-zA-Z0-9_]*`. For example, key0LikeThis or
	// KEY_1_LIKE_THIS.
	//
	// At most 100 filterable and at most 100 unfilterable keys are supported.
	// For filterable `string_values`, across all keys at most 200 values are
	// allowed, with each string no more than 255 characters. For unfilterable
	// `string_values`, the maximum total size of `string_values` across all keys
	// is 50KB.
	CustomAttributes map[string]*CustomAttribute `` /* 198-byte string literal not displayed */
	// The desired education degrees for the job, such as Bachelors, Masters.
	DegreeTypes []DegreeType `` /* 142-byte string literal not displayed */
	// The department or functional area within the company with the open
	// position.
	//
	// The maximum number of allowed characters is 255.
	Department string `protobuf:"bytes,12,opt,name=department,proto3" json:"department,omitempty"`
	// The employment type(s) of a job, for example,
	// [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
	// [part time][google.cloud.talent.v4.EmploymentType.PART_TIME].
	EmploymentTypes []EmploymentType `` /* 158-byte string literal not displayed */
	// A description of bonus, commission, and other compensation
	// incentives associated with the job not including salary or pay.
	//
	// The maximum number of allowed characters is 10,000.
	Incentives string `protobuf:"bytes,14,opt,name=incentives,proto3" json:"incentives,omitempty"`
	// The language of the posting. This field is distinct from
	// any requirements for fluency that are associated with the job.
	//
	// Language codes must be in BCP-47 format, such as "en-US" or "sr-Latn".
	// For more information, see
	// [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47){:
	// class="external" target="_blank" }.
	//
	// If this field is unspecified and [Job.description][google.cloud.talent.v4.Job.description] is present, detected
	// language code based on [Job.description][google.cloud.talent.v4.Job.description] is assigned, otherwise
	// defaults to 'en_US'.
	LanguageCode string `protobuf:"bytes,15,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	// The experience level associated with the job, such as "Entry Level".
	JobLevel JobLevel `protobuf:"varint,16,opt,name=job_level,json=jobLevel,proto3,enum=google.cloud.talent.v4.JobLevel" json:"job_level,omitempty"`
	// A promotion value of the job, as determined by the client.
	// The value determines the sort order of the jobs returned when searching for
	// jobs using the featured jobs search call, with higher promotional values
	// being returned first and ties being resolved by relevance sort. Only the
	// jobs with a promotionValue >0 are returned in a FEATURED_JOB_SEARCH.
	//
	// Default value is 0, and negative values are treated as 0.
	PromotionValue int32 `protobuf:"varint,17,opt,name=promotion_value,json=promotionValue,proto3" json:"promotion_value,omitempty"`
	// A description of the qualifications required to perform the
	// job. The use of this field is recommended
	// as an alternative to using the more general [description][google.cloud.talent.v4.Job.description] field.
	//
	// 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 10,000.
	Qualifications string `protobuf:"bytes,18,opt,name=qualifications,proto3" json:"qualifications,omitempty"`
	// A description of job responsibilities. The use of this field is
	// recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
	// field.
	//
	// 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 10,000.
	Responsibilities string `protobuf:"bytes,19,opt,name=responsibilities,proto3" json:"responsibilities,omitempty"`
	// The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
	// which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
	// in a search query within the job region finds this job posting if an
	// exact location match isn't specified. If this field is set to
	// [PostingRegion.NATION][google.cloud.talent.v4.PostingRegion.NATION] or [PostingRegion.ADMINISTRATIVE_AREA][google.cloud.talent.v4.PostingRegion.ADMINISTRATIVE_AREA],
	// setting job [Job.addresses][google.cloud.talent.v4.Job.addresses] to the same location level as this field
	// is strongly recommended.
	PostingRegion PostingRegion `` /* 144-byte string literal not displayed */
	// Deprecated. The job is only visible to the owner.
	//
	// The visibility of the job.
	//
	// Defaults to [Visibility.ACCOUNT_ONLY][google.cloud.talent.v4.Visibility.ACCOUNT_ONLY] if not specified.
	//
	// Deprecated: Do not use.
	Visibility Visibility `protobuf:"varint,21,opt,name=visibility,proto3,enum=google.cloud.talent.v4.Visibility" json:"visibility,omitempty"`
	// The start timestamp of the job in UTC time zone. Typically this field
	// is used for contracting engagements. Invalid timestamps are ignored.
	JobStartTime *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=job_start_time,json=jobStartTime,proto3" json:"job_start_time,omitempty"`
	// The end timestamp of the job. Typically this field is used for contracting
	// engagements. Invalid timestamps are ignored.
	JobEndTime *timestamppb.Timestamp `protobuf:"bytes,23,opt,name=job_end_time,json=jobEndTime,proto3" json:"job_end_time,omitempty"`
	// The timestamp this job posting was most recently published. The default
	// value is the time the request arrives at the server. Invalid timestamps are
	// ignored.
	PostingPublishTime *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=posting_publish_time,json=postingPublishTime,proto3" json:"posting_publish_time,omitempty"`
	// Strongly recommended for the best service experience.
	//
	// The expiration timestamp of the job. After this timestamp, the
	// job is marked as expired, and it no longer appears in search results. The
	// expired job can't be listed by the [ListJobs][google.cloud.talent.v4.JobService.ListJobs] API,
	// but it can be retrieved with the [GetJob][google.cloud.talent.v4.JobService.GetJob] API or
	// updated with the [UpdateJob][google.cloud.talent.v4.JobService.UpdateJob] API or deleted with
	// the [DeleteJob][google.cloud.talent.v4.JobService.DeleteJob] API. An expired job can
	// be updated and opened again by using a future expiration timestamp.
	// Updating an expired job fails if there is another existing open job with
	// same [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code] and [requisition_id][google.cloud.talent.v4.Job.requisition_id].
	//
	// The expired jobs are retained in our system for 90 days. However, the
	// overall expired job count cannot exceed 3 times the maximum number of
	// open jobs over previous 7 days. If this threshold is exceeded,
	// expired jobs are cleaned out in order of earliest expire time.
	// Expired jobs are no longer accessible after they are cleaned
	// out.
	//
	// Invalid timestamps are ignored, and treated as expire time not provided.
	//
	// If the timestamp is before the instant request is made, the job
	// is treated as expired immediately on creation. This kind of job can
	// not be updated. And when creating a job with past timestamp, the
	// [posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] must be set before
	// [posting_expire_time][google.cloud.talent.v4.Job.posting_expire_time]. The purpose of this feature is
	// to allow other objects, such as [Application][], to refer a job
	// that didn't exist in the system prior to becoming expired. If you
	// want to modify a job that was expired on creation,
	// delete it and create a new one.
	//
	// If this value isn't provided at the time of job creation or is invalid,
	// the job posting expires after 30 days from the job's creation time. For
	// example, if the job was created on 2017/01/01 13:00AM UTC with an
	// unspecified expiration date, the job expires after 2017/01/31 13:00AM UTC.
	//
	// If this value isn't provided on job update, it depends on the field masks
	// set by [UpdateJobRequest.update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask]. If the field masks include
	// [job_end_time][google.cloud.talent.v4.Job.job_end_time], or the masks are empty meaning that every field is
	// updated, the job posting expires after 30 days from the job's last
	// update time. Otherwise the expiration date isn't updated.
	PostingExpireTime *timestamppb.Timestamp `protobuf:"bytes,25,opt,name=posting_expire_time,json=postingExpireTime,proto3" json:"posting_expire_time,omitempty"`
	// Output only. The timestamp when this job posting was created.
	PostingCreateTime *timestamppb.Timestamp `protobuf:"bytes,26,opt,name=posting_create_time,json=postingCreateTime,proto3" json:"posting_create_time,omitempty"`
	// Output only. The timestamp when this job posting was last updated.
	PostingUpdateTime *timestamppb.Timestamp `protobuf:"bytes,27,opt,name=posting_update_time,json=postingUpdateTime,proto3" json:"posting_update_time,omitempty"`
	// Output only. Display name of the company listing the job.
	CompanyDisplayName string `protobuf:"bytes,28,opt,name=company_display_name,json=companyDisplayName,proto3" json:"company_display_name,omitempty"`
	// Output only. Derived details about the job posting.
	DerivedInfo *Job_DerivedInfo `protobuf:"bytes,29,opt,name=derived_info,json=derivedInfo,proto3" json:"derived_info,omitempty"`
	// Options for job processing.
	ProcessingOptions *Job_ProcessingOptions `protobuf:"bytes,30,opt,name=processing_options,json=processingOptions,proto3" json:"processing_options,omitempty"`
	// contains filtered or unexported fields
}

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.v4.Company], which is the hiring entity responsible for the job.

func (*Job) Descriptor deprecated

func (*Job) Descriptor() ([]byte, []int)

Deprecated: Use Job.ProtoReflect.Descriptor instead.

func (*Job) GetAddresses

func (x *Job) GetAddresses() []string

func (*Job) GetApplicationInfo

func (x *Job) GetApplicationInfo() *Job_ApplicationInfo

func (*Job) GetCompany

func (x *Job) GetCompany() string

func (*Job) GetCompanyDisplayName

func (x *Job) GetCompanyDisplayName() string

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 (x *Job) GetDepartment() string

func (*Job) GetDerivedInfo

func (x *Job) GetDerivedInfo() *Job_DerivedInfo

func (*Job) GetDescription

func (x *Job) GetDescription() string

func (*Job) GetEmploymentTypes

func (x *Job) GetEmploymentTypes() []EmploymentType

func (*Job) GetIncentives

func (x *Job) GetIncentives() string

func (*Job) GetJobBenefits

func (x *Job) GetJobBenefits() []JobBenefit

func (*Job) GetJobEndTime

func (x *Job) GetJobEndTime() *timestamppb.Timestamp

func (*Job) GetJobLevel

func (x *Job) GetJobLevel() JobLevel

func (*Job) GetJobStartTime

func (x *Job) GetJobStartTime() *timestamppb.Timestamp

func (*Job) GetLanguageCode

func (x *Job) GetLanguageCode() string

func (*Job) GetName

func (x *Job) GetName() string

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 (x *Job) GetPromotionValue() int32

func (*Job) GetQualifications

func (x *Job) GetQualifications() string

func (*Job) GetRequisitionId

func (x *Job) GetRequisitionId() string

func (*Job) GetResponsibilities

func (x *Job) GetResponsibilities() string

func (*Job) GetTitle

func (x *Job) GetTitle() string

func (*Job) GetVisibility deprecated

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

func (x *Job) String() string

type JobBenefit

type JobBenefit int32

An enum that represents employee benefits included with the job.

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 deprecated

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

type 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.

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) Enum

func (x JobCategory) Enum() *JobCategory

func (JobCategory) EnumDescriptor deprecated

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

type JobEvent

type JobEvent struct {

	// Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
	Type JobEvent_JobEventType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.talent.v4.JobEvent_JobEventType" json:"type,omitempty"`
	// Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
	// For example, if this is an [impression][google.cloud.talent.v4.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.v4.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"`
	// 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

func (*JobEvent) Descriptor() ([]byte, []int)

Deprecated: Use JobEvent.ProtoReflect.Descriptor instead.

func (*JobEvent) GetJobs

func (x *JobEvent) GetJobs() []string

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

func (x *JobEvent) String() string

type JobEvent_JobEventType

type JobEvent_JobEventType int32

An enumeration of an event attributed to the behavior of the end user, such as a job seeker.

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.v4.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.v4.JobEvent.JobEventType.APPLICATION_START] or [JobEventType.APPLICATION_FINISH][google.cloud.talent.v4.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.v4.JobEvent.JobEventType.APPLICATION_START],
	// [JobEventType.APPLICATION_FINISH][google.cloud.talent.v4.JobEvent.JobEventType.APPLICATION_FINISH] or [JobEventType.VIEW][google.cloud.talent.v4.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) Enum

func (JobEvent_JobEventType) EnumDescriptor deprecated

func (JobEvent_JobEventType) EnumDescriptor() ([]byte, []int)

Deprecated: Use JobEvent_JobEventType.Descriptor instead.

func (JobEvent_JobEventType) Number

func (JobEvent_JobEventType) String

func (x JobEvent_JobEventType) String() string

func (JobEvent_JobEventType) Type

type JobLevel

type JobLevel int32

An enum that represents the required experience level required for the job.

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 (x JobLevel) Enum() *JobLevel

func (JobLevel) EnumDescriptor deprecated

func (JobLevel) EnumDescriptor() ([]byte, []int)

Deprecated: Use JobLevel.Descriptor instead.

func (JobLevel) Number

func (x JobLevel) Number() protoreflect.EnumNumber

func (JobLevel) String

func (x JobLevel) String() string

func (JobLevel) Type

type JobQuery

type JobQuery struct {

	// The query string that matches against the job title, description, and
	// location fields.
	//
	// The maximum number of allowed characters is 255.
	Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
	// better interpret the query.
	//
	// If a value isn't specified, the query language code is automatically
	// detected, which may not be accurate.
	//
	// Language code should be in BCP-47 format, such as "en-US" or "sr-Latn".
	// For more information, see
	// [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
	QueryLanguageCode string `protobuf:"bytes,14,opt,name=query_language_code,json=queryLanguageCode,proto3" json:"query_language_code,omitempty"`
	// This filter specifies the company entities to search against.
	//
	// If a value isn't specified, jobs are searched for against all
	// companies.
	//
	// If multiple values are specified, jobs are searched against the
	// companies specified.
	//
	// The format is
	// "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}". For
	// example, "projects/foo/tenants/bar/companies/baz".
	//
	// At most 20 company filters are allowed.
	Companies []string `protobuf:"bytes,2,rep,name=companies,proto3" json:"companies,omitempty"`
	// The location filter specifies geo-regions containing the jobs to
	// search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
	//
	// If a location value isn't specified, jobs fitting the other search
	// criteria are retrieved regardless of where they're located.
	//
	// If multiple values are specified, jobs are retrieved from any of the
	// specified locations. If different values are specified for the
	// [LocationFilter.distance_in_miles][google.cloud.talent.v4.LocationFilter.distance_in_miles] parameter, the maximum provided
	// distance is used for all locations.
	//
	// At most 5 location filters are allowed.
	LocationFilters []*LocationFilter `protobuf:"bytes,3,rep,name=location_filters,json=locationFilters,proto3" json:"location_filters,omitempty"`
	// The category filter specifies the categories of jobs to search against.
	// See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
	//
	// If a value isn't specified, jobs from any category are searched against.
	//
	// If multiple values are specified, jobs from any of the specified
	// categories are searched against.
	JobCategories []JobCategory `` /* 148-byte string literal not displayed */
	// Allows filtering jobs by commute time with different travel methods (for
	//  example, driving or public transit).
	//
	// Note: This only works when you specify a [CommuteMethod][google.cloud.talent.v4.CommuteMethod]. In this case,
	// [location_filters][google.cloud.talent.v4.JobQuery.location_filters] is ignored.
	//
	//  Currently we don't support sorting by commute time.
	CommuteFilter *CommuteFilter `protobuf:"bytes,5,opt,name=commute_filter,json=commuteFilter,proto3" json:"commute_filter,omitempty"`
	// This filter specifies the exact company [Company.display_name][google.cloud.talent.v4.Company.display_name]
	// of the jobs to search against.
	//
	// If a value isn't specified, jobs within the search results are
	// associated with any company.
	//
	// If multiple values are specified, jobs within the search results may be
	// associated with any of the specified companies.
	//
	// At most 20 company display name filters are allowed.
	CompanyDisplayNames []string `protobuf:"bytes,6,rep,name=company_display_names,json=companyDisplayNames,proto3" json:"company_display_names,omitempty"`
	// This search filter is applied only to
	// [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
	// as "Hourly job with per-hour compensation > $15", only jobs meeting
	// these criteria are searched. If a filter isn't defined, all open jobs
	// are searched.
	CompensationFilter *CompensationFilter `protobuf:"bytes,7,opt,name=compensation_filter,json=compensationFilter,proto3" json:"compensation_filter,omitempty"`
	// This filter specifies a structured syntax to match against the
	// [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
	//
	// The syntax for this expression is a subset of SQL syntax.
	//
	// Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where the
	// left of the operator is a custom field key and the right of the operator
	// is a number or a quoted string. You must escape backslash (\\) and
	// quote (\") characters.
	//
	// Supported functions are `LOWER([field_name])` to
	// perform a case insensitive match and `EMPTY([field_name])` to filter on the
	// existence of a key.
	//
	// Boolean expressions (AND/OR/NOT) are supported up to 3 levels of
	// nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100
	// comparisons or functions are allowed in the expression. The expression
	// must be < 10000 bytes in length.
	//
	// Sample Query:
	// `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND
	// driving_years > 10`
	CustomAttributeFilter string `` /* 126-byte string literal not displayed */
	// This flag controls the spell-check feature. If false, the
	// service attempts to correct a misspelled query,
	// for example, "enginee" is corrected to "engineer".
	//
	// Defaults to false: a spell check is performed.
	DisableSpellCheck bool `protobuf:"varint,9,opt,name=disable_spell_check,json=disableSpellCheck,proto3" json:"disable_spell_check,omitempty"`
	// The employment type filter specifies the employment type of jobs to
	// search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
	//
	// If a value isn't specified, jobs in the search results includes any
	// employment type.
	//
	// If multiple values are specified, jobs in the search results include
	// any of the specified employment types.
	EmploymentTypes []EmploymentType `` /* 158-byte string literal not displayed */
	// This filter specifies the locale of jobs to search against,
	// for example, "en-US".
	//
	// If a value isn't specified, the search results can contain jobs in any
	// locale.
	//
	//
	// Language codes should be in BCP-47 format, such as "en-US" or "sr-Latn".
	// For more information, see
	// [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
	//
	// At most 10 language code filters are allowed.
	LanguageCodes []string `protobuf:"bytes,11,rep,name=language_codes,json=languageCodes,proto3" json:"language_codes,omitempty"`
	// Jobs published within a range specified by this filter are searched
	// against.
	PublishTimeRange *TimestampRange `protobuf:"bytes,12,opt,name=publish_time_range,json=publishTimeRange,proto3" json:"publish_time_range,omitempty"`
	// This filter specifies a list of job names to be excluded during search.
	//
	// At most 400 excluded job names are allowed.
	ExcludedJobs []string `protobuf:"bytes,13,rep,name=excluded_jobs,json=excludedJobs,proto3" json:"excluded_jobs,omitempty"`
	// contains filtered or unexported fields
}

The query required to perform a search query.

func (*JobQuery) Descriptor deprecated

func (*JobQuery) Descriptor() ([]byte, []int)

Deprecated: Use JobQuery.ProtoReflect.Descriptor instead.

func (*JobQuery) GetCommuteFilter

func (x *JobQuery) GetCommuteFilter() *CommuteFilter

func (*JobQuery) GetCompanies

func (x *JobQuery) GetCompanies() []string

func (*JobQuery) GetCompanyDisplayNames

func (x *JobQuery) GetCompanyDisplayNames() []string

func (*JobQuery) GetCompensationFilter

func (x *JobQuery) GetCompensationFilter() *CompensationFilter

func (*JobQuery) GetCustomAttributeFilter

func (x *JobQuery) GetCustomAttributeFilter() string

func (*JobQuery) GetDisableSpellCheck

func (x *JobQuery) GetDisableSpellCheck() bool

func (*JobQuery) GetEmploymentTypes

func (x *JobQuery) GetEmploymentTypes() []EmploymentType

func (*JobQuery) GetExcludedJobs

func (x *JobQuery) GetExcludedJobs() []string

func (*JobQuery) GetJobCategories

func (x *JobQuery) GetJobCategories() []JobCategory

func (*JobQuery) GetLanguageCodes

func (x *JobQuery) GetLanguageCodes() []string

func (*JobQuery) GetLocationFilters

func (x *JobQuery) GetLocationFilters() []*LocationFilter

func (*JobQuery) GetPublishTimeRange

func (x *JobQuery) GetPublishTimeRange() *TimestampRange

func (*JobQuery) GetQuery

func (x *JobQuery) GetQuery() string

func (*JobQuery) GetQueryLanguageCode

func (x *JobQuery) GetQueryLanguageCode() string

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

func (x *JobQuery) String() string

type JobResult

type JobResult struct {

	// Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
	// [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
	// and [requisition_id][google.cloud.talent.v4.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.v4.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 from a batch operation.

func (*JobResult) Descriptor deprecated

func (*JobResult) Descriptor() ([]byte, []int)

Deprecated: Use JobResult.ProtoReflect.Descriptor instead.

func (*JobResult) GetJob

func (x *JobResult) GetJob() *Job

func (*JobResult) GetStatus

func (x *JobResult) GetStatus() *status.Status

func (*JobResult) ProtoMessage

func (*JobResult) ProtoMessage()

func (*JobResult) ProtoReflect

func (x *JobResult) ProtoReflect() protoreflect.Message

func (*JobResult) Reset

func (x *JobResult) Reset()

func (*JobResult) String

func (x *JobResult) String() string

type 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)
	// Begins executing a batch delete jobs operation.
	BatchDeleteJobs(ctx context.Context, in *BatchDeleteJobsRequest, opts ...grpc.CallOption) (*longrunning.Operation, 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.v4.SearchJobsRequest].
	//
	// This call constrains the [visibility][google.cloud.talent.v4.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.v4.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), it has different algorithmic
	// adjustments that are designed to specifically target passive job seekers.
	//
	// This call constrains the [visibility][google.cloud.talent.v4.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

type 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)
	// Begins executing a batch delete jobs operation.
	BatchDeleteJobs(context.Context, *BatchDeleteJobsRequest) (*longrunning.Operation, error)
	// Lists jobs by filter.
	ListJobs(context.Context, *ListJobsRequest) (*ListJobsResponse, error)
	// Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
	//
	// This call constrains the [visibility][google.cloud.talent.v4.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.v4.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), it has different algorithmic
	// adjustments that are designed to specifically target passive job seekers.
	//
	// This call constrains the [visibility][google.cloud.talent.v4.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.

type JobView

type JobView int32

An enum that specifies the job attributes that are returned in the [MatchingJob.job][google.cloud.talent.v4.SearchJobsResponse.MatchingJob.job] or [ListJobsResponse.jobs][google.cloud.talent.v4.ListJobsResponse.jobs] fields.

const (
	// Default value.
	JobView_JOB_VIEW_UNSPECIFIED JobView = 0
	// A ID only view of job, with following attributes:
	// [Job.name][google.cloud.talent.v4.Job.name], [Job.requisition_id][google.cloud.talent.v4.Job.requisition_id], [Job.language_code][google.cloud.talent.v4.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.v4.Job.name], [Job.requisition_id][google.cloud.talent.v4.Job.requisition_id], [Job.title][google.cloud.talent.v4.Job.title],
	// [Job.company][google.cloud.talent.v4.Job.company], [Job.DerivedInfo.locations][google.cloud.talent.v4.Job.DerivedInfo.locations], [Job.language_code][google.cloud.talent.v4.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.v4.Job.name], [Job.requisition_id][google.cloud.talent.v4.Job.requisition_id], [Job.title][google.cloud.talent.v4.Job.title],
	// [Job.company][google.cloud.talent.v4.Job.company], [Job.DerivedInfo.locations][google.cloud.talent.v4.Job.DerivedInfo.locations], [Job.visibility][google.cloud.talent.v4.Job.visibility],
	// [Job.language_code][google.cloud.talent.v4.Job.language_code], [Job.description][google.cloud.talent.v4.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 (x JobView) Enum() *JobView

func (JobView) EnumDescriptor deprecated

func (JobView) EnumDescriptor() ([]byte, []int)

Deprecated: Use JobView.Descriptor instead.

func (JobView) Number

func (x JobView) Number() protoreflect.EnumNumber

func (JobView) String

func (x JobView) String() string

func (JobView) Type

func (JobView) Type() protoreflect.EnumType

type 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 deprecated

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

type Job_DerivedInfo

type Job_DerivedInfo struct {

	// Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
	//
	// [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
	// order.
	Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"`
	// Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
	JobCategories []JobCategory `` /* 148-byte string literal not displayed */
	// contains filtered or unexported fields
}

Derived details about the job posting.

func (*Job_DerivedInfo) Descriptor deprecated

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

type Job_ProcessingOptions

type Job_ProcessingOptions struct {

	// If set to `true`, the service does not attempt to resolve a
	// more precise address for the job.
	DisableStreetAddressResolution bool `` /* 156-byte string literal not displayed */
	// Option for job HTML content sanitization. Applied fields are:
	//
	// * description
	// * applicationInfo.instruction
	// * incentives
	// * qualifications
	// * responsibilities
	//
	// HTML tags in these fields may be stripped if sanitiazation isn't
	// disabled.
	//
	// Defaults to [HtmlSanitization.SIMPLE_FORMATTING_ONLY][google.cloud.talent.v4.HtmlSanitization.SIMPLE_FORMATTING_ONLY].
	HtmlSanitization HtmlSanitization `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

Options for job processing.

func (*Job_ProcessingOptions) Descriptor deprecated

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

type 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/tenants/bar".
	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.v4.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 deprecated

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

type 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 deprecated

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

type 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/tenants/bar".
	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.v4.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4.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.v4.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.v4.JobView" json:"job_view,omitempty"`
	// contains filtered or unexported fields
}

List jobs request.

func (*ListJobsRequest) Descriptor deprecated

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

type 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 deprecated

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

type 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 deprecated

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

type 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 deprecated

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

type Location

type Location struct {

	// The type of a location, which corresponds to the address lines field of
	// [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
	// has a type of [LocationType.NEIGHBORHOOD][google.cloud.talent.v4.Location.LocationType.NEIGHBORHOOD], and "Kansas City, KS, USA"
	// has a type of [LocationType.LOCALITY][google.cloud.talent.v4.Location.LocationType.LOCALITY].
	LocationType Location_LocationType `` /* 148-byte string literal not displayed */
	// Postal address of the location that includes human readable information,
	// such as postal delivery and payments addresses. Given a postal address,
	// a postal service can deliver items to a premises, P.O. Box, or other
	// delivery location.
	PostalAddress *postaladdress.PostalAddress `protobuf:"bytes,2,opt,name=postal_address,json=postalAddress,proto3" json:"postal_address,omitempty"`
	// An object representing a latitude/longitude pair.
	LatLng *latlng.LatLng `protobuf:"bytes,3,opt,name=lat_lng,json=latLng,proto3" json:"lat_lng,omitempty"`
	// Radius in miles of the job location. This value is derived from the
	// location bounding box in which a circle with the specified radius
	// centered from [google.type.LatLng][google.type.LatLng] covers the area associated with the
	// job location.
	// For example, currently, "Mountain View, CA, USA" has a radius of
	// 6.17 miles.
	RadiusMiles float64 `protobuf:"fixed64,4,opt,name=radius_miles,json=radiusMiles,proto3" json:"radius_miles,omitempty"`
	// contains filtered or unexported fields
}

A resource that represents a location with full geographic information.

func (*Location) Descriptor deprecated

func (*Location) Descriptor() ([]byte, []int)

Deprecated: Use Location.ProtoReflect.Descriptor instead.

func (*Location) GetLatLng

func (x *Location) GetLatLng() *latlng.LatLng

func (*Location) GetLocationType

func (x *Location) GetLocationType() Location_LocationType

func (*Location) GetPostalAddress

func (x *Location) GetPostalAddress() *postaladdress.PostalAddress

func (*Location) GetRadiusMiles

func (x *Location) GetRadiusMiles() float64

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

func (x *Location) String() string

type LocationFilter

type LocationFilter struct {

	// The address name, such as "Mountain View" or "Bay Area".
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// CLDR region code of the country/region. This field may be used in two ways:
	//
	// 1) If telecommute preference is not set, this field is used address
	// ambiguity of the user-input address. For example, "Liverpool" may refer to
	// "Liverpool, NY, US" or "Liverpool, UK". This region code biases the
	// address resolution toward a specific country or territory. If this field is
	// not set, address resolution is biased toward the United States by default.
	//
	// 2) If telecommute preference is set to TELECOMMUTE_ALLOWED, the
	// telecommute location filter will be limited to the region specified in this
	// field. If this field is not set, the telecommute job locations will not be
	//
	// See
	// https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/territory_information.html
	// for details. Example: "CH" for Switzerland.
	RegionCode string `protobuf:"bytes,2,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
	// The latitude and longitude of the geographic center to search from. This
	// field is ignored if `address` is provided.
	LatLng *latlng.LatLng `protobuf:"bytes,3,opt,name=lat_lng,json=latLng,proto3" json:"lat_lng,omitempty"`
	// The distance_in_miles is applied when the location being searched for is
	// identified as a city or smaller. This field is ignored if the location
	// being searched for is a state or larger.
	DistanceInMiles float64 `protobuf:"fixed64,4,opt,name=distance_in_miles,json=distanceInMiles,proto3" json:"distance_in_miles,omitempty"`
	// Allows the client to return jobs without a
	// set location, specifically, telecommuting jobs (telecommuting is considered
	// by the service as a special location.
	// [Job.posting_region][google.cloud.talent.v4.Job.posting_region] indicates if a job permits telecommuting.
	// If this field is set to [TelecommutePreference.TELECOMMUTE_ALLOWED][google.cloud.talent.v4.LocationFilter.TelecommutePreference.TELECOMMUTE_ALLOWED],
	// telecommuting jobs are searched, and [address][google.cloud.talent.v4.LocationFilter.address] and [lat_lng][google.cloud.talent.v4.LocationFilter.lat_lng] are
	// ignored. If not set or set to
	// [TelecommutePreference.TELECOMMUTE_EXCLUDED][google.cloud.talent.v4.LocationFilter.TelecommutePreference.TELECOMMUTE_EXCLUDED], telecommute job are not
	// searched.
	//
	// This filter can be used by itself to search exclusively for telecommuting
	// jobs, or it can be combined with another location
	// filter to search for a combination of job locations,
	// such as "Mountain View" or "telecommuting" jobs. However, when used in
	// combination with other location filters, telecommuting jobs can be
	// treated as less relevant than other jobs in the search response.
	//
	// This field is only used for job search requests.
	TelecommutePreference LocationFilter_TelecommutePreference `` /* 190-byte string literal not displayed */
	// contains filtered or unexported fields
}

Geographic region of the search.

func (*LocationFilter) Descriptor deprecated

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) 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

type LocationFilter_TelecommutePreference

type LocationFilter_TelecommutePreference int32

Specify whether to include telecommute jobs.

const (
	// Default value if the telecommute preference isn't specified.
	LocationFilter_TELECOMMUTE_PREFERENCE_UNSPECIFIED LocationFilter_TelecommutePreference = 0
	// Exclude telecommute jobs.
	LocationFilter_TELECOMMUTE_EXCLUDED LocationFilter_TelecommutePreference = 1
	// Allow telecommute jobs.
	LocationFilter_TELECOMMUTE_ALLOWED LocationFilter_TelecommutePreference = 2
)

func (LocationFilter_TelecommutePreference) Descriptor

func (LocationFilter_TelecommutePreference) Enum

func (LocationFilter_TelecommutePreference) EnumDescriptor deprecated

func (LocationFilter_TelecommutePreference) EnumDescriptor() ([]byte, []int)

Deprecated: Use LocationFilter_TelecommutePreference.Descriptor instead.

func (LocationFilter_TelecommutePreference) Number

func (LocationFilter_TelecommutePreference) String

func (LocationFilter_TelecommutePreference) Type

type Location_LocationType

type Location_LocationType int32

An enum which represents the type of a location.

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) Enum

func (Location_LocationType) EnumDescriptor deprecated

func (Location_LocationType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Location_LocationType.Descriptor instead.

func (Location_LocationType) Number

func (Location_LocationType) String

func (x Location_LocationType) String() string

func (Location_LocationType) Type

type 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.

const (
	// If the region is unspecified, the job is only returned if it
	// matches the [LocationFilter][google.cloud.talent.v4.LocationFilter].
	PostingRegion_POSTING_REGION_UNSPECIFIED PostingRegion = 0
	// In addition to exact location matching, job posting is returned when the
	// [LocationFilter][google.cloud.talent.v4.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.v4.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.v4.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.v4.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) Enum

func (x PostingRegion) Enum() *PostingRegion

func (PostingRegion) EnumDescriptor deprecated

func (PostingRegion) EnumDescriptor() ([]byte, []int)

Deprecated: Use PostingRegion.Descriptor instead.

func (PostingRegion) Number

func (PostingRegion) String

func (x PostingRegion) String() string

func (PostingRegion) Type

type RequestMetadata

type RequestMetadata struct {

	// Required if [allow_missing_ids][google.cloud.talent.v4.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 <em>Foo, Inc.</em>, 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.v4.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.v4.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.v4.RequestMetadata.domain], [session_id][google.cloud.talent.v4.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4.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.v4.RequestMetadata.domain], [session_id][google.cloud.talent.v4.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4.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 deprecated

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

type 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 deprecated

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

type SearchJobsRequest

type SearchJobsRequest struct {

	// Required. The resource name of the tenant to search within.
	//
	// 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"`
	// Mode of a search.
	//
	// Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
	SearchMode SearchJobsRequest_SearchMode `` /* 149-byte string literal not displayed */
	// Required. The meta information collected about the job searcher, used to improve the
	// search quality of the service. The identifiers (such as `user_id`) are
	// provided by users, and must be unique and consistent.
	RequestMetadata *RequestMetadata `protobuf:"bytes,3,opt,name=request_metadata,json=requestMetadata,proto3" json:"request_metadata,omitempty"`
	// Query used to search against jobs, such as keyword, location filters, etc.
	JobQuery *JobQuery `protobuf:"bytes,4,opt,name=job_query,json=jobQuery,proto3" json:"job_query,omitempty"`
	// Controls whether to broaden the search when it produces sparse results.
	// Broadened queries append results to the end of the matching results
	// list.
	//
	// Defaults to false.
	EnableBroadening bool `protobuf:"varint,5,opt,name=enable_broadening,json=enableBroadening,proto3" json:"enable_broadening,omitempty"`
	// An expression specifies a histogram request against matching jobs.
	//
	// Expression syntax is an aggregation function call with histogram facets and
	// other options.
	//
	// Available aggregation function calls are:
	// * `count(string_histogram_facet)`: Count the number of matching entities,
	// for each distinct attribute value.
	// * `count(numeric_histogram_facet, list of buckets)`: Count the number of
	// matching entities within each bucket.
	//
	// Data types:
	//
	// * Histogram facet: facet names with format `[a-zA-Z][a-zA-Z0-9_]+`.
	// * String: string like "any string with backslash escape for quote(\")."
	// * Number: whole number and floating point number like 10, -1 and -0.01.
	// * List: list of elements with comma(,) separator surrounded by square
	// brackets, for example, [1, 2, 3] and ["one", "two", "three"].
	//
	// Built-in constants:
	//
	// * MIN (minimum number similar to java Double.MIN_VALUE)
	// * MAX (maximum number similar to java Double.MAX_VALUE)
	//
	// Built-in functions:
	//
	// * bucket(start, end[, label]): bucket built-in function creates a bucket
	// with range of [start, end). Note that the end is exclusive, for example,
	// bucket(1, MAX, "positive number") or bucket(1, 10).
	//
	// Job histogram facets:
	//
	// * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
	// * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
	//   "FULL_TIME", "PART_TIME".
	// * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
	// "MEDIUM", "BIG".
	// * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
	//   in days.
	//   Must specify list of numeric buckets in spec.
	// * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
	//   in months.
	//   Must specify list of numeric buckets in spec.
	// * publish_time_in_year: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
	//   in years.
	//   Must specify list of numeric buckets in spec.
	// * degree_types: histogram by the [Job.degree_types][google.cloud.talent.v4.Job.degree_types], for example,
	//   "Bachelors", "Masters".
	// * job_level: histogram by the [Job.job_level][google.cloud.talent.v4.Job.job_level], for example, "Entry
	//   Level".
	// * country: histogram by the country code of jobs, for example, "US", "FR".
	// * admin1: histogram by the admin1 code of jobs, which is a global
	//   placeholder referring to the state, province, or the particular term a
	//   country uses to define the geographic structure below the country level,
	//   for example, "CA", "IL".
	// * city: histogram by a combination of the "city name, admin1 code". For
	//   example,  "Mountain View, CA", "New York, NY".
	// * admin1_country: histogram by a combination of the "admin1 code, country",
	//   for example, "CA, US", "IL, US".
	// * city_coordinate: histogram by the city center's GPS coordinates (latitude
	//   and longitude), for example, 37.4038522,-122.0987765. Since the
	//   coordinates of a city center can change, customers may need to refresh
	//   them periodically.
	// * locale: histogram by the [Job.language_code][google.cloud.talent.v4.Job.language_code], for example, "en-US",
	//   "fr-FR".
	// * language: histogram by the language subtag of the [Job.language_code][google.cloud.talent.v4.Job.language_code],
	//   for example, "en", "fr".
	// * category: histogram by the [JobCategory][google.cloud.talent.v4.JobCategory], for example,
	//   "COMPUTER_AND_IT", "HEALTHCARE".
	// * base_compensation_unit: histogram by the
	//   [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit] of base
	//   salary, for example, "WEEKLY", "MONTHLY".
	// * base_compensation: histogram by the base salary. Must specify list of
	//   numeric buckets to group results by.
	// * annualized_base_compensation: histogram by the base annualized salary.
	//   Must specify list of numeric buckets to group results by.
	// * annualized_total_compensation: histogram by the total annualized salary.
	//   Must specify list of numeric buckets to group results by.
	// * string_custom_attribute: histogram by string [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes].
	//   Values can be accessed via square bracket notations like
	//   string_custom_attribute["key1"].
	// * numeric_custom_attribute: histogram by numeric [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes].
	//   Values can be accessed via square bracket notations like
	//   numeric_custom_attribute["key1"]. Must specify list of numeric buckets to
	//   group results by.
	//
	// Example expressions:
	//
	// * `count(admin1)`
	// * `count(base_compensation, [bucket(1000, 10000), bucket(10000, 100000),
	// bucket(100000, MAX)])`
	// * `count(string_custom_attribute["some-string-custom-attribute"])`
	// * `count(numeric_custom_attribute["some-numeric-custom-attribute"],
	//   [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])`
	HistogramQueries []*HistogramQuery `protobuf:"bytes,7,rep,name=histogram_queries,json=histogramQueries,proto3" json:"histogram_queries,omitempty"`
	// The desired job attributes returned for jobs in the search response.
	// Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
	JobView JobView `protobuf:"varint,8,opt,name=job_view,json=jobView,proto3,enum=google.cloud.talent.v4.JobView" json:"job_view,omitempty"`
	// An integer that specifies the current offset (that is, starting result
	// location, amongst the jobs deemed by the API as relevant) in search
	// results. This field is only considered if [page_token][google.cloud.talent.v4.SearchJobsRequest.page_token] is unset.
	//
	// The maximum allowed value is 5000. Otherwise an error is thrown.
	//
	// For example, 0 means to  return results starting from the first matching
	// job, and 10 means to return from the 11th job. This can be used for
	// pagination, (for example, pageSize = 10 and offset = 10 means to return
	// from the second page).
	Offset int32 `protobuf:"varint,9,opt,name=offset,proto3" json:"offset,omitempty"`
	// A limit on the number of jobs returned in the search results.
	// Increasing this value above the default value of 10 can increase search
	// response time. The value can be between 1 and 100.
	MaxPageSize int32 `protobuf:"varint,10,opt,name=max_page_size,json=maxPageSize,proto3" json:"max_page_size,omitempty"`
	// The token specifying the current offset within
	// search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
	// an explanation of how to obtain the next set of query results.
	PageToken string `protobuf:"bytes,11,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// The criteria determining how search results are sorted. Default is
	// `"relevance desc"`.
	//
	// Supported options are:
	//
	// * `"relevance desc"`: By relevance descending, as determined by the API
	//   algorithms. Relevance thresholding of query results is only available
	//   with this ordering.
	// * `"posting_publish_time desc"`: By [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
	//   descending.
	// * `"posting_update_time desc"`: By [Job.posting_update_time][google.cloud.talent.v4.Job.posting_update_time]
	//   descending.
	// * `"title"`: By [Job.title][google.cloud.talent.v4.Job.title] ascending.
	// * `"title desc"`: By [Job.title][google.cloud.talent.v4.Job.title] descending.
	// * `"annualized_base_compensation"`: By job's
	//   [CompensationInfo.annualized_base_compensation_range][google.cloud.talent.v4.CompensationInfo.annualized_base_compensation_range] ascending. Jobs
	//   whose annualized base compensation is unspecified are put at the end of
	//   search results.
	// * `"annualized_base_compensation desc"`: By job's
	//   [CompensationInfo.annualized_base_compensation_range][google.cloud.talent.v4.CompensationInfo.annualized_base_compensation_range] descending. Jobs
	//   whose annualized base compensation is unspecified are put at the end of
	//   search results.
	// * `"annualized_total_compensation"`: By job's
	//   [CompensationInfo.annualized_total_compensation_range][google.cloud.talent.v4.CompensationInfo.annualized_total_compensation_range] ascending. Jobs
	//   whose annualized base compensation is unspecified are put at the end of
	//   search results.
	// * `"annualized_total_compensation desc"`: By job's
	//   [CompensationInfo.annualized_total_compensation_range][google.cloud.talent.v4.CompensationInfo.annualized_total_compensation_range] descending. Jobs
	//   whose annualized base compensation is unspecified are put at the end of
	//   search results.
	// * `"custom_ranking desc"`: By the relevance score adjusted to the
	//   [SearchJobsRequest.CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] with weight
	//   factor assigned by
	//   [SearchJobsRequest.CustomRankingInfo.importance_level][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.importance_level] in descending
	//   order.
	// * Location sorting: Use the special syntax to order jobs by distance:<br>
	//   `"distance_from('Hawaii')"`: Order by distance from Hawaii.<br>
	//   `"distance_from(19.89, 155.5)"`: Order by distance from a coordinate.<br>
	//   `"distance_from('Hawaii'), distance_from('Puerto Rico')"`: Order by
	//   multiple locations. See details below.<br>
	//   `"distance_from('Hawaii'), distance_from(19.89, 155.5)"`: Order by
	//   multiple locations. See details below.<br>
	//   The string can have a maximum of 256 characters. When multiple distance
	//   centers are provided, a job that is close to any of the distance centers
	//   would have a high rank. When a job has multiple locations, the job
	//   location closest to one of the distance centers will be used. Jobs that
	//   don't have locations will be ranked at the bottom. Distance is calculated
	//   with a precision of 11.3 meters (37.4 feet). Diversification strategy is
	//   still applied unless explicitly disabled in
	//   [diversification_level][google.cloud.talent.v4.SearchJobsRequest.diversification_level].
	OrderBy string `protobuf:"bytes,12,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// 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.
	//
	// Defaults to [DiversificationLevel.SIMPLE][google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.SIMPLE] if no value
	// is specified.
	DiversificationLevel SearchJobsRequest_DiversificationLevel `` /* 190-byte string literal not displayed */
	// Controls over how job documents get ranked on top of existing relevance
	// score (determined by API algorithm).
	CustomRankingInfo *SearchJobsRequest_CustomRankingInfo `protobuf:"bytes,14,opt,name=custom_ranking_info,json=customRankingInfo,proto3" json:"custom_ranking_info,omitempty"`
	// This field is deprecated. Please use
	// [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
	//
	// To migrate, disable_keyword_match set to false maps to
	// [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL], and disable_keyword_match set to
	// true maps to [KeywordMatchMode.KEYWORD_MATCH_DISABLED][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_DISABLED]. If
	// [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] is set, this field is ignored.
	//
	// Controls whether to disable exact keyword match on [Job.title][google.cloud.talent.v4.Job.title],
	// [Job.description][google.cloud.talent.v4.Job.description], [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name], [Job.addresses][google.cloud.talent.v4.Job.addresses],
	// [Job.qualifications][google.cloud.talent.v4.Job.qualifications]. When disable keyword match is turned off, a
	// keyword match returns jobs that do not match given category filters when
	// there are matching keywords. For example, for the query "program manager,"
	// a result is returned even if the job posting has the title "software
	// developer," which doesn't fall into "program manager" ontology, but does
	// have "program manager" appearing in its description.
	//
	// For queries like "cloud" that don't contain title or
	// location specific ontology, jobs with "cloud" keyword matches are returned
	// regardless of this flag's value.
	//
	// Use [Company.keyword_searchable_job_custom_attributes][google.cloud.talent.v4.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.
	//
	// Defaults to false.
	//
	// Deprecated: Do not use.
	DisableKeywordMatch bool `protobuf:"varint,16,opt,name=disable_keyword_match,json=disableKeywordMatch,proto3" json:"disable_keyword_match,omitempty"`
	// Controls what keyword match options to use. If both keyword_match_mode and
	// disable_keyword_match are set, keyword_match_mode will take precedence.
	//
	// Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
	// is specified.
	KeywordMatchMode SearchJobsRequest_KeywordMatchMode `` /* 176-byte string literal not displayed */
	// contains filtered or unexported fields
}

The Request body of the `SearchJobs` call.

func (*SearchJobsRequest) Descriptor deprecated

func (*SearchJobsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchJobsRequest.ProtoReflect.Descriptor instead.

func (*SearchJobsRequest) GetCustomRankingInfo

func (x *SearchJobsRequest) GetCustomRankingInfo() *SearchJobsRequest_CustomRankingInfo

func (*SearchJobsRequest) GetDisableKeywordMatch deprecated

func (x *SearchJobsRequest) GetDisableKeywordMatch() bool

Deprecated: Do not use.

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) GetMaxPageSize

func (x *SearchJobsRequest) GetMaxPageSize() int32

func (*SearchJobsRequest) GetOffset

func (x *SearchJobsRequest) GetOffset() int32

func (*SearchJobsRequest) GetOrderBy

func (x *SearchJobsRequest) GetOrderBy() string

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) GetSearchMode

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

type SearchJobsRequest_CustomRankingInfo

type SearchJobsRequest_CustomRankingInfo struct {

	// Required. Controls over how important the score of
	// [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
	// ranking position.
	//
	// An error is thrown if not specified.
	ImportanceLevel SearchJobsRequest_CustomRankingInfo_ImportanceLevel `` /* 187-byte string literal not displayed */
	// Required. Controls over how job documents get ranked on top of existing relevance
	// score (determined by API algorithm). A combination of the ranking
	// expression and relevance score is used to determine job's final ranking
	// position.
	//
	// The syntax for this expression is a subset of Google SQL syntax.
	//
	// Supported operators are: +, -, *, /, where the left and right side of
	// the operator is either a numeric [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] key,
	// integer/double value or an expression that can be evaluated to a number.
	//
	// Parenthesis are supported to adjust calculation precedence. The
	// expression must be < 200 characters in length.
	//
	// The expression is considered invalid for a job if the expression
	// references custom attributes that are not populated on the job or if the
	// expression results in a divide by zero. If an expression is invalid for a
	// job, that job is demoted to the end of the results.
	//
	// Sample ranking expression
	// (year + 25) * 0.25 - (freshness / 0.5)
	RankingExpression string `protobuf:"bytes,2,opt,name=ranking_expression,json=rankingExpression,proto3" json:"ranking_expression,omitempty"`
	// contains filtered or unexported fields
}

Custom ranking information for SearchJobsRequest[google.cloud.talent.v4.SearchJobsRequest].

func (*SearchJobsRequest_CustomRankingInfo) Descriptor deprecated

func (*SearchJobsRequest_CustomRankingInfo) Descriptor() ([]byte, []int)

Deprecated: Use SearchJobsRequest_CustomRankingInfo.ProtoReflect.Descriptor instead.

func (*SearchJobsRequest_CustomRankingInfo) GetImportanceLevel

func (*SearchJobsRequest_CustomRankingInfo) GetRankingExpression

func (x *SearchJobsRequest_CustomRankingInfo) GetRankingExpression() string

func (*SearchJobsRequest_CustomRankingInfo) ProtoMessage

func (*SearchJobsRequest_CustomRankingInfo) ProtoMessage()

func (*SearchJobsRequest_CustomRankingInfo) ProtoReflect

func (*SearchJobsRequest_CustomRankingInfo) Reset

func (*SearchJobsRequest_CustomRankingInfo) String

type SearchJobsRequest_CustomRankingInfo_ImportanceLevel

type SearchJobsRequest_CustomRankingInfo_ImportanceLevel int32

The importance level for [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression].

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) Enum

func (SearchJobsRequest_CustomRankingInfo_ImportanceLevel) EnumDescriptor deprecated

Deprecated: Use SearchJobsRequest_CustomRankingInfo_ImportanceLevel.Descriptor instead.

func (SearchJobsRequest_CustomRankingInfo_ImportanceLevel) Number

func (SearchJobsRequest_CustomRankingInfo_ImportanceLevel) String

func (SearchJobsRequest_CustomRankingInfo_ImportanceLevel) Type

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.

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.

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.
	SearchJobsRequest_SIMPLE SearchJobsRequest_DiversificationLevel = 2
	// Only one job from the same company will be shown at once, other jobs
	// under same company are pushed to the end of the last page of search
	// result.
	SearchJobsRequest_ONE_PER_COMPANY SearchJobsRequest_DiversificationLevel = 3
	// Similar to ONE_PER_COMPANY, but it allows at most two jobs in the
	// same company to be shown at once, the other jobs under same company are
	// pushed to the end of the last page of search result.
	SearchJobsRequest_TWO_PER_COMPANY SearchJobsRequest_DiversificationLevel = 4
	// The result list is ordered such that somewhat similar results are pushed
	// to the end of the last page of the search results. This option is
	// recommended if SIMPLE diversification does not diversify enough.
	SearchJobsRequest_DIVERSIFY_BY_LOOSER_SIMILARITY SearchJobsRequest_DiversificationLevel = 5
)

func (SearchJobsRequest_DiversificationLevel) Descriptor

func (SearchJobsRequest_DiversificationLevel) Enum

func (SearchJobsRequest_DiversificationLevel) EnumDescriptor deprecated

func (SearchJobsRequest_DiversificationLevel) EnumDescriptor() ([]byte, []int)

Deprecated: Use SearchJobsRequest_DiversificationLevel.Descriptor instead.

func (SearchJobsRequest_DiversificationLevel) Number

func (SearchJobsRequest_DiversificationLevel) String

func (SearchJobsRequest_DiversificationLevel) Type

type 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.v4.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.

const (
	// The keyword match option isn't specified. Defaults to
	// [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.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.v4.Job.title],
	// [Job.description][google.cloud.talent.v4.Job.description], [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name], [Job.addresses][google.cloud.talent.v4.Job.addresses],
	// [Job.qualifications][google.cloud.talent.v4.Job.qualifications], and keyword searchable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes]
	// fields.
	SearchJobsRequest_KEYWORD_MATCH_ALL SearchJobsRequest_KeywordMatchMode = 2
	// Only enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title].
	SearchJobsRequest_KEYWORD_MATCH_TITLE_ONLY SearchJobsRequest_KeywordMatchMode = 3
)

func (SearchJobsRequest_KeywordMatchMode) Descriptor

func (SearchJobsRequest_KeywordMatchMode) Enum

func (SearchJobsRequest_KeywordMatchMode) EnumDescriptor deprecated

func (SearchJobsRequest_KeywordMatchMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use SearchJobsRequest_KeywordMatchMode.Descriptor instead.

func (SearchJobsRequest_KeywordMatchMode) Number

func (SearchJobsRequest_KeywordMatchMode) String

func (SearchJobsRequest_KeywordMatchMode) Type

type SearchJobsRequest_SearchMode

type SearchJobsRequest_SearchMode int32

A string-represented enumeration of the job search mode. The service operate differently for different modes of service.

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) Enum

func (SearchJobsRequest_SearchMode) EnumDescriptor deprecated

func (SearchJobsRequest_SearchMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use SearchJobsRequest_SearchMode.Descriptor instead.

func (SearchJobsRequest_SearchMode) Number

func (SearchJobsRequest_SearchMode) String

func (SearchJobsRequest_SearchMode) Type

type SearchJobsResponse

type SearchJobsResponse struct {

	// The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
	MatchingJobs []*SearchJobsResponse_MatchingJob `protobuf:"bytes,1,rep,name=matching_jobs,json=matchingJobs,proto3" json:"matching_jobs,omitempty"`
	// The histogram results that match with specified
	// [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
	HistogramQueryResults []*HistogramQueryResult `` /* 126-byte string literal not displayed */
	// The token that specifies the starting position of the next page of results.
	// This field is empty if there are no more results.
	NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// The location filters that the service applied to the specified query. If
	// any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
	// [Location.LocationType.LOCATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.Location.LocationType.LOCATION_TYPE_UNSPECIFIED].
	LocationFilters []*Location `protobuf:"bytes,4,rep,name=location_filters,json=locationFilters,proto3" json:"location_filters,omitempty"`
	// Number of jobs that match the specified query.
	//
	// Note: This size is precise only if the total is less than 100,000.
	TotalSize int32 `protobuf:"varint,6,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// Additional information for the API invocation, such as the request
	// tracking id.
	Metadata *ResponseMetadata `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// If query broadening is enabled, we may append additional results from the
	// broadened query. This number indicates how many of the jobs returned in the
	// jobs field are from the broadened query. These results are always at the
	// end of the jobs list. In particular, a value of 0, or if the field isn't
	// set, all the jobs in the jobs list are from the original
	// (without broadening) query. If this field is non-zero, subsequent requests
	// with offset after this result set should contain all broadened results.
	BroadenedQueryJobsCount int32 `` /* 135-byte string literal not displayed */
	// The spell checking result, and correction.
	SpellCorrection *SpellingCorrection `protobuf:"bytes,9,opt,name=spell_correction,json=spellCorrection,proto3" json:"spell_correction,omitempty"`
	// contains filtered or unexported fields
}

Response for SearchJob method.

func (*SearchJobsResponse) Descriptor deprecated

func (*SearchJobsResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchJobsResponse.ProtoReflect.Descriptor instead.

func (*SearchJobsResponse) GetBroadenedQueryJobsCount

func (x *SearchJobsResponse) GetBroadenedQueryJobsCount() 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

type 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 deprecated

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 (*SearchJobsResponse_CommuteInfo) Reset

func (x *SearchJobsResponse_CommuteInfo) Reset()

func (*SearchJobsResponse_CommuteInfo) String

type SearchJobsResponse_MatchingJob

type SearchJobsResponse_MatchingJob struct {

	// Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.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.v4.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.v4.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.v4.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.v4.SearchJobsResponse].

func (*SearchJobsResponse_MatchingJob) Descriptor deprecated

func (*SearchJobsResponse_MatchingJob) Descriptor() ([]byte, []int)

Deprecated: Use SearchJobsResponse_MatchingJob.ProtoReflect.Descriptor instead.

func (*SearchJobsResponse_MatchingJob) GetCommuteInfo

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 (*SearchJobsResponse_MatchingJob) Reset

func (x *SearchJobsResponse_MatchingJob) Reset()

func (*SearchJobsResponse_MatchingJob) String

type 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 "<b><i>...</i></b>" 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 <b><i>engineer</i></b>".
	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 deprecated

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

type Tenant

type Tenant struct {

	// Required during tenant update.
	//
	// The resource name for a tenant. This is generated by the service when a
	// tenant is created.
	//
	// 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"`
	// Required. Client side tenant identifier, used to uniquely identify the tenant.
	//
	// The maximum number of allowed characters is 255.
	ExternalId string `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
	// contains filtered or unexported fields
}

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 jobs. Customer may create multiple tenants to provide data isolation for different groups.

func (*Tenant) Descriptor deprecated

func (*Tenant) Descriptor() ([]byte, []int)

Deprecated: Use Tenant.ProtoReflect.Descriptor instead.

func (*Tenant) GetExternalId

func (x *Tenant) GetExternalId() string

func (*Tenant) GetName

func (x *Tenant) GetName() string

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

func (x *Tenant) String() string

type 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.

type 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.

type 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 deprecated

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

type UnimplementedCompanyServiceServer

type UnimplementedCompanyServiceServer struct {
}

UnimplementedCompanyServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedCompanyServiceServer) CreateCompany

func (*UnimplementedCompanyServiceServer) DeleteCompany

func (*UnimplementedCompanyServiceServer) GetCompany

func (*UnimplementedCompanyServiceServer) ListCompanies

func (*UnimplementedCompanyServiceServer) UpdateCompany

type UnimplementedCompletionServer

type UnimplementedCompletionServer struct {
}

UnimplementedCompletionServer can be embedded to have forward compatible implementations.

func (*UnimplementedCompletionServer) CompleteQuery

type UnimplementedEventServiceServer

type UnimplementedEventServiceServer struct {
}

UnimplementedEventServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedEventServiceServer) CreateClientEvent

type UnimplementedJobServiceServer

type UnimplementedJobServiceServer struct {
}

UnimplementedJobServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedJobServiceServer) BatchCreateJobs

func (*UnimplementedJobServiceServer) BatchDeleteJobs

func (*UnimplementedJobServiceServer) BatchUpdateJobs

func (*UnimplementedJobServiceServer) CreateJob

func (*UnimplementedJobServiceServer) DeleteJob

func (*UnimplementedJobServiceServer) GetJob

func (*UnimplementedJobServiceServer) ListJobs

func (*UnimplementedJobServiceServer) SearchJobs

func (*UnimplementedJobServiceServer) SearchJobsForAlert

func (*UnimplementedJobServiceServer) UpdateJob

type UnimplementedTenantServiceServer

type UnimplementedTenantServiceServer struct {
}

UnimplementedTenantServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedTenantServiceServer) CreateTenant

func (*UnimplementedTenantServiceServer) DeleteTenant

func (*UnimplementedTenantServiceServer) GetTenant

func (*UnimplementedTenantServiceServer) ListTenants

func (*UnimplementedTenantServiceServer) UpdateTenant

type 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.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
	// [company][google.cloud.talent.v4.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.v4.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 deprecated

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

type 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.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
	// [job][google.cloud.talent.v4.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.v4.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 deprecated

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

type 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.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
	// [tenant][google.cloud.talent.v4.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.v4.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 deprecated

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

type 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.

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

func (Visibility) Descriptor() protoreflect.EnumDescriptor

func (Visibility) Enum

func (x Visibility) Enum() *Visibility

func (Visibility) EnumDescriptor deprecated

func (Visibility) EnumDescriptor() ([]byte, []int)

Deprecated: Use Visibility.Descriptor instead.

func (Visibility) Number

func (x Visibility) Number() protoreflect.EnumNumber

func (Visibility) String

func (x Visibility) String() string

func (Visibility) Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL