diff --git a/packages/google-cloud-talent/protos/protos.d.ts b/packages/google-cloud-talent/protos/protos.d.ts index 9a5cac6dd52..7553ea5a3d0 100644 --- a/packages/google-cloud-talent/protos/protos.d.ts +++ b/packages/google-cloud-talent/protos/protos.d.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -import * as Long from "long"; +import Long = require("long"); import {protobuf as $protobuf} from "google-gax"; /** Namespace google. */ export namespace google { @@ -120,6 +120,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TimestampRange + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** CompanySize enum. */ @@ -362,6 +369,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Location + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Location { @@ -494,6 +508,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RequestMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ResponseMetadata. */ @@ -584,6 +605,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResponseMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeviceInfo. */ @@ -680,6 +708,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeviceInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace DeviceInfo { @@ -802,6 +837,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CustomAttribute + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SpellingCorrection. */ @@ -904,6 +946,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SpellingCorrection + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CompensationInfo. */ @@ -1006,6 +1055,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CompensationInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace CompensationInfo { @@ -1131,6 +1187,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CompensationEntry + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** CompensationType enum. */ @@ -1252,6 +1315,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CompensationRange + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -1385,6 +1455,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchOperationMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BatchOperationMetadata { @@ -1561,6 +1638,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Company + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Company { @@ -1653,6 +1737,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DerivedInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -1750,35 +1841,35 @@ export namespace google { namespace CompanyService { /** - * Callback as used by {@link google.cloud.talent.v4.CompanyService#createCompany}. + * Callback as used by {@link google.cloud.talent.v4.CompanyService|createCompany}. * @param error Error, if any * @param [response] Company */ type CreateCompanyCallback = (error: (Error|null), response?: google.cloud.talent.v4.Company) => void; /** - * Callback as used by {@link google.cloud.talent.v4.CompanyService#getCompany}. + * Callback as used by {@link google.cloud.talent.v4.CompanyService|getCompany}. * @param error Error, if any * @param [response] Company */ type GetCompanyCallback = (error: (Error|null), response?: google.cloud.talent.v4.Company) => void; /** - * Callback as used by {@link google.cloud.talent.v4.CompanyService#updateCompany}. + * Callback as used by {@link google.cloud.talent.v4.CompanyService|updateCompany}. * @param error Error, if any * @param [response] Company */ type UpdateCompanyCallback = (error: (Error|null), response?: google.cloud.talent.v4.Company) => void; /** - * Callback as used by {@link google.cloud.talent.v4.CompanyService#deleteCompany}. + * Callback as used by {@link google.cloud.talent.v4.CompanyService|deleteCompany}. * @param error Error, if any * @param [response] Empty */ type DeleteCompanyCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.cloud.talent.v4.CompanyService#listCompanies}. + * Callback as used by {@link google.cloud.talent.v4.CompanyService|listCompanies}. * @param error Error, if any * @param [response] ListCompaniesResponse */ @@ -1879,6 +1970,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateCompanyRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetCompanyRequest. */ @@ -1969,6 +2067,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetCompanyRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateCompanyRequest. */ @@ -2065,6 +2170,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateCompanyRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteCompanyRequest. */ @@ -2155,6 +2267,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteCompanyRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListCompaniesRequest. */ @@ -2263,6 +2382,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListCompaniesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListCompaniesResponse. */ @@ -2365,6 +2491,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListCompaniesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents a Completion */ @@ -2405,7 +2538,7 @@ export namespace google { namespace Completion { /** - * Callback as used by {@link google.cloud.talent.v4.Completion#completeQuery}. + * Callback as used by {@link google.cloud.talent.v4.Completion|completeQuery}. * @param error Error, if any * @param [response] CompleteQueryResponse */ @@ -2536,6 +2669,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CompleteQueryRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace CompleteQueryRequest { @@ -2650,6 +2790,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CompleteQueryResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace CompleteQueryResponse { @@ -2754,6 +2901,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CompletionResult + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -2872,6 +3026,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ClientEvent + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a JobEvent. */ @@ -2968,6 +3129,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for JobEvent + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace JobEvent { @@ -3031,7 +3199,7 @@ export namespace google { namespace EventService { /** - * Callback as used by {@link google.cloud.talent.v4.EventService#createClientEvent}. + * Callback as used by {@link google.cloud.talent.v4.EventService|createClientEvent}. * @param error Error, if any * @param [response] ClientEvent */ @@ -3132,6 +3300,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateClientEventRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a JobQuery. */ @@ -3300,6 +3475,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for JobQuery + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a LocationFilter. */ @@ -3414,6 +3596,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for LocationFilter + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace LocationFilter { @@ -3533,6 +3722,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CompensationFilter + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace CompensationFilter { @@ -3668,6 +3864,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CommuteFilter + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace CommuteFilter { @@ -3768,6 +3971,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for HistogramQuery + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a HistogramQueryResult. */ @@ -3864,6 +4074,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for HistogramQueryResult + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Job. */ @@ -4128,6 +4345,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Job + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Job { @@ -4232,6 +4456,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ApplicationInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DerivedInfo. */ @@ -4328,6 +4559,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DerivedInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProcessingOptions. */ @@ -4424,6 +4662,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ProcessingOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -4591,70 +4836,70 @@ export namespace google { namespace JobService { /** - * Callback as used by {@link google.cloud.talent.v4.JobService#createJob}. + * Callback as used by {@link google.cloud.talent.v4.JobService|createJob}. * @param error Error, if any * @param [response] Job */ type CreateJobCallback = (error: (Error|null), response?: google.cloud.talent.v4.Job) => void; /** - * Callback as used by {@link google.cloud.talent.v4.JobService#batchCreateJobs}. + * Callback as used by {@link google.cloud.talent.v4.JobService|batchCreateJobs}. * @param error Error, if any * @param [response] Operation */ type BatchCreateJobsCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.talent.v4.JobService#getJob}. + * Callback as used by {@link google.cloud.talent.v4.JobService|getJob}. * @param error Error, if any * @param [response] Job */ type GetJobCallback = (error: (Error|null), response?: google.cloud.talent.v4.Job) => void; /** - * Callback as used by {@link google.cloud.talent.v4.JobService#updateJob}. + * Callback as used by {@link google.cloud.talent.v4.JobService|updateJob}. * @param error Error, if any * @param [response] Job */ type UpdateJobCallback = (error: (Error|null), response?: google.cloud.talent.v4.Job) => void; /** - * Callback as used by {@link google.cloud.talent.v4.JobService#batchUpdateJobs}. + * Callback as used by {@link google.cloud.talent.v4.JobService|batchUpdateJobs}. * @param error Error, if any * @param [response] Operation */ type BatchUpdateJobsCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.talent.v4.JobService#deleteJob}. + * Callback as used by {@link google.cloud.talent.v4.JobService|deleteJob}. * @param error Error, if any * @param [response] Empty */ type DeleteJobCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.cloud.talent.v4.JobService#batchDeleteJobs}. + * Callback as used by {@link google.cloud.talent.v4.JobService|batchDeleteJobs}. * @param error Error, if any * @param [response] Operation */ type BatchDeleteJobsCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.talent.v4.JobService#listJobs}. + * Callback as used by {@link google.cloud.talent.v4.JobService|listJobs}. * @param error Error, if any * @param [response] ListJobsResponse */ type ListJobsCallback = (error: (Error|null), response?: google.cloud.talent.v4.ListJobsResponse) => void; /** - * Callback as used by {@link google.cloud.talent.v4.JobService#searchJobs}. + * Callback as used by {@link google.cloud.talent.v4.JobService|searchJobs}. * @param error Error, if any * @param [response] SearchJobsResponse */ type SearchJobsCallback = (error: (Error|null), response?: google.cloud.talent.v4.SearchJobsResponse) => void; /** - * Callback as used by {@link google.cloud.talent.v4.JobService#searchJobsForAlert}. + * Callback as used by {@link google.cloud.talent.v4.JobService|searchJobsForAlert}. * @param error Error, if any * @param [response] SearchJobsResponse */ @@ -4755,6 +5000,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateJobRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetJobRequest. */ @@ -4845,6 +5097,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetJobRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateJobRequest. */ @@ -4941,6 +5200,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateJobRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteJobRequest. */ @@ -5031,6 +5297,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteJobRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** JobView enum. */ @@ -5154,6 +5427,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListJobsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListJobsResponse. */ @@ -5256,6 +5536,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListJobsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SearchJobsRequest. */ @@ -5430,6 +5717,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SearchJobsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SearchJobsRequest { @@ -5553,6 +5847,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CustomRankingInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace CustomRankingInfo { @@ -5700,6 +6001,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SearchJobsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SearchJobsResponse { @@ -5816,6 +6124,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MatchingJob + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CommuteInfo. */ @@ -5912,6 +6227,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CommuteInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -6009,6 +6331,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchCreateJobsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchUpdateJobsRequest. */ @@ -6111,6 +6440,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchUpdateJobsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchDeleteJobsRequest. */ @@ -6207,6 +6543,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchDeleteJobsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a JobResult. */ @@ -6303,6 +6646,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for JobResult + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchCreateJobsResponse. */ @@ -6393,6 +6743,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchCreateJobsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchUpdateJobsResponse. */ @@ -6483,6 +6840,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchUpdateJobsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchDeleteJobsResponse. */ @@ -6573,6 +6937,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchDeleteJobsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Tenant. */ @@ -6669,6 +7040,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Tenant + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents a TenantService */ @@ -6765,35 +7143,35 @@ export namespace google { namespace TenantService { /** - * Callback as used by {@link google.cloud.talent.v4.TenantService#createTenant}. + * Callback as used by {@link google.cloud.talent.v4.TenantService|createTenant}. * @param error Error, if any * @param [response] Tenant */ type CreateTenantCallback = (error: (Error|null), response?: google.cloud.talent.v4.Tenant) => void; /** - * Callback as used by {@link google.cloud.talent.v4.TenantService#getTenant}. + * Callback as used by {@link google.cloud.talent.v4.TenantService|getTenant}. * @param error Error, if any * @param [response] Tenant */ type GetTenantCallback = (error: (Error|null), response?: google.cloud.talent.v4.Tenant) => void; /** - * Callback as used by {@link google.cloud.talent.v4.TenantService#updateTenant}. + * Callback as used by {@link google.cloud.talent.v4.TenantService|updateTenant}. * @param error Error, if any * @param [response] Tenant */ type UpdateTenantCallback = (error: (Error|null), response?: google.cloud.talent.v4.Tenant) => void; /** - * Callback as used by {@link google.cloud.talent.v4.TenantService#deleteTenant}. + * Callback as used by {@link google.cloud.talent.v4.TenantService|deleteTenant}. * @param error Error, if any * @param [response] Empty */ type DeleteTenantCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.cloud.talent.v4.TenantService#listTenants}. + * Callback as used by {@link google.cloud.talent.v4.TenantService|listTenants}. * @param error Error, if any * @param [response] ListTenantsResponse */ @@ -6894,6 +7272,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateTenantRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetTenantRequest. */ @@ -6984,6 +7369,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetTenantRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateTenantRequest. */ @@ -7080,6 +7472,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateTenantRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteTenantRequest. */ @@ -7170,6 +7569,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteTenantRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListTenantsRequest. */ @@ -7272,6 +7678,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListTenantsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListTenantsResponse. */ @@ -7374,6 +7787,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListTenantsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -7558,6 +7978,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Application + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Application { @@ -7679,6 +8106,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TimestampRange + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Location. */ @@ -7787,6 +8221,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Location + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Location { @@ -8060,6 +8501,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RequestMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ResponseMetadata. */ @@ -8150,6 +8598,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResponseMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeviceInfo. */ @@ -8246,6 +8701,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeviceInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace DeviceInfo { @@ -8362,6 +8824,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CustomAttribute + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SpellingCorrection. */ @@ -8464,6 +8933,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SpellingCorrection + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CompensationInfo. */ @@ -8566,6 +9042,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CompensationInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace CompensationInfo { @@ -8691,6 +9174,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CompensationEntry + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CompensationRange. */ @@ -8787,6 +9277,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CompensationRange + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** CompensationType enum. */ @@ -8927,6 +9424,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Certification + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Skill. */ @@ -9041,6 +9545,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Skill + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Interview. */ @@ -9137,6 +9648,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Interview + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Rating. */ @@ -9245,6 +9763,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Rating + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchOperationMetadata. */ @@ -9377,6 +9902,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchOperationMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BatchOperationMetadata { @@ -9516,35 +10048,35 @@ export namespace google { namespace ApplicationService { /** - * Callback as used by {@link google.cloud.talent.v4beta1.ApplicationService#createApplication}. + * Callback as used by {@link google.cloud.talent.v4beta1.ApplicationService|createApplication}. * @param error Error, if any * @param [response] Application */ type CreateApplicationCallback = (error: (Error|null), response?: google.cloud.talent.v4beta1.Application) => void; /** - * Callback as used by {@link google.cloud.talent.v4beta1.ApplicationService#getApplication}. + * Callback as used by {@link google.cloud.talent.v4beta1.ApplicationService|getApplication}. * @param error Error, if any * @param [response] Application */ type GetApplicationCallback = (error: (Error|null), response?: google.cloud.talent.v4beta1.Application) => void; /** - * Callback as used by {@link google.cloud.talent.v4beta1.ApplicationService#updateApplication}. + * Callback as used by {@link google.cloud.talent.v4beta1.ApplicationService|updateApplication}. * @param error Error, if any * @param [response] Application */ type UpdateApplicationCallback = (error: (Error|null), response?: google.cloud.talent.v4beta1.Application) => void; /** - * Callback as used by {@link google.cloud.talent.v4beta1.ApplicationService#deleteApplication}. + * Callback as used by {@link google.cloud.talent.v4beta1.ApplicationService|deleteApplication}. * @param error Error, if any * @param [response] Empty */ type DeleteApplicationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.cloud.talent.v4beta1.ApplicationService#listApplications}. + * Callback as used by {@link google.cloud.talent.v4beta1.ApplicationService|listApplications}. * @param error Error, if any * @param [response] ListApplicationsResponse */ @@ -9645,6 +10177,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateApplicationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetApplicationRequest. */ @@ -9735,6 +10274,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetApplicationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateApplicationRequest. */ @@ -9831,6 +10377,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateApplicationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteApplicationRequest. */ @@ -9921,6 +10474,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteApplicationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListApplicationsRequest. */ @@ -10023,6 +10583,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListApplicationsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListApplicationsResponse. */ @@ -10125,6 +10692,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListApplicationsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Company. */ @@ -10287,6 +10861,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Company + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Company { @@ -10379,6 +10960,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DerivedInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -10476,35 +11064,35 @@ export namespace google { namespace CompanyService { /** - * Callback as used by {@link google.cloud.talent.v4beta1.CompanyService#createCompany}. + * Callback as used by {@link google.cloud.talent.v4beta1.CompanyService|createCompany}. * @param error Error, if any * @param [response] Company */ type CreateCompanyCallback = (error: (Error|null), response?: google.cloud.talent.v4beta1.Company) => void; /** - * Callback as used by {@link google.cloud.talent.v4beta1.CompanyService#getCompany}. + * Callback as used by {@link google.cloud.talent.v4beta1.CompanyService|getCompany}. * @param error Error, if any * @param [response] Company */ type GetCompanyCallback = (error: (Error|null), response?: google.cloud.talent.v4beta1.Company) => void; /** - * Callback as used by {@link google.cloud.talent.v4beta1.CompanyService#updateCompany}. + * Callback as used by {@link google.cloud.talent.v4beta1.CompanyService|updateCompany}. * @param error Error, if any * @param [response] Company */ type UpdateCompanyCallback = (error: (Error|null), response?: google.cloud.talent.v4beta1.Company) => void; /** - * Callback as used by {@link google.cloud.talent.v4beta1.CompanyService#deleteCompany}. + * Callback as used by {@link google.cloud.talent.v4beta1.CompanyService|deleteCompany}. * @param error Error, if any * @param [response] Empty */ type DeleteCompanyCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.cloud.talent.v4beta1.CompanyService#listCompanies}. + * Callback as used by {@link google.cloud.talent.v4beta1.CompanyService|listCompanies}. * @param error Error, if any * @param [response] ListCompaniesResponse */ @@ -10605,6 +11193,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateCompanyRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetCompanyRequest. */ @@ -10695,7 +11290,14 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; - } + + /** + * Gets the default type url for GetCompanyRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } /** Properties of an UpdateCompanyRequest. */ interface IUpdateCompanyRequest { @@ -10791,6 +11393,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateCompanyRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteCompanyRequest. */ @@ -10881,6 +11490,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteCompanyRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListCompaniesRequest. */ @@ -10989,6 +11605,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListCompaniesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListCompaniesResponse. */ @@ -11091,6 +11714,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListCompaniesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents a Completion */ @@ -11131,7 +11761,7 @@ export namespace google { namespace Completion { /** - * Callback as used by {@link google.cloud.talent.v4beta1.Completion#completeQuery}. + * Callback as used by {@link google.cloud.talent.v4beta1.Completion|completeQuery}. * @param error Error, if any * @param [response] CompleteQueryResponse */ @@ -11262,6 +11892,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CompleteQueryRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace CompleteQueryRequest { @@ -11376,6 +12013,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CompleteQueryResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace CompleteQueryResponse { @@ -11480,6 +12124,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CompletionResult + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -11604,6 +12255,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ClientEvent + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a JobEvent. */ @@ -11706,6 +12364,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for JobEvent + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace JobEvent { @@ -11831,6 +12496,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ProfileEvent + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ProfileEvent { @@ -11882,7 +12554,7 @@ export namespace google { namespace EventService { /** - * Callback as used by {@link google.cloud.talent.v4beta1.EventService#createClientEvent}. + * Callback as used by {@link google.cloud.talent.v4beta1.EventService|createClientEvent}. * @param error Error, if any * @param [response] ClientEvent */ @@ -11983,6 +12655,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateClientEventRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a JobQuery. */ @@ -12151,6 +12830,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for JobQuery + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProfileQuery. */ @@ -12331,6 +13017,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ProfileQuery + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a LocationFilter. */ @@ -12451,6 +13144,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for LocationFilter + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace LocationFilter { @@ -12569,6 +13269,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CompensationFilter + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace CompensationFilter { @@ -12704,6 +13411,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CommuteFilter + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace CommuteFilter { @@ -12810,6 +13524,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for JobTitleFilter + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SkillFilter. */ @@ -12906,6 +13627,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SkillFilter + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EmployerFilter. */ @@ -13008,6 +13736,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EmployerFilter + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace EmployerFilter { @@ -13127,6 +13862,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EducationFilter + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a WorkExperienceFilter. */ @@ -13223,6 +13965,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for WorkExperienceFilter + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ApplicationDateFilter. */ @@ -13319,6 +14068,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ApplicationDateFilter + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ApplicationOutcomeNotesFilter. */ @@ -13415,6 +14171,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ApplicationOutcomeNotesFilter + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ApplicationJobFilter. */ @@ -13517,6 +14280,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ApplicationJobFilter + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TimeFilter. */ @@ -13619,6 +14389,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TimeFilter + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace TimeFilter { @@ -13719,6 +14496,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CandidateAvailabilityFilter + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AvailabilityFilter. */ @@ -13821,6 +14605,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AvailabilityFilter + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PersonNameFilter. */ @@ -13911,6 +14702,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for PersonNameFilter + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a HistogramQuery. */ @@ -14001,6 +14799,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for HistogramQuery + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a HistogramQueryResult. */ @@ -14097,6 +14902,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for HistogramQueryResult + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Job. */ @@ -14361,6 +15173,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Job + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Job { @@ -14465,6 +15284,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ApplicationInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DerivedInfo. */ @@ -14561,6 +15387,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DerivedInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProcessingOptions. */ @@ -14657,6 +15490,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ProcessingOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -14824,70 +15664,70 @@ export namespace google { namespace JobService { /** - * Callback as used by {@link google.cloud.talent.v4beta1.JobService#createJob}. + * Callback as used by {@link google.cloud.talent.v4beta1.JobService|createJob}. * @param error Error, if any * @param [response] Job */ type CreateJobCallback = (error: (Error|null), response?: google.cloud.talent.v4beta1.Job) => void; /** - * Callback as used by {@link google.cloud.talent.v4beta1.JobService#batchCreateJobs}. + * Callback as used by {@link google.cloud.talent.v4beta1.JobService|batchCreateJobs}. * @param error Error, if any * @param [response] Operation */ type BatchCreateJobsCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.talent.v4beta1.JobService#getJob}. + * Callback as used by {@link google.cloud.talent.v4beta1.JobService|getJob}. * @param error Error, if any * @param [response] Job */ type GetJobCallback = (error: (Error|null), response?: google.cloud.talent.v4beta1.Job) => void; /** - * Callback as used by {@link google.cloud.talent.v4beta1.JobService#updateJob}. + * Callback as used by {@link google.cloud.talent.v4beta1.JobService|updateJob}. * @param error Error, if any * @param [response] Job */ type UpdateJobCallback = (error: (Error|null), response?: google.cloud.talent.v4beta1.Job) => void; /** - * Callback as used by {@link google.cloud.talent.v4beta1.JobService#batchUpdateJobs}. + * Callback as used by {@link google.cloud.talent.v4beta1.JobService|batchUpdateJobs}. * @param error Error, if any * @param [response] Operation */ type BatchUpdateJobsCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.talent.v4beta1.JobService#deleteJob}. + * Callback as used by {@link google.cloud.talent.v4beta1.JobService|deleteJob}. * @param error Error, if any * @param [response] Empty */ type DeleteJobCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.cloud.talent.v4beta1.JobService#batchDeleteJobs}. + * Callback as used by {@link google.cloud.talent.v4beta1.JobService|batchDeleteJobs}. * @param error Error, if any * @param [response] Empty */ type BatchDeleteJobsCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.cloud.talent.v4beta1.JobService#listJobs}. + * Callback as used by {@link google.cloud.talent.v4beta1.JobService|listJobs}. * @param error Error, if any * @param [response] ListJobsResponse */ type ListJobsCallback = (error: (Error|null), response?: google.cloud.talent.v4beta1.ListJobsResponse) => void; /** - * Callback as used by {@link google.cloud.talent.v4beta1.JobService#searchJobs}. + * Callback as used by {@link google.cloud.talent.v4beta1.JobService|searchJobs}. * @param error Error, if any * @param [response] SearchJobsResponse */ type SearchJobsCallback = (error: (Error|null), response?: google.cloud.talent.v4beta1.SearchJobsResponse) => void; /** - * Callback as used by {@link google.cloud.talent.v4beta1.JobService#searchJobsForAlert}. + * Callback as used by {@link google.cloud.talent.v4beta1.JobService|searchJobsForAlert}. * @param error Error, if any * @param [response] SearchJobsResponse */ @@ -14988,6 +15828,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateJobRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetJobRequest. */ @@ -15078,6 +15925,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetJobRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateJobRequest. */ @@ -15174,6 +16028,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateJobRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteJobRequest. */ @@ -15264,6 +16125,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteJobRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchDeleteJobsRequest. */ @@ -15360,6 +16228,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchDeleteJobsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListJobsRequest. */ @@ -15474,6 +16349,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListJobsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** JobView enum. */ @@ -15585,6 +16467,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListJobsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SearchJobsRequest. */ @@ -15759,6 +16648,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SearchJobsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SearchJobsRequest { @@ -15857,6 +16753,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CustomRankingInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace CustomRankingInfo { @@ -16024,6 +16927,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SearchJobsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SearchJobsResponse { @@ -16140,6 +17050,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MatchingJob + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CommuteInfo. */ @@ -16236,6 +17153,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CommuteInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -16333,6 +17257,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchCreateJobsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchUpdateJobsRequest. */ @@ -16435,6 +17366,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BatchUpdateJobsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a JobOperationResult. */ @@ -16525,6 +17463,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for JobOperationResult + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace JobOperationResult { @@ -16623,6 +17568,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for JobResult + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -16894,6 +17846,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Profile + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AvailabilitySignal. */ @@ -16996,6 +17955,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AvailabilitySignal + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Resume. */ @@ -17092,6 +18058,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Resume + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Resume { @@ -17207,6 +18180,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for PersonName + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace PersonName { @@ -17329,6 +18309,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for PersonStructuredName + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -17441,6 +18428,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Address + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Email. */ @@ -17537,6 +18531,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Email + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Phone. */ @@ -17645,6 +18646,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Phone + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Phone { @@ -17752,6 +18760,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for PersonalUri + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AdditionalContactInfo. */ @@ -17854,6 +18869,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AdditionalContactInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EmploymentRecord. */ @@ -18016,6 +19038,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EmploymentRecord + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EducationRecord. */ @@ -18169,6 +19198,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EducationRecord + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Degree. */ @@ -18271,6 +19307,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Degree + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Activity. */ @@ -18415,6 +19458,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Activity + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Publication. */ @@ -18553,6 +19603,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Publication + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Patent. */ @@ -18691,6 +19748,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Patent + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents a ProfileService */ @@ -18801,42 +19865,42 @@ export namespace google { namespace ProfileService { /** - * Callback as used by {@link google.cloud.talent.v4beta1.ProfileService#listProfiles}. + * Callback as used by {@link google.cloud.talent.v4beta1.ProfileService|listProfiles}. * @param error Error, if any * @param [response] ListProfilesResponse */ type ListProfilesCallback = (error: (Error|null), response?: google.cloud.talent.v4beta1.ListProfilesResponse) => void; /** - * Callback as used by {@link google.cloud.talent.v4beta1.ProfileService#createProfile}. + * Callback as used by {@link google.cloud.talent.v4beta1.ProfileService|createProfile}. * @param error Error, if any * @param [response] Profile */ type CreateProfileCallback = (error: (Error|null), response?: google.cloud.talent.v4beta1.Profile) => void; /** - * Callback as used by {@link google.cloud.talent.v4beta1.ProfileService#getProfile}. + * Callback as used by {@link google.cloud.talent.v4beta1.ProfileService|getProfile}. * @param error Error, if any * @param [response] Profile */ type GetProfileCallback = (error: (Error|null), response?: google.cloud.talent.v4beta1.Profile) => void; /** - * Callback as used by {@link google.cloud.talent.v4beta1.ProfileService#updateProfile}. + * Callback as used by {@link google.cloud.talent.v4beta1.ProfileService|updateProfile}. * @param error Error, if any * @param [response] Profile */ type UpdateProfileCallback = (error: (Error|null), response?: google.cloud.talent.v4beta1.Profile) => void; /** - * Callback as used by {@link google.cloud.talent.v4beta1.ProfileService#deleteProfile}. + * Callback as used by {@link google.cloud.talent.v4beta1.ProfileService|deleteProfile}. * @param error Error, if any * @param [response] Empty */ type DeleteProfileCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.cloud.talent.v4beta1.ProfileService#searchProfiles}. + * Callback as used by {@link google.cloud.talent.v4beta1.ProfileService|searchProfiles}. * @param error Error, if any * @param [response] SearchProfilesResponse */ @@ -18955,6 +20019,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListProfilesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListProfilesResponse. */ @@ -19051,6 +20122,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListProfilesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateProfileRequest. */ @@ -19147,6 +20225,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateProfileRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetProfileRequest. */ @@ -19237,6 +20322,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetProfileRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateProfileRequest. */ @@ -19333,6 +20425,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateProfileRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteProfileRequest. */ @@ -19423,6 +20522,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteProfileRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SearchProfilesRequest. */ @@ -19579,6 +20685,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SearchProfilesRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SearchProfilesResponse. */ @@ -19705,6 +20818,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SearchProfilesResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SummarizedProfile. */ @@ -19801,6 +20921,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SummarizedProfile + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Tenant. */ @@ -19909,6 +21036,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Tenant + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Tenant { @@ -20015,35 +21149,35 @@ export namespace google { namespace TenantService { /** - * Callback as used by {@link google.cloud.talent.v4beta1.TenantService#createTenant}. + * Callback as used by {@link google.cloud.talent.v4beta1.TenantService|createTenant}. * @param error Error, if any * @param [response] Tenant */ type CreateTenantCallback = (error: (Error|null), response?: google.cloud.talent.v4beta1.Tenant) => void; /** - * Callback as used by {@link google.cloud.talent.v4beta1.TenantService#getTenant}. + * Callback as used by {@link google.cloud.talent.v4beta1.TenantService|getTenant}. * @param error Error, if any * @param [response] Tenant */ type GetTenantCallback = (error: (Error|null), response?: google.cloud.talent.v4beta1.Tenant) => void; /** - * Callback as used by {@link google.cloud.talent.v4beta1.TenantService#updateTenant}. + * Callback as used by {@link google.cloud.talent.v4beta1.TenantService|updateTenant}. * @param error Error, if any * @param [response] Tenant */ type UpdateTenantCallback = (error: (Error|null), response?: google.cloud.talent.v4beta1.Tenant) => void; /** - * Callback as used by {@link google.cloud.talent.v4beta1.TenantService#deleteTenant}. + * Callback as used by {@link google.cloud.talent.v4beta1.TenantService|deleteTenant}. * @param error Error, if any * @param [response] Empty */ type DeleteTenantCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.cloud.talent.v4beta1.TenantService#listTenants}. + * Callback as used by {@link google.cloud.talent.v4beta1.TenantService|listTenants}. * @param error Error, if any * @param [response] ListTenantsResponse */ @@ -20144,6 +21278,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateTenantRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetTenantRequest. */ @@ -20234,6 +21375,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetTenantRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateTenantRequest. */ @@ -20330,6 +21478,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateTenantRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteTenantRequest. */ @@ -20420,6 +21575,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteTenantRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListTenantsRequest. */ @@ -20522,6 +21684,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListTenantsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListTenantsResponse. */ @@ -20624,6 +21793,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListTenantsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } } @@ -20768,6 +21944,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResourceDescriptor + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ResourceDescriptor { @@ -20880,6 +22063,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResourceReference + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Http. */ @@ -20976,6 +22166,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Http + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a HttpRule. */ @@ -21123,6 +22320,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for HttpRule + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CustomHttpPattern. */ @@ -21219,6 +22423,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CustomHttpPattern + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -21313,6 +22524,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for FileDescriptorSet + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FileDescriptorProto. */ @@ -21353,6 +22571,9 @@ export namespace google { /** FileDescriptorProto syntax */ syntax?: (string|null); + + /** FileDescriptorProto edition */ + edition?: (string|null); } /** Represents a FileDescriptorProto. */ @@ -21400,6 +22621,9 @@ export namespace google { /** FileDescriptorProto syntax. */ public syntax: string; + /** FileDescriptorProto edition. */ + public edition: string; + /** * Creates a new FileDescriptorProto instance using the specified properties. * @param [properties] Properties to set @@ -21469,6 +22693,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for FileDescriptorProto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DescriptorProto. */ @@ -21613,6 +22844,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DescriptorProto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace DescriptorProto { @@ -21717,6 +22955,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ExtensionRange + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ReservedRange. */ @@ -21813,6 +23058,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReservedRange + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -21904,6 +23156,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ExtensionRangeOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FieldDescriptorProto. */ @@ -22054,6 +23313,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for FieldDescriptorProto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace FieldDescriptorProto { @@ -22182,6 +23448,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for OneofDescriptorProto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EnumDescriptorProto. */ @@ -22296,6 +23569,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EnumDescriptorProto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace EnumDescriptorProto { @@ -22394,6 +23674,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EnumReservedRange + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -22497,6 +23784,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EnumValueDescriptorProto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ServiceDescriptorProto. */ @@ -22599,6 +23893,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ServiceDescriptorProto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MethodDescriptorProto. */ @@ -22719,6 +24020,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MethodDescriptorProto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FileOptions. */ @@ -22932,6 +24240,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for FileOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace FileOptions { @@ -23059,6 +24374,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MessageOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FieldOptions. */ @@ -23076,6 +24398,9 @@ export namespace google { /** FieldOptions lazy */ lazy?: (boolean|null); + /** FieldOptions unverifiedLazy */ + unverifiedLazy?: (boolean|null); + /** FieldOptions deprecated */ deprecated?: (boolean|null); @@ -23113,6 +24438,9 @@ export namespace google { /** FieldOptions lazy. */ public lazy: boolean; + /** FieldOptions unverifiedLazy. */ + public unverifiedLazy: boolean; + /** FieldOptions deprecated. */ public deprecated: boolean; @@ -23191,6 +24519,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for FieldOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace FieldOptions { @@ -23298,6 +24633,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for OneofOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EnumOptions. */ @@ -23400,6 +24742,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EnumOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EnumValueOptions. */ @@ -23496,6 +24845,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EnumValueOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ServiceOptions. */ @@ -23598,6 +24954,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ServiceOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MethodOptions. */ @@ -23709,6 +25072,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MethodOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MethodOptions { @@ -23845,6 +25215,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UninterpretedOption + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace UninterpretedOption { @@ -23943,6 +25320,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for NamePart + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -24034,6 +25418,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SourceCodeInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SourceCodeInfo { @@ -24150,6 +25541,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Location + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -24241,6 +25639,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GeneratedCodeInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace GeneratedCodeInfo { @@ -24259,6 +25664,9 @@ export namespace google { /** Annotation end */ end?: (number|null); + + /** Annotation semantic */ + semantic?: (google.protobuf.GeneratedCodeInfo.Annotation.Semantic|keyof typeof google.protobuf.GeneratedCodeInfo.Annotation.Semantic|null); } /** Represents an Annotation. */ @@ -24282,6 +25690,9 @@ export namespace google { /** Annotation end. */ public end: number; + /** Annotation semantic. */ + public semantic: (google.protobuf.GeneratedCodeInfo.Annotation.Semantic|keyof typeof google.protobuf.GeneratedCodeInfo.Annotation.Semantic); + /** * Creates a new Annotation instance using the specified properties. * @param [properties] Properties to set @@ -24351,6 +25762,23 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Annotation + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + namespace Annotation { + + /** Semantic enum. */ + enum Semantic { + NONE = 0, + SET = 1, + ALIAS = 2 + } } } @@ -24448,6 +25876,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Timestamp + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DoubleValue. */ @@ -24538,6 +25973,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DoubleValue + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FloatValue. */ @@ -24628,6 +26070,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for FloatValue + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Int64Value. */ @@ -24718,6 +26167,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Int64Value + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a UInt64Value. */ @@ -24808,6 +26264,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UInt64Value + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Int32Value. */ @@ -24898,6 +26361,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Int32Value + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a UInt32Value. */ @@ -24988,6 +26458,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UInt32Value + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BoolValue. */ @@ -25078,6 +26555,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BoolValue + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a StringValue. */ @@ -25168,6 +26652,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for StringValue + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BytesValue. */ @@ -25258,6 +26749,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BytesValue + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Empty. */ @@ -25342,6 +26840,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Empty + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FieldMask. */ @@ -25432,6 +26937,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for FieldMask + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Duration. */ @@ -25528,6 +27040,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Duration + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Any. */ @@ -25624,6 +27143,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Any + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -25724,6 +27250,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for LatLng + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Money. */ @@ -25826,6 +27359,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Money + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PostalAddress. */ @@ -25976,6 +27516,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for PostalAddress + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TimeOfDay. */ @@ -26084,6 +27631,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for TimeOfDay + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Date. */ @@ -26186,6 +27740,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Date + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -26286,35 +27847,35 @@ export namespace google { namespace Operations { /** - * Callback as used by {@link google.longrunning.Operations#listOperations}. + * Callback as used by {@link google.longrunning.Operations|listOperations}. * @param error Error, if any * @param [response] ListOperationsResponse */ type ListOperationsCallback = (error: (Error|null), response?: google.longrunning.ListOperationsResponse) => void; /** - * Callback as used by {@link google.longrunning.Operations#getOperation}. + * Callback as used by {@link google.longrunning.Operations|getOperation}. * @param error Error, if any * @param [response] Operation */ type GetOperationCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.longrunning.Operations#deleteOperation}. + * Callback as used by {@link google.longrunning.Operations|deleteOperation}. * @param error Error, if any * @param [response] Empty */ type DeleteOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.longrunning.Operations#cancelOperation}. + * Callback as used by {@link google.longrunning.Operations|cancelOperation}. * @param error Error, if any * @param [response] Empty */ type CancelOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.longrunning.Operations#waitOperation}. + * Callback as used by {@link google.longrunning.Operations|waitOperation}. * @param error Error, if any * @param [response] Operation */ @@ -26436,6 +27997,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Operation + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetOperationRequest. */ @@ -26526,6 +28094,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetOperationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListOperationsRequest. */ @@ -26634,6 +28209,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListOperationsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListOperationsResponse. */ @@ -26730,6 +28312,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListOperationsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CancelOperationRequest. */ @@ -26820,6 +28409,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CancelOperationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteOperationRequest. */ @@ -26910,6 +28506,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteOperationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a WaitOperationRequest. */ @@ -27006,6 +28609,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for WaitOperationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an OperationInfo. */ @@ -27102,6 +28712,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for OperationInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -27208,6 +28825,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Status + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } } diff --git a/packages/google-cloud-talent/protos/protos.js b/packages/google-cloud-talent/protos/protos.js index 24d2899bddc..d26a76d9f14 100644 --- a/packages/google-cloud-talent/protos/protos.js +++ b/packages/google-cloud-talent/protos/protos.js @@ -169,12 +169,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.startTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 2: - message.endTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; + case 1: { + message.startTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 2: { + message.endTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -283,6 +285,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for TimestampRange + * @function getTypeUrl + * @memberof google.cloud.talent.v4.TimestampRange + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TimestampRange.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.TimestampRange"; + }; + return TimestampRange; })(); @@ -699,18 +716,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.locationType = reader.int32(); - break; - case 2: - message.postalAddress = $root.google.type.PostalAddress.decode(reader, reader.uint32()); - break; - case 3: - message.latLng = $root.google.type.LatLng.decode(reader, reader.uint32()); - break; - case 4: - message.radiusMiles = reader.double(); - break; + case 1: { + message.locationType = reader.int32(); + break; + } + case 2: { + message.postalAddress = $root.google.type.PostalAddress.decode(reader, reader.uint32()); + break; + } + case 3: { + message.latLng = $root.google.type.LatLng.decode(reader, reader.uint32()); + break; + } + case 4: { + message.radiusMiles = reader.double(); + break; + } default: reader.skipType(tag & 7); break; @@ -893,6 +914,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Location + * @function getTypeUrl + * @memberof google.cloud.talent.v4.Location + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Location.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.Location"; + }; + /** * LocationType enum. * @name google.cloud.talent.v4.Location.LocationType @@ -1064,21 +1100,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.domain = reader.string(); - break; - case 2: - message.sessionId = reader.string(); - break; - case 3: - message.userId = reader.string(); - break; - case 4: - message.allowMissingIds = reader.bool(); - break; - case 5: - message.deviceInfo = $root.google.cloud.talent.v4.DeviceInfo.decode(reader, reader.uint32()); - break; + case 1: { + message.domain = reader.string(); + break; + } + case 2: { + message.sessionId = reader.string(); + break; + } + case 3: { + message.userId = reader.string(); + break; + } + case 4: { + message.allowMissingIds = reader.bool(); + break; + } + case 5: { + message.deviceInfo = $root.google.cloud.talent.v4.DeviceInfo.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -1206,6 +1247,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for RequestMetadata + * @function getTypeUrl + * @memberof google.cloud.talent.v4.RequestMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + RequestMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.RequestMetadata"; + }; + return RequestMetadata; })(); @@ -1301,9 +1357,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.requestId = reader.string(); - break; + case 1: { + message.requestId = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -1393,6 +1450,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ResponseMetadata + * @function getTypeUrl + * @memberof google.cloud.talent.v4.ResponseMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResponseMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.ResponseMetadata"; + }; + return ResponseMetadata; })(); @@ -1499,12 +1571,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.deviceType = reader.int32(); - break; - case 2: - message.id = reader.string(); - break; + case 1: { + message.deviceType = reader.int32(); + break; + } + case 2: { + message.id = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -1641,6 +1715,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeviceInfo + * @function getTypeUrl + * @memberof google.cloud.talent.v4.DeviceInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeviceInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.DeviceInfo"; + }; + /** * DeviceType enum. * @name google.cloud.talent.v4.DeviceInfo.DeviceType @@ -1800,27 +1889,31 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.stringValues && message.stringValues.length)) - message.stringValues = []; - message.stringValues.push(reader.string()); - break; - case 2: - if (!(message.longValues && message.longValues.length)) - message.longValues = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + if (!(message.stringValues && message.stringValues.length)) + message.stringValues = []; + message.stringValues.push(reader.string()); + break; + } + case 2: { + if (!(message.longValues && message.longValues.length)) + message.longValues = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.longValues.push(reader.int64()); + } else message.longValues.push(reader.int64()); - } else - message.longValues.push(reader.int64()); - break; - case 3: - message.filterable = reader.bool(); - break; - case 4: - message.keywordSearchable = reader.bool(); - break; + break; + } + case 3: { + message.filterable = reader.bool(); + break; + } + case 4: { + message.keywordSearchable = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -1971,6 +2064,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CustomAttribute + * @function getTypeUrl + * @memberof google.cloud.talent.v4.CustomAttribute + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CustomAttribute.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.CustomAttribute"; + }; + return CustomAttribute; })(); @@ -2088,15 +2196,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.corrected = reader.bool(); - break; - case 2: - message.correctedText = reader.string(); - break; - case 3: - message.correctedHtml = reader.string(); - break; + case 1: { + message.corrected = reader.bool(); + break; + } + case 2: { + message.correctedText = reader.string(); + break; + } + case 3: { + message.correctedHtml = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -2203,6 +2314,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SpellingCorrection + * @function getTypeUrl + * @memberof google.cloud.talent.v4.SpellingCorrection + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SpellingCorrection.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.SpellingCorrection"; + }; + return SpellingCorrection; })(); @@ -2322,17 +2448,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.entries && message.entries.length)) - message.entries = []; - message.entries.push($root.google.cloud.talent.v4.CompensationInfo.CompensationEntry.decode(reader, reader.uint32())); - break; - case 2: - message.annualizedBaseCompensationRange = $root.google.cloud.talent.v4.CompensationInfo.CompensationRange.decode(reader, reader.uint32()); - break; - case 3: - message.annualizedTotalCompensationRange = $root.google.cloud.talent.v4.CompensationInfo.CompensationRange.decode(reader, reader.uint32()); - break; + case 1: { + if (!(message.entries && message.entries.length)) + message.entries = []; + message.entries.push($root.google.cloud.talent.v4.CompensationInfo.CompensationEntry.decode(reader, reader.uint32())); + break; + } + case 2: { + message.annualizedBaseCompensationRange = $root.google.cloud.talent.v4.CompensationInfo.CompensationRange.decode(reader, reader.uint32()); + break; + } + case 3: { + message.annualizedTotalCompensationRange = $root.google.cloud.talent.v4.CompensationInfo.CompensationRange.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -2467,6 +2596,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CompensationInfo + * @function getTypeUrl + * @memberof google.cloud.talent.v4.CompensationInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CompensationInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.CompensationInfo"; + }; + CompensationInfo.CompensationEntry = (function() { /** @@ -2628,24 +2772,30 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.type = reader.int32(); - break; - case 2: - message.unit = reader.int32(); - break; - case 3: - message.amount = $root.google.type.Money.decode(reader, reader.uint32()); - break; - case 4: - message.range = $root.google.cloud.talent.v4.CompensationInfo.CompensationRange.decode(reader, reader.uint32()); - break; - case 5: - message.description = reader.string(); - break; - case 6: - message.expectedUnitsPerYear = $root.google.protobuf.DoubleValue.decode(reader, reader.uint32()); - break; + case 1: { + message.type = reader.int32(); + break; + } + case 2: { + message.unit = reader.int32(); + break; + } + case 3: { + message.amount = $root.google.type.Money.decode(reader, reader.uint32()); + break; + } + case 4: { + message.range = $root.google.cloud.talent.v4.CompensationInfo.CompensationRange.decode(reader, reader.uint32()); + break; + } + case 5: { + message.description = reader.string(); + break; + } + case 6: { + message.expectedUnitsPerYear = $root.google.protobuf.DoubleValue.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -2895,6 +3045,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CompensationEntry + * @function getTypeUrl + * @memberof google.cloud.talent.v4.CompensationInfo.CompensationEntry + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CompensationEntry.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.CompensationInfo.CompensationEntry"; + }; + return CompensationEntry; })(); @@ -3055,12 +3220,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 2: - message.maxCompensation = $root.google.type.Money.decode(reader, reader.uint32()); - break; - case 1: - message.minCompensation = $root.google.type.Money.decode(reader, reader.uint32()); - break; + case 2: { + message.maxCompensation = $root.google.type.Money.decode(reader, reader.uint32()); + break; + } + case 1: { + message.minCompensation = $root.google.type.Money.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -3169,6 +3336,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CompensationRange + * @function getTypeUrl + * @memberof google.cloud.talent.v4.CompensationInfo.CompensationRange + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CompensationRange.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.CompensationInfo.CompensationRange"; + }; + return CompensationRange; })(); @@ -3344,30 +3526,38 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.state = reader.int32(); - break; - case 2: - message.stateDescription = reader.string(); - break; - case 3: - message.successCount = reader.int32(); - break; - case 4: - message.failureCount = reader.int32(); - break; - case 5: - message.totalCount = reader.int32(); - break; - case 6: - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 7: - message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 8: - message.endTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; + case 1: { + message.state = reader.int32(); + break; + } + case 2: { + message.stateDescription = reader.string(); + break; + } + case 3: { + message.successCount = reader.int32(); + break; + } + case 4: { + message.failureCount = reader.int32(); + break; + } + case 5: { + message.totalCount = reader.int32(); + break; + } + case 6: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 7: { + message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 8: { + message.endTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -3567,6 +3757,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchOperationMetadata + * @function getTypeUrl + * @memberof google.cloud.talent.v4.BatchOperationMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.BatchOperationMetadata"; + }; + /** * State enum. * @name google.cloud.talent.v4.BatchOperationMetadata.State @@ -3820,47 +4025,60 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.displayName = reader.string(); - break; - case 3: - message.externalId = reader.string(); - break; - case 4: - message.size = reader.int32(); - break; - case 5: - message.headquartersAddress = reader.string(); - break; - case 6: - message.hiringAgency = reader.bool(); - break; - case 7: - message.eeoText = reader.string(); - break; - case 8: - message.websiteUri = reader.string(); - break; - case 9: - message.careerSiteUri = reader.string(); - break; - case 10: - message.imageUri = reader.string(); - break; - case 11: - if (!(message.keywordSearchableJobCustomAttributes && message.keywordSearchableJobCustomAttributes.length)) - message.keywordSearchableJobCustomAttributes = []; - message.keywordSearchableJobCustomAttributes.push(reader.string()); - break; - case 12: - message.derivedInfo = $root.google.cloud.talent.v4.Company.DerivedInfo.decode(reader, reader.uint32()); - break; - case 13: - message.suspended = reader.bool(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.displayName = reader.string(); + break; + } + case 3: { + message.externalId = reader.string(); + break; + } + case 4: { + message.size = reader.int32(); + break; + } + case 5: { + message.headquartersAddress = reader.string(); + break; + } + case 6: { + message.hiringAgency = reader.bool(); + break; + } + case 7: { + message.eeoText = reader.string(); + break; + } + case 8: { + message.websiteUri = reader.string(); + break; + } + case 9: { + message.careerSiteUri = reader.string(); + break; + } + case 10: { + message.imageUri = reader.string(); + break; + } + case 11: { + if (!(message.keywordSearchableJobCustomAttributes && message.keywordSearchableJobCustomAttributes.length)) + message.keywordSearchableJobCustomAttributes = []; + message.keywordSearchableJobCustomAttributes.push(reader.string()); + break; + } + case 12: { + message.derivedInfo = $root.google.cloud.talent.v4.Company.DerivedInfo.decode(reader, reader.uint32()); + break; + } + case 13: { + message.suspended = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -4108,6 +4326,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Company + * @function getTypeUrl + * @memberof google.cloud.talent.v4.Company + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Company.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.Company"; + }; + Company.DerivedInfo = (function() { /** @@ -4200,9 +4433,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.headquartersLocation = $root.google.cloud.talent.v4.Location.decode(reader, reader.uint32()); - break; + case 1: { + message.headquartersLocation = $root.google.cloud.talent.v4.Location.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -4297,6 +4531,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DerivedInfo + * @function getTypeUrl + * @memberof google.cloud.talent.v4.Company.DerivedInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DerivedInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.Company.DerivedInfo"; + }; + return DerivedInfo; })(); @@ -4336,7 +4585,7 @@ }; /** - * Callback as used by {@link google.cloud.talent.v4.CompanyService#createCompany}. + * Callback as used by {@link google.cloud.talent.v4.CompanyService|createCompany}. * @memberof google.cloud.talent.v4.CompanyService * @typedef CreateCompanyCallback * @type {function} @@ -4369,7 +4618,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4.CompanyService#getCompany}. + * Callback as used by {@link google.cloud.talent.v4.CompanyService|getCompany}. * @memberof google.cloud.talent.v4.CompanyService * @typedef GetCompanyCallback * @type {function} @@ -4402,7 +4651,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4.CompanyService#updateCompany}. + * Callback as used by {@link google.cloud.talent.v4.CompanyService|updateCompany}. * @memberof google.cloud.talent.v4.CompanyService * @typedef UpdateCompanyCallback * @type {function} @@ -4435,7 +4684,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4.CompanyService#deleteCompany}. + * Callback as used by {@link google.cloud.talent.v4.CompanyService|deleteCompany}. * @memberof google.cloud.talent.v4.CompanyService * @typedef DeleteCompanyCallback * @type {function} @@ -4468,7 +4717,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4.CompanyService#listCompanies}. + * Callback as used by {@link google.cloud.talent.v4.CompanyService|listCompanies}. * @memberof google.cloud.talent.v4.CompanyService * @typedef ListCompaniesCallback * @type {function} @@ -4606,12 +4855,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.company = $root.google.cloud.talent.v4.Company.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.company = $root.google.cloud.talent.v4.Company.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -4715,6 +4966,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateCompanyRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4.CreateCompanyRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateCompanyRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.CreateCompanyRequest"; + }; + return CreateCompanyRequest; })(); @@ -4810,9 +5076,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -4902,6 +5169,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetCompanyRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4.GetCompanyRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetCompanyRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.GetCompanyRequest"; + }; + return GetCompanyRequest; })(); @@ -5008,12 +5290,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.company = $root.google.cloud.talent.v4.Company.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.company = $root.google.cloud.talent.v4.Company.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -5122,6 +5406,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateCompanyRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4.UpdateCompanyRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateCompanyRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.UpdateCompanyRequest"; + }; + return UpdateCompanyRequest; })(); @@ -5217,9 +5516,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -5309,6 +5609,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteCompanyRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4.DeleteCompanyRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteCompanyRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.DeleteCompanyRequest"; + }; + return DeleteCompanyRequest; })(); @@ -5437,18 +5752,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageToken = reader.string(); - break; - case 3: - message.pageSize = reader.int32(); - break; - case 4: - message.requireOpenJobs = reader.bool(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageToken = reader.string(); + break; + } + case 3: { + message.pageSize = reader.int32(); + break; + } + case 4: { + message.requireOpenJobs = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -5563,6 +5882,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListCompaniesRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4.ListCompaniesRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListCompaniesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.ListCompaniesRequest"; + }; + return ListCompaniesRequest; })(); @@ -5682,17 +6016,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.companies && message.companies.length)) - message.companies = []; - message.companies.push($root.google.cloud.talent.v4.Company.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; - case 3: - message.metadata = $root.google.cloud.talent.v4.ResponseMetadata.decode(reader, reader.uint32()); - break; + case 1: { + if (!(message.companies && message.companies.length)) + message.companies = []; + message.companies.push($root.google.cloud.talent.v4.Company.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } + case 3: { + message.metadata = $root.google.cloud.talent.v4.ResponseMetadata.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -5822,6 +6159,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListCompaniesResponse + * @function getTypeUrl + * @memberof google.cloud.talent.v4.ListCompaniesResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListCompaniesResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.ListCompaniesResponse"; + }; + return ListCompaniesResponse; })(); @@ -5858,7 +6210,7 @@ }; /** - * Callback as used by {@link google.cloud.talent.v4.Completion#completeQuery}. + * Callback as used by {@link google.cloud.talent.v4.Completion|completeQuery}. * @memberof google.cloud.talent.v4.Completion * @typedef CompleteQueryCallback * @type {function} @@ -6053,29 +6405,36 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.tenant = reader.string(); - break; - case 2: - message.query = reader.string(); - break; - case 3: - if (!(message.languageCodes && message.languageCodes.length)) - message.languageCodes = []; - message.languageCodes.push(reader.string()); - break; - case 4: - message.pageSize = reader.int32(); - break; - case 5: - message.company = reader.string(); - break; - case 6: - message.scope = reader.int32(); - break; - case 7: - message.type = reader.int32(); - break; + case 1: { + message.tenant = reader.string(); + break; + } + case 2: { + message.query = reader.string(); + break; + } + case 3: { + if (!(message.languageCodes && message.languageCodes.length)) + message.languageCodes = []; + message.languageCodes.push(reader.string()); + break; + } + case 4: { + message.pageSize = reader.int32(); + break; + } + case 5: { + message.company = reader.string(); + break; + } + case 6: { + message.scope = reader.int32(); + break; + } + case 7: { + message.type = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -6268,6 +6627,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CompleteQueryRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4.CompleteQueryRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CompleteQueryRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.CompleteQueryRequest"; + }; + /** * CompletionScope enum. * @name google.cloud.talent.v4.CompleteQueryRequest.CompletionScope @@ -6410,14 +6784,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.completionResults && message.completionResults.length)) - message.completionResults = []; - message.completionResults.push($root.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.decode(reader, reader.uint32())); - break; - case 2: - message.metadata = $root.google.cloud.talent.v4.ResponseMetadata.decode(reader, reader.uint32()); - break; + case 1: { + if (!(message.completionResults && message.completionResults.length)) + message.completionResults = []; + message.completionResults.push($root.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.decode(reader, reader.uint32())); + break; + } + case 2: { + message.metadata = $root.google.cloud.talent.v4.ResponseMetadata.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -6538,6 +6914,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CompleteQueryResponse + * @function getTypeUrl + * @memberof google.cloud.talent.v4.CompleteQueryResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CompleteQueryResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.CompleteQueryResponse"; + }; + CompleteQueryResponse.CompletionResult = (function() { /** @@ -6652,15 +7043,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.suggestion = reader.string(); - break; - case 2: - message.type = reader.int32(); - break; - case 3: - message.imageUri = reader.string(); - break; + case 1: { + message.suggestion = reader.string(); + break; + } + case 2: { + message.type = reader.int32(); + break; + } + case 3: { + message.imageUri = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -6790,6 +7184,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CompletionResult + * @function getTypeUrl + * @memberof google.cloud.talent.v4.CompleteQueryResponse.CompletionResult + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CompletionResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.CompleteQueryResponse.CompletionResult"; + }; + return CompletionResult; })(); @@ -6946,21 +7355,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.requestId = reader.string(); - break; - case 2: - message.eventId = reader.string(); - break; - case 4: - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 5: - message.jobEvent = $root.google.cloud.talent.v4.JobEvent.decode(reader, reader.uint32()); - break; - case 9: - message.eventNotes = reader.string(); - break; + case 1: { + message.requestId = reader.string(); + break; + } + case 2: { + message.eventId = reader.string(); + break; + } + case 4: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 5: { + message.jobEvent = $root.google.cloud.talent.v4.JobEvent.decode(reader, reader.uint32()); + break; + } + case 9: { + message.eventNotes = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -7099,6 +7513,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ClientEvent + * @function getTypeUrl + * @memberof google.cloud.talent.v4.ClientEvent + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ClientEvent.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.ClientEvent"; + }; + return ClientEvent; })(); @@ -7207,14 +7636,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.type = reader.int32(); - break; - case 2: - if (!(message.jobs && message.jobs.length)) - message.jobs = []; - message.jobs.push(reader.string()); - break; + case 1: { + message.type = reader.int32(); + break; + } + case 2: { + if (!(message.jobs && message.jobs.length)) + message.jobs = []; + message.jobs.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -7408,6 +7839,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for JobEvent + * @function getTypeUrl + * @memberof google.cloud.talent.v4.JobEvent + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + JobEvent.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.JobEvent"; + }; + /** * JobEventType enum. * @name google.cloud.talent.v4.JobEvent.JobEventType @@ -7486,7 +7932,7 @@ }; /** - * Callback as used by {@link google.cloud.talent.v4.EventService#createClientEvent}. + * Callback as used by {@link google.cloud.talent.v4.EventService|createClientEvent}. * @memberof google.cloud.talent.v4.EventService * @typedef CreateClientEventCallback * @type {function} @@ -7624,12 +8070,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.clientEvent = $root.google.cloud.talent.v4.ClientEvent.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.clientEvent = $root.google.cloud.talent.v4.ClientEvent.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -7733,6 +8181,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateClientEventRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4.CreateClientEventRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateClientEventRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.CreateClientEventRequest"; + }; + return CreateClientEventRequest; })(); @@ -7991,72 +8454,86 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.query = reader.string(); - break; - case 14: - message.queryLanguageCode = reader.string(); - break; - case 2: - if (!(message.companies && message.companies.length)) - message.companies = []; - message.companies.push(reader.string()); - break; - case 3: - if (!(message.locationFilters && message.locationFilters.length)) - message.locationFilters = []; - message.locationFilters.push($root.google.cloud.talent.v4.LocationFilter.decode(reader, reader.uint32())); - break; - case 4: - if (!(message.jobCategories && message.jobCategories.length)) - message.jobCategories = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + message.query = reader.string(); + break; + } + case 14: { + message.queryLanguageCode = reader.string(); + break; + } + case 2: { + if (!(message.companies && message.companies.length)) + message.companies = []; + message.companies.push(reader.string()); + break; + } + case 3: { + if (!(message.locationFilters && message.locationFilters.length)) + message.locationFilters = []; + message.locationFilters.push($root.google.cloud.talent.v4.LocationFilter.decode(reader, reader.uint32())); + break; + } + case 4: { + if (!(message.jobCategories && message.jobCategories.length)) + message.jobCategories = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.jobCategories.push(reader.int32()); + } else message.jobCategories.push(reader.int32()); - } else - message.jobCategories.push(reader.int32()); - break; - case 5: - message.commuteFilter = $root.google.cloud.talent.v4.CommuteFilter.decode(reader, reader.uint32()); - break; - case 6: - if (!(message.companyDisplayNames && message.companyDisplayNames.length)) - message.companyDisplayNames = []; - message.companyDisplayNames.push(reader.string()); - break; - case 7: - message.compensationFilter = $root.google.cloud.talent.v4.CompensationFilter.decode(reader, reader.uint32()); - break; - case 8: - message.customAttributeFilter = reader.string(); - break; - case 9: - message.disableSpellCheck = reader.bool(); - break; - case 10: - if (!(message.employmentTypes && message.employmentTypes.length)) - message.employmentTypes = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + break; + } + case 5: { + message.commuteFilter = $root.google.cloud.talent.v4.CommuteFilter.decode(reader, reader.uint32()); + break; + } + case 6: { + if (!(message.companyDisplayNames && message.companyDisplayNames.length)) + message.companyDisplayNames = []; + message.companyDisplayNames.push(reader.string()); + break; + } + case 7: { + message.compensationFilter = $root.google.cloud.talent.v4.CompensationFilter.decode(reader, reader.uint32()); + break; + } + case 8: { + message.customAttributeFilter = reader.string(); + break; + } + case 9: { + message.disableSpellCheck = reader.bool(); + break; + } + case 10: { + if (!(message.employmentTypes && message.employmentTypes.length)) + message.employmentTypes = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.employmentTypes.push(reader.int32()); + } else message.employmentTypes.push(reader.int32()); - } else - message.employmentTypes.push(reader.int32()); - break; - case 11: - if (!(message.languageCodes && message.languageCodes.length)) - message.languageCodes = []; - message.languageCodes.push(reader.string()); - break; - case 12: - message.publishTimeRange = $root.google.cloud.talent.v4.TimestampRange.decode(reader, reader.uint32()); - break; - case 13: - if (!(message.excludedJobs && message.excludedJobs.length)) - message.excludedJobs = []; - message.excludedJobs.push(reader.string()); - break; + break; + } + case 11: { + if (!(message.languageCodes && message.languageCodes.length)) + message.languageCodes = []; + message.languageCodes.push(reader.string()); + break; + } + case 12: { + message.publishTimeRange = $root.google.cloud.talent.v4.TimestampRange.decode(reader, reader.uint32()); + break; + } + case 13: { + if (!(message.excludedJobs && message.excludedJobs.length)) + message.excludedJobs = []; + message.excludedJobs.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -8577,6 +9054,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for JobQuery + * @function getTypeUrl + * @memberof google.cloud.talent.v4.JobQuery + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + JobQuery.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.JobQuery"; + }; + return JobQuery; })(); @@ -8716,21 +9208,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.regionCode = reader.string(); - break; - case 3: - message.latLng = $root.google.type.LatLng.decode(reader, reader.uint32()); - break; - case 4: - message.distanceInMiles = reader.double(); - break; - case 5: - message.telecommutePreference = reader.int32(); - break; + case 1: { + message.address = reader.string(); + break; + } + case 2: { + message.regionCode = reader.string(); + break; + } + case 3: { + message.latLng = $root.google.type.LatLng.decode(reader, reader.uint32()); + break; + } + case 4: { + message.distanceInMiles = reader.double(); + break; + } + case 5: { + message.telecommutePreference = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -8881,6 +9378,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for LocationFilter + * @function getTypeUrl + * @memberof google.cloud.talent.v4.LocationFilter + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + LocationFilter.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.LocationFilter"; + }; + /** * TelecommutePreference enum. * @name google.cloud.talent.v4.LocationFilter.TelecommutePreference @@ -9032,25 +9544,29 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.type = reader.int32(); - break; - case 2: - if (!(message.units && message.units.length)) - message.units = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + message.type = reader.int32(); + break; + } + case 2: { + if (!(message.units && message.units.length)) + message.units = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.units.push(reader.int32()); + } else message.units.push(reader.int32()); - } else - message.units.push(reader.int32()); - break; - case 3: - message.range = $root.google.cloud.talent.v4.CompensationInfo.CompensationRange.decode(reader, reader.uint32()); - break; - case 4: - message.includeJobsWithUnspecifiedCompensationRange = reader.bool(); - break; + break; + } + case 3: { + message.range = $root.google.cloud.talent.v4.CompensationInfo.CompensationRange.decode(reader, reader.uint32()); + break; + } + case 4: { + message.includeJobsWithUnspecifiedCompensationRange = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -9256,6 +9772,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CompensationFilter + * @function getTypeUrl + * @memberof google.cloud.talent.v4.CompensationFilter + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CompensationFilter.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.CompensationFilter"; + }; + /** * FilterType enum. * @name google.cloud.talent.v4.CompensationFilter.FilterType @@ -9440,24 +9971,30 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.commuteMethod = reader.int32(); - break; - case 2: - message.startCoordinates = $root.google.type.LatLng.decode(reader, reader.uint32()); - break; - case 3: - message.travelDuration = $root.google.protobuf.Duration.decode(reader, reader.uint32()); - break; - case 4: - message.allowImpreciseAddresses = reader.bool(); - break; - case 5: - message.roadTraffic = reader.int32(); - break; - case 6: - message.departureTime = $root.google.type.TimeOfDay.decode(reader, reader.uint32()); - break; + case 1: { + message.commuteMethod = reader.int32(); + break; + } + case 2: { + message.startCoordinates = $root.google.type.LatLng.decode(reader, reader.uint32()); + break; + } + case 3: { + message.travelDuration = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + break; + } + case 4: { + message.allowImpreciseAddresses = reader.bool(); + break; + } + case 5: { + message.roadTraffic = reader.int32(); + break; + } + case 6: { + message.departureTime = $root.google.type.TimeOfDay.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -9666,6 +10203,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CommuteFilter + * @function getTypeUrl + * @memberof google.cloud.talent.v4.CommuteFilter + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CommuteFilter.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.CommuteFilter"; + }; + /** * RoadTraffic enum. * @name google.cloud.talent.v4.CommuteFilter.RoadTraffic @@ -9777,9 +10329,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.histogramQuery = reader.string(); - break; + case 1: { + message.histogramQuery = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -9869,6 +10422,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for HistogramQuery + * @function getTypeUrl + * @memberof google.cloud.talent.v4.HistogramQuery + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + HistogramQuery.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.HistogramQuery"; + }; + return HistogramQuery; })(); @@ -9977,31 +10545,33 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.histogramQuery = reader.string(); - break; - case 2: - if (message.histogram === $util.emptyObject) - message.histogram = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = 0; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.int64(); - break; - default: - reader.skipType(tag2 & 7); - break; + case 1: { + message.histogramQuery = reader.string(); + break; + } + case 2: { + if (message.histogram === $util.emptyObject) + message.histogram = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = 0; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = reader.int64(); + break; + default: + reader.skipType(tag2 & 7); + break; + } } + message.histogram[key] = value; + break; } - message.histogram[key] = value; - break; default: reader.skipType(tag & 7); break; @@ -10124,6 +10694,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for HistogramQueryResult + * @function getTypeUrl + * @memberof google.cloud.talent.v4.HistogramQueryResult + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + HistogramQueryResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.HistogramQueryResult"; + }; + return HistogramQueryResult; })(); @@ -10559,138 +11144,168 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.company = reader.string(); - break; - case 3: - message.requisitionId = reader.string(); - break; - case 4: - message.title = reader.string(); - break; - case 5: - message.description = reader.string(); - break; - case 6: - if (!(message.addresses && message.addresses.length)) - message.addresses = []; - message.addresses.push(reader.string()); - break; - case 7: - message.applicationInfo = $root.google.cloud.talent.v4.Job.ApplicationInfo.decode(reader, reader.uint32()); - break; - case 8: - if (!(message.jobBenefits && message.jobBenefits.length)) - message.jobBenefits = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.company = reader.string(); + break; + } + case 3: { + message.requisitionId = reader.string(); + break; + } + case 4: { + message.title = reader.string(); + break; + } + case 5: { + message.description = reader.string(); + break; + } + case 6: { + if (!(message.addresses && message.addresses.length)) + message.addresses = []; + message.addresses.push(reader.string()); + break; + } + case 7: { + message.applicationInfo = $root.google.cloud.talent.v4.Job.ApplicationInfo.decode(reader, reader.uint32()); + break; + } + case 8: { + if (!(message.jobBenefits && message.jobBenefits.length)) + message.jobBenefits = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.jobBenefits.push(reader.int32()); + } else message.jobBenefits.push(reader.int32()); - } else - message.jobBenefits.push(reader.int32()); - break; - case 9: - message.compensationInfo = $root.google.cloud.talent.v4.CompensationInfo.decode(reader, reader.uint32()); - break; - case 10: - if (message.customAttributes === $util.emptyObject) - message.customAttributes = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = null; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = $root.google.cloud.talent.v4.CustomAttribute.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag2 & 7); - break; - } + break; } - message.customAttributes[key] = value; - break; - case 11: - if (!(message.degreeTypes && message.degreeTypes.length)) - message.degreeTypes = []; - if ((tag & 7) === 2) { + case 9: { + message.compensationInfo = $root.google.cloud.talent.v4.CompensationInfo.decode(reader, reader.uint32()); + break; + } + case 10: { + if (message.customAttributes === $util.emptyObject) + message.customAttributes = {}; var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + key = ""; + value = null; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = $root.google.cloud.talent.v4.CustomAttribute.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag2 & 7); + break; + } + } + message.customAttributes[key] = value; + break; + } + case 11: { + if (!(message.degreeTypes && message.degreeTypes.length)) + message.degreeTypes = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.degreeTypes.push(reader.int32()); + } else message.degreeTypes.push(reader.int32()); - } else - message.degreeTypes.push(reader.int32()); - break; - case 12: - message.department = reader.string(); - break; - case 13: - if (!(message.employmentTypes && message.employmentTypes.length)) - message.employmentTypes = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + break; + } + case 12: { + message.department = reader.string(); + break; + } + case 13: { + if (!(message.employmentTypes && message.employmentTypes.length)) + message.employmentTypes = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.employmentTypes.push(reader.int32()); + } else message.employmentTypes.push(reader.int32()); - } else - message.employmentTypes.push(reader.int32()); - break; - case 14: - message.incentives = reader.string(); - break; - case 15: - message.languageCode = reader.string(); - break; - case 16: - message.jobLevel = reader.int32(); - break; - case 17: - message.promotionValue = reader.int32(); - break; - case 18: - message.qualifications = reader.string(); - break; - case 19: - message.responsibilities = reader.string(); - break; - case 20: - message.postingRegion = reader.int32(); - break; - case 21: - message.visibility = reader.int32(); - break; - case 22: - message.jobStartTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 23: - message.jobEndTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 24: - message.postingPublishTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 25: - message.postingExpireTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 26: - message.postingCreateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 27: - message.postingUpdateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 28: - message.companyDisplayName = reader.string(); - break; - case 29: - message.derivedInfo = $root.google.cloud.talent.v4.Job.DerivedInfo.decode(reader, reader.uint32()); - break; - case 30: - message.processingOptions = $root.google.cloud.talent.v4.Job.ProcessingOptions.decode(reader, reader.uint32()); - break; + break; + } + case 14: { + message.incentives = reader.string(); + break; + } + case 15: { + message.languageCode = reader.string(); + break; + } + case 16: { + message.jobLevel = reader.int32(); + break; + } + case 17: { + message.promotionValue = reader.int32(); + break; + } + case 18: { + message.qualifications = reader.string(); + break; + } + case 19: { + message.responsibilities = reader.string(); + break; + } + case 20: { + message.postingRegion = reader.int32(); + break; + } + case 21: { + message.visibility = reader.int32(); + break; + } + case 22: { + message.jobStartTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 23: { + message.jobEndTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 24: { + message.postingPublishTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 25: { + message.postingExpireTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 26: { + message.postingCreateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 27: { + message.postingUpdateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 28: { + message.companyDisplayName = reader.string(); + break; + } + case 29: { + message.derivedInfo = $root.google.cloud.talent.v4.Job.DerivedInfo.decode(reader, reader.uint32()); + break; + } + case 30: { + message.processingOptions = $root.google.cloud.talent.v4.Job.ProcessingOptions.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -11387,6 +12002,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Job + * @function getTypeUrl + * @memberof google.cloud.talent.v4.Job + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Job.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.Job"; + }; + Job.ApplicationInfo = (function() { /** @@ -11505,19 +12135,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.emails && message.emails.length)) - message.emails = []; - message.emails.push(reader.string()); - break; - case 2: - message.instruction = reader.string(); - break; - case 3: - if (!(message.uris && message.uris.length)) - message.uris = []; - message.uris.push(reader.string()); - break; + case 1: { + if (!(message.emails && message.emails.length)) + message.emails = []; + message.emails.push(reader.string()); + break; + } + case 2: { + message.instruction = reader.string(); + break; + } + case 3: { + if (!(message.uris && message.uris.length)) + message.uris = []; + message.uris.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -11649,6 +12282,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ApplicationInfo + * @function getTypeUrl + * @memberof google.cloud.talent.v4.Job.ApplicationInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ApplicationInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.Job.ApplicationInfo"; + }; + return ApplicationInfo; })(); @@ -11762,21 +12410,23 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.locations && message.locations.length)) - message.locations = []; - message.locations.push($root.google.cloud.talent.v4.Location.decode(reader, reader.uint32())); - break; - case 3: - if (!(message.jobCategories && message.jobCategories.length)) - message.jobCategories = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + if (!(message.locations && message.locations.length)) + message.locations = []; + message.locations.push($root.google.cloud.talent.v4.Location.decode(reader, reader.uint32())); + break; + } + case 3: { + if (!(message.jobCategories && message.jobCategories.length)) + message.jobCategories = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.jobCategories.push(reader.int32()); + } else message.jobCategories.push(reader.int32()); - } else - message.jobCategories.push(reader.int32()); - break; + break; + } default: reader.skipType(tag & 7); break; @@ -12064,6 +12714,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DerivedInfo + * @function getTypeUrl + * @memberof google.cloud.talent.v4.Job.DerivedInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DerivedInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.Job.DerivedInfo"; + }; + return DerivedInfo; })(); @@ -12170,12 +12835,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.disableStreetAddressResolution = reader.bool(); - break; - case 2: - message.htmlSanitization = reader.int32(); - break; + case 1: { + message.disableStreetAddressResolution = reader.bool(); + break; + } + case 2: { + message.htmlSanitization = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -12292,6 +12959,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ProcessingOptions + * @function getTypeUrl + * @memberof google.cloud.talent.v4.Job.ProcessingOptions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ProcessingOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.Job.ProcessingOptions"; + }; + return ProcessingOptions; })(); @@ -12331,7 +13013,7 @@ }; /** - * Callback as used by {@link google.cloud.talent.v4.JobService#createJob}. + * Callback as used by {@link google.cloud.talent.v4.JobService|createJob}. * @memberof google.cloud.talent.v4.JobService * @typedef CreateJobCallback * @type {function} @@ -12364,7 +13046,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4.JobService#batchCreateJobs}. + * Callback as used by {@link google.cloud.talent.v4.JobService|batchCreateJobs}. * @memberof google.cloud.talent.v4.JobService * @typedef BatchCreateJobsCallback * @type {function} @@ -12397,7 +13079,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4.JobService#getJob}. + * Callback as used by {@link google.cloud.talent.v4.JobService|getJob}. * @memberof google.cloud.talent.v4.JobService * @typedef GetJobCallback * @type {function} @@ -12430,7 +13112,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4.JobService#updateJob}. + * Callback as used by {@link google.cloud.talent.v4.JobService|updateJob}. * @memberof google.cloud.talent.v4.JobService * @typedef UpdateJobCallback * @type {function} @@ -12463,7 +13145,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4.JobService#batchUpdateJobs}. + * Callback as used by {@link google.cloud.talent.v4.JobService|batchUpdateJobs}. * @memberof google.cloud.talent.v4.JobService * @typedef BatchUpdateJobsCallback * @type {function} @@ -12496,7 +13178,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4.JobService#deleteJob}. + * Callback as used by {@link google.cloud.talent.v4.JobService|deleteJob}. * @memberof google.cloud.talent.v4.JobService * @typedef DeleteJobCallback * @type {function} @@ -12529,7 +13211,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4.JobService#batchDeleteJobs}. + * Callback as used by {@link google.cloud.talent.v4.JobService|batchDeleteJobs}. * @memberof google.cloud.talent.v4.JobService * @typedef BatchDeleteJobsCallback * @type {function} @@ -12562,7 +13244,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4.JobService#listJobs}. + * Callback as used by {@link google.cloud.talent.v4.JobService|listJobs}. * @memberof google.cloud.talent.v4.JobService * @typedef ListJobsCallback * @type {function} @@ -12595,7 +13277,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4.JobService#searchJobs}. + * Callback as used by {@link google.cloud.talent.v4.JobService|searchJobs}. * @memberof google.cloud.talent.v4.JobService * @typedef SearchJobsCallback * @type {function} @@ -12628,7 +13310,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4.JobService#searchJobsForAlert}. + * Callback as used by {@link google.cloud.talent.v4.JobService|searchJobsForAlert}. * @memberof google.cloud.talent.v4.JobService * @typedef SearchJobsForAlertCallback * @type {function} @@ -12766,12 +13448,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.job = $root.google.cloud.talent.v4.Job.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.job = $root.google.cloud.talent.v4.Job.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -12875,6 +13559,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateJobRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4.CreateJobRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateJobRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.CreateJobRequest"; + }; + return CreateJobRequest; })(); @@ -12970,9 +13669,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -13062,6 +13762,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetJobRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4.GetJobRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetJobRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.GetJobRequest"; + }; + return GetJobRequest; })(); @@ -13168,12 +13883,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.job = $root.google.cloud.talent.v4.Job.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.job = $root.google.cloud.talent.v4.Job.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -13282,6 +13999,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateJobRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4.UpdateJobRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateJobRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.UpdateJobRequest"; + }; + return UpdateJobRequest; })(); @@ -13377,9 +14109,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -13469,6 +14202,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteJobRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4.DeleteJobRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteJobRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.DeleteJobRequest"; + }; + return DeleteJobRequest; })(); @@ -13628,21 +14376,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.filter = reader.string(); - break; - case 3: - message.pageToken = reader.string(); - break; - case 4: - message.pageSize = reader.int32(); - break; - case 5: - message.jobView = reader.int32(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.filter = reader.string(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } + case 4: { + message.pageSize = reader.int32(); + break; + } + case 5: { + message.jobView = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -13793,6 +14546,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListJobsRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4.ListJobsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListJobsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.ListJobsRequest"; + }; + return ListJobsRequest; })(); @@ -13912,17 +14680,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.jobs && message.jobs.length)) - message.jobs = []; - message.jobs.push($root.google.cloud.talent.v4.Job.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; - case 3: - message.metadata = $root.google.cloud.talent.v4.ResponseMetadata.decode(reader, reader.uint32()); - break; + case 1: { + if (!(message.jobs && message.jobs.length)) + message.jobs = []; + message.jobs.push($root.google.cloud.talent.v4.Job.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } + case 3: { + message.metadata = $root.google.cloud.talent.v4.ResponseMetadata.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -14052,6 +14823,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListJobsResponse + * @function getTypeUrl + * @memberof google.cloud.talent.v4.ListJobsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListJobsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.ListJobsResponse"; + }; + return ListJobsResponse; })(); @@ -14303,53 +15089,68 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.searchMode = reader.int32(); - break; - case 3: - message.requestMetadata = $root.google.cloud.talent.v4.RequestMetadata.decode(reader, reader.uint32()); - break; - case 4: - message.jobQuery = $root.google.cloud.talent.v4.JobQuery.decode(reader, reader.uint32()); - break; - case 5: - message.enableBroadening = reader.bool(); - break; - case 7: - if (!(message.histogramQueries && message.histogramQueries.length)) - message.histogramQueries = []; - message.histogramQueries.push($root.google.cloud.talent.v4.HistogramQuery.decode(reader, reader.uint32())); - break; - case 8: - message.jobView = reader.int32(); - break; - case 9: - message.offset = reader.int32(); - break; - case 10: - message.maxPageSize = reader.int32(); - break; - case 11: - message.pageToken = reader.string(); - break; - case 12: - message.orderBy = reader.string(); - break; - case 13: - message.diversificationLevel = reader.int32(); - break; - case 14: - message.customRankingInfo = $root.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.decode(reader, reader.uint32()); - break; - case 16: - message.disableKeywordMatch = reader.bool(); - break; - case 18: - message.keywordMatchMode = reader.int32(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.searchMode = reader.int32(); + break; + } + case 3: { + message.requestMetadata = $root.google.cloud.talent.v4.RequestMetadata.decode(reader, reader.uint32()); + break; + } + case 4: { + message.jobQuery = $root.google.cloud.talent.v4.JobQuery.decode(reader, reader.uint32()); + break; + } + case 5: { + message.enableBroadening = reader.bool(); + break; + } + case 7: { + if (!(message.histogramQueries && message.histogramQueries.length)) + message.histogramQueries = []; + message.histogramQueries.push($root.google.cloud.talent.v4.HistogramQuery.decode(reader, reader.uint32())); + break; + } + case 8: { + message.jobView = reader.int32(); + break; + } + case 9: { + message.offset = reader.int32(); + break; + } + case 10: { + message.maxPageSize = reader.int32(); + break; + } + case 11: { + message.pageToken = reader.string(); + break; + } + case 12: { + message.orderBy = reader.string(); + break; + } + case 13: { + message.diversificationLevel = reader.int32(); + break; + } + case 14: { + message.customRankingInfo = $root.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.decode(reader, reader.uint32()); + break; + } + case 16: { + message.disableKeywordMatch = reader.bool(); + break; + } + case 18: { + message.keywordMatchMode = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -14687,6 +15488,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SearchJobsRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4.SearchJobsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SearchJobsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.SearchJobsRequest"; + }; + /** * SearchMode enum. * @name google.cloud.talent.v4.SearchJobsRequest.SearchMode @@ -14846,12 +15662,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.importanceLevel = reader.int32(); - break; - case 2: - message.rankingExpression = reader.string(); - break; + case 1: { + message.importanceLevel = reader.int32(); + break; + } + case 2: { + message.rankingExpression = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -14988,6 +15806,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CustomRankingInfo + * @function getTypeUrl + * @memberof google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CustomRankingInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo"; + }; + /** * ImportanceLevel enum. * @name google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel @@ -15193,36 +16026,44 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.matchingJobs && message.matchingJobs.length)) - message.matchingJobs = []; - message.matchingJobs.push($root.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.decode(reader, reader.uint32())); - break; - case 2: - if (!(message.histogramQueryResults && message.histogramQueryResults.length)) - message.histogramQueryResults = []; - message.histogramQueryResults.push($root.google.cloud.talent.v4.HistogramQueryResult.decode(reader, reader.uint32())); - break; - case 3: - message.nextPageToken = reader.string(); - break; - case 4: - if (!(message.locationFilters && message.locationFilters.length)) - message.locationFilters = []; - message.locationFilters.push($root.google.cloud.talent.v4.Location.decode(reader, reader.uint32())); - break; - case 6: - message.totalSize = reader.int32(); - break; - case 7: - message.metadata = $root.google.cloud.talent.v4.ResponseMetadata.decode(reader, reader.uint32()); - break; - case 8: - message.broadenedQueryJobsCount = reader.int32(); - break; - case 9: - message.spellCorrection = $root.google.cloud.talent.v4.SpellingCorrection.decode(reader, reader.uint32()); - break; + case 1: { + if (!(message.matchingJobs && message.matchingJobs.length)) + message.matchingJobs = []; + message.matchingJobs.push($root.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.decode(reader, reader.uint32())); + break; + } + case 2: { + if (!(message.histogramQueryResults && message.histogramQueryResults.length)) + message.histogramQueryResults = []; + message.histogramQueryResults.push($root.google.cloud.talent.v4.HistogramQueryResult.decode(reader, reader.uint32())); + break; + } + case 3: { + message.nextPageToken = reader.string(); + break; + } + case 4: { + if (!(message.locationFilters && message.locationFilters.length)) + message.locationFilters = []; + message.locationFilters.push($root.google.cloud.talent.v4.Location.decode(reader, reader.uint32())); + break; + } + case 6: { + message.totalSize = reader.int32(); + break; + } + case 7: { + message.metadata = $root.google.cloud.talent.v4.ResponseMetadata.decode(reader, reader.uint32()); + break; + } + case 8: { + message.broadenedQueryJobsCount = reader.int32(); + break; + } + case 9: { + message.spellCorrection = $root.google.cloud.talent.v4.SpellingCorrection.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -15432,6 +16273,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SearchJobsResponse + * @function getTypeUrl + * @memberof google.cloud.talent.v4.SearchJobsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SearchJobsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.SearchJobsResponse"; + }; + SearchJobsResponse.MatchingJob = (function() { /** @@ -15568,21 +16424,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.job = $root.google.cloud.talent.v4.Job.decode(reader, reader.uint32()); - break; - case 2: - message.jobSummary = reader.string(); - break; - case 3: - message.jobTitleSnippet = reader.string(); - break; - case 4: - message.searchTextSnippet = reader.string(); - break; - case 5: - message.commuteInfo = $root.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.decode(reader, reader.uint32()); - break; + case 1: { + message.job = $root.google.cloud.talent.v4.Job.decode(reader, reader.uint32()); + break; + } + case 2: { + message.jobSummary = reader.string(); + break; + } + case 3: { + message.jobTitleSnippet = reader.string(); + break; + } + case 4: { + message.searchTextSnippet = reader.string(); + break; + } + case 5: { + message.commuteInfo = $root.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -15715,6 +16576,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for MatchingJob + * @function getTypeUrl + * @memberof google.cloud.talent.v4.SearchJobsResponse.MatchingJob + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + MatchingJob.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.SearchJobsResponse.MatchingJob"; + }; + return MatchingJob; })(); @@ -15821,12 +16697,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.jobLocation = $root.google.cloud.talent.v4.Location.decode(reader, reader.uint32()); - break; - case 2: - message.travelDuration = $root.google.protobuf.Duration.decode(reader, reader.uint32()); - break; + case 1: { + message.jobLocation = $root.google.cloud.talent.v4.Location.decode(reader, reader.uint32()); + break; + } + case 2: { + message.travelDuration = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -15935,6 +16813,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CommuteInfo + * @function getTypeUrl + * @memberof google.cloud.talent.v4.SearchJobsResponse.CommuteInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CommuteInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.SearchJobsResponse.CommuteInfo"; + }; + return CommuteInfo; })(); @@ -16046,14 +16939,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - if (!(message.jobs && message.jobs.length)) - message.jobs = []; - message.jobs.push($root.google.cloud.talent.v4.Job.decode(reader, reader.uint32())); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + if (!(message.jobs && message.jobs.length)) + message.jobs = []; + message.jobs.push($root.google.cloud.talent.v4.Job.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -16169,6 +17064,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchCreateJobsRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4.BatchCreateJobsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchCreateJobsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.BatchCreateJobsRequest"; + }; + return BatchCreateJobsRequest; })(); @@ -16288,17 +17198,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - if (!(message.jobs && message.jobs.length)) - message.jobs = []; - message.jobs.push($root.google.cloud.talent.v4.Job.decode(reader, reader.uint32())); - break; - case 3: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + if (!(message.jobs && message.jobs.length)) + message.jobs = []; + message.jobs.push($root.google.cloud.talent.v4.Job.decode(reader, reader.uint32())); + break; + } + case 3: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -16428,6 +17341,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchUpdateJobsRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4.BatchUpdateJobsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchUpdateJobsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.BatchUpdateJobsRequest"; + }; + return BatchUpdateJobsRequest; })(); @@ -16536,14 +17464,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - if (!(message.names && message.names.length)) - message.names = []; - message.names.push(reader.string()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + if (!(message.names && message.names.length)) + message.names = []; + message.names.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -16654,6 +17584,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchDeleteJobsRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4.BatchDeleteJobsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchDeleteJobsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.BatchDeleteJobsRequest"; + }; + return BatchDeleteJobsRequest; })(); @@ -16760,12 +17705,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.job = $root.google.cloud.talent.v4.Job.decode(reader, reader.uint32()); - break; - case 2: - message.status = $root.google.rpc.Status.decode(reader, reader.uint32()); - break; + case 1: { + message.job = $root.google.cloud.talent.v4.Job.decode(reader, reader.uint32()); + break; + } + case 2: { + message.status = $root.google.rpc.Status.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -16874,6 +17821,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for JobResult + * @function getTypeUrl + * @memberof google.cloud.talent.v4.JobResult + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + JobResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.JobResult"; + }; + return JobResult; })(); @@ -16971,11 +17933,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.jobResults && message.jobResults.length)) - message.jobResults = []; - message.jobResults.push($root.google.cloud.talent.v4.JobResult.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.jobResults && message.jobResults.length)) + message.jobResults = []; + message.jobResults.push($root.google.cloud.talent.v4.JobResult.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -17082,6 +18045,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchCreateJobsResponse + * @function getTypeUrl + * @memberof google.cloud.talent.v4.BatchCreateJobsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchCreateJobsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.BatchCreateJobsResponse"; + }; + return BatchCreateJobsResponse; })(); @@ -17179,11 +18157,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.jobResults && message.jobResults.length)) - message.jobResults = []; - message.jobResults.push($root.google.cloud.talent.v4.JobResult.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.jobResults && message.jobResults.length)) + message.jobResults = []; + message.jobResults.push($root.google.cloud.talent.v4.JobResult.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -17290,6 +18269,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchUpdateJobsResponse + * @function getTypeUrl + * @memberof google.cloud.talent.v4.BatchUpdateJobsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchUpdateJobsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.BatchUpdateJobsResponse"; + }; + return BatchUpdateJobsResponse; })(); @@ -17387,11 +18381,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.jobResults && message.jobResults.length)) - message.jobResults = []; - message.jobResults.push($root.google.cloud.talent.v4.JobResult.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.jobResults && message.jobResults.length)) + message.jobResults = []; + message.jobResults.push($root.google.cloud.talent.v4.JobResult.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -17498,6 +18493,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchDeleteJobsResponse + * @function getTypeUrl + * @memberof google.cloud.talent.v4.BatchDeleteJobsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchDeleteJobsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.BatchDeleteJobsResponse"; + }; + return BatchDeleteJobsResponse; })(); @@ -17604,12 +18614,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.externalId = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.externalId = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -17708,6 +18720,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Tenant + * @function getTypeUrl + * @memberof google.cloud.talent.v4.Tenant + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Tenant.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.Tenant"; + }; + return Tenant; })(); @@ -17744,7 +18771,7 @@ }; /** - * Callback as used by {@link google.cloud.talent.v4.TenantService#createTenant}. + * Callback as used by {@link google.cloud.talent.v4.TenantService|createTenant}. * @memberof google.cloud.talent.v4.TenantService * @typedef CreateTenantCallback * @type {function} @@ -17777,7 +18804,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4.TenantService#getTenant}. + * Callback as used by {@link google.cloud.talent.v4.TenantService|getTenant}. * @memberof google.cloud.talent.v4.TenantService * @typedef GetTenantCallback * @type {function} @@ -17810,7 +18837,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4.TenantService#updateTenant}. + * Callback as used by {@link google.cloud.talent.v4.TenantService|updateTenant}. * @memberof google.cloud.talent.v4.TenantService * @typedef UpdateTenantCallback * @type {function} @@ -17843,7 +18870,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4.TenantService#deleteTenant}. + * Callback as used by {@link google.cloud.talent.v4.TenantService|deleteTenant}. * @memberof google.cloud.talent.v4.TenantService * @typedef DeleteTenantCallback * @type {function} @@ -17876,7 +18903,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4.TenantService#listTenants}. + * Callback as used by {@link google.cloud.talent.v4.TenantService|listTenants}. * @memberof google.cloud.talent.v4.TenantService * @typedef ListTenantsCallback * @type {function} @@ -18014,12 +19041,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.tenant = $root.google.cloud.talent.v4.Tenant.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.tenant = $root.google.cloud.talent.v4.Tenant.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -18123,6 +19152,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateTenantRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4.CreateTenantRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateTenantRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.CreateTenantRequest"; + }; + return CreateTenantRequest; })(); @@ -18218,9 +19262,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -18310,6 +19355,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetTenantRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4.GetTenantRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetTenantRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.GetTenantRequest"; + }; + return GetTenantRequest; })(); @@ -18416,12 +19476,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.tenant = $root.google.cloud.talent.v4.Tenant.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.tenant = $root.google.cloud.talent.v4.Tenant.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -18530,6 +19592,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateTenantRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4.UpdateTenantRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateTenantRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.UpdateTenantRequest"; + }; + return UpdateTenantRequest; })(); @@ -18625,9 +19702,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -18717,6 +19795,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteTenantRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4.DeleteTenantRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteTenantRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.DeleteTenantRequest"; + }; + return DeleteTenantRequest; })(); @@ -18834,15 +19927,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageToken = reader.string(); - break; - case 3: - message.pageSize = reader.int32(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageToken = reader.string(); + break; + } + case 3: { + message.pageSize = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -18949,6 +20045,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListTenantsRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4.ListTenantsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListTenantsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.ListTenantsRequest"; + }; + return ListTenantsRequest; })(); @@ -19068,17 +20179,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.tenants && message.tenants.length)) - message.tenants = []; - message.tenants.push($root.google.cloud.talent.v4.Tenant.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; - case 3: - message.metadata = $root.google.cloud.talent.v4.ResponseMetadata.decode(reader, reader.uint32()); - break; + case 1: { + if (!(message.tenants && message.tenants.length)) + message.tenants = []; + message.tenants.push($root.google.cloud.talent.v4.Tenant.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } + case 3: { + message.metadata = $root.google.cloud.talent.v4.ResponseMetadata.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -19208,6 +20322,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListTenantsResponse + * @function getTypeUrl + * @memberof google.cloud.talent.v4.ListTenantsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListTenantsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4.ListTenantsResponse"; + }; + return ListTenantsResponse; })(); @@ -19482,56 +20611,72 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 31: - message.externalId = reader.string(); - break; - case 2: - message.profile = reader.string(); - break; - case 4: - message.job = reader.string(); - break; - case 5: - message.company = reader.string(); - break; - case 7: - message.applicationDate = $root.google.type.Date.decode(reader, reader.uint32()); - break; - case 11: - message.stage = reader.int32(); - break; - case 13: - message.state = reader.int32(); - break; - case 16: - if (!(message.interviews && message.interviews.length)) - message.interviews = []; - message.interviews.push($root.google.cloud.talent.v4beta1.Interview.decode(reader, reader.uint32())); - break; - case 18: - message.referral = $root.google.protobuf.BoolValue.decode(reader, reader.uint32()); - break; - case 19: - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 20: - message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 21: - message.outcomeNotes = reader.string(); - break; - case 22: - message.outcome = reader.int32(); - break; - case 28: - message.isMatch = $root.google.protobuf.BoolValue.decode(reader, reader.uint32()); - break; - case 29: - message.jobTitleSnippet = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 31: { + message.externalId = reader.string(); + break; + } + case 2: { + message.profile = reader.string(); + break; + } + case 4: { + message.job = reader.string(); + break; + } + case 5: { + message.company = reader.string(); + break; + } + case 7: { + message.applicationDate = $root.google.type.Date.decode(reader, reader.uint32()); + break; + } + case 11: { + message.stage = reader.int32(); + break; + } + case 13: { + message.state = reader.int32(); + break; + } + case 16: { + if (!(message.interviews && message.interviews.length)) + message.interviews = []; + message.interviews.push($root.google.cloud.talent.v4beta1.Interview.decode(reader, reader.uint32())); + break; + } + case 18: { + message.referral = $root.google.protobuf.BoolValue.decode(reader, reader.uint32()); + break; + } + case 19: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 20: { + message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 21: { + message.outcomeNotes = reader.string(); + break; + } + case 22: { + message.outcome = reader.int32(); + break; + } + case 28: { + message.isMatch = $root.google.protobuf.BoolValue.decode(reader, reader.uint32()); + break; + } + case 29: { + message.jobTitleSnippet = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -19889,6 +21034,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Application + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.Application + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Application.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.Application"; + }; + /** * ApplicationState enum. * @name google.cloud.talent.v4beta1.Application.ApplicationState @@ -20043,12 +21203,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.startTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 2: - message.endTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; + case 1: { + message.startTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 2: { + message.endTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -20157,6 +21319,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for TimestampRange + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.TimestampRange + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TimestampRange.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.TimestampRange"; + }; + return TimestampRange; })(); @@ -20285,18 +21462,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.locationType = reader.int32(); - break; - case 2: - message.postalAddress = $root.google.type.PostalAddress.decode(reader, reader.uint32()); - break; - case 3: - message.latLng = $root.google.type.LatLng.decode(reader, reader.uint32()); - break; - case 4: - message.radiusMiles = reader.double(); - break; + case 1: { + message.locationType = reader.int32(); + break; + } + case 2: { + message.postalAddress = $root.google.type.PostalAddress.decode(reader, reader.uint32()); + break; + } + case 3: { + message.latLng = $root.google.type.LatLng.decode(reader, reader.uint32()); + break; + } + case 4: { + message.radiusMiles = reader.double(); + break; + } default: reader.skipType(tag & 7); break; @@ -20479,6 +21660,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Location + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.Location + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Location.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.Location"; + }; + /** * LocationType enum. * @name google.cloud.talent.v4beta1.Location.LocationType @@ -20954,21 +22150,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.domain = reader.string(); - break; - case 2: - message.sessionId = reader.string(); - break; - case 3: - message.userId = reader.string(); - break; - case 4: - message.allowMissingIds = reader.bool(); - break; - case 5: - message.deviceInfo = $root.google.cloud.talent.v4beta1.DeviceInfo.decode(reader, reader.uint32()); - break; + case 1: { + message.domain = reader.string(); + break; + } + case 2: { + message.sessionId = reader.string(); + break; + } + case 3: { + message.userId = reader.string(); + break; + } + case 4: { + message.allowMissingIds = reader.bool(); + break; + } + case 5: { + message.deviceInfo = $root.google.cloud.talent.v4beta1.DeviceInfo.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -21096,6 +22297,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for RequestMetadata + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.RequestMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + RequestMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.RequestMetadata"; + }; + return RequestMetadata; })(); @@ -21191,9 +22407,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.requestId = reader.string(); - break; + case 1: { + message.requestId = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -21283,6 +22500,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ResponseMetadata + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.ResponseMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResponseMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.ResponseMetadata"; + }; + return ResponseMetadata; })(); @@ -21389,12 +22621,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.deviceType = reader.int32(); - break; - case 2: - message.id = reader.string(); - break; + case 1: { + message.deviceType = reader.int32(); + break; + } + case 2: { + message.id = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -21531,6 +22765,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeviceInfo + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.DeviceInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeviceInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.DeviceInfo"; + }; + /** * DeviceType enum. * @name google.cloud.talent.v4beta1.DeviceInfo.DeviceType @@ -21679,24 +22928,27 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.stringValues && message.stringValues.length)) - message.stringValues = []; - message.stringValues.push(reader.string()); - break; - case 2: - if (!(message.longValues && message.longValues.length)) - message.longValues = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + if (!(message.stringValues && message.stringValues.length)) + message.stringValues = []; + message.stringValues.push(reader.string()); + break; + } + case 2: { + if (!(message.longValues && message.longValues.length)) + message.longValues = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.longValues.push(reader.int64()); + } else message.longValues.push(reader.int64()); - } else - message.longValues.push(reader.int64()); - break; - case 3: - message.filterable = reader.bool(); - break; + break; + } + case 3: { + message.filterable = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -21838,6 +23090,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CustomAttribute + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.CustomAttribute + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CustomAttribute.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.CustomAttribute"; + }; + return CustomAttribute; })(); @@ -21955,15 +23222,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.corrected = reader.bool(); - break; - case 2: - message.correctedText = reader.string(); - break; - case 3: - message.correctedHtml = reader.string(); - break; + case 1: { + message.corrected = reader.bool(); + break; + } + case 2: { + message.correctedText = reader.string(); + break; + } + case 3: { + message.correctedHtml = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -22070,6 +23340,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SpellingCorrection + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.SpellingCorrection + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SpellingCorrection.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.SpellingCorrection"; + }; + return SpellingCorrection; })(); @@ -22189,17 +23474,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.entries && message.entries.length)) - message.entries = []; - message.entries.push($root.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.decode(reader, reader.uint32())); - break; - case 2: - message.annualizedBaseCompensationRange = $root.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.decode(reader, reader.uint32()); - break; - case 3: - message.annualizedTotalCompensationRange = $root.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.decode(reader, reader.uint32()); - break; + case 1: { + if (!(message.entries && message.entries.length)) + message.entries = []; + message.entries.push($root.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.decode(reader, reader.uint32())); + break; + } + case 2: { + message.annualizedBaseCompensationRange = $root.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.decode(reader, reader.uint32()); + break; + } + case 3: { + message.annualizedTotalCompensationRange = $root.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -22334,6 +23622,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CompensationInfo + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.CompensationInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CompensationInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.CompensationInfo"; + }; + CompensationInfo.CompensationEntry = (function() { /** @@ -22495,24 +23798,30 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.type = reader.int32(); - break; - case 2: - message.unit = reader.int32(); - break; - case 3: - message.amount = $root.google.type.Money.decode(reader, reader.uint32()); - break; - case 4: - message.range = $root.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.decode(reader, reader.uint32()); - break; - case 5: - message.description = reader.string(); - break; - case 6: - message.expectedUnitsPerYear = $root.google.protobuf.DoubleValue.decode(reader, reader.uint32()); - break; + case 1: { + message.type = reader.int32(); + break; + } + case 2: { + message.unit = reader.int32(); + break; + } + case 3: { + message.amount = $root.google.type.Money.decode(reader, reader.uint32()); + break; + } + case 4: { + message.range = $root.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.decode(reader, reader.uint32()); + break; + } + case 5: { + message.description = reader.string(); + break; + } + case 6: { + message.expectedUnitsPerYear = $root.google.protobuf.DoubleValue.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -22762,6 +24071,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CompensationEntry + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CompensationEntry.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry"; + }; + return CompensationEntry; })(); @@ -22868,12 +24192,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 2: - message.maxCompensation = $root.google.type.Money.decode(reader, reader.uint32()); - break; - case 1: - message.minCompensation = $root.google.type.Money.decode(reader, reader.uint32()); - break; + case 2: { + message.maxCompensation = $root.google.type.Money.decode(reader, reader.uint32()); + break; + } + case 1: { + message.minCompensation = $root.google.type.Money.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -22982,6 +24308,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CompensationRange + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CompensationRange.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.CompensationInfo.CompensationRange"; + }; + return CompensationRange; })(); @@ -23178,21 +24519,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.displayName = reader.string(); - break; - case 2: - message.acquireDate = $root.google.type.Date.decode(reader, reader.uint32()); - break; - case 3: - message.expireDate = $root.google.type.Date.decode(reader, reader.uint32()); - break; - case 4: - message.authority = reader.string(); - break; - case 5: - message.description = reader.string(); - break; + case 1: { + message.displayName = reader.string(); + break; + } + case 2: { + message.acquireDate = $root.google.type.Date.decode(reader, reader.uint32()); + break; + } + case 3: { + message.expireDate = $root.google.type.Date.decode(reader, reader.uint32()); + break; + } + case 4: { + message.authority = reader.string(); + break; + } + case 5: { + message.description = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -23325,6 +24671,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Certification + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.Certification + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Certification.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.Certification"; + }; + return Certification; })(); @@ -23464,21 +24825,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.displayName = reader.string(); - break; - case 2: - message.lastUsedDate = $root.google.type.Date.decode(reader, reader.uint32()); - break; - case 3: - message.level = reader.int32(); - break; - case 4: - message.context = reader.string(); - break; - case 5: - message.skillNameSnippet = reader.string(); - break; + case 1: { + message.displayName = reader.string(); + break; + } + case 2: { + message.lastUsedDate = $root.google.type.Date.decode(reader, reader.uint32()); + break; + } + case 3: { + message.level = reader.int32(); + break; + } + case 4: { + message.context = reader.string(); + break; + } + case 5: { + message.skillNameSnippet = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -23644,6 +25010,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Skill + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.Skill + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Skill.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.Skill"; + }; + return Skill; })(); @@ -23750,12 +25131,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 6: - message.rating = $root.google.cloud.talent.v4beta1.Rating.decode(reader, reader.uint32()); - break; - case 7: - message.outcome = reader.int32(); - break; + case 6: { + message.rating = $root.google.cloud.talent.v4beta1.Rating.decode(reader, reader.uint32()); + break; + } + case 7: { + message.outcome = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -23887,6 +25270,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Interview + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.Interview + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Interview.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.Interview"; + }; + return Interview; })(); @@ -24015,18 +25413,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.overall = reader.double(); - break; - case 2: - message.min = reader.double(); - break; - case 3: - message.max = reader.double(); - break; - case 4: - message.interval = reader.double(); - break; + case 1: { + message.overall = reader.double(); + break; + } + case 2: { + message.min = reader.double(); + break; + } + case 3: { + message.max = reader.double(); + break; + } + case 4: { + message.interval = reader.double(); + break; + } default: reader.skipType(tag & 7); break; @@ -24141,6 +25543,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Rating + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.Rating + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Rating.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.Rating"; + }; + return Rating; })(); @@ -24313,30 +25730,38 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.state = reader.int32(); - break; - case 2: - message.stateDescription = reader.string(); - break; - case 3: - message.successCount = reader.int32(); - break; - case 4: - message.failureCount = reader.int32(); - break; - case 5: - message.totalCount = reader.int32(); - break; - case 6: - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 7: - message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 8: - message.endTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; + case 1: { + message.state = reader.int32(); + break; + } + case 2: { + message.stateDescription = reader.string(); + break; + } + case 3: { + message.successCount = reader.int32(); + break; + } + case 4: { + message.failureCount = reader.int32(); + break; + } + case 5: { + message.totalCount = reader.int32(); + break; + } + case 6: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 7: { + message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 8: { + message.endTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -24536,6 +25961,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchOperationMetadata + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.BatchOperationMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.BatchOperationMetadata"; + }; + /** * State enum. * @name google.cloud.talent.v4beta1.BatchOperationMetadata.State @@ -24660,7 +26100,7 @@ }; /** - * Callback as used by {@link google.cloud.talent.v4beta1.ApplicationService#createApplication}. + * Callback as used by {@link google.cloud.talent.v4beta1.ApplicationService|createApplication}. * @memberof google.cloud.talent.v4beta1.ApplicationService * @typedef CreateApplicationCallback * @type {function} @@ -24693,7 +26133,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4beta1.ApplicationService#getApplication}. + * Callback as used by {@link google.cloud.talent.v4beta1.ApplicationService|getApplication}. * @memberof google.cloud.talent.v4beta1.ApplicationService * @typedef GetApplicationCallback * @type {function} @@ -24726,7 +26166,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4beta1.ApplicationService#updateApplication}. + * Callback as used by {@link google.cloud.talent.v4beta1.ApplicationService|updateApplication}. * @memberof google.cloud.talent.v4beta1.ApplicationService * @typedef UpdateApplicationCallback * @type {function} @@ -24759,7 +26199,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4beta1.ApplicationService#deleteApplication}. + * Callback as used by {@link google.cloud.talent.v4beta1.ApplicationService|deleteApplication}. * @memberof google.cloud.talent.v4beta1.ApplicationService * @typedef DeleteApplicationCallback * @type {function} @@ -24792,7 +26232,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4beta1.ApplicationService#listApplications}. + * Callback as used by {@link google.cloud.talent.v4beta1.ApplicationService|listApplications}. * @memberof google.cloud.talent.v4beta1.ApplicationService * @typedef ListApplicationsCallback * @type {function} @@ -24930,12 +26370,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.application = $root.google.cloud.talent.v4beta1.Application.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.application = $root.google.cloud.talent.v4beta1.Application.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -25039,6 +26481,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateApplicationRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.CreateApplicationRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateApplicationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.CreateApplicationRequest"; + }; + return CreateApplicationRequest; })(); @@ -25134,9 +26591,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -25226,6 +26684,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetApplicationRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.GetApplicationRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetApplicationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.GetApplicationRequest"; + }; + return GetApplicationRequest; })(); @@ -25332,12 +26805,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.application = $root.google.cloud.talent.v4beta1.Application.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.application = $root.google.cloud.talent.v4beta1.Application.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -25446,6 +26921,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateApplicationRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.UpdateApplicationRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateApplicationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.UpdateApplicationRequest"; + }; + return UpdateApplicationRequest; })(); @@ -25541,9 +27031,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -25633,6 +27124,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteApplicationRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.DeleteApplicationRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteApplicationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.DeleteApplicationRequest"; + }; + return DeleteApplicationRequest; })(); @@ -25750,15 +27256,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageToken = reader.string(); - break; - case 3: - message.pageSize = reader.int32(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageToken = reader.string(); + break; + } + case 3: { + message.pageSize = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -25865,6 +27374,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListApplicationsRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.ListApplicationsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListApplicationsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.ListApplicationsRequest"; + }; + return ListApplicationsRequest; })(); @@ -25984,17 +27508,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.applications && message.applications.length)) - message.applications = []; - message.applications.push($root.google.cloud.talent.v4beta1.Application.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; - case 3: - message.metadata = $root.google.cloud.talent.v4beta1.ResponseMetadata.decode(reader, reader.uint32()); - break; + case 1: { + if (!(message.applications && message.applications.length)) + message.applications = []; + message.applications.push($root.google.cloud.talent.v4beta1.Application.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } + case 3: { + message.metadata = $root.google.cloud.talent.v4beta1.ResponseMetadata.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -26124,6 +27651,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListApplicationsResponse + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.ListApplicationsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListApplicationsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.ListApplicationsResponse"; + }; + return ListApplicationsResponse; })(); @@ -26353,47 +27895,60 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.displayName = reader.string(); - break; - case 3: - message.externalId = reader.string(); - break; - case 4: - message.size = reader.int32(); - break; - case 5: - message.headquartersAddress = reader.string(); - break; - case 6: - message.hiringAgency = reader.bool(); - break; - case 7: - message.eeoText = reader.string(); - break; - case 8: - message.websiteUri = reader.string(); - break; - case 9: - message.careerSiteUri = reader.string(); - break; - case 10: - message.imageUri = reader.string(); - break; - case 11: - if (!(message.keywordSearchableJobCustomAttributes && message.keywordSearchableJobCustomAttributes.length)) - message.keywordSearchableJobCustomAttributes = []; - message.keywordSearchableJobCustomAttributes.push(reader.string()); - break; - case 12: - message.derivedInfo = $root.google.cloud.talent.v4beta1.Company.DerivedInfo.decode(reader, reader.uint32()); - break; - case 13: - message.suspended = reader.bool(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.displayName = reader.string(); + break; + } + case 3: { + message.externalId = reader.string(); + break; + } + case 4: { + message.size = reader.int32(); + break; + } + case 5: { + message.headquartersAddress = reader.string(); + break; + } + case 6: { + message.hiringAgency = reader.bool(); + break; + } + case 7: { + message.eeoText = reader.string(); + break; + } + case 8: { + message.websiteUri = reader.string(); + break; + } + case 9: { + message.careerSiteUri = reader.string(); + break; + } + case 10: { + message.imageUri = reader.string(); + break; + } + case 11: { + if (!(message.keywordSearchableJobCustomAttributes && message.keywordSearchableJobCustomAttributes.length)) + message.keywordSearchableJobCustomAttributes = []; + message.keywordSearchableJobCustomAttributes.push(reader.string()); + break; + } + case 12: { + message.derivedInfo = $root.google.cloud.talent.v4beta1.Company.DerivedInfo.decode(reader, reader.uint32()); + break; + } + case 13: { + message.suspended = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -26641,6 +28196,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Company + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.Company + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Company.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.Company"; + }; + Company.DerivedInfo = (function() { /** @@ -26733,9 +28303,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.headquartersLocation = $root.google.cloud.talent.v4beta1.Location.decode(reader, reader.uint32()); - break; + case 1: { + message.headquartersLocation = $root.google.cloud.talent.v4beta1.Location.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -26830,6 +28401,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DerivedInfo + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.Company.DerivedInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DerivedInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.Company.DerivedInfo"; + }; + return DerivedInfo; })(); @@ -26869,7 +28455,7 @@ }; /** - * Callback as used by {@link google.cloud.talent.v4beta1.CompanyService#createCompany}. + * Callback as used by {@link google.cloud.talent.v4beta1.CompanyService|createCompany}. * @memberof google.cloud.talent.v4beta1.CompanyService * @typedef CreateCompanyCallback * @type {function} @@ -26902,7 +28488,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4beta1.CompanyService#getCompany}. + * Callback as used by {@link google.cloud.talent.v4beta1.CompanyService|getCompany}. * @memberof google.cloud.talent.v4beta1.CompanyService * @typedef GetCompanyCallback * @type {function} @@ -26935,7 +28521,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4beta1.CompanyService#updateCompany}. + * Callback as used by {@link google.cloud.talent.v4beta1.CompanyService|updateCompany}. * @memberof google.cloud.talent.v4beta1.CompanyService * @typedef UpdateCompanyCallback * @type {function} @@ -26968,7 +28554,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4beta1.CompanyService#deleteCompany}. + * Callback as used by {@link google.cloud.talent.v4beta1.CompanyService|deleteCompany}. * @memberof google.cloud.talent.v4beta1.CompanyService * @typedef DeleteCompanyCallback * @type {function} @@ -27001,7 +28587,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4beta1.CompanyService#listCompanies}. + * Callback as used by {@link google.cloud.talent.v4beta1.CompanyService|listCompanies}. * @memberof google.cloud.talent.v4beta1.CompanyService * @typedef ListCompaniesCallback * @type {function} @@ -27139,12 +28725,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.company = $root.google.cloud.talent.v4beta1.Company.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.company = $root.google.cloud.talent.v4beta1.Company.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -27248,6 +28836,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateCompanyRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.CreateCompanyRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateCompanyRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.CreateCompanyRequest"; + }; + return CreateCompanyRequest; })(); @@ -27343,9 +28946,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -27435,6 +29039,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetCompanyRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.GetCompanyRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetCompanyRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.GetCompanyRequest"; + }; + return GetCompanyRequest; })(); @@ -27541,12 +29160,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.company = $root.google.cloud.talent.v4beta1.Company.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.company = $root.google.cloud.talent.v4beta1.Company.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -27655,6 +29276,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateCompanyRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.UpdateCompanyRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateCompanyRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.UpdateCompanyRequest"; + }; + return UpdateCompanyRequest; })(); @@ -27750,9 +29386,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -27842,6 +29479,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteCompanyRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.DeleteCompanyRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteCompanyRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.DeleteCompanyRequest"; + }; + return DeleteCompanyRequest; })(); @@ -27970,18 +29622,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageToken = reader.string(); - break; - case 3: - message.pageSize = reader.int32(); - break; - case 4: - message.requireOpenJobs = reader.bool(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageToken = reader.string(); + break; + } + case 3: { + message.pageSize = reader.int32(); + break; + } + case 4: { + message.requireOpenJobs = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -28096,6 +29752,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListCompaniesRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.ListCompaniesRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListCompaniesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.ListCompaniesRequest"; + }; + return ListCompaniesRequest; })(); @@ -28215,17 +29886,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.companies && message.companies.length)) - message.companies = []; - message.companies.push($root.google.cloud.talent.v4beta1.Company.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; - case 3: - message.metadata = $root.google.cloud.talent.v4beta1.ResponseMetadata.decode(reader, reader.uint32()); - break; + case 1: { + if (!(message.companies && message.companies.length)) + message.companies = []; + message.companies.push($root.google.cloud.talent.v4beta1.Company.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } + case 3: { + message.metadata = $root.google.cloud.talent.v4beta1.ResponseMetadata.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -28355,6 +30029,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListCompaniesResponse + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.ListCompaniesResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListCompaniesResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.ListCompaniesResponse"; + }; + return ListCompaniesResponse; })(); @@ -28391,7 +30080,7 @@ }; /** - * Callback as used by {@link google.cloud.talent.v4beta1.Completion#completeQuery}. + * Callback as used by {@link google.cloud.talent.v4beta1.Completion|completeQuery}. * @memberof google.cloud.talent.v4beta1.Completion * @typedef CompleteQueryCallback * @type {function} @@ -28586,29 +30275,36 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.query = reader.string(); - break; - case 3: - if (!(message.languageCodes && message.languageCodes.length)) - message.languageCodes = []; - message.languageCodes.push(reader.string()); - break; - case 4: - message.pageSize = reader.int32(); - break; - case 5: - message.company = reader.string(); - break; - case 6: - message.scope = reader.int32(); - break; - case 7: - message.type = reader.int32(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.query = reader.string(); + break; + } + case 3: { + if (!(message.languageCodes && message.languageCodes.length)) + message.languageCodes = []; + message.languageCodes.push(reader.string()); + break; + } + case 4: { + message.pageSize = reader.int32(); + break; + } + case 5: { + message.company = reader.string(); + break; + } + case 6: { + message.scope = reader.int32(); + break; + } + case 7: { + message.type = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -28801,6 +30497,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CompleteQueryRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.CompleteQueryRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CompleteQueryRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.CompleteQueryRequest"; + }; + /** * CompletionScope enum. * @name google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope @@ -28943,14 +30654,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.completionResults && message.completionResults.length)) - message.completionResults = []; - message.completionResults.push($root.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.decode(reader, reader.uint32())); - break; - case 2: - message.metadata = $root.google.cloud.talent.v4beta1.ResponseMetadata.decode(reader, reader.uint32()); - break; + case 1: { + if (!(message.completionResults && message.completionResults.length)) + message.completionResults = []; + message.completionResults.push($root.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.decode(reader, reader.uint32())); + break; + } + case 2: { + message.metadata = $root.google.cloud.talent.v4beta1.ResponseMetadata.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -29071,6 +30784,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CompleteQueryResponse + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.CompleteQueryResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CompleteQueryResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.CompleteQueryResponse"; + }; + CompleteQueryResponse.CompletionResult = (function() { /** @@ -29185,15 +30913,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.suggestion = reader.string(); - break; - case 2: - message.type = reader.int32(); - break; - case 3: - message.imageUri = reader.string(); - break; + case 1: { + message.suggestion = reader.string(); + break; + } + case 2: { + message.type = reader.int32(); + break; + } + case 3: { + message.imageUri = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -29323,6 +31054,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CompletionResult + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CompletionResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult"; + }; + return CompletionResult; })(); @@ -29490,24 +31236,30 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.requestId = reader.string(); - break; - case 2: - message.eventId = reader.string(); - break; - case 4: - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 5: - message.jobEvent = $root.google.cloud.talent.v4beta1.JobEvent.decode(reader, reader.uint32()); - break; - case 6: - message.profileEvent = $root.google.cloud.talent.v4beta1.ProfileEvent.decode(reader, reader.uint32()); - break; - case 9: - message.eventNotes = reader.string(); - break; + case 1: { + message.requestId = reader.string(); + break; + } + case 2: { + message.eventId = reader.string(); + break; + } + case 4: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 5: { + message.jobEvent = $root.google.cloud.talent.v4beta1.JobEvent.decode(reader, reader.uint32()); + break; + } + case 6: { + message.profileEvent = $root.google.cloud.talent.v4beta1.ProfileEvent.decode(reader, reader.uint32()); + break; + } + case 9: { + message.eventNotes = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -29666,6 +31418,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ClientEvent + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.ClientEvent + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ClientEvent.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.ClientEvent"; + }; + return ClientEvent; })(); @@ -29785,17 +31552,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.type = reader.int32(); - break; - case 2: - if (!(message.jobs && message.jobs.length)) - message.jobs = []; - message.jobs.push(reader.string()); - break; - case 3: - message.profile = reader.string(); - break; + case 1: { + message.type = reader.int32(); + break; + } + case 2: { + if (!(message.jobs && message.jobs.length)) + message.jobs = []; + message.jobs.push(reader.string()); + break; + } + case 3: { + message.profile = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -29998,6 +31768,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for JobEvent + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.JobEvent + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + JobEvent.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.JobEvent"; + }; + /** * JobEventType enum. * @name google.cloud.talent.v4beta1.JobEvent.JobEventType @@ -30161,19 +31946,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.type = reader.int32(); - break; - case 2: - if (!(message.profiles && message.profiles.length)) - message.profiles = []; - message.profiles.push(reader.string()); - break; - case 6: - if (!(message.jobs && message.jobs.length)) - message.jobs = []; - message.jobs.push(reader.string()); - break; + case 1: { + message.type = reader.int32(); + break; + } + case 2: { + if (!(message.profiles && message.profiles.length)) + message.profiles = []; + message.profiles.push(reader.string()); + break; + } + case 6: { + if (!(message.jobs && message.jobs.length)) + message.jobs = []; + message.jobs.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -30328,6 +32116,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ProfileEvent + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.ProfileEvent + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ProfileEvent.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.ProfileEvent"; + }; + /** * ProfileEventType enum. * @name google.cloud.talent.v4beta1.ProfileEvent.ProfileEventType @@ -30382,7 +32185,7 @@ }; /** - * Callback as used by {@link google.cloud.talent.v4beta1.EventService#createClientEvent}. + * Callback as used by {@link google.cloud.talent.v4beta1.EventService|createClientEvent}. * @memberof google.cloud.talent.v4beta1.EventService * @typedef CreateClientEventCallback * @type {function} @@ -30520,12 +32323,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.clientEvent = $root.google.cloud.talent.v4beta1.ClientEvent.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.clientEvent = $root.google.cloud.talent.v4beta1.ClientEvent.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -30629,6 +32434,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateClientEventRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.CreateClientEventRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateClientEventRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.CreateClientEventRequest"; + }; + return CreateClientEventRequest; })(); @@ -30887,72 +32707,86 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.query = reader.string(); - break; - case 14: - message.queryLanguageCode = reader.string(); - break; - case 2: - if (!(message.companies && message.companies.length)) - message.companies = []; - message.companies.push(reader.string()); - break; - case 3: - if (!(message.locationFilters && message.locationFilters.length)) - message.locationFilters = []; - message.locationFilters.push($root.google.cloud.talent.v4beta1.LocationFilter.decode(reader, reader.uint32())); - break; - case 4: - if (!(message.jobCategories && message.jobCategories.length)) - message.jobCategories = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + message.query = reader.string(); + break; + } + case 14: { + message.queryLanguageCode = reader.string(); + break; + } + case 2: { + if (!(message.companies && message.companies.length)) + message.companies = []; + message.companies.push(reader.string()); + break; + } + case 3: { + if (!(message.locationFilters && message.locationFilters.length)) + message.locationFilters = []; + message.locationFilters.push($root.google.cloud.talent.v4beta1.LocationFilter.decode(reader, reader.uint32())); + break; + } + case 4: { + if (!(message.jobCategories && message.jobCategories.length)) + message.jobCategories = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.jobCategories.push(reader.int32()); + } else message.jobCategories.push(reader.int32()); - } else - message.jobCategories.push(reader.int32()); - break; - case 5: - message.commuteFilter = $root.google.cloud.talent.v4beta1.CommuteFilter.decode(reader, reader.uint32()); - break; - case 6: - if (!(message.companyDisplayNames && message.companyDisplayNames.length)) - message.companyDisplayNames = []; - message.companyDisplayNames.push(reader.string()); - break; - case 7: - message.compensationFilter = $root.google.cloud.talent.v4beta1.CompensationFilter.decode(reader, reader.uint32()); - break; - case 8: - message.customAttributeFilter = reader.string(); - break; - case 9: - message.disableSpellCheck = reader.bool(); - break; - case 10: - if (!(message.employmentTypes && message.employmentTypes.length)) - message.employmentTypes = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + break; + } + case 5: { + message.commuteFilter = $root.google.cloud.talent.v4beta1.CommuteFilter.decode(reader, reader.uint32()); + break; + } + case 6: { + if (!(message.companyDisplayNames && message.companyDisplayNames.length)) + message.companyDisplayNames = []; + message.companyDisplayNames.push(reader.string()); + break; + } + case 7: { + message.compensationFilter = $root.google.cloud.talent.v4beta1.CompensationFilter.decode(reader, reader.uint32()); + break; + } + case 8: { + message.customAttributeFilter = reader.string(); + break; + } + case 9: { + message.disableSpellCheck = reader.bool(); + break; + } + case 10: { + if (!(message.employmentTypes && message.employmentTypes.length)) + message.employmentTypes = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.employmentTypes.push(reader.int32()); + } else message.employmentTypes.push(reader.int32()); - } else - message.employmentTypes.push(reader.int32()); - break; - case 11: - if (!(message.languageCodes && message.languageCodes.length)) - message.languageCodes = []; - message.languageCodes.push(reader.string()); - break; - case 12: - message.publishTimeRange = $root.google.cloud.talent.v4beta1.TimestampRange.decode(reader, reader.uint32()); - break; - case 13: - if (!(message.excludedJobs && message.excludedJobs.length)) - message.excludedJobs = []; - message.excludedJobs.push(reader.string()); - break; + break; + } + case 11: { + if (!(message.languageCodes && message.languageCodes.length)) + message.languageCodes = []; + message.languageCodes.push(reader.string()); + break; + } + case 12: { + message.publishTimeRange = $root.google.cloud.talent.v4beta1.TimestampRange.decode(reader, reader.uint32()); + break; + } + case 13: { + if (!(message.excludedJobs && message.excludedJobs.length)) + message.excludedJobs = []; + message.excludedJobs.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -31473,6 +33307,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for JobQuery + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.JobQuery + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + JobQuery.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.JobQuery"; + }; + return JobQuery; })(); @@ -31757,78 +33606,94 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.query = reader.string(); - break; - case 2: - if (!(message.locationFilters && message.locationFilters.length)) - message.locationFilters = []; - message.locationFilters.push($root.google.cloud.talent.v4beta1.LocationFilter.decode(reader, reader.uint32())); - break; - case 3: - if (!(message.jobTitleFilters && message.jobTitleFilters.length)) - message.jobTitleFilters = []; - message.jobTitleFilters.push($root.google.cloud.talent.v4beta1.JobTitleFilter.decode(reader, reader.uint32())); - break; - case 4: - if (!(message.employerFilters && message.employerFilters.length)) - message.employerFilters = []; - message.employerFilters.push($root.google.cloud.talent.v4beta1.EmployerFilter.decode(reader, reader.uint32())); - break; - case 5: - if (!(message.educationFilters && message.educationFilters.length)) - message.educationFilters = []; - message.educationFilters.push($root.google.cloud.talent.v4beta1.EducationFilter.decode(reader, reader.uint32())); - break; - case 6: - if (!(message.skillFilters && message.skillFilters.length)) - message.skillFilters = []; - message.skillFilters.push($root.google.cloud.talent.v4beta1.SkillFilter.decode(reader, reader.uint32())); - break; - case 7: - if (!(message.workExperienceFilter && message.workExperienceFilter.length)) - message.workExperienceFilter = []; - message.workExperienceFilter.push($root.google.cloud.talent.v4beta1.WorkExperienceFilter.decode(reader, reader.uint32())); - break; - case 8: - if (!(message.timeFilters && message.timeFilters.length)) - message.timeFilters = []; - message.timeFilters.push($root.google.cloud.talent.v4beta1.TimeFilter.decode(reader, reader.uint32())); - break; - case 9: - message.hirableFilter = $root.google.protobuf.BoolValue.decode(reader, reader.uint32()); - break; - case 10: - if (!(message.applicationDateFilters && message.applicationDateFilters.length)) - message.applicationDateFilters = []; - message.applicationDateFilters.push($root.google.cloud.talent.v4beta1.ApplicationDateFilter.decode(reader, reader.uint32())); - break; - case 11: - if (!(message.applicationOutcomeNotesFilters && message.applicationOutcomeNotesFilters.length)) - message.applicationOutcomeNotesFilters = []; - message.applicationOutcomeNotesFilters.push($root.google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter.decode(reader, reader.uint32())); - break; - case 13: - if (!(message.applicationJobFilters && message.applicationJobFilters.length)) - message.applicationJobFilters = []; - message.applicationJobFilters.push($root.google.cloud.talent.v4beta1.ApplicationJobFilter.decode(reader, reader.uint32())); - break; - case 15: - message.customAttributeFilter = reader.string(); - break; - case 16: - message.candidateAvailabilityFilter = $root.google.cloud.talent.v4beta1.CandidateAvailabilityFilter.decode(reader, reader.uint32()); - break; - case 18: - if (!(message.availabilityFilters && message.availabilityFilters.length)) - message.availabilityFilters = []; - message.availabilityFilters.push($root.google.cloud.talent.v4beta1.AvailabilityFilter.decode(reader, reader.uint32())); - break; - case 17: - if (!(message.personNameFilters && message.personNameFilters.length)) - message.personNameFilters = []; - message.personNameFilters.push($root.google.cloud.talent.v4beta1.PersonNameFilter.decode(reader, reader.uint32())); - break; + case 1: { + message.query = reader.string(); + break; + } + case 2: { + if (!(message.locationFilters && message.locationFilters.length)) + message.locationFilters = []; + message.locationFilters.push($root.google.cloud.talent.v4beta1.LocationFilter.decode(reader, reader.uint32())); + break; + } + case 3: { + if (!(message.jobTitleFilters && message.jobTitleFilters.length)) + message.jobTitleFilters = []; + message.jobTitleFilters.push($root.google.cloud.talent.v4beta1.JobTitleFilter.decode(reader, reader.uint32())); + break; + } + case 4: { + if (!(message.employerFilters && message.employerFilters.length)) + message.employerFilters = []; + message.employerFilters.push($root.google.cloud.talent.v4beta1.EmployerFilter.decode(reader, reader.uint32())); + break; + } + case 5: { + if (!(message.educationFilters && message.educationFilters.length)) + message.educationFilters = []; + message.educationFilters.push($root.google.cloud.talent.v4beta1.EducationFilter.decode(reader, reader.uint32())); + break; + } + case 6: { + if (!(message.skillFilters && message.skillFilters.length)) + message.skillFilters = []; + message.skillFilters.push($root.google.cloud.talent.v4beta1.SkillFilter.decode(reader, reader.uint32())); + break; + } + case 7: { + if (!(message.workExperienceFilter && message.workExperienceFilter.length)) + message.workExperienceFilter = []; + message.workExperienceFilter.push($root.google.cloud.talent.v4beta1.WorkExperienceFilter.decode(reader, reader.uint32())); + break; + } + case 8: { + if (!(message.timeFilters && message.timeFilters.length)) + message.timeFilters = []; + message.timeFilters.push($root.google.cloud.talent.v4beta1.TimeFilter.decode(reader, reader.uint32())); + break; + } + case 9: { + message.hirableFilter = $root.google.protobuf.BoolValue.decode(reader, reader.uint32()); + break; + } + case 10: { + if (!(message.applicationDateFilters && message.applicationDateFilters.length)) + message.applicationDateFilters = []; + message.applicationDateFilters.push($root.google.cloud.talent.v4beta1.ApplicationDateFilter.decode(reader, reader.uint32())); + break; + } + case 11: { + if (!(message.applicationOutcomeNotesFilters && message.applicationOutcomeNotesFilters.length)) + message.applicationOutcomeNotesFilters = []; + message.applicationOutcomeNotesFilters.push($root.google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter.decode(reader, reader.uint32())); + break; + } + case 13: { + if (!(message.applicationJobFilters && message.applicationJobFilters.length)) + message.applicationJobFilters = []; + message.applicationJobFilters.push($root.google.cloud.talent.v4beta1.ApplicationJobFilter.decode(reader, reader.uint32())); + break; + } + case 15: { + message.customAttributeFilter = reader.string(); + break; + } + case 16: { + message.candidateAvailabilityFilter = $root.google.cloud.talent.v4beta1.CandidateAvailabilityFilter.decode(reader, reader.uint32()); + break; + } + case 18: { + if (!(message.availabilityFilters && message.availabilityFilters.length)) + message.availabilityFilters = []; + message.availabilityFilters.push($root.google.cloud.talent.v4beta1.AvailabilityFilter.decode(reader, reader.uint32())); + break; + } + case 17: { + if (!(message.personNameFilters && message.personNameFilters.length)) + message.personNameFilters = []; + message.personNameFilters.push($root.google.cloud.talent.v4beta1.PersonNameFilter.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -32255,6 +34120,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ProfileQuery + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.ProfileQuery + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ProfileQuery.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.ProfileQuery"; + }; + return ProfileQuery; })(); @@ -32405,24 +34285,30 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.regionCode = reader.string(); - break; - case 3: - message.latLng = $root.google.type.LatLng.decode(reader, reader.uint32()); - break; - case 4: - message.distanceInMiles = reader.double(); - break; - case 5: - message.telecommutePreference = reader.int32(); - break; - case 6: - message.negated = reader.bool(); - break; + case 1: { + message.address = reader.string(); + break; + } + case 2: { + message.regionCode = reader.string(); + break; + } + case 3: { + message.latLng = $root.google.type.LatLng.decode(reader, reader.uint32()); + break; + } + case 4: { + message.distanceInMiles = reader.double(); + break; + } + case 5: { + message.telecommutePreference = reader.int32(); + break; + } + case 6: { + message.negated = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -32576,6 +34462,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for LocationFilter + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.LocationFilter + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + LocationFilter.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.LocationFilter"; + }; + /** * TelecommutePreference enum. * @name google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference @@ -32725,25 +34626,29 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.type = reader.int32(); - break; - case 2: - if (!(message.units && message.units.length)) - message.units = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + message.type = reader.int32(); + break; + } + case 2: { + if (!(message.units && message.units.length)) + message.units = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.units.push(reader.int32()); + } else message.units.push(reader.int32()); - } else - message.units.push(reader.int32()); - break; - case 3: - message.range = $root.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.decode(reader, reader.uint32()); - break; - case 4: - message.includeJobsWithUnspecifiedCompensationRange = reader.bool(); - break; + break; + } + case 3: { + message.range = $root.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.decode(reader, reader.uint32()); + break; + } + case 4: { + message.includeJobsWithUnspecifiedCompensationRange = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -32949,6 +34854,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CompensationFilter + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.CompensationFilter + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CompensationFilter.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.CompensationFilter"; + }; + /** * FilterType enum. * @name google.cloud.talent.v4beta1.CompensationFilter.FilterType @@ -33133,24 +35053,30 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.commuteMethod = reader.int32(); - break; - case 2: - message.startCoordinates = $root.google.type.LatLng.decode(reader, reader.uint32()); - break; - case 3: - message.travelDuration = $root.google.protobuf.Duration.decode(reader, reader.uint32()); - break; - case 4: - message.allowImpreciseAddresses = reader.bool(); - break; - case 5: - message.roadTraffic = reader.int32(); - break; - case 6: - message.departureTime = $root.google.type.TimeOfDay.decode(reader, reader.uint32()); - break; + case 1: { + message.commuteMethod = reader.int32(); + break; + } + case 2: { + message.startCoordinates = $root.google.type.LatLng.decode(reader, reader.uint32()); + break; + } + case 3: { + message.travelDuration = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + break; + } + case 4: { + message.allowImpreciseAddresses = reader.bool(); + break; + } + case 5: { + message.roadTraffic = reader.int32(); + break; + } + case 6: { + message.departureTime = $root.google.type.TimeOfDay.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -33354,6 +35280,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CommuteFilter + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.CommuteFilter + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CommuteFilter.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.CommuteFilter"; + }; + /** * RoadTraffic enum. * @name google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic @@ -33476,12 +35417,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.jobTitle = reader.string(); - break; - case 2: - message.negated = reader.bool(); - break; + case 1: { + message.jobTitle = reader.string(); + break; + } + case 2: { + message.negated = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -33580,6 +35523,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for JobTitleFilter + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.JobTitleFilter + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + JobTitleFilter.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.JobTitleFilter"; + }; + return JobTitleFilter; })(); @@ -33686,12 +35644,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.skill = reader.string(); - break; - case 2: - message.negated = reader.bool(); - break; + case 1: { + message.skill = reader.string(); + break; + } + case 2: { + message.negated = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -33790,6 +35750,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SkillFilter + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.SkillFilter + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SkillFilter.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.SkillFilter"; + }; + return SkillFilter; })(); @@ -33907,15 +35882,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.employer = reader.string(); - break; - case 2: - message.mode = reader.int32(); - break; - case 3: - message.negated = reader.bool(); - break; + case 1: { + message.employer = reader.string(); + break; + } + case 2: { + message.mode = reader.int32(); + break; + } + case 3: { + message.negated = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -34045,6 +36023,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for EmployerFilter + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.EmployerFilter + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EmployerFilter.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.EmployerFilter"; + }; + /** * EmployerFilterMode enum. * @name google.cloud.talent.v4beta1.EmployerFilter.EmployerFilterMode @@ -34191,18 +36184,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.school = reader.string(); - break; - case 2: - message.fieldOfStudy = reader.string(); - break; - case 3: - message.degreeType = reader.int32(); - break; - case 6: - message.negated = reader.bool(); - break; + case 1: { + message.school = reader.string(); + break; + } + case 2: { + message.fieldOfStudy = reader.string(); + break; + } + case 3: { + message.degreeType = reader.int32(); + break; + } + case 6: { + message.negated = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -34365,6 +36362,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for EducationFilter + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.EducationFilter + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EducationFilter.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.EducationFilter"; + }; + return EducationFilter; })(); @@ -34471,12 +36483,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.minExperience = $root.google.protobuf.Duration.decode(reader, reader.uint32()); - break; - case 2: - message.maxExperience = $root.google.protobuf.Duration.decode(reader, reader.uint32()); - break; + case 1: { + message.minExperience = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + break; + } + case 2: { + message.maxExperience = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -34585,6 +36599,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for WorkExperienceFilter + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.WorkExperienceFilter + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + WorkExperienceFilter.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.WorkExperienceFilter"; + }; + return WorkExperienceFilter; })(); @@ -34691,12 +36720,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.startDate = $root.google.type.Date.decode(reader, reader.uint32()); - break; - case 2: - message.endDate = $root.google.type.Date.decode(reader, reader.uint32()); - break; + case 1: { + message.startDate = $root.google.type.Date.decode(reader, reader.uint32()); + break; + } + case 2: { + message.endDate = $root.google.type.Date.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -34805,6 +36836,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ApplicationDateFilter + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.ApplicationDateFilter + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ApplicationDateFilter.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.ApplicationDateFilter"; + }; + return ApplicationDateFilter; })(); @@ -34911,12 +36957,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.outcomeNotes = reader.string(); - break; - case 2: - message.negated = reader.bool(); - break; + case 1: { + message.outcomeNotes = reader.string(); + break; + } + case 2: { + message.negated = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -35015,6 +37063,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ApplicationOutcomeNotesFilter + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ApplicationOutcomeNotesFilter.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter"; + }; + return ApplicationOutcomeNotesFilter; })(); @@ -35132,15 +37195,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 2: - message.jobRequisitionId = reader.string(); - break; - case 3: - message.jobTitle = reader.string(); - break; - case 4: - message.negated = reader.bool(); - break; + case 2: { + message.jobRequisitionId = reader.string(); + break; + } + case 3: { + message.jobTitle = reader.string(); + break; + } + case 4: { + message.negated = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -35247,6 +37313,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ApplicationJobFilter + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.ApplicationJobFilter + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ApplicationJobFilter.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.ApplicationJobFilter"; + }; + return ApplicationJobFilter; })(); @@ -35364,15 +37445,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.startTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 2: - message.endTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 3: - message.timeField = reader.int32(); - break; + case 1: { + message.startTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 2: { + message.endTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 3: { + message.timeField = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -35507,6 +37591,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for TimeFilter + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.TimeFilter + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TimeFilter.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.TimeFilter"; + }; + /** * TimeField enum. * @name google.cloud.talent.v4beta1.TimeFilter.TimeField @@ -35618,9 +37717,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.negated = reader.bool(); - break; + case 1: { + message.negated = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -35710,6 +37810,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CandidateAvailabilityFilter + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.CandidateAvailabilityFilter + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CandidateAvailabilityFilter.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.CandidateAvailabilityFilter"; + }; + return CandidateAvailabilityFilter; })(); @@ -35827,15 +37942,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.signalType = reader.int32(); - break; - case 2: - message.range = $root.google.cloud.talent.v4beta1.TimestampRange.decode(reader, reader.uint32()); - break; - case 3: - message.required = reader.bool(); - break; + case 1: { + message.signalType = reader.int32(); + break; + } + case 2: { + message.range = $root.google.cloud.talent.v4beta1.TimestampRange.decode(reader, reader.uint32()); + break; + } + case 3: { + message.required = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -35975,6 +38093,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for AvailabilityFilter + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.AvailabilityFilter + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AvailabilityFilter.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.AvailabilityFilter"; + }; + return AvailabilityFilter; })(); @@ -36070,9 +38203,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.personName = reader.string(); - break; + case 1: { + message.personName = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -36162,6 +38296,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for PersonNameFilter + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.PersonNameFilter + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + PersonNameFilter.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.PersonNameFilter"; + }; + return PersonNameFilter; })(); @@ -36257,9 +38406,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.histogramQuery = reader.string(); - break; + case 1: { + message.histogramQuery = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -36349,6 +38499,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for HistogramQuery + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.HistogramQuery + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + HistogramQuery.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.HistogramQuery"; + }; + return HistogramQuery; })(); @@ -36457,31 +38622,33 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.histogramQuery = reader.string(); - break; - case 2: - if (message.histogram === $util.emptyObject) - message.histogram = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = 0; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.int64(); - break; - default: - reader.skipType(tag2 & 7); - break; + case 1: { + message.histogramQuery = reader.string(); + break; + } + case 2: { + if (message.histogram === $util.emptyObject) + message.histogram = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = 0; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = reader.int64(); + break; + default: + reader.skipType(tag2 & 7); + break; + } } + message.histogram[key] = value; + break; } - message.histogram[key] = value; - break; default: reader.skipType(tag & 7); break; @@ -36604,6 +38771,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for HistogramQueryResult + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.HistogramQueryResult + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + HistogramQueryResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.HistogramQueryResult"; + }; + return HistogramQueryResult; })(); @@ -37039,138 +39221,168 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.company = reader.string(); - break; - case 3: - message.requisitionId = reader.string(); - break; - case 4: - message.title = reader.string(); - break; - case 5: - message.description = reader.string(); - break; - case 6: - if (!(message.addresses && message.addresses.length)) - message.addresses = []; - message.addresses.push(reader.string()); - break; - case 7: - message.applicationInfo = $root.google.cloud.talent.v4beta1.Job.ApplicationInfo.decode(reader, reader.uint32()); - break; - case 8: - if (!(message.jobBenefits && message.jobBenefits.length)) - message.jobBenefits = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.company = reader.string(); + break; + } + case 3: { + message.requisitionId = reader.string(); + break; + } + case 4: { + message.title = reader.string(); + break; + } + case 5: { + message.description = reader.string(); + break; + } + case 6: { + if (!(message.addresses && message.addresses.length)) + message.addresses = []; + message.addresses.push(reader.string()); + break; + } + case 7: { + message.applicationInfo = $root.google.cloud.talent.v4beta1.Job.ApplicationInfo.decode(reader, reader.uint32()); + break; + } + case 8: { + if (!(message.jobBenefits && message.jobBenefits.length)) + message.jobBenefits = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.jobBenefits.push(reader.int32()); + } else message.jobBenefits.push(reader.int32()); - } else - message.jobBenefits.push(reader.int32()); - break; - case 9: - message.compensationInfo = $root.google.cloud.talent.v4beta1.CompensationInfo.decode(reader, reader.uint32()); - break; - case 10: - if (message.customAttributes === $util.emptyObject) - message.customAttributes = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = null; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = $root.google.cloud.talent.v4beta1.CustomAttribute.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag2 & 7); - break; - } + break; } - message.customAttributes[key] = value; - break; - case 11: - if (!(message.degreeTypes && message.degreeTypes.length)) - message.degreeTypes = []; - if ((tag & 7) === 2) { + case 9: { + message.compensationInfo = $root.google.cloud.talent.v4beta1.CompensationInfo.decode(reader, reader.uint32()); + break; + } + case 10: { + if (message.customAttributes === $util.emptyObject) + message.customAttributes = {}; var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + key = ""; + value = null; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = $root.google.cloud.talent.v4beta1.CustomAttribute.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag2 & 7); + break; + } + } + message.customAttributes[key] = value; + break; + } + case 11: { + if (!(message.degreeTypes && message.degreeTypes.length)) + message.degreeTypes = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.degreeTypes.push(reader.int32()); + } else message.degreeTypes.push(reader.int32()); - } else - message.degreeTypes.push(reader.int32()); - break; - case 12: - message.department = reader.string(); - break; - case 13: - if (!(message.employmentTypes && message.employmentTypes.length)) - message.employmentTypes = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + break; + } + case 12: { + message.department = reader.string(); + break; + } + case 13: { + if (!(message.employmentTypes && message.employmentTypes.length)) + message.employmentTypes = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.employmentTypes.push(reader.int32()); + } else message.employmentTypes.push(reader.int32()); - } else - message.employmentTypes.push(reader.int32()); - break; - case 14: - message.incentives = reader.string(); - break; - case 15: - message.languageCode = reader.string(); - break; - case 16: - message.jobLevel = reader.int32(); - break; - case 17: - message.promotionValue = reader.int32(); - break; - case 18: - message.qualifications = reader.string(); - break; - case 19: - message.responsibilities = reader.string(); - break; - case 20: - message.postingRegion = reader.int32(); - break; - case 21: - message.visibility = reader.int32(); - break; - case 22: - message.jobStartTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 23: - message.jobEndTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 24: - message.postingPublishTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 25: - message.postingExpireTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 26: - message.postingCreateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 27: - message.postingUpdateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 28: - message.companyDisplayName = reader.string(); - break; - case 29: - message.derivedInfo = $root.google.cloud.talent.v4beta1.Job.DerivedInfo.decode(reader, reader.uint32()); - break; - case 30: - message.processingOptions = $root.google.cloud.talent.v4beta1.Job.ProcessingOptions.decode(reader, reader.uint32()); - break; + break; + } + case 14: { + message.incentives = reader.string(); + break; + } + case 15: { + message.languageCode = reader.string(); + break; + } + case 16: { + message.jobLevel = reader.int32(); + break; + } + case 17: { + message.promotionValue = reader.int32(); + break; + } + case 18: { + message.qualifications = reader.string(); + break; + } + case 19: { + message.responsibilities = reader.string(); + break; + } + case 20: { + message.postingRegion = reader.int32(); + break; + } + case 21: { + message.visibility = reader.int32(); + break; + } + case 22: { + message.jobStartTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 23: { + message.jobEndTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 24: { + message.postingPublishTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 25: { + message.postingExpireTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 26: { + message.postingCreateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 27: { + message.postingUpdateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 28: { + message.companyDisplayName = reader.string(); + break; + } + case 29: { + message.derivedInfo = $root.google.cloud.talent.v4beta1.Job.DerivedInfo.decode(reader, reader.uint32()); + break; + } + case 30: { + message.processingOptions = $root.google.cloud.talent.v4beta1.Job.ProcessingOptions.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -37867,6 +40079,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Job + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.Job + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Job.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.Job"; + }; + Job.ApplicationInfo = (function() { /** @@ -37985,19 +40212,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.emails && message.emails.length)) - message.emails = []; - message.emails.push(reader.string()); - break; - case 2: - message.instruction = reader.string(); - break; - case 3: - if (!(message.uris && message.uris.length)) - message.uris = []; - message.uris.push(reader.string()); - break; + case 1: { + if (!(message.emails && message.emails.length)) + message.emails = []; + message.emails.push(reader.string()); + break; + } + case 2: { + message.instruction = reader.string(); + break; + } + case 3: { + if (!(message.uris && message.uris.length)) + message.uris = []; + message.uris.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -38129,6 +40359,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ApplicationInfo + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.Job.ApplicationInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ApplicationInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.Job.ApplicationInfo"; + }; + return ApplicationInfo; })(); @@ -38242,21 +40487,23 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.locations && message.locations.length)) - message.locations = []; - message.locations.push($root.google.cloud.talent.v4beta1.Location.decode(reader, reader.uint32())); - break; - case 3: - if (!(message.jobCategories && message.jobCategories.length)) - message.jobCategories = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + if (!(message.locations && message.locations.length)) + message.locations = []; + message.locations.push($root.google.cloud.talent.v4beta1.Location.decode(reader, reader.uint32())); + break; + } + case 3: { + if (!(message.jobCategories && message.jobCategories.length)) + message.jobCategories = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.jobCategories.push(reader.int32()); + } else message.jobCategories.push(reader.int32()); - } else - message.jobCategories.push(reader.int32()); - break; + break; + } default: reader.skipType(tag & 7); break; @@ -38544,6 +40791,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DerivedInfo + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.Job.DerivedInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DerivedInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.Job.DerivedInfo"; + }; + return DerivedInfo; })(); @@ -38650,12 +40912,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.disableStreetAddressResolution = reader.bool(); - break; - case 2: - message.htmlSanitization = reader.int32(); - break; + case 1: { + message.disableStreetAddressResolution = reader.bool(); + break; + } + case 2: { + message.htmlSanitization = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -38772,6 +41036,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ProcessingOptions + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.Job.ProcessingOptions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ProcessingOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.Job.ProcessingOptions"; + }; + return ProcessingOptions; })(); @@ -38811,7 +41090,7 @@ }; /** - * Callback as used by {@link google.cloud.talent.v4beta1.JobService#createJob}. + * Callback as used by {@link google.cloud.talent.v4beta1.JobService|createJob}. * @memberof google.cloud.talent.v4beta1.JobService * @typedef CreateJobCallback * @type {function} @@ -38844,7 +41123,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4beta1.JobService#batchCreateJobs}. + * Callback as used by {@link google.cloud.talent.v4beta1.JobService|batchCreateJobs}. * @memberof google.cloud.talent.v4beta1.JobService * @typedef BatchCreateJobsCallback * @type {function} @@ -38877,7 +41156,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4beta1.JobService#getJob}. + * Callback as used by {@link google.cloud.talent.v4beta1.JobService|getJob}. * @memberof google.cloud.talent.v4beta1.JobService * @typedef GetJobCallback * @type {function} @@ -38910,7 +41189,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4beta1.JobService#updateJob}. + * Callback as used by {@link google.cloud.talent.v4beta1.JobService|updateJob}. * @memberof google.cloud.talent.v4beta1.JobService * @typedef UpdateJobCallback * @type {function} @@ -38943,7 +41222,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4beta1.JobService#batchUpdateJobs}. + * Callback as used by {@link google.cloud.talent.v4beta1.JobService|batchUpdateJobs}. * @memberof google.cloud.talent.v4beta1.JobService * @typedef BatchUpdateJobsCallback * @type {function} @@ -38976,7 +41255,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4beta1.JobService#deleteJob}. + * Callback as used by {@link google.cloud.talent.v4beta1.JobService|deleteJob}. * @memberof google.cloud.talent.v4beta1.JobService * @typedef DeleteJobCallback * @type {function} @@ -39009,7 +41288,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4beta1.JobService#batchDeleteJobs}. + * Callback as used by {@link google.cloud.talent.v4beta1.JobService|batchDeleteJobs}. * @memberof google.cloud.talent.v4beta1.JobService * @typedef BatchDeleteJobsCallback * @type {function} @@ -39042,7 +41321,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4beta1.JobService#listJobs}. + * Callback as used by {@link google.cloud.talent.v4beta1.JobService|listJobs}. * @memberof google.cloud.talent.v4beta1.JobService * @typedef ListJobsCallback * @type {function} @@ -39075,7 +41354,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4beta1.JobService#searchJobs}. + * Callback as used by {@link google.cloud.talent.v4beta1.JobService|searchJobs}. * @memberof google.cloud.talent.v4beta1.JobService * @typedef SearchJobsCallback * @type {function} @@ -39108,7 +41387,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4beta1.JobService#searchJobsForAlert}. + * Callback as used by {@link google.cloud.talent.v4beta1.JobService|searchJobsForAlert}. * @memberof google.cloud.talent.v4beta1.JobService * @typedef SearchJobsForAlertCallback * @type {function} @@ -39246,12 +41525,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.job = $root.google.cloud.talent.v4beta1.Job.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.job = $root.google.cloud.talent.v4beta1.Job.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -39355,6 +41636,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateJobRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.CreateJobRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateJobRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.CreateJobRequest"; + }; + return CreateJobRequest; })(); @@ -39450,9 +41746,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -39542,6 +41839,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetJobRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.GetJobRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetJobRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.GetJobRequest"; + }; + return GetJobRequest; })(); @@ -39648,12 +41960,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.job = $root.google.cloud.talent.v4beta1.Job.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.job = $root.google.cloud.talent.v4beta1.Job.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -39762,6 +42076,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateJobRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.UpdateJobRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateJobRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.UpdateJobRequest"; + }; + return UpdateJobRequest; })(); @@ -39857,9 +42186,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -39949,6 +42279,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteJobRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.DeleteJobRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteJobRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.DeleteJobRequest"; + }; + return DeleteJobRequest; })(); @@ -40055,12 +42400,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.filter = reader.string(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.filter = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -40159,6 +42506,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchDeleteJobsRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.BatchDeleteJobsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchDeleteJobsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.BatchDeleteJobsRequest"; + }; + return BatchDeleteJobsRequest; })(); @@ -40298,21 +42660,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.filter = reader.string(); - break; - case 3: - message.pageToken = reader.string(); - break; - case 4: - message.pageSize = reader.int32(); - break; - case 5: - message.jobView = reader.int32(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.filter = reader.string(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } + case 4: { + message.pageSize = reader.int32(); + break; + } + case 5: { + message.jobView = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -40463,6 +42830,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListJobsRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.ListJobsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListJobsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.ListJobsRequest"; + }; + return ListJobsRequest; })(); @@ -40602,17 +42984,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.jobs && message.jobs.length)) - message.jobs = []; - message.jobs.push($root.google.cloud.talent.v4beta1.Job.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; - case 3: - message.metadata = $root.google.cloud.talent.v4beta1.ResponseMetadata.decode(reader, reader.uint32()); - break; + case 1: { + if (!(message.jobs && message.jobs.length)) + message.jobs = []; + message.jobs.push($root.google.cloud.talent.v4beta1.Job.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } + case 3: { + message.metadata = $root.google.cloud.talent.v4beta1.ResponseMetadata.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -40742,6 +43127,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListJobsResponse + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.ListJobsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListJobsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.ListJobsResponse"; + }; + return ListJobsResponse; })(); @@ -40993,53 +43393,68 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.searchMode = reader.int32(); - break; - case 3: - message.requestMetadata = $root.google.cloud.talent.v4beta1.RequestMetadata.decode(reader, reader.uint32()); - break; - case 4: - message.jobQuery = $root.google.cloud.talent.v4beta1.JobQuery.decode(reader, reader.uint32()); - break; - case 5: - message.enableBroadening = reader.bool(); - break; - case 6: - message.requirePreciseResultSize = reader.bool(); - break; - case 7: - if (!(message.histogramQueries && message.histogramQueries.length)) - message.histogramQueries = []; - message.histogramQueries.push($root.google.cloud.talent.v4beta1.HistogramQuery.decode(reader, reader.uint32())); - break; - case 8: - message.jobView = reader.int32(); - break; - case 9: - message.offset = reader.int32(); - break; - case 10: - message.pageSize = reader.int32(); - break; - case 11: - message.pageToken = reader.string(); - break; - case 12: - message.orderBy = reader.string(); - break; - case 13: - message.diversificationLevel = reader.int32(); - break; - case 14: - message.customRankingInfo = $root.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.decode(reader, reader.uint32()); - break; - case 16: - message.disableKeywordMatch = reader.bool(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.searchMode = reader.int32(); + break; + } + case 3: { + message.requestMetadata = $root.google.cloud.talent.v4beta1.RequestMetadata.decode(reader, reader.uint32()); + break; + } + case 4: { + message.jobQuery = $root.google.cloud.talent.v4beta1.JobQuery.decode(reader, reader.uint32()); + break; + } + case 5: { + message.enableBroadening = reader.bool(); + break; + } + case 6: { + message.requirePreciseResultSize = reader.bool(); + break; + } + case 7: { + if (!(message.histogramQueries && message.histogramQueries.length)) + message.histogramQueries = []; + message.histogramQueries.push($root.google.cloud.talent.v4beta1.HistogramQuery.decode(reader, reader.uint32())); + break; + } + case 8: { + message.jobView = reader.int32(); + break; + } + case 9: { + message.offset = reader.int32(); + break; + } + case 10: { + message.pageSize = reader.int32(); + break; + } + case 11: { + message.pageToken = reader.string(); + break; + } + case 12: { + message.orderBy = reader.string(); + break; + } + case 13: { + message.diversificationLevel = reader.int32(); + break; + } + case 14: { + message.customRankingInfo = $root.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.decode(reader, reader.uint32()); + break; + } + case 16: { + message.disableKeywordMatch = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -41339,6 +43754,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SearchJobsRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.SearchJobsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SearchJobsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.SearchJobsRequest"; + }; + SearchJobsRequest.CustomRankingInfo = (function() { /** @@ -41442,12 +43872,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.importanceLevel = reader.int32(); - break; - case 2: - message.rankingExpression = reader.string(); - break; + case 1: { + message.importanceLevel = reader.int32(); + break; + } + case 2: { + message.rankingExpression = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -41584,6 +44016,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CustomRankingInfo + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CustomRankingInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo"; + }; + /** * ImportanceLevel enum. * @name google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel @@ -41832,39 +44279,48 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.matchingJobs && message.matchingJobs.length)) - message.matchingJobs = []; - message.matchingJobs.push($root.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.decode(reader, reader.uint32())); - break; - case 2: - if (!(message.histogramQueryResults && message.histogramQueryResults.length)) - message.histogramQueryResults = []; - message.histogramQueryResults.push($root.google.cloud.talent.v4beta1.HistogramQueryResult.decode(reader, reader.uint32())); - break; - case 3: - message.nextPageToken = reader.string(); - break; - case 4: - if (!(message.locationFilters && message.locationFilters.length)) - message.locationFilters = []; - message.locationFilters.push($root.google.cloud.talent.v4beta1.Location.decode(reader, reader.uint32())); - break; - case 5: - message.estimatedTotalSize = reader.int32(); - break; - case 6: - message.totalSize = reader.int32(); - break; - case 7: - message.metadata = $root.google.cloud.talent.v4beta1.ResponseMetadata.decode(reader, reader.uint32()); - break; - case 8: - message.broadenedQueryJobsCount = reader.int32(); - break; - case 9: - message.spellCorrection = $root.google.cloud.talent.v4beta1.SpellingCorrection.decode(reader, reader.uint32()); - break; + case 1: { + if (!(message.matchingJobs && message.matchingJobs.length)) + message.matchingJobs = []; + message.matchingJobs.push($root.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.decode(reader, reader.uint32())); + break; + } + case 2: { + if (!(message.histogramQueryResults && message.histogramQueryResults.length)) + message.histogramQueryResults = []; + message.histogramQueryResults.push($root.google.cloud.talent.v4beta1.HistogramQueryResult.decode(reader, reader.uint32())); + break; + } + case 3: { + message.nextPageToken = reader.string(); + break; + } + case 4: { + if (!(message.locationFilters && message.locationFilters.length)) + message.locationFilters = []; + message.locationFilters.push($root.google.cloud.talent.v4beta1.Location.decode(reader, reader.uint32())); + break; + } + case 5: { + message.estimatedTotalSize = reader.int32(); + break; + } + case 6: { + message.totalSize = reader.int32(); + break; + } + case 7: { + message.metadata = $root.google.cloud.talent.v4beta1.ResponseMetadata.decode(reader, reader.uint32()); + break; + } + case 8: { + message.broadenedQueryJobsCount = reader.int32(); + break; + } + case 9: { + message.spellCorrection = $root.google.cloud.talent.v4beta1.SpellingCorrection.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -42082,6 +44538,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SearchJobsResponse + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.SearchJobsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SearchJobsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.SearchJobsResponse"; + }; + SearchJobsResponse.MatchingJob = (function() { /** @@ -42218,21 +44689,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.job = $root.google.cloud.talent.v4beta1.Job.decode(reader, reader.uint32()); - break; - case 2: - message.jobSummary = reader.string(); - break; - case 3: - message.jobTitleSnippet = reader.string(); - break; - case 4: - message.searchTextSnippet = reader.string(); - break; - case 5: - message.commuteInfo = $root.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.decode(reader, reader.uint32()); - break; + case 1: { + message.job = $root.google.cloud.talent.v4beta1.Job.decode(reader, reader.uint32()); + break; + } + case 2: { + message.jobSummary = reader.string(); + break; + } + case 3: { + message.jobTitleSnippet = reader.string(); + break; + } + case 4: { + message.searchTextSnippet = reader.string(); + break; + } + case 5: { + message.commuteInfo = $root.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -42365,6 +44841,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for MatchingJob + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + MatchingJob.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob"; + }; + return MatchingJob; })(); @@ -42471,12 +44962,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.jobLocation = $root.google.cloud.talent.v4beta1.Location.decode(reader, reader.uint32()); - break; - case 2: - message.travelDuration = $root.google.protobuf.Duration.decode(reader, reader.uint32()); - break; + case 1: { + message.jobLocation = $root.google.cloud.talent.v4beta1.Location.decode(reader, reader.uint32()); + break; + } + case 2: { + message.travelDuration = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -42585,6 +45078,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CommuteInfo + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CommuteInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo"; + }; + return CommuteInfo; })(); @@ -42696,14 +45204,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - if (!(message.jobs && message.jobs.length)) - message.jobs = []; - message.jobs.push($root.google.cloud.talent.v4beta1.Job.decode(reader, reader.uint32())); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + if (!(message.jobs && message.jobs.length)) + message.jobs = []; + message.jobs.push($root.google.cloud.talent.v4beta1.Job.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -42819,6 +45329,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchCreateJobsRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.BatchCreateJobsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchCreateJobsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.BatchCreateJobsRequest"; + }; + return BatchCreateJobsRequest; })(); @@ -42938,17 +45463,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - if (!(message.jobs && message.jobs.length)) - message.jobs = []; - message.jobs.push($root.google.cloud.talent.v4beta1.Job.decode(reader, reader.uint32())); - break; - case 3: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + if (!(message.jobs && message.jobs.length)) + message.jobs = []; + message.jobs.push($root.google.cloud.talent.v4beta1.Job.decode(reader, reader.uint32())); + break; + } + case 3: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -43078,6 +45606,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BatchUpdateJobsRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.BatchUpdateJobsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BatchUpdateJobsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.BatchUpdateJobsRequest"; + }; + return BatchUpdateJobsRequest; })(); @@ -43175,11 +45718,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.jobResults && message.jobResults.length)) - message.jobResults = []; - message.jobResults.push($root.google.cloud.talent.v4beta1.JobOperationResult.JobResult.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.jobResults && message.jobResults.length)) + message.jobResults = []; + message.jobResults.push($root.google.cloud.talent.v4beta1.JobOperationResult.JobResult.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -43286,6 +45830,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for JobOperationResult + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.JobOperationResult + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + JobOperationResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.JobOperationResult"; + }; + JobOperationResult.JobResult = (function() { /** @@ -43389,12 +45948,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.job = $root.google.cloud.talent.v4beta1.Job.decode(reader, reader.uint32()); - break; - case 2: - message.status = $root.google.rpc.Status.decode(reader, reader.uint32()); - break; + case 1: { + message.job = $root.google.cloud.talent.v4beta1.Job.decode(reader, reader.uint32()); + break; + } + case 2: { + message.status = $root.google.rpc.Status.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -43503,6 +46064,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for JobResult + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.JobOperationResult.JobResult + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + JobResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.JobOperationResult.JobResult"; + }; + return JobResult; })(); @@ -43969,152 +46545,183 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.externalId = reader.string(); - break; - case 3: - message.source = reader.string(); - break; - case 4: - message.uri = reader.string(); - break; - case 5: - message.groupId = reader.string(); - break; - case 6: - message.isHirable = $root.google.protobuf.BoolValue.decode(reader, reader.uint32()); - break; - case 7: - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 8: - message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 67: - message.candidateUpdateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 68: - message.resumeUpdateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 53: - message.resume = $root.google.cloud.talent.v4beta1.Resume.decode(reader, reader.uint32()); - break; - case 11: - if (!(message.personNames && message.personNames.length)) - message.personNames = []; - message.personNames.push($root.google.cloud.talent.v4beta1.PersonName.decode(reader, reader.uint32())); - break; - case 12: - if (!(message.addresses && message.addresses.length)) - message.addresses = []; - message.addresses.push($root.google.cloud.talent.v4beta1.Address.decode(reader, reader.uint32())); - break; - case 13: - if (!(message.emailAddresses && message.emailAddresses.length)) - message.emailAddresses = []; - message.emailAddresses.push($root.google.cloud.talent.v4beta1.Email.decode(reader, reader.uint32())); - break; - case 14: - if (!(message.phoneNumbers && message.phoneNumbers.length)) - message.phoneNumbers = []; - message.phoneNumbers.push($root.google.cloud.talent.v4beta1.Phone.decode(reader, reader.uint32())); - break; - case 15: - if (!(message.personalUris && message.personalUris.length)) - message.personalUris = []; - message.personalUris.push($root.google.cloud.talent.v4beta1.PersonalUri.decode(reader, reader.uint32())); - break; - case 16: - if (!(message.additionalContactInfo && message.additionalContactInfo.length)) - message.additionalContactInfo = []; - message.additionalContactInfo.push($root.google.cloud.talent.v4beta1.AdditionalContactInfo.decode(reader, reader.uint32())); - break; - case 17: - if (!(message.employmentRecords && message.employmentRecords.length)) - message.employmentRecords = []; - message.employmentRecords.push($root.google.cloud.talent.v4beta1.EmploymentRecord.decode(reader, reader.uint32())); - break; - case 18: - if (!(message.educationRecords && message.educationRecords.length)) - message.educationRecords = []; - message.educationRecords.push($root.google.cloud.talent.v4beta1.EducationRecord.decode(reader, reader.uint32())); - break; - case 19: - if (!(message.skills && message.skills.length)) - message.skills = []; - message.skills.push($root.google.cloud.talent.v4beta1.Skill.decode(reader, reader.uint32())); - break; - case 20: - if (!(message.activities && message.activities.length)) - message.activities = []; - message.activities.push($root.google.cloud.talent.v4beta1.Activity.decode(reader, reader.uint32())); - break; - case 21: - if (!(message.publications && message.publications.length)) - message.publications = []; - message.publications.push($root.google.cloud.talent.v4beta1.Publication.decode(reader, reader.uint32())); - break; - case 22: - if (!(message.patents && message.patents.length)) - message.patents = []; - message.patents.push($root.google.cloud.talent.v4beta1.Patent.decode(reader, reader.uint32())); - break; - case 23: - if (!(message.certifications && message.certifications.length)) - message.certifications = []; - message.certifications.push($root.google.cloud.talent.v4beta1.Certification.decode(reader, reader.uint32())); - break; - case 47: - if (!(message.applications && message.applications.length)) - message.applications = []; - message.applications.push(reader.string()); - break; - case 48: - if (!(message.assignments && message.assignments.length)) - message.assignments = []; - message.assignments.push(reader.string()); - break; - case 26: - if (message.customAttributes === $util.emptyObject) - message.customAttributes = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = null; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = $root.google.cloud.talent.v4beta1.CustomAttribute.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag2 & 7); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.externalId = reader.string(); + break; + } + case 3: { + message.source = reader.string(); + break; + } + case 4: { + message.uri = reader.string(); + break; + } + case 5: { + message.groupId = reader.string(); + break; + } + case 6: { + message.isHirable = $root.google.protobuf.BoolValue.decode(reader, reader.uint32()); + break; + } + case 7: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 8: { + message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 67: { + message.candidateUpdateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 68: { + message.resumeUpdateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 53: { + message.resume = $root.google.cloud.talent.v4beta1.Resume.decode(reader, reader.uint32()); + break; + } + case 11: { + if (!(message.personNames && message.personNames.length)) + message.personNames = []; + message.personNames.push($root.google.cloud.talent.v4beta1.PersonName.decode(reader, reader.uint32())); + break; + } + case 12: { + if (!(message.addresses && message.addresses.length)) + message.addresses = []; + message.addresses.push($root.google.cloud.talent.v4beta1.Address.decode(reader, reader.uint32())); + break; + } + case 13: { + if (!(message.emailAddresses && message.emailAddresses.length)) + message.emailAddresses = []; + message.emailAddresses.push($root.google.cloud.talent.v4beta1.Email.decode(reader, reader.uint32())); + break; + } + case 14: { + if (!(message.phoneNumbers && message.phoneNumbers.length)) + message.phoneNumbers = []; + message.phoneNumbers.push($root.google.cloud.talent.v4beta1.Phone.decode(reader, reader.uint32())); + break; + } + case 15: { + if (!(message.personalUris && message.personalUris.length)) + message.personalUris = []; + message.personalUris.push($root.google.cloud.talent.v4beta1.PersonalUri.decode(reader, reader.uint32())); + break; + } + case 16: { + if (!(message.additionalContactInfo && message.additionalContactInfo.length)) + message.additionalContactInfo = []; + message.additionalContactInfo.push($root.google.cloud.talent.v4beta1.AdditionalContactInfo.decode(reader, reader.uint32())); + break; + } + case 17: { + if (!(message.employmentRecords && message.employmentRecords.length)) + message.employmentRecords = []; + message.employmentRecords.push($root.google.cloud.talent.v4beta1.EmploymentRecord.decode(reader, reader.uint32())); + break; + } + case 18: { + if (!(message.educationRecords && message.educationRecords.length)) + message.educationRecords = []; + message.educationRecords.push($root.google.cloud.talent.v4beta1.EducationRecord.decode(reader, reader.uint32())); + break; + } + case 19: { + if (!(message.skills && message.skills.length)) + message.skills = []; + message.skills.push($root.google.cloud.talent.v4beta1.Skill.decode(reader, reader.uint32())); + break; + } + case 20: { + if (!(message.activities && message.activities.length)) + message.activities = []; + message.activities.push($root.google.cloud.talent.v4beta1.Activity.decode(reader, reader.uint32())); + break; + } + case 21: { + if (!(message.publications && message.publications.length)) + message.publications = []; + message.publications.push($root.google.cloud.talent.v4beta1.Publication.decode(reader, reader.uint32())); + break; + } + case 22: { + if (!(message.patents && message.patents.length)) + message.patents = []; + message.patents.push($root.google.cloud.talent.v4beta1.Patent.decode(reader, reader.uint32())); + break; + } + case 23: { + if (!(message.certifications && message.certifications.length)) + message.certifications = []; + message.certifications.push($root.google.cloud.talent.v4beta1.Certification.decode(reader, reader.uint32())); + break; + } + case 47: { + if (!(message.applications && message.applications.length)) + message.applications = []; + message.applications.push(reader.string()); + break; + } + case 48: { + if (!(message.assignments && message.assignments.length)) + message.assignments = []; + message.assignments.push(reader.string()); + break; + } + case 26: { + if (message.customAttributes === $util.emptyObject) + message.customAttributes = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = null; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = $root.google.cloud.talent.v4beta1.CustomAttribute.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag2 & 7); + break; + } } + message.customAttributes[key] = value; + break; + } + case 27: { + message.processed = reader.bool(); + break; + } + case 28: { + message.keywordSnippet = reader.string(); + break; + } + case 70: { + if (!(message.availabilitySignals && message.availabilitySignals.length)) + message.availabilitySignals = []; + message.availabilitySignals.push($root.google.cloud.talent.v4beta1.AvailabilitySignal.decode(reader, reader.uint32())); + break; + } + case 64: { + if (!(message.derivedAddresses && message.derivedAddresses.length)) + message.derivedAddresses = []; + message.derivedAddresses.push($root.google.cloud.talent.v4beta1.Location.decode(reader, reader.uint32())); + break; } - message.customAttributes[key] = value; - break; - case 27: - message.processed = reader.bool(); - break; - case 28: - message.keywordSnippet = reader.string(); - break; - case 70: - if (!(message.availabilitySignals && message.availabilitySignals.length)) - message.availabilitySignals = []; - message.availabilitySignals.push($root.google.cloud.talent.v4beta1.AvailabilitySignal.decode(reader, reader.uint32())); - break; - case 64: - if (!(message.derivedAddresses && message.derivedAddresses.length)) - message.derivedAddresses = []; - message.derivedAddresses.push($root.google.cloud.talent.v4beta1.Location.decode(reader, reader.uint32())); - break; default: reader.skipType(tag & 7); break; @@ -44776,6 +47383,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Profile + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.Profile + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Profile.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.Profile"; + }; + return Profile; })(); @@ -44893,15 +47515,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.type = reader.int32(); - break; - case 2: - message.lastUpdateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 3: - message.filterSatisfied = $root.google.protobuf.BoolValue.decode(reader, reader.uint32()); - break; + case 1: { + message.type = reader.int32(); + break; + } + case 2: { + message.lastUpdateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 3: { + message.filterSatisfied = $root.google.protobuf.BoolValue.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -45046,6 +47671,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for AvailabilitySignal + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.AvailabilitySignal + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AvailabilitySignal.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.AvailabilitySignal"; + }; + return AvailabilitySignal; })(); @@ -45152,12 +47792,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.structuredResume = reader.string(); - break; - case 2: - message.resumeType = reader.int32(); - break; + case 1: { + message.structuredResume = reader.string(); + break; + } + case 2: { + message.resumeType = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -45274,6 +47916,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Resume + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.Resume + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Resume.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.Resume"; + }; + /** * ResumeType enum. * @name google.cloud.talent.v4beta1.Resume.ResumeType @@ -45421,15 +48078,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.formattedName = reader.string(); - break; - case 2: - message.structuredName = $root.google.cloud.talent.v4beta1.PersonName.PersonStructuredName.decode(reader, reader.uint32()); - break; - case 3: - message.preferredName = reader.string(); - break; + case 1: { + message.formattedName = reader.string(); + break; + } + case 2: { + message.structuredName = $root.google.cloud.talent.v4beta1.PersonName.PersonStructuredName.decode(reader, reader.uint32()); + break; + } + case 3: { + message.preferredName = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -45552,6 +48212,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for PersonName + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.PersonName + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + PersonName.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.PersonName"; + }; + PersonName.PersonStructuredName = (function() { /** @@ -45703,28 +48378,34 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.givenName = reader.string(); - break; - case 6: - message.preferredName = reader.string(); - break; - case 2: - message.middleInitial = reader.string(); - break; - case 3: - message.familyName = reader.string(); - break; - case 4: - if (!(message.suffixes && message.suffixes.length)) - message.suffixes = []; - message.suffixes.push(reader.string()); - break; - case 5: - if (!(message.prefixes && message.prefixes.length)) - message.prefixes = []; - message.prefixes.push(reader.string()); - break; + case 1: { + message.givenName = reader.string(); + break; + } + case 6: { + message.preferredName = reader.string(); + break; + } + case 2: { + message.middleInitial = reader.string(); + break; + } + case 3: { + message.familyName = reader.string(); + break; + } + case 4: { + if (!(message.suffixes && message.suffixes.length)) + message.suffixes = []; + message.suffixes.push(reader.string()); + break; + } + case 5: { + if (!(message.prefixes && message.prefixes.length)) + message.prefixes = []; + message.prefixes.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -45881,6 +48562,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for PersonStructuredName + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.PersonName.PersonStructuredName + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + PersonStructuredName.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.PersonName.PersonStructuredName"; + }; + return PersonStructuredName; })(); @@ -46026,18 +48722,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.usage = reader.int32(); - break; - case 2: - message.unstructuredAddress = reader.string(); - break; - case 3: - message.structuredAddress = $root.google.type.PostalAddress.decode(reader, reader.uint32()); - break; - case 4: - message.current = $root.google.protobuf.BoolValue.decode(reader, reader.uint32()); - break; + case 1: { + message.usage = reader.int32(); + break; + } + case 2: { + message.unstructuredAddress = reader.string(); + break; + } + case 3: { + message.structuredAddress = $root.google.type.PostalAddress.decode(reader, reader.uint32()); + break; + } + case 4: { + message.current = $root.google.protobuf.BoolValue.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -46197,6 +48897,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Address + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.Address + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Address.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.Address"; + }; + return Address; })(); @@ -46303,12 +49018,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.usage = reader.int32(); - break; - case 2: - message.emailAddress = reader.string(); - break; + case 1: { + message.usage = reader.int32(); + break; + } + case 2: { + message.emailAddress = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -46430,6 +49147,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Email + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.Email + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Email.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.Email"; + }; + return Email; })(); @@ -46558,18 +49290,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.usage = reader.int32(); - break; - case 2: - message.type = reader.int32(); - break; - case 3: - message.number = reader.string(); - break; - case 4: - message.whenAvailable = reader.string(); - break; + case 1: { + message.usage = reader.int32(); + break; + } + case 2: { + message.type = reader.int32(); + break; + } + case 3: { + message.number = reader.string(); + break; + } + case 4: { + message.whenAvailable = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -46760,6 +49496,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Phone + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.Phone + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Phone.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.Phone"; + }; + /** * PhoneType enum. * @name google.cloud.talent.v4beta1.Phone.PhoneType @@ -46885,9 +49636,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.uri = reader.string(); - break; + case 1: { + message.uri = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -46977,6 +49729,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for PersonalUri + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.PersonalUri + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + PersonalUri.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.PersonalUri"; + }; + return PersonalUri; })(); @@ -47094,15 +49861,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.usage = reader.int32(); - break; - case 2: - message.name = reader.string(); - break; - case 3: - message.contactId = reader.string(); - break; + case 1: { + message.usage = reader.int32(); + break; + } + case 2: { + message.name = reader.string(); + break; + } + case 3: { + message.contactId = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -47232,6 +50002,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for AdditionalContactInfo + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.AdditionalContactInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AdditionalContactInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.AdditionalContactInfo"; + }; + return AdditionalContactInfo; })(); @@ -47459,45 +50244,58 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.startDate = $root.google.type.Date.decode(reader, reader.uint32()); - break; - case 2: - message.endDate = $root.google.type.Date.decode(reader, reader.uint32()); - break; - case 3: - message.employerName = reader.string(); - break; - case 4: - message.divisionName = reader.string(); - break; - case 5: - message.address = $root.google.cloud.talent.v4beta1.Address.decode(reader, reader.uint32()); - break; - case 6: - message.jobTitle = reader.string(); - break; - case 7: - message.jobDescription = reader.string(); - break; - case 8: - message.isSupervisor = $root.google.protobuf.BoolValue.decode(reader, reader.uint32()); - break; - case 9: - message.isSelfEmployed = $root.google.protobuf.BoolValue.decode(reader, reader.uint32()); - break; - case 10: - message.isCurrent = $root.google.protobuf.BoolValue.decode(reader, reader.uint32()); - break; - case 11: - message.jobTitleSnippet = reader.string(); - break; - case 12: - message.jobDescriptionSnippet = reader.string(); - break; - case 13: - message.employerNameSnippet = reader.string(); - break; + case 1: { + message.startDate = $root.google.type.Date.decode(reader, reader.uint32()); + break; + } + case 2: { + message.endDate = $root.google.type.Date.decode(reader, reader.uint32()); + break; + } + case 3: { + message.employerName = reader.string(); + break; + } + case 4: { + message.divisionName = reader.string(); + break; + } + case 5: { + message.address = $root.google.cloud.talent.v4beta1.Address.decode(reader, reader.uint32()); + break; + } + case 6: { + message.jobTitle = reader.string(); + break; + } + case 7: { + message.jobDescription = reader.string(); + break; + } + case 8: { + message.isSupervisor = $root.google.protobuf.BoolValue.decode(reader, reader.uint32()); + break; + } + case 9: { + message.isSelfEmployed = $root.google.protobuf.BoolValue.decode(reader, reader.uint32()); + break; + } + case 10: { + message.isCurrent = $root.google.protobuf.BoolValue.decode(reader, reader.uint32()); + break; + } + case 11: { + message.jobTitleSnippet = reader.string(); + break; + } + case 12: { + message.jobDescriptionSnippet = reader.string(); + break; + } + case 13: { + message.employerNameSnippet = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -47714,6 +50512,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for EmploymentRecord + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.EmploymentRecord + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EmploymentRecord.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.EmploymentRecord"; + }; + return EmploymentRecord; })(); @@ -47933,39 +50746,50 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.startDate = $root.google.type.Date.decode(reader, reader.uint32()); - break; - case 2: - message.endDate = $root.google.type.Date.decode(reader, reader.uint32()); - break; - case 3: - message.expectedGraduationDate = $root.google.type.Date.decode(reader, reader.uint32()); - break; - case 4: - message.schoolName = reader.string(); - break; - case 5: - message.address = $root.google.cloud.talent.v4beta1.Address.decode(reader, reader.uint32()); - break; - case 6: - message.degreeDescription = reader.string(); - break; - case 7: - message.structuredDegree = $root.google.cloud.talent.v4beta1.Degree.decode(reader, reader.uint32()); - break; - case 8: - message.description = reader.string(); - break; - case 9: - message.isCurrent = $root.google.protobuf.BoolValue.decode(reader, reader.uint32()); - break; - case 10: - message.schoolNameSnippet = reader.string(); - break; - case 11: - message.degreeSnippet = reader.string(); - break; + case 1: { + message.startDate = $root.google.type.Date.decode(reader, reader.uint32()); + break; + } + case 2: { + message.endDate = $root.google.type.Date.decode(reader, reader.uint32()); + break; + } + case 3: { + message.expectedGraduationDate = $root.google.type.Date.decode(reader, reader.uint32()); + break; + } + case 4: { + message.schoolName = reader.string(); + break; + } + case 5: { + message.address = $root.google.cloud.talent.v4beta1.Address.decode(reader, reader.uint32()); + break; + } + case 6: { + message.degreeDescription = reader.string(); + break; + } + case 7: { + message.structuredDegree = $root.google.cloud.talent.v4beta1.Degree.decode(reader, reader.uint32()); + break; + } + case 8: { + message.description = reader.string(); + break; + } + case 9: { + message.isCurrent = $root.google.protobuf.BoolValue.decode(reader, reader.uint32()); + break; + } + case 10: { + message.schoolNameSnippet = reader.string(); + break; + } + case 11: { + message.degreeSnippet = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -48178,6 +51002,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for EducationRecord + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.EducationRecord + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EducationRecord.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.EducationRecord"; + }; + return EducationRecord; })(); @@ -48297,17 +51136,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.degreeType = reader.int32(); - break; - case 2: - message.degreeName = reader.string(); - break; - case 3: - if (!(message.fieldsOfStudy && message.fieldsOfStudy.length)) - message.fieldsOfStudy = []; - message.fieldsOfStudy.push(reader.string()); - break; + case 1: { + message.degreeType = reader.int32(); + break; + } + case 2: { + message.degreeName = reader.string(); + break; + } + case 3: { + if (!(message.fieldsOfStudy && message.fieldsOfStudy.length)) + message.fieldsOfStudy = []; + message.fieldsOfStudy.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -48475,6 +51317,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Degree + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.Degree + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Degree.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.Degree"; + }; + return Degree; })(); @@ -48675,42 +51532,52 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.displayName = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - case 3: - message.uri = reader.string(); - break; - case 4: - message.createDate = $root.google.type.Date.decode(reader, reader.uint32()); - break; - case 5: - message.updateDate = $root.google.type.Date.decode(reader, reader.uint32()); - break; - case 6: - if (!(message.teamMembers && message.teamMembers.length)) - message.teamMembers = []; - message.teamMembers.push(reader.string()); - break; - case 7: - if (!(message.skillsUsed && message.skillsUsed.length)) - message.skillsUsed = []; - message.skillsUsed.push($root.google.cloud.talent.v4beta1.Skill.decode(reader, reader.uint32())); - break; - case 8: - message.activityNameSnippet = reader.string(); - break; - case 9: - message.activityDescriptionSnippet = reader.string(); - break; - case 10: - if (!(message.skillsUsedSnippet && message.skillsUsedSnippet.length)) - message.skillsUsedSnippet = []; - message.skillsUsedSnippet.push(reader.string()); - break; + case 1: { + message.displayName = reader.string(); + break; + } + case 2: { + message.description = reader.string(); + break; + } + case 3: { + message.uri = reader.string(); + break; + } + case 4: { + message.createDate = $root.google.type.Date.decode(reader, reader.uint32()); + break; + } + case 5: { + message.updateDate = $root.google.type.Date.decode(reader, reader.uint32()); + break; + } + case 6: { + if (!(message.teamMembers && message.teamMembers.length)) + message.teamMembers = []; + message.teamMembers.push(reader.string()); + break; + } + case 7: { + if (!(message.skillsUsed && message.skillsUsed.length)) + message.skillsUsed = []; + message.skillsUsed.push($root.google.cloud.talent.v4beta1.Skill.decode(reader, reader.uint32())); + break; + } + case 8: { + message.activityNameSnippet = reader.string(); + break; + } + case 9: { + message.activityDescriptionSnippet = reader.string(); + break; + } + case 10: { + if (!(message.skillsUsedSnippet && message.skillsUsedSnippet.length)) + message.skillsUsedSnippet = []; + message.skillsUsedSnippet.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -48926,6 +51793,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Activity + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.Activity + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Activity.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.Activity"; + }; + return Activity; })(); @@ -49111,35 +51993,44 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.authors && message.authors.length)) - message.authors = []; - message.authors.push(reader.string()); - break; - case 2: - message.title = reader.string(); - break; - case 3: - message.description = reader.string(); - break; - case 4: - message.journal = reader.string(); - break; - case 5: - message.volume = reader.string(); - break; - case 6: - message.publisher = reader.string(); - break; - case 7: - message.publicationDate = $root.google.type.Date.decode(reader, reader.uint32()); - break; - case 8: - message.publicationType = reader.string(); - break; - case 9: - message.isbn = reader.string(); - break; + case 1: { + if (!(message.authors && message.authors.length)) + message.authors = []; + message.authors.push(reader.string()); + break; + } + case 2: { + message.title = reader.string(); + break; + } + case 3: { + message.description = reader.string(); + break; + } + case 4: { + message.journal = reader.string(); + break; + } + case 5: { + message.volume = reader.string(); + break; + } + case 6: { + message.publisher = reader.string(); + break; + } + case 7: { + message.publicationDate = $root.google.type.Date.decode(reader, reader.uint32()); + break; + } + case 8: { + message.publicationType = reader.string(); + break; + } + case 9: { + message.isbn = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -49312,6 +52203,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Publication + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.Publication + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Publication.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.Publication"; + }; + return Publication; })(); @@ -49499,37 +52405,46 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.displayName = reader.string(); - break; - case 2: - if (!(message.inventors && message.inventors.length)) - message.inventors = []; - message.inventors.push(reader.string()); - break; - case 3: - message.patentStatus = reader.string(); - break; - case 4: - message.patentStatusDate = $root.google.type.Date.decode(reader, reader.uint32()); - break; - case 5: - message.patentFilingDate = $root.google.type.Date.decode(reader, reader.uint32()); - break; - case 6: - message.patentOffice = reader.string(); - break; - case 7: - message.patentNumber = reader.string(); - break; - case 8: - message.patentDescription = reader.string(); - break; - case 9: - if (!(message.skillsUsed && message.skillsUsed.length)) - message.skillsUsed = []; - message.skillsUsed.push($root.google.cloud.talent.v4beta1.Skill.decode(reader, reader.uint32())); - break; + case 1: { + message.displayName = reader.string(); + break; + } + case 2: { + if (!(message.inventors && message.inventors.length)) + message.inventors = []; + message.inventors.push(reader.string()); + break; + } + case 3: { + message.patentStatus = reader.string(); + break; + } + case 4: { + message.patentStatusDate = $root.google.type.Date.decode(reader, reader.uint32()); + break; + } + case 5: { + message.patentFilingDate = $root.google.type.Date.decode(reader, reader.uint32()); + break; + } + case 6: { + message.patentOffice = reader.string(); + break; + } + case 7: { + message.patentNumber = reader.string(); + break; + } + case 8: { + message.patentDescription = reader.string(); + break; + } + case 9: { + if (!(message.skillsUsed && message.skillsUsed.length)) + message.skillsUsed = []; + message.skillsUsed.push($root.google.cloud.talent.v4beta1.Skill.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -49725,6 +52640,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Patent + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.Patent + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Patent.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.Patent"; + }; + return Patent; })(); @@ -49761,7 +52691,7 @@ }; /** - * Callback as used by {@link google.cloud.talent.v4beta1.ProfileService#listProfiles}. + * Callback as used by {@link google.cloud.talent.v4beta1.ProfileService|listProfiles}. * @memberof google.cloud.talent.v4beta1.ProfileService * @typedef ListProfilesCallback * @type {function} @@ -49794,7 +52724,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4beta1.ProfileService#createProfile}. + * Callback as used by {@link google.cloud.talent.v4beta1.ProfileService|createProfile}. * @memberof google.cloud.talent.v4beta1.ProfileService * @typedef CreateProfileCallback * @type {function} @@ -49827,7 +52757,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4beta1.ProfileService#getProfile}. + * Callback as used by {@link google.cloud.talent.v4beta1.ProfileService|getProfile}. * @memberof google.cloud.talent.v4beta1.ProfileService * @typedef GetProfileCallback * @type {function} @@ -49860,7 +52790,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4beta1.ProfileService#updateProfile}. + * Callback as used by {@link google.cloud.talent.v4beta1.ProfileService|updateProfile}. * @memberof google.cloud.talent.v4beta1.ProfileService * @typedef UpdateProfileCallback * @type {function} @@ -49893,7 +52823,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4beta1.ProfileService#deleteProfile}. + * Callback as used by {@link google.cloud.talent.v4beta1.ProfileService|deleteProfile}. * @memberof google.cloud.talent.v4beta1.ProfileService * @typedef DeleteProfileCallback * @type {function} @@ -49926,7 +52856,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4beta1.ProfileService#searchProfiles}. + * Callback as used by {@link google.cloud.talent.v4beta1.ProfileService|searchProfiles}. * @memberof google.cloud.talent.v4beta1.ProfileService * @typedef SearchProfilesCallback * @type {function} @@ -50097,21 +53027,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 5: - message.filter = reader.string(); - break; - case 2: - message.pageToken = reader.string(); - break; - case 3: - message.pageSize = reader.int32(); - break; - case 4: - message.readMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 5: { + message.filter = reader.string(); + break; + } + case 2: { + message.pageToken = reader.string(); + break; + } + case 3: { + message.pageSize = reader.int32(); + break; + } + case 4: { + message.readMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -50239,6 +53174,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListProfilesRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.ListProfilesRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListProfilesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.ListProfilesRequest"; + }; + return ListProfilesRequest; })(); @@ -50347,14 +53297,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.profiles && message.profiles.length)) - message.profiles = []; - message.profiles.push($root.google.cloud.talent.v4beta1.Profile.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.profiles && message.profiles.length)) + message.profiles = []; + message.profiles.push($root.google.cloud.talent.v4beta1.Profile.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -50470,6 +53422,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListProfilesResponse + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.ListProfilesResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListProfilesResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.ListProfilesResponse"; + }; + return ListProfilesResponse; })(); @@ -50576,12 +53543,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.profile = $root.google.cloud.talent.v4beta1.Profile.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.profile = $root.google.cloud.talent.v4beta1.Profile.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -50685,6 +53654,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateProfileRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.CreateProfileRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateProfileRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.CreateProfileRequest"; + }; + return CreateProfileRequest; })(); @@ -50780,9 +53764,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -50872,6 +53857,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetProfileRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.GetProfileRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetProfileRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.GetProfileRequest"; + }; + return GetProfileRequest; })(); @@ -50978,12 +53978,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.profile = $root.google.cloud.talent.v4beta1.Profile.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.profile = $root.google.cloud.talent.v4beta1.Profile.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -51092,6 +54094,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateProfileRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.UpdateProfileRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateProfileRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.UpdateProfileRequest"; + }; + return UpdateProfileRequest; })(); @@ -51187,9 +54204,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -51279,6 +54297,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteProfileRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.DeleteProfileRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteProfileRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.DeleteProfileRequest"; + }; + return DeleteProfileRequest; })(); @@ -51497,44 +54530,56 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.requestMetadata = $root.google.cloud.talent.v4beta1.RequestMetadata.decode(reader, reader.uint32()); - break; - case 3: - message.profileQuery = $root.google.cloud.talent.v4beta1.ProfileQuery.decode(reader, reader.uint32()); - break; - case 4: - message.pageSize = reader.int32(); - break; - case 5: - message.pageToken = reader.string(); - break; - case 6: - message.offset = reader.int32(); - break; - case 7: - message.disableSpellCheck = reader.bool(); - break; - case 8: - message.orderBy = reader.string(); - break; - case 9: - message.caseSensitiveSort = reader.bool(); - break; - case 10: - if (!(message.histogramQueries && message.histogramQueries.length)) - message.histogramQueries = []; - message.histogramQueries.push($root.google.cloud.talent.v4beta1.HistogramQuery.decode(reader, reader.uint32())); - break; - case 12: - message.resultSetId = reader.string(); - break; - case 13: - message.strictKeywordsSearch = reader.bool(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.requestMetadata = $root.google.cloud.talent.v4beta1.RequestMetadata.decode(reader, reader.uint32()); + break; + } + case 3: { + message.profileQuery = $root.google.cloud.talent.v4beta1.ProfileQuery.decode(reader, reader.uint32()); + break; + } + case 4: { + message.pageSize = reader.int32(); + break; + } + case 5: { + message.pageToken = reader.string(); + break; + } + case 6: { + message.offset = reader.int32(); + break; + } + case 7: { + message.disableSpellCheck = reader.bool(); + break; + } + case 8: { + message.orderBy = reader.string(); + break; + } + case 9: { + message.caseSensitiveSort = reader.bool(); + break; + } + case 10: { + if (!(message.histogramQueries && message.histogramQueries.length)) + message.histogramQueries = []; + message.histogramQueries.push($root.google.cloud.talent.v4beta1.HistogramQuery.decode(reader, reader.uint32())); + break; + } + case 12: { + message.resultSetId = reader.string(); + break; + } + case 13: { + message.strictKeywordsSearch = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -51741,6 +54786,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SearchProfilesRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.SearchProfilesRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SearchProfilesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.SearchProfilesRequest"; + }; + return SearchProfilesRequest; })(); @@ -51906,31 +54966,38 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.estimatedTotalSize = reader.int64(); - break; - case 2: - message.spellCorrection = $root.google.cloud.talent.v4beta1.SpellingCorrection.decode(reader, reader.uint32()); - break; - case 3: - message.metadata = $root.google.cloud.talent.v4beta1.ResponseMetadata.decode(reader, reader.uint32()); - break; - case 4: - message.nextPageToken = reader.string(); - break; - case 5: - if (!(message.histogramQueryResults && message.histogramQueryResults.length)) - message.histogramQueryResults = []; - message.histogramQueryResults.push($root.google.cloud.talent.v4beta1.HistogramQueryResult.decode(reader, reader.uint32())); - break; - case 6: - if (!(message.summarizedProfiles && message.summarizedProfiles.length)) - message.summarizedProfiles = []; - message.summarizedProfiles.push($root.google.cloud.talent.v4beta1.SummarizedProfile.decode(reader, reader.uint32())); - break; - case 7: - message.resultSetId = reader.string(); - break; + case 1: { + message.estimatedTotalSize = reader.int64(); + break; + } + case 2: { + message.spellCorrection = $root.google.cloud.talent.v4beta1.SpellingCorrection.decode(reader, reader.uint32()); + break; + } + case 3: { + message.metadata = $root.google.cloud.talent.v4beta1.ResponseMetadata.decode(reader, reader.uint32()); + break; + } + case 4: { + message.nextPageToken = reader.string(); + break; + } + case 5: { + if (!(message.histogramQueryResults && message.histogramQueryResults.length)) + message.histogramQueryResults = []; + message.histogramQueryResults.push($root.google.cloud.talent.v4beta1.HistogramQueryResult.decode(reader, reader.uint32())); + break; + } + case 6: { + if (!(message.summarizedProfiles && message.summarizedProfiles.length)) + message.summarizedProfiles = []; + message.summarizedProfiles.push($root.google.cloud.talent.v4beta1.SummarizedProfile.decode(reader, reader.uint32())); + break; + } + case 7: { + message.resultSetId = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -52129,6 +55196,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SearchProfilesResponse + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.SearchProfilesResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SearchProfilesResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.SearchProfilesResponse"; + }; + return SearchProfilesResponse; })(); @@ -52237,14 +55319,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.profiles && message.profiles.length)) - message.profiles = []; - message.profiles.push($root.google.cloud.talent.v4beta1.Profile.decode(reader, reader.uint32())); - break; - case 2: - message.summary = $root.google.cloud.talent.v4beta1.Profile.decode(reader, reader.uint32()); - break; + case 1: { + if (!(message.profiles && message.profiles.length)) + message.profiles = []; + message.profiles.push($root.google.cloud.talent.v4beta1.Profile.decode(reader, reader.uint32())); + break; + } + case 2: { + message.summary = $root.google.cloud.talent.v4beta1.Profile.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -52365,6 +55449,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SummarizedProfile + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.SummarizedProfile + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SummarizedProfile.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.SummarizedProfile"; + }; + return SummarizedProfile; })(); @@ -52495,20 +55594,24 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.externalId = reader.string(); - break; - case 3: - message.usageType = reader.int32(); - break; - case 4: - if (!(message.keywordSearchableProfileCustomAttributes && message.keywordSearchableProfileCustomAttributes.length)) - message.keywordSearchableProfileCustomAttributes = []; - message.keywordSearchableProfileCustomAttributes.push(reader.string()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.externalId = reader.string(); + break; + } + case 3: { + message.usageType = reader.int32(); + break; + } + case 4: { + if (!(message.keywordSearchableProfileCustomAttributes && message.keywordSearchableProfileCustomAttributes.length)) + message.keywordSearchableProfileCustomAttributes = []; + message.keywordSearchableProfileCustomAttributes.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -52654,6 +55757,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Tenant + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.Tenant + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Tenant.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.Tenant"; + }; + /** * DataUsageType enum. * @name google.cloud.talent.v4beta1.Tenant.DataUsageType @@ -52706,7 +55824,7 @@ }; /** - * Callback as used by {@link google.cloud.talent.v4beta1.TenantService#createTenant}. + * Callback as used by {@link google.cloud.talent.v4beta1.TenantService|createTenant}. * @memberof google.cloud.talent.v4beta1.TenantService * @typedef CreateTenantCallback * @type {function} @@ -52739,7 +55857,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4beta1.TenantService#getTenant}. + * Callback as used by {@link google.cloud.talent.v4beta1.TenantService|getTenant}. * @memberof google.cloud.talent.v4beta1.TenantService * @typedef GetTenantCallback * @type {function} @@ -52772,7 +55890,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4beta1.TenantService#updateTenant}. + * Callback as used by {@link google.cloud.talent.v4beta1.TenantService|updateTenant}. * @memberof google.cloud.talent.v4beta1.TenantService * @typedef UpdateTenantCallback * @type {function} @@ -52805,7 +55923,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4beta1.TenantService#deleteTenant}. + * Callback as used by {@link google.cloud.talent.v4beta1.TenantService|deleteTenant}. * @memberof google.cloud.talent.v4beta1.TenantService * @typedef DeleteTenantCallback * @type {function} @@ -52838,7 +55956,7 @@ */ /** - * Callback as used by {@link google.cloud.talent.v4beta1.TenantService#listTenants}. + * Callback as used by {@link google.cloud.talent.v4beta1.TenantService|listTenants}. * @memberof google.cloud.talent.v4beta1.TenantService * @typedef ListTenantsCallback * @type {function} @@ -52976,12 +56094,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.tenant = $root.google.cloud.talent.v4beta1.Tenant.decode(reader, reader.uint32()); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.tenant = $root.google.cloud.talent.v4beta1.Tenant.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -53085,6 +56205,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CreateTenantRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.CreateTenantRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreateTenantRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.CreateTenantRequest"; + }; + return CreateTenantRequest; })(); @@ -53180,9 +56315,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -53272,6 +56408,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetTenantRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.GetTenantRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetTenantRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.GetTenantRequest"; + }; + return GetTenantRequest; })(); @@ -53378,12 +56529,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.tenant = $root.google.cloud.talent.v4beta1.Tenant.decode(reader, reader.uint32()); - break; - case 2: - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); - break; + case 1: { + message.tenant = $root.google.cloud.talent.v4beta1.Tenant.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -53492,6 +56645,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UpdateTenantRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.UpdateTenantRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateTenantRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.UpdateTenantRequest"; + }; + return UpdateTenantRequest; })(); @@ -53587,9 +56755,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -53679,6 +56848,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteTenantRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.DeleteTenantRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteTenantRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.DeleteTenantRequest"; + }; + return DeleteTenantRequest; })(); @@ -53796,15 +56980,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageToken = reader.string(); - break; - case 3: - message.pageSize = reader.int32(); - break; + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageToken = reader.string(); + break; + } + case 3: { + message.pageSize = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -53911,6 +57098,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListTenantsRequest + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.ListTenantsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListTenantsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.ListTenantsRequest"; + }; + return ListTenantsRequest; })(); @@ -54030,17 +57232,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.tenants && message.tenants.length)) - message.tenants = []; - message.tenants.push($root.google.cloud.talent.v4beta1.Tenant.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; - case 3: - message.metadata = $root.google.cloud.talent.v4beta1.ResponseMetadata.decode(reader, reader.uint32()); - break; + case 1: { + if (!(message.tenants && message.tenants.length)) + message.tenants = []; + message.tenants.push($root.google.cloud.talent.v4beta1.Tenant.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } + case 3: { + message.metadata = $root.google.cloud.talent.v4beta1.ResponseMetadata.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -54170,6 +57375,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListTenantsResponse + * @function getTypeUrl + * @memberof google.cloud.talent.v4beta1.ListTenantsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListTenantsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.talent.v4beta1.ListTenantsResponse"; + }; + return ListTenantsResponse; })(); @@ -54382,36 +57602,43 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.type = reader.string(); - break; - case 2: - if (!(message.pattern && message.pattern.length)) - message.pattern = []; - message.pattern.push(reader.string()); - break; - case 3: - message.nameField = reader.string(); - break; - case 4: - message.history = reader.int32(); - break; - case 5: - message.plural = reader.string(); - break; - case 6: - message.singular = reader.string(); - break; - case 10: - if (!(message.style && message.style.length)) - message.style = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + message.type = reader.string(); + break; + } + case 2: { + if (!(message.pattern && message.pattern.length)) + message.pattern = []; + message.pattern.push(reader.string()); + break; + } + case 3: { + message.nameField = reader.string(); + break; + } + case 4: { + message.history = reader.int32(); + break; + } + case 5: { + message.plural = reader.string(); + break; + } + case 6: { + message.singular = reader.string(); + break; + } + case 10: { + if (!(message.style && message.style.length)) + message.style = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.style.push(reader.int32()); + } else message.style.push(reader.int32()); - } else - message.style.push(reader.int32()); - break; + break; + } default: reader.skipType(tag & 7); break; @@ -54609,6 +57836,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ResourceDescriptor + * @function getTypeUrl + * @memberof google.api.ResourceDescriptor + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResourceDescriptor.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.api.ResourceDescriptor"; + }; + /** * History enum. * @name google.api.ResourceDescriptor.History @@ -54745,12 +57987,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.type = reader.string(); - break; - case 2: - message.childType = reader.string(); - break; + case 1: { + message.type = reader.string(); + break; + } + case 2: { + message.childType = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -54849,6 +58093,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ResourceReference + * @function getTypeUrl + * @memberof google.api.ResourceReference + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResourceReference.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.api.ResourceReference"; + }; + return ResourceReference; })(); @@ -54957,14 +58216,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.rules && message.rules.length)) - message.rules = []; - message.rules.push($root.google.api.HttpRule.decode(reader, reader.uint32())); - break; - case 2: - message.fullyDecodeReservedExpansion = reader.bool(); - break; + case 1: { + if (!(message.rules && message.rules.length)) + message.rules = []; + message.rules.push($root.google.api.HttpRule.decode(reader, reader.uint32())); + break; + } + case 2: { + message.fullyDecodeReservedExpansion = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -55080,6 +58341,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Http + * @function getTypeUrl + * @memberof google.api.Http + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Http.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.api.Http"; + }; + return Http; })(); @@ -55290,38 +58566,48 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.selector = reader.string(); - break; - case 2: - message.get = reader.string(); - break; - case 3: - message.put = reader.string(); - break; - case 4: - message.post = reader.string(); - break; - case 5: - message["delete"] = reader.string(); - break; - case 6: - message.patch = reader.string(); - break; - case 8: - message.custom = $root.google.api.CustomHttpPattern.decode(reader, reader.uint32()); - break; - case 7: - message.body = reader.string(); - break; - case 12: - message.responseBody = reader.string(); - break; - case 11: - if (!(message.additionalBindings && message.additionalBindings.length)) - message.additionalBindings = []; - message.additionalBindings.push($root.google.api.HttpRule.decode(reader, reader.uint32())); - break; + case 1: { + message.selector = reader.string(); + break; + } + case 2: { + message.get = reader.string(); + break; + } + case 3: { + message.put = reader.string(); + break; + } + case 4: { + message.post = reader.string(); + break; + } + case 5: { + message["delete"] = reader.string(); + break; + } + case 6: { + message.patch = reader.string(); + break; + } + case 8: { + message.custom = $root.google.api.CustomHttpPattern.decode(reader, reader.uint32()); + break; + } + case 7: { + message.body = reader.string(); + break; + } + case 12: { + message.responseBody = reader.string(); + break; + } + case 11: { + if (!(message.additionalBindings && message.additionalBindings.length)) + message.additionalBindings = []; + message.additionalBindings.push($root.google.api.HttpRule.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -55543,6 +58829,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for HttpRule + * @function getTypeUrl + * @memberof google.api.HttpRule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + HttpRule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.api.HttpRule"; + }; + return HttpRule; })(); @@ -55649,12 +58950,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.kind = reader.string(); - break; - case 2: - message.path = reader.string(); - break; + case 1: { + message.kind = reader.string(); + break; + } + case 2: { + message.path = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -55753,6 +59056,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CustomHttpPattern + * @function getTypeUrl + * @memberof google.api.CustomHttpPattern + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CustomHttpPattern.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.api.CustomHttpPattern"; + }; + return CustomHttpPattern; })(); @@ -55862,11 +59180,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.file && message.file.length)) - message.file = []; - message.file.push($root.google.protobuf.FileDescriptorProto.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.file && message.file.length)) + message.file = []; + message.file.push($root.google.protobuf.FileDescriptorProto.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -55973,6 +59292,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for FileDescriptorSet + * @function getTypeUrl + * @memberof google.protobuf.FileDescriptorSet + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + FileDescriptorSet.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.FileDescriptorSet"; + }; + return FileDescriptorSet; })(); @@ -55994,6 +59328,7 @@ * @property {google.protobuf.IFileOptions|null} [options] FileDescriptorProto options * @property {google.protobuf.ISourceCodeInfo|null} [sourceCodeInfo] FileDescriptorProto sourceCodeInfo * @property {string|null} [syntax] FileDescriptorProto syntax + * @property {string|null} [edition] FileDescriptorProto edition */ /** @@ -56114,6 +59449,14 @@ */ FileDescriptorProto.prototype.syntax = ""; + /** + * FileDescriptorProto edition. + * @member {string} edition + * @memberof google.protobuf.FileDescriptorProto + * @instance + */ + FileDescriptorProto.prototype.edition = ""; + /** * Creates a new FileDescriptorProto instance using the specified properties. * @function create @@ -56169,6 +59512,8 @@ writer.uint32(/* id 11, wireType 0 =*/88).int32(message.weakDependency[i]); if (message.syntax != null && Object.hasOwnProperty.call(message, "syntax")) writer.uint32(/* id 12, wireType 2 =*/98).string(message.syntax); + if (message.edition != null && Object.hasOwnProperty.call(message, "edition")) + writer.uint32(/* id 13, wireType 2 =*/106).string(message.edition); return writer; }; @@ -56203,66 +59548,82 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message["package"] = reader.string(); - break; - case 3: - if (!(message.dependency && message.dependency.length)) - message.dependency = []; - message.dependency.push(reader.string()); - break; - case 10: - if (!(message.publicDependency && message.publicDependency.length)) - message.publicDependency = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message["package"] = reader.string(); + break; + } + case 3: { + if (!(message.dependency && message.dependency.length)) + message.dependency = []; + message.dependency.push(reader.string()); + break; + } + case 10: { + if (!(message.publicDependency && message.publicDependency.length)) + message.publicDependency = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.publicDependency.push(reader.int32()); + } else message.publicDependency.push(reader.int32()); - } else - message.publicDependency.push(reader.int32()); - break; - case 11: - if (!(message.weakDependency && message.weakDependency.length)) - message.weakDependency = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + break; + } + case 11: { + if (!(message.weakDependency && message.weakDependency.length)) + message.weakDependency = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.weakDependency.push(reader.int32()); + } else message.weakDependency.push(reader.int32()); - } else - message.weakDependency.push(reader.int32()); - break; - case 4: - if (!(message.messageType && message.messageType.length)) - message.messageType = []; - message.messageType.push($root.google.protobuf.DescriptorProto.decode(reader, reader.uint32())); - break; - case 5: - if (!(message.enumType && message.enumType.length)) - message.enumType = []; - message.enumType.push($root.google.protobuf.EnumDescriptorProto.decode(reader, reader.uint32())); - break; - case 6: - if (!(message.service && message.service.length)) - message.service = []; - message.service.push($root.google.protobuf.ServiceDescriptorProto.decode(reader, reader.uint32())); - break; - case 7: - if (!(message.extension && message.extension.length)) - message.extension = []; - message.extension.push($root.google.protobuf.FieldDescriptorProto.decode(reader, reader.uint32())); - break; - case 8: - message.options = $root.google.protobuf.FileOptions.decode(reader, reader.uint32()); - break; - case 9: - message.sourceCodeInfo = $root.google.protobuf.SourceCodeInfo.decode(reader, reader.uint32()); - break; - case 12: - message.syntax = reader.string(); - break; + break; + } + case 4: { + if (!(message.messageType && message.messageType.length)) + message.messageType = []; + message.messageType.push($root.google.protobuf.DescriptorProto.decode(reader, reader.uint32())); + break; + } + case 5: { + if (!(message.enumType && message.enumType.length)) + message.enumType = []; + message.enumType.push($root.google.protobuf.EnumDescriptorProto.decode(reader, reader.uint32())); + break; + } + case 6: { + if (!(message.service && message.service.length)) + message.service = []; + message.service.push($root.google.protobuf.ServiceDescriptorProto.decode(reader, reader.uint32())); + break; + } + case 7: { + if (!(message.extension && message.extension.length)) + message.extension = []; + message.extension.push($root.google.protobuf.FieldDescriptorProto.decode(reader, reader.uint32())); + break; + } + case 8: { + message.options = $root.google.protobuf.FileOptions.decode(reader, reader.uint32()); + break; + } + case 9: { + message.sourceCodeInfo = $root.google.protobuf.SourceCodeInfo.decode(reader, reader.uint32()); + break; + } + case 12: { + message.syntax = reader.string(); + break; + } + case 13: { + message.edition = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -56374,6 +59735,9 @@ if (message.syntax != null && message.hasOwnProperty("syntax")) if (!$util.isString(message.syntax)) return "syntax: string expected"; + if (message.edition != null && message.hasOwnProperty("edition")) + if (!$util.isString(message.edition)) + return "edition: string expected"; return null; }; @@ -56466,6 +59830,8 @@ } if (object.syntax != null) message.syntax = String(object.syntax); + if (object.edition != null) + message.edition = String(object.edition); return message; }; @@ -56497,6 +59863,7 @@ object.options = null; object.sourceCodeInfo = null; object.syntax = ""; + object.edition = ""; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -56543,6 +59910,8 @@ } if (message.syntax != null && message.hasOwnProperty("syntax")) object.syntax = message.syntax; + if (message.edition != null && message.hasOwnProperty("edition")) + object.edition = message.edition; return object; }; @@ -56557,6 +59926,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for FileDescriptorProto + * @function getTypeUrl + * @memberof google.protobuf.FileDescriptorProto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + FileDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.FileDescriptorProto"; + }; + return FileDescriptorProto; })(); @@ -56767,52 +60151,62 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - if (!(message.field && message.field.length)) - message.field = []; - message.field.push($root.google.protobuf.FieldDescriptorProto.decode(reader, reader.uint32())); - break; - case 6: - if (!(message.extension && message.extension.length)) - message.extension = []; - message.extension.push($root.google.protobuf.FieldDescriptorProto.decode(reader, reader.uint32())); - break; - case 3: - if (!(message.nestedType && message.nestedType.length)) - message.nestedType = []; - message.nestedType.push($root.google.protobuf.DescriptorProto.decode(reader, reader.uint32())); - break; - case 4: - if (!(message.enumType && message.enumType.length)) - message.enumType = []; - message.enumType.push($root.google.protobuf.EnumDescriptorProto.decode(reader, reader.uint32())); - break; - case 5: - if (!(message.extensionRange && message.extensionRange.length)) - message.extensionRange = []; - message.extensionRange.push($root.google.protobuf.DescriptorProto.ExtensionRange.decode(reader, reader.uint32())); - break; - case 8: - if (!(message.oneofDecl && message.oneofDecl.length)) - message.oneofDecl = []; - message.oneofDecl.push($root.google.protobuf.OneofDescriptorProto.decode(reader, reader.uint32())); - break; - case 7: - message.options = $root.google.protobuf.MessageOptions.decode(reader, reader.uint32()); - break; - case 9: - if (!(message.reservedRange && message.reservedRange.length)) - message.reservedRange = []; - message.reservedRange.push($root.google.protobuf.DescriptorProto.ReservedRange.decode(reader, reader.uint32())); - break; - case 10: - if (!(message.reservedName && message.reservedName.length)) - message.reservedName = []; - message.reservedName.push(reader.string()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + if (!(message.field && message.field.length)) + message.field = []; + message.field.push($root.google.protobuf.FieldDescriptorProto.decode(reader, reader.uint32())); + break; + } + case 6: { + if (!(message.extension && message.extension.length)) + message.extension = []; + message.extension.push($root.google.protobuf.FieldDescriptorProto.decode(reader, reader.uint32())); + break; + } + case 3: { + if (!(message.nestedType && message.nestedType.length)) + message.nestedType = []; + message.nestedType.push($root.google.protobuf.DescriptorProto.decode(reader, reader.uint32())); + break; + } + case 4: { + if (!(message.enumType && message.enumType.length)) + message.enumType = []; + message.enumType.push($root.google.protobuf.EnumDescriptorProto.decode(reader, reader.uint32())); + break; + } + case 5: { + if (!(message.extensionRange && message.extensionRange.length)) + message.extensionRange = []; + message.extensionRange.push($root.google.protobuf.DescriptorProto.ExtensionRange.decode(reader, reader.uint32())); + break; + } + case 8: { + if (!(message.oneofDecl && message.oneofDecl.length)) + message.oneofDecl = []; + message.oneofDecl.push($root.google.protobuf.OneofDescriptorProto.decode(reader, reader.uint32())); + break; + } + case 7: { + message.options = $root.google.protobuf.MessageOptions.decode(reader, reader.uint32()); + break; + } + case 9: { + if (!(message.reservedRange && message.reservedRange.length)) + message.reservedRange = []; + message.reservedRange.push($root.google.protobuf.DescriptorProto.ReservedRange.decode(reader, reader.uint32())); + break; + } + case 10: { + if (!(message.reservedName && message.reservedName.length)) + message.reservedName = []; + message.reservedName.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -57113,6 +60507,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DescriptorProto + * @function getTypeUrl + * @memberof google.protobuf.DescriptorProto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.DescriptorProto"; + }; + DescriptorProto.ExtensionRange = (function() { /** @@ -57227,15 +60636,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.start = reader.int32(); - break; - case 2: - message.end = reader.int32(); - break; - case 3: - message.options = $root.google.protobuf.ExtensionRangeOptions.decode(reader, reader.uint32()); - break; + case 1: { + message.start = reader.int32(); + break; + } + case 2: { + message.end = reader.int32(); + break; + } + case 3: { + message.options = $root.google.protobuf.ExtensionRangeOptions.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -57347,6 +60759,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ExtensionRange + * @function getTypeUrl + * @memberof google.protobuf.DescriptorProto.ExtensionRange + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ExtensionRange.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.DescriptorProto.ExtensionRange"; + }; + return ExtensionRange; })(); @@ -57453,12 +60880,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.start = reader.int32(); - break; - case 2: - message.end = reader.int32(); - break; + case 1: { + message.start = reader.int32(); + break; + } + case 2: { + message.end = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -57557,6 +60986,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ReservedRange + * @function getTypeUrl + * @memberof google.protobuf.DescriptorProto.ReservedRange + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReservedRange.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.DescriptorProto.ReservedRange"; + }; + return ReservedRange; })(); @@ -57657,11 +61101,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 999: - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; + case 999: { + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -57768,6 +61213,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ExtensionRangeOptions + * @function getTypeUrl + * @memberof google.protobuf.ExtensionRangeOptions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ExtensionRangeOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.ExtensionRangeOptions"; + }; + return ExtensionRangeOptions; })(); @@ -57973,39 +61433,50 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 3: - message.number = reader.int32(); - break; - case 4: - message.label = reader.int32(); - break; - case 5: - message.type = reader.int32(); - break; - case 6: - message.typeName = reader.string(); - break; - case 2: - message.extendee = reader.string(); - break; - case 7: - message.defaultValue = reader.string(); - break; - case 9: - message.oneofIndex = reader.int32(); - break; - case 10: - message.jsonName = reader.string(); - break; - case 8: - message.options = $root.google.protobuf.FieldOptions.decode(reader, reader.uint32()); - break; - case 17: - message.proto3Optional = reader.bool(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 3: { + message.number = reader.int32(); + break; + } + case 4: { + message.label = reader.int32(); + break; + } + case 5: { + message.type = reader.int32(); + break; + } + case 6: { + message.typeName = reader.string(); + break; + } + case 2: { + message.extendee = reader.string(); + break; + } + case 7: { + message.defaultValue = reader.string(); + break; + } + case 9: { + message.oneofIndex = reader.int32(); + break; + } + case 10: { + message.jsonName = reader.string(); + break; + } + case 8: { + message.options = $root.google.protobuf.FieldOptions.decode(reader, reader.uint32()); + break; + } + case 17: { + message.proto3Optional = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -58292,6 +61763,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for FieldDescriptorProto + * @function getTypeUrl + * @memberof google.protobuf.FieldDescriptorProto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + FieldDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.FieldDescriptorProto"; + }; + /** * Type enum. * @name google.protobuf.FieldDescriptorProto.Type @@ -58460,12 +61946,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.options = $root.google.protobuf.OneofOptions.decode(reader, reader.uint32()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.options = $root.google.protobuf.OneofOptions.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -58569,6 +62057,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for OneofDescriptorProto + * @function getTypeUrl + * @memberof google.protobuf.OneofDescriptorProto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + OneofDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.OneofDescriptorProto"; + }; + return OneofDescriptorProto; })(); @@ -58714,27 +62217,32 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - if (!(message.value && message.value.length)) - message.value = []; - message.value.push($root.google.protobuf.EnumValueDescriptorProto.decode(reader, reader.uint32())); - break; - case 3: - message.options = $root.google.protobuf.EnumOptions.decode(reader, reader.uint32()); - break; - case 4: - if (!(message.reservedRange && message.reservedRange.length)) - message.reservedRange = []; - message.reservedRange.push($root.google.protobuf.EnumDescriptorProto.EnumReservedRange.decode(reader, reader.uint32())); - break; - case 5: - if (!(message.reservedName && message.reservedName.length)) - message.reservedName = []; - message.reservedName.push(reader.string()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + if (!(message.value && message.value.length)) + message.value = []; + message.value.push($root.google.protobuf.EnumValueDescriptorProto.decode(reader, reader.uint32())); + break; + } + case 3: { + message.options = $root.google.protobuf.EnumOptions.decode(reader, reader.uint32()); + break; + } + case 4: { + if (!(message.reservedRange && message.reservedRange.length)) + message.reservedRange = []; + message.reservedRange.push($root.google.protobuf.EnumDescriptorProto.EnumReservedRange.decode(reader, reader.uint32())); + break; + } + case 5: { + if (!(message.reservedName && message.reservedName.length)) + message.reservedName = []; + message.reservedName.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -58910,6 +62418,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for EnumDescriptorProto + * @function getTypeUrl + * @memberof google.protobuf.EnumDescriptorProto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EnumDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.EnumDescriptorProto"; + }; + EnumDescriptorProto.EnumReservedRange = (function() { /** @@ -59013,12 +62536,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.start = reader.int32(); - break; - case 2: - message.end = reader.int32(); - break; + case 1: { + message.start = reader.int32(); + break; + } + case 2: { + message.end = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -59117,6 +62642,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for EnumReservedRange + * @function getTypeUrl + * @memberof google.protobuf.EnumDescriptorProto.EnumReservedRange + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EnumReservedRange.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.EnumDescriptorProto.EnumReservedRange"; + }; + return EnumReservedRange; })(); @@ -59237,15 +62777,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.number = reader.int32(); - break; - case 3: - message.options = $root.google.protobuf.EnumValueOptions.decode(reader, reader.uint32()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.number = reader.int32(); + break; + } + case 3: { + message.options = $root.google.protobuf.EnumValueOptions.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -59357,6 +62900,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for EnumValueDescriptorProto + * @function getTypeUrl + * @memberof google.protobuf.EnumValueDescriptorProto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EnumValueDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.EnumValueDescriptorProto"; + }; + return EnumValueDescriptorProto; })(); @@ -59476,17 +63034,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - if (!(message.method && message.method.length)) - message.method = []; - message.method.push($root.google.protobuf.MethodDescriptorProto.decode(reader, reader.uint32())); - break; - case 3: - message.options = $root.google.protobuf.ServiceOptions.decode(reader, reader.uint32()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + if (!(message.method && message.method.length)) + message.method = []; + message.method.push($root.google.protobuf.MethodDescriptorProto.decode(reader, reader.uint32())); + break; + } + case 3: { + message.options = $root.google.protobuf.ServiceOptions.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -59616,6 +63177,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ServiceDescriptorProto + * @function getTypeUrl + * @memberof google.protobuf.ServiceDescriptorProto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ServiceDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.ServiceDescriptorProto"; + }; + return ServiceDescriptorProto; })(); @@ -59766,24 +63342,30 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.inputType = reader.string(); - break; - case 3: - message.outputType = reader.string(); - break; - case 4: - message.options = $root.google.protobuf.MethodOptions.decode(reader, reader.uint32()); - break; - case 5: - message.clientStreaming = reader.bool(); - break; - case 6: - message.serverStreaming = reader.bool(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.inputType = reader.string(); + break; + } + case 3: { + message.outputType = reader.string(); + break; + } + case 4: { + message.options = $root.google.protobuf.MethodOptions.decode(reader, reader.uint32()); + break; + } + case 5: { + message.clientStreaming = reader.bool(); + break; + } + case 6: { + message.serverStreaming = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -59919,6 +63501,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for MethodDescriptorProto + * @function getTypeUrl + * @memberof google.protobuf.MethodDescriptorProto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + MethodDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.MethodDescriptorProto"; + }; + return MethodDescriptorProto; })(); @@ -60249,76 +63846,98 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.javaPackage = reader.string(); - break; - case 8: - message.javaOuterClassname = reader.string(); - break; - case 10: - message.javaMultipleFiles = reader.bool(); - break; - case 20: - message.javaGenerateEqualsAndHash = reader.bool(); - break; - case 27: - message.javaStringCheckUtf8 = reader.bool(); - break; - case 9: - message.optimizeFor = reader.int32(); - break; - case 11: - message.goPackage = reader.string(); - break; - case 16: - message.ccGenericServices = reader.bool(); - break; - case 17: - message.javaGenericServices = reader.bool(); - break; - case 18: - message.pyGenericServices = reader.bool(); - break; - case 42: - message.phpGenericServices = reader.bool(); - break; - case 23: - message.deprecated = reader.bool(); - break; - case 31: - message.ccEnableArenas = reader.bool(); - break; - case 36: - message.objcClassPrefix = reader.string(); - break; - case 37: - message.csharpNamespace = reader.string(); - break; - case 39: - message.swiftPrefix = reader.string(); - break; - case 40: - message.phpClassPrefix = reader.string(); - break; - case 41: - message.phpNamespace = reader.string(); - break; - case 44: - message.phpMetadataNamespace = reader.string(); - break; - case 45: - message.rubyPackage = reader.string(); - break; - case 999: - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; - case 1053: - if (!(message[".google.api.resourceDefinition"] && message[".google.api.resourceDefinition"].length)) - message[".google.api.resourceDefinition"] = []; - message[".google.api.resourceDefinition"].push($root.google.api.ResourceDescriptor.decode(reader, reader.uint32())); - break; + case 1: { + message.javaPackage = reader.string(); + break; + } + case 8: { + message.javaOuterClassname = reader.string(); + break; + } + case 10: { + message.javaMultipleFiles = reader.bool(); + break; + } + case 20: { + message.javaGenerateEqualsAndHash = reader.bool(); + break; + } + case 27: { + message.javaStringCheckUtf8 = reader.bool(); + break; + } + case 9: { + message.optimizeFor = reader.int32(); + break; + } + case 11: { + message.goPackage = reader.string(); + break; + } + case 16: { + message.ccGenericServices = reader.bool(); + break; + } + case 17: { + message.javaGenericServices = reader.bool(); + break; + } + case 18: { + message.pyGenericServices = reader.bool(); + break; + } + case 42: { + message.phpGenericServices = reader.bool(); + break; + } + case 23: { + message.deprecated = reader.bool(); + break; + } + case 31: { + message.ccEnableArenas = reader.bool(); + break; + } + case 36: { + message.objcClassPrefix = reader.string(); + break; + } + case 37: { + message.csharpNamespace = reader.string(); + break; + } + case 39: { + message.swiftPrefix = reader.string(); + break; + } + case 40: { + message.phpClassPrefix = reader.string(); + break; + } + case 41: { + message.phpNamespace = reader.string(); + break; + } + case 44: { + message.phpMetadataNamespace = reader.string(); + break; + } + case 45: { + message.rubyPackage = reader.string(); + break; + } + case 999: { + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); + break; + } + case 1053: { + if (!(message[".google.api.resourceDefinition"] && message[".google.api.resourceDefinition"].length)) + message[".google.api.resourceDefinition"] = []; + message[".google.api.resourceDefinition"].push($root.google.api.ResourceDescriptor.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -60631,6 +64250,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for FileOptions + * @function getTypeUrl + * @memberof google.protobuf.FileOptions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + FileOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.FileOptions"; + }; + /** * OptimizeMode enum. * @name google.protobuf.FileOptions.OptimizeMode @@ -60799,26 +64433,32 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.messageSetWireFormat = reader.bool(); - break; - case 2: - message.noStandardDescriptorAccessor = reader.bool(); - break; - case 3: - message.deprecated = reader.bool(); - break; - case 7: - message.mapEntry = reader.bool(); - break; - case 999: - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; - case 1053: - message[".google.api.resource"] = $root.google.api.ResourceDescriptor.decode(reader, reader.uint32()); - break; + case 1: { + message.messageSetWireFormat = reader.bool(); + break; + } + case 2: { + message.noStandardDescriptorAccessor = reader.bool(); + break; + } + case 3: { + message.deprecated = reader.bool(); + break; + } + case 7: { + message.mapEntry = reader.bool(); + break; + } + case 999: { + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); + break; + } + case 1053: { + message[".google.api.resource"] = $root.google.api.ResourceDescriptor.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -60972,6 +64612,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for MessageOptions + * @function getTypeUrl + * @memberof google.protobuf.MessageOptions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + MessageOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.MessageOptions"; + }; + return MessageOptions; })(); @@ -60985,6 +64640,7 @@ * @property {boolean|null} [packed] FieldOptions packed * @property {google.protobuf.FieldOptions.JSType|null} [jstype] FieldOptions jstype * @property {boolean|null} [lazy] FieldOptions lazy + * @property {boolean|null} [unverifiedLazy] FieldOptions unverifiedLazy * @property {boolean|null} [deprecated] FieldOptions deprecated * @property {boolean|null} [weak] FieldOptions weak * @property {Array.|null} [uninterpretedOption] FieldOptions uninterpretedOption @@ -61041,6 +64697,14 @@ */ FieldOptions.prototype.lazy = false; + /** + * FieldOptions unverifiedLazy. + * @member {boolean} unverifiedLazy + * @memberof google.protobuf.FieldOptions + * @instance + */ + FieldOptions.prototype.unverifiedLazy = false; + /** * FieldOptions deprecated. * @member {boolean} deprecated @@ -61117,6 +64781,8 @@ writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jstype); if (message.weak != null && Object.hasOwnProperty.call(message, "weak")) writer.uint32(/* id 10, wireType 0 =*/80).bool(message.weak); + if (message.unverifiedLazy != null && Object.hasOwnProperty.call(message, "unverifiedLazy")) + writer.uint32(/* id 15, wireType 0 =*/120).bool(message.unverifiedLazy); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); @@ -61162,42 +64828,55 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.ctype = reader.int32(); - break; - case 2: - message.packed = reader.bool(); - break; - case 6: - message.jstype = reader.int32(); - break; - case 5: - message.lazy = reader.bool(); - break; - case 3: - message.deprecated = reader.bool(); - break; - case 10: - message.weak = reader.bool(); - break; - case 999: - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; - case 1052: - if (!(message[".google.api.fieldBehavior"] && message[".google.api.fieldBehavior"].length)) - message[".google.api.fieldBehavior"] = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + message.ctype = reader.int32(); + break; + } + case 2: { + message.packed = reader.bool(); + break; + } + case 6: { + message.jstype = reader.int32(); + break; + } + case 5: { + message.lazy = reader.bool(); + break; + } + case 15: { + message.unverifiedLazy = reader.bool(); + break; + } + case 3: { + message.deprecated = reader.bool(); + break; + } + case 10: { + message.weak = reader.bool(); + break; + } + case 999: { + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); + break; + } + case 1052: { + if (!(message[".google.api.fieldBehavior"] && message[".google.api.fieldBehavior"].length)) + message[".google.api.fieldBehavior"] = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message[".google.api.fieldBehavior"].push(reader.int32()); + } else message[".google.api.fieldBehavior"].push(reader.int32()); - } else - message[".google.api.fieldBehavior"].push(reader.int32()); - break; - case 1055: - message[".google.api.resourceReference"] = $root.google.api.ResourceReference.decode(reader, reader.uint32()); - break; + break; + } + case 1055: { + message[".google.api.resourceReference"] = $root.google.api.ResourceReference.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -61257,6 +64936,9 @@ if (message.lazy != null && message.hasOwnProperty("lazy")) if (typeof message.lazy !== "boolean") return "lazy: boolean expected"; + if (message.unverifiedLazy != null && message.hasOwnProperty("unverifiedLazy")) + if (typeof message.unverifiedLazy !== "boolean") + return "unverifiedLazy: boolean expected"; if (message.deprecated != null && message.hasOwnProperty("deprecated")) if (typeof message.deprecated !== "boolean") return "deprecated: boolean expected"; @@ -61342,6 +65024,8 @@ } if (object.lazy != null) message.lazy = Boolean(object.lazy); + if (object.unverifiedLazy != null) + message.unverifiedLazy = Boolean(object.unverifiedLazy); if (object.deprecated != null) message.deprecated = Boolean(object.deprecated); if (object.weak != null) @@ -61429,6 +65113,7 @@ object.lazy = false; object.jstype = options.enums === String ? "JS_NORMAL" : 0; object.weak = false; + object.unverifiedLazy = false; object[".google.api.resourceReference"] = null; } if (message.ctype != null && message.hasOwnProperty("ctype")) @@ -61443,6 +65128,8 @@ object.jstype = options.enums === String ? $root.google.protobuf.FieldOptions.JSType[message.jstype] : message.jstype; if (message.weak != null && message.hasOwnProperty("weak")) object.weak = message.weak; + if (message.unverifiedLazy != null && message.hasOwnProperty("unverifiedLazy")) + object.unverifiedLazy = message.unverifiedLazy; if (message.uninterpretedOption && message.uninterpretedOption.length) { object.uninterpretedOption = []; for (var j = 0; j < message.uninterpretedOption.length; ++j) @@ -61469,6 +65156,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for FieldOptions + * @function getTypeUrl + * @memberof google.protobuf.FieldOptions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + FieldOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.FieldOptions"; + }; + /** * CType enum. * @name google.protobuf.FieldOptions.CType @@ -61598,11 +65300,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 999: - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; + case 999: { + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -61709,6 +65412,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for OneofOptions + * @function getTypeUrl + * @memberof google.protobuf.OneofOptions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + OneofOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.OneofOptions"; + }; + return OneofOptions; })(); @@ -61828,17 +65546,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 2: - message.allowAlias = reader.bool(); - break; - case 3: - message.deprecated = reader.bool(); - break; - case 999: - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; + case 2: { + message.allowAlias = reader.bool(); + break; + } + case 3: { + message.deprecated = reader.bool(); + break; + } + case 999: { + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -61963,6 +65684,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for EnumOptions + * @function getTypeUrl + * @memberof google.protobuf.EnumOptions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EnumOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.EnumOptions"; + }; + return EnumOptions; })(); @@ -62071,14 +65807,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.deprecated = reader.bool(); - break; - case 999: - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; + case 1: { + message.deprecated = reader.bool(); + break; + } + case 999: { + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -62194,6 +65932,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for EnumValueOptions + * @function getTypeUrl + * @memberof google.protobuf.EnumValueOptions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EnumValueOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.EnumValueOptions"; + }; + return EnumValueOptions; })(); @@ -62324,20 +66077,24 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 33: - message.deprecated = reader.bool(); - break; - case 999: - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; - case 1049: - message[".google.api.defaultHost"] = reader.string(); - break; - case 1050: - message[".google.api.oauthScopes"] = reader.string(); - break; + case 33: { + message.deprecated = reader.bool(); + break; + } + case 999: { + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); + break; + } + case 1049: { + message[".google.api.defaultHost"] = reader.string(); + break; + } + case 1050: { + message[".google.api.oauthScopes"] = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -62470,6 +66227,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ServiceOptions + * @function getTypeUrl + * @memberof google.protobuf.ServiceOptions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ServiceOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.ServiceOptions"; + }; + return ServiceOptions; })(); @@ -62624,28 +66396,34 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 33: - message.deprecated = reader.bool(); - break; - case 34: - message.idempotencyLevel = reader.int32(); - break; - case 999: - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; - case 72295728: - message[".google.api.http"] = $root.google.api.HttpRule.decode(reader, reader.uint32()); - break; - case 1051: - if (!(message[".google.api.methodSignature"] && message[".google.api.methodSignature"].length)) - message[".google.api.methodSignature"] = []; - message[".google.api.methodSignature"].push(reader.string()); - break; - case 1049: - message[".google.longrunning.operationInfo"] = $root.google.longrunning.OperationInfo.decode(reader, reader.uint32()); - break; + case 33: { + message.deprecated = reader.bool(); + break; + } + case 34: { + message.idempotencyLevel = reader.int32(); + break; + } + case 999: { + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); + break; + } + case 72295728: { + message[".google.api.http"] = $root.google.api.HttpRule.decode(reader, reader.uint32()); + break; + } + case 1051: { + if (!(message[".google.api.methodSignature"] && message[".google.api.methodSignature"].length)) + message[".google.api.methodSignature"] = []; + message[".google.api.methodSignature"].push(reader.string()); + break; + } + case 1049: { + message[".google.longrunning.operationInfo"] = $root.google.longrunning.OperationInfo.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -62835,6 +66613,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for MethodOptions + * @function getTypeUrl + * @memberof google.protobuf.MethodOptions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + MethodOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.MethodOptions"; + }; + /** * IdempotencyLevel enum. * @name google.protobuf.MethodOptions.IdempotencyLevel @@ -63014,29 +66807,36 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 2: - if (!(message.name && message.name.length)) - message.name = []; - message.name.push($root.google.protobuf.UninterpretedOption.NamePart.decode(reader, reader.uint32())); - break; - case 3: - message.identifierValue = reader.string(); - break; - case 4: - message.positiveIntValue = reader.uint64(); - break; - case 5: - message.negativeIntValue = reader.int64(); - break; - case 6: - message.doubleValue = reader.double(); - break; - case 7: - message.stringValue = reader.bytes(); - break; - case 8: - message.aggregateValue = reader.string(); - break; + case 2: { + if (!(message.name && message.name.length)) + message.name = []; + message.name.push($root.google.protobuf.UninterpretedOption.NamePart.decode(reader, reader.uint32())); + break; + } + case 3: { + message.identifierValue = reader.string(); + break; + } + case 4: { + message.positiveIntValue = reader.uint64(); + break; + } + case 5: { + message.negativeIntValue = reader.int64(); + break; + } + case 6: { + message.doubleValue = reader.double(); + break; + } + case 7: { + message.stringValue = reader.bytes(); + break; + } + case 8: { + message.aggregateValue = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -63149,7 +66949,7 @@ if (object.stringValue != null) if (typeof object.stringValue === "string") $util.base64.decode(object.stringValue, message.stringValue = $util.newBuffer($util.base64.length(object.stringValue)), 0); - else if (object.stringValue.length) + else if (object.stringValue.length >= 0) message.stringValue = object.stringValue; if (object.aggregateValue != null) message.aggregateValue = String(object.aggregateValue); @@ -63230,6 +67030,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UninterpretedOption + * @function getTypeUrl + * @memberof google.protobuf.UninterpretedOption + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UninterpretedOption.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.UninterpretedOption"; + }; + UninterpretedOption.NamePart = (function() { /** @@ -63331,12 +67146,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.namePart = reader.string(); - break; - case 2: - message.isExtension = reader.bool(); - break; + case 1: { + message.namePart = reader.string(); + break; + } + case 2: { + message.isExtension = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -63437,6 +67254,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for NamePart + * @function getTypeUrl + * @memberof google.protobuf.UninterpretedOption.NamePart + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + NamePart.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.UninterpretedOption.NamePart"; + }; + return NamePart; })(); @@ -63537,11 +67369,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.location && message.location.length)) - message.location = []; - message.location.push($root.google.protobuf.SourceCodeInfo.Location.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.location && message.location.length)) + message.location = []; + message.location.push($root.google.protobuf.SourceCodeInfo.Location.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -63648,6 +67481,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SourceCodeInfo + * @function getTypeUrl + * @memberof google.protobuf.SourceCodeInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SourceCodeInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.SourceCodeInfo"; + }; + SourceCodeInfo.Location = (function() { /** @@ -63796,37 +67644,42 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.path && message.path.length)) - message.path = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + if (!(message.path && message.path.length)) + message.path = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.path.push(reader.int32()); + } else message.path.push(reader.int32()); - } else - message.path.push(reader.int32()); - break; - case 2: - if (!(message.span && message.span.length)) - message.span = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + break; + } + case 2: { + if (!(message.span && message.span.length)) + message.span = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.span.push(reader.int32()); + } else message.span.push(reader.int32()); - } else - message.span.push(reader.int32()); - break; - case 3: - message.leadingComments = reader.string(); - break; - case 4: - message.trailingComments = reader.string(); - break; - case 6: - if (!(message.leadingDetachedComments && message.leadingDetachedComments.length)) - message.leadingDetachedComments = []; - message.leadingDetachedComments.push(reader.string()); - break; + break; + } + case 3: { + message.leadingComments = reader.string(); + break; + } + case 4: { + message.trailingComments = reader.string(); + break; + } + case 6: { + if (!(message.leadingDetachedComments && message.leadingDetachedComments.length)) + message.leadingDetachedComments = []; + message.leadingDetachedComments.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -63987,6 +67840,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Location + * @function getTypeUrl + * @memberof google.protobuf.SourceCodeInfo.Location + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Location.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.SourceCodeInfo.Location"; + }; + return Location; })(); @@ -64087,11 +67955,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.annotation && message.annotation.length)) - message.annotation = []; - message.annotation.push($root.google.protobuf.GeneratedCodeInfo.Annotation.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.annotation && message.annotation.length)) + message.annotation = []; + message.annotation.push($root.google.protobuf.GeneratedCodeInfo.Annotation.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -64198,6 +68067,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GeneratedCodeInfo + * @function getTypeUrl + * @memberof google.protobuf.GeneratedCodeInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GeneratedCodeInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.GeneratedCodeInfo"; + }; + GeneratedCodeInfo.Annotation = (function() { /** @@ -64208,6 +68092,7 @@ * @property {string|null} [sourceFile] Annotation sourceFile * @property {number|null} [begin] Annotation begin * @property {number|null} [end] Annotation end + * @property {google.protobuf.GeneratedCodeInfo.Annotation.Semantic|null} [semantic] Annotation semantic */ /** @@ -64258,6 +68143,14 @@ */ Annotation.prototype.end = 0; + /** + * Annotation semantic. + * @member {google.protobuf.GeneratedCodeInfo.Annotation.Semantic} semantic + * @memberof google.protobuf.GeneratedCodeInfo.Annotation + * @instance + */ + Annotation.prototype.semantic = 0; + /** * Creates a new Annotation instance using the specified properties. * @function create @@ -64294,6 +68187,8 @@ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.begin); if (message.end != null && Object.hasOwnProperty.call(message, "end")) writer.uint32(/* id 4, wireType 0 =*/32).int32(message.end); + if (message.semantic != null && Object.hasOwnProperty.call(message, "semantic")) + writer.uint32(/* id 5, wireType 0 =*/40).int32(message.semantic); return writer; }; @@ -64328,25 +68223,33 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.path && message.path.length)) - message.path = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + if (!(message.path && message.path.length)) + message.path = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.path.push(reader.int32()); + } else message.path.push(reader.int32()); - } else - message.path.push(reader.int32()); - break; - case 2: - message.sourceFile = reader.string(); - break; - case 3: - message.begin = reader.int32(); - break; - case 4: - message.end = reader.int32(); - break; + break; + } + case 2: { + message.sourceFile = reader.string(); + break; + } + case 3: { + message.begin = reader.int32(); + break; + } + case 4: { + message.end = reader.int32(); + break; + } + case 5: { + message.semantic = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -64398,6 +68301,15 @@ if (message.end != null && message.hasOwnProperty("end")) if (!$util.isInteger(message.end)) return "end: integer expected"; + if (message.semantic != null && message.hasOwnProperty("semantic")) + switch (message.semantic) { + default: + return "semantic: enum value expected"; + case 0: + case 1: + case 2: + break; + } return null; }; @@ -64426,6 +68338,20 @@ message.begin = object.begin | 0; if (object.end != null) message.end = object.end | 0; + switch (object.semantic) { + case "NONE": + case 0: + message.semantic = 0; + break; + case "SET": + case 1: + message.semantic = 1; + break; + case "ALIAS": + case 2: + message.semantic = 2; + break; + } return message; }; @@ -64448,6 +68374,7 @@ object.sourceFile = ""; object.begin = 0; object.end = 0; + object.semantic = options.enums === String ? "NONE" : 0; } if (message.path && message.path.length) { object.path = []; @@ -64460,6 +68387,8 @@ object.begin = message.begin; if (message.end != null && message.hasOwnProperty("end")) object.end = message.end; + if (message.semantic != null && message.hasOwnProperty("semantic")) + object.semantic = options.enums === String ? $root.google.protobuf.GeneratedCodeInfo.Annotation.Semantic[message.semantic] : message.semantic; return object; }; @@ -64474,6 +68403,37 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Annotation + * @function getTypeUrl + * @memberof google.protobuf.GeneratedCodeInfo.Annotation + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Annotation.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.GeneratedCodeInfo.Annotation"; + }; + + /** + * Semantic enum. + * @name google.protobuf.GeneratedCodeInfo.Annotation.Semantic + * @enum {number} + * @property {number} NONE=0 NONE value + * @property {number} SET=1 SET value + * @property {number} ALIAS=2 ALIAS value + */ + Annotation.Semantic = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "NONE"] = 0; + values[valuesById[1] = "SET"] = 1; + values[valuesById[2] = "ALIAS"] = 2; + return values; + })(); + return Annotation; })(); @@ -64583,12 +68543,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.seconds = reader.int64(); - break; - case 2: - message.nanos = reader.int32(); - break; + case 1: { + message.seconds = reader.int64(); + break; + } + case 2: { + message.nanos = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -64701,6 +68663,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Timestamp + * @function getTypeUrl + * @memberof google.protobuf.Timestamp + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Timestamp.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.Timestamp"; + }; + return Timestamp; })(); @@ -64796,9 +68773,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.value = reader.double(); - break; + case 1: { + message.value = reader.double(); + break; + } default: reader.skipType(tag & 7); break; @@ -64888,6 +68866,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DoubleValue + * @function getTypeUrl + * @memberof google.protobuf.DoubleValue + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DoubleValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.DoubleValue"; + }; + return DoubleValue; })(); @@ -64983,9 +68976,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.value = reader.float(); - break; + case 1: { + message.value = reader.float(); + break; + } default: reader.skipType(tag & 7); break; @@ -65075,6 +69069,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for FloatValue + * @function getTypeUrl + * @memberof google.protobuf.FloatValue + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + FloatValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.FloatValue"; + }; + return FloatValue; })(); @@ -65170,9 +69179,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.value = reader.int64(); - break; + case 1: { + message.value = reader.int64(); + break; + } default: reader.skipType(tag & 7); break; @@ -65276,6 +69286,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Int64Value + * @function getTypeUrl + * @memberof google.protobuf.Int64Value + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Int64Value.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.Int64Value"; + }; + return Int64Value; })(); @@ -65371,9 +69396,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.value = reader.uint64(); - break; + case 1: { + message.value = reader.uint64(); + break; + } default: reader.skipType(tag & 7); break; @@ -65477,6 +69503,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UInt64Value + * @function getTypeUrl + * @memberof google.protobuf.UInt64Value + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UInt64Value.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.UInt64Value"; + }; + return UInt64Value; })(); @@ -65572,9 +69613,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.value = reader.int32(); - break; + case 1: { + message.value = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -65664,6 +69706,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Int32Value + * @function getTypeUrl + * @memberof google.protobuf.Int32Value + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Int32Value.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.Int32Value"; + }; + return Int32Value; })(); @@ -65759,9 +69816,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.value = reader.uint32(); - break; + case 1: { + message.value = reader.uint32(); + break; + } default: reader.skipType(tag & 7); break; @@ -65851,6 +69909,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UInt32Value + * @function getTypeUrl + * @memberof google.protobuf.UInt32Value + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UInt32Value.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.UInt32Value"; + }; + return UInt32Value; })(); @@ -65946,9 +70019,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.value = reader.bool(); - break; + case 1: { + message.value = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -66038,6 +70112,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BoolValue + * @function getTypeUrl + * @memberof google.protobuf.BoolValue + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BoolValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.BoolValue"; + }; + return BoolValue; })(); @@ -66133,9 +70222,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.value = reader.string(); - break; + case 1: { + message.value = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -66225,6 +70315,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for StringValue + * @function getTypeUrl + * @memberof google.protobuf.StringValue + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + StringValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.StringValue"; + }; + return StringValue; })(); @@ -66320,9 +70425,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.value = reader.bytes(); - break; + case 1: { + message.value = reader.bytes(); + break; + } default: reader.skipType(tag & 7); break; @@ -66379,7 +70485,7 @@ if (object.value != null) if (typeof object.value === "string") $util.base64.decode(object.value, message.value = $util.newBuffer($util.base64.length(object.value)), 0); - else if (object.value.length) + else if (object.value.length >= 0) message.value = object.value; return message; }; @@ -66421,6 +70527,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BytesValue + * @function getTypeUrl + * @memberof google.protobuf.BytesValue + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BytesValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.BytesValue"; + }; + return BytesValue; })(); @@ -66581,6 +70702,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Empty + * @function getTypeUrl + * @memberof google.protobuf.Empty + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Empty.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.Empty"; + }; + return Empty; })(); @@ -66678,11 +70814,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.paths && message.paths.length)) - message.paths = []; - message.paths.push(reader.string()); - break; + case 1: { + if (!(message.paths && message.paths.length)) + message.paths = []; + message.paths.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -66784,6 +70921,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for FieldMask + * @function getTypeUrl + * @memberof google.protobuf.FieldMask + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + FieldMask.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.FieldMask"; + }; + return FieldMask; })(); @@ -66890,12 +71042,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.seconds = reader.int64(); - break; - case 2: - message.nanos = reader.int32(); - break; + case 1: { + message.seconds = reader.int64(); + break; + } + case 2: { + message.nanos = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -67008,6 +71162,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Duration + * @function getTypeUrl + * @memberof google.protobuf.Duration + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Duration.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.Duration"; + }; + return Duration; })(); @@ -67114,12 +71283,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.type_url = reader.string(); - break; - case 2: - message.value = reader.bytes(); - break; + case 1: { + message.type_url = reader.string(); + break; + } + case 2: { + message.value = reader.bytes(); + break; + } default: reader.skipType(tag & 7); break; @@ -67181,7 +71352,7 @@ if (object.value != null) if (typeof object.value === "string") $util.base64.decode(object.value, message.value = $util.newBuffer($util.base64.length(object.value)), 0); - else if (object.value.length) + else if (object.value.length >= 0) message.value = object.value; return message; }; @@ -67227,6 +71398,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Any + * @function getTypeUrl + * @memberof google.protobuf.Any + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Any.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.Any"; + }; + return Any; })(); @@ -67345,12 +71531,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.latitude = reader.double(); - break; - case 2: - message.longitude = reader.double(); - break; + case 1: { + message.latitude = reader.double(); + break; + } + case 2: { + message.longitude = reader.double(); + break; + } default: reader.skipType(tag & 7); break; @@ -67449,6 +71637,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for LatLng + * @function getTypeUrl + * @memberof google.type.LatLng + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + LatLng.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.type.LatLng"; + }; + return LatLng; })(); @@ -67566,15 +71769,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.currencyCode = reader.string(); - break; - case 2: - message.units = reader.int64(); - break; - case 3: - message.nanos = reader.int32(); - break; + case 1: { + message.currencyCode = reader.string(); + break; + } + case 2: { + message.units = reader.int64(); + break; + } + case 3: { + message.nanos = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -67695,6 +71901,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Money + * @function getTypeUrl + * @memberof google.type.Money + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Money.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.type.Money"; + }; + return Money; })(); @@ -67904,43 +72125,54 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.revision = reader.int32(); - break; - case 2: - message.regionCode = reader.string(); - break; - case 3: - message.languageCode = reader.string(); - break; - case 4: - message.postalCode = reader.string(); - break; - case 5: - message.sortingCode = reader.string(); - break; - case 6: - message.administrativeArea = reader.string(); - break; - case 7: - message.locality = reader.string(); - break; - case 8: - message.sublocality = reader.string(); - break; - case 9: - if (!(message.addressLines && message.addressLines.length)) - message.addressLines = []; - message.addressLines.push(reader.string()); - break; - case 10: - if (!(message.recipients && message.recipients.length)) - message.recipients = []; - message.recipients.push(reader.string()); - break; - case 11: - message.organization = reader.string(); - break; + case 1: { + message.revision = reader.int32(); + break; + } + case 2: { + message.regionCode = reader.string(); + break; + } + case 3: { + message.languageCode = reader.string(); + break; + } + case 4: { + message.postalCode = reader.string(); + break; + } + case 5: { + message.sortingCode = reader.string(); + break; + } + case 6: { + message.administrativeArea = reader.string(); + break; + } + case 7: { + message.locality = reader.string(); + break; + } + case 8: { + message.sublocality = reader.string(); + break; + } + case 9: { + if (!(message.addressLines && message.addressLines.length)) + message.addressLines = []; + message.addressLines.push(reader.string()); + break; + } + case 10: { + if (!(message.recipients && message.recipients.length)) + message.recipients = []; + message.recipients.push(reader.string()); + break; + } + case 11: { + message.organization = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -68137,6 +72369,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for PostalAddress + * @function getTypeUrl + * @memberof google.type.PostalAddress + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + PostalAddress.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.type.PostalAddress"; + }; + return PostalAddress; })(); @@ -68265,18 +72512,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.hours = reader.int32(); - break; - case 2: - message.minutes = reader.int32(); - break; - case 3: - message.seconds = reader.int32(); - break; - case 4: - message.nanos = reader.int32(); - break; + case 1: { + message.hours = reader.int32(); + break; + } + case 2: { + message.minutes = reader.int32(); + break; + } + case 3: { + message.seconds = reader.int32(); + break; + } + case 4: { + message.nanos = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -68391,6 +72642,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for TimeOfDay + * @function getTypeUrl + * @memberof google.type.TimeOfDay + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TimeOfDay.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.type.TimeOfDay"; + }; + return TimeOfDay; })(); @@ -68508,15 +72774,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.year = reader.int32(); - break; - case 2: - message.month = reader.int32(); - break; - case 3: - message.day = reader.int32(); - break; + case 1: { + message.year = reader.int32(); + break; + } + case 2: { + message.month = reader.int32(); + break; + } + case 3: { + message.day = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -68623,6 +72892,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Date + * @function getTypeUrl + * @memberof google.type.Date + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Date.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.type.Date"; + }; + return Date; })(); @@ -68671,7 +72955,7 @@ }; /** - * Callback as used by {@link google.longrunning.Operations#listOperations}. + * Callback as used by {@link google.longrunning.Operations|listOperations}. * @memberof google.longrunning.Operations * @typedef ListOperationsCallback * @type {function} @@ -68704,7 +72988,7 @@ */ /** - * Callback as used by {@link google.longrunning.Operations#getOperation}. + * Callback as used by {@link google.longrunning.Operations|getOperation}. * @memberof google.longrunning.Operations * @typedef GetOperationCallback * @type {function} @@ -68737,7 +73021,7 @@ */ /** - * Callback as used by {@link google.longrunning.Operations#deleteOperation}. + * Callback as used by {@link google.longrunning.Operations|deleteOperation}. * @memberof google.longrunning.Operations * @typedef DeleteOperationCallback * @type {function} @@ -68770,7 +73054,7 @@ */ /** - * Callback as used by {@link google.longrunning.Operations#cancelOperation}. + * Callback as used by {@link google.longrunning.Operations|cancelOperation}. * @memberof google.longrunning.Operations * @typedef CancelOperationCallback * @type {function} @@ -68803,7 +73087,7 @@ */ /** - * Callback as used by {@link google.longrunning.Operations#waitOperation}. + * Callback as used by {@link google.longrunning.Operations|waitOperation}. * @memberof google.longrunning.Operations * @typedef WaitOperationCallback * @type {function} @@ -68988,21 +73272,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.metadata = $root.google.protobuf.Any.decode(reader, reader.uint32()); - break; - case 3: - message.done = reader.bool(); - break; - case 4: - message.error = $root.google.rpc.Status.decode(reader, reader.uint32()); - break; - case 5: - message.response = $root.google.protobuf.Any.decode(reader, reader.uint32()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.metadata = $root.google.protobuf.Any.decode(reader, reader.uint32()); + break; + } + case 3: { + message.done = reader.bool(); + break; + } + case 4: { + message.error = $root.google.rpc.Status.decode(reader, reader.uint32()); + break; + } + case 5: { + message.response = $root.google.protobuf.Any.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -69153,6 +73442,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Operation + * @function getTypeUrl + * @memberof google.longrunning.Operation + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Operation.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.longrunning.Operation"; + }; + return Operation; })(); @@ -69248,9 +73552,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -69340,6 +73645,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetOperationRequest + * @function getTypeUrl + * @memberof google.longrunning.GetOperationRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetOperationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.longrunning.GetOperationRequest"; + }; + return GetOperationRequest; })(); @@ -69468,18 +73788,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 4: - message.name = reader.string(); - break; - case 1: - message.filter = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; + case 4: { + message.name = reader.string(); + break; + } + case 1: { + message.filter = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -69594,6 +73918,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListOperationsRequest + * @function getTypeUrl + * @memberof google.longrunning.ListOperationsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListOperationsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.longrunning.ListOperationsRequest"; + }; + return ListOperationsRequest; })(); @@ -69702,14 +74041,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.operations && message.operations.length)) - message.operations = []; - message.operations.push($root.google.longrunning.Operation.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.operations && message.operations.length)) + message.operations = []; + message.operations.push($root.google.longrunning.Operation.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -69825,6 +74166,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListOperationsResponse + * @function getTypeUrl + * @memberof google.longrunning.ListOperationsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListOperationsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.longrunning.ListOperationsResponse"; + }; + return ListOperationsResponse; })(); @@ -69920,9 +74276,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -70012,6 +74369,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CancelOperationRequest + * @function getTypeUrl + * @memberof google.longrunning.CancelOperationRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CancelOperationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.longrunning.CancelOperationRequest"; + }; + return CancelOperationRequest; })(); @@ -70107,9 +74479,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -70199,6 +74572,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteOperationRequest + * @function getTypeUrl + * @memberof google.longrunning.DeleteOperationRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteOperationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.longrunning.DeleteOperationRequest"; + }; + return DeleteOperationRequest; })(); @@ -70305,12 +74693,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.timeout = $root.google.protobuf.Duration.decode(reader, reader.uint32()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.timeout = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -70414,6 +74804,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for WaitOperationRequest + * @function getTypeUrl + * @memberof google.longrunning.WaitOperationRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + WaitOperationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.longrunning.WaitOperationRequest"; + }; + return WaitOperationRequest; })(); @@ -70520,12 +74925,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.responseType = reader.string(); - break; - case 2: - message.metadataType = reader.string(); - break; + case 1: { + message.responseType = reader.string(); + break; + } + case 2: { + message.metadataType = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -70624,6 +75031,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for OperationInfo + * @function getTypeUrl + * @memberof google.longrunning.OperationInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + OperationInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.longrunning.OperationInfo"; + }; + return OperationInfo; })(); @@ -70755,17 +75177,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.code = reader.int32(); - break; - case 2: - message.message = reader.string(); - break; - case 3: - if (!(message.details && message.details.length)) - message.details = []; - message.details.push($root.google.protobuf.Any.decode(reader, reader.uint32())); - break; + case 1: { + message.code = reader.int32(); + break; + } + case 2: { + message.message = reader.string(); + break; + } + case 3: { + if (!(message.details && message.details.length)) + message.details = []; + message.details.push($root.google.protobuf.Any.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -70890,6 +75315,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Status + * @function getTypeUrl + * @memberof google.rpc.Status + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Status.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.rpc.Status"; + }; + return Status; })(); diff --git a/packages/google-cloud-talent/protos/protos.json b/packages/google-cloud-talent/protos/protos.json index 4e747c810e5..5cd5ccba005 100644 --- a/packages/google-cloud-talent/protos/protos.json +++ b/packages/google-cloud-talent/protos/protos.json @@ -6602,6 +6602,10 @@ "syntax": { "type": "string", "id": 12 + }, + "edition": { + "type": "string", + "id": 13 } } }, @@ -7130,6 +7134,13 @@ "default": false } }, + "unverifiedLazy": { + "type": "bool", + "id": 15, + "options": { + "default": false + } + }, "deprecated": { "type": "bool", "id": 3, @@ -7422,6 +7433,19 @@ "end": { "type": "int32", "id": 4 + }, + "semantic": { + "type": "Semantic", + "id": 5 + } + }, + "nested": { + "Semantic": { + "values": { + "NONE": 0, + "SET": 1, + "ALIAS": 2 + } } } }