genproto: google.golang.org/genproto/googleapis/cloud/talent/v4 Index | Files

package talent

import "google.golang.org/genproto/googleapis/cloud/talent/v4"

Index

Package Files

common.pb.go company.pb.go company_service.pb.go completion_service.pb.go event.pb.go event_service.pb.go filters.pb.go histogram.pb.go job.pb.go job_service.pb.go tenant.pb.go tenant_service.pb.go

Variables

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.

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.

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.

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.

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.

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.

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.

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.

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.

var (
    CommuteMethod_name = map[int32]string{
        0:  "COMMUTE_METHOD_UNSPECIFIED",
        1:  "DRIVING",
        2:  "TRANSIT",
    }
    CommuteMethod_value = map[string]int32{
        "COMMUTE_METHOD_UNSPECIFIED": 0,
        "DRIVING":                    1,
        "TRANSIT":                    2,
    }
)

Enum value maps for CommuteMethod.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

var (
    SearchJobsRequest_DiversificationLevel_name = map[int32]string{
        0:  "DIVERSIFICATION_LEVEL_UNSPECIFIED",
        1:  "DISABLED",
        2:  "SIMPLE",
    }
    SearchJobsRequest_DiversificationLevel_value = map[string]int32{
        "DIVERSIFICATION_LEVEL_UNSPECIFIED": 0,
        "DISABLED":                          1,
        "SIMPLE":                            2,
    }
)

Enum value maps for SearchJobsRequest_DiversificationLevel.

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.

var File_google_cloud_talent_v4_common_proto protoreflect.FileDescriptor
var File_google_cloud_talent_v4_company_proto protoreflect.FileDescriptor
var File_google_cloud_talent_v4_company_service_proto protoreflect.FileDescriptor
var File_google_cloud_talent_v4_completion_service_proto protoreflect.FileDescriptor
var File_google_cloud_talent_v4_event_proto protoreflect.FileDescriptor
var File_google_cloud_talent_v4_event_service_proto protoreflect.FileDescriptor
var File_google_cloud_talent_v4_filters_proto protoreflect.FileDescriptor
var File_google_cloud_talent_v4_histogram_proto protoreflect.FileDescriptor
var File_google_cloud_talent_v4_job_proto protoreflect.FileDescriptor
var File_google_cloud_talent_v4_job_service_proto protoreflect.FileDescriptor
var File_google_cloud_talent_v4_tenant_proto protoreflect.FileDescriptor
var File_google_cloud_talent_v4_tenant_service_proto protoreflect.FileDescriptor

func RegisterCompanyServiceServer Uses

func RegisterCompanyServiceServer(s *grpc.Server, srv CompanyServiceServer)

func RegisterCompletionServer Uses

func RegisterCompletionServer(s *grpc.Server, srv CompletionServer)

func RegisterEventServiceServer Uses

func RegisterEventServiceServer(s *grpc.Server, srv EventServiceServer)

func RegisterJobServiceServer Uses

func RegisterJobServiceServer(s *grpc.Server, srv JobServiceServer)

func RegisterTenantServiceServer Uses

func RegisterTenantServiceServer(s *grpc.Server, srv TenantServiceServer)

type BatchCreateJobsRequest Uses

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 Uses

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

Deprecated: Use BatchCreateJobsRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateJobsRequest) GetJobs Uses

func (x *BatchCreateJobsRequest) GetJobs() []*Job

func (*BatchCreateJobsRequest) GetParent Uses

func (x *BatchCreateJobsRequest) GetParent() string

func (*BatchCreateJobsRequest) ProtoMessage Uses

func (*BatchCreateJobsRequest) ProtoMessage()

func (*BatchCreateJobsRequest) ProtoReflect Uses

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

func (*BatchCreateJobsRequest) Reset Uses

func (x *BatchCreateJobsRequest) Reset()

func (*BatchCreateJobsRequest) String Uses

func (x *BatchCreateJobsRequest) String() string

type BatchCreateJobsResponse Uses

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 Uses

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

Deprecated: Use BatchCreateJobsResponse.ProtoReflect.Descriptor instead.

func (*BatchCreateJobsResponse) GetJobResults Uses

func (x *BatchCreateJobsResponse) GetJobResults() []*JobResult

func (*BatchCreateJobsResponse) ProtoMessage Uses

func (*BatchCreateJobsResponse) ProtoMessage()

func (*BatchCreateJobsResponse) ProtoReflect Uses

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

func (*BatchCreateJobsResponse) Reset Uses

func (x *BatchCreateJobsResponse) Reset()

func (*BatchCreateJobsResponse) String Uses

func (x *BatchCreateJobsResponse) String() string

type BatchDeleteJobsRequest Uses

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 Uses

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

Deprecated: Use BatchDeleteJobsRequest.ProtoReflect.Descriptor instead.

func (*BatchDeleteJobsRequest) GetNames Uses

func (x *BatchDeleteJobsRequest) GetNames() []string

func (*BatchDeleteJobsRequest) GetParent Uses

func (x *BatchDeleteJobsRequest) GetParent() string

func (*BatchDeleteJobsRequest) ProtoMessage Uses

func (*BatchDeleteJobsRequest) ProtoMessage()

func (*BatchDeleteJobsRequest) ProtoReflect Uses

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

func (*BatchDeleteJobsRequest) Reset Uses

func (x *BatchDeleteJobsRequest) Reset()

func (*BatchDeleteJobsRequest) String Uses

func (x *BatchDeleteJobsRequest) String() string

type BatchDeleteJobsResponse Uses

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 Uses

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

Deprecated: Use BatchDeleteJobsResponse.ProtoReflect.Descriptor instead.

func (*BatchDeleteJobsResponse) GetJobResults Uses

func (x *BatchDeleteJobsResponse) GetJobResults() []*JobResult

func (*BatchDeleteJobsResponse) ProtoMessage Uses

func (*BatchDeleteJobsResponse) ProtoMessage()

func (*BatchDeleteJobsResponse) ProtoReflect Uses

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

func (*BatchDeleteJobsResponse) Reset Uses

func (x *BatchDeleteJobsResponse) Reset()

func (*BatchDeleteJobsResponse) String Uses

func (x *BatchDeleteJobsResponse) String() string

type BatchOperationMetadata Uses

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 Uses

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

Deprecated: Use BatchOperationMetadata.ProtoReflect.Descriptor instead.

func (*BatchOperationMetadata) GetCreateTime Uses

func (x *BatchOperationMetadata) GetCreateTime() *timestamppb.Timestamp

func (*BatchOperationMetadata) GetEndTime Uses

func (x *BatchOperationMetadata) GetEndTime() *timestamppb.Timestamp

func (*BatchOperationMetadata) GetFailureCount Uses

func (x *BatchOperationMetadata) GetFailureCount() int32

func (*BatchOperationMetadata) GetState Uses

func (x *BatchOperationMetadata) GetState() BatchOperationMetadata_State

func (*BatchOperationMetadata) GetStateDescription Uses

func (x *BatchOperationMetadata) GetStateDescription() string

func (*BatchOperationMetadata) GetSuccessCount Uses

func (x *BatchOperationMetadata) GetSuccessCount() int32

func (*BatchOperationMetadata) GetTotalCount Uses

func (x *BatchOperationMetadata) GetTotalCount() int32

func (*BatchOperationMetadata) GetUpdateTime Uses

func (x *BatchOperationMetadata) GetUpdateTime() *timestamppb.Timestamp

func (*BatchOperationMetadata) ProtoMessage Uses

func (*BatchOperationMetadata) ProtoMessage()

func (*BatchOperationMetadata) ProtoReflect Uses

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

func (*BatchOperationMetadata) Reset Uses

func (x *BatchOperationMetadata) Reset()

func (*BatchOperationMetadata) String Uses

func (x *BatchOperationMetadata) String() string

type BatchOperationMetadata_State Uses

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 Uses

func (BatchOperationMetadata_State) Descriptor() protoreflect.EnumDescriptor

func (BatchOperationMetadata_State) Enum Uses

func (x BatchOperationMetadata_State) Enum() *BatchOperationMetadata_State

func (BatchOperationMetadata_State) EnumDescriptor Uses

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

Deprecated: Use BatchOperationMetadata_State.Descriptor instead.

func (BatchOperationMetadata_State) Number Uses

func (x BatchOperationMetadata_State) Number() protoreflect.EnumNumber

func (BatchOperationMetadata_State) String Uses

func (x BatchOperationMetadata_State) String() string

func (BatchOperationMetadata_State) Type Uses

func (BatchOperationMetadata_State) Type() protoreflect.EnumType

type BatchUpdateJobsRequest Uses

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 Uses

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

Deprecated: Use BatchUpdateJobsRequest.ProtoReflect.Descriptor instead.

func (*BatchUpdateJobsRequest) GetJobs Uses

func (x *BatchUpdateJobsRequest) GetJobs() []*Job

func (*BatchUpdateJobsRequest) GetParent Uses

func (x *BatchUpdateJobsRequest) GetParent() string

func (*BatchUpdateJobsRequest) GetUpdateMask Uses

func (x *BatchUpdateJobsRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*BatchUpdateJobsRequest) ProtoMessage Uses

func (*BatchUpdateJobsRequest) ProtoMessage()

func (*BatchUpdateJobsRequest) ProtoReflect Uses

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

func (*BatchUpdateJobsRequest) Reset Uses

func (x *BatchUpdateJobsRequest) Reset()

func (*BatchUpdateJobsRequest) String Uses

func (x *BatchUpdateJobsRequest) String() string

type BatchUpdateJobsResponse Uses

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 Uses

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

Deprecated: Use BatchUpdateJobsResponse.ProtoReflect.Descriptor instead.

func (*BatchUpdateJobsResponse) GetJobResults Uses

func (x *BatchUpdateJobsResponse) GetJobResults() []*JobResult

func (*BatchUpdateJobsResponse) ProtoMessage Uses

func (*BatchUpdateJobsResponse) ProtoMessage()

func (*BatchUpdateJobsResponse) ProtoReflect Uses

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

func (*BatchUpdateJobsResponse) Reset Uses

func (x *BatchUpdateJobsResponse) Reset()

func (*BatchUpdateJobsResponse) String Uses

func (x *BatchUpdateJobsResponse) String() string

type ClientEvent Uses

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 Uses

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

Deprecated: Use ClientEvent.ProtoReflect.Descriptor instead.

func (*ClientEvent) GetCreateTime Uses

func (x *ClientEvent) GetCreateTime() *timestamppb.Timestamp

func (*ClientEvent) GetEvent Uses

func (m *ClientEvent) GetEvent() isClientEvent_Event

func (*ClientEvent) GetEventId Uses

func (x *ClientEvent) GetEventId() string

func (*ClientEvent) GetEventNotes Uses

func (x *ClientEvent) GetEventNotes() string

func (*ClientEvent) GetJobEvent Uses

func (x *ClientEvent) GetJobEvent() *JobEvent

func (*ClientEvent) GetRequestId Uses

func (x *ClientEvent) GetRequestId() string

func (*ClientEvent) ProtoMessage Uses

func (*ClientEvent) ProtoMessage()

func (*ClientEvent) ProtoReflect Uses

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

func (*ClientEvent) Reset Uses

func (x *ClientEvent) Reset()

func (*ClientEvent) String Uses

func (x *ClientEvent) String() string

type ClientEvent_JobEvent Uses

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 Uses

type CommuteFilter struct {

    // Required. The method of transportation to calculate the commute time for.
    CommuteMethod CommuteMethod `protobuf:"varint,1,opt,name=commute_method,json=commuteMethod,proto3,enum=google.cloud.talent.v4.CommuteMethod" json:"commute_method,omitempty"`
    // Required. The latitude and longitude of the location to calculate the
    // commute time from.
    StartCoordinates *latlng.LatLng `protobuf:"bytes,2,opt,name=start_coordinates,json=startCoordinates,proto3" json:"start_coordinates,omitempty"`
    // Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    // (one hour). Format is `123s`.
    TravelDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=travel_duration,json=travelDuration,proto3" json:"travel_duration,omitempty"`
    // If `true`, jobs without street level addresses may also be returned.
    // For city level addresses, the city center is used. For state and coarser
    // level addresses, text matching is used.
    // If this field is set to `false` or isn't specified, only jobs that include
    // street level addresses will be returned by commute search.
    AllowImpreciseAddresses bool `protobuf:"varint,4,opt,name=allow_imprecise_addresses,json=allowImpreciseAddresses,proto3" json:"allow_imprecise_addresses,omitempty"`
    // Traffic factor to take into account while searching by commute.
    //
    // Types that are assignable to TrafficOption:
    //	*CommuteFilter_RoadTraffic_
    //	*CommuteFilter_DepartureTime
    TrafficOption isCommuteFilter_TrafficOption `protobuf_oneof:"traffic_option"`
    // contains filtered or unexported fields
}

Parameters needed for commute search.

func (*CommuteFilter) Descriptor Uses

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

Deprecated: Use CommuteFilter.ProtoReflect.Descriptor instead.

func (*CommuteFilter) GetAllowImpreciseAddresses Uses

func (x *CommuteFilter) GetAllowImpreciseAddresses() bool

func (*CommuteFilter) GetCommuteMethod Uses

func (x *CommuteFilter) GetCommuteMethod() CommuteMethod

func (*CommuteFilter) GetDepartureTime Uses

func (x *CommuteFilter) GetDepartureTime() *timeofday.TimeOfDay

func (*CommuteFilter) GetRoadTraffic Uses

func (x *CommuteFilter) GetRoadTraffic() CommuteFilter_RoadTraffic

func (*CommuteFilter) GetStartCoordinates Uses

func (x *CommuteFilter) GetStartCoordinates() *latlng.LatLng

func (*CommuteFilter) GetTrafficOption Uses

func (m *CommuteFilter) GetTrafficOption() isCommuteFilter_TrafficOption

func (*CommuteFilter) GetTravelDuration Uses

func (x *CommuteFilter) GetTravelDuration() *durationpb.Duration

func (*CommuteFilter) ProtoMessage Uses

func (*CommuteFilter) ProtoMessage()

func (*CommuteFilter) ProtoReflect Uses

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

func (*CommuteFilter) Reset Uses

func (x *CommuteFilter) Reset()

func (*CommuteFilter) String Uses

func (x *CommuteFilter) String() string

type CommuteFilter_DepartureTime Uses

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 Uses

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 Uses

func (CommuteFilter_RoadTraffic) Descriptor() protoreflect.EnumDescriptor

func (CommuteFilter_RoadTraffic) Enum Uses

func (x CommuteFilter_RoadTraffic) Enum() *CommuteFilter_RoadTraffic

func (CommuteFilter_RoadTraffic) EnumDescriptor Uses

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

Deprecated: Use CommuteFilter_RoadTraffic.Descriptor instead.

func (CommuteFilter_RoadTraffic) Number Uses

func (x CommuteFilter_RoadTraffic) Number() protoreflect.EnumNumber

func (CommuteFilter_RoadTraffic) String Uses

func (x CommuteFilter_RoadTraffic) String() string

func (CommuteFilter_RoadTraffic) Type Uses

func (CommuteFilter_RoadTraffic) Type() protoreflect.EnumType

type CommuteFilter_RoadTraffic_ Uses

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 Uses

type CommuteMethod int32

Method for commute.

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
)

func (CommuteMethod) Descriptor Uses

func (CommuteMethod) Descriptor() protoreflect.EnumDescriptor

func (CommuteMethod) Enum Uses

func (x CommuteMethod) Enum() *CommuteMethod

func (CommuteMethod) EnumDescriptor Uses

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

Deprecated: Use CommuteMethod.Descriptor instead.

func (CommuteMethod) Number Uses

func (x CommuteMethod) Number() protoreflect.EnumNumber

func (CommuteMethod) String Uses

func (x CommuteMethod) String() string

func (CommuteMethod) Type Uses

func (CommuteMethod) Type() protoreflect.EnumType

type Company Uses

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 `protobuf:"bytes,11,rep,name=keyword_searchable_job_custom_attributes,json=keywordSearchableJobCustomAttributes,proto3" json:"keyword_searchable_job_custom_attributes,omitempty"`
    // 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 Uses

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

Deprecated: Use Company.ProtoReflect.Descriptor instead.

func (*Company) GetCareerSiteUri Uses

func (x *Company) GetCareerSiteUri() string

func (*Company) GetDerivedInfo Uses

func (x *Company) GetDerivedInfo() *Company_DerivedInfo

func (*Company) GetDisplayName Uses

func (x *Company) GetDisplayName() string

func (*Company) GetEeoText Uses

func (x *Company) GetEeoText() string

func (*Company) GetExternalId Uses

func (x *Company) GetExternalId() string

func (*Company) GetHeadquartersAddress Uses

func (x *Company) GetHeadquartersAddress() string

func (*Company) GetHiringAgency Uses

func (x *Company) GetHiringAgency() bool

func (*Company) GetImageUri Uses

func (x *Company) GetImageUri() string

func (*Company) GetKeywordSearchableJobCustomAttributes Uses

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

func (*Company) GetName Uses

func (x *Company) GetName() string

func (*Company) GetSize Uses

func (x *Company) GetSize() CompanySize

func (*Company) GetSuspended Uses

func (x *Company) GetSuspended() bool

func (*Company) GetWebsiteUri Uses

func (x *Company) GetWebsiteUri() string

func (*Company) ProtoMessage Uses

func (*Company) ProtoMessage()

func (*Company) ProtoReflect Uses

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

func (*Company) Reset Uses

func (x *Company) Reset()

func (*Company) String Uses

func (x *Company) String() string

type CompanyServiceClient Uses

type CompanyServiceClient interface {
    // Creates a new company entity.
    CreateCompany(ctx context.Context, in *CreateCompanyRequest, opts ...grpc.CallOption) (*Company, error)
    // Retrieves specified company.
    GetCompany(ctx context.Context, in *GetCompanyRequest, opts ...grpc.CallOption) (*Company, error)
    // Updates specified company.
    UpdateCompany(ctx context.Context, in *UpdateCompanyRequest, opts ...grpc.CallOption) (*Company, error)
    // Deletes specified company.
    // Prerequisite: The company has no jobs associated with it.
    DeleteCompany(ctx context.Context, in *DeleteCompanyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
    // Lists all companies associated with the project.
    ListCompanies(ctx context.Context, in *ListCompaniesRequest, opts ...grpc.CallOption) (*ListCompaniesResponse, error)
}

CompanyServiceClient is the client API for CompanyService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewCompanyServiceClient Uses

func NewCompanyServiceClient(cc grpc.ClientConnInterface) CompanyServiceClient

type CompanyServiceServer Uses

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 Uses

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 Uses

func (CompanySize) Descriptor() protoreflect.EnumDescriptor

func (CompanySize) Enum Uses

func (x CompanySize) Enum() *CompanySize

func (CompanySize) EnumDescriptor Uses

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

Deprecated: Use CompanySize.Descriptor instead.

func (CompanySize) Number Uses

func (x CompanySize) Number() protoreflect.EnumNumber

func (CompanySize) String Uses

func (x CompanySize) String() string

func (CompanySize) Type Uses

func (CompanySize) Type() protoreflect.EnumType

type Company_DerivedInfo Uses

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 Uses

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

Deprecated: Use Company_DerivedInfo.ProtoReflect.Descriptor instead.

func (*Company_DerivedInfo) GetHeadquartersLocation Uses

func (x *Company_DerivedInfo) GetHeadquartersLocation() *Location

func (*Company_DerivedInfo) ProtoMessage Uses

func (*Company_DerivedInfo) ProtoMessage()

func (*Company_DerivedInfo) ProtoReflect Uses

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

func (*Company_DerivedInfo) Reset Uses

func (x *Company_DerivedInfo) Reset()

func (*Company_DerivedInfo) String Uses

func (x *Company_DerivedInfo) String() string

type CompensationFilter Uses

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 `protobuf:"varint,2,rep,packed,name=units,proto3,enum=google.cloud.talent.v4.CompensationInfo_CompensationUnit" json:"units,omitempty"`
    // 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 `protobuf:"varint,4,opt,name=include_jobs_with_unspecified_compensation_range,json=includeJobsWithUnspecifiedCompensationRange,proto3" json:"include_jobs_with_unspecified_compensation_range,omitempty"`
    // contains filtered or unexported fields
}

Filter on job compensation type and amount.

func (*CompensationFilter) Descriptor Uses

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

Deprecated: Use CompensationFilter.ProtoReflect.Descriptor instead.

func (*CompensationFilter) GetIncludeJobsWithUnspecifiedCompensationRange Uses

func (x *CompensationFilter) GetIncludeJobsWithUnspecifiedCompensationRange() bool

func (*CompensationFilter) GetRange Uses

func (x *CompensationFilter) GetRange() *CompensationInfo_CompensationRange

func (*CompensationFilter) GetType Uses

func (x *CompensationFilter) GetType() CompensationFilter_FilterType

func (*CompensationFilter) GetUnits Uses

func (x *CompensationFilter) GetUnits() []CompensationInfo_CompensationUnit

func (*CompensationFilter) ProtoMessage Uses

func (*CompensationFilter) ProtoMessage()

func (*CompensationFilter) ProtoReflect Uses

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

func (*CompensationFilter) Reset Uses

func (x *CompensationFilter) Reset()

func (*CompensationFilter) String Uses

func (x *CompensationFilter) String() string

type CompensationFilter_FilterType Uses

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 Uses

func (CompensationFilter_FilterType) Descriptor() protoreflect.EnumDescriptor

func (CompensationFilter_FilterType) Enum Uses

func (x CompensationFilter_FilterType) Enum() *CompensationFilter_FilterType

func (CompensationFilter_FilterType) EnumDescriptor Uses

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

Deprecated: Use CompensationFilter_FilterType.Descriptor instead.

func (CompensationFilter_FilterType) Number Uses

func (x CompensationFilter_FilterType) Number() protoreflect.EnumNumber

func (CompensationFilter_FilterType) String Uses

func (x CompensationFilter_FilterType) String() string

func (CompensationFilter_FilterType) Type Uses

func (CompensationFilter_FilterType) Type() protoreflect.EnumType

type CompensationInfo Uses

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 `protobuf:"bytes,2,opt,name=annualized_base_compensation_range,json=annualizedBaseCompensationRange,proto3" json:"annualized_base_compensation_range,omitempty"`
    // 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 `protobuf:"bytes,3,opt,name=annualized_total_compensation_range,json=annualizedTotalCompensationRange,proto3" json:"annualized_total_compensation_range,omitempty"`
    // contains filtered or unexported fields
}

Job compensation details.

func (*CompensationInfo) Descriptor Uses

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

Deprecated: Use CompensationInfo.ProtoReflect.Descriptor instead.

func (*CompensationInfo) GetAnnualizedBaseCompensationRange Uses

func (x *CompensationInfo) GetAnnualizedBaseCompensationRange() *CompensationInfo_CompensationRange

func (*CompensationInfo) GetAnnualizedTotalCompensationRange Uses

func (x *CompensationInfo) GetAnnualizedTotalCompensationRange() *CompensationInfo_CompensationRange

func (*CompensationInfo) GetEntries Uses

func (x *CompensationInfo) GetEntries() []*CompensationInfo_CompensationEntry

func (*CompensationInfo) ProtoMessage Uses

func (*CompensationInfo) ProtoMessage()

func (*CompensationInfo) ProtoReflect Uses

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

func (*CompensationInfo) Reset Uses

func (x *CompensationInfo) Reset()

func (*CompensationInfo) String Uses

func (x *CompensationInfo) String() string

type CompensationInfo_CompensationEntry Uses

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 Uses

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

Deprecated: Use CompensationInfo_CompensationEntry.ProtoReflect.Descriptor instead.

func (*CompensationInfo_CompensationEntry) GetAmount Uses

func (x *CompensationInfo_CompensationEntry) GetAmount() *money.Money

func (*CompensationInfo_CompensationEntry) GetCompensationAmount Uses

func (m *CompensationInfo_CompensationEntry) GetCompensationAmount() isCompensationInfo_CompensationEntry_CompensationAmount

func (*CompensationInfo_CompensationEntry) GetDescription Uses

func (x *CompensationInfo_CompensationEntry) GetDescription() string

func (*CompensationInfo_CompensationEntry) GetExpectedUnitsPerYear Uses

func (x *CompensationInfo_CompensationEntry) GetExpectedUnitsPerYear() *wrapperspb.DoubleValue

func (*CompensationInfo_CompensationEntry) GetRange Uses

func (x *CompensationInfo_CompensationEntry) GetRange() *CompensationInfo_CompensationRange

func (*CompensationInfo_CompensationEntry) GetType Uses

func (x *CompensationInfo_CompensationEntry) GetType() CompensationInfo_CompensationType

func (*CompensationInfo_CompensationEntry) GetUnit Uses

func (x *CompensationInfo_CompensationEntry) GetUnit() CompensationInfo_CompensationUnit

func (*CompensationInfo_CompensationEntry) ProtoMessage Uses

func (*CompensationInfo_CompensationEntry) ProtoMessage()

func (*CompensationInfo_CompensationEntry) ProtoReflect Uses

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

func (*CompensationInfo_CompensationEntry) Reset Uses

func (x *CompensationInfo_CompensationEntry) Reset()

func (*CompensationInfo_CompensationEntry) String Uses

func (x *CompensationInfo_CompensationEntry) String() string

type CompensationInfo_CompensationEntry_Amount Uses

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

type CompensationInfo_CompensationEntry_Range Uses

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

type CompensationInfo_CompensationRange Uses

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 Uses

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

Deprecated: Use CompensationInfo_CompensationRange.ProtoReflect.Descriptor instead.

func (*CompensationInfo_CompensationRange) GetMaxCompensation Uses

func (x *CompensationInfo_CompensationRange) GetMaxCompensation() *money.Money

func (*CompensationInfo_CompensationRange) GetMinCompensation Uses

func (x *CompensationInfo_CompensationRange) GetMinCompensation() *money.Money

func (*CompensationInfo_CompensationRange) ProtoMessage Uses

func (*CompensationInfo_CompensationRange) ProtoMessage()

func (*CompensationInfo_CompensationRange) ProtoReflect Uses

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

func (*CompensationInfo_CompensationRange) Reset Uses

func (x *CompensationInfo_CompensationRange) Reset()

func (*CompensationInfo_CompensationRange) String Uses

func (x *CompensationInfo_CompensationRange) String() string

type CompensationInfo_CompensationType Uses

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 Uses

func (CompensationInfo_CompensationType) Descriptor() protoreflect.EnumDescriptor

func (CompensationInfo_CompensationType) Enum Uses

func (x CompensationInfo_CompensationType) Enum() *CompensationInfo_CompensationType

func (CompensationInfo_CompensationType) EnumDescriptor Uses

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

Deprecated: Use CompensationInfo_CompensationType.Descriptor instead.

func (CompensationInfo_CompensationType) Number Uses

func (x CompensationInfo_CompensationType) Number() protoreflect.EnumNumber

func (CompensationInfo_CompensationType) String Uses

func (x CompensationInfo_CompensationType) String() string

func (CompensationInfo_CompensationType) Type Uses

func (CompensationInfo_CompensationType) Type() protoreflect.EnumType

type CompensationInfo_CompensationUnit Uses

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 Uses

func (CompensationInfo_CompensationUnit) Descriptor() protoreflect.EnumDescriptor

func (CompensationInfo_CompensationUnit) Enum Uses

func (x CompensationInfo_CompensationUnit) Enum() *CompensationInfo_CompensationUnit

func (CompensationInfo_CompensationUnit) EnumDescriptor Uses

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

Deprecated: Use CompensationInfo_CompensationUnit.Descriptor instead.

func (CompensationInfo_CompensationUnit) Number Uses

func (x CompensationInfo_CompensationUnit) Number() protoreflect.EnumNumber

func (CompensationInfo_CompensationUnit) String Uses

func (x CompensationInfo_CompensationUnit) String() string

func (CompensationInfo_CompensationUnit) Type Uses

func (CompensationInfo_CompensationUnit) Type() protoreflect.EnumType

type CompleteQueryRequest Uses

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 `protobuf:"varint,6,opt,name=scope,proto3,enum=google.cloud.talent.v4.CompleteQueryRequest_CompletionScope" json:"scope,omitempty"`
    // The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
    Type CompleteQueryRequest_CompletionType `protobuf:"varint,7,opt,name=type,proto3,enum=google.cloud.talent.v4.CompleteQueryRequest_CompletionType" json:"type,omitempty"`
    // contains filtered or unexported fields
}

Auto-complete parameters.

func (*CompleteQueryRequest) Descriptor Uses

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

Deprecated: Use CompleteQueryRequest.ProtoReflect.Descriptor instead.

func (*CompleteQueryRequest) GetCompany Uses

func (x *CompleteQueryRequest) GetCompany() string

func (*CompleteQueryRequest) GetLanguageCodes Uses

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

func (*CompleteQueryRequest) GetPageSize Uses

func (x *CompleteQueryRequest) GetPageSize() int32

func (*CompleteQueryRequest) GetQuery Uses

func (x *CompleteQueryRequest) GetQuery() string

func (*CompleteQueryRequest) GetScope Uses

func (x *CompleteQueryRequest) GetScope() CompleteQueryRequest_CompletionScope

func (*CompleteQueryRequest) GetTenant Uses

func (x *CompleteQueryRequest) GetTenant() string

func (*CompleteQueryRequest) GetType Uses

func (x *CompleteQueryRequest) GetType() CompleteQueryRequest_CompletionType

func (*CompleteQueryRequest) ProtoMessage Uses

func (*CompleteQueryRequest) ProtoMessage()

func (*CompleteQueryRequest) ProtoReflect Uses

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

func (*CompleteQueryRequest) Reset Uses

func (x *CompleteQueryRequest) Reset()

func (*CompleteQueryRequest) String Uses

func (x *CompleteQueryRequest) String() string

type CompleteQueryRequest_CompletionScope Uses

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 Uses

func (CompleteQueryRequest_CompletionScope) Descriptor() protoreflect.EnumDescriptor

func (CompleteQueryRequest_CompletionScope) Enum Uses

func (x CompleteQueryRequest_CompletionScope) Enum() *CompleteQueryRequest_CompletionScope

func (CompleteQueryRequest_CompletionScope) EnumDescriptor Uses

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

Deprecated: Use CompleteQueryRequest_CompletionScope.Descriptor instead.

func (CompleteQueryRequest_CompletionScope) Number Uses

func (x CompleteQueryRequest_CompletionScope) Number() protoreflect.EnumNumber

func (CompleteQueryRequest_CompletionScope) String Uses

func (x CompleteQueryRequest_CompletionScope) String() string

func (CompleteQueryRequest_CompletionScope) Type Uses

func (CompleteQueryRequest_CompletionScope) Type() protoreflect.EnumType

type CompleteQueryRequest_CompletionType Uses

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 Uses

func (CompleteQueryRequest_CompletionType) Descriptor() protoreflect.EnumDescriptor

func (CompleteQueryRequest_CompletionType) Enum Uses

func (x CompleteQueryRequest_CompletionType) Enum() *CompleteQueryRequest_CompletionType

func (CompleteQueryRequest_CompletionType) EnumDescriptor Uses

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

Deprecated: Use CompleteQueryRequest_CompletionType.Descriptor instead.

func (CompleteQueryRequest_CompletionType) Number Uses

func (x CompleteQueryRequest_CompletionType) Number() protoreflect.EnumNumber

func (CompleteQueryRequest_CompletionType) String Uses

func (x CompleteQueryRequest_CompletionType) String() string

func (CompleteQueryRequest_CompletionType) Type Uses

func (CompleteQueryRequest_CompletionType) Type() protoreflect.EnumType

type CompleteQueryResponse Uses

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 Uses

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

Deprecated: Use CompleteQueryResponse.ProtoReflect.Descriptor instead.

func (*CompleteQueryResponse) GetCompletionResults Uses

func (x *CompleteQueryResponse) GetCompletionResults() []*CompleteQueryResponse_CompletionResult

func (*CompleteQueryResponse) GetMetadata Uses

func (x *CompleteQueryResponse) GetMetadata() *ResponseMetadata

func (*CompleteQueryResponse) ProtoMessage Uses

func (*CompleteQueryResponse) ProtoMessage()

func (*CompleteQueryResponse) ProtoReflect Uses

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

func (*CompleteQueryResponse) Reset Uses

func (x *CompleteQueryResponse) Reset()

func (*CompleteQueryResponse) String Uses

func (x *CompleteQueryResponse) String() string

type CompleteQueryResponse_CompletionResult Uses

type CompleteQueryResponse_CompletionResult struct {

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

Resource that represents completion results.

func (*CompleteQueryResponse_CompletionResult) Descriptor Uses

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

Deprecated: Use CompleteQueryResponse_CompletionResult.ProtoReflect.Descriptor instead.

func (*CompleteQueryResponse_CompletionResult) GetImageUri Uses

func (x *CompleteQueryResponse_CompletionResult) GetImageUri() string

func (*CompleteQueryResponse_CompletionResult) GetSuggestion Uses

func (x *CompleteQueryResponse_CompletionResult) GetSuggestion() string

func (*CompleteQueryResponse_CompletionResult) GetType Uses

func (x *CompleteQueryResponse_CompletionResult) GetType() CompleteQueryRequest_CompletionType

func (*CompleteQueryResponse_CompletionResult) ProtoMessage Uses

func (*CompleteQueryResponse_CompletionResult) ProtoMessage()

func (*CompleteQueryResponse_CompletionResult) ProtoReflect Uses

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

func (*CompleteQueryResponse_CompletionResult) Reset Uses

func (x *CompleteQueryResponse_CompletionResult) Reset()

func (*CompleteQueryResponse_CompletionResult) String Uses

func (x *CompleteQueryResponse_CompletionResult) String() string

type CompletionClient Uses

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 Uses

func NewCompletionClient(cc grpc.ClientConnInterface) CompletionClient

type CompletionServer Uses

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 Uses

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 Uses

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

Deprecated: Use CreateClientEventRequest.ProtoReflect.Descriptor instead.

func (*CreateClientEventRequest) GetClientEvent Uses

func (x *CreateClientEventRequest) GetClientEvent() *ClientEvent

func (*CreateClientEventRequest) GetParent Uses

func (x *CreateClientEventRequest) GetParent() string

func (*CreateClientEventRequest) ProtoMessage Uses

func (*CreateClientEventRequest) ProtoMessage()

func (*CreateClientEventRequest) ProtoReflect Uses

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

func (*CreateClientEventRequest) Reset Uses

func (x *CreateClientEventRequest) Reset()

func (*CreateClientEventRequest) String Uses

func (x *CreateClientEventRequest) String() string

type CreateCompanyRequest Uses

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 Uses

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

Deprecated: Use CreateCompanyRequest.ProtoReflect.Descriptor instead.

func (*CreateCompanyRequest) GetCompany Uses

func (x *CreateCompanyRequest) GetCompany() *Company

func (*CreateCompanyRequest) GetParent Uses

func (x *CreateCompanyRequest) GetParent() string

func (*CreateCompanyRequest) ProtoMessage Uses

func (*CreateCompanyRequest) ProtoMessage()

func (*CreateCompanyRequest) ProtoReflect Uses

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

func (*CreateCompanyRequest) Reset Uses

func (x *CreateCompanyRequest) Reset()

func (*CreateCompanyRequest) String Uses

func (x *CreateCompanyRequest) String() string

type CreateJobRequest Uses

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 Uses

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

Deprecated: Use CreateJobRequest.ProtoReflect.Descriptor instead.

func (*CreateJobRequest) GetJob Uses

func (x *CreateJobRequest) GetJob() *Job

func (*CreateJobRequest) GetParent Uses

func (x *CreateJobRequest) GetParent() string

func (*CreateJobRequest) ProtoMessage Uses

func (*CreateJobRequest) ProtoMessage()

func (*CreateJobRequest) ProtoReflect Uses

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

func (*CreateJobRequest) Reset Uses

func (x *CreateJobRequest) Reset()

func (*CreateJobRequest) String Uses

func (x *CreateJobRequest) String() string

type CreateTenantRequest Uses

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 Uses

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

Deprecated: Use CreateTenantRequest.ProtoReflect.Descriptor instead.

func (*CreateTenantRequest) GetParent Uses

func (x *CreateTenantRequest) GetParent() string

func (*CreateTenantRequest) GetTenant Uses

func (x *CreateTenantRequest) GetTenant() *Tenant

func (*CreateTenantRequest) ProtoMessage Uses

func (*CreateTenantRequest) ProtoMessage()

func (*CreateTenantRequest) ProtoReflect Uses

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

func (*CreateTenantRequest) Reset Uses

func (x *CreateTenantRequest) Reset()

func (*CreateTenantRequest) String Uses

func (x *CreateTenantRequest) String() string

type CustomAttribute Uses

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 Uses

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

Deprecated: Use CustomAttribute.ProtoReflect.Descriptor instead.

func (*CustomAttribute) GetFilterable Uses

func (x *CustomAttribute) GetFilterable() bool

func (*CustomAttribute) GetKeywordSearchable Uses

func (x *CustomAttribute) GetKeywordSearchable() bool

func (*CustomAttribute) GetLongValues Uses

func (x *CustomAttribute) GetLongValues() []int64

func (*CustomAttribute) GetStringValues Uses

func (x *CustomAttribute) GetStringValues() []string

func (*CustomAttribute) ProtoMessage Uses

func (*CustomAttribute) ProtoMessage()

func (*CustomAttribute) ProtoReflect Uses

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

func (*CustomAttribute) Reset Uses

func (x *CustomAttribute) Reset()

func (*CustomAttribute) String Uses

func (x *CustomAttribute) String() string

type DegreeType Uses

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 Uses

func (DegreeType) Descriptor() protoreflect.EnumDescriptor

func (DegreeType) Enum Uses

func (x DegreeType) Enum() *DegreeType

func (DegreeType) EnumDescriptor Uses

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

Deprecated: Use DegreeType.Descriptor instead.

func (DegreeType) Number Uses

func (x DegreeType) Number() protoreflect.EnumNumber

func (DegreeType) String Uses

func (x DegreeType) String() string

func (DegreeType) Type Uses

func (DegreeType) Type() protoreflect.EnumType

type DeleteCompanyRequest Uses

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 Uses

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

Deprecated: Use DeleteCompanyRequest.ProtoReflect.Descriptor instead.

func (*DeleteCompanyRequest) GetName Uses

func (x *DeleteCompanyRequest) GetName() string

func (*DeleteCompanyRequest) ProtoMessage Uses

func (*DeleteCompanyRequest) ProtoMessage()

func (*DeleteCompanyRequest) ProtoReflect Uses

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

func (*DeleteCompanyRequest) Reset Uses

func (x *DeleteCompanyRequest) Reset()

func (*DeleteCompanyRequest) String Uses

func (x *DeleteCompanyRequest) String() string

type DeleteJobRequest Uses

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 Uses

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

Deprecated: Use DeleteJobRequest.ProtoReflect.Descriptor instead.

func (*DeleteJobRequest) GetName Uses

func (x *DeleteJobRequest) GetName() string

func (*DeleteJobRequest) ProtoMessage Uses

func (*DeleteJobRequest) ProtoMessage()

func (*DeleteJobRequest) ProtoReflect Uses

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

func (*DeleteJobRequest) Reset Uses

func (x *DeleteJobRequest) Reset()

func (*DeleteJobRequest) String Uses

func (x *DeleteJobRequest) String() string

type DeleteTenantRequest Uses

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 Uses

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

Deprecated: Use DeleteTenantRequest.ProtoReflect.Descriptor instead.

func (*DeleteTenantRequest) GetName Uses

func (x *DeleteTenantRequest) GetName() string

func (*DeleteTenantRequest) ProtoMessage Uses

func (*DeleteTenantRequest) ProtoMessage()

func (*DeleteTenantRequest) ProtoReflect Uses

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

func (*DeleteTenantRequest) Reset Uses

func (x *DeleteTenantRequest) Reset()

func (*DeleteTenantRequest) String Uses

func (x *DeleteTenantRequest) String() string

type DeviceInfo Uses

type DeviceInfo struct {

    // Type of the device.
    DeviceType DeviceInfo_DeviceType `protobuf:"varint,1,opt,name=device_type,json=deviceType,proto3,enum=google.cloud.talent.v4.DeviceInfo_DeviceType" json:"device_type,omitempty"`
    // 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 Uses

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

Deprecated: Use DeviceInfo.ProtoReflect.Descriptor instead.

func (*DeviceInfo) GetDeviceType Uses

func (x *DeviceInfo) GetDeviceType() DeviceInfo_DeviceType

func (*DeviceInfo) GetId Uses

func (x *DeviceInfo) GetId() string

func (*DeviceInfo) ProtoMessage Uses

func (*DeviceInfo) ProtoMessage()

func (*DeviceInfo) ProtoReflect Uses

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

func (*DeviceInfo) Reset Uses

func (x *DeviceInfo) Reset()

func (*DeviceInfo) String Uses

func (x *DeviceInfo) String() string

type DeviceInfo_DeviceType Uses

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 Uses

func (DeviceInfo_DeviceType) Descriptor() protoreflect.EnumDescriptor

func (DeviceInfo_DeviceType) Enum Uses

func (x DeviceInfo_DeviceType) Enum() *DeviceInfo_DeviceType

func (DeviceInfo_DeviceType) EnumDescriptor Uses

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

Deprecated: Use DeviceInfo_DeviceType.Descriptor instead.

func (DeviceInfo_DeviceType) Number Uses

func (x DeviceInfo_DeviceType) Number() protoreflect.EnumNumber

func (DeviceInfo_DeviceType) String Uses

func (x DeviceInfo_DeviceType) String() string

func (DeviceInfo_DeviceType) Type Uses

func (DeviceInfo_DeviceType) Type() protoreflect.EnumType

type EmploymentType Uses

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 Uses

func (EmploymentType) Descriptor() protoreflect.EnumDescriptor

func (EmploymentType) Enum Uses

func (x EmploymentType) Enum() *EmploymentType

func (EmploymentType) EnumDescriptor Uses

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

Deprecated: Use EmploymentType.Descriptor instead.

func (EmploymentType) Number Uses

func (x EmploymentType) Number() protoreflect.EnumNumber

func (EmploymentType) String Uses

func (x EmploymentType) String() string

func (EmploymentType) Type Uses

func (EmploymentType) Type() protoreflect.EnumType

type EventServiceClient Uses

type EventServiceClient interface {
    // Report events issued when end user interacts with customer's application
    // that uses Cloud Talent Solution. You may inspect the created events in
    // [self service
    // tools](https://console.cloud.google.com/talent-solution/overview).
    // [Learn
    // more](https://cloud.google.com/talent-solution/docs/management-tools)
    // about self service tools.
    CreateClientEvent(ctx context.Context, in *CreateClientEventRequest, opts ...grpc.CallOption) (*ClientEvent, error)
}

EventServiceClient is the client API for EventService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewEventServiceClient Uses

func NewEventServiceClient(cc grpc.ClientConnInterface) EventServiceClient

type EventServiceServer Uses

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 Uses

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 Uses

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

Deprecated: Use GetCompanyRequest.ProtoReflect.Descriptor instead.

func (*GetCompanyRequest) GetName Uses

func (x *GetCompanyRequest) GetName() string

func (*GetCompanyRequest) ProtoMessage Uses

func (*GetCompanyRequest) ProtoMessage()

func (*GetCompanyRequest) ProtoReflect Uses

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

func (*GetCompanyRequest) Reset Uses

func (x *GetCompanyRequest) Reset()

func (*GetCompanyRequest) String Uses

func (x *GetCompanyRequest) String() string

type GetJobRequest Uses

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 Uses

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

Deprecated: Use GetJobRequest.ProtoReflect.Descriptor instead.

func (*GetJobRequest) GetName Uses

func (x *GetJobRequest) GetName() string

func (*GetJobRequest) ProtoMessage Uses

func (*GetJobRequest) ProtoMessage()

func (*GetJobRequest) ProtoReflect Uses

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

func (*GetJobRequest) Reset Uses

func (x *GetJobRequest) Reset()

func (*GetJobRequest) String Uses

func (x *GetJobRequest) String() string

type GetTenantRequest Uses

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 Uses

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

Deprecated: Use GetTenantRequest.ProtoReflect.Descriptor instead.

func (*GetTenantRequest) GetName Uses

func (x *GetTenantRequest) GetName() string

func (*GetTenantRequest) ProtoMessage Uses

func (*GetTenantRequest) ProtoMessage()

func (*GetTenantRequest) ProtoReflect Uses

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

func (*GetTenantRequest) Reset Uses

func (x *GetTenantRequest) Reset()

func (*GetTenantRequest) String Uses

func (x *GetTenantRequest) String() string

type HistogramQuery Uses

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 Uses

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

Deprecated: Use HistogramQuery.ProtoReflect.Descriptor instead.

func (*HistogramQuery) GetHistogramQuery Uses

func (x *HistogramQuery) GetHistogramQuery() string

func (*HistogramQuery) ProtoMessage Uses

func (*HistogramQuery) ProtoMessage()

func (*HistogramQuery) ProtoReflect Uses

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

func (*HistogramQuery) Reset Uses

func (x *HistogramQuery) Reset()

func (*HistogramQuery) String Uses

func (x *HistogramQuery) String() string

type HistogramQueryResult Uses

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 `protobuf:"bytes,2,rep,name=histogram,proto3" json:"histogram,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
    // contains filtered or unexported fields
}

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

func (*HistogramQueryResult) Descriptor Uses

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

Deprecated: Use HistogramQueryResult.ProtoReflect.Descriptor instead.

func (*HistogramQueryResult) GetHistogram Uses

func (x *HistogramQueryResult) GetHistogram() map[string]int64

func (*HistogramQueryResult) GetHistogramQuery Uses

func (x *HistogramQueryResult) GetHistogramQuery() string

func (*HistogramQueryResult) ProtoMessage Uses

func (*HistogramQueryResult) ProtoMessage()

func (*HistogramQueryResult) ProtoReflect Uses

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

func (*HistogramQueryResult) Reset Uses

func (x *HistogramQueryResult) Reset()

func (*HistogramQueryResult) String Uses

func (x *HistogramQueryResult) String() string

type HtmlSanitization Uses

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 Uses

func (HtmlSanitization) Descriptor() protoreflect.EnumDescriptor

func (HtmlSanitization) Enum Uses

func (x HtmlSanitization) Enum() *HtmlSanitization

func (HtmlSanitization) EnumDescriptor Uses

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

Deprecated: Use HtmlSanitization.Descriptor instead.

func (HtmlSanitization) Number Uses

func (x HtmlSanitization) Number() protoreflect.EnumNumber

func (HtmlSanitization) String Uses

func (x HtmlSanitization) String() string

func (HtmlSanitization) Type Uses

func (HtmlSanitization) Type() protoreflect.EnumType

type Job Uses

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.
    //
    // 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 `protobuf:"varint,8,rep,packed,name=job_benefits,json=jobBenefits,proto3,enum=google.cloud.talent.v4.JobBenefit" json:"job_benefits,omitempty"`
    // 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 `protobuf:"bytes,10,rep,name=custom_attributes,json=customAttributes,proto3" json:"custom_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // The desired education degrees for the job, such as Bachelors, Masters.
    DegreeTypes []DegreeType `protobuf:"varint,11,rep,packed,name=degree_types,json=degreeTypes,proto3,enum=google.cloud.talent.v4.DegreeType" json:"degree_types,omitempty"`
    // 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 `protobuf:"varint,13,rep,packed,name=employment_types,json=employmentTypes,proto3,enum=google.cloud.talent.v4.EmploymentType" json:"employment_types,omitempty"`
    // 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 `protobuf:"varint,20,opt,name=posting_region,json=postingRegion,proto3,enum=google.cloud.talent.v4.PostingRegion" json:"posting_region,omitempty"`
    // 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 Uses

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

Deprecated: Use Job.ProtoReflect.Descriptor instead.

func (*Job) GetAddresses Uses

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

func (*Job) GetApplicationInfo Uses

func (x *Job) GetApplicationInfo() *Job_ApplicationInfo

func (*Job) GetCompany Uses

func (x *Job) GetCompany() string

func (*Job) GetCompanyDisplayName Uses

func (x *Job) GetCompanyDisplayName() string

func (*Job) GetCompensationInfo Uses

func (x *Job) GetCompensationInfo() *CompensationInfo

func (*Job) GetCustomAttributes Uses

func (x *Job) GetCustomAttributes() map[string]*CustomAttribute

func (*Job) GetDegreeTypes Uses

func (x *Job) GetDegreeTypes() []DegreeType

func (*Job) GetDepartment Uses

func (x *Job) GetDepartment() string

func (*Job) GetDerivedInfo Uses

func (x *Job) GetDerivedInfo() *Job_DerivedInfo

func (*Job) GetDescription Uses

func (x *Job) GetDescription() string

func (*Job) GetEmploymentTypes Uses

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

func (*Job) GetIncentives Uses

func (x *Job) GetIncentives() string

func (*Job) GetJobBenefits Uses

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

func (*Job) GetJobEndTime Uses

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

func (*Job) GetJobLevel Uses

func (x *Job) GetJobLevel() JobLevel

func (*Job) GetJobStartTime Uses

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

func (*Job) GetLanguageCode Uses

func (x *Job) GetLanguageCode() string

func (*Job) GetName Uses

func (x *Job) GetName() string

func (*Job) GetPostingCreateTime Uses

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

func (*Job) GetPostingExpireTime Uses

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

func (*Job) GetPostingPublishTime Uses

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

func (*Job) GetPostingRegion Uses

func (x *Job) GetPostingRegion() PostingRegion

func (*Job) GetPostingUpdateTime Uses

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

func (*Job) GetProcessingOptions Uses

func (x *Job) GetProcessingOptions() *Job_ProcessingOptions

func (*Job) GetPromotionValue Uses

func (x *Job) GetPromotionValue() int32

func (*Job) GetQualifications Uses

func (x *Job) GetQualifications() string

func (*Job) GetRequisitionId Uses

func (x *Job) GetRequisitionId() string

func (*Job) GetResponsibilities Uses

func (x *Job) GetResponsibilities() string

func (*Job) GetTitle Uses

func (x *Job) GetTitle() string

func (*Job) GetVisibility Uses

func (x *Job) GetVisibility() Visibility

Deprecated: Do not use.

func (*Job) ProtoMessage Uses

func (*Job) ProtoMessage()

func (*Job) ProtoReflect Uses

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

func (*Job) Reset Uses

func (x *Job) Reset()

func (*Job) String Uses

func (x *Job) String() string

type JobBenefit Uses

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 Uses

func (JobBenefit) Descriptor() protoreflect.EnumDescriptor

func (JobBenefit) Enum Uses

func (x JobBenefit) Enum() *JobBenefit

func (JobBenefit) EnumDescriptor Uses

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

Deprecated: Use JobBenefit.Descriptor instead.

func (JobBenefit) Number Uses

func (x JobBenefit) Number() protoreflect.EnumNumber

func (JobBenefit) String Uses

func (x JobBenefit) String() string

func (JobBenefit) Type Uses

func (JobBenefit) Type() protoreflect.EnumType

type JobCategory Uses

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 Uses

func (JobCategory) Descriptor() protoreflect.EnumDescriptor

func (JobCategory) Enum Uses

func (x JobCategory) Enum() *JobCategory

func (JobCategory) EnumDescriptor Uses

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

Deprecated: Use JobCategory.Descriptor instead.

func (JobCategory) Number Uses

func (x JobCategory) Number() protoreflect.EnumNumber

func (JobCategory) String Uses

func (x JobCategory) String() string

func (JobCategory) Type Uses

func (JobCategory) Type() protoreflect.EnumType

type JobEvent Uses

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 Uses

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

Deprecated: Use JobEvent.ProtoReflect.Descriptor instead.

func (*JobEvent) GetJobs Uses

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

func (*JobEvent) GetType Uses

func (x *JobEvent) GetType() JobEvent_JobEventType

func (*JobEvent) ProtoMessage Uses

func (*JobEvent) ProtoMessage()

func (*JobEvent) ProtoReflect Uses

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

func (*JobEvent) Reset Uses

func (x *JobEvent) Reset()

func (*JobEvent) String Uses

func (x *JobEvent) String() string

type JobEvent_JobEventType Uses

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 Uses

func (JobEvent_JobEventType) Descriptor() protoreflect.EnumDescriptor

func (JobEvent_JobEventType) Enum Uses

func (x JobEvent_JobEventType) Enum() *JobEvent_JobEventType

func (JobEvent_JobEventType) EnumDescriptor Uses

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

Deprecated: Use JobEvent_JobEventType.Descriptor instead.

func (JobEvent_JobEventType) Number Uses

func (x JobEvent_JobEventType) Number() protoreflect.EnumNumber

func (JobEvent_JobEventType) String Uses

func (x JobEvent_JobEventType) String() string

func (JobEvent_JobEventType) Type Uses

func (JobEvent_JobEventType) Type() protoreflect.EnumType

type JobLevel Uses

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 Uses

func (JobLevel) Descriptor() protoreflect.EnumDescriptor

func (JobLevel) Enum Uses

func (x JobLevel) Enum() *JobLevel

func (JobLevel) EnumDescriptor Uses

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

Deprecated: Use JobLevel.Descriptor instead.

func (JobLevel) Number Uses

func (x JobLevel) Number() protoreflect.EnumNumber

func (JobLevel) String Uses

func (x JobLevel) String() string

func (JobLevel) Type Uses

func (JobLevel) Type() protoreflect.EnumType

type JobQuery Uses

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 `protobuf:"varint,4,rep,packed,name=job_categories,json=jobCategories,proto3,enum=google.cloud.talent.v4.JobCategory" json:"job_categories,omitempty"`
    // 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 < 6000 bytes in length.
    //
    // Sample Query:
    // `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND
    // driving_years > 10`
    CustomAttributeFilter string `protobuf:"bytes,8,opt,name=custom_attribute_filter,json=customAttributeFilter,proto3" json:"custom_attribute_filter,omitempty"`
    // 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 `protobuf:"varint,10,rep,packed,name=employment_types,json=employmentTypes,proto3,enum=google.cloud.talent.v4.EmploymentType" json:"employment_types,omitempty"`
    // 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 Uses

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

Deprecated: Use JobQuery.ProtoReflect.Descriptor instead.

func (*JobQuery) GetCommuteFilter Uses

func (x *JobQuery) GetCommuteFilter() *CommuteFilter

func (*JobQuery) GetCompanies Uses

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

func (*JobQuery) GetCompanyDisplayNames Uses

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

func (*JobQuery) GetCompensationFilter Uses

func (x *JobQuery) GetCompensationFilter() *CompensationFilter

func (*JobQuery) GetCustomAttributeFilter Uses

func (x *JobQuery) GetCustomAttributeFilter() string

func (*JobQuery) GetDisableSpellCheck Uses

func (x *JobQuery) GetDisableSpellCheck() bool

func (*JobQuery) GetEmploymentTypes Uses

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

func (*JobQuery) GetExcludedJobs Uses

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

func (*JobQuery) GetJobCategories Uses

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

func (*JobQuery) GetLanguageCodes Uses

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

func (*JobQuery) GetLocationFilters Uses

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

func (*JobQuery) GetPublishTimeRange Uses

func (x *JobQuery) GetPublishTimeRange() *TimestampRange

func (*JobQuery) GetQuery Uses

func (x *JobQuery) GetQuery() string

func (*JobQuery) GetQueryLanguageCode Uses

func (x *JobQuery) GetQueryLanguageCode() string

func (*JobQuery) ProtoMessage Uses

func (*JobQuery) ProtoMessage()

func (*JobQuery) ProtoReflect Uses

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

func (*JobQuery) Reset Uses

func (x *JobQuery) Reset()

func (*JobQuery) String Uses

func (x *JobQuery) String() string

type JobResult Uses

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 Uses

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

Deprecated: Use JobResult.ProtoReflect.Descriptor instead.

func (*JobResult) GetJob Uses

func (x *JobResult) GetJob() *Job

func (*JobResult) GetStatus Uses

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

func (*JobResult) ProtoMessage Uses

func (*JobResult) ProtoMessage()

func (*JobResult) ProtoReflect Uses

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

func (*JobResult) Reset Uses

func (x *JobResult) Reset()

func (*JobResult) String Uses

func (x *JobResult) String() string

type JobServiceClient Uses

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 Uses

func NewJobServiceClient(cc grpc.ClientConnInterface) JobServiceClient

type JobServiceServer Uses

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 Uses

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 Uses

func (JobView) Descriptor() protoreflect.EnumDescriptor

func (JobView) Enum Uses

func (x JobView) Enum() *JobView

func (JobView) EnumDescriptor Uses

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

Deprecated: Use JobView.Descriptor instead.

func (JobView) Number Uses

func (x JobView) Number() protoreflect.EnumNumber

func (JobView) String Uses

func (x JobView) String() string

func (JobView) Type Uses

func (JobView) Type() protoreflect.EnumType

type Job_ApplicationInfo Uses

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 Uses

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

Deprecated: Use Job_ApplicationInfo.ProtoReflect.Descriptor instead.

func (*Job_ApplicationInfo) GetEmails Uses

func (x *Job_ApplicationInfo) GetEmails() []string

func (*Job_ApplicationInfo) GetInstruction Uses

func (x *Job_ApplicationInfo) GetInstruction() string

func (*Job_ApplicationInfo) GetUris Uses

func (x *Job_ApplicationInfo) GetUris() []string

func (*Job_ApplicationInfo) ProtoMessage Uses

func (*Job_ApplicationInfo) ProtoMessage()

func (*Job_ApplicationInfo) ProtoReflect Uses

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

func (*Job_ApplicationInfo) Reset Uses

func (x *Job_ApplicationInfo) Reset()

func (*Job_ApplicationInfo) String Uses

func (x *Job_ApplicationInfo) String() string

type Job_DerivedInfo Uses

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 `protobuf:"varint,3,rep,packed,name=job_categories,json=jobCategories,proto3,enum=google.cloud.talent.v4.JobCategory" json:"job_categories,omitempty"`
    // contains filtered or unexported fields
}

Derived details about the job posting.

func (*Job_DerivedInfo) Descriptor Uses

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

Deprecated: Use Job_DerivedInfo.ProtoReflect.Descriptor instead.

func (*Job_DerivedInfo) GetJobCategories Uses

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

func (*Job_DerivedInfo) GetLocations Uses

func (x *Job_DerivedInfo) GetLocations() []*Location

func (*Job_DerivedInfo) ProtoMessage Uses

func (*Job_DerivedInfo) ProtoMessage()

func (*Job_DerivedInfo) ProtoReflect Uses

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

func (*Job_DerivedInfo) Reset Uses

func (x *Job_DerivedInfo) Reset()

func (*Job_DerivedInfo) String Uses

func (x *Job_DerivedInfo) String() string

type Job_ProcessingOptions Uses

type Job_ProcessingOptions struct {

    // If set to `true`, the service does not attempt to resolve a
    // more precise address for the job.
    DisableStreetAddressResolution bool `protobuf:"varint,1,opt,name=disable_street_address_resolution,json=disableStreetAddressResolution,proto3" json:"disable_street_address_resolution,omitempty"`
    // 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 `protobuf:"varint,2,opt,name=html_sanitization,json=htmlSanitization,proto3,enum=google.cloud.talent.v4.HtmlSanitization" json:"html_sanitization,omitempty"`
    // contains filtered or unexported fields
}

Options for job processing.

func (*Job_ProcessingOptions) Descriptor Uses

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

Deprecated: Use Job_ProcessingOptions.ProtoReflect.Descriptor instead.

func (*Job_ProcessingOptions) GetDisableStreetAddressResolution Uses

func (x *Job_ProcessingOptions) GetDisableStreetAddressResolution() bool

func (*Job_ProcessingOptions) GetHtmlSanitization Uses

func (x *Job_ProcessingOptions) GetHtmlSanitization() HtmlSanitization

func (*Job_ProcessingOptions) ProtoMessage Uses

func (*Job_ProcessingOptions) ProtoMessage()

func (*Job_ProcessingOptions) ProtoReflect Uses

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

func (*Job_ProcessingOptions) Reset Uses

func (x *Job_ProcessingOptions) Reset()

func (*Job_ProcessingOptions) String Uses

func (x *Job_ProcessingOptions) String() string

type ListCompaniesRequest Uses

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 Uses

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

Deprecated: Use ListCompaniesRequest.ProtoReflect.Descriptor instead.

func (*ListCompaniesRequest) GetPageSize Uses

func (x *ListCompaniesRequest) GetPageSize() int32

func (*ListCompaniesRequest) GetPageToken Uses

func (x *ListCompaniesRequest) GetPageToken() string

func (*ListCompaniesRequest) GetParent Uses

func (x *ListCompaniesRequest) GetParent() string

func (*ListCompaniesRequest) GetRequireOpenJobs Uses

func (x *ListCompaniesRequest) GetRequireOpenJobs() bool

func (*ListCompaniesRequest) ProtoMessage Uses

func (*ListCompaniesRequest) ProtoMessage()

func (*ListCompaniesRequest) ProtoReflect Uses

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

func (*ListCompaniesRequest) Reset Uses

func (x *ListCompaniesRequest) Reset()

func (*ListCompaniesRequest) String Uses

func (x *ListCompaniesRequest) String() string

type ListCompaniesResponse Uses

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 Uses

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

Deprecated: Use ListCompaniesResponse.ProtoReflect.Descriptor instead.

func (*ListCompaniesResponse) GetCompanies Uses

func (x *ListCompaniesResponse) GetCompanies() []*Company

func (*ListCompaniesResponse) GetMetadata Uses

func (x *ListCompaniesResponse) GetMetadata() *ResponseMetadata

func (*ListCompaniesResponse) GetNextPageToken Uses

func (x *ListCompaniesResponse) GetNextPageToken() string

func (*ListCompaniesResponse) ProtoMessage Uses

func (*ListCompaniesResponse) ProtoMessage()

func (*ListCompaniesResponse) ProtoReflect Uses

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

func (*ListCompaniesResponse) Reset Uses

func (x *ListCompaniesResponse) Reset()

func (*ListCompaniesResponse) String Uses

func (x *ListCompaniesResponse) String() string

type ListJobsRequest Uses

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` (Required)
    // * `requisitionId`
    // * `status` Available values: OPEN, EXPIRED, ALL. Defaults to
    // OPEN if no value is specified.
    //
    // 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"
    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 Uses

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

Deprecated: Use ListJobsRequest.ProtoReflect.Descriptor instead.

func (*ListJobsRequest) GetFilter Uses

func (x *ListJobsRequest) GetFilter() string

func (*ListJobsRequest) GetJobView Uses

func (x *ListJobsRequest) GetJobView() JobView

func (*ListJobsRequest) GetPageSize Uses

func (x *ListJobsRequest) GetPageSize() int32

func (*ListJobsRequest) GetPageToken Uses

func (x *ListJobsRequest) GetPageToken() string

func (*ListJobsRequest) GetParent Uses

func (x *ListJobsRequest) GetParent() string

func (*ListJobsRequest) ProtoMessage Uses

func (*ListJobsRequest) ProtoMessage()

func (*ListJobsRequest) ProtoReflect Uses

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

func (*ListJobsRequest) Reset Uses

func (x *ListJobsRequest) Reset()

func (*ListJobsRequest) String Uses

func (x *ListJobsRequest) String() string

type ListJobsResponse Uses

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 Uses

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

Deprecated: Use ListJobsResponse.ProtoReflect.Descriptor instead.

func (*ListJobsResponse) GetJobs Uses

func (x *ListJobsResponse) GetJobs() []*Job

func (*ListJobsResponse) GetMetadata Uses

func (x *ListJobsResponse) GetMetadata() *ResponseMetadata

func (*ListJobsResponse) GetNextPageToken Uses

func (x *ListJobsResponse) GetNextPageToken() string

func (*ListJobsResponse) ProtoMessage Uses

func (*ListJobsResponse) ProtoMessage()

func (*ListJobsResponse) ProtoReflect Uses

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

func (*ListJobsResponse) Reset Uses

func (x *ListJobsResponse) Reset()

func (*ListJobsResponse) String Uses

func (x *ListJobsResponse) String() string

type ListTenantsRequest Uses

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 Uses

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

Deprecated: Use ListTenantsRequest.ProtoReflect.Descriptor instead.

func (*ListTenantsRequest) GetPageSize Uses

func (x *ListTenantsRequest) GetPageSize() int32

func (*ListTenantsRequest) GetPageToken Uses

func (x *ListTenantsRequest) GetPageToken() string

func (*ListTenantsRequest) GetParent Uses

func (x *ListTenantsRequest) GetParent() string

func (*ListTenantsRequest) ProtoMessage Uses

func (*ListTenantsRequest) ProtoMessage()

func (*ListTenantsRequest) ProtoReflect Uses

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

func (*ListTenantsRequest) Reset Uses

func (x *ListTenantsRequest) Reset()

func (*ListTenantsRequest) String Uses

func (x *ListTenantsRequest) String() string

type ListTenantsResponse Uses

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 Uses

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

Deprecated: Use ListTenantsResponse.ProtoReflect.Descriptor instead.

func (*ListTenantsResponse) GetMetadata Uses

func (x *ListTenantsResponse) GetMetadata() *ResponseMetadata

func (*ListTenantsResponse) GetNextPageToken Uses

func (x *ListTenantsResponse) GetNextPageToken() string

func (*ListTenantsResponse) GetTenants Uses

func (x *ListTenantsResponse) GetTenants() []*Tenant

func (*ListTenantsResponse) ProtoMessage Uses

func (*ListTenantsResponse) ProtoMessage()

func (*ListTenantsResponse) ProtoReflect Uses

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

func (*ListTenantsResponse) Reset Uses

func (x *ListTenantsResponse) Reset()

func (*ListTenantsResponse) String Uses

func (x *ListTenantsResponse) String() string

type Location Uses

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 `protobuf:"varint,1,opt,name=location_type,json=locationType,proto3,enum=google.cloud.talent.v4.Location_LocationType" json:"location_type,omitempty"`
    // 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 Uses

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

Deprecated: Use Location.ProtoReflect.Descriptor instead.

func (*Location) GetLatLng Uses

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

func (*Location) GetLocationType Uses

func (x *Location) GetLocationType() Location_LocationType

func (*Location) GetPostalAddress Uses

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

func (*Location) GetRadiusMiles Uses

func (x *Location) GetRadiusMiles() float64

func (*Location) ProtoMessage Uses

func (*Location) ProtoMessage()

func (*Location) ProtoReflect Uses

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

func (*Location) Reset Uses

func (x *Location) Reset()

func (*Location) String Uses

func (x *Location) String() string

type LocationFilter Uses

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 of the address. This is used
    // to address ambiguity of the user-input location, for example, "Liverpool"
    // against "Liverpool, NY, US" or "Liverpool, UK".
    //
    // Set this field to bias location resolution toward a specific country
    // or territory. If this field is not set, application behavior is biased
    // toward the United States by default.
    //
    // See
    // https://www.unicode.org/cldr/charts/30/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 `protobuf:"varint,5,opt,name=telecommute_preference,json=telecommutePreference,proto3,enum=google.cloud.talent.v4.LocationFilter_TelecommutePreference" json:"telecommute_preference,omitempty"`
    // contains filtered or unexported fields
}

Geographic region of the search.

func (*LocationFilter) Descriptor Uses

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

Deprecated: Use LocationFilter.ProtoReflect.Descriptor instead.

func (*LocationFilter) GetAddress Uses

func (x *LocationFilter) GetAddress() string

func (*LocationFilter) GetDistanceInMiles Uses

func (x *LocationFilter) GetDistanceInMiles() float64

func (*LocationFilter) GetLatLng Uses

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

func (*LocationFilter) GetRegionCode Uses

func (x *LocationFilter) GetRegionCode() string

func (*LocationFilter) GetTelecommutePreference Uses

func (x *LocationFilter) GetTelecommutePreference() LocationFilter_TelecommutePreference

func (*LocationFilter) ProtoMessage Uses

func (*LocationFilter) ProtoMessage()

func (*LocationFilter) ProtoReflect Uses

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

func (*LocationFilter) Reset Uses

func (x *LocationFilter) Reset()

func (*LocationFilter) String Uses

func (x *LocationFilter) String() string

type LocationFilter_TelecommutePreference Uses

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 Uses

func (LocationFilter_TelecommutePreference) Descriptor() protoreflect.EnumDescriptor

func (LocationFilter_TelecommutePreference) Enum Uses

func (x LocationFilter_TelecommutePreference) Enum() *LocationFilter_TelecommutePreference

func (LocationFilter_TelecommutePreference) EnumDescriptor Uses

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

Deprecated: Use LocationFilter_TelecommutePreference.Descriptor instead.

func (LocationFilter_TelecommutePreference) Number Uses

func (x LocationFilter_TelecommutePreference) Number() protoreflect.EnumNumber

func (LocationFilter_TelecommutePreference) String Uses

func (x LocationFilter_TelecommutePreference) String() string

func (LocationFilter_TelecommutePreference) Type Uses

func (LocationFilter_TelecommutePreference) Type() protoreflect.EnumType

type Location_LocationType Uses

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 Uses

func (Location_LocationType) Descriptor() protoreflect.EnumDescriptor

func (Location_LocationType) Enum Uses

func (x Location_LocationType) Enum() *Location_LocationType

func (Location_LocationType) EnumDescriptor Uses

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

Deprecated: Use Location_LocationType.Descriptor instead.

func (Location_LocationType) Number Uses

func (x Location_LocationType) Number() protoreflect.EnumNumber

func (Location_LocationType) String Uses

func (x Location_LocationType) String() string

func (Location_LocationType) Type Uses

func (Location_LocationType) Type() protoreflect.EnumType

type PostingRegion Uses

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 Uses

func (PostingRegion) Descriptor() protoreflect.EnumDescriptor

func (PostingRegion) Enum Uses

func (x PostingRegion) Enum() *PostingRegion

func (PostingRegion) EnumDescriptor Uses

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

Deprecated: Use PostingRegion.Descriptor instead.

func (PostingRegion) Number Uses

func (x PostingRegion) Number() protoreflect.EnumNumber

func (PostingRegion) String Uses

func (x PostingRegion) String() string

func (PostingRegion) Type Uses

func (PostingRegion) Type() protoreflect.EnumType

type RequestMetadata Uses

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 Uses

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

Deprecated: Use RequestMetadata.ProtoReflect.Descriptor instead.

func (*RequestMetadata) GetAllowMissingIds Uses

func (x *RequestMetadata) GetAllowMissingIds() bool

func (*RequestMetadata) GetDeviceInfo Uses

func (x *RequestMetadata) GetDeviceInfo() *DeviceInfo

func (*RequestMetadata) GetDomain Uses

func (x *RequestMetadata) GetDomain() string

func (*RequestMetadata) GetSessionId Uses

func (x *RequestMetadata) GetSessionId() string

func (*RequestMetadata) GetUserId Uses

func (x *RequestMetadata) GetUserId() string

func (*RequestMetadata) ProtoMessage Uses

func (*RequestMetadata) ProtoMessage()

func (*RequestMetadata) ProtoReflect Uses

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

func (*RequestMetadata) Reset Uses

func (x *RequestMetadata) Reset()

func (*RequestMetadata) String Uses

func (x *RequestMetadata) String() string

type ResponseMetadata Uses

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 Uses

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

Deprecated: Use ResponseMetadata.ProtoReflect.Descriptor instead.

func (*ResponseMetadata) GetRequestId Uses

func (x *ResponseMetadata) GetRequestId() string

func (*ResponseMetadata) ProtoMessage Uses

func (*ResponseMetadata) ProtoMessage()

func (*ResponseMetadata) ProtoReflect Uses

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

func (*ResponseMetadata) Reset Uses

func (x *ResponseMetadata) Reset()

func (*ResponseMetadata) String Uses

func (x *ResponseMetadata) String() string

type SearchJobsRequest Uses

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 `protobuf:"varint,2,opt,name=search_mode,json=searchMode,proto3,enum=google.cloud.talent.v4.SearchJobsRequest_SearchMode" json:"search_mode,omitempty"`
    // 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_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 `protobuf:"varint,13,opt,name=diversification_level,json=diversificationLevel,proto3,enum=google.cloud.talent.v4.SearchJobsRequest_DiversificationLevel" json:"diversification_level,omitempty"`
    // 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"`
    // 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.
    DisableKeywordMatch bool `protobuf:"varint,16,opt,name=disable_keyword_match,json=disableKeywordMatch,proto3" json:"disable_keyword_match,omitempty"`
    // contains filtered or unexported fields
}

The Request body of the `SearchJobs` call.

func (*SearchJobsRequest) Descriptor Uses

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

Deprecated: Use SearchJobsRequest.ProtoReflect.Descriptor instead.

func (*SearchJobsRequest) GetCustomRankingInfo Uses

func (x *SearchJobsRequest) GetCustomRankingInfo() *SearchJobsRequest_CustomRankingInfo

func (*SearchJobsRequest) GetDisableKeywordMatch Uses

func (x *SearchJobsRequest) GetDisableKeywordMatch() bool

func (*SearchJobsRequest) GetDiversificationLevel Uses

func (x *SearchJobsRequest) GetDiversificationLevel() SearchJobsRequest_DiversificationLevel

func (*SearchJobsRequest) GetEnableBroadening Uses

func (x *SearchJobsRequest) GetEnableBroadening() bool

func (*SearchJobsRequest) GetHistogramQueries Uses

func (x *SearchJobsRequest) GetHistogramQueries() []*HistogramQuery

func (*SearchJobsRequest) GetJobQuery Uses

func (x *SearchJobsRequest) GetJobQuery() *JobQuery

func (*SearchJobsRequest) GetJobView Uses

func (x *SearchJobsRequest) GetJobView() JobView

func (*SearchJobsRequest) GetMaxPageSize Uses

func (x *SearchJobsRequest) GetMaxPageSize() int32

func (*SearchJobsRequest) GetOffset Uses

func (x *SearchJobsRequest) GetOffset() int32

func (*SearchJobsRequest) GetOrderBy Uses

func (x *SearchJobsRequest) GetOrderBy() string

func (*SearchJobsRequest) GetPageToken Uses

func (x *SearchJobsRequest) GetPageToken() string

func (*SearchJobsRequest) GetParent Uses

func (x *SearchJobsRequest) GetParent() string

func (*SearchJobsRequest) GetRequestMetadata Uses

func (x *SearchJobsRequest) GetRequestMetadata() *RequestMetadata

func (*SearchJobsRequest) GetSearchMode Uses

func (x *SearchJobsRequest) GetSearchMode() SearchJobsRequest_SearchMode

func (*SearchJobsRequest) ProtoMessage Uses

func (*SearchJobsRequest) ProtoMessage()

func (*SearchJobsRequest) ProtoReflect Uses

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

func (*SearchJobsRequest) Reset Uses

func (x *SearchJobsRequest) Reset()

func (*SearchJobsRequest) String Uses

func (x *SearchJobsRequest) String() string

type SearchJobsRequest_CustomRankingInfo Uses

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 `protobuf:"varint,1,opt,name=importance_level,json=importanceLevel,proto3,enum=google.cloud.talent.v4.SearchJobsRequest_CustomRankingInfo_ImportanceLevel" json:"importance_level,omitempty"`
    // 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 < 100 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 Uses

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

Deprecated: Use SearchJobsRequest_CustomRankingInfo.ProtoReflect.Descriptor instead.

func (*SearchJobsRequest_CustomRankingInfo) GetImportanceLevel Uses

func (x *SearchJobsRequest_CustomRankingInfo) GetImportanceLevel() SearchJobsRequest_CustomRankingInfo_ImportanceLevel

func (*SearchJobsRequest_CustomRankingInfo) GetRankingExpression Uses

func (x *SearchJobsRequest_CustomRankingInfo) GetRankingExpression() string

func (*SearchJobsRequest_CustomRankingInfo) ProtoMessage Uses

func (*SearchJobsRequest_CustomRankingInfo) ProtoMessage()

func (*SearchJobsRequest_CustomRankingInfo) ProtoReflect Uses

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

func (*SearchJobsRequest_CustomRankingInfo) Reset Uses

func (x *SearchJobsRequest_CustomRankingInfo) Reset()

func (*SearchJobsRequest_CustomRankingInfo) String Uses

func (x *SearchJobsRequest_CustomRankingInfo) String() string

type SearchJobsRequest_CustomRankingInfo_ImportanceLevel Uses

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 Uses

func (SearchJobsRequest_CustomRankingInfo_ImportanceLevel) Descriptor() protoreflect.EnumDescriptor

func (SearchJobsRequest_CustomRankingInfo_ImportanceLevel) Enum Uses

func (x SearchJobsRequest_CustomRankingInfo_ImportanceLevel) Enum() *SearchJobsRequest_CustomRankingInfo_ImportanceLevel

func (SearchJobsRequest_CustomRankingInfo_ImportanceLevel) EnumDescriptor Uses

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

Deprecated: Use SearchJobsRequest_CustomRankingInfo_ImportanceLevel.Descriptor instead.

func (SearchJobsRequest_CustomRankingInfo_ImportanceLevel) Number Uses

func (x SearchJobsRequest_CustomRankingInfo_ImportanceLevel) Number() protoreflect.EnumNumber

func (SearchJobsRequest_CustomRankingInfo_ImportanceLevel) String Uses

func (x SearchJobsRequest_CustomRankingInfo_ImportanceLevel) String() string

func (SearchJobsRequest_CustomRankingInfo_ImportanceLevel) Type Uses

func (SearchJobsRequest_CustomRankingInfo_ImportanceLevel) Type() protoreflect.EnumType

type SearchJobsRequest_DiversificationLevel Uses

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.

const (
    // The diversification level isn't specified.
    SearchJobsRequest_DIVERSIFICATION_LEVEL_UNSPECIFIED SearchJobsRequest_DiversificationLevel = 0
    // Disables diversification. Jobs that would normally be pushed to the last
    // page would not have their positions altered. This may result in highly
    // similar jobs appearing in sequence in the search results.
    SearchJobsRequest_DISABLED SearchJobsRequest_DiversificationLevel = 1
    // Default diversifying behavior. The result list is ordered so that
    // highly similar results are pushed to the end of the last page of search
    // results. If you are using pageToken to page through the result set,
    // latency might be lower but we can't guarantee that all results are
    // returned. If you are using page offset, latency might be higher but all
    // results are returned.
    SearchJobsRequest_SIMPLE SearchJobsRequest_DiversificationLevel = 2
)

func (SearchJobsRequest_DiversificationLevel) Descriptor Uses

func (SearchJobsRequest_DiversificationLevel) Descriptor() protoreflect.EnumDescriptor

func (SearchJobsRequest_DiversificationLevel) Enum Uses

func (x SearchJobsRequest_DiversificationLevel) Enum() *SearchJobsRequest_DiversificationLevel

func (SearchJobsRequest_DiversificationLevel) EnumDescriptor Uses

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

Deprecated: Use SearchJobsRequest_DiversificationLevel.Descriptor instead.

func (SearchJobsRequest_DiversificationLevel) Number Uses

func (x SearchJobsRequest_DiversificationLevel) Number() protoreflect.EnumNumber

func (SearchJobsRequest_DiversificationLevel) String Uses

func (x SearchJobsRequest_DiversificationLevel) String() string

func (SearchJobsRequest_DiversificationLevel) Type Uses

func (SearchJobsRequest_DiversificationLevel) Type() protoreflect.EnumType

type SearchJobsRequest_SearchMode Uses

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 Uses

func (SearchJobsRequest_SearchMode) Descriptor() protoreflect.EnumDescriptor

func (SearchJobsRequest_SearchMode) Enum Uses

func (x SearchJobsRequest_SearchMode) Enum() *SearchJobsRequest_SearchMode

func (SearchJobsRequest_SearchMode) EnumDescriptor Uses

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

Deprecated: Use SearchJobsRequest_SearchMode.Descriptor instead.

func (SearchJobsRequest_SearchMode) Number Uses

func (x SearchJobsRequest_SearchMode) Number() protoreflect.EnumNumber

func (SearchJobsRequest_SearchMode) String Uses

func (x SearchJobsRequest_SearchMode) String() string

func (SearchJobsRequest_SearchMode) Type Uses

func (SearchJobsRequest_SearchMode) Type() protoreflect.EnumType

type SearchJobsResponse Uses

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 `protobuf:"bytes,2,rep,name=histogram_query_results,json=histogramQueryResults,proto3" json:"histogram_query_results,omitempty"`
    // 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 `protobuf:"varint,8,opt,name=broadened_query_jobs_count,json=broadenedQueryJobsCount,proto3" json:"broadened_query_jobs_count,omitempty"`
    // 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 Uses

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

Deprecated: Use SearchJobsResponse.ProtoReflect.Descriptor instead.

func (*SearchJobsResponse) GetBroadenedQueryJobsCount Uses

func (x *SearchJobsResponse) GetBroadenedQueryJobsCount() int32

func (*SearchJobsResponse) GetHistogramQueryResults Uses

func (x *SearchJobsResponse) GetHistogramQueryResults() []*HistogramQueryResult

func (*SearchJobsResponse) GetLocationFilters Uses

func (x *SearchJobsResponse) GetLocationFilters() []*Location

func (*SearchJobsResponse) GetMatchingJobs Uses

func (x *SearchJobsResponse) GetMatchingJobs() []*SearchJobsResponse_MatchingJob

func (*SearchJobsResponse) GetMetadata Uses

func (x *SearchJobsResponse) GetMetadata() *ResponseMetadata

func (*SearchJobsResponse) GetNextPageToken Uses

func (x *SearchJobsResponse) GetNextPageToken() string

func (*SearchJobsResponse) GetSpellCorrection Uses

func (x *SearchJobsResponse) GetSpellCorrection() *SpellingCorrection

func (*SearchJobsResponse) GetTotalSize Uses

func (x *SearchJobsResponse) GetTotalSize() int32

func (*SearchJobsResponse) ProtoMessage Uses

func (*SearchJobsResponse) ProtoMessage()

func (*SearchJobsResponse) ProtoReflect Uses

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

func (*SearchJobsResponse) Reset Uses

func (x *SearchJobsResponse) Reset()

func (*SearchJobsResponse) String Uses

func (x *SearchJobsResponse) String() string

type SearchJobsResponse_CommuteInfo Uses

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 Uses

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

Deprecated: Use SearchJobsResponse_CommuteInfo.ProtoReflect.Descriptor instead.

func (*SearchJobsResponse_CommuteInfo) GetJobLocation Uses

func (x *SearchJobsResponse_CommuteInfo) GetJobLocation() *Location

func (*SearchJobsResponse_CommuteInfo) GetTravelDuration Uses

func (x *SearchJobsResponse_CommuteInfo) GetTravelDuration() *durationpb.Duration

func (*SearchJobsResponse_CommuteInfo) ProtoMessage Uses

func (*SearchJobsResponse_CommuteInfo) ProtoMessage()

func (*SearchJobsResponse_CommuteInfo) ProtoReflect Uses

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

func (*SearchJobsResponse_CommuteInfo) Reset Uses

func (x *SearchJobsResponse_CommuteInfo) Reset()

func (*SearchJobsResponse_CommuteInfo) String Uses

func (x *SearchJobsResponse_CommuteInfo) String() string

type SearchJobsResponse_MatchingJob Uses

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 Uses

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

Deprecated: Use SearchJobsResponse_MatchingJob.ProtoReflect.Descriptor instead.

func (*SearchJobsResponse_MatchingJob) GetCommuteInfo Uses

func (x *SearchJobsResponse_MatchingJob) GetCommuteInfo() *SearchJobsResponse_CommuteInfo

func (*SearchJobsResponse_MatchingJob) GetJob Uses

func (x *SearchJobsResponse_MatchingJob) GetJob() *Job

func (*SearchJobsResponse_MatchingJob) GetJobSummary Uses

func (x *SearchJobsResponse_MatchingJob) GetJobSummary() string

func (*SearchJobsResponse_MatchingJob) GetJobTitleSnippet Uses

func (x *SearchJobsResponse_MatchingJob) GetJobTitleSnippet() string

func (*SearchJobsResponse_MatchingJob) GetSearchTextSnippet Uses

func (x *SearchJobsResponse_MatchingJob) GetSearchTextSnippet() string

func (*SearchJobsResponse_MatchingJob) ProtoMessage Uses

func (*SearchJobsResponse_MatchingJob) ProtoMessage()

func (*SearchJobsResponse_MatchingJob) ProtoReflect Uses

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

func (*SearchJobsResponse_MatchingJob) Reset Uses

func (x *SearchJobsResponse_MatchingJob) Reset()

func (*SearchJobsResponse_MatchingJob) String Uses

func (x *SearchJobsResponse_MatchingJob) String() string

type SpellingCorrection Uses

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 Uses

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

Deprecated: Use SpellingCorrection.ProtoReflect.Descriptor instead.

func (*SpellingCorrection) GetCorrected Uses

func (x *SpellingCorrection) GetCorrected() bool

func (*SpellingCorrection) GetCorrectedHtml Uses

func (x *SpellingCorrection) GetCorrectedHtml() string

func (*SpellingCorrection) GetCorrectedText Uses

func (x *SpellingCorrection) GetCorrectedText() string

func (*SpellingCorrection) ProtoMessage Uses

func (*SpellingCorrection) ProtoMessage()

func (*SpellingCorrection) ProtoReflect Uses

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

func (*SpellingCorrection) Reset Uses

func (x *SpellingCorrection) Reset()

func (*SpellingCorrection) String Uses

func (x *SpellingCorrection) String() string

type Tenant Uses

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 Uses

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

Deprecated: Use Tenant.ProtoReflect.Descriptor instead.

func (*Tenant) GetExternalId Uses

func (x *Tenant) GetExternalId() string

func (*Tenant) GetName Uses

func (x *Tenant) GetName() string

func (*Tenant) ProtoMessage Uses

func (*Tenant) ProtoMessage()

func (*Tenant) ProtoReflect Uses

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

func (*Tenant) Reset Uses

func (x *Tenant) Reset()

func (*Tenant) String Uses

func (x *Tenant) String() string

type TenantServiceClient Uses

type TenantServiceClient interface {
    // Creates a new tenant entity.
    CreateTenant(ctx context.Context, in *CreateTenantRequest, opts ...grpc.CallOption) (*Tenant, error)
    // Retrieves specified tenant.
    GetTenant(ctx context.Context, in *GetTenantRequest, opts ...grpc.CallOption) (*Tenant, error)
    // Updates specified tenant.
    UpdateTenant(ctx context.Context, in *UpdateTenantRequest, opts ...grpc.CallOption) (*Tenant, error)
    // Deletes specified tenant.
    DeleteTenant(ctx context.Context, in *DeleteTenantRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
    // Lists all tenants associated with the project.
    ListTenants(ctx context.Context, in *ListTenantsRequest, opts ...grpc.CallOption) (*ListTenantsResponse, error)
}

TenantServiceClient is the client API for TenantService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewTenantServiceClient Uses

func NewTenantServiceClient(cc grpc.ClientConnInterface) TenantServiceClient

type TenantServiceServer Uses

type TenantServiceServer interface {
    // Creates a new tenant entity.
    CreateTenant(context.Context, *CreateTenantRequest) (*