// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. import type {protobuf as $protobuf} from "google-gax"; import Long = require("long"); /** Namespace google. */ export namespace google { /** Namespace cloud. */ namespace cloud { /** Namespace talent. */ namespace talent { /** Namespace v4. */ namespace v4 { /** Properties of a TimestampRange. */ interface ITimestampRange { /** TimestampRange startTime */ startTime?: (google.protobuf.ITimestamp|null); /** TimestampRange endTime */ endTime?: (google.protobuf.ITimestamp|null); } /** Represents a TimestampRange. */ class TimestampRange implements ITimestampRange { /** * Constructs a new TimestampRange. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.ITimestampRange); /** TimestampRange startTime. */ public startTime?: (google.protobuf.ITimestamp|null); /** TimestampRange endTime. */ public endTime?: (google.protobuf.ITimestamp|null); /** * Creates a new TimestampRange instance using the specified properties. * @param [properties] Properties to set * @returns TimestampRange instance */ public static create(properties?: google.cloud.talent.v4.ITimestampRange): google.cloud.talent.v4.TimestampRange; /** * Encodes the specified TimestampRange message. Does not implicitly {@link google.cloud.talent.v4.TimestampRange.verify|verify} messages. * @param message TimestampRange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.ITimestampRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TimestampRange message, length delimited. Does not implicitly {@link google.cloud.talent.v4.TimestampRange.verify|verify} messages. * @param message TimestampRange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.ITimestampRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TimestampRange message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TimestampRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.TimestampRange; /** * Decodes a TimestampRange message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TimestampRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.TimestampRange; /** * Verifies a TimestampRange message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TimestampRange message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TimestampRange */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.TimestampRange; /** * Creates a plain object from a TimestampRange message. Also converts values to other types if specified. * @param message TimestampRange * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.TimestampRange, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TimestampRange to JSON. * @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. */ enum CompanySize { COMPANY_SIZE_UNSPECIFIED = 0, MINI = 1, SMALL = 2, SMEDIUM = 3, MEDIUM = 4, BIG = 5, BIGGER = 6, GIANT = 7 } /** JobBenefit enum. */ enum JobBenefit { JOB_BENEFIT_UNSPECIFIED = 0, CHILD_CARE = 1, DENTAL = 2, DOMESTIC_PARTNER = 3, FLEXIBLE_HOURS = 4, MEDICAL = 5, LIFE_INSURANCE = 6, PARENTAL_LEAVE = 7, RETIREMENT_PLAN = 8, SICK_DAYS = 9, VACATION = 10, VISION = 11 } /** DegreeType enum. */ enum DegreeType { DEGREE_TYPE_UNSPECIFIED = 0, PRIMARY_EDUCATION = 1, LOWER_SECONDARY_EDUCATION = 2, UPPER_SECONDARY_EDUCATION = 3, ADULT_REMEDIAL_EDUCATION = 4, ASSOCIATES_OR_EQUIVALENT = 5, BACHELORS_OR_EQUIVALENT = 6, MASTERS_OR_EQUIVALENT = 7, DOCTORAL_OR_EQUIVALENT = 8 } /** EmploymentType enum. */ enum EmploymentType { EMPLOYMENT_TYPE_UNSPECIFIED = 0, FULL_TIME = 1, PART_TIME = 2, CONTRACTOR = 3, CONTRACT_TO_HIRE = 4, TEMPORARY = 5, INTERN = 6, VOLUNTEER = 7, PER_DIEM = 8, FLY_IN_FLY_OUT = 9, OTHER_EMPLOYMENT_TYPE = 10 } /** JobLevel enum. */ enum JobLevel { JOB_LEVEL_UNSPECIFIED = 0, ENTRY_LEVEL = 1, EXPERIENCED = 2, MANAGER = 3, DIRECTOR = 4, EXECUTIVE = 5 } /** JobCategory enum. */ enum JobCategory { JOB_CATEGORY_UNSPECIFIED = 0, ACCOUNTING_AND_FINANCE = 1, ADMINISTRATIVE_AND_OFFICE = 2, ADVERTISING_AND_MARKETING = 3, ANIMAL_CARE = 4, ART_FASHION_AND_DESIGN = 5, BUSINESS_OPERATIONS = 6, CLEANING_AND_FACILITIES = 7, COMPUTER_AND_IT = 8, CONSTRUCTION = 9, CUSTOMER_SERVICE = 10, EDUCATION = 11, ENTERTAINMENT_AND_TRAVEL = 12, FARMING_AND_OUTDOORS = 13, HEALTHCARE = 14, HUMAN_RESOURCES = 15, INSTALLATION_MAINTENANCE_AND_REPAIR = 16, LEGAL = 17, MANAGEMENT = 18, MANUFACTURING_AND_WAREHOUSE = 19, MEDIA_COMMUNICATIONS_AND_WRITING = 20, OIL_GAS_AND_MINING = 21, PERSONAL_CARE_AND_SERVICES = 22, PROTECTIVE_SERVICES = 23, REAL_ESTATE = 24, RESTAURANT_AND_HOSPITALITY = 25, SALES_AND_RETAIL = 26, SCIENCE_AND_ENGINEERING = 27, SOCIAL_SERVICES_AND_NON_PROFIT = 28, SPORTS_FITNESS_AND_RECREATION = 29, TRANSPORTATION_AND_LOGISTICS = 30 } /** PostingRegion enum. */ enum PostingRegion { POSTING_REGION_UNSPECIFIED = 0, ADMINISTRATIVE_AREA = 1, NATION = 2, TELECOMMUTE = 3 } /** Visibility enum. */ enum Visibility { VISIBILITY_UNSPECIFIED = 0, ACCOUNT_ONLY = 1, SHARED_WITH_GOOGLE = 2, SHARED_WITH_PUBLIC = 3 } /** HtmlSanitization enum. */ enum HtmlSanitization { HTML_SANITIZATION_UNSPECIFIED = 0, HTML_SANITIZATION_DISABLED = 1, SIMPLE_FORMATTING_ONLY = 2 } /** CommuteMethod enum. */ enum CommuteMethod { COMMUTE_METHOD_UNSPECIFIED = 0, DRIVING = 1, TRANSIT = 2, WALKING = 3, CYCLING = 4, TRANSIT_ACCESSIBLE = 5 } /** Properties of a Location. */ interface ILocation { /** Location locationType */ locationType?: (google.cloud.talent.v4.Location.LocationType|keyof typeof google.cloud.talent.v4.Location.LocationType|null); /** Location postalAddress */ postalAddress?: (google.type.IPostalAddress|null); /** Location latLng */ latLng?: (google.type.ILatLng|null); /** Location radiusMiles */ radiusMiles?: (number|null); } /** Represents a Location. */ class Location implements ILocation { /** * Constructs a new Location. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.ILocation); /** Location locationType. */ public locationType: (google.cloud.talent.v4.Location.LocationType|keyof typeof google.cloud.talent.v4.Location.LocationType); /** Location postalAddress. */ public postalAddress?: (google.type.IPostalAddress|null); /** Location latLng. */ public latLng?: (google.type.ILatLng|null); /** Location radiusMiles. */ public radiusMiles: number; /** * Creates a new Location instance using the specified properties. * @param [properties] Properties to set * @returns Location instance */ public static create(properties?: google.cloud.talent.v4.ILocation): google.cloud.talent.v4.Location; /** * Encodes the specified Location message. Does not implicitly {@link google.cloud.talent.v4.Location.verify|verify} messages. * @param message Location message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.ILocation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Location message, length delimited. Does not implicitly {@link google.cloud.talent.v4.Location.verify|verify} messages. * @param message Location message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.ILocation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Location message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Location * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.Location; /** * Decodes a Location message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Location * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.Location; /** * Verifies a Location message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Location message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Location */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.Location; /** * Creates a plain object from a Location message. Also converts values to other types if specified. * @param message Location * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.Location, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Location to JSON. * @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 { /** LocationType enum. */ enum LocationType { LOCATION_TYPE_UNSPECIFIED = 0, COUNTRY = 1, ADMINISTRATIVE_AREA = 2, SUB_ADMINISTRATIVE_AREA = 3, LOCALITY = 4, POSTAL_CODE = 5, SUB_LOCALITY = 6, SUB_LOCALITY_1 = 7, SUB_LOCALITY_2 = 8, NEIGHBORHOOD = 9, STREET_ADDRESS = 10 } } /** Properties of a RequestMetadata. */ interface IRequestMetadata { /** RequestMetadata domain */ domain?: (string|null); /** RequestMetadata sessionId */ sessionId?: (string|null); /** RequestMetadata userId */ userId?: (string|null); /** RequestMetadata allowMissingIds */ allowMissingIds?: (boolean|null); /** RequestMetadata deviceInfo */ deviceInfo?: (google.cloud.talent.v4.IDeviceInfo|null); } /** Represents a RequestMetadata. */ class RequestMetadata implements IRequestMetadata { /** * Constructs a new RequestMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IRequestMetadata); /** RequestMetadata domain. */ public domain: string; /** RequestMetadata sessionId. */ public sessionId: string; /** RequestMetadata userId. */ public userId: string; /** RequestMetadata allowMissingIds. */ public allowMissingIds: boolean; /** RequestMetadata deviceInfo. */ public deviceInfo?: (google.cloud.talent.v4.IDeviceInfo|null); /** * Creates a new RequestMetadata instance using the specified properties. * @param [properties] Properties to set * @returns RequestMetadata instance */ public static create(properties?: google.cloud.talent.v4.IRequestMetadata): google.cloud.talent.v4.RequestMetadata; /** * Encodes the specified RequestMetadata message. Does not implicitly {@link google.cloud.talent.v4.RequestMetadata.verify|verify} messages. * @param message RequestMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IRequestMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RequestMetadata message, length delimited. Does not implicitly {@link google.cloud.talent.v4.RequestMetadata.verify|verify} messages. * @param message RequestMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IRequestMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RequestMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RequestMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.RequestMetadata; /** * Decodes a RequestMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RequestMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.RequestMetadata; /** * Verifies a RequestMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RequestMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RequestMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.RequestMetadata; /** * Creates a plain object from a RequestMetadata message. Also converts values to other types if specified. * @param message RequestMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.RequestMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RequestMetadata to JSON. * @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. */ interface IResponseMetadata { /** ResponseMetadata requestId */ requestId?: (string|null); } /** Represents a ResponseMetadata. */ class ResponseMetadata implements IResponseMetadata { /** * Constructs a new ResponseMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IResponseMetadata); /** ResponseMetadata requestId. */ public requestId: string; /** * Creates a new ResponseMetadata instance using the specified properties. * @param [properties] Properties to set * @returns ResponseMetadata instance */ public static create(properties?: google.cloud.talent.v4.IResponseMetadata): google.cloud.talent.v4.ResponseMetadata; /** * Encodes the specified ResponseMetadata message. Does not implicitly {@link google.cloud.talent.v4.ResponseMetadata.verify|verify} messages. * @param message ResponseMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IResponseMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ResponseMetadata message, length delimited. Does not implicitly {@link google.cloud.talent.v4.ResponseMetadata.verify|verify} messages. * @param message ResponseMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IResponseMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ResponseMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ResponseMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.ResponseMetadata; /** * Decodes a ResponseMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ResponseMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.ResponseMetadata; /** * Verifies a ResponseMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ResponseMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ResponseMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.ResponseMetadata; /** * Creates a plain object from a ResponseMetadata message. Also converts values to other types if specified. * @param message ResponseMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.ResponseMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ResponseMetadata to JSON. * @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. */ interface IDeviceInfo { /** DeviceInfo deviceType */ deviceType?: (google.cloud.talent.v4.DeviceInfo.DeviceType|keyof typeof google.cloud.talent.v4.DeviceInfo.DeviceType|null); /** DeviceInfo id */ id?: (string|null); } /** Represents a DeviceInfo. */ class DeviceInfo implements IDeviceInfo { /** * Constructs a new DeviceInfo. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IDeviceInfo); /** DeviceInfo deviceType. */ public deviceType: (google.cloud.talent.v4.DeviceInfo.DeviceType|keyof typeof google.cloud.talent.v4.DeviceInfo.DeviceType); /** DeviceInfo id. */ public id: string; /** * Creates a new DeviceInfo instance using the specified properties. * @param [properties] Properties to set * @returns DeviceInfo instance */ public static create(properties?: google.cloud.talent.v4.IDeviceInfo): google.cloud.talent.v4.DeviceInfo; /** * Encodes the specified DeviceInfo message. Does not implicitly {@link google.cloud.talent.v4.DeviceInfo.verify|verify} messages. * @param message DeviceInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IDeviceInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeviceInfo message, length delimited. Does not implicitly {@link google.cloud.talent.v4.DeviceInfo.verify|verify} messages. * @param message DeviceInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IDeviceInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeviceInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeviceInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.DeviceInfo; /** * Decodes a DeviceInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeviceInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.DeviceInfo; /** * Verifies a DeviceInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeviceInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeviceInfo */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.DeviceInfo; /** * Creates a plain object from a DeviceInfo message. Also converts values to other types if specified. * @param message DeviceInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.DeviceInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeviceInfo to JSON. * @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 { /** DeviceType enum. */ enum DeviceType { DEVICE_TYPE_UNSPECIFIED = 0, WEB = 1, MOBILE_WEB = 2, ANDROID = 3, IOS = 4, BOT = 5, OTHER = 6 } } /** Properties of a CustomAttribute. */ interface ICustomAttribute { /** CustomAttribute stringValues */ stringValues?: (string[]|null); /** CustomAttribute longValues */ longValues?: ((number|Long|string)[]|null); /** CustomAttribute filterable */ filterable?: (boolean|null); /** CustomAttribute keywordSearchable */ keywordSearchable?: (boolean|null); } /** Represents a CustomAttribute. */ class CustomAttribute implements ICustomAttribute { /** * Constructs a new CustomAttribute. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.ICustomAttribute); /** CustomAttribute stringValues. */ public stringValues: string[]; /** CustomAttribute longValues. */ public longValues: (number|Long|string)[]; /** CustomAttribute filterable. */ public filterable: boolean; /** CustomAttribute keywordSearchable. */ public keywordSearchable: boolean; /** * Creates a new CustomAttribute instance using the specified properties. * @param [properties] Properties to set * @returns CustomAttribute instance */ public static create(properties?: google.cloud.talent.v4.ICustomAttribute): google.cloud.talent.v4.CustomAttribute; /** * Encodes the specified CustomAttribute message. Does not implicitly {@link google.cloud.talent.v4.CustomAttribute.verify|verify} messages. * @param message CustomAttribute message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.ICustomAttribute, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CustomAttribute message, length delimited. Does not implicitly {@link google.cloud.talent.v4.CustomAttribute.verify|verify} messages. * @param message CustomAttribute message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.ICustomAttribute, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CustomAttribute message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CustomAttribute * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.CustomAttribute; /** * Decodes a CustomAttribute message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CustomAttribute * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.CustomAttribute; /** * Verifies a CustomAttribute message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CustomAttribute message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CustomAttribute */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.CustomAttribute; /** * Creates a plain object from a CustomAttribute message. Also converts values to other types if specified. * @param message CustomAttribute * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.CustomAttribute, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CustomAttribute to JSON. * @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. */ interface ISpellingCorrection { /** SpellingCorrection corrected */ corrected?: (boolean|null); /** SpellingCorrection correctedText */ correctedText?: (string|null); /** SpellingCorrection correctedHtml */ correctedHtml?: (string|null); } /** Represents a SpellingCorrection. */ class SpellingCorrection implements ISpellingCorrection { /** * Constructs a new SpellingCorrection. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.ISpellingCorrection); /** SpellingCorrection corrected. */ public corrected: boolean; /** SpellingCorrection correctedText. */ public correctedText: string; /** SpellingCorrection correctedHtml. */ public correctedHtml: string; /** * Creates a new SpellingCorrection instance using the specified properties. * @param [properties] Properties to set * @returns SpellingCorrection instance */ public static create(properties?: google.cloud.talent.v4.ISpellingCorrection): google.cloud.talent.v4.SpellingCorrection; /** * Encodes the specified SpellingCorrection message. Does not implicitly {@link google.cloud.talent.v4.SpellingCorrection.verify|verify} messages. * @param message SpellingCorrection message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.ISpellingCorrection, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SpellingCorrection message, length delimited. Does not implicitly {@link google.cloud.talent.v4.SpellingCorrection.verify|verify} messages. * @param message SpellingCorrection message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.ISpellingCorrection, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SpellingCorrection message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SpellingCorrection * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.SpellingCorrection; /** * Decodes a SpellingCorrection message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SpellingCorrection * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.SpellingCorrection; /** * Verifies a SpellingCorrection message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SpellingCorrection message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SpellingCorrection */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.SpellingCorrection; /** * Creates a plain object from a SpellingCorrection message. Also converts values to other types if specified. * @param message SpellingCorrection * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.SpellingCorrection, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SpellingCorrection to JSON. * @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. */ interface ICompensationInfo { /** CompensationInfo entries */ entries?: (google.cloud.talent.v4.CompensationInfo.ICompensationEntry[]|null); /** CompensationInfo annualizedBaseCompensationRange */ annualizedBaseCompensationRange?: (google.cloud.talent.v4.CompensationInfo.ICompensationRange|null); /** CompensationInfo annualizedTotalCompensationRange */ annualizedTotalCompensationRange?: (google.cloud.talent.v4.CompensationInfo.ICompensationRange|null); } /** Represents a CompensationInfo. */ class CompensationInfo implements ICompensationInfo { /** * Constructs a new CompensationInfo. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.ICompensationInfo); /** CompensationInfo entries. */ public entries: google.cloud.talent.v4.CompensationInfo.ICompensationEntry[]; /** CompensationInfo annualizedBaseCompensationRange. */ public annualizedBaseCompensationRange?: (google.cloud.talent.v4.CompensationInfo.ICompensationRange|null); /** CompensationInfo annualizedTotalCompensationRange. */ public annualizedTotalCompensationRange?: (google.cloud.talent.v4.CompensationInfo.ICompensationRange|null); /** * Creates a new CompensationInfo instance using the specified properties. * @param [properties] Properties to set * @returns CompensationInfo instance */ public static create(properties?: google.cloud.talent.v4.ICompensationInfo): google.cloud.talent.v4.CompensationInfo; /** * Encodes the specified CompensationInfo message. Does not implicitly {@link google.cloud.talent.v4.CompensationInfo.verify|verify} messages. * @param message CompensationInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.ICompensationInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CompensationInfo message, length delimited. Does not implicitly {@link google.cloud.talent.v4.CompensationInfo.verify|verify} messages. * @param message CompensationInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.ICompensationInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CompensationInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CompensationInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.CompensationInfo; /** * Decodes a CompensationInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CompensationInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.CompensationInfo; /** * Verifies a CompensationInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CompensationInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CompensationInfo */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.CompensationInfo; /** * Creates a plain object from a CompensationInfo message. Also converts values to other types if specified. * @param message CompensationInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.CompensationInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CompensationInfo to JSON. * @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 { /** Properties of a CompensationEntry. */ interface ICompensationEntry { /** CompensationEntry type */ type?: (google.cloud.talent.v4.CompensationInfo.CompensationType|keyof typeof google.cloud.talent.v4.CompensationInfo.CompensationType|null); /** CompensationEntry unit */ unit?: (google.cloud.talent.v4.CompensationInfo.CompensationUnit|keyof typeof google.cloud.talent.v4.CompensationInfo.CompensationUnit|null); /** CompensationEntry amount */ amount?: (google.type.IMoney|null); /** CompensationEntry range */ range?: (google.cloud.talent.v4.CompensationInfo.ICompensationRange|null); /** CompensationEntry description */ description?: (string|null); /** CompensationEntry expectedUnitsPerYear */ expectedUnitsPerYear?: (google.protobuf.IDoubleValue|null); } /** Represents a CompensationEntry. */ class CompensationEntry implements ICompensationEntry { /** * Constructs a new CompensationEntry. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.CompensationInfo.ICompensationEntry); /** CompensationEntry type. */ public type: (google.cloud.talent.v4.CompensationInfo.CompensationType|keyof typeof google.cloud.talent.v4.CompensationInfo.CompensationType); /** CompensationEntry unit. */ public unit: (google.cloud.talent.v4.CompensationInfo.CompensationUnit|keyof typeof google.cloud.talent.v4.CompensationInfo.CompensationUnit); /** CompensationEntry amount. */ public amount?: (google.type.IMoney|null); /** CompensationEntry range. */ public range?: (google.cloud.talent.v4.CompensationInfo.ICompensationRange|null); /** CompensationEntry description. */ public description: string; /** CompensationEntry expectedUnitsPerYear. */ public expectedUnitsPerYear?: (google.protobuf.IDoubleValue|null); /** CompensationEntry compensationAmount. */ public compensationAmount?: ("amount"|"range"); /** * Creates a new CompensationEntry instance using the specified properties. * @param [properties] Properties to set * @returns CompensationEntry instance */ public static create(properties?: google.cloud.talent.v4.CompensationInfo.ICompensationEntry): google.cloud.talent.v4.CompensationInfo.CompensationEntry; /** * Encodes the specified CompensationEntry message. Does not implicitly {@link google.cloud.talent.v4.CompensationInfo.CompensationEntry.verify|verify} messages. * @param message CompensationEntry message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.CompensationInfo.ICompensationEntry, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CompensationEntry message, length delimited. Does not implicitly {@link google.cloud.talent.v4.CompensationInfo.CompensationEntry.verify|verify} messages. * @param message CompensationEntry message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.CompensationInfo.ICompensationEntry, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CompensationEntry message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CompensationEntry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.CompensationInfo.CompensationEntry; /** * Decodes a CompensationEntry message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CompensationEntry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.CompensationInfo.CompensationEntry; /** * Verifies a CompensationEntry message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CompensationEntry message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CompensationEntry */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.CompensationInfo.CompensationEntry; /** * Creates a plain object from a CompensationEntry message. Also converts values to other types if specified. * @param message CompensationEntry * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.CompensationInfo.CompensationEntry, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CompensationEntry to JSON. * @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. */ enum CompensationType { COMPENSATION_TYPE_UNSPECIFIED = 0, BASE = 1, BONUS = 2, SIGNING_BONUS = 3, EQUITY = 4, PROFIT_SHARING = 5, COMMISSIONS = 6, TIPS = 7, OTHER_COMPENSATION_TYPE = 8 } /** CompensationUnit enum. */ enum CompensationUnit { COMPENSATION_UNIT_UNSPECIFIED = 0, HOURLY = 1, DAILY = 2, WEEKLY = 3, MONTHLY = 4, YEARLY = 5, ONE_TIME = 6, OTHER_COMPENSATION_UNIT = 7 } /** Properties of a CompensationRange. */ interface ICompensationRange { /** CompensationRange maxCompensation */ maxCompensation?: (google.type.IMoney|null); /** CompensationRange minCompensation */ minCompensation?: (google.type.IMoney|null); } /** Represents a CompensationRange. */ class CompensationRange implements ICompensationRange { /** * Constructs a new CompensationRange. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.CompensationInfo.ICompensationRange); /** CompensationRange maxCompensation. */ public maxCompensation?: (google.type.IMoney|null); /** CompensationRange minCompensation. */ public minCompensation?: (google.type.IMoney|null); /** * Creates a new CompensationRange instance using the specified properties. * @param [properties] Properties to set * @returns CompensationRange instance */ public static create(properties?: google.cloud.talent.v4.CompensationInfo.ICompensationRange): google.cloud.talent.v4.CompensationInfo.CompensationRange; /** * Encodes the specified CompensationRange message. Does not implicitly {@link google.cloud.talent.v4.CompensationInfo.CompensationRange.verify|verify} messages. * @param message CompensationRange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.CompensationInfo.ICompensationRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CompensationRange message, length delimited. Does not implicitly {@link google.cloud.talent.v4.CompensationInfo.CompensationRange.verify|verify} messages. * @param message CompensationRange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.CompensationInfo.ICompensationRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CompensationRange message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CompensationRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.CompensationInfo.CompensationRange; /** * Decodes a CompensationRange message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CompensationRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.CompensationInfo.CompensationRange; /** * Verifies a CompensationRange message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CompensationRange message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CompensationRange */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.CompensationInfo.CompensationRange; /** * Creates a plain object from a CompensationRange message. Also converts values to other types if specified. * @param message CompensationRange * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.CompensationInfo.CompensationRange, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CompensationRange to JSON. * @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; } } /** Properties of a BatchOperationMetadata. */ interface IBatchOperationMetadata { /** BatchOperationMetadata state */ state?: (google.cloud.talent.v4.BatchOperationMetadata.State|keyof typeof google.cloud.talent.v4.BatchOperationMetadata.State|null); /** BatchOperationMetadata stateDescription */ stateDescription?: (string|null); /** BatchOperationMetadata successCount */ successCount?: (number|null); /** BatchOperationMetadata failureCount */ failureCount?: (number|null); /** BatchOperationMetadata totalCount */ totalCount?: (number|null); /** BatchOperationMetadata createTime */ createTime?: (google.protobuf.ITimestamp|null); /** BatchOperationMetadata updateTime */ updateTime?: (google.protobuf.ITimestamp|null); /** BatchOperationMetadata endTime */ endTime?: (google.protobuf.ITimestamp|null); } /** Represents a BatchOperationMetadata. */ class BatchOperationMetadata implements IBatchOperationMetadata { /** * Constructs a new BatchOperationMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IBatchOperationMetadata); /** BatchOperationMetadata state. */ public state: (google.cloud.talent.v4.BatchOperationMetadata.State|keyof typeof google.cloud.talent.v4.BatchOperationMetadata.State); /** BatchOperationMetadata stateDescription. */ public stateDescription: string; /** BatchOperationMetadata successCount. */ public successCount: number; /** BatchOperationMetadata failureCount. */ public failureCount: number; /** BatchOperationMetadata totalCount. */ public totalCount: number; /** BatchOperationMetadata createTime. */ public createTime?: (google.protobuf.ITimestamp|null); /** BatchOperationMetadata updateTime. */ public updateTime?: (google.protobuf.ITimestamp|null); /** BatchOperationMetadata endTime. */ public endTime?: (google.protobuf.ITimestamp|null); /** * Creates a new BatchOperationMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BatchOperationMetadata instance */ public static create(properties?: google.cloud.talent.v4.IBatchOperationMetadata): google.cloud.talent.v4.BatchOperationMetadata; /** * Encodes the specified BatchOperationMetadata message. Does not implicitly {@link google.cloud.talent.v4.BatchOperationMetadata.verify|verify} messages. * @param message BatchOperationMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IBatchOperationMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BatchOperationMetadata message, length delimited. Does not implicitly {@link google.cloud.talent.v4.BatchOperationMetadata.verify|verify} messages. * @param message BatchOperationMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IBatchOperationMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BatchOperationMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BatchOperationMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.BatchOperationMetadata; /** * Decodes a BatchOperationMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BatchOperationMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.BatchOperationMetadata; /** * Verifies a BatchOperationMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BatchOperationMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BatchOperationMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.BatchOperationMetadata; /** * Creates a plain object from a BatchOperationMetadata message. Also converts values to other types if specified. * @param message BatchOperationMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.BatchOperationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BatchOperationMetadata to JSON. * @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 { /** State enum. */ enum State { STATE_UNSPECIFIED = 0, INITIALIZING = 1, PROCESSING = 2, SUCCEEDED = 3, FAILED = 4, CANCELLING = 5, CANCELLED = 6 } } /** Properties of a Company. */ interface ICompany { /** Company name */ name?: (string|null); /** Company displayName */ displayName?: (string|null); /** Company externalId */ externalId?: (string|null); /** Company size */ size?: (google.cloud.talent.v4.CompanySize|keyof typeof google.cloud.talent.v4.CompanySize|null); /** Company headquartersAddress */ headquartersAddress?: (string|null); /** Company hiringAgency */ hiringAgency?: (boolean|null); /** Company eeoText */ eeoText?: (string|null); /** Company websiteUri */ websiteUri?: (string|null); /** Company careerSiteUri */ careerSiteUri?: (string|null); /** Company imageUri */ imageUri?: (string|null); /** Company keywordSearchableJobCustomAttributes */ keywordSearchableJobCustomAttributes?: (string[]|null); /** Company derivedInfo */ derivedInfo?: (google.cloud.talent.v4.Company.IDerivedInfo|null); /** Company suspended */ suspended?: (boolean|null); } /** Represents a Company. */ class Company implements ICompany { /** * Constructs a new Company. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.ICompany); /** Company name. */ public name: string; /** Company displayName. */ public displayName: string; /** Company externalId. */ public externalId: string; /** Company size. */ public size: (google.cloud.talent.v4.CompanySize|keyof typeof google.cloud.talent.v4.CompanySize); /** Company headquartersAddress. */ public headquartersAddress: string; /** Company hiringAgency. */ public hiringAgency: boolean; /** Company eeoText. */ public eeoText: string; /** Company websiteUri. */ public websiteUri: string; /** Company careerSiteUri. */ public careerSiteUri: string; /** Company imageUri. */ public imageUri: string; /** Company keywordSearchableJobCustomAttributes. */ public keywordSearchableJobCustomAttributes: string[]; /** Company derivedInfo. */ public derivedInfo?: (google.cloud.talent.v4.Company.IDerivedInfo|null); /** Company suspended. */ public suspended: boolean; /** * Creates a new Company instance using the specified properties. * @param [properties] Properties to set * @returns Company instance */ public static create(properties?: google.cloud.talent.v4.ICompany): google.cloud.talent.v4.Company; /** * Encodes the specified Company message. Does not implicitly {@link google.cloud.talent.v4.Company.verify|verify} messages. * @param message Company message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.ICompany, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Company message, length delimited. Does not implicitly {@link google.cloud.talent.v4.Company.verify|verify} messages. * @param message Company message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.ICompany, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Company message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Company * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.Company; /** * Decodes a Company message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Company * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.Company; /** * Verifies a Company message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Company message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Company */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.Company; /** * Creates a plain object from a Company message. Also converts values to other types if specified. * @param message Company * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.Company, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Company to JSON. * @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 { /** Properties of a DerivedInfo. */ interface IDerivedInfo { /** DerivedInfo headquartersLocation */ headquartersLocation?: (google.cloud.talent.v4.ILocation|null); } /** Represents a DerivedInfo. */ class DerivedInfo implements IDerivedInfo { /** * Constructs a new DerivedInfo. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.Company.IDerivedInfo); /** DerivedInfo headquartersLocation. */ public headquartersLocation?: (google.cloud.talent.v4.ILocation|null); /** * Creates a new DerivedInfo instance using the specified properties. * @param [properties] Properties to set * @returns DerivedInfo instance */ public static create(properties?: google.cloud.talent.v4.Company.IDerivedInfo): google.cloud.talent.v4.Company.DerivedInfo; /** * Encodes the specified DerivedInfo message. Does not implicitly {@link google.cloud.talent.v4.Company.DerivedInfo.verify|verify} messages. * @param message DerivedInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.Company.IDerivedInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DerivedInfo message, length delimited. Does not implicitly {@link google.cloud.talent.v4.Company.DerivedInfo.verify|verify} messages. * @param message DerivedInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.Company.IDerivedInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DerivedInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DerivedInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.Company.DerivedInfo; /** * Decodes a DerivedInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DerivedInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.Company.DerivedInfo; /** * Verifies a DerivedInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DerivedInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DerivedInfo */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.Company.DerivedInfo; /** * Creates a plain object from a DerivedInfo message. Also converts values to other types if specified. * @param message DerivedInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.Company.DerivedInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DerivedInfo to JSON. * @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; } } /** Represents a CompanyService */ class CompanyService extends $protobuf.rpc.Service { /** * Constructs a new CompanyService service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Creates new CompanyService service using the specified rpc implementation. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited * @returns RPC service. Useful where requests and/or responses are streamed. */ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): CompanyService; /** * Calls CreateCompany. * @param request CreateCompanyRequest message or plain object * @param callback Node-style callback called with the error, if any, and Company */ public createCompany(request: google.cloud.talent.v4.ICreateCompanyRequest, callback: google.cloud.talent.v4.CompanyService.CreateCompanyCallback): void; /** * Calls CreateCompany. * @param request CreateCompanyRequest message or plain object * @returns Promise */ public createCompany(request: google.cloud.talent.v4.ICreateCompanyRequest): Promise; /** * Calls GetCompany. * @param request GetCompanyRequest message or plain object * @param callback Node-style callback called with the error, if any, and Company */ public getCompany(request: google.cloud.talent.v4.IGetCompanyRequest, callback: google.cloud.talent.v4.CompanyService.GetCompanyCallback): void; /** * Calls GetCompany. * @param request GetCompanyRequest message or plain object * @returns Promise */ public getCompany(request: google.cloud.talent.v4.IGetCompanyRequest): Promise; /** * Calls UpdateCompany. * @param request UpdateCompanyRequest message or plain object * @param callback Node-style callback called with the error, if any, and Company */ public updateCompany(request: google.cloud.talent.v4.IUpdateCompanyRequest, callback: google.cloud.talent.v4.CompanyService.UpdateCompanyCallback): void; /** * Calls UpdateCompany. * @param request UpdateCompanyRequest message or plain object * @returns Promise */ public updateCompany(request: google.cloud.talent.v4.IUpdateCompanyRequest): Promise; /** * Calls DeleteCompany. * @param request DeleteCompanyRequest message or plain object * @param callback Node-style callback called with the error, if any, and Empty */ public deleteCompany(request: google.cloud.talent.v4.IDeleteCompanyRequest, callback: google.cloud.talent.v4.CompanyService.DeleteCompanyCallback): void; /** * Calls DeleteCompany. * @param request DeleteCompanyRequest message or plain object * @returns Promise */ public deleteCompany(request: google.cloud.talent.v4.IDeleteCompanyRequest): Promise; /** * Calls ListCompanies. * @param request ListCompaniesRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListCompaniesResponse */ public listCompanies(request: google.cloud.talent.v4.IListCompaniesRequest, callback: google.cloud.talent.v4.CompanyService.ListCompaniesCallback): void; /** * Calls ListCompanies. * @param request ListCompaniesRequest message or plain object * @returns Promise */ public listCompanies(request: google.cloud.talent.v4.IListCompaniesRequest): Promise; } namespace CompanyService { /** * 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}. * @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}. * @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}. * @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}. * @param error Error, if any * @param [response] ListCompaniesResponse */ type ListCompaniesCallback = (error: (Error|null), response?: google.cloud.talent.v4.ListCompaniesResponse) => void; } /** Properties of a CreateCompanyRequest. */ interface ICreateCompanyRequest { /** CreateCompanyRequest parent */ parent?: (string|null); /** CreateCompanyRequest company */ company?: (google.cloud.talent.v4.ICompany|null); } /** Represents a CreateCompanyRequest. */ class CreateCompanyRequest implements ICreateCompanyRequest { /** * Constructs a new CreateCompanyRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.ICreateCompanyRequest); /** CreateCompanyRequest parent. */ public parent: string; /** CreateCompanyRequest company. */ public company?: (google.cloud.talent.v4.ICompany|null); /** * Creates a new CreateCompanyRequest instance using the specified properties. * @param [properties] Properties to set * @returns CreateCompanyRequest instance */ public static create(properties?: google.cloud.talent.v4.ICreateCompanyRequest): google.cloud.talent.v4.CreateCompanyRequest; /** * Encodes the specified CreateCompanyRequest message. Does not implicitly {@link google.cloud.talent.v4.CreateCompanyRequest.verify|verify} messages. * @param message CreateCompanyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.ICreateCompanyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CreateCompanyRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4.CreateCompanyRequest.verify|verify} messages. * @param message CreateCompanyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.ICreateCompanyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CreateCompanyRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CreateCompanyRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.CreateCompanyRequest; /** * Decodes a CreateCompanyRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CreateCompanyRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.CreateCompanyRequest; /** * Verifies a CreateCompanyRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CreateCompanyRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CreateCompanyRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.CreateCompanyRequest; /** * Creates a plain object from a CreateCompanyRequest message. Also converts values to other types if specified. * @param message CreateCompanyRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.CreateCompanyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CreateCompanyRequest to JSON. * @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. */ interface IGetCompanyRequest { /** GetCompanyRequest name */ name?: (string|null); } /** Represents a GetCompanyRequest. */ class GetCompanyRequest implements IGetCompanyRequest { /** * Constructs a new GetCompanyRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IGetCompanyRequest); /** GetCompanyRequest name. */ public name: string; /** * Creates a new GetCompanyRequest instance using the specified properties. * @param [properties] Properties to set * @returns GetCompanyRequest instance */ public static create(properties?: google.cloud.talent.v4.IGetCompanyRequest): google.cloud.talent.v4.GetCompanyRequest; /** * Encodes the specified GetCompanyRequest message. Does not implicitly {@link google.cloud.talent.v4.GetCompanyRequest.verify|verify} messages. * @param message GetCompanyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IGetCompanyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetCompanyRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4.GetCompanyRequest.verify|verify} messages. * @param message GetCompanyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IGetCompanyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetCompanyRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetCompanyRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.GetCompanyRequest; /** * Decodes a GetCompanyRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetCompanyRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.GetCompanyRequest; /** * Verifies a GetCompanyRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetCompanyRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetCompanyRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.GetCompanyRequest; /** * Creates a plain object from a GetCompanyRequest message. Also converts values to other types if specified. * @param message GetCompanyRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.GetCompanyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetCompanyRequest to JSON. * @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 { /** UpdateCompanyRequest company */ company?: (google.cloud.talent.v4.ICompany|null); /** UpdateCompanyRequest updateMask */ updateMask?: (google.protobuf.IFieldMask|null); } /** Represents an UpdateCompanyRequest. */ class UpdateCompanyRequest implements IUpdateCompanyRequest { /** * Constructs a new UpdateCompanyRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IUpdateCompanyRequest); /** UpdateCompanyRequest company. */ public company?: (google.cloud.talent.v4.ICompany|null); /** UpdateCompanyRequest updateMask. */ public updateMask?: (google.protobuf.IFieldMask|null); /** * Creates a new UpdateCompanyRequest instance using the specified properties. * @param [properties] Properties to set * @returns UpdateCompanyRequest instance */ public static create(properties?: google.cloud.talent.v4.IUpdateCompanyRequest): google.cloud.talent.v4.UpdateCompanyRequest; /** * Encodes the specified UpdateCompanyRequest message. Does not implicitly {@link google.cloud.talent.v4.UpdateCompanyRequest.verify|verify} messages. * @param message UpdateCompanyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IUpdateCompanyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UpdateCompanyRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4.UpdateCompanyRequest.verify|verify} messages. * @param message UpdateCompanyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IUpdateCompanyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UpdateCompanyRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UpdateCompanyRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.UpdateCompanyRequest; /** * Decodes an UpdateCompanyRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UpdateCompanyRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.UpdateCompanyRequest; /** * Verifies an UpdateCompanyRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an UpdateCompanyRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UpdateCompanyRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.UpdateCompanyRequest; /** * Creates a plain object from an UpdateCompanyRequest message. Also converts values to other types if specified. * @param message UpdateCompanyRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.UpdateCompanyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UpdateCompanyRequest to JSON. * @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. */ interface IDeleteCompanyRequest { /** DeleteCompanyRequest name */ name?: (string|null); } /** Represents a DeleteCompanyRequest. */ class DeleteCompanyRequest implements IDeleteCompanyRequest { /** * Constructs a new DeleteCompanyRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IDeleteCompanyRequest); /** DeleteCompanyRequest name. */ public name: string; /** * Creates a new DeleteCompanyRequest instance using the specified properties. * @param [properties] Properties to set * @returns DeleteCompanyRequest instance */ public static create(properties?: google.cloud.talent.v4.IDeleteCompanyRequest): google.cloud.talent.v4.DeleteCompanyRequest; /** * Encodes the specified DeleteCompanyRequest message. Does not implicitly {@link google.cloud.talent.v4.DeleteCompanyRequest.verify|verify} messages. * @param message DeleteCompanyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IDeleteCompanyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteCompanyRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4.DeleteCompanyRequest.verify|verify} messages. * @param message DeleteCompanyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IDeleteCompanyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteCompanyRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteCompanyRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.DeleteCompanyRequest; /** * Decodes a DeleteCompanyRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteCompanyRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.DeleteCompanyRequest; /** * Verifies a DeleteCompanyRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeleteCompanyRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteCompanyRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.DeleteCompanyRequest; /** * Creates a plain object from a DeleteCompanyRequest message. Also converts values to other types if specified. * @param message DeleteCompanyRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.DeleteCompanyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteCompanyRequest to JSON. * @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. */ interface IListCompaniesRequest { /** ListCompaniesRequest parent */ parent?: (string|null); /** ListCompaniesRequest pageToken */ pageToken?: (string|null); /** ListCompaniesRequest pageSize */ pageSize?: (number|null); /** ListCompaniesRequest requireOpenJobs */ requireOpenJobs?: (boolean|null); } /** Represents a ListCompaniesRequest. */ class ListCompaniesRequest implements IListCompaniesRequest { /** * Constructs a new ListCompaniesRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IListCompaniesRequest); /** ListCompaniesRequest parent. */ public parent: string; /** ListCompaniesRequest pageToken. */ public pageToken: string; /** ListCompaniesRequest pageSize. */ public pageSize: number; /** ListCompaniesRequest requireOpenJobs. */ public requireOpenJobs: boolean; /** * Creates a new ListCompaniesRequest instance using the specified properties. * @param [properties] Properties to set * @returns ListCompaniesRequest instance */ public static create(properties?: google.cloud.talent.v4.IListCompaniesRequest): google.cloud.talent.v4.ListCompaniesRequest; /** * Encodes the specified ListCompaniesRequest message. Does not implicitly {@link google.cloud.talent.v4.ListCompaniesRequest.verify|verify} messages. * @param message ListCompaniesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IListCompaniesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListCompaniesRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4.ListCompaniesRequest.verify|verify} messages. * @param message ListCompaniesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IListCompaniesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListCompaniesRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListCompaniesRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.ListCompaniesRequest; /** * Decodes a ListCompaniesRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListCompaniesRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.ListCompaniesRequest; /** * Verifies a ListCompaniesRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListCompaniesRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListCompaniesRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.ListCompaniesRequest; /** * Creates a plain object from a ListCompaniesRequest message. Also converts values to other types if specified. * @param message ListCompaniesRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.ListCompaniesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListCompaniesRequest to JSON. * @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. */ interface IListCompaniesResponse { /** ListCompaniesResponse companies */ companies?: (google.cloud.talent.v4.ICompany[]|null); /** ListCompaniesResponse nextPageToken */ nextPageToken?: (string|null); /** ListCompaniesResponse metadata */ metadata?: (google.cloud.talent.v4.IResponseMetadata|null); } /** Represents a ListCompaniesResponse. */ class ListCompaniesResponse implements IListCompaniesResponse { /** * Constructs a new ListCompaniesResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IListCompaniesResponse); /** ListCompaniesResponse companies. */ public companies: google.cloud.talent.v4.ICompany[]; /** ListCompaniesResponse nextPageToken. */ public nextPageToken: string; /** ListCompaniesResponse metadata. */ public metadata?: (google.cloud.talent.v4.IResponseMetadata|null); /** * Creates a new ListCompaniesResponse instance using the specified properties. * @param [properties] Properties to set * @returns ListCompaniesResponse instance */ public static create(properties?: google.cloud.talent.v4.IListCompaniesResponse): google.cloud.talent.v4.ListCompaniesResponse; /** * Encodes the specified ListCompaniesResponse message. Does not implicitly {@link google.cloud.talent.v4.ListCompaniesResponse.verify|verify} messages. * @param message ListCompaniesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IListCompaniesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListCompaniesResponse message, length delimited. Does not implicitly {@link google.cloud.talent.v4.ListCompaniesResponse.verify|verify} messages. * @param message ListCompaniesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IListCompaniesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListCompaniesResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListCompaniesResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.ListCompaniesResponse; /** * Decodes a ListCompaniesResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListCompaniesResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.ListCompaniesResponse; /** * Verifies a ListCompaniesResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListCompaniesResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListCompaniesResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.ListCompaniesResponse; /** * Creates a plain object from a ListCompaniesResponse message. Also converts values to other types if specified. * @param message ListCompaniesResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.ListCompaniesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListCompaniesResponse to JSON. * @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 */ class Completion extends $protobuf.rpc.Service { /** * Constructs a new Completion service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Creates new Completion service using the specified rpc implementation. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited * @returns RPC service. Useful where requests and/or responses are streamed. */ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Completion; /** * Calls CompleteQuery. * @param request CompleteQueryRequest message or plain object * @param callback Node-style callback called with the error, if any, and CompleteQueryResponse */ public completeQuery(request: google.cloud.talent.v4.ICompleteQueryRequest, callback: google.cloud.talent.v4.Completion.CompleteQueryCallback): void; /** * Calls CompleteQuery. * @param request CompleteQueryRequest message or plain object * @returns Promise */ public completeQuery(request: google.cloud.talent.v4.ICompleteQueryRequest): Promise; } namespace Completion { /** * Callback as used by {@link google.cloud.talent.v4.Completion|completeQuery}. * @param error Error, if any * @param [response] CompleteQueryResponse */ type CompleteQueryCallback = (error: (Error|null), response?: google.cloud.talent.v4.CompleteQueryResponse) => void; } /** Properties of a CompleteQueryRequest. */ interface ICompleteQueryRequest { /** CompleteQueryRequest tenant */ tenant?: (string|null); /** CompleteQueryRequest query */ query?: (string|null); /** CompleteQueryRequest languageCodes */ languageCodes?: (string[]|null); /** CompleteQueryRequest pageSize */ pageSize?: (number|null); /** CompleteQueryRequest company */ company?: (string|null); /** CompleteQueryRequest scope */ scope?: (google.cloud.talent.v4.CompleteQueryRequest.CompletionScope|keyof typeof google.cloud.talent.v4.CompleteQueryRequest.CompletionScope|null); /** CompleteQueryRequest type */ type?: (google.cloud.talent.v4.CompleteQueryRequest.CompletionType|keyof typeof google.cloud.talent.v4.CompleteQueryRequest.CompletionType|null); } /** Represents a CompleteQueryRequest. */ class CompleteQueryRequest implements ICompleteQueryRequest { /** * Constructs a new CompleteQueryRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.ICompleteQueryRequest); /** CompleteQueryRequest tenant. */ public tenant: string; /** CompleteQueryRequest query. */ public query: string; /** CompleteQueryRequest languageCodes. */ public languageCodes: string[]; /** CompleteQueryRequest pageSize. */ public pageSize: number; /** CompleteQueryRequest company. */ public company: string; /** CompleteQueryRequest scope. */ public scope: (google.cloud.talent.v4.CompleteQueryRequest.CompletionScope|keyof typeof google.cloud.talent.v4.CompleteQueryRequest.CompletionScope); /** CompleteQueryRequest type. */ public type: (google.cloud.talent.v4.CompleteQueryRequest.CompletionType|keyof typeof google.cloud.talent.v4.CompleteQueryRequest.CompletionType); /** * Creates a new CompleteQueryRequest instance using the specified properties. * @param [properties] Properties to set * @returns CompleteQueryRequest instance */ public static create(properties?: google.cloud.talent.v4.ICompleteQueryRequest): google.cloud.talent.v4.CompleteQueryRequest; /** * Encodes the specified CompleteQueryRequest message. Does not implicitly {@link google.cloud.talent.v4.CompleteQueryRequest.verify|verify} messages. * @param message CompleteQueryRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.ICompleteQueryRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CompleteQueryRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4.CompleteQueryRequest.verify|verify} messages. * @param message CompleteQueryRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.ICompleteQueryRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CompleteQueryRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CompleteQueryRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.CompleteQueryRequest; /** * Decodes a CompleteQueryRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CompleteQueryRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.CompleteQueryRequest; /** * Verifies a CompleteQueryRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CompleteQueryRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CompleteQueryRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.CompleteQueryRequest; /** * Creates a plain object from a CompleteQueryRequest message. Also converts values to other types if specified. * @param message CompleteQueryRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.CompleteQueryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CompleteQueryRequest to JSON. * @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 { /** CompletionScope enum. */ enum CompletionScope { COMPLETION_SCOPE_UNSPECIFIED = 0, TENANT = 1, PUBLIC = 2 } /** CompletionType enum. */ enum CompletionType { COMPLETION_TYPE_UNSPECIFIED = 0, JOB_TITLE = 1, COMPANY_NAME = 2, COMBINED = 3 } } /** Properties of a CompleteQueryResponse. */ interface ICompleteQueryResponse { /** CompleteQueryResponse completionResults */ completionResults?: (google.cloud.talent.v4.CompleteQueryResponse.ICompletionResult[]|null); /** CompleteQueryResponse metadata */ metadata?: (google.cloud.talent.v4.IResponseMetadata|null); } /** Represents a CompleteQueryResponse. */ class CompleteQueryResponse implements ICompleteQueryResponse { /** * Constructs a new CompleteQueryResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.ICompleteQueryResponse); /** CompleteQueryResponse completionResults. */ public completionResults: google.cloud.talent.v4.CompleteQueryResponse.ICompletionResult[]; /** CompleteQueryResponse metadata. */ public metadata?: (google.cloud.talent.v4.IResponseMetadata|null); /** * Creates a new CompleteQueryResponse instance using the specified properties. * @param [properties] Properties to set * @returns CompleteQueryResponse instance */ public static create(properties?: google.cloud.talent.v4.ICompleteQueryResponse): google.cloud.talent.v4.CompleteQueryResponse; /** * Encodes the specified CompleteQueryResponse message. Does not implicitly {@link google.cloud.talent.v4.CompleteQueryResponse.verify|verify} messages. * @param message CompleteQueryResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.ICompleteQueryResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CompleteQueryResponse message, length delimited. Does not implicitly {@link google.cloud.talent.v4.CompleteQueryResponse.verify|verify} messages. * @param message CompleteQueryResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.ICompleteQueryResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CompleteQueryResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CompleteQueryResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.CompleteQueryResponse; /** * Decodes a CompleteQueryResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CompleteQueryResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.CompleteQueryResponse; /** * Verifies a CompleteQueryResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CompleteQueryResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CompleteQueryResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.CompleteQueryResponse; /** * Creates a plain object from a CompleteQueryResponse message. Also converts values to other types if specified. * @param message CompleteQueryResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.CompleteQueryResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CompleteQueryResponse to JSON. * @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 { /** Properties of a CompletionResult. */ interface ICompletionResult { /** CompletionResult suggestion */ suggestion?: (string|null); /** CompletionResult type */ type?: (google.cloud.talent.v4.CompleteQueryRequest.CompletionType|keyof typeof google.cloud.talent.v4.CompleteQueryRequest.CompletionType|null); /** CompletionResult imageUri */ imageUri?: (string|null); } /** Represents a CompletionResult. */ class CompletionResult implements ICompletionResult { /** * Constructs a new CompletionResult. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.CompleteQueryResponse.ICompletionResult); /** CompletionResult suggestion. */ public suggestion: string; /** CompletionResult type. */ public type: (google.cloud.talent.v4.CompleteQueryRequest.CompletionType|keyof typeof google.cloud.talent.v4.CompleteQueryRequest.CompletionType); /** CompletionResult imageUri. */ public imageUri: string; /** * Creates a new CompletionResult instance using the specified properties. * @param [properties] Properties to set * @returns CompletionResult instance */ public static create(properties?: google.cloud.talent.v4.CompleteQueryResponse.ICompletionResult): google.cloud.talent.v4.CompleteQueryResponse.CompletionResult; /** * Encodes the specified CompletionResult message. Does not implicitly {@link google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.verify|verify} messages. * @param message CompletionResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.CompleteQueryResponse.ICompletionResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CompletionResult message, length delimited. Does not implicitly {@link google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.verify|verify} messages. * @param message CompletionResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.CompleteQueryResponse.ICompletionResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CompletionResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CompletionResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.CompleteQueryResponse.CompletionResult; /** * Decodes a CompletionResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CompletionResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.CompleteQueryResponse.CompletionResult; /** * Verifies a CompletionResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CompletionResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CompletionResult */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.CompleteQueryResponse.CompletionResult; /** * Creates a plain object from a CompletionResult message. Also converts values to other types if specified. * @param message CompletionResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.CompleteQueryResponse.CompletionResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CompletionResult to JSON. * @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; } } /** Properties of a ClientEvent. */ interface IClientEvent { /** ClientEvent requestId */ requestId?: (string|null); /** ClientEvent eventId */ eventId?: (string|null); /** ClientEvent createTime */ createTime?: (google.protobuf.ITimestamp|null); /** ClientEvent jobEvent */ jobEvent?: (google.cloud.talent.v4.IJobEvent|null); /** ClientEvent eventNotes */ eventNotes?: (string|null); } /** Represents a ClientEvent. */ class ClientEvent implements IClientEvent { /** * Constructs a new ClientEvent. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IClientEvent); /** ClientEvent requestId. */ public requestId: string; /** ClientEvent eventId. */ public eventId: string; /** ClientEvent createTime. */ public createTime?: (google.protobuf.ITimestamp|null); /** ClientEvent jobEvent. */ public jobEvent?: (google.cloud.talent.v4.IJobEvent|null); /** ClientEvent eventNotes. */ public eventNotes: string; /** ClientEvent event. */ public event?: "jobEvent"; /** * Creates a new ClientEvent instance using the specified properties. * @param [properties] Properties to set * @returns ClientEvent instance */ public static create(properties?: google.cloud.talent.v4.IClientEvent): google.cloud.talent.v4.ClientEvent; /** * Encodes the specified ClientEvent message. Does not implicitly {@link google.cloud.talent.v4.ClientEvent.verify|verify} messages. * @param message ClientEvent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IClientEvent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ClientEvent message, length delimited. Does not implicitly {@link google.cloud.talent.v4.ClientEvent.verify|verify} messages. * @param message ClientEvent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IClientEvent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ClientEvent message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ClientEvent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.ClientEvent; /** * Decodes a ClientEvent message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ClientEvent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.ClientEvent; /** * Verifies a ClientEvent message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ClientEvent message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ClientEvent */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.ClientEvent; /** * Creates a plain object from a ClientEvent message. Also converts values to other types if specified. * @param message ClientEvent * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.ClientEvent, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ClientEvent to JSON. * @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. */ interface IJobEvent { /** JobEvent type */ type?: (google.cloud.talent.v4.JobEvent.JobEventType|keyof typeof google.cloud.talent.v4.JobEvent.JobEventType|null); /** JobEvent jobs */ jobs?: (string[]|null); } /** Represents a JobEvent. */ class JobEvent implements IJobEvent { /** * Constructs a new JobEvent. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IJobEvent); /** JobEvent type. */ public type: (google.cloud.talent.v4.JobEvent.JobEventType|keyof typeof google.cloud.talent.v4.JobEvent.JobEventType); /** JobEvent jobs. */ public jobs: string[]; /** * Creates a new JobEvent instance using the specified properties. * @param [properties] Properties to set * @returns JobEvent instance */ public static create(properties?: google.cloud.talent.v4.IJobEvent): google.cloud.talent.v4.JobEvent; /** * Encodes the specified JobEvent message. Does not implicitly {@link google.cloud.talent.v4.JobEvent.verify|verify} messages. * @param message JobEvent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IJobEvent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified JobEvent message, length delimited. Does not implicitly {@link google.cloud.talent.v4.JobEvent.verify|verify} messages. * @param message JobEvent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IJobEvent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a JobEvent message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns JobEvent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.JobEvent; /** * Decodes a JobEvent message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns JobEvent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.JobEvent; /** * Verifies a JobEvent message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a JobEvent message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns JobEvent */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.JobEvent; /** * Creates a plain object from a JobEvent message. Also converts values to other types if specified. * @param message JobEvent * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.JobEvent, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this JobEvent to JSON. * @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 { /** JobEventType enum. */ enum JobEventType { JOB_EVENT_TYPE_UNSPECIFIED = 0, IMPRESSION = 1, VIEW = 2, VIEW_REDIRECT = 3, APPLICATION_START = 4, APPLICATION_FINISH = 5, APPLICATION_QUICK_SUBMISSION = 6, APPLICATION_REDIRECT = 7, APPLICATION_START_FROM_SEARCH = 8, APPLICATION_REDIRECT_FROM_SEARCH = 9, APPLICATION_COMPANY_SUBMIT = 10, BOOKMARK = 11, NOTIFICATION = 12, HIRED = 13, SENT_CV = 14, INTERVIEW_GRANTED = 15 } } /** Represents an EventService */ class EventService extends $protobuf.rpc.Service { /** * Constructs a new EventService service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Creates new EventService service using the specified rpc implementation. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited * @returns RPC service. Useful where requests and/or responses are streamed. */ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): EventService; /** * Calls CreateClientEvent. * @param request CreateClientEventRequest message or plain object * @param callback Node-style callback called with the error, if any, and ClientEvent */ public createClientEvent(request: google.cloud.talent.v4.ICreateClientEventRequest, callback: google.cloud.talent.v4.EventService.CreateClientEventCallback): void; /** * Calls CreateClientEvent. * @param request CreateClientEventRequest message or plain object * @returns Promise */ public createClientEvent(request: google.cloud.talent.v4.ICreateClientEventRequest): Promise; } namespace EventService { /** * Callback as used by {@link google.cloud.talent.v4.EventService|createClientEvent}. * @param error Error, if any * @param [response] ClientEvent */ type CreateClientEventCallback = (error: (Error|null), response?: google.cloud.talent.v4.ClientEvent) => void; } /** Properties of a CreateClientEventRequest. */ interface ICreateClientEventRequest { /** CreateClientEventRequest parent */ parent?: (string|null); /** CreateClientEventRequest clientEvent */ clientEvent?: (google.cloud.talent.v4.IClientEvent|null); } /** Represents a CreateClientEventRequest. */ class CreateClientEventRequest implements ICreateClientEventRequest { /** * Constructs a new CreateClientEventRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.ICreateClientEventRequest); /** CreateClientEventRequest parent. */ public parent: string; /** CreateClientEventRequest clientEvent. */ public clientEvent?: (google.cloud.talent.v4.IClientEvent|null); /** * Creates a new CreateClientEventRequest instance using the specified properties. * @param [properties] Properties to set * @returns CreateClientEventRequest instance */ public static create(properties?: google.cloud.talent.v4.ICreateClientEventRequest): google.cloud.talent.v4.CreateClientEventRequest; /** * Encodes the specified CreateClientEventRequest message. Does not implicitly {@link google.cloud.talent.v4.CreateClientEventRequest.verify|verify} messages. * @param message CreateClientEventRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.ICreateClientEventRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CreateClientEventRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4.CreateClientEventRequest.verify|verify} messages. * @param message CreateClientEventRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.ICreateClientEventRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CreateClientEventRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CreateClientEventRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.CreateClientEventRequest; /** * Decodes a CreateClientEventRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CreateClientEventRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.CreateClientEventRequest; /** * Verifies a CreateClientEventRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CreateClientEventRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CreateClientEventRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.CreateClientEventRequest; /** * Creates a plain object from a CreateClientEventRequest message. Also converts values to other types if specified. * @param message CreateClientEventRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.CreateClientEventRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CreateClientEventRequest to JSON. * @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. */ interface IJobQuery { /** JobQuery query */ query?: (string|null); /** JobQuery queryLanguageCode */ queryLanguageCode?: (string|null); /** JobQuery companies */ companies?: (string[]|null); /** JobQuery locationFilters */ locationFilters?: (google.cloud.talent.v4.ILocationFilter[]|null); /** JobQuery jobCategories */ jobCategories?: (google.cloud.talent.v4.JobCategory[]|null); /** JobQuery commuteFilter */ commuteFilter?: (google.cloud.talent.v4.ICommuteFilter|null); /** JobQuery companyDisplayNames */ companyDisplayNames?: (string[]|null); /** JobQuery compensationFilter */ compensationFilter?: (google.cloud.talent.v4.ICompensationFilter|null); /** JobQuery customAttributeFilter */ customAttributeFilter?: (string|null); /** JobQuery disableSpellCheck */ disableSpellCheck?: (boolean|null); /** JobQuery employmentTypes */ employmentTypes?: (google.cloud.talent.v4.EmploymentType[]|null); /** JobQuery languageCodes */ languageCodes?: (string[]|null); /** JobQuery publishTimeRange */ publishTimeRange?: (google.cloud.talent.v4.ITimestampRange|null); /** JobQuery excludedJobs */ excludedJobs?: (string[]|null); } /** Represents a JobQuery. */ class JobQuery implements IJobQuery { /** * Constructs a new JobQuery. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IJobQuery); /** JobQuery query. */ public query: string; /** JobQuery queryLanguageCode. */ public queryLanguageCode: string; /** JobQuery companies. */ public companies: string[]; /** JobQuery locationFilters. */ public locationFilters: google.cloud.talent.v4.ILocationFilter[]; /** JobQuery jobCategories. */ public jobCategories: google.cloud.talent.v4.JobCategory[]; /** JobQuery commuteFilter. */ public commuteFilter?: (google.cloud.talent.v4.ICommuteFilter|null); /** JobQuery companyDisplayNames. */ public companyDisplayNames: string[]; /** JobQuery compensationFilter. */ public compensationFilter?: (google.cloud.talent.v4.ICompensationFilter|null); /** JobQuery customAttributeFilter. */ public customAttributeFilter: string; /** JobQuery disableSpellCheck. */ public disableSpellCheck: boolean; /** JobQuery employmentTypes. */ public employmentTypes: google.cloud.talent.v4.EmploymentType[]; /** JobQuery languageCodes. */ public languageCodes: string[]; /** JobQuery publishTimeRange. */ public publishTimeRange?: (google.cloud.talent.v4.ITimestampRange|null); /** JobQuery excludedJobs. */ public excludedJobs: string[]; /** * Creates a new JobQuery instance using the specified properties. * @param [properties] Properties to set * @returns JobQuery instance */ public static create(properties?: google.cloud.talent.v4.IJobQuery): google.cloud.talent.v4.JobQuery; /** * Encodes the specified JobQuery message. Does not implicitly {@link google.cloud.talent.v4.JobQuery.verify|verify} messages. * @param message JobQuery message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IJobQuery, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified JobQuery message, length delimited. Does not implicitly {@link google.cloud.talent.v4.JobQuery.verify|verify} messages. * @param message JobQuery message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IJobQuery, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a JobQuery message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns JobQuery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.JobQuery; /** * Decodes a JobQuery message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns JobQuery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.JobQuery; /** * Verifies a JobQuery message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a JobQuery message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns JobQuery */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.JobQuery; /** * Creates a plain object from a JobQuery message. Also converts values to other types if specified. * @param message JobQuery * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.JobQuery, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this JobQuery to JSON. * @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. */ interface ILocationFilter { /** LocationFilter address */ address?: (string|null); /** LocationFilter regionCode */ regionCode?: (string|null); /** LocationFilter latLng */ latLng?: (google.type.ILatLng|null); /** LocationFilter distanceInMiles */ distanceInMiles?: (number|null); /** LocationFilter telecommutePreference */ telecommutePreference?: (google.cloud.talent.v4.LocationFilter.TelecommutePreference|keyof typeof google.cloud.talent.v4.LocationFilter.TelecommutePreference|null); } /** Represents a LocationFilter. */ class LocationFilter implements ILocationFilter { /** * Constructs a new LocationFilter. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.ILocationFilter); /** LocationFilter address. */ public address: string; /** LocationFilter regionCode. */ public regionCode: string; /** LocationFilter latLng. */ public latLng?: (google.type.ILatLng|null); /** LocationFilter distanceInMiles. */ public distanceInMiles: number; /** LocationFilter telecommutePreference. */ public telecommutePreference: (google.cloud.talent.v4.LocationFilter.TelecommutePreference|keyof typeof google.cloud.talent.v4.LocationFilter.TelecommutePreference); /** * Creates a new LocationFilter instance using the specified properties. * @param [properties] Properties to set * @returns LocationFilter instance */ public static create(properties?: google.cloud.talent.v4.ILocationFilter): google.cloud.talent.v4.LocationFilter; /** * Encodes the specified LocationFilter message. Does not implicitly {@link google.cloud.talent.v4.LocationFilter.verify|verify} messages. * @param message LocationFilter message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.ILocationFilter, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LocationFilter message, length delimited. Does not implicitly {@link google.cloud.talent.v4.LocationFilter.verify|verify} messages. * @param message LocationFilter message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.ILocationFilter, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LocationFilter message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LocationFilter * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.LocationFilter; /** * Decodes a LocationFilter message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LocationFilter * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.LocationFilter; /** * Verifies a LocationFilter message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LocationFilter message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LocationFilter */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.LocationFilter; /** * Creates a plain object from a LocationFilter message. Also converts values to other types if specified. * @param message LocationFilter * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.LocationFilter, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LocationFilter to JSON. * @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 { /** TelecommutePreference enum. */ enum TelecommutePreference { TELECOMMUTE_PREFERENCE_UNSPECIFIED = 0, TELECOMMUTE_EXCLUDED = 1, TELECOMMUTE_ALLOWED = 2, TELECOMMUTE_JOBS_EXCLUDED = 3 } } /** Properties of a CompensationFilter. */ interface ICompensationFilter { /** CompensationFilter type */ type?: (google.cloud.talent.v4.CompensationFilter.FilterType|keyof typeof google.cloud.talent.v4.CompensationFilter.FilterType|null); /** CompensationFilter units */ units?: (google.cloud.talent.v4.CompensationInfo.CompensationUnit[]|null); /** CompensationFilter range */ range?: (google.cloud.talent.v4.CompensationInfo.ICompensationRange|null); /** CompensationFilter includeJobsWithUnspecifiedCompensationRange */ includeJobsWithUnspecifiedCompensationRange?: (boolean|null); } /** Represents a CompensationFilter. */ class CompensationFilter implements ICompensationFilter { /** * Constructs a new CompensationFilter. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.ICompensationFilter); /** CompensationFilter type. */ public type: (google.cloud.talent.v4.CompensationFilter.FilterType|keyof typeof google.cloud.talent.v4.CompensationFilter.FilterType); /** CompensationFilter units. */ public units: google.cloud.talent.v4.CompensationInfo.CompensationUnit[]; /** CompensationFilter range. */ public range?: (google.cloud.talent.v4.CompensationInfo.ICompensationRange|null); /** CompensationFilter includeJobsWithUnspecifiedCompensationRange. */ public includeJobsWithUnspecifiedCompensationRange: boolean; /** * Creates a new CompensationFilter instance using the specified properties. * @param [properties] Properties to set * @returns CompensationFilter instance */ public static create(properties?: google.cloud.talent.v4.ICompensationFilter): google.cloud.talent.v4.CompensationFilter; /** * Encodes the specified CompensationFilter message. Does not implicitly {@link google.cloud.talent.v4.CompensationFilter.verify|verify} messages. * @param message CompensationFilter message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.ICompensationFilter, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CompensationFilter message, length delimited. Does not implicitly {@link google.cloud.talent.v4.CompensationFilter.verify|verify} messages. * @param message CompensationFilter message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.ICompensationFilter, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CompensationFilter message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CompensationFilter * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.CompensationFilter; /** * Decodes a CompensationFilter message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CompensationFilter * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.CompensationFilter; /** * Verifies a CompensationFilter message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CompensationFilter message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CompensationFilter */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.CompensationFilter; /** * Creates a plain object from a CompensationFilter message. Also converts values to other types if specified. * @param message CompensationFilter * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.CompensationFilter, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CompensationFilter to JSON. * @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 { /** FilterType enum. */ enum FilterType { FILTER_TYPE_UNSPECIFIED = 0, UNIT_ONLY = 1, UNIT_AND_AMOUNT = 2, ANNUALIZED_BASE_AMOUNT = 3, ANNUALIZED_TOTAL_AMOUNT = 4 } } /** Properties of a CommuteFilter. */ interface ICommuteFilter { /** CommuteFilter commuteMethod */ commuteMethod?: (google.cloud.talent.v4.CommuteMethod|keyof typeof google.cloud.talent.v4.CommuteMethod|null); /** CommuteFilter startCoordinates */ startCoordinates?: (google.type.ILatLng|null); /** CommuteFilter travelDuration */ travelDuration?: (google.protobuf.IDuration|null); /** CommuteFilter allowImpreciseAddresses */ allowImpreciseAddresses?: (boolean|null); /** CommuteFilter roadTraffic */ roadTraffic?: (google.cloud.talent.v4.CommuteFilter.RoadTraffic|keyof typeof google.cloud.talent.v4.CommuteFilter.RoadTraffic|null); /** CommuteFilter departureTime */ departureTime?: (google.type.ITimeOfDay|null); } /** Represents a CommuteFilter. */ class CommuteFilter implements ICommuteFilter { /** * Constructs a new CommuteFilter. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.ICommuteFilter); /** CommuteFilter commuteMethod. */ public commuteMethod: (google.cloud.talent.v4.CommuteMethod|keyof typeof google.cloud.talent.v4.CommuteMethod); /** CommuteFilter startCoordinates. */ public startCoordinates?: (google.type.ILatLng|null); /** CommuteFilter travelDuration. */ public travelDuration?: (google.protobuf.IDuration|null); /** CommuteFilter allowImpreciseAddresses. */ public allowImpreciseAddresses: boolean; /** CommuteFilter roadTraffic. */ public roadTraffic?: (google.cloud.talent.v4.CommuteFilter.RoadTraffic|keyof typeof google.cloud.talent.v4.CommuteFilter.RoadTraffic|null); /** CommuteFilter departureTime. */ public departureTime?: (google.type.ITimeOfDay|null); /** CommuteFilter trafficOption. */ public trafficOption?: ("roadTraffic"|"departureTime"); /** * Creates a new CommuteFilter instance using the specified properties. * @param [properties] Properties to set * @returns CommuteFilter instance */ public static create(properties?: google.cloud.talent.v4.ICommuteFilter): google.cloud.talent.v4.CommuteFilter; /** * Encodes the specified CommuteFilter message. Does not implicitly {@link google.cloud.talent.v4.CommuteFilter.verify|verify} messages. * @param message CommuteFilter message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.ICommuteFilter, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommuteFilter message, length delimited. Does not implicitly {@link google.cloud.talent.v4.CommuteFilter.verify|verify} messages. * @param message CommuteFilter message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.ICommuteFilter, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommuteFilter message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CommuteFilter * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.CommuteFilter; /** * Decodes a CommuteFilter message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CommuteFilter * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.CommuteFilter; /** * Verifies a CommuteFilter message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommuteFilter message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommuteFilter */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.CommuteFilter; /** * Creates a plain object from a CommuteFilter message. Also converts values to other types if specified. * @param message CommuteFilter * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.CommuteFilter, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommuteFilter to JSON. * @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 { /** RoadTraffic enum. */ enum RoadTraffic { ROAD_TRAFFIC_UNSPECIFIED = 0, TRAFFIC_FREE = 1, BUSY_HOUR = 2 } } /** Properties of a HistogramQuery. */ interface IHistogramQuery { /** HistogramQuery histogramQuery */ histogramQuery?: (string|null); } /** Represents a HistogramQuery. */ class HistogramQuery implements IHistogramQuery { /** * Constructs a new HistogramQuery. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IHistogramQuery); /** HistogramQuery histogramQuery. */ public histogramQuery: string; /** * Creates a new HistogramQuery instance using the specified properties. * @param [properties] Properties to set * @returns HistogramQuery instance */ public static create(properties?: google.cloud.talent.v4.IHistogramQuery): google.cloud.talent.v4.HistogramQuery; /** * Encodes the specified HistogramQuery message. Does not implicitly {@link google.cloud.talent.v4.HistogramQuery.verify|verify} messages. * @param message HistogramQuery message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IHistogramQuery, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HistogramQuery message, length delimited. Does not implicitly {@link google.cloud.talent.v4.HistogramQuery.verify|verify} messages. * @param message HistogramQuery message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IHistogramQuery, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HistogramQuery message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HistogramQuery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.HistogramQuery; /** * Decodes a HistogramQuery message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HistogramQuery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.HistogramQuery; /** * Verifies a HistogramQuery message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HistogramQuery message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HistogramQuery */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.HistogramQuery; /** * Creates a plain object from a HistogramQuery message. Also converts values to other types if specified. * @param message HistogramQuery * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.HistogramQuery, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HistogramQuery to JSON. * @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. */ interface IHistogramQueryResult { /** HistogramQueryResult histogramQuery */ histogramQuery?: (string|null); /** HistogramQueryResult histogram */ histogram?: ({ [k: string]: (number|Long|string) }|null); } /** Represents a HistogramQueryResult. */ class HistogramQueryResult implements IHistogramQueryResult { /** * Constructs a new HistogramQueryResult. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IHistogramQueryResult); /** HistogramQueryResult histogramQuery. */ public histogramQuery: string; /** HistogramQueryResult histogram. */ public histogram: { [k: string]: (number|Long|string) }; /** * Creates a new HistogramQueryResult instance using the specified properties. * @param [properties] Properties to set * @returns HistogramQueryResult instance */ public static create(properties?: google.cloud.talent.v4.IHistogramQueryResult): google.cloud.talent.v4.HistogramQueryResult; /** * Encodes the specified HistogramQueryResult message. Does not implicitly {@link google.cloud.talent.v4.HistogramQueryResult.verify|verify} messages. * @param message HistogramQueryResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IHistogramQueryResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HistogramQueryResult message, length delimited. Does not implicitly {@link google.cloud.talent.v4.HistogramQueryResult.verify|verify} messages. * @param message HistogramQueryResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IHistogramQueryResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HistogramQueryResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HistogramQueryResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.HistogramQueryResult; /** * Decodes a HistogramQueryResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HistogramQueryResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.HistogramQueryResult; /** * Verifies a HistogramQueryResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HistogramQueryResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HistogramQueryResult */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.HistogramQueryResult; /** * Creates a plain object from a HistogramQueryResult message. Also converts values to other types if specified. * @param message HistogramQueryResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.HistogramQueryResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HistogramQueryResult to JSON. * @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. */ interface IJob { /** Job name */ name?: (string|null); /** Job company */ company?: (string|null); /** Job requisitionId */ requisitionId?: (string|null); /** Job title */ title?: (string|null); /** Job description */ description?: (string|null); /** Job addresses */ addresses?: (string[]|null); /** Job applicationInfo */ applicationInfo?: (google.cloud.talent.v4.Job.IApplicationInfo|null); /** Job jobBenefits */ jobBenefits?: (google.cloud.talent.v4.JobBenefit[]|null); /** Job compensationInfo */ compensationInfo?: (google.cloud.talent.v4.ICompensationInfo|null); /** Job customAttributes */ customAttributes?: ({ [k: string]: google.cloud.talent.v4.ICustomAttribute }|null); /** Job degreeTypes */ degreeTypes?: (google.cloud.talent.v4.DegreeType[]|null); /** Job department */ department?: (string|null); /** Job employmentTypes */ employmentTypes?: (google.cloud.talent.v4.EmploymentType[]|null); /** Job incentives */ incentives?: (string|null); /** Job languageCode */ languageCode?: (string|null); /** Job jobLevel */ jobLevel?: (google.cloud.talent.v4.JobLevel|keyof typeof google.cloud.talent.v4.JobLevel|null); /** Job promotionValue */ promotionValue?: (number|null); /** Job qualifications */ qualifications?: (string|null); /** Job responsibilities */ responsibilities?: (string|null); /** Job postingRegion */ postingRegion?: (google.cloud.talent.v4.PostingRegion|keyof typeof google.cloud.talent.v4.PostingRegion|null); /** Job visibility */ visibility?: (google.cloud.talent.v4.Visibility|keyof typeof google.cloud.talent.v4.Visibility|null); /** Job jobStartTime */ jobStartTime?: (google.protobuf.ITimestamp|null); /** Job jobEndTime */ jobEndTime?: (google.protobuf.ITimestamp|null); /** Job postingPublishTime */ postingPublishTime?: (google.protobuf.ITimestamp|null); /** Job postingExpireTime */ postingExpireTime?: (google.protobuf.ITimestamp|null); /** Job postingCreateTime */ postingCreateTime?: (google.protobuf.ITimestamp|null); /** Job postingUpdateTime */ postingUpdateTime?: (google.protobuf.ITimestamp|null); /** Job companyDisplayName */ companyDisplayName?: (string|null); /** Job derivedInfo */ derivedInfo?: (google.cloud.talent.v4.Job.IDerivedInfo|null); /** Job processingOptions */ processingOptions?: (google.cloud.talent.v4.Job.IProcessingOptions|null); } /** Represents a Job. */ class Job implements IJob { /** * Constructs a new Job. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IJob); /** Job name. */ public name: string; /** Job company. */ public company: string; /** Job requisitionId. */ public requisitionId: string; /** Job title. */ public title: string; /** Job description. */ public description: string; /** Job addresses. */ public addresses: string[]; /** Job applicationInfo. */ public applicationInfo?: (google.cloud.talent.v4.Job.IApplicationInfo|null); /** Job jobBenefits. */ public jobBenefits: google.cloud.talent.v4.JobBenefit[]; /** Job compensationInfo. */ public compensationInfo?: (google.cloud.talent.v4.ICompensationInfo|null); /** Job customAttributes. */ public customAttributes: { [k: string]: google.cloud.talent.v4.ICustomAttribute }; /** Job degreeTypes. */ public degreeTypes: google.cloud.talent.v4.DegreeType[]; /** Job department. */ public department: string; /** Job employmentTypes. */ public employmentTypes: google.cloud.talent.v4.EmploymentType[]; /** Job incentives. */ public incentives: string; /** Job languageCode. */ public languageCode: string; /** Job jobLevel. */ public jobLevel: (google.cloud.talent.v4.JobLevel|keyof typeof google.cloud.talent.v4.JobLevel); /** Job promotionValue. */ public promotionValue: number; /** Job qualifications. */ public qualifications: string; /** Job responsibilities. */ public responsibilities: string; /** Job postingRegion. */ public postingRegion: (google.cloud.talent.v4.PostingRegion|keyof typeof google.cloud.talent.v4.PostingRegion); /** Job visibility. */ public visibility: (google.cloud.talent.v4.Visibility|keyof typeof google.cloud.talent.v4.Visibility); /** Job jobStartTime. */ public jobStartTime?: (google.protobuf.ITimestamp|null); /** Job jobEndTime. */ public jobEndTime?: (google.protobuf.ITimestamp|null); /** Job postingPublishTime. */ public postingPublishTime?: (google.protobuf.ITimestamp|null); /** Job postingExpireTime. */ public postingExpireTime?: (google.protobuf.ITimestamp|null); /** Job postingCreateTime. */ public postingCreateTime?: (google.protobuf.ITimestamp|null); /** Job postingUpdateTime. */ public postingUpdateTime?: (google.protobuf.ITimestamp|null); /** Job companyDisplayName. */ public companyDisplayName: string; /** Job derivedInfo. */ public derivedInfo?: (google.cloud.talent.v4.Job.IDerivedInfo|null); /** Job processingOptions. */ public processingOptions?: (google.cloud.talent.v4.Job.IProcessingOptions|null); /** * Creates a new Job instance using the specified properties. * @param [properties] Properties to set * @returns Job instance */ public static create(properties?: google.cloud.talent.v4.IJob): google.cloud.talent.v4.Job; /** * Encodes the specified Job message. Does not implicitly {@link google.cloud.talent.v4.Job.verify|verify} messages. * @param message Job message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IJob, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Job message, length delimited. Does not implicitly {@link google.cloud.talent.v4.Job.verify|verify} messages. * @param message Job message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IJob, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Job message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Job * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.Job; /** * Decodes a Job message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Job * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.Job; /** * Verifies a Job message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Job message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Job */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.Job; /** * Creates a plain object from a Job message. Also converts values to other types if specified. * @param message Job * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.Job, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Job to JSON. * @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 { /** Properties of an ApplicationInfo. */ interface IApplicationInfo { /** ApplicationInfo emails */ emails?: (string[]|null); /** ApplicationInfo instruction */ instruction?: (string|null); /** ApplicationInfo uris */ uris?: (string[]|null); } /** Represents an ApplicationInfo. */ class ApplicationInfo implements IApplicationInfo { /** * Constructs a new ApplicationInfo. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.Job.IApplicationInfo); /** ApplicationInfo emails. */ public emails: string[]; /** ApplicationInfo instruction. */ public instruction: string; /** ApplicationInfo uris. */ public uris: string[]; /** * Creates a new ApplicationInfo instance using the specified properties. * @param [properties] Properties to set * @returns ApplicationInfo instance */ public static create(properties?: google.cloud.talent.v4.Job.IApplicationInfo): google.cloud.talent.v4.Job.ApplicationInfo; /** * Encodes the specified ApplicationInfo message. Does not implicitly {@link google.cloud.talent.v4.Job.ApplicationInfo.verify|verify} messages. * @param message ApplicationInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.Job.IApplicationInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ApplicationInfo message, length delimited. Does not implicitly {@link google.cloud.talent.v4.Job.ApplicationInfo.verify|verify} messages. * @param message ApplicationInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.Job.IApplicationInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ApplicationInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ApplicationInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.Job.ApplicationInfo; /** * Decodes an ApplicationInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ApplicationInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.Job.ApplicationInfo; /** * Verifies an ApplicationInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ApplicationInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ApplicationInfo */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.Job.ApplicationInfo; /** * Creates a plain object from an ApplicationInfo message. Also converts values to other types if specified. * @param message ApplicationInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.Job.ApplicationInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ApplicationInfo to JSON. * @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. */ interface IDerivedInfo { /** DerivedInfo locations */ locations?: (google.cloud.talent.v4.ILocation[]|null); /** DerivedInfo jobCategories */ jobCategories?: (google.cloud.talent.v4.JobCategory[]|null); } /** Represents a DerivedInfo. */ class DerivedInfo implements IDerivedInfo { /** * Constructs a new DerivedInfo. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.Job.IDerivedInfo); /** DerivedInfo locations. */ public locations: google.cloud.talent.v4.ILocation[]; /** DerivedInfo jobCategories. */ public jobCategories: google.cloud.talent.v4.JobCategory[]; /** * Creates a new DerivedInfo instance using the specified properties. * @param [properties] Properties to set * @returns DerivedInfo instance */ public static create(properties?: google.cloud.talent.v4.Job.IDerivedInfo): google.cloud.talent.v4.Job.DerivedInfo; /** * Encodes the specified DerivedInfo message. Does not implicitly {@link google.cloud.talent.v4.Job.DerivedInfo.verify|verify} messages. * @param message DerivedInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.Job.IDerivedInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DerivedInfo message, length delimited. Does not implicitly {@link google.cloud.talent.v4.Job.DerivedInfo.verify|verify} messages. * @param message DerivedInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.Job.IDerivedInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DerivedInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DerivedInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.Job.DerivedInfo; /** * Decodes a DerivedInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DerivedInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.Job.DerivedInfo; /** * Verifies a DerivedInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DerivedInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DerivedInfo */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.Job.DerivedInfo; /** * Creates a plain object from a DerivedInfo message. Also converts values to other types if specified. * @param message DerivedInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.Job.DerivedInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DerivedInfo to JSON. * @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. */ interface IProcessingOptions { /** ProcessingOptions disableStreetAddressResolution */ disableStreetAddressResolution?: (boolean|null); /** ProcessingOptions htmlSanitization */ htmlSanitization?: (google.cloud.talent.v4.HtmlSanitization|keyof typeof google.cloud.talent.v4.HtmlSanitization|null); } /** Represents a ProcessingOptions. */ class ProcessingOptions implements IProcessingOptions { /** * Constructs a new ProcessingOptions. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.Job.IProcessingOptions); /** ProcessingOptions disableStreetAddressResolution. */ public disableStreetAddressResolution: boolean; /** ProcessingOptions htmlSanitization. */ public htmlSanitization: (google.cloud.talent.v4.HtmlSanitization|keyof typeof google.cloud.talent.v4.HtmlSanitization); /** * Creates a new ProcessingOptions instance using the specified properties. * @param [properties] Properties to set * @returns ProcessingOptions instance */ public static create(properties?: google.cloud.talent.v4.Job.IProcessingOptions): google.cloud.talent.v4.Job.ProcessingOptions; /** * Encodes the specified ProcessingOptions message. Does not implicitly {@link google.cloud.talent.v4.Job.ProcessingOptions.verify|verify} messages. * @param message ProcessingOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.Job.IProcessingOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ProcessingOptions message, length delimited. Does not implicitly {@link google.cloud.talent.v4.Job.ProcessingOptions.verify|verify} messages. * @param message ProcessingOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.Job.IProcessingOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ProcessingOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ProcessingOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.Job.ProcessingOptions; /** * Decodes a ProcessingOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ProcessingOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.Job.ProcessingOptions; /** * Verifies a ProcessingOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ProcessingOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ProcessingOptions */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.Job.ProcessingOptions; /** * Creates a plain object from a ProcessingOptions message. Also converts values to other types if specified. * @param message ProcessingOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.Job.ProcessingOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ProcessingOptions to JSON. * @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; } } /** Represents a JobService */ class JobService extends $protobuf.rpc.Service { /** * Constructs a new JobService service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Creates new JobService service using the specified rpc implementation. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited * @returns RPC service. Useful where requests and/or responses are streamed. */ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): JobService; /** * Calls CreateJob. * @param request CreateJobRequest message or plain object * @param callback Node-style callback called with the error, if any, and Job */ public createJob(request: google.cloud.talent.v4.ICreateJobRequest, callback: google.cloud.talent.v4.JobService.CreateJobCallback): void; /** * Calls CreateJob. * @param request CreateJobRequest message or plain object * @returns Promise */ public createJob(request: google.cloud.talent.v4.ICreateJobRequest): Promise; /** * Calls BatchCreateJobs. * @param request BatchCreateJobsRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public batchCreateJobs(request: google.cloud.talent.v4.IBatchCreateJobsRequest, callback: google.cloud.talent.v4.JobService.BatchCreateJobsCallback): void; /** * Calls BatchCreateJobs. * @param request BatchCreateJobsRequest message or plain object * @returns Promise */ public batchCreateJobs(request: google.cloud.talent.v4.IBatchCreateJobsRequest): Promise; /** * Calls GetJob. * @param request GetJobRequest message or plain object * @param callback Node-style callback called with the error, if any, and Job */ public getJob(request: google.cloud.talent.v4.IGetJobRequest, callback: google.cloud.talent.v4.JobService.GetJobCallback): void; /** * Calls GetJob. * @param request GetJobRequest message or plain object * @returns Promise */ public getJob(request: google.cloud.talent.v4.IGetJobRequest): Promise; /** * Calls UpdateJob. * @param request UpdateJobRequest message or plain object * @param callback Node-style callback called with the error, if any, and Job */ public updateJob(request: google.cloud.talent.v4.IUpdateJobRequest, callback: google.cloud.talent.v4.JobService.UpdateJobCallback): void; /** * Calls UpdateJob. * @param request UpdateJobRequest message or plain object * @returns Promise */ public updateJob(request: google.cloud.talent.v4.IUpdateJobRequest): Promise; /** * Calls BatchUpdateJobs. * @param request BatchUpdateJobsRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public batchUpdateJobs(request: google.cloud.talent.v4.IBatchUpdateJobsRequest, callback: google.cloud.talent.v4.JobService.BatchUpdateJobsCallback): void; /** * Calls BatchUpdateJobs. * @param request BatchUpdateJobsRequest message or plain object * @returns Promise */ public batchUpdateJobs(request: google.cloud.talent.v4.IBatchUpdateJobsRequest): Promise; /** * Calls DeleteJob. * @param request DeleteJobRequest message or plain object * @param callback Node-style callback called with the error, if any, and Empty */ public deleteJob(request: google.cloud.talent.v4.IDeleteJobRequest, callback: google.cloud.talent.v4.JobService.DeleteJobCallback): void; /** * Calls DeleteJob. * @param request DeleteJobRequest message or plain object * @returns Promise */ public deleteJob(request: google.cloud.talent.v4.IDeleteJobRequest): Promise; /** * Calls BatchDeleteJobs. * @param request BatchDeleteJobsRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public batchDeleteJobs(request: google.cloud.talent.v4.IBatchDeleteJobsRequest, callback: google.cloud.talent.v4.JobService.BatchDeleteJobsCallback): void; /** * Calls BatchDeleteJobs. * @param request BatchDeleteJobsRequest message or plain object * @returns Promise */ public batchDeleteJobs(request: google.cloud.talent.v4.IBatchDeleteJobsRequest): Promise; /** * Calls ListJobs. * @param request ListJobsRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListJobsResponse */ public listJobs(request: google.cloud.talent.v4.IListJobsRequest, callback: google.cloud.talent.v4.JobService.ListJobsCallback): void; /** * Calls ListJobs. * @param request ListJobsRequest message or plain object * @returns Promise */ public listJobs(request: google.cloud.talent.v4.IListJobsRequest): Promise; /** * Calls SearchJobs. * @param request SearchJobsRequest message or plain object * @param callback Node-style callback called with the error, if any, and SearchJobsResponse */ public searchJobs(request: google.cloud.talent.v4.ISearchJobsRequest, callback: google.cloud.talent.v4.JobService.SearchJobsCallback): void; /** * Calls SearchJobs. * @param request SearchJobsRequest message or plain object * @returns Promise */ public searchJobs(request: google.cloud.talent.v4.ISearchJobsRequest): Promise; /** * Calls SearchJobsForAlert. * @param request SearchJobsRequest message or plain object * @param callback Node-style callback called with the error, if any, and SearchJobsResponse */ public searchJobsForAlert(request: google.cloud.talent.v4.ISearchJobsRequest, callback: google.cloud.talent.v4.JobService.SearchJobsForAlertCallback): void; /** * Calls SearchJobsForAlert. * @param request SearchJobsRequest message or plain object * @returns Promise */ public searchJobsForAlert(request: google.cloud.talent.v4.ISearchJobsRequest): Promise; } namespace JobService { /** * 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}. * @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}. * @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}. * @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}. * @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}. * @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}. * @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}. * @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}. * @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}. * @param error Error, if any * @param [response] SearchJobsResponse */ type SearchJobsForAlertCallback = (error: (Error|null), response?: google.cloud.talent.v4.SearchJobsResponse) => void; } /** Properties of a CreateJobRequest. */ interface ICreateJobRequest { /** CreateJobRequest parent */ parent?: (string|null); /** CreateJobRequest job */ job?: (google.cloud.talent.v4.IJob|null); } /** Represents a CreateJobRequest. */ class CreateJobRequest implements ICreateJobRequest { /** * Constructs a new CreateJobRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.ICreateJobRequest); /** CreateJobRequest parent. */ public parent: string; /** CreateJobRequest job. */ public job?: (google.cloud.talent.v4.IJob|null); /** * Creates a new CreateJobRequest instance using the specified properties. * @param [properties] Properties to set * @returns CreateJobRequest instance */ public static create(properties?: google.cloud.talent.v4.ICreateJobRequest): google.cloud.talent.v4.CreateJobRequest; /** * Encodes the specified CreateJobRequest message. Does not implicitly {@link google.cloud.talent.v4.CreateJobRequest.verify|verify} messages. * @param message CreateJobRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.ICreateJobRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CreateJobRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4.CreateJobRequest.verify|verify} messages. * @param message CreateJobRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.ICreateJobRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CreateJobRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CreateJobRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.CreateJobRequest; /** * Decodes a CreateJobRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CreateJobRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.CreateJobRequest; /** * Verifies a CreateJobRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CreateJobRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CreateJobRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.CreateJobRequest; /** * Creates a plain object from a CreateJobRequest message. Also converts values to other types if specified. * @param message CreateJobRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.CreateJobRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CreateJobRequest to JSON. * @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. */ interface IGetJobRequest { /** GetJobRequest name */ name?: (string|null); } /** Represents a GetJobRequest. */ class GetJobRequest implements IGetJobRequest { /** * Constructs a new GetJobRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IGetJobRequest); /** GetJobRequest name. */ public name: string; /** * Creates a new GetJobRequest instance using the specified properties. * @param [properties] Properties to set * @returns GetJobRequest instance */ public static create(properties?: google.cloud.talent.v4.IGetJobRequest): google.cloud.talent.v4.GetJobRequest; /** * Encodes the specified GetJobRequest message. Does not implicitly {@link google.cloud.talent.v4.GetJobRequest.verify|verify} messages. * @param message GetJobRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IGetJobRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetJobRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4.GetJobRequest.verify|verify} messages. * @param message GetJobRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IGetJobRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetJobRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetJobRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.GetJobRequest; /** * Decodes a GetJobRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetJobRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.GetJobRequest; /** * Verifies a GetJobRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetJobRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetJobRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.GetJobRequest; /** * Creates a plain object from a GetJobRequest message. Also converts values to other types if specified. * @param message GetJobRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.GetJobRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetJobRequest to JSON. * @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. */ interface IUpdateJobRequest { /** UpdateJobRequest job */ job?: (google.cloud.talent.v4.IJob|null); /** UpdateJobRequest updateMask */ updateMask?: (google.protobuf.IFieldMask|null); } /** Represents an UpdateJobRequest. */ class UpdateJobRequest implements IUpdateJobRequest { /** * Constructs a new UpdateJobRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IUpdateJobRequest); /** UpdateJobRequest job. */ public job?: (google.cloud.talent.v4.IJob|null); /** UpdateJobRequest updateMask. */ public updateMask?: (google.protobuf.IFieldMask|null); /** * Creates a new UpdateJobRequest instance using the specified properties. * @param [properties] Properties to set * @returns UpdateJobRequest instance */ public static create(properties?: google.cloud.talent.v4.IUpdateJobRequest): google.cloud.talent.v4.UpdateJobRequest; /** * Encodes the specified UpdateJobRequest message. Does not implicitly {@link google.cloud.talent.v4.UpdateJobRequest.verify|verify} messages. * @param message UpdateJobRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IUpdateJobRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UpdateJobRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4.UpdateJobRequest.verify|verify} messages. * @param message UpdateJobRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IUpdateJobRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UpdateJobRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UpdateJobRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.UpdateJobRequest; /** * Decodes an UpdateJobRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UpdateJobRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.UpdateJobRequest; /** * Verifies an UpdateJobRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an UpdateJobRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UpdateJobRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.UpdateJobRequest; /** * Creates a plain object from an UpdateJobRequest message. Also converts values to other types if specified. * @param message UpdateJobRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.UpdateJobRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UpdateJobRequest to JSON. * @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. */ interface IDeleteJobRequest { /** DeleteJobRequest name */ name?: (string|null); } /** Represents a DeleteJobRequest. */ class DeleteJobRequest implements IDeleteJobRequest { /** * Constructs a new DeleteJobRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IDeleteJobRequest); /** DeleteJobRequest name. */ public name: string; /** * Creates a new DeleteJobRequest instance using the specified properties. * @param [properties] Properties to set * @returns DeleteJobRequest instance */ public static create(properties?: google.cloud.talent.v4.IDeleteJobRequest): google.cloud.talent.v4.DeleteJobRequest; /** * Encodes the specified DeleteJobRequest message. Does not implicitly {@link google.cloud.talent.v4.DeleteJobRequest.verify|verify} messages. * @param message DeleteJobRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IDeleteJobRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteJobRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4.DeleteJobRequest.verify|verify} messages. * @param message DeleteJobRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IDeleteJobRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteJobRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteJobRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.DeleteJobRequest; /** * Decodes a DeleteJobRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteJobRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.DeleteJobRequest; /** * Verifies a DeleteJobRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeleteJobRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteJobRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.DeleteJobRequest; /** * Creates a plain object from a DeleteJobRequest message. Also converts values to other types if specified. * @param message DeleteJobRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.DeleteJobRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteJobRequest to JSON. * @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. */ enum JobView { JOB_VIEW_UNSPECIFIED = 0, JOB_VIEW_ID_ONLY = 1, JOB_VIEW_MINIMAL = 2, JOB_VIEW_SMALL = 3, JOB_VIEW_FULL = 4 } /** Properties of a ListJobsRequest. */ interface IListJobsRequest { /** ListJobsRequest parent */ parent?: (string|null); /** ListJobsRequest filter */ filter?: (string|null); /** ListJobsRequest pageToken */ pageToken?: (string|null); /** ListJobsRequest pageSize */ pageSize?: (number|null); /** ListJobsRequest jobView */ jobView?: (google.cloud.talent.v4.JobView|keyof typeof google.cloud.talent.v4.JobView|null); } /** Represents a ListJobsRequest. */ class ListJobsRequest implements IListJobsRequest { /** * Constructs a new ListJobsRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IListJobsRequest); /** ListJobsRequest parent. */ public parent: string; /** ListJobsRequest filter. */ public filter: string; /** ListJobsRequest pageToken. */ public pageToken: string; /** ListJobsRequest pageSize. */ public pageSize: number; /** ListJobsRequest jobView. */ public jobView: (google.cloud.talent.v4.JobView|keyof typeof google.cloud.talent.v4.JobView); /** * Creates a new ListJobsRequest instance using the specified properties. * @param [properties] Properties to set * @returns ListJobsRequest instance */ public static create(properties?: google.cloud.talent.v4.IListJobsRequest): google.cloud.talent.v4.ListJobsRequest; /** * Encodes the specified ListJobsRequest message. Does not implicitly {@link google.cloud.talent.v4.ListJobsRequest.verify|verify} messages. * @param message ListJobsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IListJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListJobsRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4.ListJobsRequest.verify|verify} messages. * @param message ListJobsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IListJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListJobsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListJobsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.ListJobsRequest; /** * Decodes a ListJobsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListJobsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.ListJobsRequest; /** * Verifies a ListJobsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListJobsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListJobsRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.ListJobsRequest; /** * Creates a plain object from a ListJobsRequest message. Also converts values to other types if specified. * @param message ListJobsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.ListJobsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListJobsRequest to JSON. * @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. */ interface IListJobsResponse { /** ListJobsResponse jobs */ jobs?: (google.cloud.talent.v4.IJob[]|null); /** ListJobsResponse nextPageToken */ nextPageToken?: (string|null); /** ListJobsResponse metadata */ metadata?: (google.cloud.talent.v4.IResponseMetadata|null); } /** Represents a ListJobsResponse. */ class ListJobsResponse implements IListJobsResponse { /** * Constructs a new ListJobsResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IListJobsResponse); /** ListJobsResponse jobs. */ public jobs: google.cloud.talent.v4.IJob[]; /** ListJobsResponse nextPageToken. */ public nextPageToken: string; /** ListJobsResponse metadata. */ public metadata?: (google.cloud.talent.v4.IResponseMetadata|null); /** * Creates a new ListJobsResponse instance using the specified properties. * @param [properties] Properties to set * @returns ListJobsResponse instance */ public static create(properties?: google.cloud.talent.v4.IListJobsResponse): google.cloud.talent.v4.ListJobsResponse; /** * Encodes the specified ListJobsResponse message. Does not implicitly {@link google.cloud.talent.v4.ListJobsResponse.verify|verify} messages. * @param message ListJobsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IListJobsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListJobsResponse message, length delimited. Does not implicitly {@link google.cloud.talent.v4.ListJobsResponse.verify|verify} messages. * @param message ListJobsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IListJobsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListJobsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListJobsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.ListJobsResponse; /** * Decodes a ListJobsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListJobsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.ListJobsResponse; /** * Verifies a ListJobsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListJobsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListJobsResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.ListJobsResponse; /** * Creates a plain object from a ListJobsResponse message. Also converts values to other types if specified. * @param message ListJobsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.ListJobsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListJobsResponse to JSON. * @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. */ interface ISearchJobsRequest { /** SearchJobsRequest parent */ parent?: (string|null); /** SearchJobsRequest searchMode */ searchMode?: (google.cloud.talent.v4.SearchJobsRequest.SearchMode|keyof typeof google.cloud.talent.v4.SearchJobsRequest.SearchMode|null); /** SearchJobsRequest requestMetadata */ requestMetadata?: (google.cloud.talent.v4.IRequestMetadata|null); /** SearchJobsRequest jobQuery */ jobQuery?: (google.cloud.talent.v4.IJobQuery|null); /** SearchJobsRequest enableBroadening */ enableBroadening?: (boolean|null); /** SearchJobsRequest histogramQueries */ histogramQueries?: (google.cloud.talent.v4.IHistogramQuery[]|null); /** SearchJobsRequest jobView */ jobView?: (google.cloud.talent.v4.JobView|keyof typeof google.cloud.talent.v4.JobView|null); /** SearchJobsRequest offset */ offset?: (number|null); /** SearchJobsRequest maxPageSize */ maxPageSize?: (number|null); /** SearchJobsRequest pageToken */ pageToken?: (string|null); /** SearchJobsRequest orderBy */ orderBy?: (string|null); /** SearchJobsRequest diversificationLevel */ diversificationLevel?: (google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel|keyof typeof google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel|null); /** SearchJobsRequest customRankingInfo */ customRankingInfo?: (google.cloud.talent.v4.SearchJobsRequest.ICustomRankingInfo|null); /** SearchJobsRequest disableKeywordMatch */ disableKeywordMatch?: (boolean|null); /** SearchJobsRequest keywordMatchMode */ keywordMatchMode?: (google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode|keyof typeof google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode|null); /** SearchJobsRequest relevanceThreshold */ relevanceThreshold?: (google.cloud.talent.v4.SearchJobsRequest.RelevanceThreshold|keyof typeof google.cloud.talent.v4.SearchJobsRequest.RelevanceThreshold|null); } /** Represents a SearchJobsRequest. */ class SearchJobsRequest implements ISearchJobsRequest { /** * Constructs a new SearchJobsRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.ISearchJobsRequest); /** SearchJobsRequest parent. */ public parent: string; /** SearchJobsRequest searchMode. */ public searchMode: (google.cloud.talent.v4.SearchJobsRequest.SearchMode|keyof typeof google.cloud.talent.v4.SearchJobsRequest.SearchMode); /** SearchJobsRequest requestMetadata. */ public requestMetadata?: (google.cloud.talent.v4.IRequestMetadata|null); /** SearchJobsRequest jobQuery. */ public jobQuery?: (google.cloud.talent.v4.IJobQuery|null); /** SearchJobsRequest enableBroadening. */ public enableBroadening: boolean; /** SearchJobsRequest histogramQueries. */ public histogramQueries: google.cloud.talent.v4.IHistogramQuery[]; /** SearchJobsRequest jobView. */ public jobView: (google.cloud.talent.v4.JobView|keyof typeof google.cloud.talent.v4.JobView); /** SearchJobsRequest offset. */ public offset: number; /** SearchJobsRequest maxPageSize. */ public maxPageSize: number; /** SearchJobsRequest pageToken. */ public pageToken: string; /** SearchJobsRequest orderBy. */ public orderBy: string; /** SearchJobsRequest diversificationLevel. */ public diversificationLevel: (google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel|keyof typeof google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel); /** SearchJobsRequest customRankingInfo. */ public customRankingInfo?: (google.cloud.talent.v4.SearchJobsRequest.ICustomRankingInfo|null); /** SearchJobsRequest disableKeywordMatch. */ public disableKeywordMatch: boolean; /** SearchJobsRequest keywordMatchMode. */ public keywordMatchMode: (google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode|keyof typeof google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode); /** SearchJobsRequest relevanceThreshold. */ public relevanceThreshold: (google.cloud.talent.v4.SearchJobsRequest.RelevanceThreshold|keyof typeof google.cloud.talent.v4.SearchJobsRequest.RelevanceThreshold); /** * Creates a new SearchJobsRequest instance using the specified properties. * @param [properties] Properties to set * @returns SearchJobsRequest instance */ public static create(properties?: google.cloud.talent.v4.ISearchJobsRequest): google.cloud.talent.v4.SearchJobsRequest; /** * Encodes the specified SearchJobsRequest message. Does not implicitly {@link google.cloud.talent.v4.SearchJobsRequest.verify|verify} messages. * @param message SearchJobsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.ISearchJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SearchJobsRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4.SearchJobsRequest.verify|verify} messages. * @param message SearchJobsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.ISearchJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SearchJobsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SearchJobsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.SearchJobsRequest; /** * Decodes a SearchJobsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SearchJobsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.SearchJobsRequest; /** * Verifies a SearchJobsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SearchJobsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SearchJobsRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.SearchJobsRequest; /** * Creates a plain object from a SearchJobsRequest message. Also converts values to other types if specified. * @param message SearchJobsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.SearchJobsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SearchJobsRequest to JSON. * @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 { /** SearchMode enum. */ enum SearchMode { SEARCH_MODE_UNSPECIFIED = 0, JOB_SEARCH = 1, FEATURED_JOB_SEARCH = 2 } /** DiversificationLevel enum. */ enum DiversificationLevel { DIVERSIFICATION_LEVEL_UNSPECIFIED = 0, DISABLED = 1, SIMPLE = 2, ONE_PER_COMPANY = 3, TWO_PER_COMPANY = 4, MAX_THREE_PER_COMPANY = 6, DIVERSIFY_BY_LOOSER_SIMILARITY = 5 } /** KeywordMatchMode enum. */ enum KeywordMatchMode { KEYWORD_MATCH_MODE_UNSPECIFIED = 0, KEYWORD_MATCH_DISABLED = 1, KEYWORD_MATCH_ALL = 2, KEYWORD_MATCH_TITLE_ONLY = 3 } /** RelevanceThreshold enum. */ enum RelevanceThreshold { RELEVANCE_THRESHOLD_UNSPECIFIED = 0, LOWEST = 1, LOW = 2, MEDIUM = 3, HIGH = 4 } /** Properties of a CustomRankingInfo. */ interface ICustomRankingInfo { /** CustomRankingInfo importanceLevel */ importanceLevel?: (google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel|keyof typeof google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel|null); /** CustomRankingInfo rankingExpression */ rankingExpression?: (string|null); } /** Represents a CustomRankingInfo. */ class CustomRankingInfo implements ICustomRankingInfo { /** * Constructs a new CustomRankingInfo. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.SearchJobsRequest.ICustomRankingInfo); /** CustomRankingInfo importanceLevel. */ public importanceLevel: (google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel|keyof typeof google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel); /** CustomRankingInfo rankingExpression. */ public rankingExpression: string; /** * Creates a new CustomRankingInfo instance using the specified properties. * @param [properties] Properties to set * @returns CustomRankingInfo instance */ public static create(properties?: google.cloud.talent.v4.SearchJobsRequest.ICustomRankingInfo): google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo; /** * Encodes the specified CustomRankingInfo message. Does not implicitly {@link google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.verify|verify} messages. * @param message CustomRankingInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.SearchJobsRequest.ICustomRankingInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CustomRankingInfo message, length delimited. Does not implicitly {@link google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.verify|verify} messages. * @param message CustomRankingInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.SearchJobsRequest.ICustomRankingInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CustomRankingInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CustomRankingInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo; /** * Decodes a CustomRankingInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CustomRankingInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo; /** * Verifies a CustomRankingInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CustomRankingInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CustomRankingInfo */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo; /** * Creates a plain object from a CustomRankingInfo message. Also converts values to other types if specified. * @param message CustomRankingInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CustomRankingInfo to JSON. * @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 { /** ImportanceLevel enum. */ enum ImportanceLevel { IMPORTANCE_LEVEL_UNSPECIFIED = 0, NONE = 1, LOW = 2, MILD = 3, MEDIUM = 4, HIGH = 5, EXTREME = 6 } } } /** Properties of a SearchJobsResponse. */ interface ISearchJobsResponse { /** SearchJobsResponse matchingJobs */ matchingJobs?: (google.cloud.talent.v4.SearchJobsResponse.IMatchingJob[]|null); /** SearchJobsResponse histogramQueryResults */ histogramQueryResults?: (google.cloud.talent.v4.IHistogramQueryResult[]|null); /** SearchJobsResponse nextPageToken */ nextPageToken?: (string|null); /** SearchJobsResponse locationFilters */ locationFilters?: (google.cloud.talent.v4.ILocation[]|null); /** SearchJobsResponse totalSize */ totalSize?: (number|null); /** SearchJobsResponse metadata */ metadata?: (google.cloud.talent.v4.IResponseMetadata|null); /** SearchJobsResponse broadenedQueryJobsCount */ broadenedQueryJobsCount?: (number|null); /** SearchJobsResponse spellCorrection */ spellCorrection?: (google.cloud.talent.v4.ISpellingCorrection|null); } /** Represents a SearchJobsResponse. */ class SearchJobsResponse implements ISearchJobsResponse { /** * Constructs a new SearchJobsResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.ISearchJobsResponse); /** SearchJobsResponse matchingJobs. */ public matchingJobs: google.cloud.talent.v4.SearchJobsResponse.IMatchingJob[]; /** SearchJobsResponse histogramQueryResults. */ public histogramQueryResults: google.cloud.talent.v4.IHistogramQueryResult[]; /** SearchJobsResponse nextPageToken. */ public nextPageToken: string; /** SearchJobsResponse locationFilters. */ public locationFilters: google.cloud.talent.v4.ILocation[]; /** SearchJobsResponse totalSize. */ public totalSize: number; /** SearchJobsResponse metadata. */ public metadata?: (google.cloud.talent.v4.IResponseMetadata|null); /** SearchJobsResponse broadenedQueryJobsCount. */ public broadenedQueryJobsCount: number; /** SearchJobsResponse spellCorrection. */ public spellCorrection?: (google.cloud.talent.v4.ISpellingCorrection|null); /** * Creates a new SearchJobsResponse instance using the specified properties. * @param [properties] Properties to set * @returns SearchJobsResponse instance */ public static create(properties?: google.cloud.talent.v4.ISearchJobsResponse): google.cloud.talent.v4.SearchJobsResponse; /** * Encodes the specified SearchJobsResponse message. Does not implicitly {@link google.cloud.talent.v4.SearchJobsResponse.verify|verify} messages. * @param message SearchJobsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.ISearchJobsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SearchJobsResponse message, length delimited. Does not implicitly {@link google.cloud.talent.v4.SearchJobsResponse.verify|verify} messages. * @param message SearchJobsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.ISearchJobsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SearchJobsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SearchJobsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.SearchJobsResponse; /** * Decodes a SearchJobsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SearchJobsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.SearchJobsResponse; /** * Verifies a SearchJobsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SearchJobsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SearchJobsResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.SearchJobsResponse; /** * Creates a plain object from a SearchJobsResponse message. Also converts values to other types if specified. * @param message SearchJobsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.SearchJobsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SearchJobsResponse to JSON. * @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 { /** Properties of a MatchingJob. */ interface IMatchingJob { /** MatchingJob job */ job?: (google.cloud.talent.v4.IJob|null); /** MatchingJob jobSummary */ jobSummary?: (string|null); /** MatchingJob jobTitleSnippet */ jobTitleSnippet?: (string|null); /** MatchingJob searchTextSnippet */ searchTextSnippet?: (string|null); /** MatchingJob commuteInfo */ commuteInfo?: (google.cloud.talent.v4.SearchJobsResponse.ICommuteInfo|null); } /** Represents a MatchingJob. */ class MatchingJob implements IMatchingJob { /** * Constructs a new MatchingJob. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.SearchJobsResponse.IMatchingJob); /** MatchingJob job. */ public job?: (google.cloud.talent.v4.IJob|null); /** MatchingJob jobSummary. */ public jobSummary: string; /** MatchingJob jobTitleSnippet. */ public jobTitleSnippet: string; /** MatchingJob searchTextSnippet. */ public searchTextSnippet: string; /** MatchingJob commuteInfo. */ public commuteInfo?: (google.cloud.talent.v4.SearchJobsResponse.ICommuteInfo|null); /** * Creates a new MatchingJob instance using the specified properties. * @param [properties] Properties to set * @returns MatchingJob instance */ public static create(properties?: google.cloud.talent.v4.SearchJobsResponse.IMatchingJob): google.cloud.talent.v4.SearchJobsResponse.MatchingJob; /** * Encodes the specified MatchingJob message. Does not implicitly {@link google.cloud.talent.v4.SearchJobsResponse.MatchingJob.verify|verify} messages. * @param message MatchingJob message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.SearchJobsResponse.IMatchingJob, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MatchingJob message, length delimited. Does not implicitly {@link google.cloud.talent.v4.SearchJobsResponse.MatchingJob.verify|verify} messages. * @param message MatchingJob message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.SearchJobsResponse.IMatchingJob, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MatchingJob message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MatchingJob * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.SearchJobsResponse.MatchingJob; /** * Decodes a MatchingJob message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MatchingJob * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.SearchJobsResponse.MatchingJob; /** * Verifies a MatchingJob message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MatchingJob message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MatchingJob */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.SearchJobsResponse.MatchingJob; /** * Creates a plain object from a MatchingJob message. Also converts values to other types if specified. * @param message MatchingJob * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.SearchJobsResponse.MatchingJob, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MatchingJob to JSON. * @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. */ interface ICommuteInfo { /** CommuteInfo jobLocation */ jobLocation?: (google.cloud.talent.v4.ILocation|null); /** CommuteInfo travelDuration */ travelDuration?: (google.protobuf.IDuration|null); } /** Represents a CommuteInfo. */ class CommuteInfo implements ICommuteInfo { /** * Constructs a new CommuteInfo. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.SearchJobsResponse.ICommuteInfo); /** CommuteInfo jobLocation. */ public jobLocation?: (google.cloud.talent.v4.ILocation|null); /** CommuteInfo travelDuration. */ public travelDuration?: (google.protobuf.IDuration|null); /** * Creates a new CommuteInfo instance using the specified properties. * @param [properties] Properties to set * @returns CommuteInfo instance */ public static create(properties?: google.cloud.talent.v4.SearchJobsResponse.ICommuteInfo): google.cloud.talent.v4.SearchJobsResponse.CommuteInfo; /** * Encodes the specified CommuteInfo message. Does not implicitly {@link google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.verify|verify} messages. * @param message CommuteInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.SearchJobsResponse.ICommuteInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommuteInfo message, length delimited. Does not implicitly {@link google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.verify|verify} messages. * @param message CommuteInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.SearchJobsResponse.ICommuteInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommuteInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CommuteInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.SearchJobsResponse.CommuteInfo; /** * Decodes a CommuteInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CommuteInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.SearchJobsResponse.CommuteInfo; /** * Verifies a CommuteInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommuteInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommuteInfo */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.SearchJobsResponse.CommuteInfo; /** * Creates a plain object from a CommuteInfo message. Also converts values to other types if specified. * @param message CommuteInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.SearchJobsResponse.CommuteInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommuteInfo to JSON. * @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; } } /** Properties of a BatchCreateJobsRequest. */ interface IBatchCreateJobsRequest { /** BatchCreateJobsRequest parent */ parent?: (string|null); /** BatchCreateJobsRequest jobs */ jobs?: (google.cloud.talent.v4.IJob[]|null); } /** Represents a BatchCreateJobsRequest. */ class BatchCreateJobsRequest implements IBatchCreateJobsRequest { /** * Constructs a new BatchCreateJobsRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IBatchCreateJobsRequest); /** BatchCreateJobsRequest parent. */ public parent: string; /** BatchCreateJobsRequest jobs. */ public jobs: google.cloud.talent.v4.IJob[]; /** * Creates a new BatchCreateJobsRequest instance using the specified properties. * @param [properties] Properties to set * @returns BatchCreateJobsRequest instance */ public static create(properties?: google.cloud.talent.v4.IBatchCreateJobsRequest): google.cloud.talent.v4.BatchCreateJobsRequest; /** * Encodes the specified BatchCreateJobsRequest message. Does not implicitly {@link google.cloud.talent.v4.BatchCreateJobsRequest.verify|verify} messages. * @param message BatchCreateJobsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IBatchCreateJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BatchCreateJobsRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4.BatchCreateJobsRequest.verify|verify} messages. * @param message BatchCreateJobsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IBatchCreateJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BatchCreateJobsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BatchCreateJobsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.BatchCreateJobsRequest; /** * Decodes a BatchCreateJobsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BatchCreateJobsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.BatchCreateJobsRequest; /** * Verifies a BatchCreateJobsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BatchCreateJobsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BatchCreateJobsRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.BatchCreateJobsRequest; /** * Creates a plain object from a BatchCreateJobsRequest message. Also converts values to other types if specified. * @param message BatchCreateJobsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.BatchCreateJobsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BatchCreateJobsRequest to JSON. * @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. */ interface IBatchUpdateJobsRequest { /** BatchUpdateJobsRequest parent */ parent?: (string|null); /** BatchUpdateJobsRequest jobs */ jobs?: (google.cloud.talent.v4.IJob[]|null); /** BatchUpdateJobsRequest updateMask */ updateMask?: (google.protobuf.IFieldMask|null); } /** Represents a BatchUpdateJobsRequest. */ class BatchUpdateJobsRequest implements IBatchUpdateJobsRequest { /** * Constructs a new BatchUpdateJobsRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IBatchUpdateJobsRequest); /** BatchUpdateJobsRequest parent. */ public parent: string; /** BatchUpdateJobsRequest jobs. */ public jobs: google.cloud.talent.v4.IJob[]; /** BatchUpdateJobsRequest updateMask. */ public updateMask?: (google.protobuf.IFieldMask|null); /** * Creates a new BatchUpdateJobsRequest instance using the specified properties. * @param [properties] Properties to set * @returns BatchUpdateJobsRequest instance */ public static create(properties?: google.cloud.talent.v4.IBatchUpdateJobsRequest): google.cloud.talent.v4.BatchUpdateJobsRequest; /** * Encodes the specified BatchUpdateJobsRequest message. Does not implicitly {@link google.cloud.talent.v4.BatchUpdateJobsRequest.verify|verify} messages. * @param message BatchUpdateJobsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IBatchUpdateJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BatchUpdateJobsRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4.BatchUpdateJobsRequest.verify|verify} messages. * @param message BatchUpdateJobsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IBatchUpdateJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BatchUpdateJobsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BatchUpdateJobsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.BatchUpdateJobsRequest; /** * Decodes a BatchUpdateJobsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BatchUpdateJobsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.BatchUpdateJobsRequest; /** * Verifies a BatchUpdateJobsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BatchUpdateJobsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BatchUpdateJobsRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.BatchUpdateJobsRequest; /** * Creates a plain object from a BatchUpdateJobsRequest message. Also converts values to other types if specified. * @param message BatchUpdateJobsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.BatchUpdateJobsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BatchUpdateJobsRequest to JSON. * @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. */ interface IBatchDeleteJobsRequest { /** BatchDeleteJobsRequest parent */ parent?: (string|null); /** BatchDeleteJobsRequest names */ names?: (string[]|null); } /** Represents a BatchDeleteJobsRequest. */ class BatchDeleteJobsRequest implements IBatchDeleteJobsRequest { /** * Constructs a new BatchDeleteJobsRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IBatchDeleteJobsRequest); /** BatchDeleteJobsRequest parent. */ public parent: string; /** BatchDeleteJobsRequest names. */ public names: string[]; /** * Creates a new BatchDeleteJobsRequest instance using the specified properties. * @param [properties] Properties to set * @returns BatchDeleteJobsRequest instance */ public static create(properties?: google.cloud.talent.v4.IBatchDeleteJobsRequest): google.cloud.talent.v4.BatchDeleteJobsRequest; /** * Encodes the specified BatchDeleteJobsRequest message. Does not implicitly {@link google.cloud.talent.v4.BatchDeleteJobsRequest.verify|verify} messages. * @param message BatchDeleteJobsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IBatchDeleteJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BatchDeleteJobsRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4.BatchDeleteJobsRequest.verify|verify} messages. * @param message BatchDeleteJobsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IBatchDeleteJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BatchDeleteJobsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BatchDeleteJobsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.BatchDeleteJobsRequest; /** * Decodes a BatchDeleteJobsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BatchDeleteJobsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.BatchDeleteJobsRequest; /** * Verifies a BatchDeleteJobsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BatchDeleteJobsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BatchDeleteJobsRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.BatchDeleteJobsRequest; /** * Creates a plain object from a BatchDeleteJobsRequest message. Also converts values to other types if specified. * @param message BatchDeleteJobsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.BatchDeleteJobsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BatchDeleteJobsRequest to JSON. * @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. */ interface IJobResult { /** JobResult job */ job?: (google.cloud.talent.v4.IJob|null); /** JobResult status */ status?: (google.rpc.IStatus|null); } /** Represents a JobResult. */ class JobResult implements IJobResult { /** * Constructs a new JobResult. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IJobResult); /** JobResult job. */ public job?: (google.cloud.talent.v4.IJob|null); /** JobResult status. */ public status?: (google.rpc.IStatus|null); /** * Creates a new JobResult instance using the specified properties. * @param [properties] Properties to set * @returns JobResult instance */ public static create(properties?: google.cloud.talent.v4.IJobResult): google.cloud.talent.v4.JobResult; /** * Encodes the specified JobResult message. Does not implicitly {@link google.cloud.talent.v4.JobResult.verify|verify} messages. * @param message JobResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IJobResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified JobResult message, length delimited. Does not implicitly {@link google.cloud.talent.v4.JobResult.verify|verify} messages. * @param message JobResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IJobResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a JobResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns JobResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.JobResult; /** * Decodes a JobResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns JobResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.JobResult; /** * Verifies a JobResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a JobResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns JobResult */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.JobResult; /** * Creates a plain object from a JobResult message. Also converts values to other types if specified. * @param message JobResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.JobResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this JobResult to JSON. * @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. */ interface IBatchCreateJobsResponse { /** BatchCreateJobsResponse jobResults */ jobResults?: (google.cloud.talent.v4.IJobResult[]|null); } /** Represents a BatchCreateJobsResponse. */ class BatchCreateJobsResponse implements IBatchCreateJobsResponse { /** * Constructs a new BatchCreateJobsResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IBatchCreateJobsResponse); /** BatchCreateJobsResponse jobResults. */ public jobResults: google.cloud.talent.v4.IJobResult[]; /** * Creates a new BatchCreateJobsResponse instance using the specified properties. * @param [properties] Properties to set * @returns BatchCreateJobsResponse instance */ public static create(properties?: google.cloud.talent.v4.IBatchCreateJobsResponse): google.cloud.talent.v4.BatchCreateJobsResponse; /** * Encodes the specified BatchCreateJobsResponse message. Does not implicitly {@link google.cloud.talent.v4.BatchCreateJobsResponse.verify|verify} messages. * @param message BatchCreateJobsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IBatchCreateJobsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BatchCreateJobsResponse message, length delimited. Does not implicitly {@link google.cloud.talent.v4.BatchCreateJobsResponse.verify|verify} messages. * @param message BatchCreateJobsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IBatchCreateJobsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BatchCreateJobsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BatchCreateJobsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.BatchCreateJobsResponse; /** * Decodes a BatchCreateJobsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BatchCreateJobsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.BatchCreateJobsResponse; /** * Verifies a BatchCreateJobsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BatchCreateJobsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BatchCreateJobsResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.BatchCreateJobsResponse; /** * Creates a plain object from a BatchCreateJobsResponse message. Also converts values to other types if specified. * @param message BatchCreateJobsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.BatchCreateJobsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BatchCreateJobsResponse to JSON. * @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. */ interface IBatchUpdateJobsResponse { /** BatchUpdateJobsResponse jobResults */ jobResults?: (google.cloud.talent.v4.IJobResult[]|null); } /** Represents a BatchUpdateJobsResponse. */ class BatchUpdateJobsResponse implements IBatchUpdateJobsResponse { /** * Constructs a new BatchUpdateJobsResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IBatchUpdateJobsResponse); /** BatchUpdateJobsResponse jobResults. */ public jobResults: google.cloud.talent.v4.IJobResult[]; /** * Creates a new BatchUpdateJobsResponse instance using the specified properties. * @param [properties] Properties to set * @returns BatchUpdateJobsResponse instance */ public static create(properties?: google.cloud.talent.v4.IBatchUpdateJobsResponse): google.cloud.talent.v4.BatchUpdateJobsResponse; /** * Encodes the specified BatchUpdateJobsResponse message. Does not implicitly {@link google.cloud.talent.v4.BatchUpdateJobsResponse.verify|verify} messages. * @param message BatchUpdateJobsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IBatchUpdateJobsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BatchUpdateJobsResponse message, length delimited. Does not implicitly {@link google.cloud.talent.v4.BatchUpdateJobsResponse.verify|verify} messages. * @param message BatchUpdateJobsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IBatchUpdateJobsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BatchUpdateJobsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BatchUpdateJobsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.BatchUpdateJobsResponse; /** * Decodes a BatchUpdateJobsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BatchUpdateJobsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.BatchUpdateJobsResponse; /** * Verifies a BatchUpdateJobsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BatchUpdateJobsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BatchUpdateJobsResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.BatchUpdateJobsResponse; /** * Creates a plain object from a BatchUpdateJobsResponse message. Also converts values to other types if specified. * @param message BatchUpdateJobsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.BatchUpdateJobsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BatchUpdateJobsResponse to JSON. * @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. */ interface IBatchDeleteJobsResponse { /** BatchDeleteJobsResponse jobResults */ jobResults?: (google.cloud.talent.v4.IJobResult[]|null); } /** Represents a BatchDeleteJobsResponse. */ class BatchDeleteJobsResponse implements IBatchDeleteJobsResponse { /** * Constructs a new BatchDeleteJobsResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IBatchDeleteJobsResponse); /** BatchDeleteJobsResponse jobResults. */ public jobResults: google.cloud.talent.v4.IJobResult[]; /** * Creates a new BatchDeleteJobsResponse instance using the specified properties. * @param [properties] Properties to set * @returns BatchDeleteJobsResponse instance */ public static create(properties?: google.cloud.talent.v4.IBatchDeleteJobsResponse): google.cloud.talent.v4.BatchDeleteJobsResponse; /** * Encodes the specified BatchDeleteJobsResponse message. Does not implicitly {@link google.cloud.talent.v4.BatchDeleteJobsResponse.verify|verify} messages. * @param message BatchDeleteJobsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IBatchDeleteJobsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BatchDeleteJobsResponse message, length delimited. Does not implicitly {@link google.cloud.talent.v4.BatchDeleteJobsResponse.verify|verify} messages. * @param message BatchDeleteJobsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IBatchDeleteJobsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BatchDeleteJobsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BatchDeleteJobsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.BatchDeleteJobsResponse; /** * Decodes a BatchDeleteJobsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BatchDeleteJobsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.BatchDeleteJobsResponse; /** * Verifies a BatchDeleteJobsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BatchDeleteJobsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BatchDeleteJobsResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.BatchDeleteJobsResponse; /** * Creates a plain object from a BatchDeleteJobsResponse message. Also converts values to other types if specified. * @param message BatchDeleteJobsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.BatchDeleteJobsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BatchDeleteJobsResponse to JSON. * @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. */ interface ITenant { /** Tenant name */ name?: (string|null); /** Tenant externalId */ externalId?: (string|null); } /** Represents a Tenant. */ class Tenant implements ITenant { /** * Constructs a new Tenant. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.ITenant); /** Tenant name. */ public name: string; /** Tenant externalId. */ public externalId: string; /** * Creates a new Tenant instance using the specified properties. * @param [properties] Properties to set * @returns Tenant instance */ public static create(properties?: google.cloud.talent.v4.ITenant): google.cloud.talent.v4.Tenant; /** * Encodes the specified Tenant message. Does not implicitly {@link google.cloud.talent.v4.Tenant.verify|verify} messages. * @param message Tenant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.ITenant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Tenant message, length delimited. Does not implicitly {@link google.cloud.talent.v4.Tenant.verify|verify} messages. * @param message Tenant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.ITenant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Tenant message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Tenant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.Tenant; /** * Decodes a Tenant message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Tenant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.Tenant; /** * Verifies a Tenant message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Tenant message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Tenant */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.Tenant; /** * Creates a plain object from a Tenant message. Also converts values to other types if specified. * @param message Tenant * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.Tenant, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Tenant to JSON. * @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 */ class TenantService extends $protobuf.rpc.Service { /** * Constructs a new TenantService service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Creates new TenantService service using the specified rpc implementation. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited * @returns RPC service. Useful where requests and/or responses are streamed. */ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): TenantService; /** * Calls CreateTenant. * @param request CreateTenantRequest message or plain object * @param callback Node-style callback called with the error, if any, and Tenant */ public createTenant(request: google.cloud.talent.v4.ICreateTenantRequest, callback: google.cloud.talent.v4.TenantService.CreateTenantCallback): void; /** * Calls CreateTenant. * @param request CreateTenantRequest message or plain object * @returns Promise */ public createTenant(request: google.cloud.talent.v4.ICreateTenantRequest): Promise; /** * Calls GetTenant. * @param request GetTenantRequest message or plain object * @param callback Node-style callback called with the error, if any, and Tenant */ public getTenant(request: google.cloud.talent.v4.IGetTenantRequest, callback: google.cloud.talent.v4.TenantService.GetTenantCallback): void; /** * Calls GetTenant. * @param request GetTenantRequest message or plain object * @returns Promise */ public getTenant(request: google.cloud.talent.v4.IGetTenantRequest): Promise; /** * Calls UpdateTenant. * @param request UpdateTenantRequest message or plain object * @param callback Node-style callback called with the error, if any, and Tenant */ public updateTenant(request: google.cloud.talent.v4.IUpdateTenantRequest, callback: google.cloud.talent.v4.TenantService.UpdateTenantCallback): void; /** * Calls UpdateTenant. * @param request UpdateTenantRequest message or plain object * @returns Promise */ public updateTenant(request: google.cloud.talent.v4.IUpdateTenantRequest): Promise; /** * Calls DeleteTenant. * @param request DeleteTenantRequest message or plain object * @param callback Node-style callback called with the error, if any, and Empty */ public deleteTenant(request: google.cloud.talent.v4.IDeleteTenantRequest, callback: google.cloud.talent.v4.TenantService.DeleteTenantCallback): void; /** * Calls DeleteTenant. * @param request DeleteTenantRequest message or plain object * @returns Promise */ public deleteTenant(request: google.cloud.talent.v4.IDeleteTenantRequest): Promise; /** * Calls ListTenants. * @param request ListTenantsRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListTenantsResponse */ public listTenants(request: google.cloud.talent.v4.IListTenantsRequest, callback: google.cloud.talent.v4.TenantService.ListTenantsCallback): void; /** * Calls ListTenants. * @param request ListTenantsRequest message or plain object * @returns Promise */ public listTenants(request: google.cloud.talent.v4.IListTenantsRequest): Promise; } namespace TenantService { /** * 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}. * @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}. * @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}. * @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}. * @param error Error, if any * @param [response] ListTenantsResponse */ type ListTenantsCallback = (error: (Error|null), response?: google.cloud.talent.v4.ListTenantsResponse) => void; } /** Properties of a CreateTenantRequest. */ interface ICreateTenantRequest { /** CreateTenantRequest parent */ parent?: (string|null); /** CreateTenantRequest tenant */ tenant?: (google.cloud.talent.v4.ITenant|null); } /** Represents a CreateTenantRequest. */ class CreateTenantRequest implements ICreateTenantRequest { /** * Constructs a new CreateTenantRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.ICreateTenantRequest); /** CreateTenantRequest parent. */ public parent: string; /** CreateTenantRequest tenant. */ public tenant?: (google.cloud.talent.v4.ITenant|null); /** * Creates a new CreateTenantRequest instance using the specified properties. * @param [properties] Properties to set * @returns CreateTenantRequest instance */ public static create(properties?: google.cloud.talent.v4.ICreateTenantRequest): google.cloud.talent.v4.CreateTenantRequest; /** * Encodes the specified CreateTenantRequest message. Does not implicitly {@link google.cloud.talent.v4.CreateTenantRequest.verify|verify} messages. * @param message CreateTenantRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.ICreateTenantRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CreateTenantRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4.CreateTenantRequest.verify|verify} messages. * @param message CreateTenantRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.ICreateTenantRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CreateTenantRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CreateTenantRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.CreateTenantRequest; /** * Decodes a CreateTenantRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CreateTenantRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.CreateTenantRequest; /** * Verifies a CreateTenantRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CreateTenantRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CreateTenantRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.CreateTenantRequest; /** * Creates a plain object from a CreateTenantRequest message. Also converts values to other types if specified. * @param message CreateTenantRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.CreateTenantRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CreateTenantRequest to JSON. * @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. */ interface IGetTenantRequest { /** GetTenantRequest name */ name?: (string|null); } /** Represents a GetTenantRequest. */ class GetTenantRequest implements IGetTenantRequest { /** * Constructs a new GetTenantRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IGetTenantRequest); /** GetTenantRequest name. */ public name: string; /** * Creates a new GetTenantRequest instance using the specified properties. * @param [properties] Properties to set * @returns GetTenantRequest instance */ public static create(properties?: google.cloud.talent.v4.IGetTenantRequest): google.cloud.talent.v4.GetTenantRequest; /** * Encodes the specified GetTenantRequest message. Does not implicitly {@link google.cloud.talent.v4.GetTenantRequest.verify|verify} messages. * @param message GetTenantRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IGetTenantRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetTenantRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4.GetTenantRequest.verify|verify} messages. * @param message GetTenantRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IGetTenantRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetTenantRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetTenantRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.GetTenantRequest; /** * Decodes a GetTenantRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetTenantRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.GetTenantRequest; /** * Verifies a GetTenantRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetTenantRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetTenantRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.GetTenantRequest; /** * Creates a plain object from a GetTenantRequest message. Also converts values to other types if specified. * @param message GetTenantRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.GetTenantRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetTenantRequest to JSON. * @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. */ interface IUpdateTenantRequest { /** UpdateTenantRequest tenant */ tenant?: (google.cloud.talent.v4.ITenant|null); /** UpdateTenantRequest updateMask */ updateMask?: (google.protobuf.IFieldMask|null); } /** Represents an UpdateTenantRequest. */ class UpdateTenantRequest implements IUpdateTenantRequest { /** * Constructs a new UpdateTenantRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IUpdateTenantRequest); /** UpdateTenantRequest tenant. */ public tenant?: (google.cloud.talent.v4.ITenant|null); /** UpdateTenantRequest updateMask. */ public updateMask?: (google.protobuf.IFieldMask|null); /** * Creates a new UpdateTenantRequest instance using the specified properties. * @param [properties] Properties to set * @returns UpdateTenantRequest instance */ public static create(properties?: google.cloud.talent.v4.IUpdateTenantRequest): google.cloud.talent.v4.UpdateTenantRequest; /** * Encodes the specified UpdateTenantRequest message. Does not implicitly {@link google.cloud.talent.v4.UpdateTenantRequest.verify|verify} messages. * @param message UpdateTenantRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IUpdateTenantRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UpdateTenantRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4.UpdateTenantRequest.verify|verify} messages. * @param message UpdateTenantRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IUpdateTenantRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UpdateTenantRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UpdateTenantRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.UpdateTenantRequest; /** * Decodes an UpdateTenantRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UpdateTenantRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.UpdateTenantRequest; /** * Verifies an UpdateTenantRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an UpdateTenantRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UpdateTenantRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.UpdateTenantRequest; /** * Creates a plain object from an UpdateTenantRequest message. Also converts values to other types if specified. * @param message UpdateTenantRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.UpdateTenantRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UpdateTenantRequest to JSON. * @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. */ interface IDeleteTenantRequest { /** DeleteTenantRequest name */ name?: (string|null); } /** Represents a DeleteTenantRequest. */ class DeleteTenantRequest implements IDeleteTenantRequest { /** * Constructs a new DeleteTenantRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IDeleteTenantRequest); /** DeleteTenantRequest name. */ public name: string; /** * Creates a new DeleteTenantRequest instance using the specified properties. * @param [properties] Properties to set * @returns DeleteTenantRequest instance */ public static create(properties?: google.cloud.talent.v4.IDeleteTenantRequest): google.cloud.talent.v4.DeleteTenantRequest; /** * Encodes the specified DeleteTenantRequest message. Does not implicitly {@link google.cloud.talent.v4.DeleteTenantRequest.verify|verify} messages. * @param message DeleteTenantRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IDeleteTenantRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteTenantRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4.DeleteTenantRequest.verify|verify} messages. * @param message DeleteTenantRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IDeleteTenantRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteTenantRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteTenantRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.DeleteTenantRequest; /** * Decodes a DeleteTenantRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteTenantRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.DeleteTenantRequest; /** * Verifies a DeleteTenantRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeleteTenantRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteTenantRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.DeleteTenantRequest; /** * Creates a plain object from a DeleteTenantRequest message. Also converts values to other types if specified. * @param message DeleteTenantRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.DeleteTenantRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteTenantRequest to JSON. * @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. */ interface IListTenantsRequest { /** ListTenantsRequest parent */ parent?: (string|null); /** ListTenantsRequest pageToken */ pageToken?: (string|null); /** ListTenantsRequest pageSize */ pageSize?: (number|null); } /** Represents a ListTenantsRequest. */ class ListTenantsRequest implements IListTenantsRequest { /** * Constructs a new ListTenantsRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IListTenantsRequest); /** ListTenantsRequest parent. */ public parent: string; /** ListTenantsRequest pageToken. */ public pageToken: string; /** ListTenantsRequest pageSize. */ public pageSize: number; /** * Creates a new ListTenantsRequest instance using the specified properties. * @param [properties] Properties to set * @returns ListTenantsRequest instance */ public static create(properties?: google.cloud.talent.v4.IListTenantsRequest): google.cloud.talent.v4.ListTenantsRequest; /** * Encodes the specified ListTenantsRequest message. Does not implicitly {@link google.cloud.talent.v4.ListTenantsRequest.verify|verify} messages. * @param message ListTenantsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IListTenantsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListTenantsRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4.ListTenantsRequest.verify|verify} messages. * @param message ListTenantsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IListTenantsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListTenantsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListTenantsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.ListTenantsRequest; /** * Decodes a ListTenantsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListTenantsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.ListTenantsRequest; /** * Verifies a ListTenantsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListTenantsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListTenantsRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.ListTenantsRequest; /** * Creates a plain object from a ListTenantsRequest message. Also converts values to other types if specified. * @param message ListTenantsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.ListTenantsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListTenantsRequest to JSON. * @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. */ interface IListTenantsResponse { /** ListTenantsResponse tenants */ tenants?: (google.cloud.talent.v4.ITenant[]|null); /** ListTenantsResponse nextPageToken */ nextPageToken?: (string|null); /** ListTenantsResponse metadata */ metadata?: (google.cloud.talent.v4.IResponseMetadata|null); } /** Represents a ListTenantsResponse. */ class ListTenantsResponse implements IListTenantsResponse { /** * Constructs a new ListTenantsResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4.IListTenantsResponse); /** ListTenantsResponse tenants. */ public tenants: google.cloud.talent.v4.ITenant[]; /** ListTenantsResponse nextPageToken. */ public nextPageToken: string; /** ListTenantsResponse metadata. */ public metadata?: (google.cloud.talent.v4.IResponseMetadata|null); /** * Creates a new ListTenantsResponse instance using the specified properties. * @param [properties] Properties to set * @returns ListTenantsResponse instance */ public static create(properties?: google.cloud.talent.v4.IListTenantsResponse): google.cloud.talent.v4.ListTenantsResponse; /** * Encodes the specified ListTenantsResponse message. Does not implicitly {@link google.cloud.talent.v4.ListTenantsResponse.verify|verify} messages. * @param message ListTenantsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4.IListTenantsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListTenantsResponse message, length delimited. Does not implicitly {@link google.cloud.talent.v4.ListTenantsResponse.verify|verify} messages. * @param message ListTenantsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4.IListTenantsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListTenantsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListTenantsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4.ListTenantsResponse; /** * Decodes a ListTenantsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListTenantsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4.ListTenantsResponse; /** * Verifies a ListTenantsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListTenantsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListTenantsResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4.ListTenantsResponse; /** * Creates a plain object from a ListTenantsResponse message. Also converts values to other types if specified. * @param message ListTenantsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4.ListTenantsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListTenantsResponse to JSON. * @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; } } /** Namespace v4beta1. */ namespace v4beta1 { /** Properties of a TimestampRange. */ interface ITimestampRange { /** TimestampRange startTime */ startTime?: (google.protobuf.ITimestamp|null); /** TimestampRange endTime */ endTime?: (google.protobuf.ITimestamp|null); } /** Represents a TimestampRange. */ class TimestampRange implements ITimestampRange { /** * Constructs a new TimestampRange. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.ITimestampRange); /** TimestampRange startTime. */ public startTime?: (google.protobuf.ITimestamp|null); /** TimestampRange endTime. */ public endTime?: (google.protobuf.ITimestamp|null); /** * Creates a new TimestampRange instance using the specified properties. * @param [properties] Properties to set * @returns TimestampRange instance */ public static create(properties?: google.cloud.talent.v4beta1.ITimestampRange): google.cloud.talent.v4beta1.TimestampRange; /** * Encodes the specified TimestampRange message. Does not implicitly {@link google.cloud.talent.v4beta1.TimestampRange.verify|verify} messages. * @param message TimestampRange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.ITimestampRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TimestampRange message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.TimestampRange.verify|verify} messages. * @param message TimestampRange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.ITimestampRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TimestampRange message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TimestampRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.TimestampRange; /** * Decodes a TimestampRange message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TimestampRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.TimestampRange; /** * Verifies a TimestampRange message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TimestampRange message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TimestampRange */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.TimestampRange; /** * Creates a plain object from a TimestampRange message. Also converts values to other types if specified. * @param message TimestampRange * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.TimestampRange, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TimestampRange to JSON. * @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. */ enum CompanySize { COMPANY_SIZE_UNSPECIFIED = 0, MINI = 1, SMALL = 2, SMEDIUM = 3, MEDIUM = 4, BIG = 5, BIGGER = 6, GIANT = 7 } /** JobBenefit enum. */ enum JobBenefit { JOB_BENEFIT_UNSPECIFIED = 0, CHILD_CARE = 1, DENTAL = 2, DOMESTIC_PARTNER = 3, FLEXIBLE_HOURS = 4, MEDICAL = 5, LIFE_INSURANCE = 6, PARENTAL_LEAVE = 7, RETIREMENT_PLAN = 8, SICK_DAYS = 9, VACATION = 10, VISION = 11 } /** DegreeType enum. */ enum DegreeType { DEGREE_TYPE_UNSPECIFIED = 0, PRIMARY_EDUCATION = 1, LOWER_SECONDARY_EDUCATION = 2, UPPER_SECONDARY_EDUCATION = 3, ADULT_REMEDIAL_EDUCATION = 4, ASSOCIATES_OR_EQUIVALENT = 5, BACHELORS_OR_EQUIVALENT = 6, MASTERS_OR_EQUIVALENT = 7, DOCTORAL_OR_EQUIVALENT = 8 } /** EmploymentType enum. */ enum EmploymentType { EMPLOYMENT_TYPE_UNSPECIFIED = 0, FULL_TIME = 1, PART_TIME = 2, CONTRACTOR = 3, CONTRACT_TO_HIRE = 4, TEMPORARY = 5, INTERN = 6, VOLUNTEER = 7, PER_DIEM = 8, FLY_IN_FLY_OUT = 9, OTHER_EMPLOYMENT_TYPE = 10 } /** JobLevel enum. */ enum JobLevel { JOB_LEVEL_UNSPECIFIED = 0, ENTRY_LEVEL = 1, EXPERIENCED = 2, MANAGER = 3, DIRECTOR = 4, EXECUTIVE = 5 } /** JobCategory enum. */ enum JobCategory { JOB_CATEGORY_UNSPECIFIED = 0, ACCOUNTING_AND_FINANCE = 1, ADMINISTRATIVE_AND_OFFICE = 2, ADVERTISING_AND_MARKETING = 3, ANIMAL_CARE = 4, ART_FASHION_AND_DESIGN = 5, BUSINESS_OPERATIONS = 6, CLEANING_AND_FACILITIES = 7, COMPUTER_AND_IT = 8, CONSTRUCTION = 9, CUSTOMER_SERVICE = 10, EDUCATION = 11, ENTERTAINMENT_AND_TRAVEL = 12, FARMING_AND_OUTDOORS = 13, HEALTHCARE = 14, HUMAN_RESOURCES = 15, INSTALLATION_MAINTENANCE_AND_REPAIR = 16, LEGAL = 17, MANAGEMENT = 18, MANUFACTURING_AND_WAREHOUSE = 19, MEDIA_COMMUNICATIONS_AND_WRITING = 20, OIL_GAS_AND_MINING = 21, PERSONAL_CARE_AND_SERVICES = 22, PROTECTIVE_SERVICES = 23, REAL_ESTATE = 24, RESTAURANT_AND_HOSPITALITY = 25, SALES_AND_RETAIL = 26, SCIENCE_AND_ENGINEERING = 27, SOCIAL_SERVICES_AND_NON_PROFIT = 28, SPORTS_FITNESS_AND_RECREATION = 29, TRANSPORTATION_AND_LOGISTICS = 30 } /** PostingRegion enum. */ enum PostingRegion { POSTING_REGION_UNSPECIFIED = 0, ADMINISTRATIVE_AREA = 1, NATION = 2, TELECOMMUTE = 3 } /** Visibility enum. */ enum Visibility { VISIBILITY_UNSPECIFIED = 0, ACCOUNT_ONLY = 1, SHARED_WITH_GOOGLE = 2, SHARED_WITH_PUBLIC = 3 } /** HtmlSanitization enum. */ enum HtmlSanitization { HTML_SANITIZATION_UNSPECIFIED = 0, HTML_SANITIZATION_DISABLED = 1, SIMPLE_FORMATTING_ONLY = 2 } /** CommuteMethod enum. */ enum CommuteMethod { COMMUTE_METHOD_UNSPECIFIED = 0, DRIVING = 1, TRANSIT = 2, WALKING = 3, CYCLING = 4 } /** Properties of a Location. */ interface ILocation { /** Location locationType */ locationType?: (google.cloud.talent.v4beta1.Location.LocationType|keyof typeof google.cloud.talent.v4beta1.Location.LocationType|null); /** Location postalAddress */ postalAddress?: (google.type.IPostalAddress|null); /** Location latLng */ latLng?: (google.type.ILatLng|null); /** Location radiusMiles */ radiusMiles?: (number|null); } /** Represents a Location. */ class Location implements ILocation { /** * Constructs a new Location. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.ILocation); /** Location locationType. */ public locationType: (google.cloud.talent.v4beta1.Location.LocationType|keyof typeof google.cloud.talent.v4beta1.Location.LocationType); /** Location postalAddress. */ public postalAddress?: (google.type.IPostalAddress|null); /** Location latLng. */ public latLng?: (google.type.ILatLng|null); /** Location radiusMiles. */ public radiusMiles: number; /** * Creates a new Location instance using the specified properties. * @param [properties] Properties to set * @returns Location instance */ public static create(properties?: google.cloud.talent.v4beta1.ILocation): google.cloud.talent.v4beta1.Location; /** * Encodes the specified Location message. Does not implicitly {@link google.cloud.talent.v4beta1.Location.verify|verify} messages. * @param message Location message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.ILocation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Location message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.Location.verify|verify} messages. * @param message Location message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.ILocation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Location message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Location * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.Location; /** * Decodes a Location message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Location * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.Location; /** * Verifies a Location message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Location message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Location */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.Location; /** * Creates a plain object from a Location message. Also converts values to other types if specified. * @param message Location * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.Location, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Location to JSON. * @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 { /** LocationType enum. */ enum LocationType { LOCATION_TYPE_UNSPECIFIED = 0, COUNTRY = 1, ADMINISTRATIVE_AREA = 2, SUB_ADMINISTRATIVE_AREA = 3, LOCALITY = 4, POSTAL_CODE = 5, SUB_LOCALITY = 6, SUB_LOCALITY_1 = 7, SUB_LOCALITY_2 = 8, NEIGHBORHOOD = 9, STREET_ADDRESS = 10 } } /** Properties of a RequestMetadata. */ interface IRequestMetadata { /** RequestMetadata domain */ domain?: (string|null); /** RequestMetadata sessionId */ sessionId?: (string|null); /** RequestMetadata userId */ userId?: (string|null); /** RequestMetadata allowMissingIds */ allowMissingIds?: (boolean|null); /** RequestMetadata deviceInfo */ deviceInfo?: (google.cloud.talent.v4beta1.IDeviceInfo|null); } /** Represents a RequestMetadata. */ class RequestMetadata implements IRequestMetadata { /** * Constructs a new RequestMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.IRequestMetadata); /** RequestMetadata domain. */ public domain: string; /** RequestMetadata sessionId. */ public sessionId: string; /** RequestMetadata userId. */ public userId: string; /** RequestMetadata allowMissingIds. */ public allowMissingIds: boolean; /** RequestMetadata deviceInfo. */ public deviceInfo?: (google.cloud.talent.v4beta1.IDeviceInfo|null); /** * Creates a new RequestMetadata instance using the specified properties. * @param [properties] Properties to set * @returns RequestMetadata instance */ public static create(properties?: google.cloud.talent.v4beta1.IRequestMetadata): google.cloud.talent.v4beta1.RequestMetadata; /** * Encodes the specified RequestMetadata message. Does not implicitly {@link google.cloud.talent.v4beta1.RequestMetadata.verify|verify} messages. * @param message RequestMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.IRequestMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RequestMetadata message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.RequestMetadata.verify|verify} messages. * @param message RequestMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.IRequestMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RequestMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RequestMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.RequestMetadata; /** * Decodes a RequestMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RequestMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.RequestMetadata; /** * Verifies a RequestMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RequestMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RequestMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.RequestMetadata; /** * Creates a plain object from a RequestMetadata message. Also converts values to other types if specified. * @param message RequestMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.RequestMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RequestMetadata to JSON. * @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. */ interface IResponseMetadata { /** ResponseMetadata requestId */ requestId?: (string|null); } /** Represents a ResponseMetadata. */ class ResponseMetadata implements IResponseMetadata { /** * Constructs a new ResponseMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.IResponseMetadata); /** ResponseMetadata requestId. */ public requestId: string; /** * Creates a new ResponseMetadata instance using the specified properties. * @param [properties] Properties to set * @returns ResponseMetadata instance */ public static create(properties?: google.cloud.talent.v4beta1.IResponseMetadata): google.cloud.talent.v4beta1.ResponseMetadata; /** * Encodes the specified ResponseMetadata message. Does not implicitly {@link google.cloud.talent.v4beta1.ResponseMetadata.verify|verify} messages. * @param message ResponseMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.IResponseMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ResponseMetadata message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.ResponseMetadata.verify|verify} messages. * @param message ResponseMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.IResponseMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ResponseMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ResponseMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.ResponseMetadata; /** * Decodes a ResponseMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ResponseMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.ResponseMetadata; /** * Verifies a ResponseMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ResponseMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ResponseMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.ResponseMetadata; /** * Creates a plain object from a ResponseMetadata message. Also converts values to other types if specified. * @param message ResponseMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.ResponseMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ResponseMetadata to JSON. * @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. */ interface IDeviceInfo { /** DeviceInfo deviceType */ deviceType?: (google.cloud.talent.v4beta1.DeviceInfo.DeviceType|keyof typeof google.cloud.talent.v4beta1.DeviceInfo.DeviceType|null); /** DeviceInfo id */ id?: (string|null); } /** Represents a DeviceInfo. */ class DeviceInfo implements IDeviceInfo { /** * Constructs a new DeviceInfo. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.IDeviceInfo); /** DeviceInfo deviceType. */ public deviceType: (google.cloud.talent.v4beta1.DeviceInfo.DeviceType|keyof typeof google.cloud.talent.v4beta1.DeviceInfo.DeviceType); /** DeviceInfo id. */ public id: string; /** * Creates a new DeviceInfo instance using the specified properties. * @param [properties] Properties to set * @returns DeviceInfo instance */ public static create(properties?: google.cloud.talent.v4beta1.IDeviceInfo): google.cloud.talent.v4beta1.DeviceInfo; /** * Encodes the specified DeviceInfo message. Does not implicitly {@link google.cloud.talent.v4beta1.DeviceInfo.verify|verify} messages. * @param message DeviceInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.IDeviceInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeviceInfo message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.DeviceInfo.verify|verify} messages. * @param message DeviceInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.IDeviceInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeviceInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeviceInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.DeviceInfo; /** * Decodes a DeviceInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeviceInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.DeviceInfo; /** * Verifies a DeviceInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeviceInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeviceInfo */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.DeviceInfo; /** * Creates a plain object from a DeviceInfo message. Also converts values to other types if specified. * @param message DeviceInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.DeviceInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeviceInfo to JSON. * @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 { /** DeviceType enum. */ enum DeviceType { DEVICE_TYPE_UNSPECIFIED = 0, WEB = 1, MOBILE_WEB = 2, ANDROID = 3, IOS = 4, BOT = 5, OTHER = 6 } } /** Properties of a CustomAttribute. */ interface ICustomAttribute { /** CustomAttribute stringValues */ stringValues?: (string[]|null); /** CustomAttribute longValues */ longValues?: ((number|Long|string)[]|null); /** CustomAttribute filterable */ filterable?: (boolean|null); /** CustomAttribute keywordSearchable */ keywordSearchable?: (boolean|null); } /** Represents a CustomAttribute. */ class CustomAttribute implements ICustomAttribute { /** * Constructs a new CustomAttribute. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.ICustomAttribute); /** CustomAttribute stringValues. */ public stringValues: string[]; /** CustomAttribute longValues. */ public longValues: (number|Long|string)[]; /** CustomAttribute filterable. */ public filterable: boolean; /** CustomAttribute keywordSearchable. */ public keywordSearchable: boolean; /** * Creates a new CustomAttribute instance using the specified properties. * @param [properties] Properties to set * @returns CustomAttribute instance */ public static create(properties?: google.cloud.talent.v4beta1.ICustomAttribute): google.cloud.talent.v4beta1.CustomAttribute; /** * Encodes the specified CustomAttribute message. Does not implicitly {@link google.cloud.talent.v4beta1.CustomAttribute.verify|verify} messages. * @param message CustomAttribute message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.ICustomAttribute, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CustomAttribute message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.CustomAttribute.verify|verify} messages. * @param message CustomAttribute message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.ICustomAttribute, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CustomAttribute message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CustomAttribute * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.CustomAttribute; /** * Decodes a CustomAttribute message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CustomAttribute * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.CustomAttribute; /** * Verifies a CustomAttribute message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CustomAttribute message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CustomAttribute */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.CustomAttribute; /** * Creates a plain object from a CustomAttribute message. Also converts values to other types if specified. * @param message CustomAttribute * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.CustomAttribute, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CustomAttribute to JSON. * @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. */ interface ISpellingCorrection { /** SpellingCorrection corrected */ corrected?: (boolean|null); /** SpellingCorrection correctedText */ correctedText?: (string|null); /** SpellingCorrection correctedHtml */ correctedHtml?: (string|null); } /** Represents a SpellingCorrection. */ class SpellingCorrection implements ISpellingCorrection { /** * Constructs a new SpellingCorrection. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.ISpellingCorrection); /** SpellingCorrection corrected. */ public corrected: boolean; /** SpellingCorrection correctedText. */ public correctedText: string; /** SpellingCorrection correctedHtml. */ public correctedHtml: string; /** * Creates a new SpellingCorrection instance using the specified properties. * @param [properties] Properties to set * @returns SpellingCorrection instance */ public static create(properties?: google.cloud.talent.v4beta1.ISpellingCorrection): google.cloud.talent.v4beta1.SpellingCorrection; /** * Encodes the specified SpellingCorrection message. Does not implicitly {@link google.cloud.talent.v4beta1.SpellingCorrection.verify|verify} messages. * @param message SpellingCorrection message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.ISpellingCorrection, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SpellingCorrection message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.SpellingCorrection.verify|verify} messages. * @param message SpellingCorrection message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.ISpellingCorrection, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SpellingCorrection message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SpellingCorrection * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.SpellingCorrection; /** * Decodes a SpellingCorrection message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SpellingCorrection * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.SpellingCorrection; /** * Verifies a SpellingCorrection message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SpellingCorrection message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SpellingCorrection */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.SpellingCorrection; /** * Creates a plain object from a SpellingCorrection message. Also converts values to other types if specified. * @param message SpellingCorrection * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.SpellingCorrection, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SpellingCorrection to JSON. * @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. */ interface ICompensationInfo { /** CompensationInfo entries */ entries?: (google.cloud.talent.v4beta1.CompensationInfo.ICompensationEntry[]|null); /** CompensationInfo annualizedBaseCompensationRange */ annualizedBaseCompensationRange?: (google.cloud.talent.v4beta1.CompensationInfo.ICompensationRange|null); /** CompensationInfo annualizedTotalCompensationRange */ annualizedTotalCompensationRange?: (google.cloud.talent.v4beta1.CompensationInfo.ICompensationRange|null); } /** Represents a CompensationInfo. */ class CompensationInfo implements ICompensationInfo { /** * Constructs a new CompensationInfo. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.ICompensationInfo); /** CompensationInfo entries. */ public entries: google.cloud.talent.v4beta1.CompensationInfo.ICompensationEntry[]; /** CompensationInfo annualizedBaseCompensationRange. */ public annualizedBaseCompensationRange?: (google.cloud.talent.v4beta1.CompensationInfo.ICompensationRange|null); /** CompensationInfo annualizedTotalCompensationRange. */ public annualizedTotalCompensationRange?: (google.cloud.talent.v4beta1.CompensationInfo.ICompensationRange|null); /** * Creates a new CompensationInfo instance using the specified properties. * @param [properties] Properties to set * @returns CompensationInfo instance */ public static create(properties?: google.cloud.talent.v4beta1.ICompensationInfo): google.cloud.talent.v4beta1.CompensationInfo; /** * Encodes the specified CompensationInfo message. Does not implicitly {@link google.cloud.talent.v4beta1.CompensationInfo.verify|verify} messages. * @param message CompensationInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.ICompensationInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CompensationInfo message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.CompensationInfo.verify|verify} messages. * @param message CompensationInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.ICompensationInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CompensationInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CompensationInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.CompensationInfo; /** * Decodes a CompensationInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CompensationInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.CompensationInfo; /** * Verifies a CompensationInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CompensationInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CompensationInfo */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.CompensationInfo; /** * Creates a plain object from a CompensationInfo message. Also converts values to other types if specified. * @param message CompensationInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.CompensationInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CompensationInfo to JSON. * @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 { /** Properties of a CompensationEntry. */ interface ICompensationEntry { /** CompensationEntry type */ type?: (google.cloud.talent.v4beta1.CompensationInfo.CompensationType|keyof typeof google.cloud.talent.v4beta1.CompensationInfo.CompensationType|null); /** CompensationEntry unit */ unit?: (google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit|keyof typeof google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit|null); /** CompensationEntry amount */ amount?: (google.type.IMoney|null); /** CompensationEntry range */ range?: (google.cloud.talent.v4beta1.CompensationInfo.ICompensationRange|null); /** CompensationEntry description */ description?: (string|null); /** CompensationEntry expectedUnitsPerYear */ expectedUnitsPerYear?: (google.protobuf.IDoubleValue|null); } /** Represents a CompensationEntry. */ class CompensationEntry implements ICompensationEntry { /** * Constructs a new CompensationEntry. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.CompensationInfo.ICompensationEntry); /** CompensationEntry type. */ public type: (google.cloud.talent.v4beta1.CompensationInfo.CompensationType|keyof typeof google.cloud.talent.v4beta1.CompensationInfo.CompensationType); /** CompensationEntry unit. */ public unit: (google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit|keyof typeof google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit); /** CompensationEntry amount. */ public amount?: (google.type.IMoney|null); /** CompensationEntry range. */ public range?: (google.cloud.talent.v4beta1.CompensationInfo.ICompensationRange|null); /** CompensationEntry description. */ public description: string; /** CompensationEntry expectedUnitsPerYear. */ public expectedUnitsPerYear?: (google.protobuf.IDoubleValue|null); /** CompensationEntry compensationAmount. */ public compensationAmount?: ("amount"|"range"); /** * Creates a new CompensationEntry instance using the specified properties. * @param [properties] Properties to set * @returns CompensationEntry instance */ public static create(properties?: google.cloud.talent.v4beta1.CompensationInfo.ICompensationEntry): google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry; /** * Encodes the specified CompensationEntry message. Does not implicitly {@link google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.verify|verify} messages. * @param message CompensationEntry message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.CompensationInfo.ICompensationEntry, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CompensationEntry message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.verify|verify} messages. * @param message CompensationEntry message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.CompensationInfo.ICompensationEntry, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CompensationEntry message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CompensationEntry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry; /** * Decodes a CompensationEntry message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CompensationEntry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry; /** * Verifies a CompensationEntry message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CompensationEntry message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CompensationEntry */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry; /** * Creates a plain object from a CompensationEntry message. Also converts values to other types if specified. * @param message CompensationEntry * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CompensationEntry to JSON. * @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. */ enum CompensationType { COMPENSATION_TYPE_UNSPECIFIED = 0, BASE = 1, BONUS = 2, SIGNING_BONUS = 3, EQUITY = 4, PROFIT_SHARING = 5, COMMISSIONS = 6, TIPS = 7, OTHER_COMPENSATION_TYPE = 8 } /** CompensationUnit enum. */ enum CompensationUnit { COMPENSATION_UNIT_UNSPECIFIED = 0, HOURLY = 1, DAILY = 2, WEEKLY = 3, MONTHLY = 4, YEARLY = 5, ONE_TIME = 6, OTHER_COMPENSATION_UNIT = 7 } /** Properties of a CompensationRange. */ interface ICompensationRange { /** CompensationRange maxCompensation */ maxCompensation?: (google.type.IMoney|null); /** CompensationRange minCompensation */ minCompensation?: (google.type.IMoney|null); } /** Represents a CompensationRange. */ class CompensationRange implements ICompensationRange { /** * Constructs a new CompensationRange. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.CompensationInfo.ICompensationRange); /** CompensationRange maxCompensation. */ public maxCompensation?: (google.type.IMoney|null); /** CompensationRange minCompensation. */ public minCompensation?: (google.type.IMoney|null); /** * Creates a new CompensationRange instance using the specified properties. * @param [properties] Properties to set * @returns CompensationRange instance */ public static create(properties?: google.cloud.talent.v4beta1.CompensationInfo.ICompensationRange): google.cloud.talent.v4beta1.CompensationInfo.CompensationRange; /** * Encodes the specified CompensationRange message. Does not implicitly {@link google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.verify|verify} messages. * @param message CompensationRange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.CompensationInfo.ICompensationRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CompensationRange message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.verify|verify} messages. * @param message CompensationRange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.CompensationInfo.ICompensationRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CompensationRange message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CompensationRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.CompensationInfo.CompensationRange; /** * Decodes a CompensationRange message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CompensationRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.CompensationInfo.CompensationRange; /** * Verifies a CompensationRange message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CompensationRange message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CompensationRange */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.CompensationInfo.CompensationRange; /** * Creates a plain object from a CompensationRange message. Also converts values to other types if specified. * @param message CompensationRange * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CompensationRange to JSON. * @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; } } /** Properties of a BatchOperationMetadata. */ interface IBatchOperationMetadata { /** BatchOperationMetadata state */ state?: (google.cloud.talent.v4beta1.BatchOperationMetadata.State|keyof typeof google.cloud.talent.v4beta1.BatchOperationMetadata.State|null); /** BatchOperationMetadata stateDescription */ stateDescription?: (string|null); /** BatchOperationMetadata successCount */ successCount?: (number|null); /** BatchOperationMetadata failureCount */ failureCount?: (number|null); /** BatchOperationMetadata totalCount */ totalCount?: (number|null); /** BatchOperationMetadata createTime */ createTime?: (google.protobuf.ITimestamp|null); /** BatchOperationMetadata updateTime */ updateTime?: (google.protobuf.ITimestamp|null); /** BatchOperationMetadata endTime */ endTime?: (google.protobuf.ITimestamp|null); } /** Represents a BatchOperationMetadata. */ class BatchOperationMetadata implements IBatchOperationMetadata { /** * Constructs a new BatchOperationMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.IBatchOperationMetadata); /** BatchOperationMetadata state. */ public state: (google.cloud.talent.v4beta1.BatchOperationMetadata.State|keyof typeof google.cloud.talent.v4beta1.BatchOperationMetadata.State); /** BatchOperationMetadata stateDescription. */ public stateDescription: string; /** BatchOperationMetadata successCount. */ public successCount: number; /** BatchOperationMetadata failureCount. */ public failureCount: number; /** BatchOperationMetadata totalCount. */ public totalCount: number; /** BatchOperationMetadata createTime. */ public createTime?: (google.protobuf.ITimestamp|null); /** BatchOperationMetadata updateTime. */ public updateTime?: (google.protobuf.ITimestamp|null); /** BatchOperationMetadata endTime. */ public endTime?: (google.protobuf.ITimestamp|null); /** * Creates a new BatchOperationMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BatchOperationMetadata instance */ public static create(properties?: google.cloud.talent.v4beta1.IBatchOperationMetadata): google.cloud.talent.v4beta1.BatchOperationMetadata; /** * Encodes the specified BatchOperationMetadata message. Does not implicitly {@link google.cloud.talent.v4beta1.BatchOperationMetadata.verify|verify} messages. * @param message BatchOperationMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.IBatchOperationMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BatchOperationMetadata message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.BatchOperationMetadata.verify|verify} messages. * @param message BatchOperationMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.IBatchOperationMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BatchOperationMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BatchOperationMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.BatchOperationMetadata; /** * Decodes a BatchOperationMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BatchOperationMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.BatchOperationMetadata; /** * Verifies a BatchOperationMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BatchOperationMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BatchOperationMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.BatchOperationMetadata; /** * Creates a plain object from a BatchOperationMetadata message. Also converts values to other types if specified. * @param message BatchOperationMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.BatchOperationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BatchOperationMetadata to JSON. * @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 { /** State enum. */ enum State { STATE_UNSPECIFIED = 0, INITIALIZING = 1, PROCESSING = 2, SUCCEEDED = 3, FAILED = 4, CANCELLING = 5, CANCELLED = 6 } } /** Properties of a Company. */ interface ICompany { /** Company name */ name?: (string|null); /** Company displayName */ displayName?: (string|null); /** Company externalId */ externalId?: (string|null); /** Company size */ size?: (google.cloud.talent.v4beta1.CompanySize|keyof typeof google.cloud.talent.v4beta1.CompanySize|null); /** Company headquartersAddress */ headquartersAddress?: (string|null); /** Company hiringAgency */ hiringAgency?: (boolean|null); /** Company eeoText */ eeoText?: (string|null); /** Company websiteUri */ websiteUri?: (string|null); /** Company careerSiteUri */ careerSiteUri?: (string|null); /** Company imageUri */ imageUri?: (string|null); /** Company keywordSearchableJobCustomAttributes */ keywordSearchableJobCustomAttributes?: (string[]|null); /** Company derivedInfo */ derivedInfo?: (google.cloud.talent.v4beta1.Company.IDerivedInfo|null); /** Company suspended */ suspended?: (boolean|null); } /** Represents a Company. */ class Company implements ICompany { /** * Constructs a new Company. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.ICompany); /** Company name. */ public name: string; /** Company displayName. */ public displayName: string; /** Company externalId. */ public externalId: string; /** Company size. */ public size: (google.cloud.talent.v4beta1.CompanySize|keyof typeof google.cloud.talent.v4beta1.CompanySize); /** Company headquartersAddress. */ public headquartersAddress: string; /** Company hiringAgency. */ public hiringAgency: boolean; /** Company eeoText. */ public eeoText: string; /** Company websiteUri. */ public websiteUri: string; /** Company careerSiteUri. */ public careerSiteUri: string; /** Company imageUri. */ public imageUri: string; /** Company keywordSearchableJobCustomAttributes. */ public keywordSearchableJobCustomAttributes: string[]; /** Company derivedInfo. */ public derivedInfo?: (google.cloud.talent.v4beta1.Company.IDerivedInfo|null); /** Company suspended. */ public suspended: boolean; /** * Creates a new Company instance using the specified properties. * @param [properties] Properties to set * @returns Company instance */ public static create(properties?: google.cloud.talent.v4beta1.ICompany): google.cloud.talent.v4beta1.Company; /** * Encodes the specified Company message. Does not implicitly {@link google.cloud.talent.v4beta1.Company.verify|verify} messages. * @param message Company message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.ICompany, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Company message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.Company.verify|verify} messages. * @param message Company message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.ICompany, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Company message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Company * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.Company; /** * Decodes a Company message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Company * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.Company; /** * Verifies a Company message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Company message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Company */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.Company; /** * Creates a plain object from a Company message. Also converts values to other types if specified. * @param message Company * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.Company, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Company to JSON. * @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 { /** Properties of a DerivedInfo. */ interface IDerivedInfo { /** DerivedInfo headquartersLocation */ headquartersLocation?: (google.cloud.talent.v4beta1.ILocation|null); } /** Represents a DerivedInfo. */ class DerivedInfo implements IDerivedInfo { /** * Constructs a new DerivedInfo. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.Company.IDerivedInfo); /** DerivedInfo headquartersLocation. */ public headquartersLocation?: (google.cloud.talent.v4beta1.ILocation|null); /** * Creates a new DerivedInfo instance using the specified properties. * @param [properties] Properties to set * @returns DerivedInfo instance */ public static create(properties?: google.cloud.talent.v4beta1.Company.IDerivedInfo): google.cloud.talent.v4beta1.Company.DerivedInfo; /** * Encodes the specified DerivedInfo message. Does not implicitly {@link google.cloud.talent.v4beta1.Company.DerivedInfo.verify|verify} messages. * @param message DerivedInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.Company.IDerivedInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DerivedInfo message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.Company.DerivedInfo.verify|verify} messages. * @param message DerivedInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.Company.IDerivedInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DerivedInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DerivedInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.Company.DerivedInfo; /** * Decodes a DerivedInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DerivedInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.Company.DerivedInfo; /** * Verifies a DerivedInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DerivedInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DerivedInfo */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.Company.DerivedInfo; /** * Creates a plain object from a DerivedInfo message. Also converts values to other types if specified. * @param message DerivedInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.Company.DerivedInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DerivedInfo to JSON. * @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; } } /** Represents a CompanyService */ class CompanyService extends $protobuf.rpc.Service { /** * Constructs a new CompanyService service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Creates new CompanyService service using the specified rpc implementation. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited * @returns RPC service. Useful where requests and/or responses are streamed. */ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): CompanyService; /** * Calls CreateCompany. * @param request CreateCompanyRequest message or plain object * @param callback Node-style callback called with the error, if any, and Company */ public createCompany(request: google.cloud.talent.v4beta1.ICreateCompanyRequest, callback: google.cloud.talent.v4beta1.CompanyService.CreateCompanyCallback): void; /** * Calls CreateCompany. * @param request CreateCompanyRequest message or plain object * @returns Promise */ public createCompany(request: google.cloud.talent.v4beta1.ICreateCompanyRequest): Promise; /** * Calls GetCompany. * @param request GetCompanyRequest message or plain object * @param callback Node-style callback called with the error, if any, and Company */ public getCompany(request: google.cloud.talent.v4beta1.IGetCompanyRequest, callback: google.cloud.talent.v4beta1.CompanyService.GetCompanyCallback): void; /** * Calls GetCompany. * @param request GetCompanyRequest message or plain object * @returns Promise */ public getCompany(request: google.cloud.talent.v4beta1.IGetCompanyRequest): Promise; /** * Calls UpdateCompany. * @param request UpdateCompanyRequest message or plain object * @param callback Node-style callback called with the error, if any, and Company */ public updateCompany(request: google.cloud.talent.v4beta1.IUpdateCompanyRequest, callback: google.cloud.talent.v4beta1.CompanyService.UpdateCompanyCallback): void; /** * Calls UpdateCompany. * @param request UpdateCompanyRequest message or plain object * @returns Promise */ public updateCompany(request: google.cloud.talent.v4beta1.IUpdateCompanyRequest): Promise; /** * Calls DeleteCompany. * @param request DeleteCompanyRequest message or plain object * @param callback Node-style callback called with the error, if any, and Empty */ public deleteCompany(request: google.cloud.talent.v4beta1.IDeleteCompanyRequest, callback: google.cloud.talent.v4beta1.CompanyService.DeleteCompanyCallback): void; /** * Calls DeleteCompany. * @param request DeleteCompanyRequest message or plain object * @returns Promise */ public deleteCompany(request: google.cloud.talent.v4beta1.IDeleteCompanyRequest): Promise; /** * Calls ListCompanies. * @param request ListCompaniesRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListCompaniesResponse */ public listCompanies(request: google.cloud.talent.v4beta1.IListCompaniesRequest, callback: google.cloud.talent.v4beta1.CompanyService.ListCompaniesCallback): void; /** * Calls ListCompanies. * @param request ListCompaniesRequest message or plain object * @returns Promise */ public listCompanies(request: google.cloud.talent.v4beta1.IListCompaniesRequest): Promise; } namespace CompanyService { /** * 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}. * @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}. * @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}. * @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}. * @param error Error, if any * @param [response] ListCompaniesResponse */ type ListCompaniesCallback = (error: (Error|null), response?: google.cloud.talent.v4beta1.ListCompaniesResponse) => void; } /** Properties of a CreateCompanyRequest. */ interface ICreateCompanyRequest { /** CreateCompanyRequest parent */ parent?: (string|null); /** CreateCompanyRequest company */ company?: (google.cloud.talent.v4beta1.ICompany|null); } /** Represents a CreateCompanyRequest. */ class CreateCompanyRequest implements ICreateCompanyRequest { /** * Constructs a new CreateCompanyRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.ICreateCompanyRequest); /** CreateCompanyRequest parent. */ public parent: string; /** CreateCompanyRequest company. */ public company?: (google.cloud.talent.v4beta1.ICompany|null); /** * Creates a new CreateCompanyRequest instance using the specified properties. * @param [properties] Properties to set * @returns CreateCompanyRequest instance */ public static create(properties?: google.cloud.talent.v4beta1.ICreateCompanyRequest): google.cloud.talent.v4beta1.CreateCompanyRequest; /** * Encodes the specified CreateCompanyRequest message. Does not implicitly {@link google.cloud.talent.v4beta1.CreateCompanyRequest.verify|verify} messages. * @param message CreateCompanyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.ICreateCompanyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CreateCompanyRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.CreateCompanyRequest.verify|verify} messages. * @param message CreateCompanyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.ICreateCompanyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CreateCompanyRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CreateCompanyRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.CreateCompanyRequest; /** * Decodes a CreateCompanyRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CreateCompanyRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.CreateCompanyRequest; /** * Verifies a CreateCompanyRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CreateCompanyRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CreateCompanyRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.CreateCompanyRequest; /** * Creates a plain object from a CreateCompanyRequest message. Also converts values to other types if specified. * @param message CreateCompanyRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.CreateCompanyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CreateCompanyRequest to JSON. * @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. */ interface IGetCompanyRequest { /** GetCompanyRequest name */ name?: (string|null); } /** Represents a GetCompanyRequest. */ class GetCompanyRequest implements IGetCompanyRequest { /** * Constructs a new GetCompanyRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.IGetCompanyRequest); /** GetCompanyRequest name. */ public name: string; /** * Creates a new GetCompanyRequest instance using the specified properties. * @param [properties] Properties to set * @returns GetCompanyRequest instance */ public static create(properties?: google.cloud.talent.v4beta1.IGetCompanyRequest): google.cloud.talent.v4beta1.GetCompanyRequest; /** * Encodes the specified GetCompanyRequest message. Does not implicitly {@link google.cloud.talent.v4beta1.GetCompanyRequest.verify|verify} messages. * @param message GetCompanyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.IGetCompanyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetCompanyRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.GetCompanyRequest.verify|verify} messages. * @param message GetCompanyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.IGetCompanyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetCompanyRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetCompanyRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.GetCompanyRequest; /** * Decodes a GetCompanyRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetCompanyRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.GetCompanyRequest; /** * Verifies a GetCompanyRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetCompanyRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetCompanyRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.GetCompanyRequest; /** * Creates a plain object from a GetCompanyRequest message. Also converts values to other types if specified. * @param message GetCompanyRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.GetCompanyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetCompanyRequest to JSON. * @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 { /** UpdateCompanyRequest company */ company?: (google.cloud.talent.v4beta1.ICompany|null); /** UpdateCompanyRequest updateMask */ updateMask?: (google.protobuf.IFieldMask|null); } /** Represents an UpdateCompanyRequest. */ class UpdateCompanyRequest implements IUpdateCompanyRequest { /** * Constructs a new UpdateCompanyRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.IUpdateCompanyRequest); /** UpdateCompanyRequest company. */ public company?: (google.cloud.talent.v4beta1.ICompany|null); /** UpdateCompanyRequest updateMask. */ public updateMask?: (google.protobuf.IFieldMask|null); /** * Creates a new UpdateCompanyRequest instance using the specified properties. * @param [properties] Properties to set * @returns UpdateCompanyRequest instance */ public static create(properties?: google.cloud.talent.v4beta1.IUpdateCompanyRequest): google.cloud.talent.v4beta1.UpdateCompanyRequest; /** * Encodes the specified UpdateCompanyRequest message. Does not implicitly {@link google.cloud.talent.v4beta1.UpdateCompanyRequest.verify|verify} messages. * @param message UpdateCompanyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.IUpdateCompanyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UpdateCompanyRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.UpdateCompanyRequest.verify|verify} messages. * @param message UpdateCompanyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.IUpdateCompanyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UpdateCompanyRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UpdateCompanyRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.UpdateCompanyRequest; /** * Decodes an UpdateCompanyRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UpdateCompanyRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.UpdateCompanyRequest; /** * Verifies an UpdateCompanyRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an UpdateCompanyRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UpdateCompanyRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.UpdateCompanyRequest; /** * Creates a plain object from an UpdateCompanyRequest message. Also converts values to other types if specified. * @param message UpdateCompanyRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.UpdateCompanyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UpdateCompanyRequest to JSON. * @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. */ interface IDeleteCompanyRequest { /** DeleteCompanyRequest name */ name?: (string|null); } /** Represents a DeleteCompanyRequest. */ class DeleteCompanyRequest implements IDeleteCompanyRequest { /** * Constructs a new DeleteCompanyRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.IDeleteCompanyRequest); /** DeleteCompanyRequest name. */ public name: string; /** * Creates a new DeleteCompanyRequest instance using the specified properties. * @param [properties] Properties to set * @returns DeleteCompanyRequest instance */ public static create(properties?: google.cloud.talent.v4beta1.IDeleteCompanyRequest): google.cloud.talent.v4beta1.DeleteCompanyRequest; /** * Encodes the specified DeleteCompanyRequest message. Does not implicitly {@link google.cloud.talent.v4beta1.DeleteCompanyRequest.verify|verify} messages. * @param message DeleteCompanyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.IDeleteCompanyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteCompanyRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.DeleteCompanyRequest.verify|verify} messages. * @param message DeleteCompanyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.IDeleteCompanyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteCompanyRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteCompanyRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.DeleteCompanyRequest; /** * Decodes a DeleteCompanyRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteCompanyRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.DeleteCompanyRequest; /** * Verifies a DeleteCompanyRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeleteCompanyRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteCompanyRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.DeleteCompanyRequest; /** * Creates a plain object from a DeleteCompanyRequest message. Also converts values to other types if specified. * @param message DeleteCompanyRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.DeleteCompanyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteCompanyRequest to JSON. * @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. */ interface IListCompaniesRequest { /** ListCompaniesRequest parent */ parent?: (string|null); /** ListCompaniesRequest pageToken */ pageToken?: (string|null); /** ListCompaniesRequest pageSize */ pageSize?: (number|null); /** ListCompaniesRequest requireOpenJobs */ requireOpenJobs?: (boolean|null); } /** Represents a ListCompaniesRequest. */ class ListCompaniesRequest implements IListCompaniesRequest { /** * Constructs a new ListCompaniesRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.IListCompaniesRequest); /** ListCompaniesRequest parent. */ public parent: string; /** ListCompaniesRequest pageToken. */ public pageToken: string; /** ListCompaniesRequest pageSize. */ public pageSize: number; /** ListCompaniesRequest requireOpenJobs. */ public requireOpenJobs: boolean; /** * Creates a new ListCompaniesRequest instance using the specified properties. * @param [properties] Properties to set * @returns ListCompaniesRequest instance */ public static create(properties?: google.cloud.talent.v4beta1.IListCompaniesRequest): google.cloud.talent.v4beta1.ListCompaniesRequest; /** * Encodes the specified ListCompaniesRequest message. Does not implicitly {@link google.cloud.talent.v4beta1.ListCompaniesRequest.verify|verify} messages. * @param message ListCompaniesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.IListCompaniesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListCompaniesRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.ListCompaniesRequest.verify|verify} messages. * @param message ListCompaniesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.IListCompaniesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListCompaniesRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListCompaniesRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.ListCompaniesRequest; /** * Decodes a ListCompaniesRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListCompaniesRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.ListCompaniesRequest; /** * Verifies a ListCompaniesRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListCompaniesRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListCompaniesRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.ListCompaniesRequest; /** * Creates a plain object from a ListCompaniesRequest message. Also converts values to other types if specified. * @param message ListCompaniesRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.ListCompaniesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListCompaniesRequest to JSON. * @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. */ interface IListCompaniesResponse { /** ListCompaniesResponse companies */ companies?: (google.cloud.talent.v4beta1.ICompany[]|null); /** ListCompaniesResponse nextPageToken */ nextPageToken?: (string|null); /** ListCompaniesResponse metadata */ metadata?: (google.cloud.talent.v4beta1.IResponseMetadata|null); } /** Represents a ListCompaniesResponse. */ class ListCompaniesResponse implements IListCompaniesResponse { /** * Constructs a new ListCompaniesResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.IListCompaniesResponse); /** ListCompaniesResponse companies. */ public companies: google.cloud.talent.v4beta1.ICompany[]; /** ListCompaniesResponse nextPageToken. */ public nextPageToken: string; /** ListCompaniesResponse metadata. */ public metadata?: (google.cloud.talent.v4beta1.IResponseMetadata|null); /** * Creates a new ListCompaniesResponse instance using the specified properties. * @param [properties] Properties to set * @returns ListCompaniesResponse instance */ public static create(properties?: google.cloud.talent.v4beta1.IListCompaniesResponse): google.cloud.talent.v4beta1.ListCompaniesResponse; /** * Encodes the specified ListCompaniesResponse message. Does not implicitly {@link google.cloud.talent.v4beta1.ListCompaniesResponse.verify|verify} messages. * @param message ListCompaniesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.IListCompaniesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListCompaniesResponse message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.ListCompaniesResponse.verify|verify} messages. * @param message ListCompaniesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.IListCompaniesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListCompaniesResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListCompaniesResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.ListCompaniesResponse; /** * Decodes a ListCompaniesResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListCompaniesResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.ListCompaniesResponse; /** * Verifies a ListCompaniesResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListCompaniesResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListCompaniesResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.ListCompaniesResponse; /** * Creates a plain object from a ListCompaniesResponse message. Also converts values to other types if specified. * @param message ListCompaniesResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.ListCompaniesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListCompaniesResponse to JSON. * @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 */ class Completion extends $protobuf.rpc.Service { /** * Constructs a new Completion service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Creates new Completion service using the specified rpc implementation. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited * @returns RPC service. Useful where requests and/or responses are streamed. */ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Completion; /** * Calls CompleteQuery. * @param request CompleteQueryRequest message or plain object * @param callback Node-style callback called with the error, if any, and CompleteQueryResponse */ public completeQuery(request: google.cloud.talent.v4beta1.ICompleteQueryRequest, callback: google.cloud.talent.v4beta1.Completion.CompleteQueryCallback): void; /** * Calls CompleteQuery. * @param request CompleteQueryRequest message or plain object * @returns Promise */ public completeQuery(request: google.cloud.talent.v4beta1.ICompleteQueryRequest): Promise; } namespace Completion { /** * Callback as used by {@link google.cloud.talent.v4beta1.Completion|completeQuery}. * @param error Error, if any * @param [response] CompleteQueryResponse */ type CompleteQueryCallback = (error: (Error|null), response?: google.cloud.talent.v4beta1.CompleteQueryResponse) => void; } /** Properties of a CompleteQueryRequest. */ interface ICompleteQueryRequest { /** CompleteQueryRequest parent */ parent?: (string|null); /** CompleteQueryRequest query */ query?: (string|null); /** CompleteQueryRequest languageCodes */ languageCodes?: (string[]|null); /** CompleteQueryRequest pageSize */ pageSize?: (number|null); /** CompleteQueryRequest company */ company?: (string|null); /** CompleteQueryRequest scope */ scope?: (google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope|keyof typeof google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope|null); /** CompleteQueryRequest type */ type?: (google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType|keyof typeof google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType|null); } /** Represents a CompleteQueryRequest. */ class CompleteQueryRequest implements ICompleteQueryRequest { /** * Constructs a new CompleteQueryRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.ICompleteQueryRequest); /** CompleteQueryRequest parent. */ public parent: string; /** CompleteQueryRequest query. */ public query: string; /** CompleteQueryRequest languageCodes. */ public languageCodes: string[]; /** CompleteQueryRequest pageSize. */ public pageSize: number; /** CompleteQueryRequest company. */ public company: string; /** CompleteQueryRequest scope. */ public scope: (google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope|keyof typeof google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope); /** CompleteQueryRequest type. */ public type: (google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType|keyof typeof google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType); /** * Creates a new CompleteQueryRequest instance using the specified properties. * @param [properties] Properties to set * @returns CompleteQueryRequest instance */ public static create(properties?: google.cloud.talent.v4beta1.ICompleteQueryRequest): google.cloud.talent.v4beta1.CompleteQueryRequest; /** * Encodes the specified CompleteQueryRequest message. Does not implicitly {@link google.cloud.talent.v4beta1.CompleteQueryRequest.verify|verify} messages. * @param message CompleteQueryRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.ICompleteQueryRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CompleteQueryRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.CompleteQueryRequest.verify|verify} messages. * @param message CompleteQueryRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.ICompleteQueryRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CompleteQueryRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CompleteQueryRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.CompleteQueryRequest; /** * Decodes a CompleteQueryRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CompleteQueryRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.CompleteQueryRequest; /** * Verifies a CompleteQueryRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CompleteQueryRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CompleteQueryRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.CompleteQueryRequest; /** * Creates a plain object from a CompleteQueryRequest message. Also converts values to other types if specified. * @param message CompleteQueryRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.CompleteQueryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CompleteQueryRequest to JSON. * @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 { /** CompletionScope enum. */ enum CompletionScope { COMPLETION_SCOPE_UNSPECIFIED = 0, TENANT = 1, PUBLIC = 2 } /** CompletionType enum. */ enum CompletionType { COMPLETION_TYPE_UNSPECIFIED = 0, JOB_TITLE = 1, COMPANY_NAME = 2, COMBINED = 3 } } /** Properties of a CompleteQueryResponse. */ interface ICompleteQueryResponse { /** CompleteQueryResponse completionResults */ completionResults?: (google.cloud.talent.v4beta1.CompleteQueryResponse.ICompletionResult[]|null); /** CompleteQueryResponse metadata */ metadata?: (google.cloud.talent.v4beta1.IResponseMetadata|null); } /** Represents a CompleteQueryResponse. */ class CompleteQueryResponse implements ICompleteQueryResponse { /** * Constructs a new CompleteQueryResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.ICompleteQueryResponse); /** CompleteQueryResponse completionResults. */ public completionResults: google.cloud.talent.v4beta1.CompleteQueryResponse.ICompletionResult[]; /** CompleteQueryResponse metadata. */ public metadata?: (google.cloud.talent.v4beta1.IResponseMetadata|null); /** * Creates a new CompleteQueryResponse instance using the specified properties. * @param [properties] Properties to set * @returns CompleteQueryResponse instance */ public static create(properties?: google.cloud.talent.v4beta1.ICompleteQueryResponse): google.cloud.talent.v4beta1.CompleteQueryResponse; /** * Encodes the specified CompleteQueryResponse message. Does not implicitly {@link google.cloud.talent.v4beta1.CompleteQueryResponse.verify|verify} messages. * @param message CompleteQueryResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.ICompleteQueryResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CompleteQueryResponse message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.CompleteQueryResponse.verify|verify} messages. * @param message CompleteQueryResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.ICompleteQueryResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CompleteQueryResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CompleteQueryResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.CompleteQueryResponse; /** * Decodes a CompleteQueryResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CompleteQueryResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.CompleteQueryResponse; /** * Verifies a CompleteQueryResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CompleteQueryResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CompleteQueryResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.CompleteQueryResponse; /** * Creates a plain object from a CompleteQueryResponse message. Also converts values to other types if specified. * @param message CompleteQueryResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.CompleteQueryResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CompleteQueryResponse to JSON. * @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 { /** Properties of a CompletionResult. */ interface ICompletionResult { /** CompletionResult suggestion */ suggestion?: (string|null); /** CompletionResult type */ type?: (google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType|keyof typeof google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType|null); /** CompletionResult imageUri */ imageUri?: (string|null); } /** Represents a CompletionResult. */ class CompletionResult implements ICompletionResult { /** * Constructs a new CompletionResult. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.CompleteQueryResponse.ICompletionResult); /** CompletionResult suggestion. */ public suggestion: string; /** CompletionResult type. */ public type: (google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType|keyof typeof google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType); /** CompletionResult imageUri. */ public imageUri: string; /** * Creates a new CompletionResult instance using the specified properties. * @param [properties] Properties to set * @returns CompletionResult instance */ public static create(properties?: google.cloud.talent.v4beta1.CompleteQueryResponse.ICompletionResult): google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult; /** * Encodes the specified CompletionResult message. Does not implicitly {@link google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.verify|verify} messages. * @param message CompletionResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.CompleteQueryResponse.ICompletionResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CompletionResult message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.verify|verify} messages. * @param message CompletionResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.CompleteQueryResponse.ICompletionResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CompletionResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CompletionResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult; /** * Decodes a CompletionResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CompletionResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult; /** * Verifies a CompletionResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CompletionResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CompletionResult */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult; /** * Creates a plain object from a CompletionResult message. Also converts values to other types if specified. * @param message CompletionResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CompletionResult to JSON. * @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; } } /** Properties of a ClientEvent. */ interface IClientEvent { /** ClientEvent requestId */ requestId?: (string|null); /** ClientEvent eventId */ eventId?: (string|null); /** ClientEvent createTime */ createTime?: (google.protobuf.ITimestamp|null); /** ClientEvent jobEvent */ jobEvent?: (google.cloud.talent.v4beta1.IJobEvent|null); /** ClientEvent eventNotes */ eventNotes?: (string|null); } /** Represents a ClientEvent. */ class ClientEvent implements IClientEvent { /** * Constructs a new ClientEvent. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.IClientEvent); /** ClientEvent requestId. */ public requestId: string; /** ClientEvent eventId. */ public eventId: string; /** ClientEvent createTime. */ public createTime?: (google.protobuf.ITimestamp|null); /** ClientEvent jobEvent. */ public jobEvent?: (google.cloud.talent.v4beta1.IJobEvent|null); /** ClientEvent eventNotes. */ public eventNotes: string; /** ClientEvent event. */ public event?: "jobEvent"; /** * Creates a new ClientEvent instance using the specified properties. * @param [properties] Properties to set * @returns ClientEvent instance */ public static create(properties?: google.cloud.talent.v4beta1.IClientEvent): google.cloud.talent.v4beta1.ClientEvent; /** * Encodes the specified ClientEvent message. Does not implicitly {@link google.cloud.talent.v4beta1.ClientEvent.verify|verify} messages. * @param message ClientEvent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.IClientEvent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ClientEvent message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.ClientEvent.verify|verify} messages. * @param message ClientEvent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.IClientEvent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ClientEvent message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ClientEvent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.ClientEvent; /** * Decodes a ClientEvent message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ClientEvent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.ClientEvent; /** * Verifies a ClientEvent message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ClientEvent message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ClientEvent */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.ClientEvent; /** * Creates a plain object from a ClientEvent message. Also converts values to other types if specified. * @param message ClientEvent * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.ClientEvent, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ClientEvent to JSON. * @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. */ interface IJobEvent { /** JobEvent type */ type?: (google.cloud.talent.v4beta1.JobEvent.JobEventType|keyof typeof google.cloud.talent.v4beta1.JobEvent.JobEventType|null); /** JobEvent jobs */ jobs?: (string[]|null); /** JobEvent profile */ profile?: (string|null); } /** Represents a JobEvent. */ class JobEvent implements IJobEvent { /** * Constructs a new JobEvent. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.IJobEvent); /** JobEvent type. */ public type: (google.cloud.talent.v4beta1.JobEvent.JobEventType|keyof typeof google.cloud.talent.v4beta1.JobEvent.JobEventType); /** JobEvent jobs. */ public jobs: string[]; /** JobEvent profile. */ public profile: string; /** * Creates a new JobEvent instance using the specified properties. * @param [properties] Properties to set * @returns JobEvent instance */ public static create(properties?: google.cloud.talent.v4beta1.IJobEvent): google.cloud.talent.v4beta1.JobEvent; /** * Encodes the specified JobEvent message. Does not implicitly {@link google.cloud.talent.v4beta1.JobEvent.verify|verify} messages. * @param message JobEvent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.IJobEvent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified JobEvent message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.JobEvent.verify|verify} messages. * @param message JobEvent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.IJobEvent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a JobEvent message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns JobEvent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.JobEvent; /** * Decodes a JobEvent message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns JobEvent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.JobEvent; /** * Verifies a JobEvent message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a JobEvent message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns JobEvent */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.JobEvent; /** * Creates a plain object from a JobEvent message. Also converts values to other types if specified. * @param message JobEvent * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.JobEvent, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this JobEvent to JSON. * @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 { /** JobEventType enum. */ enum JobEventType { JOB_EVENT_TYPE_UNSPECIFIED = 0, IMPRESSION = 1, VIEW = 2, VIEW_REDIRECT = 3, APPLICATION_START = 4, APPLICATION_FINISH = 5, APPLICATION_QUICK_SUBMISSION = 6, APPLICATION_REDIRECT = 7, APPLICATION_START_FROM_SEARCH = 8, APPLICATION_REDIRECT_FROM_SEARCH = 9, APPLICATION_COMPANY_SUBMIT = 10, BOOKMARK = 11, NOTIFICATION = 12, HIRED = 13, SENT_CV = 14, INTERVIEW_GRANTED = 15 } } /** Represents an EventService */ class EventService extends $protobuf.rpc.Service { /** * Constructs a new EventService service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Creates new EventService service using the specified rpc implementation. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited * @returns RPC service. Useful where requests and/or responses are streamed. */ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): EventService; /** * Calls CreateClientEvent. * @param request CreateClientEventRequest message or plain object * @param callback Node-style callback called with the error, if any, and ClientEvent */ public createClientEvent(request: google.cloud.talent.v4beta1.ICreateClientEventRequest, callback: google.cloud.talent.v4beta1.EventService.CreateClientEventCallback): void; /** * Calls CreateClientEvent. * @param request CreateClientEventRequest message or plain object * @returns Promise */ public createClientEvent(request: google.cloud.talent.v4beta1.ICreateClientEventRequest): Promise; } namespace EventService { /** * Callback as used by {@link google.cloud.talent.v4beta1.EventService|createClientEvent}. * @param error Error, if any * @param [response] ClientEvent */ type CreateClientEventCallback = (error: (Error|null), response?: google.cloud.talent.v4beta1.ClientEvent) => void; } /** Properties of a CreateClientEventRequest. */ interface ICreateClientEventRequest { /** CreateClientEventRequest parent */ parent?: (string|null); /** CreateClientEventRequest clientEvent */ clientEvent?: (google.cloud.talent.v4beta1.IClientEvent|null); } /** Represents a CreateClientEventRequest. */ class CreateClientEventRequest implements ICreateClientEventRequest { /** * Constructs a new CreateClientEventRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.ICreateClientEventRequest); /** CreateClientEventRequest parent. */ public parent: string; /** CreateClientEventRequest clientEvent. */ public clientEvent?: (google.cloud.talent.v4beta1.IClientEvent|null); /** * Creates a new CreateClientEventRequest instance using the specified properties. * @param [properties] Properties to set * @returns CreateClientEventRequest instance */ public static create(properties?: google.cloud.talent.v4beta1.ICreateClientEventRequest): google.cloud.talent.v4beta1.CreateClientEventRequest; /** * Encodes the specified CreateClientEventRequest message. Does not implicitly {@link google.cloud.talent.v4beta1.CreateClientEventRequest.verify|verify} messages. * @param message CreateClientEventRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.ICreateClientEventRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CreateClientEventRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.CreateClientEventRequest.verify|verify} messages. * @param message CreateClientEventRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.ICreateClientEventRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CreateClientEventRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CreateClientEventRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.CreateClientEventRequest; /** * Decodes a CreateClientEventRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CreateClientEventRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.CreateClientEventRequest; /** * Verifies a CreateClientEventRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CreateClientEventRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CreateClientEventRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.CreateClientEventRequest; /** * Creates a plain object from a CreateClientEventRequest message. Also converts values to other types if specified. * @param message CreateClientEventRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.CreateClientEventRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CreateClientEventRequest to JSON. * @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. */ interface IJobQuery { /** JobQuery query */ query?: (string|null); /** JobQuery queryLanguageCode */ queryLanguageCode?: (string|null); /** JobQuery companies */ companies?: (string[]|null); /** JobQuery locationFilters */ locationFilters?: (google.cloud.talent.v4beta1.ILocationFilter[]|null); /** JobQuery jobCategories */ jobCategories?: (google.cloud.talent.v4beta1.JobCategory[]|null); /** JobQuery commuteFilter */ commuteFilter?: (google.cloud.talent.v4beta1.ICommuteFilter|null); /** JobQuery companyDisplayNames */ companyDisplayNames?: (string[]|null); /** JobQuery compensationFilter */ compensationFilter?: (google.cloud.talent.v4beta1.ICompensationFilter|null); /** JobQuery customAttributeFilter */ customAttributeFilter?: (string|null); /** JobQuery disableSpellCheck */ disableSpellCheck?: (boolean|null); /** JobQuery employmentTypes */ employmentTypes?: (google.cloud.talent.v4beta1.EmploymentType[]|null); /** JobQuery languageCodes */ languageCodes?: (string[]|null); /** JobQuery publishTimeRange */ publishTimeRange?: (google.cloud.talent.v4beta1.ITimestampRange|null); /** JobQuery excludedJobs */ excludedJobs?: (string[]|null); } /** Represents a JobQuery. */ class JobQuery implements IJobQuery { /** * Constructs a new JobQuery. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.IJobQuery); /** JobQuery query. */ public query: string; /** JobQuery queryLanguageCode. */ public queryLanguageCode: string; /** JobQuery companies. */ public companies: string[]; /** JobQuery locationFilters. */ public locationFilters: google.cloud.talent.v4beta1.ILocationFilter[]; /** JobQuery jobCategories. */ public jobCategories: google.cloud.talent.v4beta1.JobCategory[]; /** JobQuery commuteFilter. */ public commuteFilter?: (google.cloud.talent.v4beta1.ICommuteFilter|null); /** JobQuery companyDisplayNames. */ public companyDisplayNames: string[]; /** JobQuery compensationFilter. */ public compensationFilter?: (google.cloud.talent.v4beta1.ICompensationFilter|null); /** JobQuery customAttributeFilter. */ public customAttributeFilter: string; /** JobQuery disableSpellCheck. */ public disableSpellCheck: boolean; /** JobQuery employmentTypes. */ public employmentTypes: google.cloud.talent.v4beta1.EmploymentType[]; /** JobQuery languageCodes. */ public languageCodes: string[]; /** JobQuery publishTimeRange. */ public publishTimeRange?: (google.cloud.talent.v4beta1.ITimestampRange|null); /** JobQuery excludedJobs. */ public excludedJobs: string[]; /** * Creates a new JobQuery instance using the specified properties. * @param [properties] Properties to set * @returns JobQuery instance */ public static create(properties?: google.cloud.talent.v4beta1.IJobQuery): google.cloud.talent.v4beta1.JobQuery; /** * Encodes the specified JobQuery message. Does not implicitly {@link google.cloud.talent.v4beta1.JobQuery.verify|verify} messages. * @param message JobQuery message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.IJobQuery, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified JobQuery message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.JobQuery.verify|verify} messages. * @param message JobQuery message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.IJobQuery, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a JobQuery message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns JobQuery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.JobQuery; /** * Decodes a JobQuery message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns JobQuery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.JobQuery; /** * Verifies a JobQuery message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a JobQuery message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns JobQuery */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.JobQuery; /** * Creates a plain object from a JobQuery message. Also converts values to other types if specified. * @param message JobQuery * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.JobQuery, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this JobQuery to JSON. * @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. */ interface ILocationFilter { /** LocationFilter address */ address?: (string|null); /** LocationFilter regionCode */ regionCode?: (string|null); /** LocationFilter latLng */ latLng?: (google.type.ILatLng|null); /** LocationFilter distanceInMiles */ distanceInMiles?: (number|null); /** LocationFilter telecommutePreference */ telecommutePreference?: (google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference|keyof typeof google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference|null); /** LocationFilter negated */ negated?: (boolean|null); } /** Represents a LocationFilter. */ class LocationFilter implements ILocationFilter { /** * Constructs a new LocationFilter. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.ILocationFilter); /** LocationFilter address. */ public address: string; /** LocationFilter regionCode. */ public regionCode: string; /** LocationFilter latLng. */ public latLng?: (google.type.ILatLng|null); /** LocationFilter distanceInMiles. */ public distanceInMiles: number; /** LocationFilter telecommutePreference. */ public telecommutePreference: (google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference|keyof typeof google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference); /** LocationFilter negated. */ public negated: boolean; /** * Creates a new LocationFilter instance using the specified properties. * @param [properties] Properties to set * @returns LocationFilter instance */ public static create(properties?: google.cloud.talent.v4beta1.ILocationFilter): google.cloud.talent.v4beta1.LocationFilter; /** * Encodes the specified LocationFilter message. Does not implicitly {@link google.cloud.talent.v4beta1.LocationFilter.verify|verify} messages. * @param message LocationFilter message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.ILocationFilter, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LocationFilter message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.LocationFilter.verify|verify} messages. * @param message LocationFilter message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.ILocationFilter, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LocationFilter message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LocationFilter * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.LocationFilter; /** * Decodes a LocationFilter message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LocationFilter * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.LocationFilter; /** * Verifies a LocationFilter message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LocationFilter message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LocationFilter */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.LocationFilter; /** * Creates a plain object from a LocationFilter message. Also converts values to other types if specified. * @param message LocationFilter * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.LocationFilter, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LocationFilter to JSON. * @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 { /** TelecommutePreference enum. */ enum TelecommutePreference { TELECOMMUTE_PREFERENCE_UNSPECIFIED = 0, TELECOMMUTE_EXCLUDED = 1, TELECOMMUTE_ALLOWED = 2, TELECOMMUTE_JOBS_EXCLUDED = 3 } } /** Properties of a CompensationFilter. */ interface ICompensationFilter { /** CompensationFilter type */ type?: (google.cloud.talent.v4beta1.CompensationFilter.FilterType|keyof typeof google.cloud.talent.v4beta1.CompensationFilter.FilterType|null); /** CompensationFilter units */ units?: (google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit[]|null); /** CompensationFilter range */ range?: (google.cloud.talent.v4beta1.CompensationInfo.ICompensationRange|null); /** CompensationFilter includeJobsWithUnspecifiedCompensationRange */ includeJobsWithUnspecifiedCompensationRange?: (boolean|null); } /** Represents a CompensationFilter. */ class CompensationFilter implements ICompensationFilter { /** * Constructs a new CompensationFilter. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.ICompensationFilter); /** CompensationFilter type. */ public type: (google.cloud.talent.v4beta1.CompensationFilter.FilterType|keyof typeof google.cloud.talent.v4beta1.CompensationFilter.FilterType); /** CompensationFilter units. */ public units: google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit[]; /** CompensationFilter range. */ public range?: (google.cloud.talent.v4beta1.CompensationInfo.ICompensationRange|null); /** CompensationFilter includeJobsWithUnspecifiedCompensationRange. */ public includeJobsWithUnspecifiedCompensationRange: boolean; /** * Creates a new CompensationFilter instance using the specified properties. * @param [properties] Properties to set * @returns CompensationFilter instance */ public static create(properties?: google.cloud.talent.v4beta1.ICompensationFilter): google.cloud.talent.v4beta1.CompensationFilter; /** * Encodes the specified CompensationFilter message. Does not implicitly {@link google.cloud.talent.v4beta1.CompensationFilter.verify|verify} messages. * @param message CompensationFilter message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.ICompensationFilter, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CompensationFilter message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.CompensationFilter.verify|verify} messages. * @param message CompensationFilter message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.ICompensationFilter, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CompensationFilter message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CompensationFilter * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.CompensationFilter; /** * Decodes a CompensationFilter message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CompensationFilter * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.CompensationFilter; /** * Verifies a CompensationFilter message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CompensationFilter message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CompensationFilter */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.CompensationFilter; /** * Creates a plain object from a CompensationFilter message. Also converts values to other types if specified. * @param message CompensationFilter * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.CompensationFilter, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CompensationFilter to JSON. * @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 { /** FilterType enum. */ enum FilterType { FILTER_TYPE_UNSPECIFIED = 0, UNIT_ONLY = 1, UNIT_AND_AMOUNT = 2, ANNUALIZED_BASE_AMOUNT = 3, ANNUALIZED_TOTAL_AMOUNT = 4 } } /** Properties of a CommuteFilter. */ interface ICommuteFilter { /** CommuteFilter commuteMethod */ commuteMethod?: (google.cloud.talent.v4beta1.CommuteMethod|keyof typeof google.cloud.talent.v4beta1.CommuteMethod|null); /** CommuteFilter startCoordinates */ startCoordinates?: (google.type.ILatLng|null); /** CommuteFilter travelDuration */ travelDuration?: (google.protobuf.IDuration|null); /** CommuteFilter allowImpreciseAddresses */ allowImpreciseAddresses?: (boolean|null); /** CommuteFilter roadTraffic */ roadTraffic?: (google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic|keyof typeof google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic|null); /** CommuteFilter departureTime */ departureTime?: (google.type.ITimeOfDay|null); } /** Represents a CommuteFilter. */ class CommuteFilter implements ICommuteFilter { /** * Constructs a new CommuteFilter. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.ICommuteFilter); /** CommuteFilter commuteMethod. */ public commuteMethod: (google.cloud.talent.v4beta1.CommuteMethod|keyof typeof google.cloud.talent.v4beta1.CommuteMethod); /** CommuteFilter startCoordinates. */ public startCoordinates?: (google.type.ILatLng|null); /** CommuteFilter travelDuration. */ public travelDuration?: (google.protobuf.IDuration|null); /** CommuteFilter allowImpreciseAddresses. */ public allowImpreciseAddresses: boolean; /** CommuteFilter roadTraffic. */ public roadTraffic?: (google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic|keyof typeof google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic|null); /** CommuteFilter departureTime. */ public departureTime?: (google.type.ITimeOfDay|null); /** CommuteFilter trafficOption. */ public trafficOption?: ("roadTraffic"|"departureTime"); /** * Creates a new CommuteFilter instance using the specified properties. * @param [properties] Properties to set * @returns CommuteFilter instance */ public static create(properties?: google.cloud.talent.v4beta1.ICommuteFilter): google.cloud.talent.v4beta1.CommuteFilter; /** * Encodes the specified CommuteFilter message. Does not implicitly {@link google.cloud.talent.v4beta1.CommuteFilter.verify|verify} messages. * @param message CommuteFilter message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.ICommuteFilter, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommuteFilter message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.CommuteFilter.verify|verify} messages. * @param message CommuteFilter message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.ICommuteFilter, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommuteFilter message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CommuteFilter * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.CommuteFilter; /** * Decodes a CommuteFilter message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CommuteFilter * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.CommuteFilter; /** * Verifies a CommuteFilter message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommuteFilter message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommuteFilter */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.CommuteFilter; /** * Creates a plain object from a CommuteFilter message. Also converts values to other types if specified. * @param message CommuteFilter * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.CommuteFilter, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommuteFilter to JSON. * @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 { /** RoadTraffic enum. */ enum RoadTraffic { ROAD_TRAFFIC_UNSPECIFIED = 0, TRAFFIC_FREE = 1, BUSY_HOUR = 2 } } /** Properties of a HistogramQuery. */ interface IHistogramQuery { /** HistogramQuery histogramQuery */ histogramQuery?: (string|null); } /** Represents a HistogramQuery. */ class HistogramQuery implements IHistogramQuery { /** * Constructs a new HistogramQuery. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.IHistogramQuery); /** HistogramQuery histogramQuery. */ public histogramQuery: string; /** * Creates a new HistogramQuery instance using the specified properties. * @param [properties] Properties to set * @returns HistogramQuery instance */ public static create(properties?: google.cloud.talent.v4beta1.IHistogramQuery): google.cloud.talent.v4beta1.HistogramQuery; /** * Encodes the specified HistogramQuery message. Does not implicitly {@link google.cloud.talent.v4beta1.HistogramQuery.verify|verify} messages. * @param message HistogramQuery message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.IHistogramQuery, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HistogramQuery message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.HistogramQuery.verify|verify} messages. * @param message HistogramQuery message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.IHistogramQuery, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HistogramQuery message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HistogramQuery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.HistogramQuery; /** * Decodes a HistogramQuery message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HistogramQuery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.HistogramQuery; /** * Verifies a HistogramQuery message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HistogramQuery message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HistogramQuery */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.HistogramQuery; /** * Creates a plain object from a HistogramQuery message. Also converts values to other types if specified. * @param message HistogramQuery * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.HistogramQuery, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HistogramQuery to JSON. * @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. */ interface IHistogramQueryResult { /** HistogramQueryResult histogramQuery */ histogramQuery?: (string|null); /** HistogramQueryResult histogram */ histogram?: ({ [k: string]: (number|Long|string) }|null); } /** Represents a HistogramQueryResult. */ class HistogramQueryResult implements IHistogramQueryResult { /** * Constructs a new HistogramQueryResult. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.IHistogramQueryResult); /** HistogramQueryResult histogramQuery. */ public histogramQuery: string; /** HistogramQueryResult histogram. */ public histogram: { [k: string]: (number|Long|string) }; /** * Creates a new HistogramQueryResult instance using the specified properties. * @param [properties] Properties to set * @returns HistogramQueryResult instance */ public static create(properties?: google.cloud.talent.v4beta1.IHistogramQueryResult): google.cloud.talent.v4beta1.HistogramQueryResult; /** * Encodes the specified HistogramQueryResult message. Does not implicitly {@link google.cloud.talent.v4beta1.HistogramQueryResult.verify|verify} messages. * @param message HistogramQueryResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.IHistogramQueryResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HistogramQueryResult message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.HistogramQueryResult.verify|verify} messages. * @param message HistogramQueryResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.IHistogramQueryResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HistogramQueryResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HistogramQueryResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.HistogramQueryResult; /** * Decodes a HistogramQueryResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HistogramQueryResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.HistogramQueryResult; /** * Verifies a HistogramQueryResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HistogramQueryResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HistogramQueryResult */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.HistogramQueryResult; /** * Creates a plain object from a HistogramQueryResult message. Also converts values to other types if specified. * @param message HistogramQueryResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.HistogramQueryResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HistogramQueryResult to JSON. * @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. */ interface IJob { /** Job name */ name?: (string|null); /** Job company */ company?: (string|null); /** Job requisitionId */ requisitionId?: (string|null); /** Job title */ title?: (string|null); /** Job description */ description?: (string|null); /** Job addresses */ addresses?: (string[]|null); /** Job applicationInfo */ applicationInfo?: (google.cloud.talent.v4beta1.Job.IApplicationInfo|null); /** Job jobBenefits */ jobBenefits?: (google.cloud.talent.v4beta1.JobBenefit[]|null); /** Job compensationInfo */ compensationInfo?: (google.cloud.talent.v4beta1.ICompensationInfo|null); /** Job customAttributes */ customAttributes?: ({ [k: string]: google.cloud.talent.v4beta1.ICustomAttribute }|null); /** Job degreeTypes */ degreeTypes?: (google.cloud.talent.v4beta1.DegreeType[]|null); /** Job department */ department?: (string|null); /** Job employmentTypes */ employmentTypes?: (google.cloud.talent.v4beta1.EmploymentType[]|null); /** Job incentives */ incentives?: (string|null); /** Job languageCode */ languageCode?: (string|null); /** Job jobLevel */ jobLevel?: (google.cloud.talent.v4beta1.JobLevel|keyof typeof google.cloud.talent.v4beta1.JobLevel|null); /** Job promotionValue */ promotionValue?: (number|null); /** Job qualifications */ qualifications?: (string|null); /** Job responsibilities */ responsibilities?: (string|null); /** Job postingRegion */ postingRegion?: (google.cloud.talent.v4beta1.PostingRegion|keyof typeof google.cloud.talent.v4beta1.PostingRegion|null); /** Job visibility */ visibility?: (google.cloud.talent.v4beta1.Visibility|keyof typeof google.cloud.talent.v4beta1.Visibility|null); /** Job jobStartTime */ jobStartTime?: (google.protobuf.ITimestamp|null); /** Job jobEndTime */ jobEndTime?: (google.protobuf.ITimestamp|null); /** Job postingPublishTime */ postingPublishTime?: (google.protobuf.ITimestamp|null); /** Job postingExpireTime */ postingExpireTime?: (google.protobuf.ITimestamp|null); /** Job postingCreateTime */ postingCreateTime?: (google.protobuf.ITimestamp|null); /** Job postingUpdateTime */ postingUpdateTime?: (google.protobuf.ITimestamp|null); /** Job companyDisplayName */ companyDisplayName?: (string|null); /** Job derivedInfo */ derivedInfo?: (google.cloud.talent.v4beta1.Job.IDerivedInfo|null); /** Job processingOptions */ processingOptions?: (google.cloud.talent.v4beta1.Job.IProcessingOptions|null); } /** Represents a Job. */ class Job implements IJob { /** * Constructs a new Job. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.IJob); /** Job name. */ public name: string; /** Job company. */ public company: string; /** Job requisitionId. */ public requisitionId: string; /** Job title. */ public title: string; /** Job description. */ public description: string; /** Job addresses. */ public addresses: string[]; /** Job applicationInfo. */ public applicationInfo?: (google.cloud.talent.v4beta1.Job.IApplicationInfo|null); /** Job jobBenefits. */ public jobBenefits: google.cloud.talent.v4beta1.JobBenefit[]; /** Job compensationInfo. */ public compensationInfo?: (google.cloud.talent.v4beta1.ICompensationInfo|null); /** Job customAttributes. */ public customAttributes: { [k: string]: google.cloud.talent.v4beta1.ICustomAttribute }; /** Job degreeTypes. */ public degreeTypes: google.cloud.talent.v4beta1.DegreeType[]; /** Job department. */ public department: string; /** Job employmentTypes. */ public employmentTypes: google.cloud.talent.v4beta1.EmploymentType[]; /** Job incentives. */ public incentives: string; /** Job languageCode. */ public languageCode: string; /** Job jobLevel. */ public jobLevel: (google.cloud.talent.v4beta1.JobLevel|keyof typeof google.cloud.talent.v4beta1.JobLevel); /** Job promotionValue. */ public promotionValue: number; /** Job qualifications. */ public qualifications: string; /** Job responsibilities. */ public responsibilities: string; /** Job postingRegion. */ public postingRegion: (google.cloud.talent.v4beta1.PostingRegion|keyof typeof google.cloud.talent.v4beta1.PostingRegion); /** Job visibility. */ public visibility: (google.cloud.talent.v4beta1.Visibility|keyof typeof google.cloud.talent.v4beta1.Visibility); /** Job jobStartTime. */ public jobStartTime?: (google.protobuf.ITimestamp|null); /** Job jobEndTime. */ public jobEndTime?: (google.protobuf.ITimestamp|null); /** Job postingPublishTime. */ public postingPublishTime?: (google.protobuf.ITimestamp|null); /** Job postingExpireTime. */ public postingExpireTime?: (google.protobuf.ITimestamp|null); /** Job postingCreateTime. */ public postingCreateTime?: (google.protobuf.ITimestamp|null); /** Job postingUpdateTime. */ public postingUpdateTime?: (google.protobuf.ITimestamp|null); /** Job companyDisplayName. */ public companyDisplayName: string; /** Job derivedInfo. */ public derivedInfo?: (google.cloud.talent.v4beta1.Job.IDerivedInfo|null); /** Job processingOptions. */ public processingOptions?: (google.cloud.talent.v4beta1.Job.IProcessingOptions|null); /** * Creates a new Job instance using the specified properties. * @param [properties] Properties to set * @returns Job instance */ public static create(properties?: google.cloud.talent.v4beta1.IJob): google.cloud.talent.v4beta1.Job; /** * Encodes the specified Job message. Does not implicitly {@link google.cloud.talent.v4beta1.Job.verify|verify} messages. * @param message Job message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.IJob, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Job message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.Job.verify|verify} messages. * @param message Job message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.IJob, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Job message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Job * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.Job; /** * Decodes a Job message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Job * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.Job; /** * Verifies a Job message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Job message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Job */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.Job; /** * Creates a plain object from a Job message. Also converts values to other types if specified. * @param message Job * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.Job, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Job to JSON. * @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 { /** Properties of an ApplicationInfo. */ interface IApplicationInfo { /** ApplicationInfo emails */ emails?: (string[]|null); /** ApplicationInfo instruction */ instruction?: (string|null); /** ApplicationInfo uris */ uris?: (string[]|null); } /** Represents an ApplicationInfo. */ class ApplicationInfo implements IApplicationInfo { /** * Constructs a new ApplicationInfo. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.Job.IApplicationInfo); /** ApplicationInfo emails. */ public emails: string[]; /** ApplicationInfo instruction. */ public instruction: string; /** ApplicationInfo uris. */ public uris: string[]; /** * Creates a new ApplicationInfo instance using the specified properties. * @param [properties] Properties to set * @returns ApplicationInfo instance */ public static create(properties?: google.cloud.talent.v4beta1.Job.IApplicationInfo): google.cloud.talent.v4beta1.Job.ApplicationInfo; /** * Encodes the specified ApplicationInfo message. Does not implicitly {@link google.cloud.talent.v4beta1.Job.ApplicationInfo.verify|verify} messages. * @param message ApplicationInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.Job.IApplicationInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ApplicationInfo message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.Job.ApplicationInfo.verify|verify} messages. * @param message ApplicationInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.Job.IApplicationInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ApplicationInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ApplicationInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.Job.ApplicationInfo; /** * Decodes an ApplicationInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ApplicationInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.Job.ApplicationInfo; /** * Verifies an ApplicationInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ApplicationInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ApplicationInfo */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.Job.ApplicationInfo; /** * Creates a plain object from an ApplicationInfo message. Also converts values to other types if specified. * @param message ApplicationInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.Job.ApplicationInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ApplicationInfo to JSON. * @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. */ interface IDerivedInfo { /** DerivedInfo locations */ locations?: (google.cloud.talent.v4beta1.ILocation[]|null); /** DerivedInfo jobCategories */ jobCategories?: (google.cloud.talent.v4beta1.JobCategory[]|null); } /** Represents a DerivedInfo. */ class DerivedInfo implements IDerivedInfo { /** * Constructs a new DerivedInfo. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.Job.IDerivedInfo); /** DerivedInfo locations. */ public locations: google.cloud.talent.v4beta1.ILocation[]; /** DerivedInfo jobCategories. */ public jobCategories: google.cloud.talent.v4beta1.JobCategory[]; /** * Creates a new DerivedInfo instance using the specified properties. * @param [properties] Properties to set * @returns DerivedInfo instance */ public static create(properties?: google.cloud.talent.v4beta1.Job.IDerivedInfo): google.cloud.talent.v4beta1.Job.DerivedInfo; /** * Encodes the specified DerivedInfo message. Does not implicitly {@link google.cloud.talent.v4beta1.Job.DerivedInfo.verify|verify} messages. * @param message DerivedInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.Job.IDerivedInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DerivedInfo message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.Job.DerivedInfo.verify|verify} messages. * @param message DerivedInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.Job.IDerivedInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DerivedInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DerivedInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.Job.DerivedInfo; /** * Decodes a DerivedInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DerivedInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.Job.DerivedInfo; /** * Verifies a DerivedInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DerivedInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DerivedInfo */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.Job.DerivedInfo; /** * Creates a plain object from a DerivedInfo message. Also converts values to other types if specified. * @param message DerivedInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.Job.DerivedInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DerivedInfo to JSON. * @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. */ interface IProcessingOptions { /** ProcessingOptions disableStreetAddressResolution */ disableStreetAddressResolution?: (boolean|null); /** ProcessingOptions htmlSanitization */ htmlSanitization?: (google.cloud.talent.v4beta1.HtmlSanitization|keyof typeof google.cloud.talent.v4beta1.HtmlSanitization|null); } /** Represents a ProcessingOptions. */ class ProcessingOptions implements IProcessingOptions { /** * Constructs a new ProcessingOptions. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.Job.IProcessingOptions); /** ProcessingOptions disableStreetAddressResolution. */ public disableStreetAddressResolution: boolean; /** ProcessingOptions htmlSanitization. */ public htmlSanitization: (google.cloud.talent.v4beta1.HtmlSanitization|keyof typeof google.cloud.talent.v4beta1.HtmlSanitization); /** * Creates a new ProcessingOptions instance using the specified properties. * @param [properties] Properties to set * @returns ProcessingOptions instance */ public static create(properties?: google.cloud.talent.v4beta1.Job.IProcessingOptions): google.cloud.talent.v4beta1.Job.ProcessingOptions; /** * Encodes the specified ProcessingOptions message. Does not implicitly {@link google.cloud.talent.v4beta1.Job.ProcessingOptions.verify|verify} messages. * @param message ProcessingOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.Job.IProcessingOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ProcessingOptions message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.Job.ProcessingOptions.verify|verify} messages. * @param message ProcessingOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.Job.IProcessingOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ProcessingOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ProcessingOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.Job.ProcessingOptions; /** * Decodes a ProcessingOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ProcessingOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.Job.ProcessingOptions; /** * Verifies a ProcessingOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ProcessingOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ProcessingOptions */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.Job.ProcessingOptions; /** * Creates a plain object from a ProcessingOptions message. Also converts values to other types if specified. * @param message ProcessingOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.Job.ProcessingOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ProcessingOptions to JSON. * @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; } } /** Represents a JobService */ class JobService extends $protobuf.rpc.Service { /** * Constructs a new JobService service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Creates new JobService service using the specified rpc implementation. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited * @returns RPC service. Useful where requests and/or responses are streamed. */ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): JobService; /** * Calls CreateJob. * @param request CreateJobRequest message or plain object * @param callback Node-style callback called with the error, if any, and Job */ public createJob(request: google.cloud.talent.v4beta1.ICreateJobRequest, callback: google.cloud.talent.v4beta1.JobService.CreateJobCallback): void; /** * Calls CreateJob. * @param request CreateJobRequest message or plain object * @returns Promise */ public createJob(request: google.cloud.talent.v4beta1.ICreateJobRequest): Promise; /** * Calls BatchCreateJobs. * @param request BatchCreateJobsRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public batchCreateJobs(request: google.cloud.talent.v4beta1.IBatchCreateJobsRequest, callback: google.cloud.talent.v4beta1.JobService.BatchCreateJobsCallback): void; /** * Calls BatchCreateJobs. * @param request BatchCreateJobsRequest message or plain object * @returns Promise */ public batchCreateJobs(request: google.cloud.talent.v4beta1.IBatchCreateJobsRequest): Promise; /** * Calls GetJob. * @param request GetJobRequest message or plain object * @param callback Node-style callback called with the error, if any, and Job */ public getJob(request: google.cloud.talent.v4beta1.IGetJobRequest, callback: google.cloud.talent.v4beta1.JobService.GetJobCallback): void; /** * Calls GetJob. * @param request GetJobRequest message or plain object * @returns Promise */ public getJob(request: google.cloud.talent.v4beta1.IGetJobRequest): Promise; /** * Calls UpdateJob. * @param request UpdateJobRequest message or plain object * @param callback Node-style callback called with the error, if any, and Job */ public updateJob(request: google.cloud.talent.v4beta1.IUpdateJobRequest, callback: google.cloud.talent.v4beta1.JobService.UpdateJobCallback): void; /** * Calls UpdateJob. * @param request UpdateJobRequest message or plain object * @returns Promise */ public updateJob(request: google.cloud.talent.v4beta1.IUpdateJobRequest): Promise; /** * Calls BatchUpdateJobs. * @param request BatchUpdateJobsRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public batchUpdateJobs(request: google.cloud.talent.v4beta1.IBatchUpdateJobsRequest, callback: google.cloud.talent.v4beta1.JobService.BatchUpdateJobsCallback): void; /** * Calls BatchUpdateJobs. * @param request BatchUpdateJobsRequest message or plain object * @returns Promise */ public batchUpdateJobs(request: google.cloud.talent.v4beta1.IBatchUpdateJobsRequest): Promise; /** * Calls DeleteJob. * @param request DeleteJobRequest message or plain object * @param callback Node-style callback called with the error, if any, and Empty */ public deleteJob(request: google.cloud.talent.v4beta1.IDeleteJobRequest, callback: google.cloud.talent.v4beta1.JobService.DeleteJobCallback): void; /** * Calls DeleteJob. * @param request DeleteJobRequest message or plain object * @returns Promise */ public deleteJob(request: google.cloud.talent.v4beta1.IDeleteJobRequest): Promise; /** * Calls BatchDeleteJobs. * @param request BatchDeleteJobsRequest message or plain object * @param callback Node-style callback called with the error, if any, and Empty */ public batchDeleteJobs(request: google.cloud.talent.v4beta1.IBatchDeleteJobsRequest, callback: google.cloud.talent.v4beta1.JobService.BatchDeleteJobsCallback): void; /** * Calls BatchDeleteJobs. * @param request BatchDeleteJobsRequest message or plain object * @returns Promise */ public batchDeleteJobs(request: google.cloud.talent.v4beta1.IBatchDeleteJobsRequest): Promise; /** * Calls ListJobs. * @param request ListJobsRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListJobsResponse */ public listJobs(request: google.cloud.talent.v4beta1.IListJobsRequest, callback: google.cloud.talent.v4beta1.JobService.ListJobsCallback): void; /** * Calls ListJobs. * @param request ListJobsRequest message or plain object * @returns Promise */ public listJobs(request: google.cloud.talent.v4beta1.IListJobsRequest): Promise; /** * Calls SearchJobs. * @param request SearchJobsRequest message or plain object * @param callback Node-style callback called with the error, if any, and SearchJobsResponse */ public searchJobs(request: google.cloud.talent.v4beta1.ISearchJobsRequest, callback: google.cloud.talent.v4beta1.JobService.SearchJobsCallback): void; /** * Calls SearchJobs. * @param request SearchJobsRequest message or plain object * @returns Promise */ public searchJobs(request: google.cloud.talent.v4beta1.ISearchJobsRequest): Promise; /** * Calls SearchJobsForAlert. * @param request SearchJobsRequest message or plain object * @param callback Node-style callback called with the error, if any, and SearchJobsResponse */ public searchJobsForAlert(request: google.cloud.talent.v4beta1.ISearchJobsRequest, callback: google.cloud.talent.v4beta1.JobService.SearchJobsForAlertCallback): void; /** * Calls SearchJobsForAlert. * @param request SearchJobsRequest message or plain object * @returns Promise */ public searchJobsForAlert(request: google.cloud.talent.v4beta1.ISearchJobsRequest): Promise; } namespace JobService { /** * 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}. * @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}. * @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}. * @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}. * @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}. * @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}. * @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}. * @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}. * @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}. * @param error Error, if any * @param [response] SearchJobsResponse */ type SearchJobsForAlertCallback = (error: (Error|null), response?: google.cloud.talent.v4beta1.SearchJobsResponse) => void; } /** Properties of a CreateJobRequest. */ interface ICreateJobRequest { /** CreateJobRequest parent */ parent?: (string|null); /** CreateJobRequest job */ job?: (google.cloud.talent.v4beta1.IJob|null); } /** Represents a CreateJobRequest. */ class CreateJobRequest implements ICreateJobRequest { /** * Constructs a new CreateJobRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.ICreateJobRequest); /** CreateJobRequest parent. */ public parent: string; /** CreateJobRequest job. */ public job?: (google.cloud.talent.v4beta1.IJob|null); /** * Creates a new CreateJobRequest instance using the specified properties. * @param [properties] Properties to set * @returns CreateJobRequest instance */ public static create(properties?: google.cloud.talent.v4beta1.ICreateJobRequest): google.cloud.talent.v4beta1.CreateJobRequest; /** * Encodes the specified CreateJobRequest message. Does not implicitly {@link google.cloud.talent.v4beta1.CreateJobRequest.verify|verify} messages. * @param message CreateJobRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.ICreateJobRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CreateJobRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.CreateJobRequest.verify|verify} messages. * @param message CreateJobRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.ICreateJobRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CreateJobRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CreateJobRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.CreateJobRequest; /** * Decodes a CreateJobRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CreateJobRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.CreateJobRequest; /** * Verifies a CreateJobRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CreateJobRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CreateJobRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.CreateJobRequest; /** * Creates a plain object from a CreateJobRequest message. Also converts values to other types if specified. * @param message CreateJobRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.CreateJobRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CreateJobRequest to JSON. * @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. */ interface IGetJobRequest { /** GetJobRequest name */ name?: (string|null); } /** Represents a GetJobRequest. */ class GetJobRequest implements IGetJobRequest { /** * Constructs a new GetJobRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.IGetJobRequest); /** GetJobRequest name. */ public name: string; /** * Creates a new GetJobRequest instance using the specified properties. * @param [properties] Properties to set * @returns GetJobRequest instance */ public static create(properties?: google.cloud.talent.v4beta1.IGetJobRequest): google.cloud.talent.v4beta1.GetJobRequest; /** * Encodes the specified GetJobRequest message. Does not implicitly {@link google.cloud.talent.v4beta1.GetJobRequest.verify|verify} messages. * @param message GetJobRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.IGetJobRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetJobRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.GetJobRequest.verify|verify} messages. * @param message GetJobRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.IGetJobRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetJobRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetJobRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.GetJobRequest; /** * Decodes a GetJobRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetJobRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.GetJobRequest; /** * Verifies a GetJobRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetJobRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetJobRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.GetJobRequest; /** * Creates a plain object from a GetJobRequest message. Also converts values to other types if specified. * @param message GetJobRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.GetJobRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetJobRequest to JSON. * @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. */ interface IUpdateJobRequest { /** UpdateJobRequest job */ job?: (google.cloud.talent.v4beta1.IJob|null); /** UpdateJobRequest updateMask */ updateMask?: (google.protobuf.IFieldMask|null); } /** Represents an UpdateJobRequest. */ class UpdateJobRequest implements IUpdateJobRequest { /** * Constructs a new UpdateJobRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.IUpdateJobRequest); /** UpdateJobRequest job. */ public job?: (google.cloud.talent.v4beta1.IJob|null); /** UpdateJobRequest updateMask. */ public updateMask?: (google.protobuf.IFieldMask|null); /** * Creates a new UpdateJobRequest instance using the specified properties. * @param [properties] Properties to set * @returns UpdateJobRequest instance */ public static create(properties?: google.cloud.talent.v4beta1.IUpdateJobRequest): google.cloud.talent.v4beta1.UpdateJobRequest; /** * Encodes the specified UpdateJobRequest message. Does not implicitly {@link google.cloud.talent.v4beta1.UpdateJobRequest.verify|verify} messages. * @param message UpdateJobRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.IUpdateJobRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UpdateJobRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.UpdateJobRequest.verify|verify} messages. * @param message UpdateJobRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.IUpdateJobRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UpdateJobRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UpdateJobRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.UpdateJobRequest; /** * Decodes an UpdateJobRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UpdateJobRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.UpdateJobRequest; /** * Verifies an UpdateJobRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an UpdateJobRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UpdateJobRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.UpdateJobRequest; /** * Creates a plain object from an UpdateJobRequest message. Also converts values to other types if specified. * @param message UpdateJobRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.UpdateJobRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UpdateJobRequest to JSON. * @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. */ interface IDeleteJobRequest { /** DeleteJobRequest name */ name?: (string|null); } /** Represents a DeleteJobRequest. */ class DeleteJobRequest implements IDeleteJobRequest { /** * Constructs a new DeleteJobRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.IDeleteJobRequest); /** DeleteJobRequest name. */ public name: string; /** * Creates a new DeleteJobRequest instance using the specified properties. * @param [properties] Properties to set * @returns DeleteJobRequest instance */ public static create(properties?: google.cloud.talent.v4beta1.IDeleteJobRequest): google.cloud.talent.v4beta1.DeleteJobRequest; /** * Encodes the specified DeleteJobRequest message. Does not implicitly {@link google.cloud.talent.v4beta1.DeleteJobRequest.verify|verify} messages. * @param message DeleteJobRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.IDeleteJobRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteJobRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.DeleteJobRequest.verify|verify} messages. * @param message DeleteJobRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.IDeleteJobRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteJobRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteJobRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.DeleteJobRequest; /** * Decodes a DeleteJobRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteJobRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.DeleteJobRequest; /** * Verifies a DeleteJobRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeleteJobRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteJobRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.DeleteJobRequest; /** * Creates a plain object from a DeleteJobRequest message. Also converts values to other types if specified. * @param message DeleteJobRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.DeleteJobRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteJobRequest to JSON. * @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. */ interface IBatchDeleteJobsRequest { /** BatchDeleteJobsRequest parent */ parent?: (string|null); /** BatchDeleteJobsRequest filter */ filter?: (string|null); } /** Represents a BatchDeleteJobsRequest. */ class BatchDeleteJobsRequest implements IBatchDeleteJobsRequest { /** * Constructs a new BatchDeleteJobsRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.IBatchDeleteJobsRequest); /** BatchDeleteJobsRequest parent. */ public parent: string; /** BatchDeleteJobsRequest filter. */ public filter: string; /** * Creates a new BatchDeleteJobsRequest instance using the specified properties. * @param [properties] Properties to set * @returns BatchDeleteJobsRequest instance */ public static create(properties?: google.cloud.talent.v4beta1.IBatchDeleteJobsRequest): google.cloud.talent.v4beta1.BatchDeleteJobsRequest; /** * Encodes the specified BatchDeleteJobsRequest message. Does not implicitly {@link google.cloud.talent.v4beta1.BatchDeleteJobsRequest.verify|verify} messages. * @param message BatchDeleteJobsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.IBatchDeleteJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BatchDeleteJobsRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.BatchDeleteJobsRequest.verify|verify} messages. * @param message BatchDeleteJobsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.IBatchDeleteJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BatchDeleteJobsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BatchDeleteJobsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.BatchDeleteJobsRequest; /** * Decodes a BatchDeleteJobsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BatchDeleteJobsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.BatchDeleteJobsRequest; /** * Verifies a BatchDeleteJobsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BatchDeleteJobsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BatchDeleteJobsRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.BatchDeleteJobsRequest; /** * Creates a plain object from a BatchDeleteJobsRequest message. Also converts values to other types if specified. * @param message BatchDeleteJobsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.BatchDeleteJobsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BatchDeleteJobsRequest to JSON. * @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; } /** JobView enum. */ enum JobView { JOB_VIEW_UNSPECIFIED = 0, JOB_VIEW_ID_ONLY = 1, JOB_VIEW_MINIMAL = 2, JOB_VIEW_SMALL = 3, JOB_VIEW_FULL = 4 } /** Properties of a ListJobsRequest. */ interface IListJobsRequest { /** ListJobsRequest parent */ parent?: (string|null); /** ListJobsRequest filter */ filter?: (string|null); /** ListJobsRequest pageToken */ pageToken?: (string|null); /** ListJobsRequest pageSize */ pageSize?: (number|null); /** ListJobsRequest jobView */ jobView?: (google.cloud.talent.v4beta1.JobView|keyof typeof google.cloud.talent.v4beta1.JobView|null); } /** Represents a ListJobsRequest. */ class ListJobsRequest implements IListJobsRequest { /** * Constructs a new ListJobsRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.IListJobsRequest); /** ListJobsRequest parent. */ public parent: string; /** ListJobsRequest filter. */ public filter: string; /** ListJobsRequest pageToken. */ public pageToken: string; /** ListJobsRequest pageSize. */ public pageSize: number; /** ListJobsRequest jobView. */ public jobView: (google.cloud.talent.v4beta1.JobView|keyof typeof google.cloud.talent.v4beta1.JobView); /** * Creates a new ListJobsRequest instance using the specified properties. * @param [properties] Properties to set * @returns ListJobsRequest instance */ public static create(properties?: google.cloud.talent.v4beta1.IListJobsRequest): google.cloud.talent.v4beta1.ListJobsRequest; /** * Encodes the specified ListJobsRequest message. Does not implicitly {@link google.cloud.talent.v4beta1.ListJobsRequest.verify|verify} messages. * @param message ListJobsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.IListJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListJobsRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.ListJobsRequest.verify|verify} messages. * @param message ListJobsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.IListJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListJobsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListJobsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.ListJobsRequest; /** * Decodes a ListJobsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListJobsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.ListJobsRequest; /** * Verifies a ListJobsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListJobsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListJobsRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.ListJobsRequest; /** * Creates a plain object from a ListJobsRequest message. Also converts values to other types if specified. * @param message ListJobsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.ListJobsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListJobsRequest to JSON. * @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. */ interface IListJobsResponse { /** ListJobsResponse jobs */ jobs?: (google.cloud.talent.v4beta1.IJob[]|null); /** ListJobsResponse nextPageToken */ nextPageToken?: (string|null); /** ListJobsResponse metadata */ metadata?: (google.cloud.talent.v4beta1.IResponseMetadata|null); } /** Represents a ListJobsResponse. */ class ListJobsResponse implements IListJobsResponse { /** * Constructs a new ListJobsResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.IListJobsResponse); /** ListJobsResponse jobs. */ public jobs: google.cloud.talent.v4beta1.IJob[]; /** ListJobsResponse nextPageToken. */ public nextPageToken: string; /** ListJobsResponse metadata. */ public metadata?: (google.cloud.talent.v4beta1.IResponseMetadata|null); /** * Creates a new ListJobsResponse instance using the specified properties. * @param [properties] Properties to set * @returns ListJobsResponse instance */ public static create(properties?: google.cloud.talent.v4beta1.IListJobsResponse): google.cloud.talent.v4beta1.ListJobsResponse; /** * Encodes the specified ListJobsResponse message. Does not implicitly {@link google.cloud.talent.v4beta1.ListJobsResponse.verify|verify} messages. * @param message ListJobsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.IListJobsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListJobsResponse message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.ListJobsResponse.verify|verify} messages. * @param message ListJobsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.IListJobsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListJobsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListJobsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.ListJobsResponse; /** * Decodes a ListJobsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListJobsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.ListJobsResponse; /** * Verifies a ListJobsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListJobsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListJobsResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.ListJobsResponse; /** * Creates a plain object from a ListJobsResponse message. Also converts values to other types if specified. * @param message ListJobsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.ListJobsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListJobsResponse to JSON. * @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. */ interface ISearchJobsRequest { /** SearchJobsRequest parent */ parent?: (string|null); /** SearchJobsRequest searchMode */ searchMode?: (google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode|keyof typeof google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode|null); /** SearchJobsRequest requestMetadata */ requestMetadata?: (google.cloud.talent.v4beta1.IRequestMetadata|null); /** SearchJobsRequest jobQuery */ jobQuery?: (google.cloud.talent.v4beta1.IJobQuery|null); /** SearchJobsRequest enableBroadening */ enableBroadening?: (boolean|null); /** SearchJobsRequest requirePreciseResultSize */ requirePreciseResultSize?: (boolean|null); /** SearchJobsRequest histogramQueries */ histogramQueries?: (google.cloud.talent.v4beta1.IHistogramQuery[]|null); /** SearchJobsRequest jobView */ jobView?: (google.cloud.talent.v4beta1.JobView|keyof typeof google.cloud.talent.v4beta1.JobView|null); /** SearchJobsRequest offset */ offset?: (number|null); /** SearchJobsRequest pageSize */ pageSize?: (number|null); /** SearchJobsRequest pageToken */ pageToken?: (string|null); /** SearchJobsRequest orderBy */ orderBy?: (string|null); /** SearchJobsRequest diversificationLevel */ diversificationLevel?: (google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel|keyof typeof google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel|null); /** SearchJobsRequest customRankingInfo */ customRankingInfo?: (google.cloud.talent.v4beta1.SearchJobsRequest.ICustomRankingInfo|null); /** SearchJobsRequest disableKeywordMatch */ disableKeywordMatch?: (boolean|null); /** SearchJobsRequest keywordMatchMode */ keywordMatchMode?: (google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode|keyof typeof google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode|null); /** SearchJobsRequest relevanceThreshold */ relevanceThreshold?: (google.cloud.talent.v4beta1.SearchJobsRequest.RelevanceThreshold|keyof typeof google.cloud.talent.v4beta1.SearchJobsRequest.RelevanceThreshold|null); } /** Represents a SearchJobsRequest. */ class SearchJobsRequest implements ISearchJobsRequest { /** * Constructs a new SearchJobsRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.ISearchJobsRequest); /** SearchJobsRequest parent. */ public parent: string; /** SearchJobsRequest searchMode. */ public searchMode: (google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode|keyof typeof google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode); /** SearchJobsRequest requestMetadata. */ public requestMetadata?: (google.cloud.talent.v4beta1.IRequestMetadata|null); /** SearchJobsRequest jobQuery. */ public jobQuery?: (google.cloud.talent.v4beta1.IJobQuery|null); /** SearchJobsRequest enableBroadening. */ public enableBroadening: boolean; /** SearchJobsRequest requirePreciseResultSize. */ public requirePreciseResultSize: boolean; /** SearchJobsRequest histogramQueries. */ public histogramQueries: google.cloud.talent.v4beta1.IHistogramQuery[]; /** SearchJobsRequest jobView. */ public jobView: (google.cloud.talent.v4beta1.JobView|keyof typeof google.cloud.talent.v4beta1.JobView); /** SearchJobsRequest offset. */ public offset: number; /** SearchJobsRequest pageSize. */ public pageSize: number; /** SearchJobsRequest pageToken. */ public pageToken: string; /** SearchJobsRequest orderBy. */ public orderBy: string; /** SearchJobsRequest diversificationLevel. */ public diversificationLevel: (google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel|keyof typeof google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel); /** SearchJobsRequest customRankingInfo. */ public customRankingInfo?: (google.cloud.talent.v4beta1.SearchJobsRequest.ICustomRankingInfo|null); /** SearchJobsRequest disableKeywordMatch. */ public disableKeywordMatch: boolean; /** SearchJobsRequest keywordMatchMode. */ public keywordMatchMode: (google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode|keyof typeof google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode); /** SearchJobsRequest relevanceThreshold. */ public relevanceThreshold: (google.cloud.talent.v4beta1.SearchJobsRequest.RelevanceThreshold|keyof typeof google.cloud.talent.v4beta1.SearchJobsRequest.RelevanceThreshold); /** * Creates a new SearchJobsRequest instance using the specified properties. * @param [properties] Properties to set * @returns SearchJobsRequest instance */ public static create(properties?: google.cloud.talent.v4beta1.ISearchJobsRequest): google.cloud.talent.v4beta1.SearchJobsRequest; /** * Encodes the specified SearchJobsRequest message. Does not implicitly {@link google.cloud.talent.v4beta1.SearchJobsRequest.verify|verify} messages. * @param message SearchJobsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.ISearchJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SearchJobsRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.SearchJobsRequest.verify|verify} messages. * @param message SearchJobsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.ISearchJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SearchJobsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SearchJobsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.SearchJobsRequest; /** * Decodes a SearchJobsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SearchJobsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.SearchJobsRequest; /** * Verifies a SearchJobsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SearchJobsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SearchJobsRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.SearchJobsRequest; /** * Creates a plain object from a SearchJobsRequest message. Also converts values to other types if specified. * @param message SearchJobsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.SearchJobsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SearchJobsRequest to JSON. * @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 { /** SearchMode enum. */ enum SearchMode { SEARCH_MODE_UNSPECIFIED = 0, JOB_SEARCH = 1, FEATURED_JOB_SEARCH = 2 } /** DiversificationLevel enum. */ enum DiversificationLevel { DIVERSIFICATION_LEVEL_UNSPECIFIED = 0, DISABLED = 1, SIMPLE = 2 } /** KeywordMatchMode enum. */ enum KeywordMatchMode { KEYWORD_MATCH_MODE_UNSPECIFIED = 0, KEYWORD_MATCH_DISABLED = 1, KEYWORD_MATCH_ALL = 2, KEYWORD_MATCH_TITLE_ONLY = 3 } /** RelevanceThreshold enum. */ enum RelevanceThreshold { RELEVANCE_THRESHOLD_UNSPECIFIED = 0, LOWEST = 1, LOW = 2, MEDIUM = 3, HIGH = 4 } /** Properties of a CustomRankingInfo. */ interface ICustomRankingInfo { /** CustomRankingInfo importanceLevel */ importanceLevel?: (google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel|keyof typeof google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel|null); /** CustomRankingInfo rankingExpression */ rankingExpression?: (string|null); } /** Represents a CustomRankingInfo. */ class CustomRankingInfo implements ICustomRankingInfo { /** * Constructs a new CustomRankingInfo. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.SearchJobsRequest.ICustomRankingInfo); /** CustomRankingInfo importanceLevel. */ public importanceLevel: (google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel|keyof typeof google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel); /** CustomRankingInfo rankingExpression. */ public rankingExpression: string; /** * Creates a new CustomRankingInfo instance using the specified properties. * @param [properties] Properties to set * @returns CustomRankingInfo instance */ public static create(properties?: google.cloud.talent.v4beta1.SearchJobsRequest.ICustomRankingInfo): google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo; /** * Encodes the specified CustomRankingInfo message. Does not implicitly {@link google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.verify|verify} messages. * @param message CustomRankingInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.SearchJobsRequest.ICustomRankingInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CustomRankingInfo message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.verify|verify} messages. * @param message CustomRankingInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.SearchJobsRequest.ICustomRankingInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CustomRankingInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CustomRankingInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo; /** * Decodes a CustomRankingInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CustomRankingInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo; /** * Verifies a CustomRankingInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CustomRankingInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CustomRankingInfo */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo; /** * Creates a plain object from a CustomRankingInfo message. Also converts values to other types if specified. * @param message CustomRankingInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CustomRankingInfo to JSON. * @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 { /** ImportanceLevel enum. */ enum ImportanceLevel { IMPORTANCE_LEVEL_UNSPECIFIED = 0, NONE = 1, LOW = 2, MILD = 3, MEDIUM = 4, HIGH = 5, EXTREME = 6 } } } /** Properties of a SearchJobsResponse. */ interface ISearchJobsResponse { /** SearchJobsResponse matchingJobs */ matchingJobs?: (google.cloud.talent.v4beta1.SearchJobsResponse.IMatchingJob[]|null); /** SearchJobsResponse histogramQueryResults */ histogramQueryResults?: (google.cloud.talent.v4beta1.IHistogramQueryResult[]|null); /** SearchJobsResponse nextPageToken */ nextPageToken?: (string|null); /** SearchJobsResponse locationFilters */ locationFilters?: (google.cloud.talent.v4beta1.ILocation[]|null); /** SearchJobsResponse estimatedTotalSize */ estimatedTotalSize?: (number|null); /** SearchJobsResponse totalSize */ totalSize?: (number|null); /** SearchJobsResponse metadata */ metadata?: (google.cloud.talent.v4beta1.IResponseMetadata|null); /** SearchJobsResponse broadenedQueryJobsCount */ broadenedQueryJobsCount?: (number|null); /** SearchJobsResponse spellCorrection */ spellCorrection?: (google.cloud.talent.v4beta1.ISpellingCorrection|null); } /** Represents a SearchJobsResponse. */ class SearchJobsResponse implements ISearchJobsResponse { /** * Constructs a new SearchJobsResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.ISearchJobsResponse); /** SearchJobsResponse matchingJobs. */ public matchingJobs: google.cloud.talent.v4beta1.SearchJobsResponse.IMatchingJob[]; /** SearchJobsResponse histogramQueryResults. */ public histogramQueryResults: google.cloud.talent.v4beta1.IHistogramQueryResult[]; /** SearchJobsResponse nextPageToken. */ public nextPageToken: string; /** SearchJobsResponse locationFilters. */ public locationFilters: google.cloud.talent.v4beta1.ILocation[]; /** SearchJobsResponse estimatedTotalSize. */ public estimatedTotalSize: number; /** SearchJobsResponse totalSize. */ public totalSize: number; /** SearchJobsResponse metadata. */ public metadata?: (google.cloud.talent.v4beta1.IResponseMetadata|null); /** SearchJobsResponse broadenedQueryJobsCount. */ public broadenedQueryJobsCount: number; /** SearchJobsResponse spellCorrection. */ public spellCorrection?: (google.cloud.talent.v4beta1.ISpellingCorrection|null); /** * Creates a new SearchJobsResponse instance using the specified properties. * @param [properties] Properties to set * @returns SearchJobsResponse instance */ public static create(properties?: google.cloud.talent.v4beta1.ISearchJobsResponse): google.cloud.talent.v4beta1.SearchJobsResponse; /** * Encodes the specified SearchJobsResponse message. Does not implicitly {@link google.cloud.talent.v4beta1.SearchJobsResponse.verify|verify} messages. * @param message SearchJobsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.ISearchJobsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SearchJobsResponse message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.SearchJobsResponse.verify|verify} messages. * @param message SearchJobsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.ISearchJobsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SearchJobsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SearchJobsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.SearchJobsResponse; /** * Decodes a SearchJobsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SearchJobsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.SearchJobsResponse; /** * Verifies a SearchJobsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SearchJobsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SearchJobsResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.SearchJobsResponse; /** * Creates a plain object from a SearchJobsResponse message. Also converts values to other types if specified. * @param message SearchJobsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.SearchJobsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SearchJobsResponse to JSON. * @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 { /** Properties of a MatchingJob. */ interface IMatchingJob { /** MatchingJob job */ job?: (google.cloud.talent.v4beta1.IJob|null); /** MatchingJob jobSummary */ jobSummary?: (string|null); /** MatchingJob jobTitleSnippet */ jobTitleSnippet?: (string|null); /** MatchingJob searchTextSnippet */ searchTextSnippet?: (string|null); /** MatchingJob commuteInfo */ commuteInfo?: (google.cloud.talent.v4beta1.SearchJobsResponse.ICommuteInfo|null); } /** Represents a MatchingJob. */ class MatchingJob implements IMatchingJob { /** * Constructs a new MatchingJob. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.SearchJobsResponse.IMatchingJob); /** MatchingJob job. */ public job?: (google.cloud.talent.v4beta1.IJob|null); /** MatchingJob jobSummary. */ public jobSummary: string; /** MatchingJob jobTitleSnippet. */ public jobTitleSnippet: string; /** MatchingJob searchTextSnippet. */ public searchTextSnippet: string; /** MatchingJob commuteInfo. */ public commuteInfo?: (google.cloud.talent.v4beta1.SearchJobsResponse.ICommuteInfo|null); /** * Creates a new MatchingJob instance using the specified properties. * @param [properties] Properties to set * @returns MatchingJob instance */ public static create(properties?: google.cloud.talent.v4beta1.SearchJobsResponse.IMatchingJob): google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob; /** * Encodes the specified MatchingJob message. Does not implicitly {@link google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.verify|verify} messages. * @param message MatchingJob message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.SearchJobsResponse.IMatchingJob, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MatchingJob message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.verify|verify} messages. * @param message MatchingJob message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.SearchJobsResponse.IMatchingJob, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MatchingJob message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MatchingJob * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob; /** * Decodes a MatchingJob message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MatchingJob * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob; /** * Verifies a MatchingJob message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MatchingJob message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MatchingJob */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob; /** * Creates a plain object from a MatchingJob message. Also converts values to other types if specified. * @param message MatchingJob * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MatchingJob to JSON. * @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. */ interface ICommuteInfo { /** CommuteInfo jobLocation */ jobLocation?: (google.cloud.talent.v4beta1.ILocation|null); /** CommuteInfo travelDuration */ travelDuration?: (google.protobuf.IDuration|null); } /** Represents a CommuteInfo. */ class CommuteInfo implements ICommuteInfo { /** * Constructs a new CommuteInfo. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.SearchJobsResponse.ICommuteInfo); /** CommuteInfo jobLocation. */ public jobLocation?: (google.cloud.talent.v4beta1.ILocation|null); /** CommuteInfo travelDuration. */ public travelDuration?: (google.protobuf.IDuration|null); /** * Creates a new CommuteInfo instance using the specified properties. * @param [properties] Properties to set * @returns CommuteInfo instance */ public static create(properties?: google.cloud.talent.v4beta1.SearchJobsResponse.ICommuteInfo): google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo; /** * Encodes the specified CommuteInfo message. Does not implicitly {@link google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.verify|verify} messages. * @param message CommuteInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.SearchJobsResponse.ICommuteInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommuteInfo message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.verify|verify} messages. * @param message CommuteInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.SearchJobsResponse.ICommuteInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommuteInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CommuteInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo; /** * Decodes a CommuteInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CommuteInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo; /** * Verifies a CommuteInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommuteInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommuteInfo */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo; /** * Creates a plain object from a CommuteInfo message. Also converts values to other types if specified. * @param message CommuteInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommuteInfo to JSON. * @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; } } /** Properties of a BatchCreateJobsRequest. */ interface IBatchCreateJobsRequest { /** BatchCreateJobsRequest parent */ parent?: (string|null); /** BatchCreateJobsRequest jobs */ jobs?: (google.cloud.talent.v4beta1.IJob[]|null); } /** Represents a BatchCreateJobsRequest. */ class BatchCreateJobsRequest implements IBatchCreateJobsRequest { /** * Constructs a new BatchCreateJobsRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.IBatchCreateJobsRequest); /** BatchCreateJobsRequest parent. */ public parent: string; /** BatchCreateJobsRequest jobs. */ public jobs: google.cloud.talent.v4beta1.IJob[]; /** * Creates a new BatchCreateJobsRequest instance using the specified properties. * @param [properties] Properties to set * @returns BatchCreateJobsRequest instance */ public static create(properties?: google.cloud.talent.v4beta1.IBatchCreateJobsRequest): google.cloud.talent.v4beta1.BatchCreateJobsRequest; /** * Encodes the specified BatchCreateJobsRequest message. Does not implicitly {@link google.cloud.talent.v4beta1.BatchCreateJobsRequest.verify|verify} messages. * @param message BatchCreateJobsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.IBatchCreateJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BatchCreateJobsRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.BatchCreateJobsRequest.verify|verify} messages. * @param message BatchCreateJobsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.IBatchCreateJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BatchCreateJobsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BatchCreateJobsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.BatchCreateJobsRequest; /** * Decodes a BatchCreateJobsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BatchCreateJobsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.BatchCreateJobsRequest; /** * Verifies a BatchCreateJobsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BatchCreateJobsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BatchCreateJobsRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.BatchCreateJobsRequest; /** * Creates a plain object from a BatchCreateJobsRequest message. Also converts values to other types if specified. * @param message BatchCreateJobsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.BatchCreateJobsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BatchCreateJobsRequest to JSON. * @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. */ interface IBatchUpdateJobsRequest { /** BatchUpdateJobsRequest parent */ parent?: (string|null); /** BatchUpdateJobsRequest jobs */ jobs?: (google.cloud.talent.v4beta1.IJob[]|null); /** BatchUpdateJobsRequest updateMask */ updateMask?: (google.protobuf.IFieldMask|null); } /** Represents a BatchUpdateJobsRequest. */ class BatchUpdateJobsRequest implements IBatchUpdateJobsRequest { /** * Constructs a new BatchUpdateJobsRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.IBatchUpdateJobsRequest); /** BatchUpdateJobsRequest parent. */ public parent: string; /** BatchUpdateJobsRequest jobs. */ public jobs: google.cloud.talent.v4beta1.IJob[]; /** BatchUpdateJobsRequest updateMask. */ public updateMask?: (google.protobuf.IFieldMask|null); /** * Creates a new BatchUpdateJobsRequest instance using the specified properties. * @param [properties] Properties to set * @returns BatchUpdateJobsRequest instance */ public static create(properties?: google.cloud.talent.v4beta1.IBatchUpdateJobsRequest): google.cloud.talent.v4beta1.BatchUpdateJobsRequest; /** * Encodes the specified BatchUpdateJobsRequest message. Does not implicitly {@link google.cloud.talent.v4beta1.BatchUpdateJobsRequest.verify|verify} messages. * @param message BatchUpdateJobsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.IBatchUpdateJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BatchUpdateJobsRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.BatchUpdateJobsRequest.verify|verify} messages. * @param message BatchUpdateJobsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.IBatchUpdateJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BatchUpdateJobsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BatchUpdateJobsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.BatchUpdateJobsRequest; /** * Decodes a BatchUpdateJobsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BatchUpdateJobsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.BatchUpdateJobsRequest; /** * Verifies a BatchUpdateJobsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BatchUpdateJobsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BatchUpdateJobsRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.BatchUpdateJobsRequest; /** * Creates a plain object from a BatchUpdateJobsRequest message. Also converts values to other types if specified. * @param message BatchUpdateJobsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.BatchUpdateJobsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BatchUpdateJobsRequest to JSON. * @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. */ interface IJobOperationResult { /** JobOperationResult jobResults */ jobResults?: (google.cloud.talent.v4beta1.JobOperationResult.IJobResult[]|null); } /** Represents a JobOperationResult. */ class JobOperationResult implements IJobOperationResult { /** * Constructs a new JobOperationResult. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.IJobOperationResult); /** JobOperationResult jobResults. */ public jobResults: google.cloud.talent.v4beta1.JobOperationResult.IJobResult[]; /** * Creates a new JobOperationResult instance using the specified properties. * @param [properties] Properties to set * @returns JobOperationResult instance */ public static create(properties?: google.cloud.talent.v4beta1.IJobOperationResult): google.cloud.talent.v4beta1.JobOperationResult; /** * Encodes the specified JobOperationResult message. Does not implicitly {@link google.cloud.talent.v4beta1.JobOperationResult.verify|verify} messages. * @param message JobOperationResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.IJobOperationResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified JobOperationResult message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.JobOperationResult.verify|verify} messages. * @param message JobOperationResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.IJobOperationResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a JobOperationResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns JobOperationResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.JobOperationResult; /** * Decodes a JobOperationResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns JobOperationResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.JobOperationResult; /** * Verifies a JobOperationResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a JobOperationResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns JobOperationResult */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.JobOperationResult; /** * Creates a plain object from a JobOperationResult message. Also converts values to other types if specified. * @param message JobOperationResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.JobOperationResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this JobOperationResult to JSON. * @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 { /** Properties of a JobResult. */ interface IJobResult { /** JobResult job */ job?: (google.cloud.talent.v4beta1.IJob|null); /** JobResult status */ status?: (google.rpc.IStatus|null); } /** Represents a JobResult. */ class JobResult implements IJobResult { /** * Constructs a new JobResult. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.JobOperationResult.IJobResult); /** JobResult job. */ public job?: (google.cloud.talent.v4beta1.IJob|null); /** JobResult status. */ public status?: (google.rpc.IStatus|null); /** * Creates a new JobResult instance using the specified properties. * @param [properties] Properties to set * @returns JobResult instance */ public static create(properties?: google.cloud.talent.v4beta1.JobOperationResult.IJobResult): google.cloud.talent.v4beta1.JobOperationResult.JobResult; /** * Encodes the specified JobResult message. Does not implicitly {@link google.cloud.talent.v4beta1.JobOperationResult.JobResult.verify|verify} messages. * @param message JobResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.JobOperationResult.IJobResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified JobResult message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.JobOperationResult.JobResult.verify|verify} messages. * @param message JobResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.JobOperationResult.IJobResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a JobResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns JobResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.JobOperationResult.JobResult; /** * Decodes a JobResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns JobResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.JobOperationResult.JobResult; /** * Verifies a JobResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a JobResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns JobResult */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.JobOperationResult.JobResult; /** * Creates a plain object from a JobResult message. Also converts values to other types if specified. * @param message JobResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.JobOperationResult.JobResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this JobResult to JSON. * @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 Tenant. */ interface ITenant { /** Tenant name */ name?: (string|null); /** Tenant externalId */ externalId?: (string|null); /** Tenant usageType */ usageType?: (google.cloud.talent.v4beta1.Tenant.DataUsageType|keyof typeof google.cloud.talent.v4beta1.Tenant.DataUsageType|null); /** Tenant keywordSearchableProfileCustomAttributes */ keywordSearchableProfileCustomAttributes?: (string[]|null); } /** Represents a Tenant. */ class Tenant implements ITenant { /** * Constructs a new Tenant. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.ITenant); /** Tenant name. */ public name: string; /** Tenant externalId. */ public externalId: string; /** Tenant usageType. */ public usageType: (google.cloud.talent.v4beta1.Tenant.DataUsageType|keyof typeof google.cloud.talent.v4beta1.Tenant.DataUsageType); /** Tenant keywordSearchableProfileCustomAttributes. */ public keywordSearchableProfileCustomAttributes: string[]; /** * Creates a new Tenant instance using the specified properties. * @param [properties] Properties to set * @returns Tenant instance */ public static create(properties?: google.cloud.talent.v4beta1.ITenant): google.cloud.talent.v4beta1.Tenant; /** * Encodes the specified Tenant message. Does not implicitly {@link google.cloud.talent.v4beta1.Tenant.verify|verify} messages. * @param message Tenant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.ITenant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Tenant message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.Tenant.verify|verify} messages. * @param message Tenant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.ITenant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Tenant message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Tenant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.Tenant; /** * Decodes a Tenant message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Tenant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.Tenant; /** * Verifies a Tenant message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Tenant message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Tenant */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.Tenant; /** * Creates a plain object from a Tenant message. Also converts values to other types if specified. * @param message Tenant * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.Tenant, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Tenant to JSON. * @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 { /** DataUsageType enum. */ enum DataUsageType { DATA_USAGE_TYPE_UNSPECIFIED = 0, AGGREGATED = 1, ISOLATED = 2 } } /** Represents a TenantService */ class TenantService extends $protobuf.rpc.Service { /** * Constructs a new TenantService service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Creates new TenantService service using the specified rpc implementation. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited * @returns RPC service. Useful where requests and/or responses are streamed. */ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): TenantService; /** * Calls CreateTenant. * @param request CreateTenantRequest message or plain object * @param callback Node-style callback called with the error, if any, and Tenant */ public createTenant(request: google.cloud.talent.v4beta1.ICreateTenantRequest, callback: google.cloud.talent.v4beta1.TenantService.CreateTenantCallback): void; /** * Calls CreateTenant. * @param request CreateTenantRequest message or plain object * @returns Promise */ public createTenant(request: google.cloud.talent.v4beta1.ICreateTenantRequest): Promise; /** * Calls GetTenant. * @param request GetTenantRequest message or plain object * @param callback Node-style callback called with the error, if any, and Tenant */ public getTenant(request: google.cloud.talent.v4beta1.IGetTenantRequest, callback: google.cloud.talent.v4beta1.TenantService.GetTenantCallback): void; /** * Calls GetTenant. * @param request GetTenantRequest message or plain object * @returns Promise */ public getTenant(request: google.cloud.talent.v4beta1.IGetTenantRequest): Promise; /** * Calls UpdateTenant. * @param request UpdateTenantRequest message or plain object * @param callback Node-style callback called with the error, if any, and Tenant */ public updateTenant(request: google.cloud.talent.v4beta1.IUpdateTenantRequest, callback: google.cloud.talent.v4beta1.TenantService.UpdateTenantCallback): void; /** * Calls UpdateTenant. * @param request UpdateTenantRequest message or plain object * @returns Promise */ public updateTenant(request: google.cloud.talent.v4beta1.IUpdateTenantRequest): Promise; /** * Calls DeleteTenant. * @param request DeleteTenantRequest message or plain object * @param callback Node-style callback called with the error, if any, and Empty */ public deleteTenant(request: google.cloud.talent.v4beta1.IDeleteTenantRequest, callback: google.cloud.talent.v4beta1.TenantService.DeleteTenantCallback): void; /** * Calls DeleteTenant. * @param request DeleteTenantRequest message or plain object * @returns Promise */ public deleteTenant(request: google.cloud.talent.v4beta1.IDeleteTenantRequest): Promise; /** * Calls ListTenants. * @param request ListTenantsRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListTenantsResponse */ public listTenants(request: google.cloud.talent.v4beta1.IListTenantsRequest, callback: google.cloud.talent.v4beta1.TenantService.ListTenantsCallback): void; /** * Calls ListTenants. * @param request ListTenantsRequest message or plain object * @returns Promise */ public listTenants(request: google.cloud.talent.v4beta1.IListTenantsRequest): Promise; } namespace TenantService { /** * 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}. * @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}. * @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}. * @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}. * @param error Error, if any * @param [response] ListTenantsResponse */ type ListTenantsCallback = (error: (Error|null), response?: google.cloud.talent.v4beta1.ListTenantsResponse) => void; } /** Properties of a CreateTenantRequest. */ interface ICreateTenantRequest { /** CreateTenantRequest parent */ parent?: (string|null); /** CreateTenantRequest tenant */ tenant?: (google.cloud.talent.v4beta1.ITenant|null); } /** Represents a CreateTenantRequest. */ class CreateTenantRequest implements ICreateTenantRequest { /** * Constructs a new CreateTenantRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.ICreateTenantRequest); /** CreateTenantRequest parent. */ public parent: string; /** CreateTenantRequest tenant. */ public tenant?: (google.cloud.talent.v4beta1.ITenant|null); /** * Creates a new CreateTenantRequest instance using the specified properties. * @param [properties] Properties to set * @returns CreateTenantRequest instance */ public static create(properties?: google.cloud.talent.v4beta1.ICreateTenantRequest): google.cloud.talent.v4beta1.CreateTenantRequest; /** * Encodes the specified CreateTenantRequest message. Does not implicitly {@link google.cloud.talent.v4beta1.CreateTenantRequest.verify|verify} messages. * @param message CreateTenantRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.ICreateTenantRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CreateTenantRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.CreateTenantRequest.verify|verify} messages. * @param message CreateTenantRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.ICreateTenantRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CreateTenantRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CreateTenantRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.CreateTenantRequest; /** * Decodes a CreateTenantRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CreateTenantRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.CreateTenantRequest; /** * Verifies a CreateTenantRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CreateTenantRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CreateTenantRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.CreateTenantRequest; /** * Creates a plain object from a CreateTenantRequest message. Also converts values to other types if specified. * @param message CreateTenantRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.CreateTenantRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CreateTenantRequest to JSON. * @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. */ interface IGetTenantRequest { /** GetTenantRequest name */ name?: (string|null); } /** Represents a GetTenantRequest. */ class GetTenantRequest implements IGetTenantRequest { /** * Constructs a new GetTenantRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.IGetTenantRequest); /** GetTenantRequest name. */ public name: string; /** * Creates a new GetTenantRequest instance using the specified properties. * @param [properties] Properties to set * @returns GetTenantRequest instance */ public static create(properties?: google.cloud.talent.v4beta1.IGetTenantRequest): google.cloud.talent.v4beta1.GetTenantRequest; /** * Encodes the specified GetTenantRequest message. Does not implicitly {@link google.cloud.talent.v4beta1.GetTenantRequest.verify|verify} messages. * @param message GetTenantRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.IGetTenantRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetTenantRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.GetTenantRequest.verify|verify} messages. * @param message GetTenantRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.IGetTenantRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetTenantRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetTenantRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.GetTenantRequest; /** * Decodes a GetTenantRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetTenantRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.GetTenantRequest; /** * Verifies a GetTenantRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetTenantRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetTenantRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.GetTenantRequest; /** * Creates a plain object from a GetTenantRequest message. Also converts values to other types if specified. * @param message GetTenantRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.GetTenantRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetTenantRequest to JSON. * @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. */ interface IUpdateTenantRequest { /** UpdateTenantRequest tenant */ tenant?: (google.cloud.talent.v4beta1.ITenant|null); /** UpdateTenantRequest updateMask */ updateMask?: (google.protobuf.IFieldMask|null); } /** Represents an UpdateTenantRequest. */ class UpdateTenantRequest implements IUpdateTenantRequest { /** * Constructs a new UpdateTenantRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.IUpdateTenantRequest); /** UpdateTenantRequest tenant. */ public tenant?: (google.cloud.talent.v4beta1.ITenant|null); /** UpdateTenantRequest updateMask. */ public updateMask?: (google.protobuf.IFieldMask|null); /** * Creates a new UpdateTenantRequest instance using the specified properties. * @param [properties] Properties to set * @returns UpdateTenantRequest instance */ public static create(properties?: google.cloud.talent.v4beta1.IUpdateTenantRequest): google.cloud.talent.v4beta1.UpdateTenantRequest; /** * Encodes the specified UpdateTenantRequest message. Does not implicitly {@link google.cloud.talent.v4beta1.UpdateTenantRequest.verify|verify} messages. * @param message UpdateTenantRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.IUpdateTenantRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UpdateTenantRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.UpdateTenantRequest.verify|verify} messages. * @param message UpdateTenantRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.IUpdateTenantRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UpdateTenantRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UpdateTenantRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.UpdateTenantRequest; /** * Decodes an UpdateTenantRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UpdateTenantRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.UpdateTenantRequest; /** * Verifies an UpdateTenantRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an UpdateTenantRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UpdateTenantRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.UpdateTenantRequest; /** * Creates a plain object from an UpdateTenantRequest message. Also converts values to other types if specified. * @param message UpdateTenantRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.UpdateTenantRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UpdateTenantRequest to JSON. * @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. */ interface IDeleteTenantRequest { /** DeleteTenantRequest name */ name?: (string|null); } /** Represents a DeleteTenantRequest. */ class DeleteTenantRequest implements IDeleteTenantRequest { /** * Constructs a new DeleteTenantRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.IDeleteTenantRequest); /** DeleteTenantRequest name. */ public name: string; /** * Creates a new DeleteTenantRequest instance using the specified properties. * @param [properties] Properties to set * @returns DeleteTenantRequest instance */ public static create(properties?: google.cloud.talent.v4beta1.IDeleteTenantRequest): google.cloud.talent.v4beta1.DeleteTenantRequest; /** * Encodes the specified DeleteTenantRequest message. Does not implicitly {@link google.cloud.talent.v4beta1.DeleteTenantRequest.verify|verify} messages. * @param message DeleteTenantRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.IDeleteTenantRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteTenantRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.DeleteTenantRequest.verify|verify} messages. * @param message DeleteTenantRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.IDeleteTenantRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteTenantRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteTenantRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.DeleteTenantRequest; /** * Decodes a DeleteTenantRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteTenantRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.DeleteTenantRequest; /** * Verifies a DeleteTenantRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeleteTenantRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteTenantRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.DeleteTenantRequest; /** * Creates a plain object from a DeleteTenantRequest message. Also converts values to other types if specified. * @param message DeleteTenantRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.DeleteTenantRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteTenantRequest to JSON. * @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. */ interface IListTenantsRequest { /** ListTenantsRequest parent */ parent?: (string|null); /** ListTenantsRequest pageToken */ pageToken?: (string|null); /** ListTenantsRequest pageSize */ pageSize?: (number|null); } /** Represents a ListTenantsRequest. */ class ListTenantsRequest implements IListTenantsRequest { /** * Constructs a new ListTenantsRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.IListTenantsRequest); /** ListTenantsRequest parent. */ public parent: string; /** ListTenantsRequest pageToken. */ public pageToken: string; /** ListTenantsRequest pageSize. */ public pageSize: number; /** * Creates a new ListTenantsRequest instance using the specified properties. * @param [properties] Properties to set * @returns ListTenantsRequest instance */ public static create(properties?: google.cloud.talent.v4beta1.IListTenantsRequest): google.cloud.talent.v4beta1.ListTenantsRequest; /** * Encodes the specified ListTenantsRequest message. Does not implicitly {@link google.cloud.talent.v4beta1.ListTenantsRequest.verify|verify} messages. * @param message ListTenantsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.IListTenantsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListTenantsRequest message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.ListTenantsRequest.verify|verify} messages. * @param message ListTenantsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.IListTenantsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListTenantsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListTenantsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.ListTenantsRequest; /** * Decodes a ListTenantsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListTenantsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.ListTenantsRequest; /** * Verifies a ListTenantsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListTenantsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListTenantsRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.ListTenantsRequest; /** * Creates a plain object from a ListTenantsRequest message. Also converts values to other types if specified. * @param message ListTenantsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.ListTenantsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListTenantsRequest to JSON. * @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. */ interface IListTenantsResponse { /** ListTenantsResponse tenants */ tenants?: (google.cloud.talent.v4beta1.ITenant[]|null); /** ListTenantsResponse nextPageToken */ nextPageToken?: (string|null); /** ListTenantsResponse metadata */ metadata?: (google.cloud.talent.v4beta1.IResponseMetadata|null); } /** Represents a ListTenantsResponse. */ class ListTenantsResponse implements IListTenantsResponse { /** * Constructs a new ListTenantsResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.talent.v4beta1.IListTenantsResponse); /** ListTenantsResponse tenants. */ public tenants: google.cloud.talent.v4beta1.ITenant[]; /** ListTenantsResponse nextPageToken. */ public nextPageToken: string; /** ListTenantsResponse metadata. */ public metadata?: (google.cloud.talent.v4beta1.IResponseMetadata|null); /** * Creates a new ListTenantsResponse instance using the specified properties. * @param [properties] Properties to set * @returns ListTenantsResponse instance */ public static create(properties?: google.cloud.talent.v4beta1.IListTenantsResponse): google.cloud.talent.v4beta1.ListTenantsResponse; /** * Encodes the specified ListTenantsResponse message. Does not implicitly {@link google.cloud.talent.v4beta1.ListTenantsResponse.verify|verify} messages. * @param message ListTenantsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.talent.v4beta1.IListTenantsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListTenantsResponse message, length delimited. Does not implicitly {@link google.cloud.talent.v4beta1.ListTenantsResponse.verify|verify} messages. * @param message ListTenantsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.talent.v4beta1.IListTenantsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListTenantsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListTenantsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.ListTenantsResponse; /** * Decodes a ListTenantsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListTenantsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.ListTenantsResponse; /** * Verifies a ListTenantsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListTenantsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListTenantsResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.ListTenantsResponse; /** * Creates a plain object from a ListTenantsResponse message. Also converts values to other types if specified. * @param message ListTenantsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.talent.v4beta1.ListTenantsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListTenantsResponse to JSON. * @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; } } } } /** Namespace api. */ namespace api { /** FieldBehavior enum. */ enum FieldBehavior { FIELD_BEHAVIOR_UNSPECIFIED = 0, OPTIONAL = 1, REQUIRED = 2, OUTPUT_ONLY = 3, INPUT_ONLY = 4, IMMUTABLE = 5, UNORDERED_LIST = 6, NON_EMPTY_DEFAULT = 7, IDENTIFIER = 8 } /** Properties of a ResourceDescriptor. */ interface IResourceDescriptor { /** ResourceDescriptor type */ type?: (string|null); /** ResourceDescriptor pattern */ pattern?: (string[]|null); /** ResourceDescriptor nameField */ nameField?: (string|null); /** ResourceDescriptor history */ history?: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History|null); /** ResourceDescriptor plural */ plural?: (string|null); /** ResourceDescriptor singular */ singular?: (string|null); /** ResourceDescriptor style */ style?: (google.api.ResourceDescriptor.Style[]|null); } /** Represents a ResourceDescriptor. */ class ResourceDescriptor implements IResourceDescriptor { /** * Constructs a new ResourceDescriptor. * @param [properties] Properties to set */ constructor(properties?: google.api.IResourceDescriptor); /** ResourceDescriptor type. */ public type: string; /** ResourceDescriptor pattern. */ public pattern: string[]; /** ResourceDescriptor nameField. */ public nameField: string; /** ResourceDescriptor history. */ public history: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History); /** ResourceDescriptor plural. */ public plural: string; /** ResourceDescriptor singular. */ public singular: string; /** ResourceDescriptor style. */ public style: google.api.ResourceDescriptor.Style[]; /** * Creates a new ResourceDescriptor instance using the specified properties. * @param [properties] Properties to set * @returns ResourceDescriptor instance */ public static create(properties?: google.api.IResourceDescriptor): google.api.ResourceDescriptor; /** * Encodes the specified ResourceDescriptor message. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages. * @param message ResourceDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ResourceDescriptor message, length delimited. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages. * @param message ResourceDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ResourceDescriptor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ResourceDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceDescriptor; /** * Decodes a ResourceDescriptor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ResourceDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceDescriptor; /** * Verifies a ResourceDescriptor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ResourceDescriptor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ResourceDescriptor */ public static fromObject(object: { [k: string]: any }): google.api.ResourceDescriptor; /** * Creates a plain object from a ResourceDescriptor message. Also converts values to other types if specified. * @param message ResourceDescriptor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.ResourceDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ResourceDescriptor to JSON. * @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 { /** History enum. */ enum History { HISTORY_UNSPECIFIED = 0, ORIGINALLY_SINGLE_PATTERN = 1, FUTURE_MULTI_PATTERN = 2 } /** Style enum. */ enum Style { STYLE_UNSPECIFIED = 0, DECLARATIVE_FRIENDLY = 1 } } /** Properties of a ResourceReference. */ interface IResourceReference { /** ResourceReference type */ type?: (string|null); /** ResourceReference childType */ childType?: (string|null); } /** Represents a ResourceReference. */ class ResourceReference implements IResourceReference { /** * Constructs a new ResourceReference. * @param [properties] Properties to set */ constructor(properties?: google.api.IResourceReference); /** ResourceReference type. */ public type: string; /** ResourceReference childType. */ public childType: string; /** * Creates a new ResourceReference instance using the specified properties. * @param [properties] Properties to set * @returns ResourceReference instance */ public static create(properties?: google.api.IResourceReference): google.api.ResourceReference; /** * Encodes the specified ResourceReference message. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages. * @param message ResourceReference message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ResourceReference message, length delimited. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages. * @param message ResourceReference message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ResourceReference message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ResourceReference * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceReference; /** * Decodes a ResourceReference message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ResourceReference * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceReference; /** * Verifies a ResourceReference message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ResourceReference message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ResourceReference */ public static fromObject(object: { [k: string]: any }): google.api.ResourceReference; /** * Creates a plain object from a ResourceReference message. Also converts values to other types if specified. * @param message ResourceReference * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.ResourceReference, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ResourceReference to JSON. * @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. */ interface IHttp { /** Http rules */ rules?: (google.api.IHttpRule[]|null); /** Http fullyDecodeReservedExpansion */ fullyDecodeReservedExpansion?: (boolean|null); } /** Represents a Http. */ class Http implements IHttp { /** * Constructs a new Http. * @param [properties] Properties to set */ constructor(properties?: google.api.IHttp); /** Http rules. */ public rules: google.api.IHttpRule[]; /** Http fullyDecodeReservedExpansion. */ public fullyDecodeReservedExpansion: boolean; /** * Creates a new Http instance using the specified properties. * @param [properties] Properties to set * @returns Http instance */ public static create(properties?: google.api.IHttp): google.api.Http; /** * Encodes the specified Http message. Does not implicitly {@link google.api.Http.verify|verify} messages. * @param message Http message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Http message, length delimited. Does not implicitly {@link google.api.Http.verify|verify} messages. * @param message Http message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Http message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Http * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Http; /** * Decodes a Http message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Http * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Http; /** * Verifies a Http message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Http message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Http */ public static fromObject(object: { [k: string]: any }): google.api.Http; /** * Creates a plain object from a Http message. Also converts values to other types if specified. * @param message Http * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.Http, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Http to JSON. * @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. */ interface IHttpRule { /** HttpRule selector */ selector?: (string|null); /** HttpRule get */ get?: (string|null); /** HttpRule put */ put?: (string|null); /** HttpRule post */ post?: (string|null); /** HttpRule delete */ "delete"?: (string|null); /** HttpRule patch */ patch?: (string|null); /** HttpRule custom */ custom?: (google.api.ICustomHttpPattern|null); /** HttpRule body */ body?: (string|null); /** HttpRule responseBody */ responseBody?: (string|null); /** HttpRule additionalBindings */ additionalBindings?: (google.api.IHttpRule[]|null); } /** Represents a HttpRule. */ class HttpRule implements IHttpRule { /** * Constructs a new HttpRule. * @param [properties] Properties to set */ constructor(properties?: google.api.IHttpRule); /** HttpRule selector. */ public selector: string; /** HttpRule get. */ public get?: (string|null); /** HttpRule put. */ public put?: (string|null); /** HttpRule post. */ public post?: (string|null); /** HttpRule delete. */ public delete?: (string|null); /** HttpRule patch. */ public patch?: (string|null); /** HttpRule custom. */ public custom?: (google.api.ICustomHttpPattern|null); /** HttpRule body. */ public body: string; /** HttpRule responseBody. */ public responseBody: string; /** HttpRule additionalBindings. */ public additionalBindings: google.api.IHttpRule[]; /** HttpRule pattern. */ public pattern?: ("get"|"put"|"post"|"delete"|"patch"|"custom"); /** * Creates a new HttpRule instance using the specified properties. * @param [properties] Properties to set * @returns HttpRule instance */ public static create(properties?: google.api.IHttpRule): google.api.HttpRule; /** * Encodes the specified HttpRule message. Does not implicitly {@link google.api.HttpRule.verify|verify} messages. * @param message HttpRule message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HttpRule message, length delimited. Does not implicitly {@link google.api.HttpRule.verify|verify} messages. * @param message HttpRule message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HttpRule message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HttpRule * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.HttpRule; /** * Decodes a HttpRule message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HttpRule * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.HttpRule; /** * Verifies a HttpRule message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HttpRule message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HttpRule */ public static fromObject(object: { [k: string]: any }): google.api.HttpRule; /** * Creates a plain object from a HttpRule message. Also converts values to other types if specified. * @param message HttpRule * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.HttpRule, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HttpRule to JSON. * @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. */ interface ICustomHttpPattern { /** CustomHttpPattern kind */ kind?: (string|null); /** CustomHttpPattern path */ path?: (string|null); } /** Represents a CustomHttpPattern. */ class CustomHttpPattern implements ICustomHttpPattern { /** * Constructs a new CustomHttpPattern. * @param [properties] Properties to set */ constructor(properties?: google.api.ICustomHttpPattern); /** CustomHttpPattern kind. */ public kind: string; /** CustomHttpPattern path. */ public path: string; /** * Creates a new CustomHttpPattern instance using the specified properties. * @param [properties] Properties to set * @returns CustomHttpPattern instance */ public static create(properties?: google.api.ICustomHttpPattern): google.api.CustomHttpPattern; /** * Encodes the specified CustomHttpPattern message. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages. * @param message CustomHttpPattern message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CustomHttpPattern message, length delimited. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages. * @param message CustomHttpPattern message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CustomHttpPattern message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CustomHttpPattern * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CustomHttpPattern; /** * Decodes a CustomHttpPattern message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CustomHttpPattern * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CustomHttpPattern; /** * Verifies a CustomHttpPattern message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CustomHttpPattern message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CustomHttpPattern */ public static fromObject(object: { [k: string]: any }): google.api.CustomHttpPattern; /** * Creates a plain object from a CustomHttpPattern message. Also converts values to other types if specified. * @param message CustomHttpPattern * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.CustomHttpPattern, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CustomHttpPattern to JSON. * @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; } /** Properties of a CommonLanguageSettings. */ interface ICommonLanguageSettings { /** CommonLanguageSettings referenceDocsUri */ referenceDocsUri?: (string|null); /** CommonLanguageSettings destinations */ destinations?: (google.api.ClientLibraryDestination[]|null); } /** Represents a CommonLanguageSettings. */ class CommonLanguageSettings implements ICommonLanguageSettings { /** * Constructs a new CommonLanguageSettings. * @param [properties] Properties to set */ constructor(properties?: google.api.ICommonLanguageSettings); /** CommonLanguageSettings referenceDocsUri. */ public referenceDocsUri: string; /** CommonLanguageSettings destinations. */ public destinations: google.api.ClientLibraryDestination[]; /** * Creates a new CommonLanguageSettings instance using the specified properties. * @param [properties] Properties to set * @returns CommonLanguageSettings instance */ public static create(properties?: google.api.ICommonLanguageSettings): google.api.CommonLanguageSettings; /** * Encodes the specified CommonLanguageSettings message. Does not implicitly {@link google.api.CommonLanguageSettings.verify|verify} messages. * @param message CommonLanguageSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.ICommonLanguageSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommonLanguageSettings message, length delimited. Does not implicitly {@link google.api.CommonLanguageSettings.verify|verify} messages. * @param message CommonLanguageSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.ICommonLanguageSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommonLanguageSettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CommonLanguageSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CommonLanguageSettings; /** * Decodes a CommonLanguageSettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CommonLanguageSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CommonLanguageSettings; /** * Verifies a CommonLanguageSettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommonLanguageSettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommonLanguageSettings */ public static fromObject(object: { [k: string]: any }): google.api.CommonLanguageSettings; /** * Creates a plain object from a CommonLanguageSettings message. Also converts values to other types if specified. * @param message CommonLanguageSettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.CommonLanguageSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommonLanguageSettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CommonLanguageSettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ClientLibrarySettings. */ interface IClientLibrarySettings { /** ClientLibrarySettings version */ version?: (string|null); /** ClientLibrarySettings launchStage */ launchStage?: (google.api.LaunchStage|keyof typeof google.api.LaunchStage|null); /** ClientLibrarySettings restNumericEnums */ restNumericEnums?: (boolean|null); /** ClientLibrarySettings javaSettings */ javaSettings?: (google.api.IJavaSettings|null); /** ClientLibrarySettings cppSettings */ cppSettings?: (google.api.ICppSettings|null); /** ClientLibrarySettings phpSettings */ phpSettings?: (google.api.IPhpSettings|null); /** ClientLibrarySettings pythonSettings */ pythonSettings?: (google.api.IPythonSettings|null); /** ClientLibrarySettings nodeSettings */ nodeSettings?: (google.api.INodeSettings|null); /** ClientLibrarySettings dotnetSettings */ dotnetSettings?: (google.api.IDotnetSettings|null); /** ClientLibrarySettings rubySettings */ rubySettings?: (google.api.IRubySettings|null); /** ClientLibrarySettings goSettings */ goSettings?: (google.api.IGoSettings|null); } /** Represents a ClientLibrarySettings. */ class ClientLibrarySettings implements IClientLibrarySettings { /** * Constructs a new ClientLibrarySettings. * @param [properties] Properties to set */ constructor(properties?: google.api.IClientLibrarySettings); /** ClientLibrarySettings version. */ public version: string; /** ClientLibrarySettings launchStage. */ public launchStage: (google.api.LaunchStage|keyof typeof google.api.LaunchStage); /** ClientLibrarySettings restNumericEnums. */ public restNumericEnums: boolean; /** ClientLibrarySettings javaSettings. */ public javaSettings?: (google.api.IJavaSettings|null); /** ClientLibrarySettings cppSettings. */ public cppSettings?: (google.api.ICppSettings|null); /** ClientLibrarySettings phpSettings. */ public phpSettings?: (google.api.IPhpSettings|null); /** ClientLibrarySettings pythonSettings. */ public pythonSettings?: (google.api.IPythonSettings|null); /** ClientLibrarySettings nodeSettings. */ public nodeSettings?: (google.api.INodeSettings|null); /** ClientLibrarySettings dotnetSettings. */ public dotnetSettings?: (google.api.IDotnetSettings|null); /** ClientLibrarySettings rubySettings. */ public rubySettings?: (google.api.IRubySettings|null); /** ClientLibrarySettings goSettings. */ public goSettings?: (google.api.IGoSettings|null); /** * Creates a new ClientLibrarySettings instance using the specified properties. * @param [properties] Properties to set * @returns ClientLibrarySettings instance */ public static create(properties?: google.api.IClientLibrarySettings): google.api.ClientLibrarySettings; /** * Encodes the specified ClientLibrarySettings message. Does not implicitly {@link google.api.ClientLibrarySettings.verify|verify} messages. * @param message ClientLibrarySettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IClientLibrarySettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ClientLibrarySettings message, length delimited. Does not implicitly {@link google.api.ClientLibrarySettings.verify|verify} messages. * @param message ClientLibrarySettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IClientLibrarySettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ClientLibrarySettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ClientLibrarySettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ClientLibrarySettings; /** * Decodes a ClientLibrarySettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ClientLibrarySettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ClientLibrarySettings; /** * Verifies a ClientLibrarySettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ClientLibrarySettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ClientLibrarySettings */ public static fromObject(object: { [k: string]: any }): google.api.ClientLibrarySettings; /** * Creates a plain object from a ClientLibrarySettings message. Also converts values to other types if specified. * @param message ClientLibrarySettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.ClientLibrarySettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ClientLibrarySettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ClientLibrarySettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Publishing. */ interface IPublishing { /** Publishing methodSettings */ methodSettings?: (google.api.IMethodSettings[]|null); /** Publishing newIssueUri */ newIssueUri?: (string|null); /** Publishing documentationUri */ documentationUri?: (string|null); /** Publishing apiShortName */ apiShortName?: (string|null); /** Publishing githubLabel */ githubLabel?: (string|null); /** Publishing codeownerGithubTeams */ codeownerGithubTeams?: (string[]|null); /** Publishing docTagPrefix */ docTagPrefix?: (string|null); /** Publishing organization */ organization?: (google.api.ClientLibraryOrganization|keyof typeof google.api.ClientLibraryOrganization|null); /** Publishing librarySettings */ librarySettings?: (google.api.IClientLibrarySettings[]|null); /** Publishing protoReferenceDocumentationUri */ protoReferenceDocumentationUri?: (string|null); /** Publishing restReferenceDocumentationUri */ restReferenceDocumentationUri?: (string|null); } /** Represents a Publishing. */ class Publishing implements IPublishing { /** * Constructs a new Publishing. * @param [properties] Properties to set */ constructor(properties?: google.api.IPublishing); /** Publishing methodSettings. */ public methodSettings: google.api.IMethodSettings[]; /** Publishing newIssueUri. */ public newIssueUri: string; /** Publishing documentationUri. */ public documentationUri: string; /** Publishing apiShortName. */ public apiShortName: string; /** Publishing githubLabel. */ public githubLabel: string; /** Publishing codeownerGithubTeams. */ public codeownerGithubTeams: string[]; /** Publishing docTagPrefix. */ public docTagPrefix: string; /** Publishing organization. */ public organization: (google.api.ClientLibraryOrganization|keyof typeof google.api.ClientLibraryOrganization); /** Publishing librarySettings. */ public librarySettings: google.api.IClientLibrarySettings[]; /** Publishing protoReferenceDocumentationUri. */ public protoReferenceDocumentationUri: string; /** Publishing restReferenceDocumentationUri. */ public restReferenceDocumentationUri: string; /** * Creates a new Publishing instance using the specified properties. * @param [properties] Properties to set * @returns Publishing instance */ public static create(properties?: google.api.IPublishing): google.api.Publishing; /** * Encodes the specified Publishing message. Does not implicitly {@link google.api.Publishing.verify|verify} messages. * @param message Publishing message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IPublishing, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Publishing message, length delimited. Does not implicitly {@link google.api.Publishing.verify|verify} messages. * @param message Publishing message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IPublishing, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Publishing message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Publishing * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Publishing; /** * Decodes a Publishing message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Publishing * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Publishing; /** * Verifies a Publishing message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Publishing message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Publishing */ public static fromObject(object: { [k: string]: any }): google.api.Publishing; /** * Creates a plain object from a Publishing message. Also converts values to other types if specified. * @param message Publishing * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.Publishing, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Publishing to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Publishing * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a JavaSettings. */ interface IJavaSettings { /** JavaSettings libraryPackage */ libraryPackage?: (string|null); /** JavaSettings serviceClassNames */ serviceClassNames?: ({ [k: string]: string }|null); /** JavaSettings common */ common?: (google.api.ICommonLanguageSettings|null); } /** Represents a JavaSettings. */ class JavaSettings implements IJavaSettings { /** * Constructs a new JavaSettings. * @param [properties] Properties to set */ constructor(properties?: google.api.IJavaSettings); /** JavaSettings libraryPackage. */ public libraryPackage: string; /** JavaSettings serviceClassNames. */ public serviceClassNames: { [k: string]: string }; /** JavaSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); /** * Creates a new JavaSettings instance using the specified properties. * @param [properties] Properties to set * @returns JavaSettings instance */ public static create(properties?: google.api.IJavaSettings): google.api.JavaSettings; /** * Encodes the specified JavaSettings message. Does not implicitly {@link google.api.JavaSettings.verify|verify} messages. * @param message JavaSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IJavaSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified JavaSettings message, length delimited. Does not implicitly {@link google.api.JavaSettings.verify|verify} messages. * @param message JavaSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IJavaSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a JavaSettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns JavaSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.JavaSettings; /** * Decodes a JavaSettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns JavaSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.JavaSettings; /** * Verifies a JavaSettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a JavaSettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns JavaSettings */ public static fromObject(object: { [k: string]: any }): google.api.JavaSettings; /** * Creates a plain object from a JavaSettings message. Also converts values to other types if specified. * @param message JavaSettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.JavaSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this JavaSettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for JavaSettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CppSettings. */ interface ICppSettings { /** CppSettings common */ common?: (google.api.ICommonLanguageSettings|null); } /** Represents a CppSettings. */ class CppSettings implements ICppSettings { /** * Constructs a new CppSettings. * @param [properties] Properties to set */ constructor(properties?: google.api.ICppSettings); /** CppSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); /** * Creates a new CppSettings instance using the specified properties. * @param [properties] Properties to set * @returns CppSettings instance */ public static create(properties?: google.api.ICppSettings): google.api.CppSettings; /** * Encodes the specified CppSettings message. Does not implicitly {@link google.api.CppSettings.verify|verify} messages. * @param message CppSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.ICppSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CppSettings message, length delimited. Does not implicitly {@link google.api.CppSettings.verify|verify} messages. * @param message CppSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.ICppSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CppSettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CppSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CppSettings; /** * Decodes a CppSettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CppSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CppSettings; /** * Verifies a CppSettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CppSettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CppSettings */ public static fromObject(object: { [k: string]: any }): google.api.CppSettings; /** * Creates a plain object from a CppSettings message. Also converts values to other types if specified. * @param message CppSettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.CppSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CppSettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CppSettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PhpSettings. */ interface IPhpSettings { /** PhpSettings common */ common?: (google.api.ICommonLanguageSettings|null); } /** Represents a PhpSettings. */ class PhpSettings implements IPhpSettings { /** * Constructs a new PhpSettings. * @param [properties] Properties to set */ constructor(properties?: google.api.IPhpSettings); /** PhpSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); /** * Creates a new PhpSettings instance using the specified properties. * @param [properties] Properties to set * @returns PhpSettings instance */ public static create(properties?: google.api.IPhpSettings): google.api.PhpSettings; /** * Encodes the specified PhpSettings message. Does not implicitly {@link google.api.PhpSettings.verify|verify} messages. * @param message PhpSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IPhpSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PhpSettings message, length delimited. Does not implicitly {@link google.api.PhpSettings.verify|verify} messages. * @param message PhpSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IPhpSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PhpSettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PhpSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PhpSettings; /** * Decodes a PhpSettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PhpSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PhpSettings; /** * Verifies a PhpSettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PhpSettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PhpSettings */ public static fromObject(object: { [k: string]: any }): google.api.PhpSettings; /** * Creates a plain object from a PhpSettings message. Also converts values to other types if specified. * @param message PhpSettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.PhpSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PhpSettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PhpSettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PythonSettings. */ interface IPythonSettings { /** PythonSettings common */ common?: (google.api.ICommonLanguageSettings|null); } /** Represents a PythonSettings. */ class PythonSettings implements IPythonSettings { /** * Constructs a new PythonSettings. * @param [properties] Properties to set */ constructor(properties?: google.api.IPythonSettings); /** PythonSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); /** * Creates a new PythonSettings instance using the specified properties. * @param [properties] Properties to set * @returns PythonSettings instance */ public static create(properties?: google.api.IPythonSettings): google.api.PythonSettings; /** * Encodes the specified PythonSettings message. Does not implicitly {@link google.api.PythonSettings.verify|verify} messages. * @param message PythonSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IPythonSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PythonSettings message, length delimited. Does not implicitly {@link google.api.PythonSettings.verify|verify} messages. * @param message PythonSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IPythonSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PythonSettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PythonSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PythonSettings; /** * Decodes a PythonSettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PythonSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PythonSettings; /** * Verifies a PythonSettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PythonSettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PythonSettings */ public static fromObject(object: { [k: string]: any }): google.api.PythonSettings; /** * Creates a plain object from a PythonSettings message. Also converts values to other types if specified. * @param message PythonSettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.PythonSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PythonSettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PythonSettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a NodeSettings. */ interface INodeSettings { /** NodeSettings common */ common?: (google.api.ICommonLanguageSettings|null); } /** Represents a NodeSettings. */ class NodeSettings implements INodeSettings { /** * Constructs a new NodeSettings. * @param [properties] Properties to set */ constructor(properties?: google.api.INodeSettings); /** NodeSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); /** * Creates a new NodeSettings instance using the specified properties. * @param [properties] Properties to set * @returns NodeSettings instance */ public static create(properties?: google.api.INodeSettings): google.api.NodeSettings; /** * Encodes the specified NodeSettings message. Does not implicitly {@link google.api.NodeSettings.verify|verify} messages. * @param message NodeSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.INodeSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified NodeSettings message, length delimited. Does not implicitly {@link google.api.NodeSettings.verify|verify} messages. * @param message NodeSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.INodeSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NodeSettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns NodeSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.NodeSettings; /** * Decodes a NodeSettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns NodeSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.NodeSettings; /** * Verifies a NodeSettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a NodeSettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NodeSettings */ public static fromObject(object: { [k: string]: any }): google.api.NodeSettings; /** * Creates a plain object from a NodeSettings message. Also converts values to other types if specified. * @param message NodeSettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.NodeSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NodeSettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for NodeSettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DotnetSettings. */ interface IDotnetSettings { /** DotnetSettings common */ common?: (google.api.ICommonLanguageSettings|null); /** DotnetSettings renamedServices */ renamedServices?: ({ [k: string]: string }|null); /** DotnetSettings renamedResources */ renamedResources?: ({ [k: string]: string }|null); /** DotnetSettings ignoredResources */ ignoredResources?: (string[]|null); /** DotnetSettings forcedNamespaceAliases */ forcedNamespaceAliases?: (string[]|null); /** DotnetSettings handwrittenSignatures */ handwrittenSignatures?: (string[]|null); } /** Represents a DotnetSettings. */ class DotnetSettings implements IDotnetSettings { /** * Constructs a new DotnetSettings. * @param [properties] Properties to set */ constructor(properties?: google.api.IDotnetSettings); /** DotnetSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); /** DotnetSettings renamedServices. */ public renamedServices: { [k: string]: string }; /** DotnetSettings renamedResources. */ public renamedResources: { [k: string]: string }; /** DotnetSettings ignoredResources. */ public ignoredResources: string[]; /** DotnetSettings forcedNamespaceAliases. */ public forcedNamespaceAliases: string[]; /** DotnetSettings handwrittenSignatures. */ public handwrittenSignatures: string[]; /** * Creates a new DotnetSettings instance using the specified properties. * @param [properties] Properties to set * @returns DotnetSettings instance */ public static create(properties?: google.api.IDotnetSettings): google.api.DotnetSettings; /** * Encodes the specified DotnetSettings message. Does not implicitly {@link google.api.DotnetSettings.verify|verify} messages. * @param message DotnetSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IDotnetSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DotnetSettings message, length delimited. Does not implicitly {@link google.api.DotnetSettings.verify|verify} messages. * @param message DotnetSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IDotnetSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DotnetSettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DotnetSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.DotnetSettings; /** * Decodes a DotnetSettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DotnetSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.DotnetSettings; /** * Verifies a DotnetSettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DotnetSettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DotnetSettings */ public static fromObject(object: { [k: string]: any }): google.api.DotnetSettings; /** * Creates a plain object from a DotnetSettings message. Also converts values to other types if specified. * @param message DotnetSettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.DotnetSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DotnetSettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DotnetSettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RubySettings. */ interface IRubySettings { /** RubySettings common */ common?: (google.api.ICommonLanguageSettings|null); } /** Represents a RubySettings. */ class RubySettings implements IRubySettings { /** * Constructs a new RubySettings. * @param [properties] Properties to set */ constructor(properties?: google.api.IRubySettings); /** RubySettings common. */ public common?: (google.api.ICommonLanguageSettings|null); /** * Creates a new RubySettings instance using the specified properties. * @param [properties] Properties to set * @returns RubySettings instance */ public static create(properties?: google.api.IRubySettings): google.api.RubySettings; /** * Encodes the specified RubySettings message. Does not implicitly {@link google.api.RubySettings.verify|verify} messages. * @param message RubySettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IRubySettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RubySettings message, length delimited. Does not implicitly {@link google.api.RubySettings.verify|verify} messages. * @param message RubySettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IRubySettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RubySettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RubySettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.RubySettings; /** * Decodes a RubySettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RubySettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.RubySettings; /** * Verifies a RubySettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RubySettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RubySettings */ public static fromObject(object: { [k: string]: any }): google.api.RubySettings; /** * Creates a plain object from a RubySettings message. Also converts values to other types if specified. * @param message RubySettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.RubySettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RubySettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RubySettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GoSettings. */ interface IGoSettings { /** GoSettings common */ common?: (google.api.ICommonLanguageSettings|null); } /** Represents a GoSettings. */ class GoSettings implements IGoSettings { /** * Constructs a new GoSettings. * @param [properties] Properties to set */ constructor(properties?: google.api.IGoSettings); /** GoSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); /** * Creates a new GoSettings instance using the specified properties. * @param [properties] Properties to set * @returns GoSettings instance */ public static create(properties?: google.api.IGoSettings): google.api.GoSettings; /** * Encodes the specified GoSettings message. Does not implicitly {@link google.api.GoSettings.verify|verify} messages. * @param message GoSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IGoSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GoSettings message, length delimited. Does not implicitly {@link google.api.GoSettings.verify|verify} messages. * @param message GoSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IGoSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GoSettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GoSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.GoSettings; /** * Decodes a GoSettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GoSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.GoSettings; /** * Verifies a GoSettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GoSettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GoSettings */ public static fromObject(object: { [k: string]: any }): google.api.GoSettings; /** * Creates a plain object from a GoSettings message. Also converts values to other types if specified. * @param message GoSettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.GoSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GoSettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GoSettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MethodSettings. */ interface IMethodSettings { /** MethodSettings selector */ selector?: (string|null); /** MethodSettings longRunning */ longRunning?: (google.api.MethodSettings.ILongRunning|null); /** MethodSettings autoPopulatedFields */ autoPopulatedFields?: (string[]|null); } /** Represents a MethodSettings. */ class MethodSettings implements IMethodSettings { /** * Constructs a new MethodSettings. * @param [properties] Properties to set */ constructor(properties?: google.api.IMethodSettings); /** MethodSettings selector. */ public selector: string; /** MethodSettings longRunning. */ public longRunning?: (google.api.MethodSettings.ILongRunning|null); /** MethodSettings autoPopulatedFields. */ public autoPopulatedFields: string[]; /** * Creates a new MethodSettings instance using the specified properties. * @param [properties] Properties to set * @returns MethodSettings instance */ public static create(properties?: google.api.IMethodSettings): google.api.MethodSettings; /** * Encodes the specified MethodSettings message. Does not implicitly {@link google.api.MethodSettings.verify|verify} messages. * @param message MethodSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IMethodSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MethodSettings message, length delimited. Does not implicitly {@link google.api.MethodSettings.verify|verify} messages. * @param message MethodSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IMethodSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MethodSettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MethodSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.MethodSettings; /** * Decodes a MethodSettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MethodSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.MethodSettings; /** * Verifies a MethodSettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MethodSettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MethodSettings */ public static fromObject(object: { [k: string]: any }): google.api.MethodSettings; /** * Creates a plain object from a MethodSettings message. Also converts values to other types if specified. * @param message MethodSettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.MethodSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MethodSettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MethodSettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MethodSettings { /** Properties of a LongRunning. */ interface ILongRunning { /** LongRunning initialPollDelay */ initialPollDelay?: (google.protobuf.IDuration|null); /** LongRunning pollDelayMultiplier */ pollDelayMultiplier?: (number|null); /** LongRunning maxPollDelay */ maxPollDelay?: (google.protobuf.IDuration|null); /** LongRunning totalPollTimeout */ totalPollTimeout?: (google.protobuf.IDuration|null); } /** Represents a LongRunning. */ class LongRunning implements ILongRunning { /** * Constructs a new LongRunning. * @param [properties] Properties to set */ constructor(properties?: google.api.MethodSettings.ILongRunning); /** LongRunning initialPollDelay. */ public initialPollDelay?: (google.protobuf.IDuration|null); /** LongRunning pollDelayMultiplier. */ public pollDelayMultiplier: number; /** LongRunning maxPollDelay. */ public maxPollDelay?: (google.protobuf.IDuration|null); /** LongRunning totalPollTimeout. */ public totalPollTimeout?: (google.protobuf.IDuration|null); /** * Creates a new LongRunning instance using the specified properties. * @param [properties] Properties to set * @returns LongRunning instance */ public static create(properties?: google.api.MethodSettings.ILongRunning): google.api.MethodSettings.LongRunning; /** * Encodes the specified LongRunning message. Does not implicitly {@link google.api.MethodSettings.LongRunning.verify|verify} messages. * @param message LongRunning message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.MethodSettings.ILongRunning, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LongRunning message, length delimited. Does not implicitly {@link google.api.MethodSettings.LongRunning.verify|verify} messages. * @param message LongRunning message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.MethodSettings.ILongRunning, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LongRunning message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LongRunning * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.MethodSettings.LongRunning; /** * Decodes a LongRunning message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LongRunning * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.MethodSettings.LongRunning; /** * Verifies a LongRunning message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LongRunning message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LongRunning */ public static fromObject(object: { [k: string]: any }): google.api.MethodSettings.LongRunning; /** * Creates a plain object from a LongRunning message. Also converts values to other types if specified. * @param message LongRunning * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.MethodSettings.LongRunning, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LongRunning to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for LongRunning * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** ClientLibraryOrganization enum. */ enum ClientLibraryOrganization { CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0, CLOUD = 1, ADS = 2, PHOTOS = 3, STREET_VIEW = 4, SHOPPING = 5, GEO = 6, GENERATIVE_AI = 7 } /** ClientLibraryDestination enum. */ enum ClientLibraryDestination { CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0, GITHUB = 10, PACKAGE_MANAGER = 20 } /** LaunchStage enum. */ enum LaunchStage { LAUNCH_STAGE_UNSPECIFIED = 0, UNIMPLEMENTED = 6, PRELAUNCH = 7, EARLY_ACCESS = 1, ALPHA = 2, BETA = 3, GA = 4, DEPRECATED = 5 } } /** Namespace protobuf. */ namespace protobuf { /** Properties of a FileDescriptorSet. */ interface IFileDescriptorSet { /** FileDescriptorSet file */ file?: (google.protobuf.IFileDescriptorProto[]|null); } /** Represents a FileDescriptorSet. */ class FileDescriptorSet implements IFileDescriptorSet { /** * Constructs a new FileDescriptorSet. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IFileDescriptorSet); /** FileDescriptorSet file. */ public file: google.protobuf.IFileDescriptorProto[]; /** * Creates a new FileDescriptorSet instance using the specified properties. * @param [properties] Properties to set * @returns FileDescriptorSet instance */ public static create(properties?: google.protobuf.IFileDescriptorSet): google.protobuf.FileDescriptorSet; /** * Encodes the specified FileDescriptorSet message. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages. * @param message FileDescriptorSet message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FileDescriptorSet message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages. * @param message FileDescriptorSet message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FileDescriptorSet message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FileDescriptorSet * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorSet; /** * Decodes a FileDescriptorSet message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FileDescriptorSet * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorSet; /** * Verifies a FileDescriptorSet message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FileDescriptorSet message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FileDescriptorSet */ public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorSet; /** * Creates a plain object from a FileDescriptorSet message. Also converts values to other types if specified. * @param message FileDescriptorSet * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FileDescriptorSet, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FileDescriptorSet to JSON. * @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; } /** Edition enum. */ enum Edition { EDITION_UNKNOWN = 0, EDITION_PROTO2 = 998, EDITION_PROTO3 = 999, EDITION_2023 = 1000, EDITION_2024 = 1001, EDITION_1_TEST_ONLY = 1, EDITION_2_TEST_ONLY = 2, EDITION_99997_TEST_ONLY = 99997, EDITION_99998_TEST_ONLY = 99998, EDITION_99999_TEST_ONLY = 99999, EDITION_MAX = 2147483647 } /** Properties of a FileDescriptorProto. */ interface IFileDescriptorProto { /** FileDescriptorProto name */ name?: (string|null); /** FileDescriptorProto package */ "package"?: (string|null); /** FileDescriptorProto dependency */ dependency?: (string[]|null); /** FileDescriptorProto publicDependency */ publicDependency?: (number[]|null); /** FileDescriptorProto weakDependency */ weakDependency?: (number[]|null); /** FileDescriptorProto messageType */ messageType?: (google.protobuf.IDescriptorProto[]|null); /** FileDescriptorProto enumType */ enumType?: (google.protobuf.IEnumDescriptorProto[]|null); /** FileDescriptorProto service */ service?: (google.protobuf.IServiceDescriptorProto[]|null); /** FileDescriptorProto extension */ extension?: (google.protobuf.IFieldDescriptorProto[]|null); /** FileDescriptorProto options */ options?: (google.protobuf.IFileOptions|null); /** FileDescriptorProto sourceCodeInfo */ sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null); /** FileDescriptorProto syntax */ syntax?: (string|null); /** FileDescriptorProto edition */ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); } /** Represents a FileDescriptorProto. */ class FileDescriptorProto implements IFileDescriptorProto { /** * Constructs a new FileDescriptorProto. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IFileDescriptorProto); /** FileDescriptorProto name. */ public name: string; /** FileDescriptorProto package. */ public package: string; /** FileDescriptorProto dependency. */ public dependency: string[]; /** FileDescriptorProto publicDependency. */ public publicDependency: number[]; /** FileDescriptorProto weakDependency. */ public weakDependency: number[]; /** FileDescriptorProto messageType. */ public messageType: google.protobuf.IDescriptorProto[]; /** FileDescriptorProto enumType. */ public enumType: google.protobuf.IEnumDescriptorProto[]; /** FileDescriptorProto service. */ public service: google.protobuf.IServiceDescriptorProto[]; /** FileDescriptorProto extension. */ public extension: google.protobuf.IFieldDescriptorProto[]; /** FileDescriptorProto options. */ public options?: (google.protobuf.IFileOptions|null); /** FileDescriptorProto sourceCodeInfo. */ public sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null); /** FileDescriptorProto syntax. */ public syntax: string; /** FileDescriptorProto edition. */ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); /** * Creates a new FileDescriptorProto instance using the specified properties. * @param [properties] Properties to set * @returns FileDescriptorProto instance */ public static create(properties?: google.protobuf.IFileDescriptorProto): google.protobuf.FileDescriptorProto; /** * Encodes the specified FileDescriptorProto message. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages. * @param message FileDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FileDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages. * @param message FileDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FileDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FileDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorProto; /** * Decodes a FileDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FileDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorProto; /** * Verifies a FileDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FileDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FileDescriptorProto */ public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorProto; /** * Creates a plain object from a FileDescriptorProto message. Also converts values to other types if specified. * @param message FileDescriptorProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FileDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FileDescriptorProto to JSON. * @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. */ interface IDescriptorProto { /** DescriptorProto name */ name?: (string|null); /** DescriptorProto field */ field?: (google.protobuf.IFieldDescriptorProto[]|null); /** DescriptorProto extension */ extension?: (google.protobuf.IFieldDescriptorProto[]|null); /** DescriptorProto nestedType */ nestedType?: (google.protobuf.IDescriptorProto[]|null); /** DescriptorProto enumType */ enumType?: (google.protobuf.IEnumDescriptorProto[]|null); /** DescriptorProto extensionRange */ extensionRange?: (google.protobuf.DescriptorProto.IExtensionRange[]|null); /** DescriptorProto oneofDecl */ oneofDecl?: (google.protobuf.IOneofDescriptorProto[]|null); /** DescriptorProto options */ options?: (google.protobuf.IMessageOptions|null); /** DescriptorProto reservedRange */ reservedRange?: (google.protobuf.DescriptorProto.IReservedRange[]|null); /** DescriptorProto reservedName */ reservedName?: (string[]|null); } /** Represents a DescriptorProto. */ class DescriptorProto implements IDescriptorProto { /** * Constructs a new DescriptorProto. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IDescriptorProto); /** DescriptorProto name. */ public name: string; /** DescriptorProto field. */ public field: google.protobuf.IFieldDescriptorProto[]; /** DescriptorProto extension. */ public extension: google.protobuf.IFieldDescriptorProto[]; /** DescriptorProto nestedType. */ public nestedType: google.protobuf.IDescriptorProto[]; /** DescriptorProto enumType. */ public enumType: google.protobuf.IEnumDescriptorProto[]; /** DescriptorProto extensionRange. */ public extensionRange: google.protobuf.DescriptorProto.IExtensionRange[]; /** DescriptorProto oneofDecl. */ public oneofDecl: google.protobuf.IOneofDescriptorProto[]; /** DescriptorProto options. */ public options?: (google.protobuf.IMessageOptions|null); /** DescriptorProto reservedRange. */ public reservedRange: google.protobuf.DescriptorProto.IReservedRange[]; /** DescriptorProto reservedName. */ public reservedName: string[]; /** * Creates a new DescriptorProto instance using the specified properties. * @param [properties] Properties to set * @returns DescriptorProto instance */ public static create(properties?: google.protobuf.IDescriptorProto): google.protobuf.DescriptorProto; /** * Encodes the specified DescriptorProto message. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages. * @param message DescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages. * @param message DescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto; /** * Decodes a DescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto; /** * Verifies a DescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DescriptorProto */ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto; /** * Creates a plain object from a DescriptorProto message. Also converts values to other types if specified. * @param message DescriptorProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.DescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DescriptorProto to JSON. * @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 { /** Properties of an ExtensionRange. */ interface IExtensionRange { /** ExtensionRange start */ start?: (number|null); /** ExtensionRange end */ end?: (number|null); /** ExtensionRange options */ options?: (google.protobuf.IExtensionRangeOptions|null); } /** Represents an ExtensionRange. */ class ExtensionRange implements IExtensionRange { /** * Constructs a new ExtensionRange. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.DescriptorProto.IExtensionRange); /** ExtensionRange start. */ public start: number; /** ExtensionRange end. */ public end: number; /** ExtensionRange options. */ public options?: (google.protobuf.IExtensionRangeOptions|null); /** * Creates a new ExtensionRange instance using the specified properties. * @param [properties] Properties to set * @returns ExtensionRange instance */ public static create(properties?: google.protobuf.DescriptorProto.IExtensionRange): google.protobuf.DescriptorProto.ExtensionRange; /** * Encodes the specified ExtensionRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages. * @param message ExtensionRange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ExtensionRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages. * @param message ExtensionRange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ExtensionRange message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ExtensionRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ExtensionRange; /** * Decodes an ExtensionRange message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ExtensionRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ExtensionRange; /** * Verifies an ExtensionRange message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ExtensionRange message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExtensionRange */ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ExtensionRange; /** * Creates a plain object from an ExtensionRange message. Also converts values to other types if specified. * @param message ExtensionRange * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.DescriptorProto.ExtensionRange, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExtensionRange to JSON. * @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. */ interface IReservedRange { /** ReservedRange start */ start?: (number|null); /** ReservedRange end */ end?: (number|null); } /** Represents a ReservedRange. */ class ReservedRange implements IReservedRange { /** * Constructs a new ReservedRange. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.DescriptorProto.IReservedRange); /** ReservedRange start. */ public start: number; /** ReservedRange end. */ public end: number; /** * Creates a new ReservedRange instance using the specified properties. * @param [properties] Properties to set * @returns ReservedRange instance */ public static create(properties?: google.protobuf.DescriptorProto.IReservedRange): google.protobuf.DescriptorProto.ReservedRange; /** * Encodes the specified ReservedRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages. * @param message ReservedRange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ReservedRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages. * @param message ReservedRange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ReservedRange message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ReservedRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ReservedRange; /** * Decodes a ReservedRange message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ReservedRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ReservedRange; /** * Verifies a ReservedRange message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ReservedRange message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ReservedRange */ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ReservedRange; /** * Creates a plain object from a ReservedRange message. Also converts values to other types if specified. * @param message ReservedRange * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.DescriptorProto.ReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ReservedRange to JSON. * @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; } } /** Properties of an ExtensionRangeOptions. */ interface IExtensionRangeOptions { /** ExtensionRangeOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); /** ExtensionRangeOptions declaration */ declaration?: (google.protobuf.ExtensionRangeOptions.IDeclaration[]|null); /** ExtensionRangeOptions features */ features?: (google.protobuf.IFeatureSet|null); /** ExtensionRangeOptions verification */ verification?: (google.protobuf.ExtensionRangeOptions.VerificationState|keyof typeof google.protobuf.ExtensionRangeOptions.VerificationState|null); } /** Represents an ExtensionRangeOptions. */ class ExtensionRangeOptions implements IExtensionRangeOptions { /** * Constructs a new ExtensionRangeOptions. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IExtensionRangeOptions); /** ExtensionRangeOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; /** ExtensionRangeOptions declaration. */ public declaration: google.protobuf.ExtensionRangeOptions.IDeclaration[]; /** ExtensionRangeOptions features. */ public features?: (google.protobuf.IFeatureSet|null); /** ExtensionRangeOptions verification. */ public verification: (google.protobuf.ExtensionRangeOptions.VerificationState|keyof typeof google.protobuf.ExtensionRangeOptions.VerificationState); /** * Creates a new ExtensionRangeOptions instance using the specified properties. * @param [properties] Properties to set * @returns ExtensionRangeOptions instance */ public static create(properties?: google.protobuf.IExtensionRangeOptions): google.protobuf.ExtensionRangeOptions; /** * Encodes the specified ExtensionRangeOptions message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages. * @param message ExtensionRangeOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ExtensionRangeOptions message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages. * @param message ExtensionRangeOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ExtensionRangeOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ExtensionRangeOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ExtensionRangeOptions; /** * Decodes an ExtensionRangeOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ExtensionRangeOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ExtensionRangeOptions; /** * Verifies an ExtensionRangeOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ExtensionRangeOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExtensionRangeOptions */ public static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions; /** * Creates a plain object from an ExtensionRangeOptions message. Also converts values to other types if specified. * @param message ExtensionRangeOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.ExtensionRangeOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExtensionRangeOptions to JSON. * @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; } namespace ExtensionRangeOptions { /** Properties of a Declaration. */ interface IDeclaration { /** Declaration number */ number?: (number|null); /** Declaration fullName */ fullName?: (string|null); /** Declaration type */ type?: (string|null); /** Declaration reserved */ reserved?: (boolean|null); /** Declaration repeated */ repeated?: (boolean|null); } /** Represents a Declaration. */ class Declaration implements IDeclaration { /** * Constructs a new Declaration. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.ExtensionRangeOptions.IDeclaration); /** Declaration number. */ public number: number; /** Declaration fullName. */ public fullName: string; /** Declaration type. */ public type: string; /** Declaration reserved. */ public reserved: boolean; /** Declaration repeated. */ public repeated: boolean; /** * Creates a new Declaration instance using the specified properties. * @param [properties] Properties to set * @returns Declaration instance */ public static create(properties?: google.protobuf.ExtensionRangeOptions.IDeclaration): google.protobuf.ExtensionRangeOptions.Declaration; /** * Encodes the specified Declaration message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages. * @param message Declaration message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.ExtensionRangeOptions.IDeclaration, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Declaration message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages. * @param message Declaration message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.ExtensionRangeOptions.IDeclaration, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Declaration message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Declaration * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ExtensionRangeOptions.Declaration; /** * Decodes a Declaration message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Declaration * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ExtensionRangeOptions.Declaration; /** * Verifies a Declaration message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Declaration message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Declaration */ public static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions.Declaration; /** * Creates a plain object from a Declaration message. Also converts values to other types if specified. * @param message Declaration * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.ExtensionRangeOptions.Declaration, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Declaration to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Declaration * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** VerificationState enum. */ enum VerificationState { DECLARATION = 0, UNVERIFIED = 1 } } /** Properties of a FieldDescriptorProto. */ interface IFieldDescriptorProto { /** FieldDescriptorProto name */ name?: (string|null); /** FieldDescriptorProto number */ number?: (number|null); /** FieldDescriptorProto label */ label?: (google.protobuf.FieldDescriptorProto.Label|keyof typeof google.protobuf.FieldDescriptorProto.Label|null); /** FieldDescriptorProto type */ type?: (google.protobuf.FieldDescriptorProto.Type|keyof typeof google.protobuf.FieldDescriptorProto.Type|null); /** FieldDescriptorProto typeName */ typeName?: (string|null); /** FieldDescriptorProto extendee */ extendee?: (string|null); /** FieldDescriptorProto defaultValue */ defaultValue?: (string|null); /** FieldDescriptorProto oneofIndex */ oneofIndex?: (number|null); /** FieldDescriptorProto jsonName */ jsonName?: (string|null); /** FieldDescriptorProto options */ options?: (google.protobuf.IFieldOptions|null); /** FieldDescriptorProto proto3Optional */ proto3Optional?: (boolean|null); } /** Represents a FieldDescriptorProto. */ class FieldDescriptorProto implements IFieldDescriptorProto { /** * Constructs a new FieldDescriptorProto. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IFieldDescriptorProto); /** FieldDescriptorProto name. */ public name: string; /** FieldDescriptorProto number. */ public number: number; /** FieldDescriptorProto label. */ public label: (google.protobuf.FieldDescriptorProto.Label|keyof typeof google.protobuf.FieldDescriptorProto.Label); /** FieldDescriptorProto type. */ public type: (google.protobuf.FieldDescriptorProto.Type|keyof typeof google.protobuf.FieldDescriptorProto.Type); /** FieldDescriptorProto typeName. */ public typeName: string; /** FieldDescriptorProto extendee. */ public extendee: string; /** FieldDescriptorProto defaultValue. */ public defaultValue: string; /** FieldDescriptorProto oneofIndex. */ public oneofIndex: number; /** FieldDescriptorProto jsonName. */ public jsonName: string; /** FieldDescriptorProto options. */ public options?: (google.protobuf.IFieldOptions|null); /** FieldDescriptorProto proto3Optional. */ public proto3Optional: boolean; /** * Creates a new FieldDescriptorProto instance using the specified properties. * @param [properties] Properties to set * @returns FieldDescriptorProto instance */ public static create(properties?: google.protobuf.IFieldDescriptorProto): google.protobuf.FieldDescriptorProto; /** * Encodes the specified FieldDescriptorProto message. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages. * @param message FieldDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FieldDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages. * @param message FieldDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FieldDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FieldDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldDescriptorProto; /** * Decodes a FieldDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FieldDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldDescriptorProto; /** * Verifies a FieldDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FieldDescriptorProto */ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldDescriptorProto; /** * Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified. * @param message FieldDescriptorProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FieldDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FieldDescriptorProto to JSON. * @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 { /** Type enum. */ enum Type { TYPE_DOUBLE = 1, TYPE_FLOAT = 2, TYPE_INT64 = 3, TYPE_UINT64 = 4, TYPE_INT32 = 5, TYPE_FIXED64 = 6, TYPE_FIXED32 = 7, TYPE_BOOL = 8, TYPE_STRING = 9, TYPE_GROUP = 10, TYPE_MESSAGE = 11, TYPE_BYTES = 12, TYPE_UINT32 = 13, TYPE_ENUM = 14, TYPE_SFIXED32 = 15, TYPE_SFIXED64 = 16, TYPE_SINT32 = 17, TYPE_SINT64 = 18 } /** Label enum. */ enum Label { LABEL_OPTIONAL = 1, LABEL_REPEATED = 3, LABEL_REQUIRED = 2 } } /** Properties of an OneofDescriptorProto. */ interface IOneofDescriptorProto { /** OneofDescriptorProto name */ name?: (string|null); /** OneofDescriptorProto options */ options?: (google.protobuf.IOneofOptions|null); } /** Represents an OneofDescriptorProto. */ class OneofDescriptorProto implements IOneofDescriptorProto { /** * Constructs a new OneofDescriptorProto. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IOneofDescriptorProto); /** OneofDescriptorProto name. */ public name: string; /** OneofDescriptorProto options. */ public options?: (google.protobuf.IOneofOptions|null); /** * Creates a new OneofDescriptorProto instance using the specified properties. * @param [properties] Properties to set * @returns OneofDescriptorProto instance */ public static create(properties?: google.protobuf.IOneofDescriptorProto): google.protobuf.OneofDescriptorProto; /** * Encodes the specified OneofDescriptorProto message. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages. * @param message OneofDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified OneofDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages. * @param message OneofDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an OneofDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns OneofDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofDescriptorProto; /** * Decodes an OneofDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns OneofDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofDescriptorProto; /** * Verifies an OneofDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an OneofDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns OneofDescriptorProto */ public static fromObject(object: { [k: string]: any }): google.protobuf.OneofDescriptorProto; /** * Creates a plain object from an OneofDescriptorProto message. Also converts values to other types if specified. * @param message OneofDescriptorProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.OneofDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this OneofDescriptorProto to JSON. * @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. */ interface IEnumDescriptorProto { /** EnumDescriptorProto name */ name?: (string|null); /** EnumDescriptorProto value */ value?: (google.protobuf.IEnumValueDescriptorProto[]|null); /** EnumDescriptorProto options */ options?: (google.protobuf.IEnumOptions|null); /** EnumDescriptorProto reservedRange */ reservedRange?: (google.protobuf.EnumDescriptorProto.IEnumReservedRange[]|null); /** EnumDescriptorProto reservedName */ reservedName?: (string[]|null); } /** Represents an EnumDescriptorProto. */ class EnumDescriptorProto implements IEnumDescriptorProto { /** * Constructs a new EnumDescriptorProto. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IEnumDescriptorProto); /** EnumDescriptorProto name. */ public name: string; /** EnumDescriptorProto value. */ public value: google.protobuf.IEnumValueDescriptorProto[]; /** EnumDescriptorProto options. */ public options?: (google.protobuf.IEnumOptions|null); /** EnumDescriptorProto reservedRange. */ public reservedRange: google.protobuf.EnumDescriptorProto.IEnumReservedRange[]; /** EnumDescriptorProto reservedName. */ public reservedName: string[]; /** * Creates a new EnumDescriptorProto instance using the specified properties. * @param [properties] Properties to set * @returns EnumDescriptorProto instance */ public static create(properties?: google.protobuf.IEnumDescriptorProto): google.protobuf.EnumDescriptorProto; /** * Encodes the specified EnumDescriptorProto message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages. * @param message EnumDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EnumDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages. * @param message EnumDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EnumDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EnumDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto; /** * Decodes an EnumDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EnumDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto; /** * Verifies an EnumDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EnumDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EnumDescriptorProto */ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto; /** * Creates a plain object from an EnumDescriptorProto message. Also converts values to other types if specified. * @param message EnumDescriptorProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.EnumDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EnumDescriptorProto to JSON. * @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 { /** Properties of an EnumReservedRange. */ interface IEnumReservedRange { /** EnumReservedRange start */ start?: (number|null); /** EnumReservedRange end */ end?: (number|null); } /** Represents an EnumReservedRange. */ class EnumReservedRange implements IEnumReservedRange { /** * Constructs a new EnumReservedRange. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange); /** EnumReservedRange start. */ public start: number; /** EnumReservedRange end. */ public end: number; /** * Creates a new EnumReservedRange instance using the specified properties. * @param [properties] Properties to set * @returns EnumReservedRange instance */ public static create(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange): google.protobuf.EnumDescriptorProto.EnumReservedRange; /** * Encodes the specified EnumReservedRange message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages. * @param message EnumReservedRange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EnumReservedRange message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages. * @param message EnumReservedRange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EnumReservedRange message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EnumReservedRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto.EnumReservedRange; /** * Decodes an EnumReservedRange message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EnumReservedRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto.EnumReservedRange; /** * Verifies an EnumReservedRange message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EnumReservedRange message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EnumReservedRange */ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto.EnumReservedRange; /** * Creates a plain object from an EnumReservedRange message. Also converts values to other types if specified. * @param message EnumReservedRange * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.EnumDescriptorProto.EnumReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EnumReservedRange to JSON. * @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; } } /** Properties of an EnumValueDescriptorProto. */ interface IEnumValueDescriptorProto { /** EnumValueDescriptorProto name */ name?: (string|null); /** EnumValueDescriptorProto number */ number?: (number|null); /** EnumValueDescriptorProto options */ options?: (google.protobuf.IEnumValueOptions|null); } /** Represents an EnumValueDescriptorProto. */ class EnumValueDescriptorProto implements IEnumValueDescriptorProto { /** * Constructs a new EnumValueDescriptorProto. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IEnumValueDescriptorProto); /** EnumValueDescriptorProto name. */ public name: string; /** EnumValueDescriptorProto number. */ public number: number; /** EnumValueDescriptorProto options. */ public options?: (google.protobuf.IEnumValueOptions|null); /** * Creates a new EnumValueDescriptorProto instance using the specified properties. * @param [properties] Properties to set * @returns EnumValueDescriptorProto instance */ public static create(properties?: google.protobuf.IEnumValueDescriptorProto): google.protobuf.EnumValueDescriptorProto; /** * Encodes the specified EnumValueDescriptorProto message. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages. * @param message EnumValueDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EnumValueDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages. * @param message EnumValueDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EnumValueDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EnumValueDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueDescriptorProto; /** * Decodes an EnumValueDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EnumValueDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueDescriptorProto; /** * Verifies an EnumValueDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EnumValueDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EnumValueDescriptorProto */ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueDescriptorProto; /** * Creates a plain object from an EnumValueDescriptorProto message. Also converts values to other types if specified. * @param message EnumValueDescriptorProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.EnumValueDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EnumValueDescriptorProto to JSON. * @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. */ interface IServiceDescriptorProto { /** ServiceDescriptorProto name */ name?: (string|null); /** ServiceDescriptorProto method */ method?: (google.protobuf.IMethodDescriptorProto[]|null); /** ServiceDescriptorProto options */ options?: (google.protobuf.IServiceOptions|null); } /** Represents a ServiceDescriptorProto. */ class ServiceDescriptorProto implements IServiceDescriptorProto { /** * Constructs a new ServiceDescriptorProto. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IServiceDescriptorProto); /** ServiceDescriptorProto name. */ public name: string; /** ServiceDescriptorProto method. */ public method: google.protobuf.IMethodDescriptorProto[]; /** ServiceDescriptorProto options. */ public options?: (google.protobuf.IServiceOptions|null); /** * Creates a new ServiceDescriptorProto instance using the specified properties. * @param [properties] Properties to set * @returns ServiceDescriptorProto instance */ public static create(properties?: google.protobuf.IServiceDescriptorProto): google.protobuf.ServiceDescriptorProto; /** * Encodes the specified ServiceDescriptorProto message. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages. * @param message ServiceDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ServiceDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages. * @param message ServiceDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ServiceDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ServiceDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceDescriptorProto; /** * Decodes a ServiceDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ServiceDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceDescriptorProto; /** * Verifies a ServiceDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ServiceDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ServiceDescriptorProto */ public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceDescriptorProto; /** * Creates a plain object from a ServiceDescriptorProto message. Also converts values to other types if specified. * @param message ServiceDescriptorProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.ServiceDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ServiceDescriptorProto to JSON. * @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. */ interface IMethodDescriptorProto { /** MethodDescriptorProto name */ name?: (string|null); /** MethodDescriptorProto inputType */ inputType?: (string|null); /** MethodDescriptorProto outputType */ outputType?: (string|null); /** MethodDescriptorProto options */ options?: (google.protobuf.IMethodOptions|null); /** MethodDescriptorProto clientStreaming */ clientStreaming?: (boolean|null); /** MethodDescriptorProto serverStreaming */ serverStreaming?: (boolean|null); } /** Represents a MethodDescriptorProto. */ class MethodDescriptorProto implements IMethodDescriptorProto { /** * Constructs a new MethodDescriptorProto. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IMethodDescriptorProto); /** MethodDescriptorProto name. */ public name: string; /** MethodDescriptorProto inputType. */ public inputType: string; /** MethodDescriptorProto outputType. */ public outputType: string; /** MethodDescriptorProto options. */ public options?: (google.protobuf.IMethodOptions|null); /** MethodDescriptorProto clientStreaming. */ public clientStreaming: boolean; /** MethodDescriptorProto serverStreaming. */ public serverStreaming: boolean; /** * Creates a new MethodDescriptorProto instance using the specified properties. * @param [properties] Properties to set * @returns MethodDescriptorProto instance */ public static create(properties?: google.protobuf.IMethodDescriptorProto): google.protobuf.MethodDescriptorProto; /** * Encodes the specified MethodDescriptorProto message. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages. * @param message MethodDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MethodDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages. * @param message MethodDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MethodDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MethodDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodDescriptorProto; /** * Decodes a MethodDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MethodDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodDescriptorProto; /** * Verifies a MethodDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MethodDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MethodDescriptorProto */ public static fromObject(object: { [k: string]: any }): google.protobuf.MethodDescriptorProto; /** * Creates a plain object from a MethodDescriptorProto message. Also converts values to other types if specified. * @param message MethodDescriptorProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.MethodDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MethodDescriptorProto to JSON. * @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. */ interface IFileOptions { /** FileOptions javaPackage */ javaPackage?: (string|null); /** FileOptions javaOuterClassname */ javaOuterClassname?: (string|null); /** FileOptions javaMultipleFiles */ javaMultipleFiles?: (boolean|null); /** FileOptions javaGenerateEqualsAndHash */ javaGenerateEqualsAndHash?: (boolean|null); /** FileOptions javaStringCheckUtf8 */ javaStringCheckUtf8?: (boolean|null); /** FileOptions optimizeFor */ optimizeFor?: (google.protobuf.FileOptions.OptimizeMode|keyof typeof google.protobuf.FileOptions.OptimizeMode|null); /** FileOptions goPackage */ goPackage?: (string|null); /** FileOptions ccGenericServices */ ccGenericServices?: (boolean|null); /** FileOptions javaGenericServices */ javaGenericServices?: (boolean|null); /** FileOptions pyGenericServices */ pyGenericServices?: (boolean|null); /** FileOptions deprecated */ deprecated?: (boolean|null); /** FileOptions ccEnableArenas */ ccEnableArenas?: (boolean|null); /** FileOptions objcClassPrefix */ objcClassPrefix?: (string|null); /** FileOptions csharpNamespace */ csharpNamespace?: (string|null); /** FileOptions swiftPrefix */ swiftPrefix?: (string|null); /** FileOptions phpClassPrefix */ phpClassPrefix?: (string|null); /** FileOptions phpNamespace */ phpNamespace?: (string|null); /** FileOptions phpMetadataNamespace */ phpMetadataNamespace?: (string|null); /** FileOptions rubyPackage */ rubyPackage?: (string|null); /** FileOptions features */ features?: (google.protobuf.IFeatureSet|null); /** FileOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); /** FileOptions .google.api.resourceDefinition */ ".google.api.resourceDefinition"?: (google.api.IResourceDescriptor[]|null); } /** Represents a FileOptions. */ class FileOptions implements IFileOptions { /** * Constructs a new FileOptions. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IFileOptions); /** FileOptions javaPackage. */ public javaPackage: string; /** FileOptions javaOuterClassname. */ public javaOuterClassname: string; /** FileOptions javaMultipleFiles. */ public javaMultipleFiles: boolean; /** FileOptions javaGenerateEqualsAndHash. */ public javaGenerateEqualsAndHash: boolean; /** FileOptions javaStringCheckUtf8. */ public javaStringCheckUtf8: boolean; /** FileOptions optimizeFor. */ public optimizeFor: (google.protobuf.FileOptions.OptimizeMode|keyof typeof google.protobuf.FileOptions.OptimizeMode); /** FileOptions goPackage. */ public goPackage: string; /** FileOptions ccGenericServices. */ public ccGenericServices: boolean; /** FileOptions javaGenericServices. */ public javaGenericServices: boolean; /** FileOptions pyGenericServices. */ public pyGenericServices: boolean; /** FileOptions deprecated. */ public deprecated: boolean; /** FileOptions ccEnableArenas. */ public ccEnableArenas: boolean; /** FileOptions objcClassPrefix. */ public objcClassPrefix: string; /** FileOptions csharpNamespace. */ public csharpNamespace: string; /** FileOptions swiftPrefix. */ public swiftPrefix: string; /** FileOptions phpClassPrefix. */ public phpClassPrefix: string; /** FileOptions phpNamespace. */ public phpNamespace: string; /** FileOptions phpMetadataNamespace. */ public phpMetadataNamespace: string; /** FileOptions rubyPackage. */ public rubyPackage: string; /** FileOptions features. */ public features?: (google.protobuf.IFeatureSet|null); /** FileOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; /** * Creates a new FileOptions instance using the specified properties. * @param [properties] Properties to set * @returns FileOptions instance */ public static create(properties?: google.protobuf.IFileOptions): google.protobuf.FileOptions; /** * Encodes the specified FileOptions message. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages. * @param message FileOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FileOptions message, length delimited. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages. * @param message FileOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FileOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FileOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileOptions; /** * Decodes a FileOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FileOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileOptions; /** * Verifies a FileOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FileOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FileOptions */ public static fromObject(object: { [k: string]: any }): google.protobuf.FileOptions; /** * Creates a plain object from a FileOptions message. Also converts values to other types if specified. * @param message FileOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FileOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FileOptions to JSON. * @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 { /** OptimizeMode enum. */ enum OptimizeMode { SPEED = 1, CODE_SIZE = 2, LITE_RUNTIME = 3 } } /** Properties of a MessageOptions. */ interface IMessageOptions { /** MessageOptions messageSetWireFormat */ messageSetWireFormat?: (boolean|null); /** MessageOptions noStandardDescriptorAccessor */ noStandardDescriptorAccessor?: (boolean|null); /** MessageOptions deprecated */ deprecated?: (boolean|null); /** MessageOptions mapEntry */ mapEntry?: (boolean|null); /** MessageOptions deprecatedLegacyJsonFieldConflicts */ deprecatedLegacyJsonFieldConflicts?: (boolean|null); /** MessageOptions features */ features?: (google.protobuf.IFeatureSet|null); /** MessageOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); /** MessageOptions .google.api.resource */ ".google.api.resource"?: (google.api.IResourceDescriptor|null); } /** Represents a MessageOptions. */ class MessageOptions implements IMessageOptions { /** * Constructs a new MessageOptions. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IMessageOptions); /** MessageOptions messageSetWireFormat. */ public messageSetWireFormat: boolean; /** MessageOptions noStandardDescriptorAccessor. */ public noStandardDescriptorAccessor: boolean; /** MessageOptions deprecated. */ public deprecated: boolean; /** MessageOptions mapEntry. */ public mapEntry: boolean; /** MessageOptions deprecatedLegacyJsonFieldConflicts. */ public deprecatedLegacyJsonFieldConflicts: boolean; /** MessageOptions features. */ public features?: (google.protobuf.IFeatureSet|null); /** MessageOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; /** * Creates a new MessageOptions instance using the specified properties. * @param [properties] Properties to set * @returns MessageOptions instance */ public static create(properties?: google.protobuf.IMessageOptions): google.protobuf.MessageOptions; /** * Encodes the specified MessageOptions message. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages. * @param message MessageOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MessageOptions message, length delimited. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages. * @param message MessageOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MessageOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MessageOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MessageOptions; /** * Decodes a MessageOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MessageOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MessageOptions; /** * Verifies a MessageOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MessageOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MessageOptions */ public static fromObject(object: { [k: string]: any }): google.protobuf.MessageOptions; /** * Creates a plain object from a MessageOptions message. Also converts values to other types if specified. * @param message MessageOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.MessageOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MessageOptions to JSON. * @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. */ interface IFieldOptions { /** FieldOptions ctype */ ctype?: (google.protobuf.FieldOptions.CType|keyof typeof google.protobuf.FieldOptions.CType|null); /** FieldOptions packed */ packed?: (boolean|null); /** FieldOptions jstype */ jstype?: (google.protobuf.FieldOptions.JSType|keyof typeof google.protobuf.FieldOptions.JSType|null); /** FieldOptions lazy */ lazy?: (boolean|null); /** FieldOptions unverifiedLazy */ unverifiedLazy?: (boolean|null); /** FieldOptions deprecated */ deprecated?: (boolean|null); /** FieldOptions weak */ weak?: (boolean|null); /** FieldOptions debugRedact */ debugRedact?: (boolean|null); /** FieldOptions retention */ retention?: (google.protobuf.FieldOptions.OptionRetention|keyof typeof google.protobuf.FieldOptions.OptionRetention|null); /** FieldOptions targets */ targets?: (google.protobuf.FieldOptions.OptionTargetType[]|null); /** FieldOptions editionDefaults */ editionDefaults?: (google.protobuf.FieldOptions.IEditionDefault[]|null); /** FieldOptions features */ features?: (google.protobuf.IFeatureSet|null); /** FieldOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); /** FieldOptions .google.api.fieldBehavior */ ".google.api.fieldBehavior"?: (google.api.FieldBehavior[]|null); /** FieldOptions .google.api.resourceReference */ ".google.api.resourceReference"?: (google.api.IResourceReference|null); } /** Represents a FieldOptions. */ class FieldOptions implements IFieldOptions { /** * Constructs a new FieldOptions. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IFieldOptions); /** FieldOptions ctype. */ public ctype: (google.protobuf.FieldOptions.CType|keyof typeof google.protobuf.FieldOptions.CType); /** FieldOptions packed. */ public packed: boolean; /** FieldOptions jstype. */ public jstype: (google.protobuf.FieldOptions.JSType|keyof typeof google.protobuf.FieldOptions.JSType); /** FieldOptions lazy. */ public lazy: boolean; /** FieldOptions unverifiedLazy. */ public unverifiedLazy: boolean; /** FieldOptions deprecated. */ public deprecated: boolean; /** FieldOptions weak. */ public weak: boolean; /** FieldOptions debugRedact. */ public debugRedact: boolean; /** FieldOptions retention. */ public retention: (google.protobuf.FieldOptions.OptionRetention|keyof typeof google.protobuf.FieldOptions.OptionRetention); /** FieldOptions targets. */ public targets: google.protobuf.FieldOptions.OptionTargetType[]; /** FieldOptions editionDefaults. */ public editionDefaults: google.protobuf.FieldOptions.IEditionDefault[]; /** FieldOptions features. */ public features?: (google.protobuf.IFeatureSet|null); /** FieldOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; /** * Creates a new FieldOptions instance using the specified properties. * @param [properties] Properties to set * @returns FieldOptions instance */ public static create(properties?: google.protobuf.IFieldOptions): google.protobuf.FieldOptions; /** * Encodes the specified FieldOptions message. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages. * @param message FieldOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FieldOptions message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages. * @param message FieldOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FieldOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FieldOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions; /** * Decodes a FieldOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FieldOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions; /** * Verifies a FieldOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FieldOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FieldOptions */ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions; /** * Creates a plain object from a FieldOptions message. Also converts values to other types if specified. * @param message FieldOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FieldOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FieldOptions to JSON. * @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 { /** CType enum. */ enum CType { STRING = 0, CORD = 1, STRING_PIECE = 2 } /** JSType enum. */ enum JSType { JS_NORMAL = 0, JS_STRING = 1, JS_NUMBER = 2 } /** OptionRetention enum. */ enum OptionRetention { RETENTION_UNKNOWN = 0, RETENTION_RUNTIME = 1, RETENTION_SOURCE = 2 } /** OptionTargetType enum. */ enum OptionTargetType { TARGET_TYPE_UNKNOWN = 0, TARGET_TYPE_FILE = 1, TARGET_TYPE_EXTENSION_RANGE = 2, TARGET_TYPE_MESSAGE = 3, TARGET_TYPE_FIELD = 4, TARGET_TYPE_ONEOF = 5, TARGET_TYPE_ENUM = 6, TARGET_TYPE_ENUM_ENTRY = 7, TARGET_TYPE_SERVICE = 8, TARGET_TYPE_METHOD = 9 } /** Properties of an EditionDefault. */ interface IEditionDefault { /** EditionDefault edition */ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); /** EditionDefault value */ value?: (string|null); } /** Represents an EditionDefault. */ class EditionDefault implements IEditionDefault { /** * Constructs a new EditionDefault. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.FieldOptions.IEditionDefault); /** EditionDefault edition. */ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); /** EditionDefault value. */ public value: string; /** * Creates a new EditionDefault instance using the specified properties. * @param [properties] Properties to set * @returns EditionDefault instance */ public static create(properties?: google.protobuf.FieldOptions.IEditionDefault): google.protobuf.FieldOptions.EditionDefault; /** * Encodes the specified EditionDefault message. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages. * @param message EditionDefault message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.FieldOptions.IEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages. * @param message EditionDefault message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.FieldOptions.IEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EditionDefault message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EditionDefault * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.EditionDefault; /** * Decodes an EditionDefault message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EditionDefault * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.EditionDefault; /** * Verifies an EditionDefault message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EditionDefault message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EditionDefault */ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.EditionDefault; /** * Creates a plain object from an EditionDefault message. Also converts values to other types if specified. * @param message EditionDefault * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FieldOptions.EditionDefault, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EditionDefault to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EditionDefault * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of an OneofOptions. */ interface IOneofOptions { /** OneofOptions features */ features?: (google.protobuf.IFeatureSet|null); /** OneofOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); } /** Represents an OneofOptions. */ class OneofOptions implements IOneofOptions { /** * Constructs a new OneofOptions. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IOneofOptions); /** OneofOptions features. */ public features?: (google.protobuf.IFeatureSet|null); /** OneofOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; /** * Creates a new OneofOptions instance using the specified properties. * @param [properties] Properties to set * @returns OneofOptions instance */ public static create(properties?: google.protobuf.IOneofOptions): google.protobuf.OneofOptions; /** * Encodes the specified OneofOptions message. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages. * @param message OneofOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified OneofOptions message, length delimited. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages. * @param message OneofOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an OneofOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns OneofOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofOptions; /** * Decodes an OneofOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns OneofOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofOptions; /** * Verifies an OneofOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an OneofOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns OneofOptions */ public static fromObject(object: { [k: string]: any }): google.protobuf.OneofOptions; /** * Creates a plain object from an OneofOptions message. Also converts values to other types if specified. * @param message OneofOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.OneofOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this OneofOptions to JSON. * @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. */ interface IEnumOptions { /** EnumOptions allowAlias */ allowAlias?: (boolean|null); /** EnumOptions deprecated */ deprecated?: (boolean|null); /** EnumOptions deprecatedLegacyJsonFieldConflicts */ deprecatedLegacyJsonFieldConflicts?: (boolean|null); /** EnumOptions features */ features?: (google.protobuf.IFeatureSet|null); /** EnumOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); } /** Represents an EnumOptions. */ class EnumOptions implements IEnumOptions { /** * Constructs a new EnumOptions. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IEnumOptions); /** EnumOptions allowAlias. */ public allowAlias: boolean; /** EnumOptions deprecated. */ public deprecated: boolean; /** EnumOptions deprecatedLegacyJsonFieldConflicts. */ public deprecatedLegacyJsonFieldConflicts: boolean; /** EnumOptions features. */ public features?: (google.protobuf.IFeatureSet|null); /** EnumOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; /** * Creates a new EnumOptions instance using the specified properties. * @param [properties] Properties to set * @returns EnumOptions instance */ public static create(properties?: google.protobuf.IEnumOptions): google.protobuf.EnumOptions; /** * Encodes the specified EnumOptions message. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages. * @param message EnumOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EnumOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages. * @param message EnumOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EnumOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EnumOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumOptions; /** * Decodes an EnumOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EnumOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumOptions; /** * Verifies an EnumOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EnumOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EnumOptions */ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumOptions; /** * Creates a plain object from an EnumOptions message. Also converts values to other types if specified. * @param message EnumOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.EnumOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EnumOptions to JSON. * @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. */ interface IEnumValueOptions { /** EnumValueOptions deprecated */ deprecated?: (boolean|null); /** EnumValueOptions features */ features?: (google.protobuf.IFeatureSet|null); /** EnumValueOptions debugRedact */ debugRedact?: (boolean|null); /** EnumValueOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); } /** Represents an EnumValueOptions. */ class EnumValueOptions implements IEnumValueOptions { /** * Constructs a new EnumValueOptions. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IEnumValueOptions); /** EnumValueOptions deprecated. */ public deprecated: boolean; /** EnumValueOptions features. */ public features?: (google.protobuf.IFeatureSet|null); /** EnumValueOptions debugRedact. */ public debugRedact: boolean; /** EnumValueOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; /** * Creates a new EnumValueOptions instance using the specified properties. * @param [properties] Properties to set * @returns EnumValueOptions instance */ public static create(properties?: google.protobuf.IEnumValueOptions): google.protobuf.EnumValueOptions; /** * Encodes the specified EnumValueOptions message. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages. * @param message EnumValueOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EnumValueOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages. * @param message EnumValueOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EnumValueOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EnumValueOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueOptions; /** * Decodes an EnumValueOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EnumValueOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueOptions; /** * Verifies an EnumValueOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EnumValueOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EnumValueOptions */ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueOptions; /** * Creates a plain object from an EnumValueOptions message. Also converts values to other types if specified. * @param message EnumValueOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.EnumValueOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EnumValueOptions to JSON. * @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. */ interface IServiceOptions { /** ServiceOptions features */ features?: (google.protobuf.IFeatureSet|null); /** ServiceOptions deprecated */ deprecated?: (boolean|null); /** ServiceOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); /** ServiceOptions .google.api.defaultHost */ ".google.api.defaultHost"?: (string|null); /** ServiceOptions .google.api.oauthScopes */ ".google.api.oauthScopes"?: (string|null); /** ServiceOptions .google.api.apiVersion */ ".google.api.apiVersion"?: (string|null); } /** Represents a ServiceOptions. */ class ServiceOptions implements IServiceOptions { /** * Constructs a new ServiceOptions. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IServiceOptions); /** ServiceOptions features. */ public features?: (google.protobuf.IFeatureSet|null); /** ServiceOptions deprecated. */ public deprecated: boolean; /** ServiceOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; /** * Creates a new ServiceOptions instance using the specified properties. * @param [properties] Properties to set * @returns ServiceOptions instance */ public static create(properties?: google.protobuf.IServiceOptions): google.protobuf.ServiceOptions; /** * Encodes the specified ServiceOptions message. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages. * @param message ServiceOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ServiceOptions message, length delimited. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages. * @param message ServiceOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ServiceOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ServiceOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceOptions; /** * Decodes a ServiceOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ServiceOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceOptions; /** * Verifies a ServiceOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ServiceOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ServiceOptions */ public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceOptions; /** * Creates a plain object from a ServiceOptions message. Also converts values to other types if specified. * @param message ServiceOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.ServiceOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ServiceOptions to JSON. * @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. */ interface IMethodOptions { /** MethodOptions deprecated */ deprecated?: (boolean|null); /** MethodOptions idempotencyLevel */ idempotencyLevel?: (google.protobuf.MethodOptions.IdempotencyLevel|keyof typeof google.protobuf.MethodOptions.IdempotencyLevel|null); /** MethodOptions features */ features?: (google.protobuf.IFeatureSet|null); /** MethodOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); /** MethodOptions .google.api.http */ ".google.api.http"?: (google.api.IHttpRule|null); /** MethodOptions .google.api.methodSignature */ ".google.api.methodSignature"?: (string[]|null); /** MethodOptions .google.longrunning.operationInfo */ ".google.longrunning.operationInfo"?: (google.longrunning.IOperationInfo|null); } /** Represents a MethodOptions. */ class MethodOptions implements IMethodOptions { /** * Constructs a new MethodOptions. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IMethodOptions); /** MethodOptions deprecated. */ public deprecated: boolean; /** MethodOptions idempotencyLevel. */ public idempotencyLevel: (google.protobuf.MethodOptions.IdempotencyLevel|keyof typeof google.protobuf.MethodOptions.IdempotencyLevel); /** MethodOptions features. */ public features?: (google.protobuf.IFeatureSet|null); /** MethodOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; /** * Creates a new MethodOptions instance using the specified properties. * @param [properties] Properties to set * @returns MethodOptions instance */ public static create(properties?: google.protobuf.IMethodOptions): google.protobuf.MethodOptions; /** * Encodes the specified MethodOptions message. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages. * @param message MethodOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MethodOptions message, length delimited. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages. * @param message MethodOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MethodOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MethodOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodOptions; /** * Decodes a MethodOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MethodOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodOptions; /** * Verifies a MethodOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MethodOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MethodOptions */ public static fromObject(object: { [k: string]: any }): google.protobuf.MethodOptions; /** * Creates a plain object from a MethodOptions message. Also converts values to other types if specified. * @param message MethodOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.MethodOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MethodOptions to JSON. * @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 { /** IdempotencyLevel enum. */ enum IdempotencyLevel { IDEMPOTENCY_UNKNOWN = 0, NO_SIDE_EFFECTS = 1, IDEMPOTENT = 2 } } /** Properties of an UninterpretedOption. */ interface IUninterpretedOption { /** UninterpretedOption name */ name?: (google.protobuf.UninterpretedOption.INamePart[]|null); /** UninterpretedOption identifierValue */ identifierValue?: (string|null); /** UninterpretedOption positiveIntValue */ positiveIntValue?: (number|Long|string|null); /** UninterpretedOption negativeIntValue */ negativeIntValue?: (number|Long|string|null); /** UninterpretedOption doubleValue */ doubleValue?: (number|null); /** UninterpretedOption stringValue */ stringValue?: (Uint8Array|Buffer|string|null); /** UninterpretedOption aggregateValue */ aggregateValue?: (string|null); } /** Represents an UninterpretedOption. */ class UninterpretedOption implements IUninterpretedOption { /** * Constructs a new UninterpretedOption. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IUninterpretedOption); /** UninterpretedOption name. */ public name: google.protobuf.UninterpretedOption.INamePart[]; /** UninterpretedOption identifierValue. */ public identifierValue: string; /** UninterpretedOption positiveIntValue. */ public positiveIntValue: (number|Long|string); /** UninterpretedOption negativeIntValue. */ public negativeIntValue: (number|Long|string); /** UninterpretedOption doubleValue. */ public doubleValue: number; /** UninterpretedOption stringValue. */ public stringValue: (Uint8Array|Buffer|string); /** UninterpretedOption aggregateValue. */ public aggregateValue: string; /** * Creates a new UninterpretedOption instance using the specified properties. * @param [properties] Properties to set * @returns UninterpretedOption instance */ public static create(properties?: google.protobuf.IUninterpretedOption): google.protobuf.UninterpretedOption; /** * Encodes the specified UninterpretedOption message. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages. * @param message UninterpretedOption message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UninterpretedOption message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages. * @param message UninterpretedOption message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UninterpretedOption message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UninterpretedOption * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption; /** * Decodes an UninterpretedOption message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UninterpretedOption * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption; /** * Verifies an UninterpretedOption message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an UninterpretedOption message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UninterpretedOption */ public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption; /** * Creates a plain object from an UninterpretedOption message. Also converts values to other types if specified. * @param message UninterpretedOption * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.UninterpretedOption, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UninterpretedOption to JSON. * @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 { /** Properties of a NamePart. */ interface INamePart { /** NamePart namePart */ namePart: string; /** NamePart isExtension */ isExtension: boolean; } /** Represents a NamePart. */ class NamePart implements INamePart { /** * Constructs a new NamePart. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.UninterpretedOption.INamePart); /** NamePart namePart. */ public namePart: string; /** NamePart isExtension. */ public isExtension: boolean; /** * Creates a new NamePart instance using the specified properties. * @param [properties] Properties to set * @returns NamePart instance */ public static create(properties?: google.protobuf.UninterpretedOption.INamePart): google.protobuf.UninterpretedOption.NamePart; /** * Encodes the specified NamePart message. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages. * @param message NamePart message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified NamePart message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages. * @param message NamePart message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NamePart message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns NamePart * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption.NamePart; /** * Decodes a NamePart message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns NamePart * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption.NamePart; /** * Verifies a NamePart message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a NamePart message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NamePart */ public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption.NamePart; /** * Creates a plain object from a NamePart message. Also converts values to other types if specified. * @param message NamePart * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.UninterpretedOption.NamePart, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NamePart to JSON. * @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; } } /** Properties of a FeatureSet. */ interface IFeatureSet { /** FeatureSet fieldPresence */ fieldPresence?: (google.protobuf.FeatureSet.FieldPresence|keyof typeof google.protobuf.FeatureSet.FieldPresence|null); /** FeatureSet enumType */ enumType?: (google.protobuf.FeatureSet.EnumType|keyof typeof google.protobuf.FeatureSet.EnumType|null); /** FeatureSet repeatedFieldEncoding */ repeatedFieldEncoding?: (google.protobuf.FeatureSet.RepeatedFieldEncoding|keyof typeof google.protobuf.FeatureSet.RepeatedFieldEncoding|null); /** FeatureSet utf8Validation */ utf8Validation?: (google.protobuf.FeatureSet.Utf8Validation|keyof typeof google.protobuf.FeatureSet.Utf8Validation|null); /** FeatureSet messageEncoding */ messageEncoding?: (google.protobuf.FeatureSet.MessageEncoding|keyof typeof google.protobuf.FeatureSet.MessageEncoding|null); /** FeatureSet jsonFormat */ jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null); } /** Represents a FeatureSet. */ class FeatureSet implements IFeatureSet { /** * Constructs a new FeatureSet. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IFeatureSet); /** FeatureSet fieldPresence. */ public fieldPresence: (google.protobuf.FeatureSet.FieldPresence|keyof typeof google.protobuf.FeatureSet.FieldPresence); /** FeatureSet enumType. */ public enumType: (google.protobuf.FeatureSet.EnumType|keyof typeof google.protobuf.FeatureSet.EnumType); /** FeatureSet repeatedFieldEncoding. */ public repeatedFieldEncoding: (google.protobuf.FeatureSet.RepeatedFieldEncoding|keyof typeof google.protobuf.FeatureSet.RepeatedFieldEncoding); /** FeatureSet utf8Validation. */ public utf8Validation: (google.protobuf.FeatureSet.Utf8Validation|keyof typeof google.protobuf.FeatureSet.Utf8Validation); /** FeatureSet messageEncoding. */ public messageEncoding: (google.protobuf.FeatureSet.MessageEncoding|keyof typeof google.protobuf.FeatureSet.MessageEncoding); /** FeatureSet jsonFormat. */ public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat); /** * Creates a new FeatureSet instance using the specified properties. * @param [properties] Properties to set * @returns FeatureSet instance */ public static create(properties?: google.protobuf.IFeatureSet): google.protobuf.FeatureSet; /** * Encodes the specified FeatureSet message. Does not implicitly {@link google.protobuf.FeatureSet.verify|verify} messages. * @param message FeatureSet message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IFeatureSet, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FeatureSet message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.verify|verify} messages. * @param message FeatureSet message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IFeatureSet, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FeatureSet message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FeatureSet * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet; /** * Decodes a FeatureSet message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FeatureSet * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet; /** * Verifies a FeatureSet message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FeatureSet message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FeatureSet */ public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet; /** * Creates a plain object from a FeatureSet message. Also converts values to other types if specified. * @param message FeatureSet * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FeatureSet, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FeatureSet to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FeatureSet * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace FeatureSet { /** FieldPresence enum. */ enum FieldPresence { FIELD_PRESENCE_UNKNOWN = 0, EXPLICIT = 1, IMPLICIT = 2, LEGACY_REQUIRED = 3 } /** EnumType enum. */ enum EnumType { ENUM_TYPE_UNKNOWN = 0, OPEN = 1, CLOSED = 2 } /** RepeatedFieldEncoding enum. */ enum RepeatedFieldEncoding { REPEATED_FIELD_ENCODING_UNKNOWN = 0, PACKED = 1, EXPANDED = 2 } /** Utf8Validation enum. */ enum Utf8Validation { UTF8_VALIDATION_UNKNOWN = 0, VERIFY = 2, NONE = 3 } /** MessageEncoding enum. */ enum MessageEncoding { MESSAGE_ENCODING_UNKNOWN = 0, LENGTH_PREFIXED = 1, DELIMITED = 2 } /** JsonFormat enum. */ enum JsonFormat { JSON_FORMAT_UNKNOWN = 0, ALLOW = 1, LEGACY_BEST_EFFORT = 2 } } /** Properties of a FeatureSetDefaults. */ interface IFeatureSetDefaults { /** FeatureSetDefaults defaults */ defaults?: (google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault[]|null); /** FeatureSetDefaults minimumEdition */ minimumEdition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); /** FeatureSetDefaults maximumEdition */ maximumEdition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); } /** Represents a FeatureSetDefaults. */ class FeatureSetDefaults implements IFeatureSetDefaults { /** * Constructs a new FeatureSetDefaults. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IFeatureSetDefaults); /** FeatureSetDefaults defaults. */ public defaults: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault[]; /** FeatureSetDefaults minimumEdition. */ public minimumEdition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); /** FeatureSetDefaults maximumEdition. */ public maximumEdition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); /** * Creates a new FeatureSetDefaults instance using the specified properties. * @param [properties] Properties to set * @returns FeatureSetDefaults instance */ public static create(properties?: google.protobuf.IFeatureSetDefaults): google.protobuf.FeatureSetDefaults; /** * Encodes the specified FeatureSetDefaults message. Does not implicitly {@link google.protobuf.FeatureSetDefaults.verify|verify} messages. * @param message FeatureSetDefaults message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IFeatureSetDefaults, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FeatureSetDefaults message, length delimited. Does not implicitly {@link google.protobuf.FeatureSetDefaults.verify|verify} messages. * @param message FeatureSetDefaults message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IFeatureSetDefaults, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FeatureSetDefaults message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FeatureSetDefaults * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSetDefaults; /** * Decodes a FeatureSetDefaults message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FeatureSetDefaults * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSetDefaults; /** * Verifies a FeatureSetDefaults message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FeatureSetDefaults message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FeatureSetDefaults */ public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSetDefaults; /** * Creates a plain object from a FeatureSetDefaults message. Also converts values to other types if specified. * @param message FeatureSetDefaults * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FeatureSetDefaults, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FeatureSetDefaults to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FeatureSetDefaults * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace FeatureSetDefaults { /** Properties of a FeatureSetEditionDefault. */ interface IFeatureSetEditionDefault { /** FeatureSetEditionDefault edition */ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); /** FeatureSetEditionDefault features */ features?: (google.protobuf.IFeatureSet|null); } /** Represents a FeatureSetEditionDefault. */ class FeatureSetEditionDefault implements IFeatureSetEditionDefault { /** * Constructs a new FeatureSetEditionDefault. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault); /** FeatureSetEditionDefault edition. */ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); /** FeatureSetEditionDefault features. */ public features?: (google.protobuf.IFeatureSet|null); /** * Creates a new FeatureSetEditionDefault instance using the specified properties. * @param [properties] Properties to set * @returns FeatureSetEditionDefault instance */ public static create(properties?: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault; /** * Encodes the specified FeatureSetEditionDefault message. Does not implicitly {@link google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify|verify} messages. * @param message FeatureSetEditionDefault message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FeatureSetEditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify|verify} messages. * @param message FeatureSetEditionDefault message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FeatureSetEditionDefault message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FeatureSetEditionDefault * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault; /** * Decodes a FeatureSetEditionDefault message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FeatureSetEditionDefault * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault; /** * Verifies a FeatureSetEditionDefault message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FeatureSetEditionDefault message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FeatureSetEditionDefault */ public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault; /** * Creates a plain object from a FeatureSetEditionDefault message. Also converts values to other types if specified. * @param message FeatureSetEditionDefault * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FeatureSetEditionDefault to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FeatureSetEditionDefault * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a SourceCodeInfo. */ interface ISourceCodeInfo { /** SourceCodeInfo location */ location?: (google.protobuf.SourceCodeInfo.ILocation[]|null); } /** Represents a SourceCodeInfo. */ class SourceCodeInfo implements ISourceCodeInfo { /** * Constructs a new SourceCodeInfo. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.ISourceCodeInfo); /** SourceCodeInfo location. */ public location: google.protobuf.SourceCodeInfo.ILocation[]; /** * Creates a new SourceCodeInfo instance using the specified properties. * @param [properties] Properties to set * @returns SourceCodeInfo instance */ public static create(properties?: google.protobuf.ISourceCodeInfo): google.protobuf.SourceCodeInfo; /** * Encodes the specified SourceCodeInfo message. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages. * @param message SourceCodeInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SourceCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages. * @param message SourceCodeInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SourceCodeInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SourceCodeInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo; /** * Decodes a SourceCodeInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SourceCodeInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo; /** * Verifies a SourceCodeInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SourceCodeInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SourceCodeInfo */ public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo; /** * Creates a plain object from a SourceCodeInfo message. Also converts values to other types if specified. * @param message SourceCodeInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.SourceCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SourceCodeInfo to JSON. * @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 { /** Properties of a Location. */ interface ILocation { /** Location path */ path?: (number[]|null); /** Location span */ span?: (number[]|null); /** Location leadingComments */ leadingComments?: (string|null); /** Location trailingComments */ trailingComments?: (string|null); /** Location leadingDetachedComments */ leadingDetachedComments?: (string[]|null); } /** Represents a Location. */ class Location implements ILocation { /** * Constructs a new Location. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.SourceCodeInfo.ILocation); /** Location path. */ public path: number[]; /** Location span. */ public span: number[]; /** Location leadingComments. */ public leadingComments: string; /** Location trailingComments. */ public trailingComments: string; /** Location leadingDetachedComments. */ public leadingDetachedComments: string[]; /** * Creates a new Location instance using the specified properties. * @param [properties] Properties to set * @returns Location instance */ public static create(properties?: google.protobuf.SourceCodeInfo.ILocation): google.protobuf.SourceCodeInfo.Location; /** * Encodes the specified Location message. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages. * @param message Location message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Location message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages. * @param message Location message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Location message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Location * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo.Location; /** * Decodes a Location message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Location * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo.Location; /** * Verifies a Location message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Location message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Location */ public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo.Location; /** * Creates a plain object from a Location message. Also converts values to other types if specified. * @param message Location * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.SourceCodeInfo.Location, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Location to JSON. * @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; } } /** Properties of a GeneratedCodeInfo. */ interface IGeneratedCodeInfo { /** GeneratedCodeInfo annotation */ annotation?: (google.protobuf.GeneratedCodeInfo.IAnnotation[]|null); } /** Represents a GeneratedCodeInfo. */ class GeneratedCodeInfo implements IGeneratedCodeInfo { /** * Constructs a new GeneratedCodeInfo. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IGeneratedCodeInfo); /** GeneratedCodeInfo annotation. */ public annotation: google.protobuf.GeneratedCodeInfo.IAnnotation[]; /** * Creates a new GeneratedCodeInfo instance using the specified properties. * @param [properties] Properties to set * @returns GeneratedCodeInfo instance */ public static create(properties?: google.protobuf.IGeneratedCodeInfo): google.protobuf.GeneratedCodeInfo; /** * Encodes the specified GeneratedCodeInfo message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages. * @param message GeneratedCodeInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GeneratedCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages. * @param message GeneratedCodeInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GeneratedCodeInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GeneratedCodeInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo; /** * Decodes a GeneratedCodeInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GeneratedCodeInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo; /** * Verifies a GeneratedCodeInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GeneratedCodeInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GeneratedCodeInfo */ public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo; /** * Creates a plain object from a GeneratedCodeInfo message. Also converts values to other types if specified. * @param message GeneratedCodeInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.GeneratedCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GeneratedCodeInfo to JSON. * @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 { /** Properties of an Annotation. */ interface IAnnotation { /** Annotation path */ path?: (number[]|null); /** Annotation sourceFile */ sourceFile?: (string|null); /** Annotation begin */ begin?: (number|null); /** Annotation end */ end?: (number|null); /** Annotation semantic */ semantic?: (google.protobuf.GeneratedCodeInfo.Annotation.Semantic|keyof typeof google.protobuf.GeneratedCodeInfo.Annotation.Semantic|null); } /** Represents an Annotation. */ class Annotation implements IAnnotation { /** * Constructs a new Annotation. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation); /** Annotation path. */ public path: number[]; /** Annotation sourceFile. */ public sourceFile: string; /** Annotation begin. */ public begin: number; /** 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 * @returns Annotation instance */ public static create(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation): google.protobuf.GeneratedCodeInfo.Annotation; /** * Encodes the specified Annotation message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages. * @param message Annotation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Annotation message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages. * @param message Annotation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Annotation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Annotation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo.Annotation; /** * Decodes an Annotation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Annotation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo.Annotation; /** * Verifies an Annotation message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Annotation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Annotation */ public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo.Annotation; /** * Creates a plain object from an Annotation message. Also converts values to other types if specified. * @param message Annotation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.GeneratedCodeInfo.Annotation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Annotation to JSON. * @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 } } } /** Properties of a Timestamp. */ interface ITimestamp { /** Timestamp seconds */ seconds?: (number|Long|string|null); /** Timestamp nanos */ nanos?: (number|null); } /** Represents a Timestamp. */ class Timestamp implements ITimestamp { /** * Constructs a new Timestamp. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.ITimestamp); /** Timestamp seconds. */ public seconds: (number|Long|string); /** Timestamp nanos. */ public nanos: number; /** * Creates a new Timestamp instance using the specified properties. * @param [properties] Properties to set * @returns Timestamp instance */ public static create(properties?: google.protobuf.ITimestamp): google.protobuf.Timestamp; /** * Encodes the specified Timestamp message. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages. * @param message Timestamp message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Timestamp message, length delimited. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages. * @param message Timestamp message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Timestamp message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Timestamp * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Timestamp; /** * Decodes a Timestamp message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Timestamp * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Timestamp; /** * Verifies a Timestamp message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Timestamp message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Timestamp */ public static fromObject(object: { [k: string]: any }): google.protobuf.Timestamp; /** * Creates a plain object from a Timestamp message. Also converts values to other types if specified. * @param message Timestamp * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.Timestamp, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Timestamp to JSON. * @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. */ interface IDoubleValue { /** DoubleValue value */ value?: (number|null); } /** Represents a DoubleValue. */ class DoubleValue implements IDoubleValue { /** * Constructs a new DoubleValue. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IDoubleValue); /** DoubleValue value. */ public value: number; /** * Creates a new DoubleValue instance using the specified properties. * @param [properties] Properties to set * @returns DoubleValue instance */ public static create(properties?: google.protobuf.IDoubleValue): google.protobuf.DoubleValue; /** * Encodes the specified DoubleValue message. Does not implicitly {@link google.protobuf.DoubleValue.verify|verify} messages. * @param message DoubleValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IDoubleValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DoubleValue message, length delimited. Does not implicitly {@link google.protobuf.DoubleValue.verify|verify} messages. * @param message DoubleValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IDoubleValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DoubleValue message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DoubleValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DoubleValue; /** * Decodes a DoubleValue message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DoubleValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DoubleValue; /** * Verifies a DoubleValue message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DoubleValue message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DoubleValue */ public static fromObject(object: { [k: string]: any }): google.protobuf.DoubleValue; /** * Creates a plain object from a DoubleValue message. Also converts values to other types if specified. * @param message DoubleValue * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.DoubleValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DoubleValue to JSON. * @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. */ interface IFloatValue { /** FloatValue value */ value?: (number|null); } /** Represents a FloatValue. */ class FloatValue implements IFloatValue { /** * Constructs a new FloatValue. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IFloatValue); /** FloatValue value. */ public value: number; /** * Creates a new FloatValue instance using the specified properties. * @param [properties] Properties to set * @returns FloatValue instance */ public static create(properties?: google.protobuf.IFloatValue): google.protobuf.FloatValue; /** * Encodes the specified FloatValue message. Does not implicitly {@link google.protobuf.FloatValue.verify|verify} messages. * @param message FloatValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IFloatValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FloatValue message, length delimited. Does not implicitly {@link google.protobuf.FloatValue.verify|verify} messages. * @param message FloatValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IFloatValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FloatValue message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FloatValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FloatValue; /** * Decodes a FloatValue message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FloatValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FloatValue; /** * Verifies a FloatValue message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FloatValue message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FloatValue */ public static fromObject(object: { [k: string]: any }): google.protobuf.FloatValue; /** * Creates a plain object from a FloatValue message. Also converts values to other types if specified. * @param message FloatValue * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FloatValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FloatValue to JSON. * @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. */ interface IInt64Value { /** Int64Value value */ value?: (number|Long|string|null); } /** Represents an Int64Value. */ class Int64Value implements IInt64Value { /** * Constructs a new Int64Value. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IInt64Value); /** Int64Value value. */ public value: (number|Long|string); /** * Creates a new Int64Value instance using the specified properties. * @param [properties] Properties to set * @returns Int64Value instance */ public static create(properties?: google.protobuf.IInt64Value): google.protobuf.Int64Value; /** * Encodes the specified Int64Value message. Does not implicitly {@link google.protobuf.Int64Value.verify|verify} messages. * @param message Int64Value message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IInt64Value, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Int64Value message, length delimited. Does not implicitly {@link google.protobuf.Int64Value.verify|verify} messages. * @param message Int64Value message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IInt64Value, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Int64Value message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Int64Value * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Int64Value; /** * Decodes an Int64Value message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Int64Value * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Int64Value; /** * Verifies an Int64Value message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Int64Value message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Int64Value */ public static fromObject(object: { [k: string]: any }): google.protobuf.Int64Value; /** * Creates a plain object from an Int64Value message. Also converts values to other types if specified. * @param message Int64Value * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.Int64Value, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Int64Value to JSON. * @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. */ interface IUInt64Value { /** UInt64Value value */ value?: (number|Long|string|null); } /** Represents a UInt64Value. */ class UInt64Value implements IUInt64Value { /** * Constructs a new UInt64Value. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IUInt64Value); /** UInt64Value value. */ public value: (number|Long|string); /** * Creates a new UInt64Value instance using the specified properties. * @param [properties] Properties to set * @returns UInt64Value instance */ public static create(properties?: google.protobuf.IUInt64Value): google.protobuf.UInt64Value; /** * Encodes the specified UInt64Value message. Does not implicitly {@link google.protobuf.UInt64Value.verify|verify} messages. * @param message UInt64Value message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IUInt64Value, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UInt64Value message, length delimited. Does not implicitly {@link google.protobuf.UInt64Value.verify|verify} messages. * @param message UInt64Value message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IUInt64Value, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a UInt64Value message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UInt64Value * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UInt64Value; /** * Decodes a UInt64Value message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UInt64Value * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UInt64Value; /** * Verifies a UInt64Value message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a UInt64Value message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UInt64Value */ public static fromObject(object: { [k: string]: any }): google.protobuf.UInt64Value; /** * Creates a plain object from a UInt64Value message. Also converts values to other types if specified. * @param message UInt64Value * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.UInt64Value, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UInt64Value to JSON. * @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. */ interface IInt32Value { /** Int32Value value */ value?: (number|null); } /** Represents an Int32Value. */ class Int32Value implements IInt32Value { /** * Constructs a new Int32Value. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IInt32Value); /** Int32Value value. */ public value: number; /** * Creates a new Int32Value instance using the specified properties. * @param [properties] Properties to set * @returns Int32Value instance */ public static create(properties?: google.protobuf.IInt32Value): google.protobuf.Int32Value; /** * Encodes the specified Int32Value message. Does not implicitly {@link google.protobuf.Int32Value.verify|verify} messages. * @param message Int32Value message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IInt32Value, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Int32Value message, length delimited. Does not implicitly {@link google.protobuf.Int32Value.verify|verify} messages. * @param message Int32Value message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IInt32Value, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Int32Value message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Int32Value * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Int32Value; /** * Decodes an Int32Value message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Int32Value * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Int32Value; /** * Verifies an Int32Value message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Int32Value message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Int32Value */ public static fromObject(object: { [k: string]: any }): google.protobuf.Int32Value; /** * Creates a plain object from an Int32Value message. Also converts values to other types if specified. * @param message Int32Value * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.Int32Value, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Int32Value to JSON. * @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. */ interface IUInt32Value { /** UInt32Value value */ value?: (number|null); } /** Represents a UInt32Value. */ class UInt32Value implements IUInt32Value { /** * Constructs a new UInt32Value. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IUInt32Value); /** UInt32Value value. */ public value: number; /** * Creates a new UInt32Value instance using the specified properties. * @param [properties] Properties to set * @returns UInt32Value instance */ public static create(properties?: google.protobuf.IUInt32Value): google.protobuf.UInt32Value; /** * Encodes the specified UInt32Value message. Does not implicitly {@link google.protobuf.UInt32Value.verify|verify} messages. * @param message UInt32Value message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IUInt32Value, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UInt32Value message, length delimited. Does not implicitly {@link google.protobuf.UInt32Value.verify|verify} messages. * @param message UInt32Value message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IUInt32Value, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a UInt32Value message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UInt32Value * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UInt32Value; /** * Decodes a UInt32Value message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UInt32Value * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UInt32Value; /** * Verifies a UInt32Value message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a UInt32Value message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UInt32Value */ public static fromObject(object: { [k: string]: any }): google.protobuf.UInt32Value; /** * Creates a plain object from a UInt32Value message. Also converts values to other types if specified. * @param message UInt32Value * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.UInt32Value, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UInt32Value to JSON. * @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. */ interface IBoolValue { /** BoolValue value */ value?: (boolean|null); } /** Represents a BoolValue. */ class BoolValue implements IBoolValue { /** * Constructs a new BoolValue. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IBoolValue); /** BoolValue value. */ public value: boolean; /** * Creates a new BoolValue instance using the specified properties. * @param [properties] Properties to set * @returns BoolValue instance */ public static create(properties?: google.protobuf.IBoolValue): google.protobuf.BoolValue; /** * Encodes the specified BoolValue message. Does not implicitly {@link google.protobuf.BoolValue.verify|verify} messages. * @param message BoolValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IBoolValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BoolValue message, length delimited. Does not implicitly {@link google.protobuf.BoolValue.verify|verify} messages. * @param message BoolValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IBoolValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BoolValue message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BoolValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.BoolValue; /** * Decodes a BoolValue message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BoolValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.BoolValue; /** * Verifies a BoolValue message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BoolValue message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BoolValue */ public static fromObject(object: { [k: string]: any }): google.protobuf.BoolValue; /** * Creates a plain object from a BoolValue message. Also converts values to other types if specified. * @param message BoolValue * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.BoolValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BoolValue to JSON. * @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. */ interface IStringValue { /** StringValue value */ value?: (string|null); } /** Represents a StringValue. */ class StringValue implements IStringValue { /** * Constructs a new StringValue. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IStringValue); /** StringValue value. */ public value: string; /** * Creates a new StringValue instance using the specified properties. * @param [properties] Properties to set * @returns StringValue instance */ public static create(properties?: google.protobuf.IStringValue): google.protobuf.StringValue; /** * Encodes the specified StringValue message. Does not implicitly {@link google.protobuf.StringValue.verify|verify} messages. * @param message StringValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IStringValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StringValue message, length delimited. Does not implicitly {@link google.protobuf.StringValue.verify|verify} messages. * @param message StringValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IStringValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StringValue message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StringValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.StringValue; /** * Decodes a StringValue message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StringValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.StringValue; /** * Verifies a StringValue message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StringValue message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StringValue */ public static fromObject(object: { [k: string]: any }): google.protobuf.StringValue; /** * Creates a plain object from a StringValue message. Also converts values to other types if specified. * @param message StringValue * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.StringValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StringValue to JSON. * @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. */ interface IBytesValue { /** BytesValue value */ value?: (Uint8Array|Buffer|string|null); } /** Represents a BytesValue. */ class BytesValue implements IBytesValue { /** * Constructs a new BytesValue. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IBytesValue); /** BytesValue value. */ public value: (Uint8Array|Buffer|string); /** * Creates a new BytesValue instance using the specified properties. * @param [properties] Properties to set * @returns BytesValue instance */ public static create(properties?: google.protobuf.IBytesValue): google.protobuf.BytesValue; /** * Encodes the specified BytesValue message. Does not implicitly {@link google.protobuf.BytesValue.verify|verify} messages. * @param message BytesValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IBytesValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BytesValue message, length delimited. Does not implicitly {@link google.protobuf.BytesValue.verify|verify} messages. * @param message BytesValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IBytesValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BytesValue message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BytesValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.BytesValue; /** * Decodes a BytesValue message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BytesValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.BytesValue; /** * Verifies a BytesValue message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BytesValue message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BytesValue */ public static fromObject(object: { [k: string]: any }): google.protobuf.BytesValue; /** * Creates a plain object from a BytesValue message. Also converts values to other types if specified. * @param message BytesValue * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.BytesValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BytesValue to JSON. * @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 a Duration. */ interface IDuration { /** Duration seconds */ seconds?: (number|Long|string|null); /** Duration nanos */ nanos?: (number|null); } /** Represents a Duration. */ class Duration implements IDuration { /** * Constructs a new Duration. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IDuration); /** Duration seconds. */ public seconds: (number|Long|string); /** Duration nanos. */ public nanos: number; /** * Creates a new Duration instance using the specified properties. * @param [properties] Properties to set * @returns Duration instance */ public static create(properties?: google.protobuf.IDuration): google.protobuf.Duration; /** * Encodes the specified Duration message. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages. * @param message Duration message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Duration message, length delimited. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages. * @param message Duration message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Duration message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Duration * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Duration; /** * Decodes a Duration message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Duration * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Duration; /** * Verifies a Duration message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Duration message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Duration */ public static fromObject(object: { [k: string]: any }): google.protobuf.Duration; /** * Creates a plain object from a Duration message. Also converts values to other types if specified. * @param message Duration * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.Duration, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Duration to JSON. * @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 Empty. */ interface IEmpty { } /** Represents an Empty. */ class Empty implements IEmpty { /** * Constructs a new Empty. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IEmpty); /** * Creates a new Empty instance using the specified properties. * @param [properties] Properties to set * @returns Empty instance */ public static create(properties?: google.protobuf.IEmpty): google.protobuf.Empty; /** * Encodes the specified Empty message. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages. * @param message Empty message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Empty message, length delimited. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages. * @param message Empty message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Empty message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Empty * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Empty; /** * Decodes an Empty message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Empty * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Empty; /** * Verifies an Empty message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Empty message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Empty */ public static fromObject(object: { [k: string]: any }): google.protobuf.Empty; /** * Creates a plain object from an Empty message. Also converts values to other types if specified. * @param message Empty * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.Empty, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Empty to JSON. * @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. */ interface IFieldMask { /** FieldMask paths */ paths?: (string[]|null); } /** Represents a FieldMask. */ class FieldMask implements IFieldMask { /** * Constructs a new FieldMask. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IFieldMask); /** FieldMask paths. */ public paths: string[]; /** * Creates a new FieldMask instance using the specified properties. * @param [properties] Properties to set * @returns FieldMask instance */ public static create(properties?: google.protobuf.IFieldMask): google.protobuf.FieldMask; /** * Encodes the specified FieldMask message. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages. * @param message FieldMask message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IFieldMask, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FieldMask message, length delimited. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages. * @param message FieldMask message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IFieldMask, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FieldMask message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FieldMask * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldMask; /** * Decodes a FieldMask message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FieldMask * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldMask; /** * Verifies a FieldMask message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FieldMask message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FieldMask */ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldMask; /** * Creates a plain object from a FieldMask message. Also converts values to other types if specified. * @param message FieldMask * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FieldMask, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FieldMask to JSON. * @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 an Any. */ interface IAny { /** Any type_url */ type_url?: (string|null); /** Any value */ value?: (Uint8Array|Buffer|string|null); } /** Represents an Any. */ class Any implements IAny { /** * Constructs a new Any. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IAny); /** Any type_url. */ public type_url: string; /** Any value. */ public value: (Uint8Array|Buffer|string); /** * Creates a new Any instance using the specified properties. * @param [properties] Properties to set * @returns Any instance */ public static create(properties?: google.protobuf.IAny): google.protobuf.Any; /** * Encodes the specified Any message. Does not implicitly {@link google.protobuf.Any.verify|verify} messages. * @param message Any message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Any message, length delimited. Does not implicitly {@link google.protobuf.Any.verify|verify} messages. * @param message Any message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Any message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Any * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Any; /** * Decodes an Any message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Any * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Any; /** * Verifies an Any message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Any message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Any */ public static fromObject(object: { [k: string]: any }): google.protobuf.Any; /** * Creates a plain object from an Any message. Also converts values to other types if specified. * @param message Any * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.Any, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Any to JSON. * @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; } } /** Namespace type. */ namespace type { /** Properties of a LatLng. */ interface ILatLng { /** LatLng latitude */ latitude?: (number|null); /** LatLng longitude */ longitude?: (number|null); } /** Represents a LatLng. */ class LatLng implements ILatLng { /** * Constructs a new LatLng. * @param [properties] Properties to set */ constructor(properties?: google.type.ILatLng); /** LatLng latitude. */ public latitude: number; /** LatLng longitude. */ public longitude: number; /** * Creates a new LatLng instance using the specified properties. * @param [properties] Properties to set * @returns LatLng instance */ public static create(properties?: google.type.ILatLng): google.type.LatLng; /** * Encodes the specified LatLng message. Does not implicitly {@link google.type.LatLng.verify|verify} messages. * @param message LatLng message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.type.ILatLng, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LatLng message, length delimited. Does not implicitly {@link google.type.LatLng.verify|verify} messages. * @param message LatLng message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.type.ILatLng, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LatLng message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LatLng * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.type.LatLng; /** * Decodes a LatLng message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LatLng * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.type.LatLng; /** * Verifies a LatLng message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LatLng message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LatLng */ public static fromObject(object: { [k: string]: any }): google.type.LatLng; /** * Creates a plain object from a LatLng message. Also converts values to other types if specified. * @param message LatLng * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.type.LatLng, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LatLng to JSON. * @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. */ interface IMoney { /** Money currencyCode */ currencyCode?: (string|null); /** Money units */ units?: (number|Long|string|null); /** Money nanos */ nanos?: (number|null); } /** Represents a Money. */ class Money implements IMoney { /** * Constructs a new Money. * @param [properties] Properties to set */ constructor(properties?: google.type.IMoney); /** Money currencyCode. */ public currencyCode: string; /** Money units. */ public units: (number|Long|string); /** Money nanos. */ public nanos: number; /** * Creates a new Money instance using the specified properties. * @param [properties] Properties to set * @returns Money instance */ public static create(properties?: google.type.IMoney): google.type.Money; /** * Encodes the specified Money message. Does not implicitly {@link google.type.Money.verify|verify} messages. * @param message Money message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.type.IMoney, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Money message, length delimited. Does not implicitly {@link google.type.Money.verify|verify} messages. * @param message Money message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.type.IMoney, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Money message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Money * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.type.Money; /** * Decodes a Money message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Money * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.type.Money; /** * Verifies a Money message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Money message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Money */ public static fromObject(object: { [k: string]: any }): google.type.Money; /** * Creates a plain object from a Money message. Also converts values to other types if specified. * @param message Money * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.type.Money, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Money to JSON. * @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. */ interface IPostalAddress { /** PostalAddress revision */ revision?: (number|null); /** PostalAddress regionCode */ regionCode?: (string|null); /** PostalAddress languageCode */ languageCode?: (string|null); /** PostalAddress postalCode */ postalCode?: (string|null); /** PostalAddress sortingCode */ sortingCode?: (string|null); /** PostalAddress administrativeArea */ administrativeArea?: (string|null); /** PostalAddress locality */ locality?: (string|null); /** PostalAddress sublocality */ sublocality?: (string|null); /** PostalAddress addressLines */ addressLines?: (string[]|null); /** PostalAddress recipients */ recipients?: (string[]|null); /** PostalAddress organization */ organization?: (string|null); } /** Represents a PostalAddress. */ class PostalAddress implements IPostalAddress { /** * Constructs a new PostalAddress. * @param [properties] Properties to set */ constructor(properties?: google.type.IPostalAddress); /** PostalAddress revision. */ public revision: number; /** PostalAddress regionCode. */ public regionCode: string; /** PostalAddress languageCode. */ public languageCode: string; /** PostalAddress postalCode. */ public postalCode: string; /** PostalAddress sortingCode. */ public sortingCode: string; /** PostalAddress administrativeArea. */ public administrativeArea: string; /** PostalAddress locality. */ public locality: string; /** PostalAddress sublocality. */ public sublocality: string; /** PostalAddress addressLines. */ public addressLines: string[]; /** PostalAddress recipients. */ public recipients: string[]; /** PostalAddress organization. */ public organization: string; /** * Creates a new PostalAddress instance using the specified properties. * @param [properties] Properties to set * @returns PostalAddress instance */ public static create(properties?: google.type.IPostalAddress): google.type.PostalAddress; /** * Encodes the specified PostalAddress message. Does not implicitly {@link google.type.PostalAddress.verify|verify} messages. * @param message PostalAddress message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.type.IPostalAddress, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PostalAddress message, length delimited. Does not implicitly {@link google.type.PostalAddress.verify|verify} messages. * @param message PostalAddress message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.type.IPostalAddress, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PostalAddress message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PostalAddress * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.type.PostalAddress; /** * Decodes a PostalAddress message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PostalAddress * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.type.PostalAddress; /** * Verifies a PostalAddress message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PostalAddress message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PostalAddress */ public static fromObject(object: { [k: string]: any }): google.type.PostalAddress; /** * Creates a plain object from a PostalAddress message. Also converts values to other types if specified. * @param message PostalAddress * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.type.PostalAddress, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PostalAddress to JSON. * @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. */ interface ITimeOfDay { /** TimeOfDay hours */ hours?: (number|null); /** TimeOfDay minutes */ minutes?: (number|null); /** TimeOfDay seconds */ seconds?: (number|null); /** TimeOfDay nanos */ nanos?: (number|null); } /** Represents a TimeOfDay. */ class TimeOfDay implements ITimeOfDay { /** * Constructs a new TimeOfDay. * @param [properties] Properties to set */ constructor(properties?: google.type.ITimeOfDay); /** TimeOfDay hours. */ public hours: number; /** TimeOfDay minutes. */ public minutes: number; /** TimeOfDay seconds. */ public seconds: number; /** TimeOfDay nanos. */ public nanos: number; /** * Creates a new TimeOfDay instance using the specified properties. * @param [properties] Properties to set * @returns TimeOfDay instance */ public static create(properties?: google.type.ITimeOfDay): google.type.TimeOfDay; /** * Encodes the specified TimeOfDay message. Does not implicitly {@link google.type.TimeOfDay.verify|verify} messages. * @param message TimeOfDay message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.type.ITimeOfDay, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TimeOfDay message, length delimited. Does not implicitly {@link google.type.TimeOfDay.verify|verify} messages. * @param message TimeOfDay message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.type.ITimeOfDay, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TimeOfDay message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TimeOfDay * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.type.TimeOfDay; /** * Decodes a TimeOfDay message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TimeOfDay * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.type.TimeOfDay; /** * Verifies a TimeOfDay message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TimeOfDay message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TimeOfDay */ public static fromObject(object: { [k: string]: any }): google.type.TimeOfDay; /** * Creates a plain object from a TimeOfDay message. Also converts values to other types if specified. * @param message TimeOfDay * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.type.TimeOfDay, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TimeOfDay to JSON. * @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; } } /** Namespace longrunning. */ namespace longrunning { /** Represents an Operations */ class Operations extends $protobuf.rpc.Service { /** * Constructs a new Operations service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Creates new Operations service using the specified rpc implementation. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited * @returns RPC service. Useful where requests and/or responses are streamed. */ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Operations; /** * Calls ListOperations. * @param request ListOperationsRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListOperationsResponse */ public listOperations(request: google.longrunning.IListOperationsRequest, callback: google.longrunning.Operations.ListOperationsCallback): void; /** * Calls ListOperations. * @param request ListOperationsRequest message or plain object * @returns Promise */ public listOperations(request: google.longrunning.IListOperationsRequest): Promise; /** * Calls GetOperation. * @param request GetOperationRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public getOperation(request: google.longrunning.IGetOperationRequest, callback: google.longrunning.Operations.GetOperationCallback): void; /** * Calls GetOperation. * @param request GetOperationRequest message or plain object * @returns Promise */ public getOperation(request: google.longrunning.IGetOperationRequest): Promise; /** * Calls DeleteOperation. * @param request DeleteOperationRequest message or plain object * @param callback Node-style callback called with the error, if any, and Empty */ public deleteOperation(request: google.longrunning.IDeleteOperationRequest, callback: google.longrunning.Operations.DeleteOperationCallback): void; /** * Calls DeleteOperation. * @param request DeleteOperationRequest message or plain object * @returns Promise */ public deleteOperation(request: google.longrunning.IDeleteOperationRequest): Promise; /** * Calls CancelOperation. * @param request CancelOperationRequest message or plain object * @param callback Node-style callback called with the error, if any, and Empty */ public cancelOperation(request: google.longrunning.ICancelOperationRequest, callback: google.longrunning.Operations.CancelOperationCallback): void; /** * Calls CancelOperation. * @param request CancelOperationRequest message or plain object * @returns Promise */ public cancelOperation(request: google.longrunning.ICancelOperationRequest): Promise; /** * Calls WaitOperation. * @param request WaitOperationRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public waitOperation(request: google.longrunning.IWaitOperationRequest, callback: google.longrunning.Operations.WaitOperationCallback): void; /** * Calls WaitOperation. * @param request WaitOperationRequest message or plain object * @returns Promise */ public waitOperation(request: google.longrunning.IWaitOperationRequest): Promise; } namespace Operations { /** * 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}. * @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}. * @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}. * @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}. * @param error Error, if any * @param [response] Operation */ type WaitOperationCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; } /** Properties of an Operation. */ interface IOperation { /** Operation name */ name?: (string|null); /** Operation metadata */ metadata?: (google.protobuf.IAny|null); /** Operation done */ done?: (boolean|null); /** Operation error */ error?: (google.rpc.IStatus|null); /** Operation response */ response?: (google.protobuf.IAny|null); } /** Represents an Operation. */ class Operation implements IOperation { /** * Constructs a new Operation. * @param [properties] Properties to set */ constructor(properties?: google.longrunning.IOperation); /** Operation name. */ public name: string; /** Operation metadata. */ public metadata?: (google.protobuf.IAny|null); /** Operation done. */ public done: boolean; /** Operation error. */ public error?: (google.rpc.IStatus|null); /** Operation response. */ public response?: (google.protobuf.IAny|null); /** Operation result. */ public result?: ("error"|"response"); /** * Creates a new Operation instance using the specified properties. * @param [properties] Properties to set * @returns Operation instance */ public static create(properties?: google.longrunning.IOperation): google.longrunning.Operation; /** * Encodes the specified Operation message. Does not implicitly {@link google.longrunning.Operation.verify|verify} messages. * @param message Operation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.longrunning.IOperation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Operation message, length delimited. Does not implicitly {@link google.longrunning.Operation.verify|verify} messages. * @param message Operation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.longrunning.IOperation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Operation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Operation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.Operation; /** * Decodes an Operation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Operation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.Operation; /** * Verifies an Operation message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Operation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Operation */ public static fromObject(object: { [k: string]: any }): google.longrunning.Operation; /** * Creates a plain object from an Operation message. Also converts values to other types if specified. * @param message Operation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.longrunning.Operation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Operation to JSON. * @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. */ interface IGetOperationRequest { /** GetOperationRequest name */ name?: (string|null); } /** Represents a GetOperationRequest. */ class GetOperationRequest implements IGetOperationRequest { /** * Constructs a new GetOperationRequest. * @param [properties] Properties to set */ constructor(properties?: google.longrunning.IGetOperationRequest); /** GetOperationRequest name. */ public name: string; /** * Creates a new GetOperationRequest instance using the specified properties. * @param [properties] Properties to set * @returns GetOperationRequest instance */ public static create(properties?: google.longrunning.IGetOperationRequest): google.longrunning.GetOperationRequest; /** * Encodes the specified GetOperationRequest message. Does not implicitly {@link google.longrunning.GetOperationRequest.verify|verify} messages. * @param message GetOperationRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.longrunning.IGetOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.GetOperationRequest.verify|verify} messages. * @param message GetOperationRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.longrunning.IGetOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetOperationRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetOperationRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.GetOperationRequest; /** * Decodes a GetOperationRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetOperationRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.GetOperationRequest; /** * Verifies a GetOperationRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetOperationRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetOperationRequest */ public static fromObject(object: { [k: string]: any }): google.longrunning.GetOperationRequest; /** * Creates a plain object from a GetOperationRequest message. Also converts values to other types if specified. * @param message GetOperationRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.longrunning.GetOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetOperationRequest to JSON. * @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. */ interface IListOperationsRequest { /** ListOperationsRequest name */ name?: (string|null); /** ListOperationsRequest filter */ filter?: (string|null); /** ListOperationsRequest pageSize */ pageSize?: (number|null); /** ListOperationsRequest pageToken */ pageToken?: (string|null); } /** Represents a ListOperationsRequest. */ class ListOperationsRequest implements IListOperationsRequest { /** * Constructs a new ListOperationsRequest. * @param [properties] Properties to set */ constructor(properties?: google.longrunning.IListOperationsRequest); /** ListOperationsRequest name. */ public name: string; /** ListOperationsRequest filter. */ public filter: string; /** ListOperationsRequest pageSize. */ public pageSize: number; /** ListOperationsRequest pageToken. */ public pageToken: string; /** * Creates a new ListOperationsRequest instance using the specified properties. * @param [properties] Properties to set * @returns ListOperationsRequest instance */ public static create(properties?: google.longrunning.IListOperationsRequest): google.longrunning.ListOperationsRequest; /** * Encodes the specified ListOperationsRequest message. Does not implicitly {@link google.longrunning.ListOperationsRequest.verify|verify} messages. * @param message ListOperationsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.longrunning.IListOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListOperationsRequest message, length delimited. Does not implicitly {@link google.longrunning.ListOperationsRequest.verify|verify} messages. * @param message ListOperationsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.longrunning.IListOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListOperationsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListOperationsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.ListOperationsRequest; /** * Decodes a ListOperationsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListOperationsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.ListOperationsRequest; /** * Verifies a ListOperationsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListOperationsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListOperationsRequest */ public static fromObject(object: { [k: string]: any }): google.longrunning.ListOperationsRequest; /** * Creates a plain object from a ListOperationsRequest message. Also converts values to other types if specified. * @param message ListOperationsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.longrunning.ListOperationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListOperationsRequest to JSON. * @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. */ interface IListOperationsResponse { /** ListOperationsResponse operations */ operations?: (google.longrunning.IOperation[]|null); /** ListOperationsResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents a ListOperationsResponse. */ class ListOperationsResponse implements IListOperationsResponse { /** * Constructs a new ListOperationsResponse. * @param [properties] Properties to set */ constructor(properties?: google.longrunning.IListOperationsResponse); /** ListOperationsResponse operations. */ public operations: google.longrunning.IOperation[]; /** ListOperationsResponse nextPageToken. */ public nextPageToken: string; /** * Creates a new ListOperationsResponse instance using the specified properties. * @param [properties] Properties to set * @returns ListOperationsResponse instance */ public static create(properties?: google.longrunning.IListOperationsResponse): google.longrunning.ListOperationsResponse; /** * Encodes the specified ListOperationsResponse message. Does not implicitly {@link google.longrunning.ListOperationsResponse.verify|verify} messages. * @param message ListOperationsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.longrunning.IListOperationsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListOperationsResponse message, length delimited. Does not implicitly {@link google.longrunning.ListOperationsResponse.verify|verify} messages. * @param message ListOperationsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.longrunning.IListOperationsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListOperationsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListOperationsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.ListOperationsResponse; /** * Decodes a ListOperationsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListOperationsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.ListOperationsResponse; /** * Verifies a ListOperationsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListOperationsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListOperationsResponse */ public static fromObject(object: { [k: string]: any }): google.longrunning.ListOperationsResponse; /** * Creates a plain object from a ListOperationsResponse message. Also converts values to other types if specified. * @param message ListOperationsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.longrunning.ListOperationsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListOperationsResponse to JSON. * @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. */ interface ICancelOperationRequest { /** CancelOperationRequest name */ name?: (string|null); } /** Represents a CancelOperationRequest. */ class CancelOperationRequest implements ICancelOperationRequest { /** * Constructs a new CancelOperationRequest. * @param [properties] Properties to set */ constructor(properties?: google.longrunning.ICancelOperationRequest); /** CancelOperationRequest name. */ public name: string; /** * Creates a new CancelOperationRequest instance using the specified properties. * @param [properties] Properties to set * @returns CancelOperationRequest instance */ public static create(properties?: google.longrunning.ICancelOperationRequest): google.longrunning.CancelOperationRequest; /** * Encodes the specified CancelOperationRequest message. Does not implicitly {@link google.longrunning.CancelOperationRequest.verify|verify} messages. * @param message CancelOperationRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.longrunning.ICancelOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CancelOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.CancelOperationRequest.verify|verify} messages. * @param message CancelOperationRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.longrunning.ICancelOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CancelOperationRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CancelOperationRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.CancelOperationRequest; /** * Decodes a CancelOperationRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CancelOperationRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.CancelOperationRequest; /** * Verifies a CancelOperationRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CancelOperationRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CancelOperationRequest */ public static fromObject(object: { [k: string]: any }): google.longrunning.CancelOperationRequest; /** * Creates a plain object from a CancelOperationRequest message. Also converts values to other types if specified. * @param message CancelOperationRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.longrunning.CancelOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CancelOperationRequest to JSON. * @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. */ interface IDeleteOperationRequest { /** DeleteOperationRequest name */ name?: (string|null); } /** Represents a DeleteOperationRequest. */ class DeleteOperationRequest implements IDeleteOperationRequest { /** * Constructs a new DeleteOperationRequest. * @param [properties] Properties to set */ constructor(properties?: google.longrunning.IDeleteOperationRequest); /** DeleteOperationRequest name. */ public name: string; /** * Creates a new DeleteOperationRequest instance using the specified properties. * @param [properties] Properties to set * @returns DeleteOperationRequest instance */ public static create(properties?: google.longrunning.IDeleteOperationRequest): google.longrunning.DeleteOperationRequest; /** * Encodes the specified DeleteOperationRequest message. Does not implicitly {@link google.longrunning.DeleteOperationRequest.verify|verify} messages. * @param message DeleteOperationRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.longrunning.IDeleteOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.DeleteOperationRequest.verify|verify} messages. * @param message DeleteOperationRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.longrunning.IDeleteOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteOperationRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteOperationRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.DeleteOperationRequest; /** * Decodes a DeleteOperationRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteOperationRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.DeleteOperationRequest; /** * Verifies a DeleteOperationRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeleteOperationRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteOperationRequest */ public static fromObject(object: { [k: string]: any }): google.longrunning.DeleteOperationRequest; /** * Creates a plain object from a DeleteOperationRequest message. Also converts values to other types if specified. * @param message DeleteOperationRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.longrunning.DeleteOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteOperationRequest to JSON. * @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. */ interface IWaitOperationRequest { /** WaitOperationRequest name */ name?: (string|null); /** WaitOperationRequest timeout */ timeout?: (google.protobuf.IDuration|null); } /** Represents a WaitOperationRequest. */ class WaitOperationRequest implements IWaitOperationRequest { /** * Constructs a new WaitOperationRequest. * @param [properties] Properties to set */ constructor(properties?: google.longrunning.IWaitOperationRequest); /** WaitOperationRequest name. */ public name: string; /** WaitOperationRequest timeout. */ public timeout?: (google.protobuf.IDuration|null); /** * Creates a new WaitOperationRequest instance using the specified properties. * @param [properties] Properties to set * @returns WaitOperationRequest instance */ public static create(properties?: google.longrunning.IWaitOperationRequest): google.longrunning.WaitOperationRequest; /** * Encodes the specified WaitOperationRequest message. Does not implicitly {@link google.longrunning.WaitOperationRequest.verify|verify} messages. * @param message WaitOperationRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.longrunning.IWaitOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified WaitOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.WaitOperationRequest.verify|verify} messages. * @param message WaitOperationRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.longrunning.IWaitOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a WaitOperationRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns WaitOperationRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.WaitOperationRequest; /** * Decodes a WaitOperationRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns WaitOperationRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.WaitOperationRequest; /** * Verifies a WaitOperationRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a WaitOperationRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns WaitOperationRequest */ public static fromObject(object: { [k: string]: any }): google.longrunning.WaitOperationRequest; /** * Creates a plain object from a WaitOperationRequest message. Also converts values to other types if specified. * @param message WaitOperationRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.longrunning.WaitOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this WaitOperationRequest to JSON. * @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. */ interface IOperationInfo { /** OperationInfo responseType */ responseType?: (string|null); /** OperationInfo metadataType */ metadataType?: (string|null); } /** Represents an OperationInfo. */ class OperationInfo implements IOperationInfo { /** * Constructs a new OperationInfo. * @param [properties] Properties to set */ constructor(properties?: google.longrunning.IOperationInfo); /** OperationInfo responseType. */ public responseType: string; /** OperationInfo metadataType. */ public metadataType: string; /** * Creates a new OperationInfo instance using the specified properties. * @param [properties] Properties to set * @returns OperationInfo instance */ public static create(properties?: google.longrunning.IOperationInfo): google.longrunning.OperationInfo; /** * Encodes the specified OperationInfo message. Does not implicitly {@link google.longrunning.OperationInfo.verify|verify} messages. * @param message OperationInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.longrunning.IOperationInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified OperationInfo message, length delimited. Does not implicitly {@link google.longrunning.OperationInfo.verify|verify} messages. * @param message OperationInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.longrunning.IOperationInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an OperationInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns OperationInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.OperationInfo; /** * Decodes an OperationInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns OperationInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.OperationInfo; /** * Verifies an OperationInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an OperationInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns OperationInfo */ public static fromObject(object: { [k: string]: any }): google.longrunning.OperationInfo; /** * Creates a plain object from an OperationInfo message. Also converts values to other types if specified. * @param message OperationInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.longrunning.OperationInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this OperationInfo to JSON. * @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; } } /** Namespace rpc. */ namespace rpc { /** Properties of a Status. */ interface IStatus { /** Status code */ code?: (number|null); /** Status message */ message?: (string|null); /** Status details */ details?: (google.protobuf.IAny[]|null); } /** Represents a Status. */ class Status implements IStatus { /** * Constructs a new Status. * @param [properties] Properties to set */ constructor(properties?: google.rpc.IStatus); /** Status code. */ public code: number; /** Status message. */ public message: string; /** Status details. */ public details: google.protobuf.IAny[]; /** * Creates a new Status instance using the specified properties. * @param [properties] Properties to set * @returns Status instance */ public static create(properties?: google.rpc.IStatus): google.rpc.Status; /** * Encodes the specified Status message. Does not implicitly {@link google.rpc.Status.verify|verify} messages. * @param message Status message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.rpc.IStatus, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Status message, length delimited. Does not implicitly {@link google.rpc.Status.verify|verify} messages. * @param message Status message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.rpc.IStatus, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Status message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Status * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.rpc.Status; /** * Decodes a Status message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Status * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.rpc.Status; /** * Verifies a Status message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Status message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Status */ public static fromObject(object: { [k: string]: any }): google.rpc.Status; /** * Creates a plain object from a Status message. Also converts values to other types if specified. * @param message Status * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.rpc.Status, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Status to JSON. * @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; } } }