// 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 resourcemanager. */ namespace resourcemanager { /** Namespace v3. */ namespace v3 { /** Represents a Folders */ class Folders extends $protobuf.rpc.Service { /** * Constructs a new Folders 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 Folders 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): Folders; /** * Calls GetFolder. * @param request GetFolderRequest message or plain object * @param callback Node-style callback called with the error, if any, and Folder */ public getFolder(request: google.cloud.resourcemanager.v3.IGetFolderRequest, callback: google.cloud.resourcemanager.v3.Folders.GetFolderCallback): void; /** * Calls GetFolder. * @param request GetFolderRequest message or plain object * @returns Promise */ public getFolder(request: google.cloud.resourcemanager.v3.IGetFolderRequest): Promise; /** * Calls ListFolders. * @param request ListFoldersRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListFoldersResponse */ public listFolders(request: google.cloud.resourcemanager.v3.IListFoldersRequest, callback: google.cloud.resourcemanager.v3.Folders.ListFoldersCallback): void; /** * Calls ListFolders. * @param request ListFoldersRequest message or plain object * @returns Promise */ public listFolders(request: google.cloud.resourcemanager.v3.IListFoldersRequest): Promise; /** * Calls SearchFolders. * @param request SearchFoldersRequest message or plain object * @param callback Node-style callback called with the error, if any, and SearchFoldersResponse */ public searchFolders(request: google.cloud.resourcemanager.v3.ISearchFoldersRequest, callback: google.cloud.resourcemanager.v3.Folders.SearchFoldersCallback): void; /** * Calls SearchFolders. * @param request SearchFoldersRequest message or plain object * @returns Promise */ public searchFolders(request: google.cloud.resourcemanager.v3.ISearchFoldersRequest): Promise; /** * Calls CreateFolder. * @param request CreateFolderRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public createFolder(request: google.cloud.resourcemanager.v3.ICreateFolderRequest, callback: google.cloud.resourcemanager.v3.Folders.CreateFolderCallback): void; /** * Calls CreateFolder. * @param request CreateFolderRequest message or plain object * @returns Promise */ public createFolder(request: google.cloud.resourcemanager.v3.ICreateFolderRequest): Promise; /** * Calls UpdateFolder. * @param request UpdateFolderRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public updateFolder(request: google.cloud.resourcemanager.v3.IUpdateFolderRequest, callback: google.cloud.resourcemanager.v3.Folders.UpdateFolderCallback): void; /** * Calls UpdateFolder. * @param request UpdateFolderRequest message or plain object * @returns Promise */ public updateFolder(request: google.cloud.resourcemanager.v3.IUpdateFolderRequest): Promise; /** * Calls MoveFolder. * @param request MoveFolderRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public moveFolder(request: google.cloud.resourcemanager.v3.IMoveFolderRequest, callback: google.cloud.resourcemanager.v3.Folders.MoveFolderCallback): void; /** * Calls MoveFolder. * @param request MoveFolderRequest message or plain object * @returns Promise */ public moveFolder(request: google.cloud.resourcemanager.v3.IMoveFolderRequest): Promise; /** * Calls DeleteFolder. * @param request DeleteFolderRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public deleteFolder(request: google.cloud.resourcemanager.v3.IDeleteFolderRequest, callback: google.cloud.resourcemanager.v3.Folders.DeleteFolderCallback): void; /** * Calls DeleteFolder. * @param request DeleteFolderRequest message or plain object * @returns Promise */ public deleteFolder(request: google.cloud.resourcemanager.v3.IDeleteFolderRequest): Promise; /** * Calls UndeleteFolder. * @param request UndeleteFolderRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public undeleteFolder(request: google.cloud.resourcemanager.v3.IUndeleteFolderRequest, callback: google.cloud.resourcemanager.v3.Folders.UndeleteFolderCallback): void; /** * Calls UndeleteFolder. * @param request UndeleteFolderRequest message or plain object * @returns Promise */ public undeleteFolder(request: google.cloud.resourcemanager.v3.IUndeleteFolderRequest): Promise; /** * Calls GetIamPolicy. * @param request GetIamPolicyRequest message or plain object * @param callback Node-style callback called with the error, if any, and Policy */ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.cloud.resourcemanager.v3.Folders.GetIamPolicyCallback): void; /** * Calls GetIamPolicy. * @param request GetIamPolicyRequest message or plain object * @returns Promise */ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise; /** * Calls SetIamPolicy. * @param request SetIamPolicyRequest message or plain object * @param callback Node-style callback called with the error, if any, and Policy */ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.cloud.resourcemanager.v3.Folders.SetIamPolicyCallback): void; /** * Calls SetIamPolicy. * @param request SetIamPolicyRequest message or plain object * @returns Promise */ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise; /** * Calls TestIamPermissions. * @param request TestIamPermissionsRequest message or plain object * @param callback Node-style callback called with the error, if any, and TestIamPermissionsResponse */ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest, callback: google.cloud.resourcemanager.v3.Folders.TestIamPermissionsCallback): void; /** * Calls TestIamPermissions. * @param request TestIamPermissionsRequest message or plain object * @returns Promise */ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise; } namespace Folders { /** * Callback as used by {@link google.cloud.resourcemanager.v3.Folders|getFolder}. * @param error Error, if any * @param [response] Folder */ type GetFolderCallback = (error: (Error|null), response?: google.cloud.resourcemanager.v3.Folder) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.Folders|listFolders}. * @param error Error, if any * @param [response] ListFoldersResponse */ type ListFoldersCallback = (error: (Error|null), response?: google.cloud.resourcemanager.v3.ListFoldersResponse) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.Folders|searchFolders}. * @param error Error, if any * @param [response] SearchFoldersResponse */ type SearchFoldersCallback = (error: (Error|null), response?: google.cloud.resourcemanager.v3.SearchFoldersResponse) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.Folders|createFolder}. * @param error Error, if any * @param [response] Operation */ type CreateFolderCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.Folders|updateFolder}. * @param error Error, if any * @param [response] Operation */ type UpdateFolderCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.Folders|moveFolder}. * @param error Error, if any * @param [response] Operation */ type MoveFolderCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.Folders|deleteFolder}. * @param error Error, if any * @param [response] Operation */ type DeleteFolderCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.Folders|undeleteFolder}. * @param error Error, if any * @param [response] Operation */ type UndeleteFolderCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.Folders|getIamPolicy}. * @param error Error, if any * @param [response] Policy */ type GetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.Folders|setIamPolicy}. * @param error Error, if any * @param [response] Policy */ type SetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.Folders|testIamPermissions}. * @param error Error, if any * @param [response] TestIamPermissionsResponse */ type TestIamPermissionsCallback = (error: (Error|null), response?: google.iam.v1.TestIamPermissionsResponse) => void; } /** Properties of a Folder. */ interface IFolder { /** Folder name */ name?: (string|null); /** Folder parent */ parent?: (string|null); /** Folder displayName */ displayName?: (string|null); /** Folder state */ state?: (google.cloud.resourcemanager.v3.Folder.State|keyof typeof google.cloud.resourcemanager.v3.Folder.State|null); /** Folder createTime */ createTime?: (google.protobuf.ITimestamp|null); /** Folder updateTime */ updateTime?: (google.protobuf.ITimestamp|null); /** Folder deleteTime */ deleteTime?: (google.protobuf.ITimestamp|null); /** Folder etag */ etag?: (string|null); } /** Represents a Folder. */ class Folder implements IFolder { /** * Constructs a new Folder. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IFolder); /** Folder name. */ public name: string; /** Folder parent. */ public parent: string; /** Folder displayName. */ public displayName: string; /** Folder state. */ public state: (google.cloud.resourcemanager.v3.Folder.State|keyof typeof google.cloud.resourcemanager.v3.Folder.State); /** Folder createTime. */ public createTime?: (google.protobuf.ITimestamp|null); /** Folder updateTime. */ public updateTime?: (google.protobuf.ITimestamp|null); /** Folder deleteTime. */ public deleteTime?: (google.protobuf.ITimestamp|null); /** Folder etag. */ public etag: string; /** * Creates a new Folder instance using the specified properties. * @param [properties] Properties to set * @returns Folder instance */ public static create(properties?: google.cloud.resourcemanager.v3.IFolder): google.cloud.resourcemanager.v3.Folder; /** * Encodes the specified Folder message. Does not implicitly {@link google.cloud.resourcemanager.v3.Folder.verify|verify} messages. * @param message Folder message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IFolder, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Folder message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.Folder.verify|verify} messages. * @param message Folder message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IFolder, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Folder message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Folder * @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.resourcemanager.v3.Folder; /** * Decodes a Folder message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Folder * @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.resourcemanager.v3.Folder; /** * Verifies a Folder 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 Folder message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Folder */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.Folder; /** * Creates a plain object from a Folder message. Also converts values to other types if specified. * @param message Folder * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.Folder, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Folder to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Folder * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Folder { /** State enum. */ enum State { STATE_UNSPECIFIED = 0, ACTIVE = 1, DELETE_REQUESTED = 2 } } /** Properties of a GetFolderRequest. */ interface IGetFolderRequest { /** GetFolderRequest name */ name?: (string|null); } /** Represents a GetFolderRequest. */ class GetFolderRequest implements IGetFolderRequest { /** * Constructs a new GetFolderRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IGetFolderRequest); /** GetFolderRequest name. */ public name: string; /** * Creates a new GetFolderRequest instance using the specified properties. * @param [properties] Properties to set * @returns GetFolderRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.IGetFolderRequest): google.cloud.resourcemanager.v3.GetFolderRequest; /** * Encodes the specified GetFolderRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.GetFolderRequest.verify|verify} messages. * @param message GetFolderRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IGetFolderRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetFolderRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.GetFolderRequest.verify|verify} messages. * @param message GetFolderRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IGetFolderRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetFolderRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetFolderRequest * @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.resourcemanager.v3.GetFolderRequest; /** * Decodes a GetFolderRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetFolderRequest * @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.resourcemanager.v3.GetFolderRequest; /** * Verifies a GetFolderRequest 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 GetFolderRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetFolderRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.GetFolderRequest; /** * Creates a plain object from a GetFolderRequest message. Also converts values to other types if specified. * @param message GetFolderRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.GetFolderRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetFolderRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GetFolderRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListFoldersRequest. */ interface IListFoldersRequest { /** ListFoldersRequest parent */ parent?: (string|null); /** ListFoldersRequest pageSize */ pageSize?: (number|null); /** ListFoldersRequest pageToken */ pageToken?: (string|null); /** ListFoldersRequest showDeleted */ showDeleted?: (boolean|null); } /** Represents a ListFoldersRequest. */ class ListFoldersRequest implements IListFoldersRequest { /** * Constructs a new ListFoldersRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IListFoldersRequest); /** ListFoldersRequest parent. */ public parent: string; /** ListFoldersRequest pageSize. */ public pageSize: number; /** ListFoldersRequest pageToken. */ public pageToken: string; /** ListFoldersRequest showDeleted. */ public showDeleted: boolean; /** * Creates a new ListFoldersRequest instance using the specified properties. * @param [properties] Properties to set * @returns ListFoldersRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.IListFoldersRequest): google.cloud.resourcemanager.v3.ListFoldersRequest; /** * Encodes the specified ListFoldersRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.ListFoldersRequest.verify|verify} messages. * @param message ListFoldersRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IListFoldersRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListFoldersRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.ListFoldersRequest.verify|verify} messages. * @param message ListFoldersRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IListFoldersRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListFoldersRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListFoldersRequest * @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.resourcemanager.v3.ListFoldersRequest; /** * Decodes a ListFoldersRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListFoldersRequest * @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.resourcemanager.v3.ListFoldersRequest; /** * Verifies a ListFoldersRequest 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 ListFoldersRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListFoldersRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.ListFoldersRequest; /** * Creates a plain object from a ListFoldersRequest message. Also converts values to other types if specified. * @param message ListFoldersRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.ListFoldersRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListFoldersRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListFoldersRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListFoldersResponse. */ interface IListFoldersResponse { /** ListFoldersResponse folders */ folders?: (google.cloud.resourcemanager.v3.IFolder[]|null); /** ListFoldersResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents a ListFoldersResponse. */ class ListFoldersResponse implements IListFoldersResponse { /** * Constructs a new ListFoldersResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IListFoldersResponse); /** ListFoldersResponse folders. */ public folders: google.cloud.resourcemanager.v3.IFolder[]; /** ListFoldersResponse nextPageToken. */ public nextPageToken: string; /** * Creates a new ListFoldersResponse instance using the specified properties. * @param [properties] Properties to set * @returns ListFoldersResponse instance */ public static create(properties?: google.cloud.resourcemanager.v3.IListFoldersResponse): google.cloud.resourcemanager.v3.ListFoldersResponse; /** * Encodes the specified ListFoldersResponse message. Does not implicitly {@link google.cloud.resourcemanager.v3.ListFoldersResponse.verify|verify} messages. * @param message ListFoldersResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IListFoldersResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListFoldersResponse message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.ListFoldersResponse.verify|verify} messages. * @param message ListFoldersResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IListFoldersResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListFoldersResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListFoldersResponse * @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.resourcemanager.v3.ListFoldersResponse; /** * Decodes a ListFoldersResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListFoldersResponse * @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.resourcemanager.v3.ListFoldersResponse; /** * Verifies a ListFoldersResponse 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 ListFoldersResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListFoldersResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.ListFoldersResponse; /** * Creates a plain object from a ListFoldersResponse message. Also converts values to other types if specified. * @param message ListFoldersResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.ListFoldersResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListFoldersResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListFoldersResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SearchFoldersRequest. */ interface ISearchFoldersRequest { /** SearchFoldersRequest pageSize */ pageSize?: (number|null); /** SearchFoldersRequest pageToken */ pageToken?: (string|null); /** SearchFoldersRequest query */ query?: (string|null); } /** Represents a SearchFoldersRequest. */ class SearchFoldersRequest implements ISearchFoldersRequest { /** * Constructs a new SearchFoldersRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.ISearchFoldersRequest); /** SearchFoldersRequest pageSize. */ public pageSize: number; /** SearchFoldersRequest pageToken. */ public pageToken: string; /** SearchFoldersRequest query. */ public query: string; /** * Creates a new SearchFoldersRequest instance using the specified properties. * @param [properties] Properties to set * @returns SearchFoldersRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.ISearchFoldersRequest): google.cloud.resourcemanager.v3.SearchFoldersRequest; /** * Encodes the specified SearchFoldersRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.SearchFoldersRequest.verify|verify} messages. * @param message SearchFoldersRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.ISearchFoldersRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SearchFoldersRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.SearchFoldersRequest.verify|verify} messages. * @param message SearchFoldersRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.ISearchFoldersRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SearchFoldersRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SearchFoldersRequest * @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.resourcemanager.v3.SearchFoldersRequest; /** * Decodes a SearchFoldersRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SearchFoldersRequest * @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.resourcemanager.v3.SearchFoldersRequest; /** * Verifies a SearchFoldersRequest 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 SearchFoldersRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SearchFoldersRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.SearchFoldersRequest; /** * Creates a plain object from a SearchFoldersRequest message. Also converts values to other types if specified. * @param message SearchFoldersRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.SearchFoldersRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SearchFoldersRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SearchFoldersRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SearchFoldersResponse. */ interface ISearchFoldersResponse { /** SearchFoldersResponse folders */ folders?: (google.cloud.resourcemanager.v3.IFolder[]|null); /** SearchFoldersResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents a SearchFoldersResponse. */ class SearchFoldersResponse implements ISearchFoldersResponse { /** * Constructs a new SearchFoldersResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.ISearchFoldersResponse); /** SearchFoldersResponse folders. */ public folders: google.cloud.resourcemanager.v3.IFolder[]; /** SearchFoldersResponse nextPageToken. */ public nextPageToken: string; /** * Creates a new SearchFoldersResponse instance using the specified properties. * @param [properties] Properties to set * @returns SearchFoldersResponse instance */ public static create(properties?: google.cloud.resourcemanager.v3.ISearchFoldersResponse): google.cloud.resourcemanager.v3.SearchFoldersResponse; /** * Encodes the specified SearchFoldersResponse message. Does not implicitly {@link google.cloud.resourcemanager.v3.SearchFoldersResponse.verify|verify} messages. * @param message SearchFoldersResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.ISearchFoldersResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SearchFoldersResponse message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.SearchFoldersResponse.verify|verify} messages. * @param message SearchFoldersResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.ISearchFoldersResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SearchFoldersResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SearchFoldersResponse * @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.resourcemanager.v3.SearchFoldersResponse; /** * Decodes a SearchFoldersResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SearchFoldersResponse * @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.resourcemanager.v3.SearchFoldersResponse; /** * Verifies a SearchFoldersResponse 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 SearchFoldersResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SearchFoldersResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.SearchFoldersResponse; /** * Creates a plain object from a SearchFoldersResponse message. Also converts values to other types if specified. * @param message SearchFoldersResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.SearchFoldersResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SearchFoldersResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SearchFoldersResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateFolderRequest. */ interface ICreateFolderRequest { /** CreateFolderRequest folder */ folder?: (google.cloud.resourcemanager.v3.IFolder|null); } /** Represents a CreateFolderRequest. */ class CreateFolderRequest implements ICreateFolderRequest { /** * Constructs a new CreateFolderRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.ICreateFolderRequest); /** CreateFolderRequest folder. */ public folder?: (google.cloud.resourcemanager.v3.IFolder|null); /** * Creates a new CreateFolderRequest instance using the specified properties. * @param [properties] Properties to set * @returns CreateFolderRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.ICreateFolderRequest): google.cloud.resourcemanager.v3.CreateFolderRequest; /** * Encodes the specified CreateFolderRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.CreateFolderRequest.verify|verify} messages. * @param message CreateFolderRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.ICreateFolderRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CreateFolderRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.CreateFolderRequest.verify|verify} messages. * @param message CreateFolderRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.ICreateFolderRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CreateFolderRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CreateFolderRequest * @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.resourcemanager.v3.CreateFolderRequest; /** * Decodes a CreateFolderRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CreateFolderRequest * @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.resourcemanager.v3.CreateFolderRequest; /** * Verifies a CreateFolderRequest 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 CreateFolderRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CreateFolderRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.CreateFolderRequest; /** * Creates a plain object from a CreateFolderRequest message. Also converts values to other types if specified. * @param message CreateFolderRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.CreateFolderRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CreateFolderRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CreateFolderRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateFolderMetadata. */ interface ICreateFolderMetadata { /** CreateFolderMetadata displayName */ displayName?: (string|null); /** CreateFolderMetadata parent */ parent?: (string|null); } /** Represents a CreateFolderMetadata. */ class CreateFolderMetadata implements ICreateFolderMetadata { /** * Constructs a new CreateFolderMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.ICreateFolderMetadata); /** CreateFolderMetadata displayName. */ public displayName: string; /** CreateFolderMetadata parent. */ public parent: string; /** * Creates a new CreateFolderMetadata instance using the specified properties. * @param [properties] Properties to set * @returns CreateFolderMetadata instance */ public static create(properties?: google.cloud.resourcemanager.v3.ICreateFolderMetadata): google.cloud.resourcemanager.v3.CreateFolderMetadata; /** * Encodes the specified CreateFolderMetadata message. Does not implicitly {@link google.cloud.resourcemanager.v3.CreateFolderMetadata.verify|verify} messages. * @param message CreateFolderMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.ICreateFolderMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CreateFolderMetadata message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.CreateFolderMetadata.verify|verify} messages. * @param message CreateFolderMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.ICreateFolderMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CreateFolderMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CreateFolderMetadata * @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.resourcemanager.v3.CreateFolderMetadata; /** * Decodes a CreateFolderMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CreateFolderMetadata * @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.resourcemanager.v3.CreateFolderMetadata; /** * Verifies a CreateFolderMetadata 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 CreateFolderMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CreateFolderMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.CreateFolderMetadata; /** * Creates a plain object from a CreateFolderMetadata message. Also converts values to other types if specified. * @param message CreateFolderMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.CreateFolderMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CreateFolderMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CreateFolderMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateFolderRequest. */ interface IUpdateFolderRequest { /** UpdateFolderRequest folder */ folder?: (google.cloud.resourcemanager.v3.IFolder|null); /** UpdateFolderRequest updateMask */ updateMask?: (google.protobuf.IFieldMask|null); } /** Represents an UpdateFolderRequest. */ class UpdateFolderRequest implements IUpdateFolderRequest { /** * Constructs a new UpdateFolderRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IUpdateFolderRequest); /** UpdateFolderRequest folder. */ public folder?: (google.cloud.resourcemanager.v3.IFolder|null); /** UpdateFolderRequest updateMask. */ public updateMask?: (google.protobuf.IFieldMask|null); /** * Creates a new UpdateFolderRequest instance using the specified properties. * @param [properties] Properties to set * @returns UpdateFolderRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.IUpdateFolderRequest): google.cloud.resourcemanager.v3.UpdateFolderRequest; /** * Encodes the specified UpdateFolderRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.UpdateFolderRequest.verify|verify} messages. * @param message UpdateFolderRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IUpdateFolderRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UpdateFolderRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.UpdateFolderRequest.verify|verify} messages. * @param message UpdateFolderRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IUpdateFolderRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UpdateFolderRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UpdateFolderRequest * @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.resourcemanager.v3.UpdateFolderRequest; /** * Decodes an UpdateFolderRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UpdateFolderRequest * @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.resourcemanager.v3.UpdateFolderRequest; /** * Verifies an UpdateFolderRequest 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 UpdateFolderRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UpdateFolderRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.UpdateFolderRequest; /** * Creates a plain object from an UpdateFolderRequest message. Also converts values to other types if specified. * @param message UpdateFolderRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.UpdateFolderRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UpdateFolderRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UpdateFolderRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateFolderMetadata. */ interface IUpdateFolderMetadata { } /** Represents an UpdateFolderMetadata. */ class UpdateFolderMetadata implements IUpdateFolderMetadata { /** * Constructs a new UpdateFolderMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IUpdateFolderMetadata); /** * Creates a new UpdateFolderMetadata instance using the specified properties. * @param [properties] Properties to set * @returns UpdateFolderMetadata instance */ public static create(properties?: google.cloud.resourcemanager.v3.IUpdateFolderMetadata): google.cloud.resourcemanager.v3.UpdateFolderMetadata; /** * Encodes the specified UpdateFolderMetadata message. Does not implicitly {@link google.cloud.resourcemanager.v3.UpdateFolderMetadata.verify|verify} messages. * @param message UpdateFolderMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IUpdateFolderMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UpdateFolderMetadata message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.UpdateFolderMetadata.verify|verify} messages. * @param message UpdateFolderMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IUpdateFolderMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UpdateFolderMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UpdateFolderMetadata * @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.resourcemanager.v3.UpdateFolderMetadata; /** * Decodes an UpdateFolderMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UpdateFolderMetadata * @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.resourcemanager.v3.UpdateFolderMetadata; /** * Verifies an UpdateFolderMetadata 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 UpdateFolderMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UpdateFolderMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.UpdateFolderMetadata; /** * Creates a plain object from an UpdateFolderMetadata message. Also converts values to other types if specified. * @param message UpdateFolderMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.UpdateFolderMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UpdateFolderMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UpdateFolderMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MoveFolderRequest. */ interface IMoveFolderRequest { /** MoveFolderRequest name */ name?: (string|null); /** MoveFolderRequest destinationParent */ destinationParent?: (string|null); } /** Represents a MoveFolderRequest. */ class MoveFolderRequest implements IMoveFolderRequest { /** * Constructs a new MoveFolderRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IMoveFolderRequest); /** MoveFolderRequest name. */ public name: string; /** MoveFolderRequest destinationParent. */ public destinationParent: string; /** * Creates a new MoveFolderRequest instance using the specified properties. * @param [properties] Properties to set * @returns MoveFolderRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.IMoveFolderRequest): google.cloud.resourcemanager.v3.MoveFolderRequest; /** * Encodes the specified MoveFolderRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.MoveFolderRequest.verify|verify} messages. * @param message MoveFolderRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IMoveFolderRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MoveFolderRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.MoveFolderRequest.verify|verify} messages. * @param message MoveFolderRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IMoveFolderRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MoveFolderRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MoveFolderRequest * @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.resourcemanager.v3.MoveFolderRequest; /** * Decodes a MoveFolderRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MoveFolderRequest * @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.resourcemanager.v3.MoveFolderRequest; /** * Verifies a MoveFolderRequest 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 MoveFolderRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MoveFolderRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.MoveFolderRequest; /** * Creates a plain object from a MoveFolderRequest message. Also converts values to other types if specified. * @param message MoveFolderRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.MoveFolderRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MoveFolderRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MoveFolderRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MoveFolderMetadata. */ interface IMoveFolderMetadata { /** MoveFolderMetadata displayName */ displayName?: (string|null); /** MoveFolderMetadata sourceParent */ sourceParent?: (string|null); /** MoveFolderMetadata destinationParent */ destinationParent?: (string|null); } /** Represents a MoveFolderMetadata. */ class MoveFolderMetadata implements IMoveFolderMetadata { /** * Constructs a new MoveFolderMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IMoveFolderMetadata); /** MoveFolderMetadata displayName. */ public displayName: string; /** MoveFolderMetadata sourceParent. */ public sourceParent: string; /** MoveFolderMetadata destinationParent. */ public destinationParent: string; /** * Creates a new MoveFolderMetadata instance using the specified properties. * @param [properties] Properties to set * @returns MoveFolderMetadata instance */ public static create(properties?: google.cloud.resourcemanager.v3.IMoveFolderMetadata): google.cloud.resourcemanager.v3.MoveFolderMetadata; /** * Encodes the specified MoveFolderMetadata message. Does not implicitly {@link google.cloud.resourcemanager.v3.MoveFolderMetadata.verify|verify} messages. * @param message MoveFolderMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IMoveFolderMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MoveFolderMetadata message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.MoveFolderMetadata.verify|verify} messages. * @param message MoveFolderMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IMoveFolderMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MoveFolderMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MoveFolderMetadata * @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.resourcemanager.v3.MoveFolderMetadata; /** * Decodes a MoveFolderMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MoveFolderMetadata * @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.resourcemanager.v3.MoveFolderMetadata; /** * Verifies a MoveFolderMetadata 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 MoveFolderMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MoveFolderMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.MoveFolderMetadata; /** * Creates a plain object from a MoveFolderMetadata message. Also converts values to other types if specified. * @param message MoveFolderMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.MoveFolderMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MoveFolderMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MoveFolderMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteFolderRequest. */ interface IDeleteFolderRequest { /** DeleteFolderRequest name */ name?: (string|null); } /** Represents a DeleteFolderRequest. */ class DeleteFolderRequest implements IDeleteFolderRequest { /** * Constructs a new DeleteFolderRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IDeleteFolderRequest); /** DeleteFolderRequest name. */ public name: string; /** * Creates a new DeleteFolderRequest instance using the specified properties. * @param [properties] Properties to set * @returns DeleteFolderRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.IDeleteFolderRequest): google.cloud.resourcemanager.v3.DeleteFolderRequest; /** * Encodes the specified DeleteFolderRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.DeleteFolderRequest.verify|verify} messages. * @param message DeleteFolderRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IDeleteFolderRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteFolderRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.DeleteFolderRequest.verify|verify} messages. * @param message DeleteFolderRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IDeleteFolderRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteFolderRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteFolderRequest * @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.resourcemanager.v3.DeleteFolderRequest; /** * Decodes a DeleteFolderRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteFolderRequest * @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.resourcemanager.v3.DeleteFolderRequest; /** * Verifies a DeleteFolderRequest 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 DeleteFolderRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteFolderRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.DeleteFolderRequest; /** * Creates a plain object from a DeleteFolderRequest message. Also converts values to other types if specified. * @param message DeleteFolderRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.DeleteFolderRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteFolderRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeleteFolderRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteFolderMetadata. */ interface IDeleteFolderMetadata { } /** Represents a DeleteFolderMetadata. */ class DeleteFolderMetadata implements IDeleteFolderMetadata { /** * Constructs a new DeleteFolderMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IDeleteFolderMetadata); /** * Creates a new DeleteFolderMetadata instance using the specified properties. * @param [properties] Properties to set * @returns DeleteFolderMetadata instance */ public static create(properties?: google.cloud.resourcemanager.v3.IDeleteFolderMetadata): google.cloud.resourcemanager.v3.DeleteFolderMetadata; /** * Encodes the specified DeleteFolderMetadata message. Does not implicitly {@link google.cloud.resourcemanager.v3.DeleteFolderMetadata.verify|verify} messages. * @param message DeleteFolderMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IDeleteFolderMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteFolderMetadata message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.DeleteFolderMetadata.verify|verify} messages. * @param message DeleteFolderMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IDeleteFolderMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteFolderMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteFolderMetadata * @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.resourcemanager.v3.DeleteFolderMetadata; /** * Decodes a DeleteFolderMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteFolderMetadata * @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.resourcemanager.v3.DeleteFolderMetadata; /** * Verifies a DeleteFolderMetadata 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 DeleteFolderMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteFolderMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.DeleteFolderMetadata; /** * Creates a plain object from a DeleteFolderMetadata message. Also converts values to other types if specified. * @param message DeleteFolderMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.DeleteFolderMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteFolderMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeleteFolderMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UndeleteFolderRequest. */ interface IUndeleteFolderRequest { /** UndeleteFolderRequest name */ name?: (string|null); } /** Represents an UndeleteFolderRequest. */ class UndeleteFolderRequest implements IUndeleteFolderRequest { /** * Constructs a new UndeleteFolderRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IUndeleteFolderRequest); /** UndeleteFolderRequest name. */ public name: string; /** * Creates a new UndeleteFolderRequest instance using the specified properties. * @param [properties] Properties to set * @returns UndeleteFolderRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.IUndeleteFolderRequest): google.cloud.resourcemanager.v3.UndeleteFolderRequest; /** * Encodes the specified UndeleteFolderRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.UndeleteFolderRequest.verify|verify} messages. * @param message UndeleteFolderRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IUndeleteFolderRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UndeleteFolderRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.UndeleteFolderRequest.verify|verify} messages. * @param message UndeleteFolderRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IUndeleteFolderRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UndeleteFolderRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UndeleteFolderRequest * @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.resourcemanager.v3.UndeleteFolderRequest; /** * Decodes an UndeleteFolderRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UndeleteFolderRequest * @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.resourcemanager.v3.UndeleteFolderRequest; /** * Verifies an UndeleteFolderRequest 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 UndeleteFolderRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UndeleteFolderRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.UndeleteFolderRequest; /** * Creates a plain object from an UndeleteFolderRequest message. Also converts values to other types if specified. * @param message UndeleteFolderRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.UndeleteFolderRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UndeleteFolderRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UndeleteFolderRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UndeleteFolderMetadata. */ interface IUndeleteFolderMetadata { } /** Represents an UndeleteFolderMetadata. */ class UndeleteFolderMetadata implements IUndeleteFolderMetadata { /** * Constructs a new UndeleteFolderMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IUndeleteFolderMetadata); /** * Creates a new UndeleteFolderMetadata instance using the specified properties. * @param [properties] Properties to set * @returns UndeleteFolderMetadata instance */ public static create(properties?: google.cloud.resourcemanager.v3.IUndeleteFolderMetadata): google.cloud.resourcemanager.v3.UndeleteFolderMetadata; /** * Encodes the specified UndeleteFolderMetadata message. Does not implicitly {@link google.cloud.resourcemanager.v3.UndeleteFolderMetadata.verify|verify} messages. * @param message UndeleteFolderMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IUndeleteFolderMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UndeleteFolderMetadata message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.UndeleteFolderMetadata.verify|verify} messages. * @param message UndeleteFolderMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IUndeleteFolderMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UndeleteFolderMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UndeleteFolderMetadata * @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.resourcemanager.v3.UndeleteFolderMetadata; /** * Decodes an UndeleteFolderMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UndeleteFolderMetadata * @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.resourcemanager.v3.UndeleteFolderMetadata; /** * Verifies an UndeleteFolderMetadata 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 UndeleteFolderMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UndeleteFolderMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.UndeleteFolderMetadata; /** * Creates a plain object from an UndeleteFolderMetadata message. Also converts values to other types if specified. * @param message UndeleteFolderMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.UndeleteFolderMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UndeleteFolderMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UndeleteFolderMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents an Organizations */ class Organizations extends $protobuf.rpc.Service { /** * Constructs a new Organizations 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 Organizations 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): Organizations; /** * Calls GetOrganization. * @param request GetOrganizationRequest message or plain object * @param callback Node-style callback called with the error, if any, and Organization */ public getOrganization(request: google.cloud.resourcemanager.v3.IGetOrganizationRequest, callback: google.cloud.resourcemanager.v3.Organizations.GetOrganizationCallback): void; /** * Calls GetOrganization. * @param request GetOrganizationRequest message or plain object * @returns Promise */ public getOrganization(request: google.cloud.resourcemanager.v3.IGetOrganizationRequest): Promise; /** * Calls SearchOrganizations. * @param request SearchOrganizationsRequest message or plain object * @param callback Node-style callback called with the error, if any, and SearchOrganizationsResponse */ public searchOrganizations(request: google.cloud.resourcemanager.v3.ISearchOrganizationsRequest, callback: google.cloud.resourcemanager.v3.Organizations.SearchOrganizationsCallback): void; /** * Calls SearchOrganizations. * @param request SearchOrganizationsRequest message or plain object * @returns Promise */ public searchOrganizations(request: google.cloud.resourcemanager.v3.ISearchOrganizationsRequest): Promise; /** * Calls GetIamPolicy. * @param request GetIamPolicyRequest message or plain object * @param callback Node-style callback called with the error, if any, and Policy */ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.cloud.resourcemanager.v3.Organizations.GetIamPolicyCallback): void; /** * Calls GetIamPolicy. * @param request GetIamPolicyRequest message or plain object * @returns Promise */ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise; /** * Calls SetIamPolicy. * @param request SetIamPolicyRequest message or plain object * @param callback Node-style callback called with the error, if any, and Policy */ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.cloud.resourcemanager.v3.Organizations.SetIamPolicyCallback): void; /** * Calls SetIamPolicy. * @param request SetIamPolicyRequest message or plain object * @returns Promise */ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise; /** * Calls TestIamPermissions. * @param request TestIamPermissionsRequest message or plain object * @param callback Node-style callback called with the error, if any, and TestIamPermissionsResponse */ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest, callback: google.cloud.resourcemanager.v3.Organizations.TestIamPermissionsCallback): void; /** * Calls TestIamPermissions. * @param request TestIamPermissionsRequest message or plain object * @returns Promise */ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise; } namespace Organizations { /** * Callback as used by {@link google.cloud.resourcemanager.v3.Organizations|getOrganization}. * @param error Error, if any * @param [response] Organization */ type GetOrganizationCallback = (error: (Error|null), response?: google.cloud.resourcemanager.v3.Organization) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.Organizations|searchOrganizations}. * @param error Error, if any * @param [response] SearchOrganizationsResponse */ type SearchOrganizationsCallback = (error: (Error|null), response?: google.cloud.resourcemanager.v3.SearchOrganizationsResponse) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.Organizations|getIamPolicy}. * @param error Error, if any * @param [response] Policy */ type GetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.Organizations|setIamPolicy}. * @param error Error, if any * @param [response] Policy */ type SetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.Organizations|testIamPermissions}. * @param error Error, if any * @param [response] TestIamPermissionsResponse */ type TestIamPermissionsCallback = (error: (Error|null), response?: google.iam.v1.TestIamPermissionsResponse) => void; } /** Properties of an Organization. */ interface IOrganization { /** Organization name */ name?: (string|null); /** Organization displayName */ displayName?: (string|null); /** Organization directoryCustomerId */ directoryCustomerId?: (string|null); /** Organization state */ state?: (google.cloud.resourcemanager.v3.Organization.State|keyof typeof google.cloud.resourcemanager.v3.Organization.State|null); /** Organization createTime */ createTime?: (google.protobuf.ITimestamp|null); /** Organization updateTime */ updateTime?: (google.protobuf.ITimestamp|null); /** Organization deleteTime */ deleteTime?: (google.protobuf.ITimestamp|null); /** Organization etag */ etag?: (string|null); } /** Represents an Organization. */ class Organization implements IOrganization { /** * Constructs a new Organization. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IOrganization); /** Organization name. */ public name: string; /** Organization displayName. */ public displayName: string; /** Organization directoryCustomerId. */ public directoryCustomerId?: (string|null); /** Organization state. */ public state: (google.cloud.resourcemanager.v3.Organization.State|keyof typeof google.cloud.resourcemanager.v3.Organization.State); /** Organization createTime. */ public createTime?: (google.protobuf.ITimestamp|null); /** Organization updateTime. */ public updateTime?: (google.protobuf.ITimestamp|null); /** Organization deleteTime. */ public deleteTime?: (google.protobuf.ITimestamp|null); /** Organization etag. */ public etag: string; /** Organization owner. */ public owner?: "directoryCustomerId"; /** * Creates a new Organization instance using the specified properties. * @param [properties] Properties to set * @returns Organization instance */ public static create(properties?: google.cloud.resourcemanager.v3.IOrganization): google.cloud.resourcemanager.v3.Organization; /** * Encodes the specified Organization message. Does not implicitly {@link google.cloud.resourcemanager.v3.Organization.verify|verify} messages. * @param message Organization message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IOrganization, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Organization message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.Organization.verify|verify} messages. * @param message Organization message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IOrganization, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Organization message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Organization * @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.resourcemanager.v3.Organization; /** * Decodes an Organization message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Organization * @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.resourcemanager.v3.Organization; /** * Verifies an Organization 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 Organization message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Organization */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.Organization; /** * Creates a plain object from an Organization message. Also converts values to other types if specified. * @param message Organization * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.Organization, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Organization to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Organization * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Organization { /** State enum. */ enum State { STATE_UNSPECIFIED = 0, ACTIVE = 1, DELETE_REQUESTED = 2 } } /** Properties of a GetOrganizationRequest. */ interface IGetOrganizationRequest { /** GetOrganizationRequest name */ name?: (string|null); } /** Represents a GetOrganizationRequest. */ class GetOrganizationRequest implements IGetOrganizationRequest { /** * Constructs a new GetOrganizationRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IGetOrganizationRequest); /** GetOrganizationRequest name. */ public name: string; /** * Creates a new GetOrganizationRequest instance using the specified properties. * @param [properties] Properties to set * @returns GetOrganizationRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.IGetOrganizationRequest): google.cloud.resourcemanager.v3.GetOrganizationRequest; /** * Encodes the specified GetOrganizationRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.GetOrganizationRequest.verify|verify} messages. * @param message GetOrganizationRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IGetOrganizationRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetOrganizationRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.GetOrganizationRequest.verify|verify} messages. * @param message GetOrganizationRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IGetOrganizationRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetOrganizationRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetOrganizationRequest * @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.resourcemanager.v3.GetOrganizationRequest; /** * Decodes a GetOrganizationRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetOrganizationRequest * @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.resourcemanager.v3.GetOrganizationRequest; /** * Verifies a GetOrganizationRequest 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 GetOrganizationRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetOrganizationRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.GetOrganizationRequest; /** * Creates a plain object from a GetOrganizationRequest message. Also converts values to other types if specified. * @param message GetOrganizationRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.GetOrganizationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetOrganizationRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GetOrganizationRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SearchOrganizationsRequest. */ interface ISearchOrganizationsRequest { /** SearchOrganizationsRequest pageSize */ pageSize?: (number|null); /** SearchOrganizationsRequest pageToken */ pageToken?: (string|null); /** SearchOrganizationsRequest query */ query?: (string|null); } /** Represents a SearchOrganizationsRequest. */ class SearchOrganizationsRequest implements ISearchOrganizationsRequest { /** * Constructs a new SearchOrganizationsRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.ISearchOrganizationsRequest); /** SearchOrganizationsRequest pageSize. */ public pageSize: number; /** SearchOrganizationsRequest pageToken. */ public pageToken: string; /** SearchOrganizationsRequest query. */ public query: string; /** * Creates a new SearchOrganizationsRequest instance using the specified properties. * @param [properties] Properties to set * @returns SearchOrganizationsRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.ISearchOrganizationsRequest): google.cloud.resourcemanager.v3.SearchOrganizationsRequest; /** * Encodes the specified SearchOrganizationsRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.SearchOrganizationsRequest.verify|verify} messages. * @param message SearchOrganizationsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.ISearchOrganizationsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SearchOrganizationsRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.SearchOrganizationsRequest.verify|verify} messages. * @param message SearchOrganizationsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.ISearchOrganizationsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SearchOrganizationsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SearchOrganizationsRequest * @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.resourcemanager.v3.SearchOrganizationsRequest; /** * Decodes a SearchOrganizationsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SearchOrganizationsRequest * @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.resourcemanager.v3.SearchOrganizationsRequest; /** * Verifies a SearchOrganizationsRequest 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 SearchOrganizationsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SearchOrganizationsRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.SearchOrganizationsRequest; /** * Creates a plain object from a SearchOrganizationsRequest message. Also converts values to other types if specified. * @param message SearchOrganizationsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.SearchOrganizationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SearchOrganizationsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SearchOrganizationsRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SearchOrganizationsResponse. */ interface ISearchOrganizationsResponse { /** SearchOrganizationsResponse organizations */ organizations?: (google.cloud.resourcemanager.v3.IOrganization[]|null); /** SearchOrganizationsResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents a SearchOrganizationsResponse. */ class SearchOrganizationsResponse implements ISearchOrganizationsResponse { /** * Constructs a new SearchOrganizationsResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.ISearchOrganizationsResponse); /** SearchOrganizationsResponse organizations. */ public organizations: google.cloud.resourcemanager.v3.IOrganization[]; /** SearchOrganizationsResponse nextPageToken. */ public nextPageToken: string; /** * Creates a new SearchOrganizationsResponse instance using the specified properties. * @param [properties] Properties to set * @returns SearchOrganizationsResponse instance */ public static create(properties?: google.cloud.resourcemanager.v3.ISearchOrganizationsResponse): google.cloud.resourcemanager.v3.SearchOrganizationsResponse; /** * Encodes the specified SearchOrganizationsResponse message. Does not implicitly {@link google.cloud.resourcemanager.v3.SearchOrganizationsResponse.verify|verify} messages. * @param message SearchOrganizationsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.ISearchOrganizationsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SearchOrganizationsResponse message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.SearchOrganizationsResponse.verify|verify} messages. * @param message SearchOrganizationsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.ISearchOrganizationsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SearchOrganizationsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SearchOrganizationsResponse * @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.resourcemanager.v3.SearchOrganizationsResponse; /** * Decodes a SearchOrganizationsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SearchOrganizationsResponse * @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.resourcemanager.v3.SearchOrganizationsResponse; /** * Verifies a SearchOrganizationsResponse 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 SearchOrganizationsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SearchOrganizationsResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.SearchOrganizationsResponse; /** * Creates a plain object from a SearchOrganizationsResponse message. Also converts values to other types if specified. * @param message SearchOrganizationsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.SearchOrganizationsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SearchOrganizationsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SearchOrganizationsResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteOrganizationMetadata. */ interface IDeleteOrganizationMetadata { } /** Represents a DeleteOrganizationMetadata. */ class DeleteOrganizationMetadata implements IDeleteOrganizationMetadata { /** * Constructs a new DeleteOrganizationMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IDeleteOrganizationMetadata); /** * Creates a new DeleteOrganizationMetadata instance using the specified properties. * @param [properties] Properties to set * @returns DeleteOrganizationMetadata instance */ public static create(properties?: google.cloud.resourcemanager.v3.IDeleteOrganizationMetadata): google.cloud.resourcemanager.v3.DeleteOrganizationMetadata; /** * Encodes the specified DeleteOrganizationMetadata message. Does not implicitly {@link google.cloud.resourcemanager.v3.DeleteOrganizationMetadata.verify|verify} messages. * @param message DeleteOrganizationMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IDeleteOrganizationMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteOrganizationMetadata message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.DeleteOrganizationMetadata.verify|verify} messages. * @param message DeleteOrganizationMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IDeleteOrganizationMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteOrganizationMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteOrganizationMetadata * @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.resourcemanager.v3.DeleteOrganizationMetadata; /** * Decodes a DeleteOrganizationMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteOrganizationMetadata * @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.resourcemanager.v3.DeleteOrganizationMetadata; /** * Verifies a DeleteOrganizationMetadata 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 DeleteOrganizationMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteOrganizationMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.DeleteOrganizationMetadata; /** * Creates a plain object from a DeleteOrganizationMetadata message. Also converts values to other types if specified. * @param message DeleteOrganizationMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.DeleteOrganizationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteOrganizationMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeleteOrganizationMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UndeleteOrganizationMetadata. */ interface IUndeleteOrganizationMetadata { } /** Represents an UndeleteOrganizationMetadata. */ class UndeleteOrganizationMetadata implements IUndeleteOrganizationMetadata { /** * Constructs a new UndeleteOrganizationMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IUndeleteOrganizationMetadata); /** * Creates a new UndeleteOrganizationMetadata instance using the specified properties. * @param [properties] Properties to set * @returns UndeleteOrganizationMetadata instance */ public static create(properties?: google.cloud.resourcemanager.v3.IUndeleteOrganizationMetadata): google.cloud.resourcemanager.v3.UndeleteOrganizationMetadata; /** * Encodes the specified UndeleteOrganizationMetadata message. Does not implicitly {@link google.cloud.resourcemanager.v3.UndeleteOrganizationMetadata.verify|verify} messages. * @param message UndeleteOrganizationMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IUndeleteOrganizationMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UndeleteOrganizationMetadata message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.UndeleteOrganizationMetadata.verify|verify} messages. * @param message UndeleteOrganizationMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IUndeleteOrganizationMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UndeleteOrganizationMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UndeleteOrganizationMetadata * @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.resourcemanager.v3.UndeleteOrganizationMetadata; /** * Decodes an UndeleteOrganizationMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UndeleteOrganizationMetadata * @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.resourcemanager.v3.UndeleteOrganizationMetadata; /** * Verifies an UndeleteOrganizationMetadata 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 UndeleteOrganizationMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UndeleteOrganizationMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.UndeleteOrganizationMetadata; /** * Creates a plain object from an UndeleteOrganizationMetadata message. Also converts values to other types if specified. * @param message UndeleteOrganizationMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.UndeleteOrganizationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UndeleteOrganizationMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UndeleteOrganizationMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents a Projects */ class Projects extends $protobuf.rpc.Service { /** * Constructs a new Projects 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 Projects 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): Projects; /** * Calls GetProject. * @param request GetProjectRequest message or plain object * @param callback Node-style callback called with the error, if any, and Project */ public getProject(request: google.cloud.resourcemanager.v3.IGetProjectRequest, callback: google.cloud.resourcemanager.v3.Projects.GetProjectCallback): void; /** * Calls GetProject. * @param request GetProjectRequest message or plain object * @returns Promise */ public getProject(request: google.cloud.resourcemanager.v3.IGetProjectRequest): Promise; /** * Calls ListProjects. * @param request ListProjectsRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListProjectsResponse */ public listProjects(request: google.cloud.resourcemanager.v3.IListProjectsRequest, callback: google.cloud.resourcemanager.v3.Projects.ListProjectsCallback): void; /** * Calls ListProjects. * @param request ListProjectsRequest message or plain object * @returns Promise */ public listProjects(request: google.cloud.resourcemanager.v3.IListProjectsRequest): Promise; /** * Calls SearchProjects. * @param request SearchProjectsRequest message or plain object * @param callback Node-style callback called with the error, if any, and SearchProjectsResponse */ public searchProjects(request: google.cloud.resourcemanager.v3.ISearchProjectsRequest, callback: google.cloud.resourcemanager.v3.Projects.SearchProjectsCallback): void; /** * Calls SearchProjects. * @param request SearchProjectsRequest message or plain object * @returns Promise */ public searchProjects(request: google.cloud.resourcemanager.v3.ISearchProjectsRequest): Promise; /** * Calls CreateProject. * @param request CreateProjectRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public createProject(request: google.cloud.resourcemanager.v3.ICreateProjectRequest, callback: google.cloud.resourcemanager.v3.Projects.CreateProjectCallback): void; /** * Calls CreateProject. * @param request CreateProjectRequest message or plain object * @returns Promise */ public createProject(request: google.cloud.resourcemanager.v3.ICreateProjectRequest): Promise; /** * Calls UpdateProject. * @param request UpdateProjectRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public updateProject(request: google.cloud.resourcemanager.v3.IUpdateProjectRequest, callback: google.cloud.resourcemanager.v3.Projects.UpdateProjectCallback): void; /** * Calls UpdateProject. * @param request UpdateProjectRequest message or plain object * @returns Promise */ public updateProject(request: google.cloud.resourcemanager.v3.IUpdateProjectRequest): Promise; /** * Calls MoveProject. * @param request MoveProjectRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public moveProject(request: google.cloud.resourcemanager.v3.IMoveProjectRequest, callback: google.cloud.resourcemanager.v3.Projects.MoveProjectCallback): void; /** * Calls MoveProject. * @param request MoveProjectRequest message or plain object * @returns Promise */ public moveProject(request: google.cloud.resourcemanager.v3.IMoveProjectRequest): Promise; /** * Calls DeleteProject. * @param request DeleteProjectRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public deleteProject(request: google.cloud.resourcemanager.v3.IDeleteProjectRequest, callback: google.cloud.resourcemanager.v3.Projects.DeleteProjectCallback): void; /** * Calls DeleteProject. * @param request DeleteProjectRequest message or plain object * @returns Promise */ public deleteProject(request: google.cloud.resourcemanager.v3.IDeleteProjectRequest): Promise; /** * Calls UndeleteProject. * @param request UndeleteProjectRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public undeleteProject(request: google.cloud.resourcemanager.v3.IUndeleteProjectRequest, callback: google.cloud.resourcemanager.v3.Projects.UndeleteProjectCallback): void; /** * Calls UndeleteProject. * @param request UndeleteProjectRequest message or plain object * @returns Promise */ public undeleteProject(request: google.cloud.resourcemanager.v3.IUndeleteProjectRequest): Promise; /** * Calls GetIamPolicy. * @param request GetIamPolicyRequest message or plain object * @param callback Node-style callback called with the error, if any, and Policy */ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.cloud.resourcemanager.v3.Projects.GetIamPolicyCallback): void; /** * Calls GetIamPolicy. * @param request GetIamPolicyRequest message or plain object * @returns Promise */ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise; /** * Calls SetIamPolicy. * @param request SetIamPolicyRequest message or plain object * @param callback Node-style callback called with the error, if any, and Policy */ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.cloud.resourcemanager.v3.Projects.SetIamPolicyCallback): void; /** * Calls SetIamPolicy. * @param request SetIamPolicyRequest message or plain object * @returns Promise */ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise; /** * Calls TestIamPermissions. * @param request TestIamPermissionsRequest message or plain object * @param callback Node-style callback called with the error, if any, and TestIamPermissionsResponse */ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest, callback: google.cloud.resourcemanager.v3.Projects.TestIamPermissionsCallback): void; /** * Calls TestIamPermissions. * @param request TestIamPermissionsRequest message or plain object * @returns Promise */ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise; } namespace Projects { /** * Callback as used by {@link google.cloud.resourcemanager.v3.Projects|getProject}. * @param error Error, if any * @param [response] Project */ type GetProjectCallback = (error: (Error|null), response?: google.cloud.resourcemanager.v3.Project) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.Projects|listProjects}. * @param error Error, if any * @param [response] ListProjectsResponse */ type ListProjectsCallback = (error: (Error|null), response?: google.cloud.resourcemanager.v3.ListProjectsResponse) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.Projects|searchProjects}. * @param error Error, if any * @param [response] SearchProjectsResponse */ type SearchProjectsCallback = (error: (Error|null), response?: google.cloud.resourcemanager.v3.SearchProjectsResponse) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.Projects|createProject}. * @param error Error, if any * @param [response] Operation */ type CreateProjectCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.Projects|updateProject}. * @param error Error, if any * @param [response] Operation */ type UpdateProjectCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.Projects|moveProject}. * @param error Error, if any * @param [response] Operation */ type MoveProjectCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.Projects|deleteProject}. * @param error Error, if any * @param [response] Operation */ type DeleteProjectCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.Projects|undeleteProject}. * @param error Error, if any * @param [response] Operation */ type UndeleteProjectCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.Projects|getIamPolicy}. * @param error Error, if any * @param [response] Policy */ type GetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.Projects|setIamPolicy}. * @param error Error, if any * @param [response] Policy */ type SetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.Projects|testIamPermissions}. * @param error Error, if any * @param [response] TestIamPermissionsResponse */ type TestIamPermissionsCallback = (error: (Error|null), response?: google.iam.v1.TestIamPermissionsResponse) => void; } /** Properties of a Project. */ interface IProject { /** Project name */ name?: (string|null); /** Project parent */ parent?: (string|null); /** Project projectId */ projectId?: (string|null); /** Project state */ state?: (google.cloud.resourcemanager.v3.Project.State|keyof typeof google.cloud.resourcemanager.v3.Project.State|null); /** Project displayName */ displayName?: (string|null); /** Project createTime */ createTime?: (google.protobuf.ITimestamp|null); /** Project updateTime */ updateTime?: (google.protobuf.ITimestamp|null); /** Project deleteTime */ deleteTime?: (google.protobuf.ITimestamp|null); /** Project etag */ etag?: (string|null); /** Project labels */ labels?: ({ [k: string]: string }|null); } /** Represents a Project. */ class Project implements IProject { /** * Constructs a new Project. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IProject); /** Project name. */ public name: string; /** Project parent. */ public parent: string; /** Project projectId. */ public projectId: string; /** Project state. */ public state: (google.cloud.resourcemanager.v3.Project.State|keyof typeof google.cloud.resourcemanager.v3.Project.State); /** Project displayName. */ public displayName: string; /** Project createTime. */ public createTime?: (google.protobuf.ITimestamp|null); /** Project updateTime. */ public updateTime?: (google.protobuf.ITimestamp|null); /** Project deleteTime. */ public deleteTime?: (google.protobuf.ITimestamp|null); /** Project etag. */ public etag: string; /** Project labels. */ public labels: { [k: string]: string }; /** * Creates a new Project instance using the specified properties. * @param [properties] Properties to set * @returns Project instance */ public static create(properties?: google.cloud.resourcemanager.v3.IProject): google.cloud.resourcemanager.v3.Project; /** * Encodes the specified Project message. Does not implicitly {@link google.cloud.resourcemanager.v3.Project.verify|verify} messages. * @param message Project message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IProject, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Project message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.Project.verify|verify} messages. * @param message Project message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IProject, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Project message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Project * @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.resourcemanager.v3.Project; /** * Decodes a Project message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Project * @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.resourcemanager.v3.Project; /** * Verifies a Project 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 Project message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Project */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.Project; /** * Creates a plain object from a Project message. Also converts values to other types if specified. * @param message Project * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.Project, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Project to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Project * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Project { /** State enum. */ enum State { STATE_UNSPECIFIED = 0, ACTIVE = 1, DELETE_REQUESTED = 2 } } /** Properties of a GetProjectRequest. */ interface IGetProjectRequest { /** GetProjectRequest name */ name?: (string|null); } /** Represents a GetProjectRequest. */ class GetProjectRequest implements IGetProjectRequest { /** * Constructs a new GetProjectRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IGetProjectRequest); /** GetProjectRequest name. */ public name: string; /** * Creates a new GetProjectRequest instance using the specified properties. * @param [properties] Properties to set * @returns GetProjectRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.IGetProjectRequest): google.cloud.resourcemanager.v3.GetProjectRequest; /** * Encodes the specified GetProjectRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.GetProjectRequest.verify|verify} messages. * @param message GetProjectRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IGetProjectRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetProjectRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.GetProjectRequest.verify|verify} messages. * @param message GetProjectRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IGetProjectRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetProjectRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetProjectRequest * @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.resourcemanager.v3.GetProjectRequest; /** * Decodes a GetProjectRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetProjectRequest * @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.resourcemanager.v3.GetProjectRequest; /** * Verifies a GetProjectRequest 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 GetProjectRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetProjectRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.GetProjectRequest; /** * Creates a plain object from a GetProjectRequest message. Also converts values to other types if specified. * @param message GetProjectRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.GetProjectRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetProjectRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GetProjectRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListProjectsRequest. */ interface IListProjectsRequest { /** ListProjectsRequest parent */ parent?: (string|null); /** ListProjectsRequest pageToken */ pageToken?: (string|null); /** ListProjectsRequest pageSize */ pageSize?: (number|null); /** ListProjectsRequest showDeleted */ showDeleted?: (boolean|null); } /** Represents a ListProjectsRequest. */ class ListProjectsRequest implements IListProjectsRequest { /** * Constructs a new ListProjectsRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IListProjectsRequest); /** ListProjectsRequest parent. */ public parent: string; /** ListProjectsRequest pageToken. */ public pageToken: string; /** ListProjectsRequest pageSize. */ public pageSize: number; /** ListProjectsRequest showDeleted. */ public showDeleted: boolean; /** * Creates a new ListProjectsRequest instance using the specified properties. * @param [properties] Properties to set * @returns ListProjectsRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.IListProjectsRequest): google.cloud.resourcemanager.v3.ListProjectsRequest; /** * Encodes the specified ListProjectsRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.ListProjectsRequest.verify|verify} messages. * @param message ListProjectsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IListProjectsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListProjectsRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.ListProjectsRequest.verify|verify} messages. * @param message ListProjectsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IListProjectsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListProjectsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListProjectsRequest * @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.resourcemanager.v3.ListProjectsRequest; /** * Decodes a ListProjectsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListProjectsRequest * @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.resourcemanager.v3.ListProjectsRequest; /** * Verifies a ListProjectsRequest 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 ListProjectsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListProjectsRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.ListProjectsRequest; /** * Creates a plain object from a ListProjectsRequest message. Also converts values to other types if specified. * @param message ListProjectsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.ListProjectsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListProjectsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListProjectsRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListProjectsResponse. */ interface IListProjectsResponse { /** ListProjectsResponse projects */ projects?: (google.cloud.resourcemanager.v3.IProject[]|null); /** ListProjectsResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents a ListProjectsResponse. */ class ListProjectsResponse implements IListProjectsResponse { /** * Constructs a new ListProjectsResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IListProjectsResponse); /** ListProjectsResponse projects. */ public projects: google.cloud.resourcemanager.v3.IProject[]; /** ListProjectsResponse nextPageToken. */ public nextPageToken: string; /** * Creates a new ListProjectsResponse instance using the specified properties. * @param [properties] Properties to set * @returns ListProjectsResponse instance */ public static create(properties?: google.cloud.resourcemanager.v3.IListProjectsResponse): google.cloud.resourcemanager.v3.ListProjectsResponse; /** * Encodes the specified ListProjectsResponse message. Does not implicitly {@link google.cloud.resourcemanager.v3.ListProjectsResponse.verify|verify} messages. * @param message ListProjectsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IListProjectsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListProjectsResponse message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.ListProjectsResponse.verify|verify} messages. * @param message ListProjectsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IListProjectsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListProjectsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListProjectsResponse * @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.resourcemanager.v3.ListProjectsResponse; /** * Decodes a ListProjectsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListProjectsResponse * @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.resourcemanager.v3.ListProjectsResponse; /** * Verifies a ListProjectsResponse 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 ListProjectsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListProjectsResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.ListProjectsResponse; /** * Creates a plain object from a ListProjectsResponse message. Also converts values to other types if specified. * @param message ListProjectsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.ListProjectsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListProjectsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListProjectsResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SearchProjectsRequest. */ interface ISearchProjectsRequest { /** SearchProjectsRequest query */ query?: (string|null); /** SearchProjectsRequest pageToken */ pageToken?: (string|null); /** SearchProjectsRequest pageSize */ pageSize?: (number|null); } /** Represents a SearchProjectsRequest. */ class SearchProjectsRequest implements ISearchProjectsRequest { /** * Constructs a new SearchProjectsRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.ISearchProjectsRequest); /** SearchProjectsRequest query. */ public query: string; /** SearchProjectsRequest pageToken. */ public pageToken: string; /** SearchProjectsRequest pageSize. */ public pageSize: number; /** * Creates a new SearchProjectsRequest instance using the specified properties. * @param [properties] Properties to set * @returns SearchProjectsRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.ISearchProjectsRequest): google.cloud.resourcemanager.v3.SearchProjectsRequest; /** * Encodes the specified SearchProjectsRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.SearchProjectsRequest.verify|verify} messages. * @param message SearchProjectsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.ISearchProjectsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SearchProjectsRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.SearchProjectsRequest.verify|verify} messages. * @param message SearchProjectsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.ISearchProjectsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SearchProjectsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SearchProjectsRequest * @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.resourcemanager.v3.SearchProjectsRequest; /** * Decodes a SearchProjectsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SearchProjectsRequest * @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.resourcemanager.v3.SearchProjectsRequest; /** * Verifies a SearchProjectsRequest 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 SearchProjectsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SearchProjectsRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.SearchProjectsRequest; /** * Creates a plain object from a SearchProjectsRequest message. Also converts values to other types if specified. * @param message SearchProjectsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.SearchProjectsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SearchProjectsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SearchProjectsRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SearchProjectsResponse. */ interface ISearchProjectsResponse { /** SearchProjectsResponse projects */ projects?: (google.cloud.resourcemanager.v3.IProject[]|null); /** SearchProjectsResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents a SearchProjectsResponse. */ class SearchProjectsResponse implements ISearchProjectsResponse { /** * Constructs a new SearchProjectsResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.ISearchProjectsResponse); /** SearchProjectsResponse projects. */ public projects: google.cloud.resourcemanager.v3.IProject[]; /** SearchProjectsResponse nextPageToken. */ public nextPageToken: string; /** * Creates a new SearchProjectsResponse instance using the specified properties. * @param [properties] Properties to set * @returns SearchProjectsResponse instance */ public static create(properties?: google.cloud.resourcemanager.v3.ISearchProjectsResponse): google.cloud.resourcemanager.v3.SearchProjectsResponse; /** * Encodes the specified SearchProjectsResponse message. Does not implicitly {@link google.cloud.resourcemanager.v3.SearchProjectsResponse.verify|verify} messages. * @param message SearchProjectsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.ISearchProjectsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SearchProjectsResponse message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.SearchProjectsResponse.verify|verify} messages. * @param message SearchProjectsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.ISearchProjectsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SearchProjectsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SearchProjectsResponse * @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.resourcemanager.v3.SearchProjectsResponse; /** * Decodes a SearchProjectsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SearchProjectsResponse * @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.resourcemanager.v3.SearchProjectsResponse; /** * Verifies a SearchProjectsResponse 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 SearchProjectsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SearchProjectsResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.SearchProjectsResponse; /** * Creates a plain object from a SearchProjectsResponse message. Also converts values to other types if specified. * @param message SearchProjectsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.SearchProjectsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SearchProjectsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SearchProjectsResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateProjectRequest. */ interface ICreateProjectRequest { /** CreateProjectRequest project */ project?: (google.cloud.resourcemanager.v3.IProject|null); } /** Represents a CreateProjectRequest. */ class CreateProjectRequest implements ICreateProjectRequest { /** * Constructs a new CreateProjectRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.ICreateProjectRequest); /** CreateProjectRequest project. */ public project?: (google.cloud.resourcemanager.v3.IProject|null); /** * Creates a new CreateProjectRequest instance using the specified properties. * @param [properties] Properties to set * @returns CreateProjectRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.ICreateProjectRequest): google.cloud.resourcemanager.v3.CreateProjectRequest; /** * Encodes the specified CreateProjectRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.CreateProjectRequest.verify|verify} messages. * @param message CreateProjectRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.ICreateProjectRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CreateProjectRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.CreateProjectRequest.verify|verify} messages. * @param message CreateProjectRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.ICreateProjectRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CreateProjectRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CreateProjectRequest * @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.resourcemanager.v3.CreateProjectRequest; /** * Decodes a CreateProjectRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CreateProjectRequest * @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.resourcemanager.v3.CreateProjectRequest; /** * Verifies a CreateProjectRequest 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 CreateProjectRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CreateProjectRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.CreateProjectRequest; /** * Creates a plain object from a CreateProjectRequest message. Also converts values to other types if specified. * @param message CreateProjectRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.CreateProjectRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CreateProjectRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CreateProjectRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateProjectMetadata. */ interface ICreateProjectMetadata { /** CreateProjectMetadata createTime */ createTime?: (google.protobuf.ITimestamp|null); /** CreateProjectMetadata gettable */ gettable?: (boolean|null); /** CreateProjectMetadata ready */ ready?: (boolean|null); } /** Represents a CreateProjectMetadata. */ class CreateProjectMetadata implements ICreateProjectMetadata { /** * Constructs a new CreateProjectMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.ICreateProjectMetadata); /** CreateProjectMetadata createTime. */ public createTime?: (google.protobuf.ITimestamp|null); /** CreateProjectMetadata gettable. */ public gettable: boolean; /** CreateProjectMetadata ready. */ public ready: boolean; /** * Creates a new CreateProjectMetadata instance using the specified properties. * @param [properties] Properties to set * @returns CreateProjectMetadata instance */ public static create(properties?: google.cloud.resourcemanager.v3.ICreateProjectMetadata): google.cloud.resourcemanager.v3.CreateProjectMetadata; /** * Encodes the specified CreateProjectMetadata message. Does not implicitly {@link google.cloud.resourcemanager.v3.CreateProjectMetadata.verify|verify} messages. * @param message CreateProjectMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.ICreateProjectMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CreateProjectMetadata message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.CreateProjectMetadata.verify|verify} messages. * @param message CreateProjectMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.ICreateProjectMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CreateProjectMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CreateProjectMetadata * @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.resourcemanager.v3.CreateProjectMetadata; /** * Decodes a CreateProjectMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CreateProjectMetadata * @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.resourcemanager.v3.CreateProjectMetadata; /** * Verifies a CreateProjectMetadata 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 CreateProjectMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CreateProjectMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.CreateProjectMetadata; /** * Creates a plain object from a CreateProjectMetadata message. Also converts values to other types if specified. * @param message CreateProjectMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.CreateProjectMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CreateProjectMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CreateProjectMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateProjectRequest. */ interface IUpdateProjectRequest { /** UpdateProjectRequest project */ project?: (google.cloud.resourcemanager.v3.IProject|null); /** UpdateProjectRequest updateMask */ updateMask?: (google.protobuf.IFieldMask|null); } /** Represents an UpdateProjectRequest. */ class UpdateProjectRequest implements IUpdateProjectRequest { /** * Constructs a new UpdateProjectRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IUpdateProjectRequest); /** UpdateProjectRequest project. */ public project?: (google.cloud.resourcemanager.v3.IProject|null); /** UpdateProjectRequest updateMask. */ public updateMask?: (google.protobuf.IFieldMask|null); /** * Creates a new UpdateProjectRequest instance using the specified properties. * @param [properties] Properties to set * @returns UpdateProjectRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.IUpdateProjectRequest): google.cloud.resourcemanager.v3.UpdateProjectRequest; /** * Encodes the specified UpdateProjectRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.UpdateProjectRequest.verify|verify} messages. * @param message UpdateProjectRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IUpdateProjectRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UpdateProjectRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.UpdateProjectRequest.verify|verify} messages. * @param message UpdateProjectRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IUpdateProjectRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UpdateProjectRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UpdateProjectRequest * @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.resourcemanager.v3.UpdateProjectRequest; /** * Decodes an UpdateProjectRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UpdateProjectRequest * @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.resourcemanager.v3.UpdateProjectRequest; /** * Verifies an UpdateProjectRequest 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 UpdateProjectRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UpdateProjectRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.UpdateProjectRequest; /** * Creates a plain object from an UpdateProjectRequest message. Also converts values to other types if specified. * @param message UpdateProjectRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.UpdateProjectRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UpdateProjectRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UpdateProjectRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateProjectMetadata. */ interface IUpdateProjectMetadata { } /** Represents an UpdateProjectMetadata. */ class UpdateProjectMetadata implements IUpdateProjectMetadata { /** * Constructs a new UpdateProjectMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IUpdateProjectMetadata); /** * Creates a new UpdateProjectMetadata instance using the specified properties. * @param [properties] Properties to set * @returns UpdateProjectMetadata instance */ public static create(properties?: google.cloud.resourcemanager.v3.IUpdateProjectMetadata): google.cloud.resourcemanager.v3.UpdateProjectMetadata; /** * Encodes the specified UpdateProjectMetadata message. Does not implicitly {@link google.cloud.resourcemanager.v3.UpdateProjectMetadata.verify|verify} messages. * @param message UpdateProjectMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IUpdateProjectMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UpdateProjectMetadata message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.UpdateProjectMetadata.verify|verify} messages. * @param message UpdateProjectMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IUpdateProjectMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UpdateProjectMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UpdateProjectMetadata * @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.resourcemanager.v3.UpdateProjectMetadata; /** * Decodes an UpdateProjectMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UpdateProjectMetadata * @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.resourcemanager.v3.UpdateProjectMetadata; /** * Verifies an UpdateProjectMetadata 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 UpdateProjectMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UpdateProjectMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.UpdateProjectMetadata; /** * Creates a plain object from an UpdateProjectMetadata message. Also converts values to other types if specified. * @param message UpdateProjectMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.UpdateProjectMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UpdateProjectMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UpdateProjectMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MoveProjectRequest. */ interface IMoveProjectRequest { /** MoveProjectRequest name */ name?: (string|null); /** MoveProjectRequest destinationParent */ destinationParent?: (string|null); } /** Represents a MoveProjectRequest. */ class MoveProjectRequest implements IMoveProjectRequest { /** * Constructs a new MoveProjectRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IMoveProjectRequest); /** MoveProjectRequest name. */ public name: string; /** MoveProjectRequest destinationParent. */ public destinationParent: string; /** * Creates a new MoveProjectRequest instance using the specified properties. * @param [properties] Properties to set * @returns MoveProjectRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.IMoveProjectRequest): google.cloud.resourcemanager.v3.MoveProjectRequest; /** * Encodes the specified MoveProjectRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.MoveProjectRequest.verify|verify} messages. * @param message MoveProjectRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IMoveProjectRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MoveProjectRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.MoveProjectRequest.verify|verify} messages. * @param message MoveProjectRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IMoveProjectRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MoveProjectRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MoveProjectRequest * @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.resourcemanager.v3.MoveProjectRequest; /** * Decodes a MoveProjectRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MoveProjectRequest * @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.resourcemanager.v3.MoveProjectRequest; /** * Verifies a MoveProjectRequest 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 MoveProjectRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MoveProjectRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.MoveProjectRequest; /** * Creates a plain object from a MoveProjectRequest message. Also converts values to other types if specified. * @param message MoveProjectRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.MoveProjectRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MoveProjectRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MoveProjectRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MoveProjectMetadata. */ interface IMoveProjectMetadata { } /** Represents a MoveProjectMetadata. */ class MoveProjectMetadata implements IMoveProjectMetadata { /** * Constructs a new MoveProjectMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IMoveProjectMetadata); /** * Creates a new MoveProjectMetadata instance using the specified properties. * @param [properties] Properties to set * @returns MoveProjectMetadata instance */ public static create(properties?: google.cloud.resourcemanager.v3.IMoveProjectMetadata): google.cloud.resourcemanager.v3.MoveProjectMetadata; /** * Encodes the specified MoveProjectMetadata message. Does not implicitly {@link google.cloud.resourcemanager.v3.MoveProjectMetadata.verify|verify} messages. * @param message MoveProjectMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IMoveProjectMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MoveProjectMetadata message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.MoveProjectMetadata.verify|verify} messages. * @param message MoveProjectMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IMoveProjectMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MoveProjectMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MoveProjectMetadata * @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.resourcemanager.v3.MoveProjectMetadata; /** * Decodes a MoveProjectMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MoveProjectMetadata * @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.resourcemanager.v3.MoveProjectMetadata; /** * Verifies a MoveProjectMetadata 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 MoveProjectMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MoveProjectMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.MoveProjectMetadata; /** * Creates a plain object from a MoveProjectMetadata message. Also converts values to other types if specified. * @param message MoveProjectMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.MoveProjectMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MoveProjectMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MoveProjectMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteProjectRequest. */ interface IDeleteProjectRequest { /** DeleteProjectRequest name */ name?: (string|null); } /** Represents a DeleteProjectRequest. */ class DeleteProjectRequest implements IDeleteProjectRequest { /** * Constructs a new DeleteProjectRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IDeleteProjectRequest); /** DeleteProjectRequest name. */ public name: string; /** * Creates a new DeleteProjectRequest instance using the specified properties. * @param [properties] Properties to set * @returns DeleteProjectRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.IDeleteProjectRequest): google.cloud.resourcemanager.v3.DeleteProjectRequest; /** * Encodes the specified DeleteProjectRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.DeleteProjectRequest.verify|verify} messages. * @param message DeleteProjectRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IDeleteProjectRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteProjectRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.DeleteProjectRequest.verify|verify} messages. * @param message DeleteProjectRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IDeleteProjectRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteProjectRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteProjectRequest * @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.resourcemanager.v3.DeleteProjectRequest; /** * Decodes a DeleteProjectRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteProjectRequest * @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.resourcemanager.v3.DeleteProjectRequest; /** * Verifies a DeleteProjectRequest 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 DeleteProjectRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteProjectRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.DeleteProjectRequest; /** * Creates a plain object from a DeleteProjectRequest message. Also converts values to other types if specified. * @param message DeleteProjectRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.DeleteProjectRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteProjectRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeleteProjectRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteProjectMetadata. */ interface IDeleteProjectMetadata { } /** Represents a DeleteProjectMetadata. */ class DeleteProjectMetadata implements IDeleteProjectMetadata { /** * Constructs a new DeleteProjectMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IDeleteProjectMetadata); /** * Creates a new DeleteProjectMetadata instance using the specified properties. * @param [properties] Properties to set * @returns DeleteProjectMetadata instance */ public static create(properties?: google.cloud.resourcemanager.v3.IDeleteProjectMetadata): google.cloud.resourcemanager.v3.DeleteProjectMetadata; /** * Encodes the specified DeleteProjectMetadata message. Does not implicitly {@link google.cloud.resourcemanager.v3.DeleteProjectMetadata.verify|verify} messages. * @param message DeleteProjectMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IDeleteProjectMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteProjectMetadata message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.DeleteProjectMetadata.verify|verify} messages. * @param message DeleteProjectMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IDeleteProjectMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteProjectMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteProjectMetadata * @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.resourcemanager.v3.DeleteProjectMetadata; /** * Decodes a DeleteProjectMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteProjectMetadata * @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.resourcemanager.v3.DeleteProjectMetadata; /** * Verifies a DeleteProjectMetadata 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 DeleteProjectMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteProjectMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.DeleteProjectMetadata; /** * Creates a plain object from a DeleteProjectMetadata message. Also converts values to other types if specified. * @param message DeleteProjectMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.DeleteProjectMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteProjectMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeleteProjectMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UndeleteProjectRequest. */ interface IUndeleteProjectRequest { /** UndeleteProjectRequest name */ name?: (string|null); } /** Represents an UndeleteProjectRequest. */ class UndeleteProjectRequest implements IUndeleteProjectRequest { /** * Constructs a new UndeleteProjectRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IUndeleteProjectRequest); /** UndeleteProjectRequest name. */ public name: string; /** * Creates a new UndeleteProjectRequest instance using the specified properties. * @param [properties] Properties to set * @returns UndeleteProjectRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.IUndeleteProjectRequest): google.cloud.resourcemanager.v3.UndeleteProjectRequest; /** * Encodes the specified UndeleteProjectRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.UndeleteProjectRequest.verify|verify} messages. * @param message UndeleteProjectRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IUndeleteProjectRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UndeleteProjectRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.UndeleteProjectRequest.verify|verify} messages. * @param message UndeleteProjectRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IUndeleteProjectRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UndeleteProjectRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UndeleteProjectRequest * @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.resourcemanager.v3.UndeleteProjectRequest; /** * Decodes an UndeleteProjectRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UndeleteProjectRequest * @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.resourcemanager.v3.UndeleteProjectRequest; /** * Verifies an UndeleteProjectRequest 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 UndeleteProjectRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UndeleteProjectRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.UndeleteProjectRequest; /** * Creates a plain object from an UndeleteProjectRequest message. Also converts values to other types if specified. * @param message UndeleteProjectRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.UndeleteProjectRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UndeleteProjectRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UndeleteProjectRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UndeleteProjectMetadata. */ interface IUndeleteProjectMetadata { } /** Represents an UndeleteProjectMetadata. */ class UndeleteProjectMetadata implements IUndeleteProjectMetadata { /** * Constructs a new UndeleteProjectMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IUndeleteProjectMetadata); /** * Creates a new UndeleteProjectMetadata instance using the specified properties. * @param [properties] Properties to set * @returns UndeleteProjectMetadata instance */ public static create(properties?: google.cloud.resourcemanager.v3.IUndeleteProjectMetadata): google.cloud.resourcemanager.v3.UndeleteProjectMetadata; /** * Encodes the specified UndeleteProjectMetadata message. Does not implicitly {@link google.cloud.resourcemanager.v3.UndeleteProjectMetadata.verify|verify} messages. * @param message UndeleteProjectMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IUndeleteProjectMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UndeleteProjectMetadata message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.UndeleteProjectMetadata.verify|verify} messages. * @param message UndeleteProjectMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IUndeleteProjectMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UndeleteProjectMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UndeleteProjectMetadata * @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.resourcemanager.v3.UndeleteProjectMetadata; /** * Decodes an UndeleteProjectMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UndeleteProjectMetadata * @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.resourcemanager.v3.UndeleteProjectMetadata; /** * Verifies an UndeleteProjectMetadata 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 UndeleteProjectMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UndeleteProjectMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.UndeleteProjectMetadata; /** * Creates a plain object from an UndeleteProjectMetadata message. Also converts values to other types if specified. * @param message UndeleteProjectMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.UndeleteProjectMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UndeleteProjectMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UndeleteProjectMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents a TagBindings */ class TagBindings extends $protobuf.rpc.Service { /** * Constructs a new TagBindings 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 TagBindings 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): TagBindings; /** * Calls ListTagBindings. * @param request ListTagBindingsRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListTagBindingsResponse */ public listTagBindings(request: google.cloud.resourcemanager.v3.IListTagBindingsRequest, callback: google.cloud.resourcemanager.v3.TagBindings.ListTagBindingsCallback): void; /** * Calls ListTagBindings. * @param request ListTagBindingsRequest message or plain object * @returns Promise */ public listTagBindings(request: google.cloud.resourcemanager.v3.IListTagBindingsRequest): Promise; /** * Calls CreateTagBinding. * @param request CreateTagBindingRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public createTagBinding(request: google.cloud.resourcemanager.v3.ICreateTagBindingRequest, callback: google.cloud.resourcemanager.v3.TagBindings.CreateTagBindingCallback): void; /** * Calls CreateTagBinding. * @param request CreateTagBindingRequest message or plain object * @returns Promise */ public createTagBinding(request: google.cloud.resourcemanager.v3.ICreateTagBindingRequest): Promise; /** * Calls DeleteTagBinding. * @param request DeleteTagBindingRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public deleteTagBinding(request: google.cloud.resourcemanager.v3.IDeleteTagBindingRequest, callback: google.cloud.resourcemanager.v3.TagBindings.DeleteTagBindingCallback): void; /** * Calls DeleteTagBinding. * @param request DeleteTagBindingRequest message or plain object * @returns Promise */ public deleteTagBinding(request: google.cloud.resourcemanager.v3.IDeleteTagBindingRequest): Promise; /** * Calls ListEffectiveTags. * @param request ListEffectiveTagsRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListEffectiveTagsResponse */ public listEffectiveTags(request: google.cloud.resourcemanager.v3.IListEffectiveTagsRequest, callback: google.cloud.resourcemanager.v3.TagBindings.ListEffectiveTagsCallback): void; /** * Calls ListEffectiveTags. * @param request ListEffectiveTagsRequest message or plain object * @returns Promise */ public listEffectiveTags(request: google.cloud.resourcemanager.v3.IListEffectiveTagsRequest): Promise; } namespace TagBindings { /** * Callback as used by {@link google.cloud.resourcemanager.v3.TagBindings|listTagBindings}. * @param error Error, if any * @param [response] ListTagBindingsResponse */ type ListTagBindingsCallback = (error: (Error|null), response?: google.cloud.resourcemanager.v3.ListTagBindingsResponse) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.TagBindings|createTagBinding}. * @param error Error, if any * @param [response] Operation */ type CreateTagBindingCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.TagBindings|deleteTagBinding}. * @param error Error, if any * @param [response] Operation */ type DeleteTagBindingCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.TagBindings|listEffectiveTags}. * @param error Error, if any * @param [response] ListEffectiveTagsResponse */ type ListEffectiveTagsCallback = (error: (Error|null), response?: google.cloud.resourcemanager.v3.ListEffectiveTagsResponse) => void; } /** Properties of a TagBinding. */ interface ITagBinding { /** TagBinding name */ name?: (string|null); /** TagBinding parent */ parent?: (string|null); /** TagBinding tagValue */ tagValue?: (string|null); /** TagBinding tagValueNamespacedName */ tagValueNamespacedName?: (string|null); } /** Represents a TagBinding. */ class TagBinding implements ITagBinding { /** * Constructs a new TagBinding. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.ITagBinding); /** TagBinding name. */ public name: string; /** TagBinding parent. */ public parent: string; /** TagBinding tagValue. */ public tagValue: string; /** TagBinding tagValueNamespacedName. */ public tagValueNamespacedName: string; /** * Creates a new TagBinding instance using the specified properties. * @param [properties] Properties to set * @returns TagBinding instance */ public static create(properties?: google.cloud.resourcemanager.v3.ITagBinding): google.cloud.resourcemanager.v3.TagBinding; /** * Encodes the specified TagBinding message. Does not implicitly {@link google.cloud.resourcemanager.v3.TagBinding.verify|verify} messages. * @param message TagBinding message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.ITagBinding, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TagBinding message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.TagBinding.verify|verify} messages. * @param message TagBinding message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.ITagBinding, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TagBinding message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TagBinding * @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.resourcemanager.v3.TagBinding; /** * Decodes a TagBinding message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TagBinding * @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.resourcemanager.v3.TagBinding; /** * Verifies a TagBinding 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 TagBinding message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TagBinding */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.TagBinding; /** * Creates a plain object from a TagBinding message. Also converts values to other types if specified. * @param message TagBinding * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.TagBinding, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TagBinding to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for TagBinding * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateTagBindingMetadata. */ interface ICreateTagBindingMetadata { } /** Represents a CreateTagBindingMetadata. */ class CreateTagBindingMetadata implements ICreateTagBindingMetadata { /** * Constructs a new CreateTagBindingMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.ICreateTagBindingMetadata); /** * Creates a new CreateTagBindingMetadata instance using the specified properties. * @param [properties] Properties to set * @returns CreateTagBindingMetadata instance */ public static create(properties?: google.cloud.resourcemanager.v3.ICreateTagBindingMetadata): google.cloud.resourcemanager.v3.CreateTagBindingMetadata; /** * Encodes the specified CreateTagBindingMetadata message. Does not implicitly {@link google.cloud.resourcemanager.v3.CreateTagBindingMetadata.verify|verify} messages. * @param message CreateTagBindingMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.ICreateTagBindingMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CreateTagBindingMetadata message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.CreateTagBindingMetadata.verify|verify} messages. * @param message CreateTagBindingMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.ICreateTagBindingMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CreateTagBindingMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CreateTagBindingMetadata * @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.resourcemanager.v3.CreateTagBindingMetadata; /** * Decodes a CreateTagBindingMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CreateTagBindingMetadata * @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.resourcemanager.v3.CreateTagBindingMetadata; /** * Verifies a CreateTagBindingMetadata 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 CreateTagBindingMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CreateTagBindingMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.CreateTagBindingMetadata; /** * Creates a plain object from a CreateTagBindingMetadata message. Also converts values to other types if specified. * @param message CreateTagBindingMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.CreateTagBindingMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CreateTagBindingMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CreateTagBindingMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateTagBindingRequest. */ interface ICreateTagBindingRequest { /** CreateTagBindingRequest tagBinding */ tagBinding?: (google.cloud.resourcemanager.v3.ITagBinding|null); /** CreateTagBindingRequest validateOnly */ validateOnly?: (boolean|null); } /** Represents a CreateTagBindingRequest. */ class CreateTagBindingRequest implements ICreateTagBindingRequest { /** * Constructs a new CreateTagBindingRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.ICreateTagBindingRequest); /** CreateTagBindingRequest tagBinding. */ public tagBinding?: (google.cloud.resourcemanager.v3.ITagBinding|null); /** CreateTagBindingRequest validateOnly. */ public validateOnly: boolean; /** * Creates a new CreateTagBindingRequest instance using the specified properties. * @param [properties] Properties to set * @returns CreateTagBindingRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.ICreateTagBindingRequest): google.cloud.resourcemanager.v3.CreateTagBindingRequest; /** * Encodes the specified CreateTagBindingRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.CreateTagBindingRequest.verify|verify} messages. * @param message CreateTagBindingRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.ICreateTagBindingRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CreateTagBindingRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.CreateTagBindingRequest.verify|verify} messages. * @param message CreateTagBindingRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.ICreateTagBindingRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CreateTagBindingRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CreateTagBindingRequest * @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.resourcemanager.v3.CreateTagBindingRequest; /** * Decodes a CreateTagBindingRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CreateTagBindingRequest * @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.resourcemanager.v3.CreateTagBindingRequest; /** * Verifies a CreateTagBindingRequest 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 CreateTagBindingRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CreateTagBindingRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.CreateTagBindingRequest; /** * Creates a plain object from a CreateTagBindingRequest message. Also converts values to other types if specified. * @param message CreateTagBindingRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.CreateTagBindingRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CreateTagBindingRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CreateTagBindingRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteTagBindingMetadata. */ interface IDeleteTagBindingMetadata { } /** Represents a DeleteTagBindingMetadata. */ class DeleteTagBindingMetadata implements IDeleteTagBindingMetadata { /** * Constructs a new DeleteTagBindingMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IDeleteTagBindingMetadata); /** * Creates a new DeleteTagBindingMetadata instance using the specified properties. * @param [properties] Properties to set * @returns DeleteTagBindingMetadata instance */ public static create(properties?: google.cloud.resourcemanager.v3.IDeleteTagBindingMetadata): google.cloud.resourcemanager.v3.DeleteTagBindingMetadata; /** * Encodes the specified DeleteTagBindingMetadata message. Does not implicitly {@link google.cloud.resourcemanager.v3.DeleteTagBindingMetadata.verify|verify} messages. * @param message DeleteTagBindingMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IDeleteTagBindingMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteTagBindingMetadata message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.DeleteTagBindingMetadata.verify|verify} messages. * @param message DeleteTagBindingMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IDeleteTagBindingMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteTagBindingMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteTagBindingMetadata * @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.resourcemanager.v3.DeleteTagBindingMetadata; /** * Decodes a DeleteTagBindingMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteTagBindingMetadata * @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.resourcemanager.v3.DeleteTagBindingMetadata; /** * Verifies a DeleteTagBindingMetadata 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 DeleteTagBindingMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteTagBindingMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.DeleteTagBindingMetadata; /** * Creates a plain object from a DeleteTagBindingMetadata message. Also converts values to other types if specified. * @param message DeleteTagBindingMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.DeleteTagBindingMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteTagBindingMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeleteTagBindingMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteTagBindingRequest. */ interface IDeleteTagBindingRequest { /** DeleteTagBindingRequest name */ name?: (string|null); } /** Represents a DeleteTagBindingRequest. */ class DeleteTagBindingRequest implements IDeleteTagBindingRequest { /** * Constructs a new DeleteTagBindingRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IDeleteTagBindingRequest); /** DeleteTagBindingRequest name. */ public name: string; /** * Creates a new DeleteTagBindingRequest instance using the specified properties. * @param [properties] Properties to set * @returns DeleteTagBindingRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.IDeleteTagBindingRequest): google.cloud.resourcemanager.v3.DeleteTagBindingRequest; /** * Encodes the specified DeleteTagBindingRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.DeleteTagBindingRequest.verify|verify} messages. * @param message DeleteTagBindingRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IDeleteTagBindingRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteTagBindingRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.DeleteTagBindingRequest.verify|verify} messages. * @param message DeleteTagBindingRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IDeleteTagBindingRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteTagBindingRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteTagBindingRequest * @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.resourcemanager.v3.DeleteTagBindingRequest; /** * Decodes a DeleteTagBindingRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteTagBindingRequest * @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.resourcemanager.v3.DeleteTagBindingRequest; /** * Verifies a DeleteTagBindingRequest 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 DeleteTagBindingRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteTagBindingRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.DeleteTagBindingRequest; /** * Creates a plain object from a DeleteTagBindingRequest message. Also converts values to other types if specified. * @param message DeleteTagBindingRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.DeleteTagBindingRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteTagBindingRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeleteTagBindingRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListTagBindingsRequest. */ interface IListTagBindingsRequest { /** ListTagBindingsRequest parent */ parent?: (string|null); /** ListTagBindingsRequest pageSize */ pageSize?: (number|null); /** ListTagBindingsRequest pageToken */ pageToken?: (string|null); } /** Represents a ListTagBindingsRequest. */ class ListTagBindingsRequest implements IListTagBindingsRequest { /** * Constructs a new ListTagBindingsRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IListTagBindingsRequest); /** ListTagBindingsRequest parent. */ public parent: string; /** ListTagBindingsRequest pageSize. */ public pageSize: number; /** ListTagBindingsRequest pageToken. */ public pageToken: string; /** * Creates a new ListTagBindingsRequest instance using the specified properties. * @param [properties] Properties to set * @returns ListTagBindingsRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.IListTagBindingsRequest): google.cloud.resourcemanager.v3.ListTagBindingsRequest; /** * Encodes the specified ListTagBindingsRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.ListTagBindingsRequest.verify|verify} messages. * @param message ListTagBindingsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IListTagBindingsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListTagBindingsRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.ListTagBindingsRequest.verify|verify} messages. * @param message ListTagBindingsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IListTagBindingsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListTagBindingsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListTagBindingsRequest * @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.resourcemanager.v3.ListTagBindingsRequest; /** * Decodes a ListTagBindingsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListTagBindingsRequest * @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.resourcemanager.v3.ListTagBindingsRequest; /** * Verifies a ListTagBindingsRequest 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 ListTagBindingsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListTagBindingsRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.ListTagBindingsRequest; /** * Creates a plain object from a ListTagBindingsRequest message. Also converts values to other types if specified. * @param message ListTagBindingsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.ListTagBindingsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListTagBindingsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListTagBindingsRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListTagBindingsResponse. */ interface IListTagBindingsResponse { /** ListTagBindingsResponse tagBindings */ tagBindings?: (google.cloud.resourcemanager.v3.ITagBinding[]|null); /** ListTagBindingsResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents a ListTagBindingsResponse. */ class ListTagBindingsResponse implements IListTagBindingsResponse { /** * Constructs a new ListTagBindingsResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IListTagBindingsResponse); /** ListTagBindingsResponse tagBindings. */ public tagBindings: google.cloud.resourcemanager.v3.ITagBinding[]; /** ListTagBindingsResponse nextPageToken. */ public nextPageToken: string; /** * Creates a new ListTagBindingsResponse instance using the specified properties. * @param [properties] Properties to set * @returns ListTagBindingsResponse instance */ public static create(properties?: google.cloud.resourcemanager.v3.IListTagBindingsResponse): google.cloud.resourcemanager.v3.ListTagBindingsResponse; /** * Encodes the specified ListTagBindingsResponse message. Does not implicitly {@link google.cloud.resourcemanager.v3.ListTagBindingsResponse.verify|verify} messages. * @param message ListTagBindingsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IListTagBindingsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListTagBindingsResponse message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.ListTagBindingsResponse.verify|verify} messages. * @param message ListTagBindingsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IListTagBindingsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListTagBindingsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListTagBindingsResponse * @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.resourcemanager.v3.ListTagBindingsResponse; /** * Decodes a ListTagBindingsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListTagBindingsResponse * @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.resourcemanager.v3.ListTagBindingsResponse; /** * Verifies a ListTagBindingsResponse 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 ListTagBindingsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListTagBindingsResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.ListTagBindingsResponse; /** * Creates a plain object from a ListTagBindingsResponse message. Also converts values to other types if specified. * @param message ListTagBindingsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.ListTagBindingsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListTagBindingsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListTagBindingsResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListEffectiveTagsRequest. */ interface IListEffectiveTagsRequest { /** ListEffectiveTagsRequest parent */ parent?: (string|null); /** ListEffectiveTagsRequest pageSize */ pageSize?: (number|null); /** ListEffectiveTagsRequest pageToken */ pageToken?: (string|null); } /** Represents a ListEffectiveTagsRequest. */ class ListEffectiveTagsRequest implements IListEffectiveTagsRequest { /** * Constructs a new ListEffectiveTagsRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IListEffectiveTagsRequest); /** ListEffectiveTagsRequest parent. */ public parent: string; /** ListEffectiveTagsRequest pageSize. */ public pageSize: number; /** ListEffectiveTagsRequest pageToken. */ public pageToken: string; /** * Creates a new ListEffectiveTagsRequest instance using the specified properties. * @param [properties] Properties to set * @returns ListEffectiveTagsRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.IListEffectiveTagsRequest): google.cloud.resourcemanager.v3.ListEffectiveTagsRequest; /** * Encodes the specified ListEffectiveTagsRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.ListEffectiveTagsRequest.verify|verify} messages. * @param message ListEffectiveTagsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IListEffectiveTagsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListEffectiveTagsRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.ListEffectiveTagsRequest.verify|verify} messages. * @param message ListEffectiveTagsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IListEffectiveTagsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListEffectiveTagsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListEffectiveTagsRequest * @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.resourcemanager.v3.ListEffectiveTagsRequest; /** * Decodes a ListEffectiveTagsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListEffectiveTagsRequest * @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.resourcemanager.v3.ListEffectiveTagsRequest; /** * Verifies a ListEffectiveTagsRequest 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 ListEffectiveTagsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListEffectiveTagsRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.ListEffectiveTagsRequest; /** * Creates a plain object from a ListEffectiveTagsRequest message. Also converts values to other types if specified. * @param message ListEffectiveTagsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.ListEffectiveTagsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListEffectiveTagsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListEffectiveTagsRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListEffectiveTagsResponse. */ interface IListEffectiveTagsResponse { /** ListEffectiveTagsResponse effectiveTags */ effectiveTags?: (google.cloud.resourcemanager.v3.IEffectiveTag[]|null); /** ListEffectiveTagsResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents a ListEffectiveTagsResponse. */ class ListEffectiveTagsResponse implements IListEffectiveTagsResponse { /** * Constructs a new ListEffectiveTagsResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IListEffectiveTagsResponse); /** ListEffectiveTagsResponse effectiveTags. */ public effectiveTags: google.cloud.resourcemanager.v3.IEffectiveTag[]; /** ListEffectiveTagsResponse nextPageToken. */ public nextPageToken: string; /** * Creates a new ListEffectiveTagsResponse instance using the specified properties. * @param [properties] Properties to set * @returns ListEffectiveTagsResponse instance */ public static create(properties?: google.cloud.resourcemanager.v3.IListEffectiveTagsResponse): google.cloud.resourcemanager.v3.ListEffectiveTagsResponse; /** * Encodes the specified ListEffectiveTagsResponse message. Does not implicitly {@link google.cloud.resourcemanager.v3.ListEffectiveTagsResponse.verify|verify} messages. * @param message ListEffectiveTagsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IListEffectiveTagsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListEffectiveTagsResponse message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.ListEffectiveTagsResponse.verify|verify} messages. * @param message ListEffectiveTagsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IListEffectiveTagsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListEffectiveTagsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListEffectiveTagsResponse * @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.resourcemanager.v3.ListEffectiveTagsResponse; /** * Decodes a ListEffectiveTagsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListEffectiveTagsResponse * @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.resourcemanager.v3.ListEffectiveTagsResponse; /** * Verifies a ListEffectiveTagsResponse 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 ListEffectiveTagsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListEffectiveTagsResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.ListEffectiveTagsResponse; /** * Creates a plain object from a ListEffectiveTagsResponse message. Also converts values to other types if specified. * @param message ListEffectiveTagsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.ListEffectiveTagsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListEffectiveTagsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListEffectiveTagsResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EffectiveTag. */ interface IEffectiveTag { /** EffectiveTag tagValue */ tagValue?: (string|null); /** EffectiveTag namespacedTagValue */ namespacedTagValue?: (string|null); /** EffectiveTag tagKey */ tagKey?: (string|null); /** EffectiveTag namespacedTagKey */ namespacedTagKey?: (string|null); /** EffectiveTag tagKeyParentName */ tagKeyParentName?: (string|null); /** EffectiveTag inherited */ inherited?: (boolean|null); } /** Represents an EffectiveTag. */ class EffectiveTag implements IEffectiveTag { /** * Constructs a new EffectiveTag. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IEffectiveTag); /** EffectiveTag tagValue. */ public tagValue: string; /** EffectiveTag namespacedTagValue. */ public namespacedTagValue: string; /** EffectiveTag tagKey. */ public tagKey: string; /** EffectiveTag namespacedTagKey. */ public namespacedTagKey: string; /** EffectiveTag tagKeyParentName. */ public tagKeyParentName: string; /** EffectiveTag inherited. */ public inherited: boolean; /** * Creates a new EffectiveTag instance using the specified properties. * @param [properties] Properties to set * @returns EffectiveTag instance */ public static create(properties?: google.cloud.resourcemanager.v3.IEffectiveTag): google.cloud.resourcemanager.v3.EffectiveTag; /** * Encodes the specified EffectiveTag message. Does not implicitly {@link google.cloud.resourcemanager.v3.EffectiveTag.verify|verify} messages. * @param message EffectiveTag message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IEffectiveTag, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EffectiveTag message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.EffectiveTag.verify|verify} messages. * @param message EffectiveTag message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IEffectiveTag, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EffectiveTag message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EffectiveTag * @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.resourcemanager.v3.EffectiveTag; /** * Decodes an EffectiveTag message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EffectiveTag * @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.resourcemanager.v3.EffectiveTag; /** * Verifies an EffectiveTag 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 EffectiveTag message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EffectiveTag */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.EffectiveTag; /** * Creates a plain object from an EffectiveTag message. Also converts values to other types if specified. * @param message EffectiveTag * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.EffectiveTag, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EffectiveTag to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EffectiveTag * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents a TagHolds */ class TagHolds extends $protobuf.rpc.Service { /** * Constructs a new TagHolds 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 TagHolds 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): TagHolds; /** * Calls CreateTagHold. * @param request CreateTagHoldRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public createTagHold(request: google.cloud.resourcemanager.v3.ICreateTagHoldRequest, callback: google.cloud.resourcemanager.v3.TagHolds.CreateTagHoldCallback): void; /** * Calls CreateTagHold. * @param request CreateTagHoldRequest message or plain object * @returns Promise */ public createTagHold(request: google.cloud.resourcemanager.v3.ICreateTagHoldRequest): Promise; /** * Calls DeleteTagHold. * @param request DeleteTagHoldRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public deleteTagHold(request: google.cloud.resourcemanager.v3.IDeleteTagHoldRequest, callback: google.cloud.resourcemanager.v3.TagHolds.DeleteTagHoldCallback): void; /** * Calls DeleteTagHold. * @param request DeleteTagHoldRequest message or plain object * @returns Promise */ public deleteTagHold(request: google.cloud.resourcemanager.v3.IDeleteTagHoldRequest): Promise; /** * Calls ListTagHolds. * @param request ListTagHoldsRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListTagHoldsResponse */ public listTagHolds(request: google.cloud.resourcemanager.v3.IListTagHoldsRequest, callback: google.cloud.resourcemanager.v3.TagHolds.ListTagHoldsCallback): void; /** * Calls ListTagHolds. * @param request ListTagHoldsRequest message or plain object * @returns Promise */ public listTagHolds(request: google.cloud.resourcemanager.v3.IListTagHoldsRequest): Promise; } namespace TagHolds { /** * Callback as used by {@link google.cloud.resourcemanager.v3.TagHolds|createTagHold}. * @param error Error, if any * @param [response] Operation */ type CreateTagHoldCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.TagHolds|deleteTagHold}. * @param error Error, if any * @param [response] Operation */ type DeleteTagHoldCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.TagHolds|listTagHolds}. * @param error Error, if any * @param [response] ListTagHoldsResponse */ type ListTagHoldsCallback = (error: (Error|null), response?: google.cloud.resourcemanager.v3.ListTagHoldsResponse) => void; } /** Properties of a TagHold. */ interface ITagHold { /** TagHold name */ name?: (string|null); /** TagHold holder */ holder?: (string|null); /** TagHold origin */ origin?: (string|null); /** TagHold helpLink */ helpLink?: (string|null); /** TagHold createTime */ createTime?: (google.protobuf.ITimestamp|null); } /** Represents a TagHold. */ class TagHold implements ITagHold { /** * Constructs a new TagHold. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.ITagHold); /** TagHold name. */ public name: string; /** TagHold holder. */ public holder: string; /** TagHold origin. */ public origin: string; /** TagHold helpLink. */ public helpLink: string; /** TagHold createTime. */ public createTime?: (google.protobuf.ITimestamp|null); /** * Creates a new TagHold instance using the specified properties. * @param [properties] Properties to set * @returns TagHold instance */ public static create(properties?: google.cloud.resourcemanager.v3.ITagHold): google.cloud.resourcemanager.v3.TagHold; /** * Encodes the specified TagHold message. Does not implicitly {@link google.cloud.resourcemanager.v3.TagHold.verify|verify} messages. * @param message TagHold message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.ITagHold, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TagHold message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.TagHold.verify|verify} messages. * @param message TagHold message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.ITagHold, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TagHold message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TagHold * @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.resourcemanager.v3.TagHold; /** * Decodes a TagHold message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TagHold * @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.resourcemanager.v3.TagHold; /** * Verifies a TagHold 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 TagHold message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TagHold */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.TagHold; /** * Creates a plain object from a TagHold message. Also converts values to other types if specified. * @param message TagHold * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.TagHold, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TagHold to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for TagHold * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateTagHoldRequest. */ interface ICreateTagHoldRequest { /** CreateTagHoldRequest parent */ parent?: (string|null); /** CreateTagHoldRequest tagHold */ tagHold?: (google.cloud.resourcemanager.v3.ITagHold|null); /** CreateTagHoldRequest validateOnly */ validateOnly?: (boolean|null); } /** Represents a CreateTagHoldRequest. */ class CreateTagHoldRequest implements ICreateTagHoldRequest { /** * Constructs a new CreateTagHoldRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.ICreateTagHoldRequest); /** CreateTagHoldRequest parent. */ public parent: string; /** CreateTagHoldRequest tagHold. */ public tagHold?: (google.cloud.resourcemanager.v3.ITagHold|null); /** CreateTagHoldRequest validateOnly. */ public validateOnly: boolean; /** * Creates a new CreateTagHoldRequest instance using the specified properties. * @param [properties] Properties to set * @returns CreateTagHoldRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.ICreateTagHoldRequest): google.cloud.resourcemanager.v3.CreateTagHoldRequest; /** * Encodes the specified CreateTagHoldRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.CreateTagHoldRequest.verify|verify} messages. * @param message CreateTagHoldRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.ICreateTagHoldRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CreateTagHoldRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.CreateTagHoldRequest.verify|verify} messages. * @param message CreateTagHoldRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.ICreateTagHoldRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CreateTagHoldRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CreateTagHoldRequest * @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.resourcemanager.v3.CreateTagHoldRequest; /** * Decodes a CreateTagHoldRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CreateTagHoldRequest * @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.resourcemanager.v3.CreateTagHoldRequest; /** * Verifies a CreateTagHoldRequest 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 CreateTagHoldRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CreateTagHoldRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.CreateTagHoldRequest; /** * Creates a plain object from a CreateTagHoldRequest message. Also converts values to other types if specified. * @param message CreateTagHoldRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.CreateTagHoldRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CreateTagHoldRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CreateTagHoldRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateTagHoldMetadata. */ interface ICreateTagHoldMetadata { } /** Represents a CreateTagHoldMetadata. */ class CreateTagHoldMetadata implements ICreateTagHoldMetadata { /** * Constructs a new CreateTagHoldMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.ICreateTagHoldMetadata); /** * Creates a new CreateTagHoldMetadata instance using the specified properties. * @param [properties] Properties to set * @returns CreateTagHoldMetadata instance */ public static create(properties?: google.cloud.resourcemanager.v3.ICreateTagHoldMetadata): google.cloud.resourcemanager.v3.CreateTagHoldMetadata; /** * Encodes the specified CreateTagHoldMetadata message. Does not implicitly {@link google.cloud.resourcemanager.v3.CreateTagHoldMetadata.verify|verify} messages. * @param message CreateTagHoldMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.ICreateTagHoldMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CreateTagHoldMetadata message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.CreateTagHoldMetadata.verify|verify} messages. * @param message CreateTagHoldMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.ICreateTagHoldMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CreateTagHoldMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CreateTagHoldMetadata * @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.resourcemanager.v3.CreateTagHoldMetadata; /** * Decodes a CreateTagHoldMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CreateTagHoldMetadata * @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.resourcemanager.v3.CreateTagHoldMetadata; /** * Verifies a CreateTagHoldMetadata 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 CreateTagHoldMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CreateTagHoldMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.CreateTagHoldMetadata; /** * Creates a plain object from a CreateTagHoldMetadata message. Also converts values to other types if specified. * @param message CreateTagHoldMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.CreateTagHoldMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CreateTagHoldMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CreateTagHoldMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteTagHoldRequest. */ interface IDeleteTagHoldRequest { /** DeleteTagHoldRequest name */ name?: (string|null); /** DeleteTagHoldRequest validateOnly */ validateOnly?: (boolean|null); } /** Represents a DeleteTagHoldRequest. */ class DeleteTagHoldRequest implements IDeleteTagHoldRequest { /** * Constructs a new DeleteTagHoldRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IDeleteTagHoldRequest); /** DeleteTagHoldRequest name. */ public name: string; /** DeleteTagHoldRequest validateOnly. */ public validateOnly: boolean; /** * Creates a new DeleteTagHoldRequest instance using the specified properties. * @param [properties] Properties to set * @returns DeleteTagHoldRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.IDeleteTagHoldRequest): google.cloud.resourcemanager.v3.DeleteTagHoldRequest; /** * Encodes the specified DeleteTagHoldRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.DeleteTagHoldRequest.verify|verify} messages. * @param message DeleteTagHoldRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IDeleteTagHoldRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteTagHoldRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.DeleteTagHoldRequest.verify|verify} messages. * @param message DeleteTagHoldRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IDeleteTagHoldRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteTagHoldRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteTagHoldRequest * @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.resourcemanager.v3.DeleteTagHoldRequest; /** * Decodes a DeleteTagHoldRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteTagHoldRequest * @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.resourcemanager.v3.DeleteTagHoldRequest; /** * Verifies a DeleteTagHoldRequest 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 DeleteTagHoldRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteTagHoldRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.DeleteTagHoldRequest; /** * Creates a plain object from a DeleteTagHoldRequest message. Also converts values to other types if specified. * @param message DeleteTagHoldRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.DeleteTagHoldRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteTagHoldRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeleteTagHoldRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteTagHoldMetadata. */ interface IDeleteTagHoldMetadata { } /** Represents a DeleteTagHoldMetadata. */ class DeleteTagHoldMetadata implements IDeleteTagHoldMetadata { /** * Constructs a new DeleteTagHoldMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IDeleteTagHoldMetadata); /** * Creates a new DeleteTagHoldMetadata instance using the specified properties. * @param [properties] Properties to set * @returns DeleteTagHoldMetadata instance */ public static create(properties?: google.cloud.resourcemanager.v3.IDeleteTagHoldMetadata): google.cloud.resourcemanager.v3.DeleteTagHoldMetadata; /** * Encodes the specified DeleteTagHoldMetadata message. Does not implicitly {@link google.cloud.resourcemanager.v3.DeleteTagHoldMetadata.verify|verify} messages. * @param message DeleteTagHoldMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IDeleteTagHoldMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteTagHoldMetadata message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.DeleteTagHoldMetadata.verify|verify} messages. * @param message DeleteTagHoldMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IDeleteTagHoldMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteTagHoldMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteTagHoldMetadata * @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.resourcemanager.v3.DeleteTagHoldMetadata; /** * Decodes a DeleteTagHoldMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteTagHoldMetadata * @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.resourcemanager.v3.DeleteTagHoldMetadata; /** * Verifies a DeleteTagHoldMetadata 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 DeleteTagHoldMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteTagHoldMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.DeleteTagHoldMetadata; /** * Creates a plain object from a DeleteTagHoldMetadata message. Also converts values to other types if specified. * @param message DeleteTagHoldMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.DeleteTagHoldMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteTagHoldMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeleteTagHoldMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListTagHoldsRequest. */ interface IListTagHoldsRequest { /** ListTagHoldsRequest parent */ parent?: (string|null); /** ListTagHoldsRequest pageSize */ pageSize?: (number|null); /** ListTagHoldsRequest pageToken */ pageToken?: (string|null); /** ListTagHoldsRequest filter */ filter?: (string|null); } /** Represents a ListTagHoldsRequest. */ class ListTagHoldsRequest implements IListTagHoldsRequest { /** * Constructs a new ListTagHoldsRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IListTagHoldsRequest); /** ListTagHoldsRequest parent. */ public parent: string; /** ListTagHoldsRequest pageSize. */ public pageSize: number; /** ListTagHoldsRequest pageToken. */ public pageToken: string; /** ListTagHoldsRequest filter. */ public filter: string; /** * Creates a new ListTagHoldsRequest instance using the specified properties. * @param [properties] Properties to set * @returns ListTagHoldsRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.IListTagHoldsRequest): google.cloud.resourcemanager.v3.ListTagHoldsRequest; /** * Encodes the specified ListTagHoldsRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.ListTagHoldsRequest.verify|verify} messages. * @param message ListTagHoldsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IListTagHoldsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListTagHoldsRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.ListTagHoldsRequest.verify|verify} messages. * @param message ListTagHoldsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IListTagHoldsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListTagHoldsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListTagHoldsRequest * @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.resourcemanager.v3.ListTagHoldsRequest; /** * Decodes a ListTagHoldsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListTagHoldsRequest * @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.resourcemanager.v3.ListTagHoldsRequest; /** * Verifies a ListTagHoldsRequest 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 ListTagHoldsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListTagHoldsRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.ListTagHoldsRequest; /** * Creates a plain object from a ListTagHoldsRequest message. Also converts values to other types if specified. * @param message ListTagHoldsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.ListTagHoldsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListTagHoldsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListTagHoldsRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListTagHoldsResponse. */ interface IListTagHoldsResponse { /** ListTagHoldsResponse tagHolds */ tagHolds?: (google.cloud.resourcemanager.v3.ITagHold[]|null); /** ListTagHoldsResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents a ListTagHoldsResponse. */ class ListTagHoldsResponse implements IListTagHoldsResponse { /** * Constructs a new ListTagHoldsResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IListTagHoldsResponse); /** ListTagHoldsResponse tagHolds. */ public tagHolds: google.cloud.resourcemanager.v3.ITagHold[]; /** ListTagHoldsResponse nextPageToken. */ public nextPageToken: string; /** * Creates a new ListTagHoldsResponse instance using the specified properties. * @param [properties] Properties to set * @returns ListTagHoldsResponse instance */ public static create(properties?: google.cloud.resourcemanager.v3.IListTagHoldsResponse): google.cloud.resourcemanager.v3.ListTagHoldsResponse; /** * Encodes the specified ListTagHoldsResponse message. Does not implicitly {@link google.cloud.resourcemanager.v3.ListTagHoldsResponse.verify|verify} messages. * @param message ListTagHoldsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IListTagHoldsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListTagHoldsResponse message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.ListTagHoldsResponse.verify|verify} messages. * @param message ListTagHoldsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IListTagHoldsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListTagHoldsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListTagHoldsResponse * @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.resourcemanager.v3.ListTagHoldsResponse; /** * Decodes a ListTagHoldsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListTagHoldsResponse * @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.resourcemanager.v3.ListTagHoldsResponse; /** * Verifies a ListTagHoldsResponse 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 ListTagHoldsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListTagHoldsResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.ListTagHoldsResponse; /** * Creates a plain object from a ListTagHoldsResponse message. Also converts values to other types if specified. * @param message ListTagHoldsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.ListTagHoldsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListTagHoldsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListTagHoldsResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents a TagKeys */ class TagKeys extends $protobuf.rpc.Service { /** * Constructs a new TagKeys 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 TagKeys 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): TagKeys; /** * Calls ListTagKeys. * @param request ListTagKeysRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListTagKeysResponse */ public listTagKeys(request: google.cloud.resourcemanager.v3.IListTagKeysRequest, callback: google.cloud.resourcemanager.v3.TagKeys.ListTagKeysCallback): void; /** * Calls ListTagKeys. * @param request ListTagKeysRequest message or plain object * @returns Promise */ public listTagKeys(request: google.cloud.resourcemanager.v3.IListTagKeysRequest): Promise; /** * Calls GetTagKey. * @param request GetTagKeyRequest message or plain object * @param callback Node-style callback called with the error, if any, and TagKey */ public getTagKey(request: google.cloud.resourcemanager.v3.IGetTagKeyRequest, callback: google.cloud.resourcemanager.v3.TagKeys.GetTagKeyCallback): void; /** * Calls GetTagKey. * @param request GetTagKeyRequest message or plain object * @returns Promise */ public getTagKey(request: google.cloud.resourcemanager.v3.IGetTagKeyRequest): Promise; /** * Calls GetNamespacedTagKey. * @param request GetNamespacedTagKeyRequest message or plain object * @param callback Node-style callback called with the error, if any, and TagKey */ public getNamespacedTagKey(request: google.cloud.resourcemanager.v3.IGetNamespacedTagKeyRequest, callback: google.cloud.resourcemanager.v3.TagKeys.GetNamespacedTagKeyCallback): void; /** * Calls GetNamespacedTagKey. * @param request GetNamespacedTagKeyRequest message or plain object * @returns Promise */ public getNamespacedTagKey(request: google.cloud.resourcemanager.v3.IGetNamespacedTagKeyRequest): Promise; /** * Calls CreateTagKey. * @param request CreateTagKeyRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public createTagKey(request: google.cloud.resourcemanager.v3.ICreateTagKeyRequest, callback: google.cloud.resourcemanager.v3.TagKeys.CreateTagKeyCallback): void; /** * Calls CreateTagKey. * @param request CreateTagKeyRequest message or plain object * @returns Promise */ public createTagKey(request: google.cloud.resourcemanager.v3.ICreateTagKeyRequest): Promise; /** * Calls UpdateTagKey. * @param request UpdateTagKeyRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public updateTagKey(request: google.cloud.resourcemanager.v3.IUpdateTagKeyRequest, callback: google.cloud.resourcemanager.v3.TagKeys.UpdateTagKeyCallback): void; /** * Calls UpdateTagKey. * @param request UpdateTagKeyRequest message or plain object * @returns Promise */ public updateTagKey(request: google.cloud.resourcemanager.v3.IUpdateTagKeyRequest): Promise; /** * Calls DeleteTagKey. * @param request DeleteTagKeyRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public deleteTagKey(request: google.cloud.resourcemanager.v3.IDeleteTagKeyRequest, callback: google.cloud.resourcemanager.v3.TagKeys.DeleteTagKeyCallback): void; /** * Calls DeleteTagKey. * @param request DeleteTagKeyRequest message or plain object * @returns Promise */ public deleteTagKey(request: google.cloud.resourcemanager.v3.IDeleteTagKeyRequest): Promise; /** * Calls GetIamPolicy. * @param request GetIamPolicyRequest message or plain object * @param callback Node-style callback called with the error, if any, and Policy */ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.cloud.resourcemanager.v3.TagKeys.GetIamPolicyCallback): void; /** * Calls GetIamPolicy. * @param request GetIamPolicyRequest message or plain object * @returns Promise */ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise; /** * Calls SetIamPolicy. * @param request SetIamPolicyRequest message or plain object * @param callback Node-style callback called with the error, if any, and Policy */ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.cloud.resourcemanager.v3.TagKeys.SetIamPolicyCallback): void; /** * Calls SetIamPolicy. * @param request SetIamPolicyRequest message or plain object * @returns Promise */ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise; /** * Calls TestIamPermissions. * @param request TestIamPermissionsRequest message or plain object * @param callback Node-style callback called with the error, if any, and TestIamPermissionsResponse */ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest, callback: google.cloud.resourcemanager.v3.TagKeys.TestIamPermissionsCallback): void; /** * Calls TestIamPermissions. * @param request TestIamPermissionsRequest message or plain object * @returns Promise */ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise; } namespace TagKeys { /** * Callback as used by {@link google.cloud.resourcemanager.v3.TagKeys|listTagKeys}. * @param error Error, if any * @param [response] ListTagKeysResponse */ type ListTagKeysCallback = (error: (Error|null), response?: google.cloud.resourcemanager.v3.ListTagKeysResponse) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.TagKeys|getTagKey}. * @param error Error, if any * @param [response] TagKey */ type GetTagKeyCallback = (error: (Error|null), response?: google.cloud.resourcemanager.v3.TagKey) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.TagKeys|getNamespacedTagKey}. * @param error Error, if any * @param [response] TagKey */ type GetNamespacedTagKeyCallback = (error: (Error|null), response?: google.cloud.resourcemanager.v3.TagKey) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.TagKeys|createTagKey}. * @param error Error, if any * @param [response] Operation */ type CreateTagKeyCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.TagKeys|updateTagKey}. * @param error Error, if any * @param [response] Operation */ type UpdateTagKeyCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.TagKeys|deleteTagKey}. * @param error Error, if any * @param [response] Operation */ type DeleteTagKeyCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.TagKeys|getIamPolicy}. * @param error Error, if any * @param [response] Policy */ type GetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.TagKeys|setIamPolicy}. * @param error Error, if any * @param [response] Policy */ type SetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.TagKeys|testIamPermissions}. * @param error Error, if any * @param [response] TestIamPermissionsResponse */ type TestIamPermissionsCallback = (error: (Error|null), response?: google.iam.v1.TestIamPermissionsResponse) => void; } /** Properties of a TagKey. */ interface ITagKey { /** TagKey name */ name?: (string|null); /** TagKey parent */ parent?: (string|null); /** TagKey shortName */ shortName?: (string|null); /** TagKey namespacedName */ namespacedName?: (string|null); /** TagKey description */ description?: (string|null); /** TagKey createTime */ createTime?: (google.protobuf.ITimestamp|null); /** TagKey updateTime */ updateTime?: (google.protobuf.ITimestamp|null); /** TagKey etag */ etag?: (string|null); /** TagKey purpose */ purpose?: (google.cloud.resourcemanager.v3.Purpose|keyof typeof google.cloud.resourcemanager.v3.Purpose|null); /** TagKey purposeData */ purposeData?: ({ [k: string]: string }|null); } /** Represents a TagKey. */ class TagKey implements ITagKey { /** * Constructs a new TagKey. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.ITagKey); /** TagKey name. */ public name: string; /** TagKey parent. */ public parent: string; /** TagKey shortName. */ public shortName: string; /** TagKey namespacedName. */ public namespacedName: string; /** TagKey description. */ public description: string; /** TagKey createTime. */ public createTime?: (google.protobuf.ITimestamp|null); /** TagKey updateTime. */ public updateTime?: (google.protobuf.ITimestamp|null); /** TagKey etag. */ public etag: string; /** TagKey purpose. */ public purpose: (google.cloud.resourcemanager.v3.Purpose|keyof typeof google.cloud.resourcemanager.v3.Purpose); /** TagKey purposeData. */ public purposeData: { [k: string]: string }; /** * Creates a new TagKey instance using the specified properties. * @param [properties] Properties to set * @returns TagKey instance */ public static create(properties?: google.cloud.resourcemanager.v3.ITagKey): google.cloud.resourcemanager.v3.TagKey; /** * Encodes the specified TagKey message. Does not implicitly {@link google.cloud.resourcemanager.v3.TagKey.verify|verify} messages. * @param message TagKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.ITagKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TagKey message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.TagKey.verify|verify} messages. * @param message TagKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.ITagKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TagKey message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TagKey * @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.resourcemanager.v3.TagKey; /** * Decodes a TagKey message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TagKey * @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.resourcemanager.v3.TagKey; /** * Verifies a TagKey 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 TagKey message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TagKey */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.TagKey; /** * Creates a plain object from a TagKey message. Also converts values to other types if specified. * @param message TagKey * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.TagKey, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TagKey to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for TagKey * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListTagKeysRequest. */ interface IListTagKeysRequest { /** ListTagKeysRequest parent */ parent?: (string|null); /** ListTagKeysRequest pageSize */ pageSize?: (number|null); /** ListTagKeysRequest pageToken */ pageToken?: (string|null); } /** Represents a ListTagKeysRequest. */ class ListTagKeysRequest implements IListTagKeysRequest { /** * Constructs a new ListTagKeysRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IListTagKeysRequest); /** ListTagKeysRequest parent. */ public parent: string; /** ListTagKeysRequest pageSize. */ public pageSize: number; /** ListTagKeysRequest pageToken. */ public pageToken: string; /** * Creates a new ListTagKeysRequest instance using the specified properties. * @param [properties] Properties to set * @returns ListTagKeysRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.IListTagKeysRequest): google.cloud.resourcemanager.v3.ListTagKeysRequest; /** * Encodes the specified ListTagKeysRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.ListTagKeysRequest.verify|verify} messages. * @param message ListTagKeysRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IListTagKeysRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListTagKeysRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.ListTagKeysRequest.verify|verify} messages. * @param message ListTagKeysRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IListTagKeysRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListTagKeysRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListTagKeysRequest * @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.resourcemanager.v3.ListTagKeysRequest; /** * Decodes a ListTagKeysRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListTagKeysRequest * @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.resourcemanager.v3.ListTagKeysRequest; /** * Verifies a ListTagKeysRequest 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 ListTagKeysRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListTagKeysRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.ListTagKeysRequest; /** * Creates a plain object from a ListTagKeysRequest message. Also converts values to other types if specified. * @param message ListTagKeysRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.ListTagKeysRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListTagKeysRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListTagKeysRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListTagKeysResponse. */ interface IListTagKeysResponse { /** ListTagKeysResponse tagKeys */ tagKeys?: (google.cloud.resourcemanager.v3.ITagKey[]|null); /** ListTagKeysResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents a ListTagKeysResponse. */ class ListTagKeysResponse implements IListTagKeysResponse { /** * Constructs a new ListTagKeysResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IListTagKeysResponse); /** ListTagKeysResponse tagKeys. */ public tagKeys: google.cloud.resourcemanager.v3.ITagKey[]; /** ListTagKeysResponse nextPageToken. */ public nextPageToken: string; /** * Creates a new ListTagKeysResponse instance using the specified properties. * @param [properties] Properties to set * @returns ListTagKeysResponse instance */ public static create(properties?: google.cloud.resourcemanager.v3.IListTagKeysResponse): google.cloud.resourcemanager.v3.ListTagKeysResponse; /** * Encodes the specified ListTagKeysResponse message. Does not implicitly {@link google.cloud.resourcemanager.v3.ListTagKeysResponse.verify|verify} messages. * @param message ListTagKeysResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IListTagKeysResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListTagKeysResponse message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.ListTagKeysResponse.verify|verify} messages. * @param message ListTagKeysResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IListTagKeysResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListTagKeysResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListTagKeysResponse * @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.resourcemanager.v3.ListTagKeysResponse; /** * Decodes a ListTagKeysResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListTagKeysResponse * @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.resourcemanager.v3.ListTagKeysResponse; /** * Verifies a ListTagKeysResponse 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 ListTagKeysResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListTagKeysResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.ListTagKeysResponse; /** * Creates a plain object from a ListTagKeysResponse message. Also converts values to other types if specified. * @param message ListTagKeysResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.ListTagKeysResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListTagKeysResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListTagKeysResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetTagKeyRequest. */ interface IGetTagKeyRequest { /** GetTagKeyRequest name */ name?: (string|null); } /** Represents a GetTagKeyRequest. */ class GetTagKeyRequest implements IGetTagKeyRequest { /** * Constructs a new GetTagKeyRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IGetTagKeyRequest); /** GetTagKeyRequest name. */ public name: string; /** * Creates a new GetTagKeyRequest instance using the specified properties. * @param [properties] Properties to set * @returns GetTagKeyRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.IGetTagKeyRequest): google.cloud.resourcemanager.v3.GetTagKeyRequest; /** * Encodes the specified GetTagKeyRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.GetTagKeyRequest.verify|verify} messages. * @param message GetTagKeyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IGetTagKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetTagKeyRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.GetTagKeyRequest.verify|verify} messages. * @param message GetTagKeyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IGetTagKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetTagKeyRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetTagKeyRequest * @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.resourcemanager.v3.GetTagKeyRequest; /** * Decodes a GetTagKeyRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetTagKeyRequest * @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.resourcemanager.v3.GetTagKeyRequest; /** * Verifies a GetTagKeyRequest 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 GetTagKeyRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetTagKeyRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.GetTagKeyRequest; /** * Creates a plain object from a GetTagKeyRequest message. Also converts values to other types if specified. * @param message GetTagKeyRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.GetTagKeyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetTagKeyRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GetTagKeyRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetNamespacedTagKeyRequest. */ interface IGetNamespacedTagKeyRequest { /** GetNamespacedTagKeyRequest name */ name?: (string|null); } /** Represents a GetNamespacedTagKeyRequest. */ class GetNamespacedTagKeyRequest implements IGetNamespacedTagKeyRequest { /** * Constructs a new GetNamespacedTagKeyRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IGetNamespacedTagKeyRequest); /** GetNamespacedTagKeyRequest name. */ public name: string; /** * Creates a new GetNamespacedTagKeyRequest instance using the specified properties. * @param [properties] Properties to set * @returns GetNamespacedTagKeyRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.IGetNamespacedTagKeyRequest): google.cloud.resourcemanager.v3.GetNamespacedTagKeyRequest; /** * Encodes the specified GetNamespacedTagKeyRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.GetNamespacedTagKeyRequest.verify|verify} messages. * @param message GetNamespacedTagKeyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IGetNamespacedTagKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetNamespacedTagKeyRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.GetNamespacedTagKeyRequest.verify|verify} messages. * @param message GetNamespacedTagKeyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IGetNamespacedTagKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetNamespacedTagKeyRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetNamespacedTagKeyRequest * @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.resourcemanager.v3.GetNamespacedTagKeyRequest; /** * Decodes a GetNamespacedTagKeyRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetNamespacedTagKeyRequest * @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.resourcemanager.v3.GetNamespacedTagKeyRequest; /** * Verifies a GetNamespacedTagKeyRequest 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 GetNamespacedTagKeyRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetNamespacedTagKeyRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.GetNamespacedTagKeyRequest; /** * Creates a plain object from a GetNamespacedTagKeyRequest message. Also converts values to other types if specified. * @param message GetNamespacedTagKeyRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.GetNamespacedTagKeyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetNamespacedTagKeyRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GetNamespacedTagKeyRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateTagKeyRequest. */ interface ICreateTagKeyRequest { /** CreateTagKeyRequest tagKey */ tagKey?: (google.cloud.resourcemanager.v3.ITagKey|null); /** CreateTagKeyRequest validateOnly */ validateOnly?: (boolean|null); } /** Represents a CreateTagKeyRequest. */ class CreateTagKeyRequest implements ICreateTagKeyRequest { /** * Constructs a new CreateTagKeyRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.ICreateTagKeyRequest); /** CreateTagKeyRequest tagKey. */ public tagKey?: (google.cloud.resourcemanager.v3.ITagKey|null); /** CreateTagKeyRequest validateOnly. */ public validateOnly: boolean; /** * Creates a new CreateTagKeyRequest instance using the specified properties. * @param [properties] Properties to set * @returns CreateTagKeyRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.ICreateTagKeyRequest): google.cloud.resourcemanager.v3.CreateTagKeyRequest; /** * Encodes the specified CreateTagKeyRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.CreateTagKeyRequest.verify|verify} messages. * @param message CreateTagKeyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.ICreateTagKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CreateTagKeyRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.CreateTagKeyRequest.verify|verify} messages. * @param message CreateTagKeyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.ICreateTagKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CreateTagKeyRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CreateTagKeyRequest * @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.resourcemanager.v3.CreateTagKeyRequest; /** * Decodes a CreateTagKeyRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CreateTagKeyRequest * @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.resourcemanager.v3.CreateTagKeyRequest; /** * Verifies a CreateTagKeyRequest 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 CreateTagKeyRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CreateTagKeyRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.CreateTagKeyRequest; /** * Creates a plain object from a CreateTagKeyRequest message. Also converts values to other types if specified. * @param message CreateTagKeyRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.CreateTagKeyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CreateTagKeyRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CreateTagKeyRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateTagKeyMetadata. */ interface ICreateTagKeyMetadata { } /** Represents a CreateTagKeyMetadata. */ class CreateTagKeyMetadata implements ICreateTagKeyMetadata { /** * Constructs a new CreateTagKeyMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.ICreateTagKeyMetadata); /** * Creates a new CreateTagKeyMetadata instance using the specified properties. * @param [properties] Properties to set * @returns CreateTagKeyMetadata instance */ public static create(properties?: google.cloud.resourcemanager.v3.ICreateTagKeyMetadata): google.cloud.resourcemanager.v3.CreateTagKeyMetadata; /** * Encodes the specified CreateTagKeyMetadata message. Does not implicitly {@link google.cloud.resourcemanager.v3.CreateTagKeyMetadata.verify|verify} messages. * @param message CreateTagKeyMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.ICreateTagKeyMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CreateTagKeyMetadata message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.CreateTagKeyMetadata.verify|verify} messages. * @param message CreateTagKeyMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.ICreateTagKeyMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CreateTagKeyMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CreateTagKeyMetadata * @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.resourcemanager.v3.CreateTagKeyMetadata; /** * Decodes a CreateTagKeyMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CreateTagKeyMetadata * @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.resourcemanager.v3.CreateTagKeyMetadata; /** * Verifies a CreateTagKeyMetadata 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 CreateTagKeyMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CreateTagKeyMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.CreateTagKeyMetadata; /** * Creates a plain object from a CreateTagKeyMetadata message. Also converts values to other types if specified. * @param message CreateTagKeyMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.CreateTagKeyMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CreateTagKeyMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CreateTagKeyMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateTagKeyRequest. */ interface IUpdateTagKeyRequest { /** UpdateTagKeyRequest tagKey */ tagKey?: (google.cloud.resourcemanager.v3.ITagKey|null); /** UpdateTagKeyRequest updateMask */ updateMask?: (google.protobuf.IFieldMask|null); /** UpdateTagKeyRequest validateOnly */ validateOnly?: (boolean|null); } /** Represents an UpdateTagKeyRequest. */ class UpdateTagKeyRequest implements IUpdateTagKeyRequest { /** * Constructs a new UpdateTagKeyRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IUpdateTagKeyRequest); /** UpdateTagKeyRequest tagKey. */ public tagKey?: (google.cloud.resourcemanager.v3.ITagKey|null); /** UpdateTagKeyRequest updateMask. */ public updateMask?: (google.protobuf.IFieldMask|null); /** UpdateTagKeyRequest validateOnly. */ public validateOnly: boolean; /** * Creates a new UpdateTagKeyRequest instance using the specified properties. * @param [properties] Properties to set * @returns UpdateTagKeyRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.IUpdateTagKeyRequest): google.cloud.resourcemanager.v3.UpdateTagKeyRequest; /** * Encodes the specified UpdateTagKeyRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.UpdateTagKeyRequest.verify|verify} messages. * @param message UpdateTagKeyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IUpdateTagKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UpdateTagKeyRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.UpdateTagKeyRequest.verify|verify} messages. * @param message UpdateTagKeyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IUpdateTagKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UpdateTagKeyRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UpdateTagKeyRequest * @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.resourcemanager.v3.UpdateTagKeyRequest; /** * Decodes an UpdateTagKeyRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UpdateTagKeyRequest * @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.resourcemanager.v3.UpdateTagKeyRequest; /** * Verifies an UpdateTagKeyRequest 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 UpdateTagKeyRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UpdateTagKeyRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.UpdateTagKeyRequest; /** * Creates a plain object from an UpdateTagKeyRequest message. Also converts values to other types if specified. * @param message UpdateTagKeyRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.UpdateTagKeyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UpdateTagKeyRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UpdateTagKeyRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateTagKeyMetadata. */ interface IUpdateTagKeyMetadata { } /** Represents an UpdateTagKeyMetadata. */ class UpdateTagKeyMetadata implements IUpdateTagKeyMetadata { /** * Constructs a new UpdateTagKeyMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IUpdateTagKeyMetadata); /** * Creates a new UpdateTagKeyMetadata instance using the specified properties. * @param [properties] Properties to set * @returns UpdateTagKeyMetadata instance */ public static create(properties?: google.cloud.resourcemanager.v3.IUpdateTagKeyMetadata): google.cloud.resourcemanager.v3.UpdateTagKeyMetadata; /** * Encodes the specified UpdateTagKeyMetadata message. Does not implicitly {@link google.cloud.resourcemanager.v3.UpdateTagKeyMetadata.verify|verify} messages. * @param message UpdateTagKeyMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IUpdateTagKeyMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UpdateTagKeyMetadata message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.UpdateTagKeyMetadata.verify|verify} messages. * @param message UpdateTagKeyMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IUpdateTagKeyMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UpdateTagKeyMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UpdateTagKeyMetadata * @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.resourcemanager.v3.UpdateTagKeyMetadata; /** * Decodes an UpdateTagKeyMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UpdateTagKeyMetadata * @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.resourcemanager.v3.UpdateTagKeyMetadata; /** * Verifies an UpdateTagKeyMetadata 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 UpdateTagKeyMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UpdateTagKeyMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.UpdateTagKeyMetadata; /** * Creates a plain object from an UpdateTagKeyMetadata message. Also converts values to other types if specified. * @param message UpdateTagKeyMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.UpdateTagKeyMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UpdateTagKeyMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UpdateTagKeyMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteTagKeyRequest. */ interface IDeleteTagKeyRequest { /** DeleteTagKeyRequest name */ name?: (string|null); /** DeleteTagKeyRequest validateOnly */ validateOnly?: (boolean|null); /** DeleteTagKeyRequest etag */ etag?: (string|null); } /** Represents a DeleteTagKeyRequest. */ class DeleteTagKeyRequest implements IDeleteTagKeyRequest { /** * Constructs a new DeleteTagKeyRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IDeleteTagKeyRequest); /** DeleteTagKeyRequest name. */ public name: string; /** DeleteTagKeyRequest validateOnly. */ public validateOnly: boolean; /** DeleteTagKeyRequest etag. */ public etag: string; /** * Creates a new DeleteTagKeyRequest instance using the specified properties. * @param [properties] Properties to set * @returns DeleteTagKeyRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.IDeleteTagKeyRequest): google.cloud.resourcemanager.v3.DeleteTagKeyRequest; /** * Encodes the specified DeleteTagKeyRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.DeleteTagKeyRequest.verify|verify} messages. * @param message DeleteTagKeyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IDeleteTagKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteTagKeyRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.DeleteTagKeyRequest.verify|verify} messages. * @param message DeleteTagKeyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IDeleteTagKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteTagKeyRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteTagKeyRequest * @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.resourcemanager.v3.DeleteTagKeyRequest; /** * Decodes a DeleteTagKeyRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteTagKeyRequest * @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.resourcemanager.v3.DeleteTagKeyRequest; /** * Verifies a DeleteTagKeyRequest 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 DeleteTagKeyRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteTagKeyRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.DeleteTagKeyRequest; /** * Creates a plain object from a DeleteTagKeyRequest message. Also converts values to other types if specified. * @param message DeleteTagKeyRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.DeleteTagKeyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteTagKeyRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeleteTagKeyRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteTagKeyMetadata. */ interface IDeleteTagKeyMetadata { } /** Represents a DeleteTagKeyMetadata. */ class DeleteTagKeyMetadata implements IDeleteTagKeyMetadata { /** * Constructs a new DeleteTagKeyMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IDeleteTagKeyMetadata); /** * Creates a new DeleteTagKeyMetadata instance using the specified properties. * @param [properties] Properties to set * @returns DeleteTagKeyMetadata instance */ public static create(properties?: google.cloud.resourcemanager.v3.IDeleteTagKeyMetadata): google.cloud.resourcemanager.v3.DeleteTagKeyMetadata; /** * Encodes the specified DeleteTagKeyMetadata message. Does not implicitly {@link google.cloud.resourcemanager.v3.DeleteTagKeyMetadata.verify|verify} messages. * @param message DeleteTagKeyMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IDeleteTagKeyMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteTagKeyMetadata message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.DeleteTagKeyMetadata.verify|verify} messages. * @param message DeleteTagKeyMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IDeleteTagKeyMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteTagKeyMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteTagKeyMetadata * @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.resourcemanager.v3.DeleteTagKeyMetadata; /** * Decodes a DeleteTagKeyMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteTagKeyMetadata * @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.resourcemanager.v3.DeleteTagKeyMetadata; /** * Verifies a DeleteTagKeyMetadata 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 DeleteTagKeyMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteTagKeyMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.DeleteTagKeyMetadata; /** * Creates a plain object from a DeleteTagKeyMetadata message. Also converts values to other types if specified. * @param message DeleteTagKeyMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.DeleteTagKeyMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteTagKeyMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeleteTagKeyMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Purpose enum. */ enum Purpose { PURPOSE_UNSPECIFIED = 0, GCE_FIREWALL = 1 } /** Represents a TagValues */ class TagValues extends $protobuf.rpc.Service { /** * Constructs a new TagValues 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 TagValues 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): TagValues; /** * Calls ListTagValues. * @param request ListTagValuesRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListTagValuesResponse */ public listTagValues(request: google.cloud.resourcemanager.v3.IListTagValuesRequest, callback: google.cloud.resourcemanager.v3.TagValues.ListTagValuesCallback): void; /** * Calls ListTagValues. * @param request ListTagValuesRequest message or plain object * @returns Promise */ public listTagValues(request: google.cloud.resourcemanager.v3.IListTagValuesRequest): Promise; /** * Calls GetTagValue. * @param request GetTagValueRequest message or plain object * @param callback Node-style callback called with the error, if any, and TagValue */ public getTagValue(request: google.cloud.resourcemanager.v3.IGetTagValueRequest, callback: google.cloud.resourcemanager.v3.TagValues.GetTagValueCallback): void; /** * Calls GetTagValue. * @param request GetTagValueRequest message or plain object * @returns Promise */ public getTagValue(request: google.cloud.resourcemanager.v3.IGetTagValueRequest): Promise; /** * Calls GetNamespacedTagValue. * @param request GetNamespacedTagValueRequest message or plain object * @param callback Node-style callback called with the error, if any, and TagValue */ public getNamespacedTagValue(request: google.cloud.resourcemanager.v3.IGetNamespacedTagValueRequest, callback: google.cloud.resourcemanager.v3.TagValues.GetNamespacedTagValueCallback): void; /** * Calls GetNamespacedTagValue. * @param request GetNamespacedTagValueRequest message or plain object * @returns Promise */ public getNamespacedTagValue(request: google.cloud.resourcemanager.v3.IGetNamespacedTagValueRequest): Promise; /** * Calls CreateTagValue. * @param request CreateTagValueRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public createTagValue(request: google.cloud.resourcemanager.v3.ICreateTagValueRequest, callback: google.cloud.resourcemanager.v3.TagValues.CreateTagValueCallback): void; /** * Calls CreateTagValue. * @param request CreateTagValueRequest message or plain object * @returns Promise */ public createTagValue(request: google.cloud.resourcemanager.v3.ICreateTagValueRequest): Promise; /** * Calls UpdateTagValue. * @param request UpdateTagValueRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public updateTagValue(request: google.cloud.resourcemanager.v3.IUpdateTagValueRequest, callback: google.cloud.resourcemanager.v3.TagValues.UpdateTagValueCallback): void; /** * Calls UpdateTagValue. * @param request UpdateTagValueRequest message or plain object * @returns Promise */ public updateTagValue(request: google.cloud.resourcemanager.v3.IUpdateTagValueRequest): Promise; /** * Calls DeleteTagValue. * @param request DeleteTagValueRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public deleteTagValue(request: google.cloud.resourcemanager.v3.IDeleteTagValueRequest, callback: google.cloud.resourcemanager.v3.TagValues.DeleteTagValueCallback): void; /** * Calls DeleteTagValue. * @param request DeleteTagValueRequest message or plain object * @returns Promise */ public deleteTagValue(request: google.cloud.resourcemanager.v3.IDeleteTagValueRequest): Promise; /** * Calls GetIamPolicy. * @param request GetIamPolicyRequest message or plain object * @param callback Node-style callback called with the error, if any, and Policy */ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.cloud.resourcemanager.v3.TagValues.GetIamPolicyCallback): void; /** * Calls GetIamPolicy. * @param request GetIamPolicyRequest message or plain object * @returns Promise */ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise; /** * Calls SetIamPolicy. * @param request SetIamPolicyRequest message or plain object * @param callback Node-style callback called with the error, if any, and Policy */ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.cloud.resourcemanager.v3.TagValues.SetIamPolicyCallback): void; /** * Calls SetIamPolicy. * @param request SetIamPolicyRequest message or plain object * @returns Promise */ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise; /** * Calls TestIamPermissions. * @param request TestIamPermissionsRequest message or plain object * @param callback Node-style callback called with the error, if any, and TestIamPermissionsResponse */ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest, callback: google.cloud.resourcemanager.v3.TagValues.TestIamPermissionsCallback): void; /** * Calls TestIamPermissions. * @param request TestIamPermissionsRequest message or plain object * @returns Promise */ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise; } namespace TagValues { /** * Callback as used by {@link google.cloud.resourcemanager.v3.TagValues|listTagValues}. * @param error Error, if any * @param [response] ListTagValuesResponse */ type ListTagValuesCallback = (error: (Error|null), response?: google.cloud.resourcemanager.v3.ListTagValuesResponse) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.TagValues|getTagValue}. * @param error Error, if any * @param [response] TagValue */ type GetTagValueCallback = (error: (Error|null), response?: google.cloud.resourcemanager.v3.TagValue) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.TagValues|getNamespacedTagValue}. * @param error Error, if any * @param [response] TagValue */ type GetNamespacedTagValueCallback = (error: (Error|null), response?: google.cloud.resourcemanager.v3.TagValue) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.TagValues|createTagValue}. * @param error Error, if any * @param [response] Operation */ type CreateTagValueCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.TagValues|updateTagValue}. * @param error Error, if any * @param [response] Operation */ type UpdateTagValueCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.TagValues|deleteTagValue}. * @param error Error, if any * @param [response] Operation */ type DeleteTagValueCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.TagValues|getIamPolicy}. * @param error Error, if any * @param [response] Policy */ type GetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.TagValues|setIamPolicy}. * @param error Error, if any * @param [response] Policy */ type SetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void; /** * Callback as used by {@link google.cloud.resourcemanager.v3.TagValues|testIamPermissions}. * @param error Error, if any * @param [response] TestIamPermissionsResponse */ type TestIamPermissionsCallback = (error: (Error|null), response?: google.iam.v1.TestIamPermissionsResponse) => void; } /** Properties of a TagValue. */ interface ITagValue { /** TagValue name */ name?: (string|null); /** TagValue parent */ parent?: (string|null); /** TagValue shortName */ shortName?: (string|null); /** TagValue namespacedName */ namespacedName?: (string|null); /** TagValue description */ description?: (string|null); /** TagValue createTime */ createTime?: (google.protobuf.ITimestamp|null); /** TagValue updateTime */ updateTime?: (google.protobuf.ITimestamp|null); /** TagValue etag */ etag?: (string|null); } /** Represents a TagValue. */ class TagValue implements ITagValue { /** * Constructs a new TagValue. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.ITagValue); /** TagValue name. */ public name: string; /** TagValue parent. */ public parent: string; /** TagValue shortName. */ public shortName: string; /** TagValue namespacedName. */ public namespacedName: string; /** TagValue description. */ public description: string; /** TagValue createTime. */ public createTime?: (google.protobuf.ITimestamp|null); /** TagValue updateTime. */ public updateTime?: (google.protobuf.ITimestamp|null); /** TagValue etag. */ public etag: string; /** * Creates a new TagValue instance using the specified properties. * @param [properties] Properties to set * @returns TagValue instance */ public static create(properties?: google.cloud.resourcemanager.v3.ITagValue): google.cloud.resourcemanager.v3.TagValue; /** * Encodes the specified TagValue message. Does not implicitly {@link google.cloud.resourcemanager.v3.TagValue.verify|verify} messages. * @param message TagValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.ITagValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TagValue message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.TagValue.verify|verify} messages. * @param message TagValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.ITagValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TagValue message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TagValue * @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.resourcemanager.v3.TagValue; /** * Decodes a TagValue message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TagValue * @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.resourcemanager.v3.TagValue; /** * Verifies a TagValue 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 TagValue message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TagValue */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.TagValue; /** * Creates a plain object from a TagValue message. Also converts values to other types if specified. * @param message TagValue * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.TagValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TagValue to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for TagValue * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListTagValuesRequest. */ interface IListTagValuesRequest { /** ListTagValuesRequest parent */ parent?: (string|null); /** ListTagValuesRequest pageSize */ pageSize?: (number|null); /** ListTagValuesRequest pageToken */ pageToken?: (string|null); } /** Represents a ListTagValuesRequest. */ class ListTagValuesRequest implements IListTagValuesRequest { /** * Constructs a new ListTagValuesRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IListTagValuesRequest); /** ListTagValuesRequest parent. */ public parent: string; /** ListTagValuesRequest pageSize. */ public pageSize: number; /** ListTagValuesRequest pageToken. */ public pageToken: string; /** * Creates a new ListTagValuesRequest instance using the specified properties. * @param [properties] Properties to set * @returns ListTagValuesRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.IListTagValuesRequest): google.cloud.resourcemanager.v3.ListTagValuesRequest; /** * Encodes the specified ListTagValuesRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.ListTagValuesRequest.verify|verify} messages. * @param message ListTagValuesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IListTagValuesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListTagValuesRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.ListTagValuesRequest.verify|verify} messages. * @param message ListTagValuesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IListTagValuesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListTagValuesRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListTagValuesRequest * @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.resourcemanager.v3.ListTagValuesRequest; /** * Decodes a ListTagValuesRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListTagValuesRequest * @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.resourcemanager.v3.ListTagValuesRequest; /** * Verifies a ListTagValuesRequest 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 ListTagValuesRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListTagValuesRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.ListTagValuesRequest; /** * Creates a plain object from a ListTagValuesRequest message. Also converts values to other types if specified. * @param message ListTagValuesRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.ListTagValuesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListTagValuesRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListTagValuesRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListTagValuesResponse. */ interface IListTagValuesResponse { /** ListTagValuesResponse tagValues */ tagValues?: (google.cloud.resourcemanager.v3.ITagValue[]|null); /** ListTagValuesResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents a ListTagValuesResponse. */ class ListTagValuesResponse implements IListTagValuesResponse { /** * Constructs a new ListTagValuesResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IListTagValuesResponse); /** ListTagValuesResponse tagValues. */ public tagValues: google.cloud.resourcemanager.v3.ITagValue[]; /** ListTagValuesResponse nextPageToken. */ public nextPageToken: string; /** * Creates a new ListTagValuesResponse instance using the specified properties. * @param [properties] Properties to set * @returns ListTagValuesResponse instance */ public static create(properties?: google.cloud.resourcemanager.v3.IListTagValuesResponse): google.cloud.resourcemanager.v3.ListTagValuesResponse; /** * Encodes the specified ListTagValuesResponse message. Does not implicitly {@link google.cloud.resourcemanager.v3.ListTagValuesResponse.verify|verify} messages. * @param message ListTagValuesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IListTagValuesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListTagValuesResponse message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.ListTagValuesResponse.verify|verify} messages. * @param message ListTagValuesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IListTagValuesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListTagValuesResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListTagValuesResponse * @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.resourcemanager.v3.ListTagValuesResponse; /** * Decodes a ListTagValuesResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListTagValuesResponse * @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.resourcemanager.v3.ListTagValuesResponse; /** * Verifies a ListTagValuesResponse 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 ListTagValuesResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListTagValuesResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.ListTagValuesResponse; /** * Creates a plain object from a ListTagValuesResponse message. Also converts values to other types if specified. * @param message ListTagValuesResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.ListTagValuesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListTagValuesResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListTagValuesResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetTagValueRequest. */ interface IGetTagValueRequest { /** GetTagValueRequest name */ name?: (string|null); } /** Represents a GetTagValueRequest. */ class GetTagValueRequest implements IGetTagValueRequest { /** * Constructs a new GetTagValueRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IGetTagValueRequest); /** GetTagValueRequest name. */ public name: string; /** * Creates a new GetTagValueRequest instance using the specified properties. * @param [properties] Properties to set * @returns GetTagValueRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.IGetTagValueRequest): google.cloud.resourcemanager.v3.GetTagValueRequest; /** * Encodes the specified GetTagValueRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.GetTagValueRequest.verify|verify} messages. * @param message GetTagValueRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IGetTagValueRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetTagValueRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.GetTagValueRequest.verify|verify} messages. * @param message GetTagValueRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IGetTagValueRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetTagValueRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetTagValueRequest * @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.resourcemanager.v3.GetTagValueRequest; /** * Decodes a GetTagValueRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetTagValueRequest * @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.resourcemanager.v3.GetTagValueRequest; /** * Verifies a GetTagValueRequest 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 GetTagValueRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetTagValueRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.GetTagValueRequest; /** * Creates a plain object from a GetTagValueRequest message. Also converts values to other types if specified. * @param message GetTagValueRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.GetTagValueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetTagValueRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GetTagValueRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetNamespacedTagValueRequest. */ interface IGetNamespacedTagValueRequest { /** GetNamespacedTagValueRequest name */ name?: (string|null); } /** Represents a GetNamespacedTagValueRequest. */ class GetNamespacedTagValueRequest implements IGetNamespacedTagValueRequest { /** * Constructs a new GetNamespacedTagValueRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IGetNamespacedTagValueRequest); /** GetNamespacedTagValueRequest name. */ public name: string; /** * Creates a new GetNamespacedTagValueRequest instance using the specified properties. * @param [properties] Properties to set * @returns GetNamespacedTagValueRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.IGetNamespacedTagValueRequest): google.cloud.resourcemanager.v3.GetNamespacedTagValueRequest; /** * Encodes the specified GetNamespacedTagValueRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.GetNamespacedTagValueRequest.verify|verify} messages. * @param message GetNamespacedTagValueRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IGetNamespacedTagValueRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetNamespacedTagValueRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.GetNamespacedTagValueRequest.verify|verify} messages. * @param message GetNamespacedTagValueRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IGetNamespacedTagValueRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetNamespacedTagValueRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetNamespacedTagValueRequest * @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.resourcemanager.v3.GetNamespacedTagValueRequest; /** * Decodes a GetNamespacedTagValueRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetNamespacedTagValueRequest * @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.resourcemanager.v3.GetNamespacedTagValueRequest; /** * Verifies a GetNamespacedTagValueRequest 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 GetNamespacedTagValueRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetNamespacedTagValueRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.GetNamespacedTagValueRequest; /** * Creates a plain object from a GetNamespacedTagValueRequest message. Also converts values to other types if specified. * @param message GetNamespacedTagValueRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.GetNamespacedTagValueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetNamespacedTagValueRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GetNamespacedTagValueRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateTagValueRequest. */ interface ICreateTagValueRequest { /** CreateTagValueRequest tagValue */ tagValue?: (google.cloud.resourcemanager.v3.ITagValue|null); /** CreateTagValueRequest validateOnly */ validateOnly?: (boolean|null); } /** Represents a CreateTagValueRequest. */ class CreateTagValueRequest implements ICreateTagValueRequest { /** * Constructs a new CreateTagValueRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.ICreateTagValueRequest); /** CreateTagValueRequest tagValue. */ public tagValue?: (google.cloud.resourcemanager.v3.ITagValue|null); /** CreateTagValueRequest validateOnly. */ public validateOnly: boolean; /** * Creates a new CreateTagValueRequest instance using the specified properties. * @param [properties] Properties to set * @returns CreateTagValueRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.ICreateTagValueRequest): google.cloud.resourcemanager.v3.CreateTagValueRequest; /** * Encodes the specified CreateTagValueRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.CreateTagValueRequest.verify|verify} messages. * @param message CreateTagValueRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.ICreateTagValueRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CreateTagValueRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.CreateTagValueRequest.verify|verify} messages. * @param message CreateTagValueRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.ICreateTagValueRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CreateTagValueRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CreateTagValueRequest * @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.resourcemanager.v3.CreateTagValueRequest; /** * Decodes a CreateTagValueRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CreateTagValueRequest * @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.resourcemanager.v3.CreateTagValueRequest; /** * Verifies a CreateTagValueRequest 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 CreateTagValueRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CreateTagValueRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.CreateTagValueRequest; /** * Creates a plain object from a CreateTagValueRequest message. Also converts values to other types if specified. * @param message CreateTagValueRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.CreateTagValueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CreateTagValueRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CreateTagValueRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateTagValueMetadata. */ interface ICreateTagValueMetadata { } /** Represents a CreateTagValueMetadata. */ class CreateTagValueMetadata implements ICreateTagValueMetadata { /** * Constructs a new CreateTagValueMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.ICreateTagValueMetadata); /** * Creates a new CreateTagValueMetadata instance using the specified properties. * @param [properties] Properties to set * @returns CreateTagValueMetadata instance */ public static create(properties?: google.cloud.resourcemanager.v3.ICreateTagValueMetadata): google.cloud.resourcemanager.v3.CreateTagValueMetadata; /** * Encodes the specified CreateTagValueMetadata message. Does not implicitly {@link google.cloud.resourcemanager.v3.CreateTagValueMetadata.verify|verify} messages. * @param message CreateTagValueMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.ICreateTagValueMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CreateTagValueMetadata message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.CreateTagValueMetadata.verify|verify} messages. * @param message CreateTagValueMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.ICreateTagValueMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CreateTagValueMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CreateTagValueMetadata * @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.resourcemanager.v3.CreateTagValueMetadata; /** * Decodes a CreateTagValueMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CreateTagValueMetadata * @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.resourcemanager.v3.CreateTagValueMetadata; /** * Verifies a CreateTagValueMetadata 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 CreateTagValueMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CreateTagValueMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.CreateTagValueMetadata; /** * Creates a plain object from a CreateTagValueMetadata message. Also converts values to other types if specified. * @param message CreateTagValueMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.CreateTagValueMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CreateTagValueMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CreateTagValueMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateTagValueRequest. */ interface IUpdateTagValueRequest { /** UpdateTagValueRequest tagValue */ tagValue?: (google.cloud.resourcemanager.v3.ITagValue|null); /** UpdateTagValueRequest updateMask */ updateMask?: (google.protobuf.IFieldMask|null); /** UpdateTagValueRequest validateOnly */ validateOnly?: (boolean|null); } /** Represents an UpdateTagValueRequest. */ class UpdateTagValueRequest implements IUpdateTagValueRequest { /** * Constructs a new UpdateTagValueRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IUpdateTagValueRequest); /** UpdateTagValueRequest tagValue. */ public tagValue?: (google.cloud.resourcemanager.v3.ITagValue|null); /** UpdateTagValueRequest updateMask. */ public updateMask?: (google.protobuf.IFieldMask|null); /** UpdateTagValueRequest validateOnly. */ public validateOnly: boolean; /** * Creates a new UpdateTagValueRequest instance using the specified properties. * @param [properties] Properties to set * @returns UpdateTagValueRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.IUpdateTagValueRequest): google.cloud.resourcemanager.v3.UpdateTagValueRequest; /** * Encodes the specified UpdateTagValueRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.UpdateTagValueRequest.verify|verify} messages. * @param message UpdateTagValueRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IUpdateTagValueRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UpdateTagValueRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.UpdateTagValueRequest.verify|verify} messages. * @param message UpdateTagValueRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IUpdateTagValueRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UpdateTagValueRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UpdateTagValueRequest * @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.resourcemanager.v3.UpdateTagValueRequest; /** * Decodes an UpdateTagValueRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UpdateTagValueRequest * @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.resourcemanager.v3.UpdateTagValueRequest; /** * Verifies an UpdateTagValueRequest 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 UpdateTagValueRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UpdateTagValueRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.UpdateTagValueRequest; /** * Creates a plain object from an UpdateTagValueRequest message. Also converts values to other types if specified. * @param message UpdateTagValueRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.UpdateTagValueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UpdateTagValueRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UpdateTagValueRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateTagValueMetadata. */ interface IUpdateTagValueMetadata { } /** Represents an UpdateTagValueMetadata. */ class UpdateTagValueMetadata implements IUpdateTagValueMetadata { /** * Constructs a new UpdateTagValueMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IUpdateTagValueMetadata); /** * Creates a new UpdateTagValueMetadata instance using the specified properties. * @param [properties] Properties to set * @returns UpdateTagValueMetadata instance */ public static create(properties?: google.cloud.resourcemanager.v3.IUpdateTagValueMetadata): google.cloud.resourcemanager.v3.UpdateTagValueMetadata; /** * Encodes the specified UpdateTagValueMetadata message. Does not implicitly {@link google.cloud.resourcemanager.v3.UpdateTagValueMetadata.verify|verify} messages. * @param message UpdateTagValueMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IUpdateTagValueMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UpdateTagValueMetadata message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.UpdateTagValueMetadata.verify|verify} messages. * @param message UpdateTagValueMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IUpdateTagValueMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UpdateTagValueMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UpdateTagValueMetadata * @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.resourcemanager.v3.UpdateTagValueMetadata; /** * Decodes an UpdateTagValueMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UpdateTagValueMetadata * @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.resourcemanager.v3.UpdateTagValueMetadata; /** * Verifies an UpdateTagValueMetadata 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 UpdateTagValueMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UpdateTagValueMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.UpdateTagValueMetadata; /** * Creates a plain object from an UpdateTagValueMetadata message. Also converts values to other types if specified. * @param message UpdateTagValueMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.UpdateTagValueMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UpdateTagValueMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UpdateTagValueMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteTagValueRequest. */ interface IDeleteTagValueRequest { /** DeleteTagValueRequest name */ name?: (string|null); /** DeleteTagValueRequest validateOnly */ validateOnly?: (boolean|null); /** DeleteTagValueRequest etag */ etag?: (string|null); } /** Represents a DeleteTagValueRequest. */ class DeleteTagValueRequest implements IDeleteTagValueRequest { /** * Constructs a new DeleteTagValueRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IDeleteTagValueRequest); /** DeleteTagValueRequest name. */ public name: string; /** DeleteTagValueRequest validateOnly. */ public validateOnly: boolean; /** DeleteTagValueRequest etag. */ public etag: string; /** * Creates a new DeleteTagValueRequest instance using the specified properties. * @param [properties] Properties to set * @returns DeleteTagValueRequest instance */ public static create(properties?: google.cloud.resourcemanager.v3.IDeleteTagValueRequest): google.cloud.resourcemanager.v3.DeleteTagValueRequest; /** * Encodes the specified DeleteTagValueRequest message. Does not implicitly {@link google.cloud.resourcemanager.v3.DeleteTagValueRequest.verify|verify} messages. * @param message DeleteTagValueRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IDeleteTagValueRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteTagValueRequest message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.DeleteTagValueRequest.verify|verify} messages. * @param message DeleteTagValueRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IDeleteTagValueRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteTagValueRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteTagValueRequest * @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.resourcemanager.v3.DeleteTagValueRequest; /** * Decodes a DeleteTagValueRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteTagValueRequest * @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.resourcemanager.v3.DeleteTagValueRequest; /** * Verifies a DeleteTagValueRequest 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 DeleteTagValueRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteTagValueRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.DeleteTagValueRequest; /** * Creates a plain object from a DeleteTagValueRequest message. Also converts values to other types if specified. * @param message DeleteTagValueRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.DeleteTagValueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteTagValueRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeleteTagValueRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteTagValueMetadata. */ interface IDeleteTagValueMetadata { } /** Represents a DeleteTagValueMetadata. */ class DeleteTagValueMetadata implements IDeleteTagValueMetadata { /** * Constructs a new DeleteTagValueMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.resourcemanager.v3.IDeleteTagValueMetadata); /** * Creates a new DeleteTagValueMetadata instance using the specified properties. * @param [properties] Properties to set * @returns DeleteTagValueMetadata instance */ public static create(properties?: google.cloud.resourcemanager.v3.IDeleteTagValueMetadata): google.cloud.resourcemanager.v3.DeleteTagValueMetadata; /** * Encodes the specified DeleteTagValueMetadata message. Does not implicitly {@link google.cloud.resourcemanager.v3.DeleteTagValueMetadata.verify|verify} messages. * @param message DeleteTagValueMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.resourcemanager.v3.IDeleteTagValueMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteTagValueMetadata message, length delimited. Does not implicitly {@link google.cloud.resourcemanager.v3.DeleteTagValueMetadata.verify|verify} messages. * @param message DeleteTagValueMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.resourcemanager.v3.IDeleteTagValueMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteTagValueMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteTagValueMetadata * @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.resourcemanager.v3.DeleteTagValueMetadata; /** * Decodes a DeleteTagValueMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteTagValueMetadata * @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.resourcemanager.v3.DeleteTagValueMetadata; /** * Verifies a DeleteTagValueMetadata 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 DeleteTagValueMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteTagValueMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.resourcemanager.v3.DeleteTagValueMetadata; /** * Creates a plain object from a DeleteTagValueMetadata message. Also converts values to other types if specified. * @param message DeleteTagValueMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.resourcemanager.v3.DeleteTagValueMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteTagValueMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeleteTagValueMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } } } /** Namespace api. */ namespace api { /** 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 } /** 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; } } /** 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 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 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; } /** 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 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; } } /** Namespace iam. */ namespace iam { /** Namespace v1. */ namespace v1 { /** Represents a IAMPolicy */ class IAMPolicy extends $protobuf.rpc.Service { /** * Constructs a new IAMPolicy 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 IAMPolicy 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): IAMPolicy; /** * Calls SetIamPolicy. * @param request SetIamPolicyRequest message or plain object * @param callback Node-style callback called with the error, if any, and Policy */ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.iam.v1.IAMPolicy.SetIamPolicyCallback): void; /** * Calls SetIamPolicy. * @param request SetIamPolicyRequest message or plain object * @returns Promise */ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise; /** * Calls GetIamPolicy. * @param request GetIamPolicyRequest message or plain object * @param callback Node-style callback called with the error, if any, and Policy */ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.iam.v1.IAMPolicy.GetIamPolicyCallback): void; /** * Calls GetIamPolicy. * @param request GetIamPolicyRequest message or plain object * @returns Promise */ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise; /** * Calls TestIamPermissions. * @param request TestIamPermissionsRequest message or plain object * @param callback Node-style callback called with the error, if any, and TestIamPermissionsResponse */ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest, callback: google.iam.v1.IAMPolicy.TestIamPermissionsCallback): void; /** * Calls TestIamPermissions. * @param request TestIamPermissionsRequest message or plain object * @returns Promise */ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise; } namespace IAMPolicy { /** * Callback as used by {@link google.iam.v1.IAMPolicy|setIamPolicy}. * @param error Error, if any * @param [response] Policy */ type SetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void; /** * Callback as used by {@link google.iam.v1.IAMPolicy|getIamPolicy}. * @param error Error, if any * @param [response] Policy */ type GetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void; /** * Callback as used by {@link google.iam.v1.IAMPolicy|testIamPermissions}. * @param error Error, if any * @param [response] TestIamPermissionsResponse */ type TestIamPermissionsCallback = (error: (Error|null), response?: google.iam.v1.TestIamPermissionsResponse) => void; } /** Properties of a SetIamPolicyRequest. */ interface ISetIamPolicyRequest { /** SetIamPolicyRequest resource */ resource?: (string|null); /** SetIamPolicyRequest policy */ policy?: (google.iam.v1.IPolicy|null); /** SetIamPolicyRequest updateMask */ updateMask?: (google.protobuf.IFieldMask|null); } /** Represents a SetIamPolicyRequest. */ class SetIamPolicyRequest implements ISetIamPolicyRequest { /** * Constructs a new SetIamPolicyRequest. * @param [properties] Properties to set */ constructor(properties?: google.iam.v1.ISetIamPolicyRequest); /** SetIamPolicyRequest resource. */ public resource: string; /** SetIamPolicyRequest policy. */ public policy?: (google.iam.v1.IPolicy|null); /** SetIamPolicyRequest updateMask. */ public updateMask?: (google.protobuf.IFieldMask|null); /** * Creates a new SetIamPolicyRequest instance using the specified properties. * @param [properties] Properties to set * @returns SetIamPolicyRequest instance */ public static create(properties?: google.iam.v1.ISetIamPolicyRequest): google.iam.v1.SetIamPolicyRequest; /** * Encodes the specified SetIamPolicyRequest message. Does not implicitly {@link google.iam.v1.SetIamPolicyRequest.verify|verify} messages. * @param message SetIamPolicyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.iam.v1.ISetIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SetIamPolicyRequest message, length delimited. Does not implicitly {@link google.iam.v1.SetIamPolicyRequest.verify|verify} messages. * @param message SetIamPolicyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.iam.v1.ISetIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SetIamPolicyRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SetIamPolicyRequest * @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.iam.v1.SetIamPolicyRequest; /** * Decodes a SetIamPolicyRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SetIamPolicyRequest * @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.iam.v1.SetIamPolicyRequest; /** * Verifies a SetIamPolicyRequest 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 SetIamPolicyRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SetIamPolicyRequest */ public static fromObject(object: { [k: string]: any }): google.iam.v1.SetIamPolicyRequest; /** * Creates a plain object from a SetIamPolicyRequest message. Also converts values to other types if specified. * @param message SetIamPolicyRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.iam.v1.SetIamPolicyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SetIamPolicyRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SetIamPolicyRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetIamPolicyRequest. */ interface IGetIamPolicyRequest { /** GetIamPolicyRequest resource */ resource?: (string|null); /** GetIamPolicyRequest options */ options?: (google.iam.v1.IGetPolicyOptions|null); } /** Represents a GetIamPolicyRequest. */ class GetIamPolicyRequest implements IGetIamPolicyRequest { /** * Constructs a new GetIamPolicyRequest. * @param [properties] Properties to set */ constructor(properties?: google.iam.v1.IGetIamPolicyRequest); /** GetIamPolicyRequest resource. */ public resource: string; /** GetIamPolicyRequest options. */ public options?: (google.iam.v1.IGetPolicyOptions|null); /** * Creates a new GetIamPolicyRequest instance using the specified properties. * @param [properties] Properties to set * @returns GetIamPolicyRequest instance */ public static create(properties?: google.iam.v1.IGetIamPolicyRequest): google.iam.v1.GetIamPolicyRequest; /** * Encodes the specified GetIamPolicyRequest message. Does not implicitly {@link google.iam.v1.GetIamPolicyRequest.verify|verify} messages. * @param message GetIamPolicyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.iam.v1.IGetIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetIamPolicyRequest message, length delimited. Does not implicitly {@link google.iam.v1.GetIamPolicyRequest.verify|verify} messages. * @param message GetIamPolicyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.iam.v1.IGetIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetIamPolicyRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetIamPolicyRequest * @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.iam.v1.GetIamPolicyRequest; /** * Decodes a GetIamPolicyRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetIamPolicyRequest * @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.iam.v1.GetIamPolicyRequest; /** * Verifies a GetIamPolicyRequest 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 GetIamPolicyRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetIamPolicyRequest */ public static fromObject(object: { [k: string]: any }): google.iam.v1.GetIamPolicyRequest; /** * Creates a plain object from a GetIamPolicyRequest message. Also converts values to other types if specified. * @param message GetIamPolicyRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.iam.v1.GetIamPolicyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetIamPolicyRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GetIamPolicyRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TestIamPermissionsRequest. */ interface ITestIamPermissionsRequest { /** TestIamPermissionsRequest resource */ resource?: (string|null); /** TestIamPermissionsRequest permissions */ permissions?: (string[]|null); } /** Represents a TestIamPermissionsRequest. */ class TestIamPermissionsRequest implements ITestIamPermissionsRequest { /** * Constructs a new TestIamPermissionsRequest. * @param [properties] Properties to set */ constructor(properties?: google.iam.v1.ITestIamPermissionsRequest); /** TestIamPermissionsRequest resource. */ public resource: string; /** TestIamPermissionsRequest permissions. */ public permissions: string[]; /** * Creates a new TestIamPermissionsRequest instance using the specified properties. * @param [properties] Properties to set * @returns TestIamPermissionsRequest instance */ public static create(properties?: google.iam.v1.ITestIamPermissionsRequest): google.iam.v1.TestIamPermissionsRequest; /** * Encodes the specified TestIamPermissionsRequest message. Does not implicitly {@link google.iam.v1.TestIamPermissionsRequest.verify|verify} messages. * @param message TestIamPermissionsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.iam.v1.ITestIamPermissionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TestIamPermissionsRequest message, length delimited. Does not implicitly {@link google.iam.v1.TestIamPermissionsRequest.verify|verify} messages. * @param message TestIamPermissionsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.iam.v1.ITestIamPermissionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TestIamPermissionsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TestIamPermissionsRequest * @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.iam.v1.TestIamPermissionsRequest; /** * Decodes a TestIamPermissionsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TestIamPermissionsRequest * @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.iam.v1.TestIamPermissionsRequest; /** * Verifies a TestIamPermissionsRequest 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 TestIamPermissionsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TestIamPermissionsRequest */ public static fromObject(object: { [k: string]: any }): google.iam.v1.TestIamPermissionsRequest; /** * Creates a plain object from a TestIamPermissionsRequest message. Also converts values to other types if specified. * @param message TestIamPermissionsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.iam.v1.TestIamPermissionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TestIamPermissionsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for TestIamPermissionsRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TestIamPermissionsResponse. */ interface ITestIamPermissionsResponse { /** TestIamPermissionsResponse permissions */ permissions?: (string[]|null); } /** Represents a TestIamPermissionsResponse. */ class TestIamPermissionsResponse implements ITestIamPermissionsResponse { /** * Constructs a new TestIamPermissionsResponse. * @param [properties] Properties to set */ constructor(properties?: google.iam.v1.ITestIamPermissionsResponse); /** TestIamPermissionsResponse permissions. */ public permissions: string[]; /** * Creates a new TestIamPermissionsResponse instance using the specified properties. * @param [properties] Properties to set * @returns TestIamPermissionsResponse instance */ public static create(properties?: google.iam.v1.ITestIamPermissionsResponse): google.iam.v1.TestIamPermissionsResponse; /** * Encodes the specified TestIamPermissionsResponse message. Does not implicitly {@link google.iam.v1.TestIamPermissionsResponse.verify|verify} messages. * @param message TestIamPermissionsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.iam.v1.ITestIamPermissionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TestIamPermissionsResponse message, length delimited. Does not implicitly {@link google.iam.v1.TestIamPermissionsResponse.verify|verify} messages. * @param message TestIamPermissionsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.iam.v1.ITestIamPermissionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TestIamPermissionsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TestIamPermissionsResponse * @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.iam.v1.TestIamPermissionsResponse; /** * Decodes a TestIamPermissionsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TestIamPermissionsResponse * @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.iam.v1.TestIamPermissionsResponse; /** * Verifies a TestIamPermissionsResponse 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 TestIamPermissionsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TestIamPermissionsResponse */ public static fromObject(object: { [k: string]: any }): google.iam.v1.TestIamPermissionsResponse; /** * Creates a plain object from a TestIamPermissionsResponse message. Also converts values to other types if specified. * @param message TestIamPermissionsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.iam.v1.TestIamPermissionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TestIamPermissionsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for TestIamPermissionsResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetPolicyOptions. */ interface IGetPolicyOptions { /** GetPolicyOptions requestedPolicyVersion */ requestedPolicyVersion?: (number|null); } /** Represents a GetPolicyOptions. */ class GetPolicyOptions implements IGetPolicyOptions { /** * Constructs a new GetPolicyOptions. * @param [properties] Properties to set */ constructor(properties?: google.iam.v1.IGetPolicyOptions); /** GetPolicyOptions requestedPolicyVersion. */ public requestedPolicyVersion: number; /** * Creates a new GetPolicyOptions instance using the specified properties. * @param [properties] Properties to set * @returns GetPolicyOptions instance */ public static create(properties?: google.iam.v1.IGetPolicyOptions): google.iam.v1.GetPolicyOptions; /** * Encodes the specified GetPolicyOptions message. Does not implicitly {@link google.iam.v1.GetPolicyOptions.verify|verify} messages. * @param message GetPolicyOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.iam.v1.IGetPolicyOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetPolicyOptions message, length delimited. Does not implicitly {@link google.iam.v1.GetPolicyOptions.verify|verify} messages. * @param message GetPolicyOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.iam.v1.IGetPolicyOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetPolicyOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetPolicyOptions * @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.iam.v1.GetPolicyOptions; /** * Decodes a GetPolicyOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetPolicyOptions * @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.iam.v1.GetPolicyOptions; /** * Verifies a GetPolicyOptions 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 GetPolicyOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetPolicyOptions */ public static fromObject(object: { [k: string]: any }): google.iam.v1.GetPolicyOptions; /** * Creates a plain object from a GetPolicyOptions message. Also converts values to other types if specified. * @param message GetPolicyOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.iam.v1.GetPolicyOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetPolicyOptions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GetPolicyOptions * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Policy. */ interface IPolicy { /** Policy version */ version?: (number|null); /** Policy bindings */ bindings?: (google.iam.v1.IBinding[]|null); /** Policy auditConfigs */ auditConfigs?: (google.iam.v1.IAuditConfig[]|null); /** Policy etag */ etag?: (Uint8Array|Buffer|string|null); } /** Represents a Policy. */ class Policy implements IPolicy { /** * Constructs a new Policy. * @param [properties] Properties to set */ constructor(properties?: google.iam.v1.IPolicy); /** Policy version. */ public version: number; /** Policy bindings. */ public bindings: google.iam.v1.IBinding[]; /** Policy auditConfigs. */ public auditConfigs: google.iam.v1.IAuditConfig[]; /** Policy etag. */ public etag: (Uint8Array|Buffer|string); /** * Creates a new Policy instance using the specified properties. * @param [properties] Properties to set * @returns Policy instance */ public static create(properties?: google.iam.v1.IPolicy): google.iam.v1.Policy; /** * Encodes the specified Policy message. Does not implicitly {@link google.iam.v1.Policy.verify|verify} messages. * @param message Policy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.iam.v1.IPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Policy message, length delimited. Does not implicitly {@link google.iam.v1.Policy.verify|verify} messages. * @param message Policy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.iam.v1.IPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Policy message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Policy * @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.iam.v1.Policy; /** * Decodes a Policy message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Policy * @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.iam.v1.Policy; /** * Verifies a Policy 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 Policy message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Policy */ public static fromObject(object: { [k: string]: any }): google.iam.v1.Policy; /** * Creates a plain object from a Policy message. Also converts values to other types if specified. * @param message Policy * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.iam.v1.Policy, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Policy to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Policy * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Binding. */ interface IBinding { /** Binding role */ role?: (string|null); /** Binding members */ members?: (string[]|null); /** Binding condition */ condition?: (google.type.IExpr|null); } /** Represents a Binding. */ class Binding implements IBinding { /** * Constructs a new Binding. * @param [properties] Properties to set */ constructor(properties?: google.iam.v1.IBinding); /** Binding role. */ public role: string; /** Binding members. */ public members: string[]; /** Binding condition. */ public condition?: (google.type.IExpr|null); /** * Creates a new Binding instance using the specified properties. * @param [properties] Properties to set * @returns Binding instance */ public static create(properties?: google.iam.v1.IBinding): google.iam.v1.Binding; /** * Encodes the specified Binding message. Does not implicitly {@link google.iam.v1.Binding.verify|verify} messages. * @param message Binding message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.iam.v1.IBinding, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Binding message, length delimited. Does not implicitly {@link google.iam.v1.Binding.verify|verify} messages. * @param message Binding message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.iam.v1.IBinding, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Binding message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Binding * @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.iam.v1.Binding; /** * Decodes a Binding message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Binding * @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.iam.v1.Binding; /** * Verifies a Binding 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 Binding message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Binding */ public static fromObject(object: { [k: string]: any }): google.iam.v1.Binding; /** * Creates a plain object from a Binding message. Also converts values to other types if specified. * @param message Binding * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.iam.v1.Binding, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Binding to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Binding * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AuditConfig. */ interface IAuditConfig { /** AuditConfig service */ service?: (string|null); /** AuditConfig auditLogConfigs */ auditLogConfigs?: (google.iam.v1.IAuditLogConfig[]|null); } /** Represents an AuditConfig. */ class AuditConfig implements IAuditConfig { /** * Constructs a new AuditConfig. * @param [properties] Properties to set */ constructor(properties?: google.iam.v1.IAuditConfig); /** AuditConfig service. */ public service: string; /** AuditConfig auditLogConfigs. */ public auditLogConfigs: google.iam.v1.IAuditLogConfig[]; /** * Creates a new AuditConfig instance using the specified properties. * @param [properties] Properties to set * @returns AuditConfig instance */ public static create(properties?: google.iam.v1.IAuditConfig): google.iam.v1.AuditConfig; /** * Encodes the specified AuditConfig message. Does not implicitly {@link google.iam.v1.AuditConfig.verify|verify} messages. * @param message AuditConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.iam.v1.IAuditConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AuditConfig message, length delimited. Does not implicitly {@link google.iam.v1.AuditConfig.verify|verify} messages. * @param message AuditConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.iam.v1.IAuditConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AuditConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AuditConfig * @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.iam.v1.AuditConfig; /** * Decodes an AuditConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AuditConfig * @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.iam.v1.AuditConfig; /** * Verifies an AuditConfig 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 AuditConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AuditConfig */ public static fromObject(object: { [k: string]: any }): google.iam.v1.AuditConfig; /** * Creates a plain object from an AuditConfig message. Also converts values to other types if specified. * @param message AuditConfig * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.iam.v1.AuditConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AuditConfig to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AuditConfig * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AuditLogConfig. */ interface IAuditLogConfig { /** AuditLogConfig logType */ logType?: (google.iam.v1.AuditLogConfig.LogType|keyof typeof google.iam.v1.AuditLogConfig.LogType|null); /** AuditLogConfig exemptedMembers */ exemptedMembers?: (string[]|null); } /** Represents an AuditLogConfig. */ class AuditLogConfig implements IAuditLogConfig { /** * Constructs a new AuditLogConfig. * @param [properties] Properties to set */ constructor(properties?: google.iam.v1.IAuditLogConfig); /** AuditLogConfig logType. */ public logType: (google.iam.v1.AuditLogConfig.LogType|keyof typeof google.iam.v1.AuditLogConfig.LogType); /** AuditLogConfig exemptedMembers. */ public exemptedMembers: string[]; /** * Creates a new AuditLogConfig instance using the specified properties. * @param [properties] Properties to set * @returns AuditLogConfig instance */ public static create(properties?: google.iam.v1.IAuditLogConfig): google.iam.v1.AuditLogConfig; /** * Encodes the specified AuditLogConfig message. Does not implicitly {@link google.iam.v1.AuditLogConfig.verify|verify} messages. * @param message AuditLogConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.iam.v1.IAuditLogConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AuditLogConfig message, length delimited. Does not implicitly {@link google.iam.v1.AuditLogConfig.verify|verify} messages. * @param message AuditLogConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.iam.v1.IAuditLogConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AuditLogConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AuditLogConfig * @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.iam.v1.AuditLogConfig; /** * Decodes an AuditLogConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AuditLogConfig * @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.iam.v1.AuditLogConfig; /** * Verifies an AuditLogConfig 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 AuditLogConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AuditLogConfig */ public static fromObject(object: { [k: string]: any }): google.iam.v1.AuditLogConfig; /** * Creates a plain object from an AuditLogConfig message. Also converts values to other types if specified. * @param message AuditLogConfig * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.iam.v1.AuditLogConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AuditLogConfig to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AuditLogConfig * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AuditLogConfig { /** LogType enum. */ enum LogType { LOG_TYPE_UNSPECIFIED = 0, ADMIN_READ = 1, DATA_WRITE = 2, DATA_READ = 3 } } /** Properties of a PolicyDelta. */ interface IPolicyDelta { /** PolicyDelta bindingDeltas */ bindingDeltas?: (google.iam.v1.IBindingDelta[]|null); /** PolicyDelta auditConfigDeltas */ auditConfigDeltas?: (google.iam.v1.IAuditConfigDelta[]|null); } /** Represents a PolicyDelta. */ class PolicyDelta implements IPolicyDelta { /** * Constructs a new PolicyDelta. * @param [properties] Properties to set */ constructor(properties?: google.iam.v1.IPolicyDelta); /** PolicyDelta bindingDeltas. */ public bindingDeltas: google.iam.v1.IBindingDelta[]; /** PolicyDelta auditConfigDeltas. */ public auditConfigDeltas: google.iam.v1.IAuditConfigDelta[]; /** * Creates a new PolicyDelta instance using the specified properties. * @param [properties] Properties to set * @returns PolicyDelta instance */ public static create(properties?: google.iam.v1.IPolicyDelta): google.iam.v1.PolicyDelta; /** * Encodes the specified PolicyDelta message. Does not implicitly {@link google.iam.v1.PolicyDelta.verify|verify} messages. * @param message PolicyDelta message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.iam.v1.IPolicyDelta, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PolicyDelta message, length delimited. Does not implicitly {@link google.iam.v1.PolicyDelta.verify|verify} messages. * @param message PolicyDelta message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.iam.v1.IPolicyDelta, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PolicyDelta message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PolicyDelta * @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.iam.v1.PolicyDelta; /** * Decodes a PolicyDelta message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PolicyDelta * @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.iam.v1.PolicyDelta; /** * Verifies a PolicyDelta 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 PolicyDelta message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PolicyDelta */ public static fromObject(object: { [k: string]: any }): google.iam.v1.PolicyDelta; /** * Creates a plain object from a PolicyDelta message. Also converts values to other types if specified. * @param message PolicyDelta * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.iam.v1.PolicyDelta, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PolicyDelta to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PolicyDelta * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BindingDelta. */ interface IBindingDelta { /** BindingDelta action */ action?: (google.iam.v1.BindingDelta.Action|keyof typeof google.iam.v1.BindingDelta.Action|null); /** BindingDelta role */ role?: (string|null); /** BindingDelta member */ member?: (string|null); /** BindingDelta condition */ condition?: (google.type.IExpr|null); } /** Represents a BindingDelta. */ class BindingDelta implements IBindingDelta { /** * Constructs a new BindingDelta. * @param [properties] Properties to set */ constructor(properties?: google.iam.v1.IBindingDelta); /** BindingDelta action. */ public action: (google.iam.v1.BindingDelta.Action|keyof typeof google.iam.v1.BindingDelta.Action); /** BindingDelta role. */ public role: string; /** BindingDelta member. */ public member: string; /** BindingDelta condition. */ public condition?: (google.type.IExpr|null); /** * Creates a new BindingDelta instance using the specified properties. * @param [properties] Properties to set * @returns BindingDelta instance */ public static create(properties?: google.iam.v1.IBindingDelta): google.iam.v1.BindingDelta; /** * Encodes the specified BindingDelta message. Does not implicitly {@link google.iam.v1.BindingDelta.verify|verify} messages. * @param message BindingDelta message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.iam.v1.IBindingDelta, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BindingDelta message, length delimited. Does not implicitly {@link google.iam.v1.BindingDelta.verify|verify} messages. * @param message BindingDelta message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.iam.v1.IBindingDelta, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BindingDelta message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BindingDelta * @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.iam.v1.BindingDelta; /** * Decodes a BindingDelta message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BindingDelta * @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.iam.v1.BindingDelta; /** * Verifies a BindingDelta 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 BindingDelta message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BindingDelta */ public static fromObject(object: { [k: string]: any }): google.iam.v1.BindingDelta; /** * Creates a plain object from a BindingDelta message. Also converts values to other types if specified. * @param message BindingDelta * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.iam.v1.BindingDelta, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BindingDelta to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BindingDelta * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BindingDelta { /** Action enum. */ enum Action { ACTION_UNSPECIFIED = 0, ADD = 1, REMOVE = 2 } } /** Properties of an AuditConfigDelta. */ interface IAuditConfigDelta { /** AuditConfigDelta action */ action?: (google.iam.v1.AuditConfigDelta.Action|keyof typeof google.iam.v1.AuditConfigDelta.Action|null); /** AuditConfigDelta service */ service?: (string|null); /** AuditConfigDelta exemptedMember */ exemptedMember?: (string|null); /** AuditConfigDelta logType */ logType?: (string|null); } /** Represents an AuditConfigDelta. */ class AuditConfigDelta implements IAuditConfigDelta { /** * Constructs a new AuditConfigDelta. * @param [properties] Properties to set */ constructor(properties?: google.iam.v1.IAuditConfigDelta); /** AuditConfigDelta action. */ public action: (google.iam.v1.AuditConfigDelta.Action|keyof typeof google.iam.v1.AuditConfigDelta.Action); /** AuditConfigDelta service. */ public service: string; /** AuditConfigDelta exemptedMember. */ public exemptedMember: string; /** AuditConfigDelta logType. */ public logType: string; /** * Creates a new AuditConfigDelta instance using the specified properties. * @param [properties] Properties to set * @returns AuditConfigDelta instance */ public static create(properties?: google.iam.v1.IAuditConfigDelta): google.iam.v1.AuditConfigDelta; /** * Encodes the specified AuditConfigDelta message. Does not implicitly {@link google.iam.v1.AuditConfigDelta.verify|verify} messages. * @param message AuditConfigDelta message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.iam.v1.IAuditConfigDelta, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AuditConfigDelta message, length delimited. Does not implicitly {@link google.iam.v1.AuditConfigDelta.verify|verify} messages. * @param message AuditConfigDelta message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.iam.v1.IAuditConfigDelta, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AuditConfigDelta message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AuditConfigDelta * @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.iam.v1.AuditConfigDelta; /** * Decodes an AuditConfigDelta message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AuditConfigDelta * @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.iam.v1.AuditConfigDelta; /** * Verifies an AuditConfigDelta 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 AuditConfigDelta message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AuditConfigDelta */ public static fromObject(object: { [k: string]: any }): google.iam.v1.AuditConfigDelta; /** * Creates a plain object from an AuditConfigDelta message. Also converts values to other types if specified. * @param message AuditConfigDelta * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.iam.v1.AuditConfigDelta, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AuditConfigDelta to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AuditConfigDelta * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AuditConfigDelta { /** Action enum. */ enum Action { ACTION_UNSPECIFIED = 0, ADD = 1, REMOVE = 2 } } } } /** Namespace type. */ namespace type { /** Properties of an Expr. */ interface IExpr { /** Expr expression */ expression?: (string|null); /** Expr title */ title?: (string|null); /** Expr description */ description?: (string|null); /** Expr location */ location?: (string|null); } /** Represents an Expr. */ class Expr implements IExpr { /** * Constructs a new Expr. * @param [properties] Properties to set */ constructor(properties?: google.type.IExpr); /** Expr expression. */ public expression: string; /** Expr title. */ public title: string; /** Expr description. */ public description: string; /** Expr location. */ public location: string; /** * Creates a new Expr instance using the specified properties. * @param [properties] Properties to set * @returns Expr instance */ public static create(properties?: google.type.IExpr): google.type.Expr; /** * Encodes the specified Expr message. Does not implicitly {@link google.type.Expr.verify|verify} messages. * @param message Expr message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.type.IExpr, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Expr message, length delimited. Does not implicitly {@link google.type.Expr.verify|verify} messages. * @param message Expr message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.type.IExpr, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Expr message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Expr * @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.Expr; /** * Decodes an Expr message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Expr * @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.Expr; /** * Verifies an Expr 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 Expr message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Expr */ public static fromObject(object: { [k: string]: any }): google.type.Expr; /** * Creates a plain object from an Expr message. Also converts values to other types if specified. * @param message Expr * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.type.Expr, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Expr to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Expr * @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; } } }