// Copyright 2026 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 asset. */ namespace asset { /** Namespace v1. */ namespace v1 { /** Properties of a ResourceOwners. */ interface IResourceOwners { /** ResourceOwners resourceOwners */ resourceOwners?: (string[]|null); } /** Represents a ResourceOwners. */ class ResourceOwners implements IResourceOwners { /** * Constructs a new ResourceOwners. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IResourceOwners); /** ResourceOwners resourceOwners. */ public resourceOwners: string[]; /** * Creates a new ResourceOwners instance using the specified properties. * @param [properties] Properties to set * @returns ResourceOwners instance */ public static create(properties?: google.cloud.asset.v1.IResourceOwners): google.cloud.asset.v1.ResourceOwners; /** * Encodes the specified ResourceOwners message. Does not implicitly {@link google.cloud.asset.v1.ResourceOwners.verify|verify} messages. * @param message ResourceOwners message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IResourceOwners, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ResourceOwners message, length delimited. Does not implicitly {@link google.cloud.asset.v1.ResourceOwners.verify|verify} messages. * @param message ResourceOwners message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IResourceOwners, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ResourceOwners message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ResourceOwners * @throws {Error} If the payload is not 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.asset.v1.ResourceOwners; /** * Decodes a ResourceOwners message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ResourceOwners * @throws {Error} If the payload 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.asset.v1.ResourceOwners; /** * Verifies a ResourceOwners message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ResourceOwners message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ResourceOwners */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.ResourceOwners; /** * Creates a plain object from a ResourceOwners message. Also converts values to other types if specified. * @param message ResourceOwners * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.ResourceOwners, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ResourceOwners to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ResourceOwners * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents an AssetService */ class AssetService extends $protobuf.rpc.Service { /** * Constructs a new AssetService 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 AssetService 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): AssetService; /** * Calls ExportAssets. * @param request ExportAssetsRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public exportAssets(request: google.cloud.asset.v1.IExportAssetsRequest, callback: google.cloud.asset.v1.AssetService.ExportAssetsCallback): void; /** * Calls ExportAssets. * @param request ExportAssetsRequest message or plain object * @returns Promise */ public exportAssets(request: google.cloud.asset.v1.IExportAssetsRequest): Promise; /** * Calls ListAssets. * @param request ListAssetsRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListAssetsResponse */ public listAssets(request: google.cloud.asset.v1.IListAssetsRequest, callback: google.cloud.asset.v1.AssetService.ListAssetsCallback): void; /** * Calls ListAssets. * @param request ListAssetsRequest message or plain object * @returns Promise */ public listAssets(request: google.cloud.asset.v1.IListAssetsRequest): Promise; /** * Calls BatchGetAssetsHistory. * @param request BatchGetAssetsHistoryRequest message or plain object * @param callback Node-style callback called with the error, if any, and BatchGetAssetsHistoryResponse */ public batchGetAssetsHistory(request: google.cloud.asset.v1.IBatchGetAssetsHistoryRequest, callback: google.cloud.asset.v1.AssetService.BatchGetAssetsHistoryCallback): void; /** * Calls BatchGetAssetsHistory. * @param request BatchGetAssetsHistoryRequest message or plain object * @returns Promise */ public batchGetAssetsHistory(request: google.cloud.asset.v1.IBatchGetAssetsHistoryRequest): Promise; /** * Calls CreateFeed. * @param request CreateFeedRequest message or plain object * @param callback Node-style callback called with the error, if any, and Feed */ public createFeed(request: google.cloud.asset.v1.ICreateFeedRequest, callback: google.cloud.asset.v1.AssetService.CreateFeedCallback): void; /** * Calls CreateFeed. * @param request CreateFeedRequest message or plain object * @returns Promise */ public createFeed(request: google.cloud.asset.v1.ICreateFeedRequest): Promise; /** * Calls GetFeed. * @param request GetFeedRequest message or plain object * @param callback Node-style callback called with the error, if any, and Feed */ public getFeed(request: google.cloud.asset.v1.IGetFeedRequest, callback: google.cloud.asset.v1.AssetService.GetFeedCallback): void; /** * Calls GetFeed. * @param request GetFeedRequest message or plain object * @returns Promise */ public getFeed(request: google.cloud.asset.v1.IGetFeedRequest): Promise; /** * Calls ListFeeds. * @param request ListFeedsRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListFeedsResponse */ public listFeeds(request: google.cloud.asset.v1.IListFeedsRequest, callback: google.cloud.asset.v1.AssetService.ListFeedsCallback): void; /** * Calls ListFeeds. * @param request ListFeedsRequest message or plain object * @returns Promise */ public listFeeds(request: google.cloud.asset.v1.IListFeedsRequest): Promise; /** * Calls UpdateFeed. * @param request UpdateFeedRequest message or plain object * @param callback Node-style callback called with the error, if any, and Feed */ public updateFeed(request: google.cloud.asset.v1.IUpdateFeedRequest, callback: google.cloud.asset.v1.AssetService.UpdateFeedCallback): void; /** * Calls UpdateFeed. * @param request UpdateFeedRequest message or plain object * @returns Promise */ public updateFeed(request: google.cloud.asset.v1.IUpdateFeedRequest): Promise; /** * Calls DeleteFeed. * @param request DeleteFeedRequest message or plain object * @param callback Node-style callback called with the error, if any, and Empty */ public deleteFeed(request: google.cloud.asset.v1.IDeleteFeedRequest, callback: google.cloud.asset.v1.AssetService.DeleteFeedCallback): void; /** * Calls DeleteFeed. * @param request DeleteFeedRequest message or plain object * @returns Promise */ public deleteFeed(request: google.cloud.asset.v1.IDeleteFeedRequest): Promise; /** * Calls SearchAllResources. * @param request SearchAllResourcesRequest message or plain object * @param callback Node-style callback called with the error, if any, and SearchAllResourcesResponse */ public searchAllResources(request: google.cloud.asset.v1.ISearchAllResourcesRequest, callback: google.cloud.asset.v1.AssetService.SearchAllResourcesCallback): void; /** * Calls SearchAllResources. * @param request SearchAllResourcesRequest message or plain object * @returns Promise */ public searchAllResources(request: google.cloud.asset.v1.ISearchAllResourcesRequest): Promise; /** * Calls SearchAllIamPolicies. * @param request SearchAllIamPoliciesRequest message or plain object * @param callback Node-style callback called with the error, if any, and SearchAllIamPoliciesResponse */ public searchAllIamPolicies(request: google.cloud.asset.v1.ISearchAllIamPoliciesRequest, callback: google.cloud.asset.v1.AssetService.SearchAllIamPoliciesCallback): void; /** * Calls SearchAllIamPolicies. * @param request SearchAllIamPoliciesRequest message or plain object * @returns Promise */ public searchAllIamPolicies(request: google.cloud.asset.v1.ISearchAllIamPoliciesRequest): Promise; /** * Calls AnalyzeIamPolicy. * @param request AnalyzeIamPolicyRequest message or plain object * @param callback Node-style callback called with the error, if any, and AnalyzeIamPolicyResponse */ public analyzeIamPolicy(request: google.cloud.asset.v1.IAnalyzeIamPolicyRequest, callback: google.cloud.asset.v1.AssetService.AnalyzeIamPolicyCallback): void; /** * Calls AnalyzeIamPolicy. * @param request AnalyzeIamPolicyRequest message or plain object * @returns Promise */ public analyzeIamPolicy(request: google.cloud.asset.v1.IAnalyzeIamPolicyRequest): Promise; /** * Calls AnalyzeIamPolicyLongrunning. * @param request AnalyzeIamPolicyLongrunningRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public analyzeIamPolicyLongrunning(request: google.cloud.asset.v1.IAnalyzeIamPolicyLongrunningRequest, callback: google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunningCallback): void; /** * Calls AnalyzeIamPolicyLongrunning. * @param request AnalyzeIamPolicyLongrunningRequest message or plain object * @returns Promise */ public analyzeIamPolicyLongrunning(request: google.cloud.asset.v1.IAnalyzeIamPolicyLongrunningRequest): Promise; /** * Calls AnalyzeMove. * @param request AnalyzeMoveRequest message or plain object * @param callback Node-style callback called with the error, if any, and AnalyzeMoveResponse */ public analyzeMove(request: google.cloud.asset.v1.IAnalyzeMoveRequest, callback: google.cloud.asset.v1.AssetService.AnalyzeMoveCallback): void; /** * Calls AnalyzeMove. * @param request AnalyzeMoveRequest message or plain object * @returns Promise */ public analyzeMove(request: google.cloud.asset.v1.IAnalyzeMoveRequest): Promise; /** * Calls QueryAssets. * @param request QueryAssetsRequest message or plain object * @param callback Node-style callback called with the error, if any, and QueryAssetsResponse */ public queryAssets(request: google.cloud.asset.v1.IQueryAssetsRequest, callback: google.cloud.asset.v1.AssetService.QueryAssetsCallback): void; /** * Calls QueryAssets. * @param request QueryAssetsRequest message or plain object * @returns Promise */ public queryAssets(request: google.cloud.asset.v1.IQueryAssetsRequest): Promise; /** * Calls CreateSavedQuery. * @param request CreateSavedQueryRequest message or plain object * @param callback Node-style callback called with the error, if any, and SavedQuery */ public createSavedQuery(request: google.cloud.asset.v1.ICreateSavedQueryRequest, callback: google.cloud.asset.v1.AssetService.CreateSavedQueryCallback): void; /** * Calls CreateSavedQuery. * @param request CreateSavedQueryRequest message or plain object * @returns Promise */ public createSavedQuery(request: google.cloud.asset.v1.ICreateSavedQueryRequest): Promise; /** * Calls GetSavedQuery. * @param request GetSavedQueryRequest message or plain object * @param callback Node-style callback called with the error, if any, and SavedQuery */ public getSavedQuery(request: google.cloud.asset.v1.IGetSavedQueryRequest, callback: google.cloud.asset.v1.AssetService.GetSavedQueryCallback): void; /** * Calls GetSavedQuery. * @param request GetSavedQueryRequest message or plain object * @returns Promise */ public getSavedQuery(request: google.cloud.asset.v1.IGetSavedQueryRequest): Promise; /** * Calls ListSavedQueries. * @param request ListSavedQueriesRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListSavedQueriesResponse */ public listSavedQueries(request: google.cloud.asset.v1.IListSavedQueriesRequest, callback: google.cloud.asset.v1.AssetService.ListSavedQueriesCallback): void; /** * Calls ListSavedQueries. * @param request ListSavedQueriesRequest message or plain object * @returns Promise */ public listSavedQueries(request: google.cloud.asset.v1.IListSavedQueriesRequest): Promise; /** * Calls UpdateSavedQuery. * @param request UpdateSavedQueryRequest message or plain object * @param callback Node-style callback called with the error, if any, and SavedQuery */ public updateSavedQuery(request: google.cloud.asset.v1.IUpdateSavedQueryRequest, callback: google.cloud.asset.v1.AssetService.UpdateSavedQueryCallback): void; /** * Calls UpdateSavedQuery. * @param request UpdateSavedQueryRequest message or plain object * @returns Promise */ public updateSavedQuery(request: google.cloud.asset.v1.IUpdateSavedQueryRequest): Promise; /** * Calls DeleteSavedQuery. * @param request DeleteSavedQueryRequest message or plain object * @param callback Node-style callback called with the error, if any, and Empty */ public deleteSavedQuery(request: google.cloud.asset.v1.IDeleteSavedQueryRequest, callback: google.cloud.asset.v1.AssetService.DeleteSavedQueryCallback): void; /** * Calls DeleteSavedQuery. * @param request DeleteSavedQueryRequest message or plain object * @returns Promise */ public deleteSavedQuery(request: google.cloud.asset.v1.IDeleteSavedQueryRequest): Promise; /** * Calls BatchGetEffectiveIamPolicies. * @param request BatchGetEffectiveIamPoliciesRequest message or plain object * @param callback Node-style callback called with the error, if any, and BatchGetEffectiveIamPoliciesResponse */ public batchGetEffectiveIamPolicies(request: google.cloud.asset.v1.IBatchGetEffectiveIamPoliciesRequest, callback: google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPoliciesCallback): void; /** * Calls BatchGetEffectiveIamPolicies. * @param request BatchGetEffectiveIamPoliciesRequest message or plain object * @returns Promise */ public batchGetEffectiveIamPolicies(request: google.cloud.asset.v1.IBatchGetEffectiveIamPoliciesRequest): Promise; /** * Calls AnalyzeOrgPolicies. * @param request AnalyzeOrgPoliciesRequest message or plain object * @param callback Node-style callback called with the error, if any, and AnalyzeOrgPoliciesResponse */ public analyzeOrgPolicies(request: google.cloud.asset.v1.IAnalyzeOrgPoliciesRequest, callback: google.cloud.asset.v1.AssetService.AnalyzeOrgPoliciesCallback): void; /** * Calls AnalyzeOrgPolicies. * @param request AnalyzeOrgPoliciesRequest message or plain object * @returns Promise */ public analyzeOrgPolicies(request: google.cloud.asset.v1.IAnalyzeOrgPoliciesRequest): Promise; /** * Calls AnalyzeOrgPolicyGovernedContainers. * @param request AnalyzeOrgPolicyGovernedContainersRequest message or plain object * @param callback Node-style callback called with the error, if any, and AnalyzeOrgPolicyGovernedContainersResponse */ public analyzeOrgPolicyGovernedContainers(request: google.cloud.asset.v1.IAnalyzeOrgPolicyGovernedContainersRequest, callback: google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedContainersCallback): void; /** * Calls AnalyzeOrgPolicyGovernedContainers. * @param request AnalyzeOrgPolicyGovernedContainersRequest message or plain object * @returns Promise */ public analyzeOrgPolicyGovernedContainers(request: google.cloud.asset.v1.IAnalyzeOrgPolicyGovernedContainersRequest): Promise; /** * Calls AnalyzeOrgPolicyGovernedAssets. * @param request AnalyzeOrgPolicyGovernedAssetsRequest message or plain object * @param callback Node-style callback called with the error, if any, and AnalyzeOrgPolicyGovernedAssetsResponse */ public analyzeOrgPolicyGovernedAssets(request: google.cloud.asset.v1.IAnalyzeOrgPolicyGovernedAssetsRequest, callback: google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedAssetsCallback): void; /** * Calls AnalyzeOrgPolicyGovernedAssets. * @param request AnalyzeOrgPolicyGovernedAssetsRequest message or plain object * @returns Promise */ public analyzeOrgPolicyGovernedAssets(request: google.cloud.asset.v1.IAnalyzeOrgPolicyGovernedAssetsRequest): Promise; } namespace AssetService { /** * Callback as used by {@link google.cloud.asset.v1.AssetService|exportAssets}. * @param error Error, if any * @param [response] Operation */ type ExportAssetsCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** * Callback as used by {@link google.cloud.asset.v1.AssetService|listAssets}. * @param error Error, if any * @param [response] ListAssetsResponse */ type ListAssetsCallback = (error: (Error|null), response?: google.cloud.asset.v1.ListAssetsResponse) => void; /** * Callback as used by {@link google.cloud.asset.v1.AssetService|batchGetAssetsHistory}. * @param error Error, if any * @param [response] BatchGetAssetsHistoryResponse */ type BatchGetAssetsHistoryCallback = (error: (Error|null), response?: google.cloud.asset.v1.BatchGetAssetsHistoryResponse) => void; /** * Callback as used by {@link google.cloud.asset.v1.AssetService|createFeed}. * @param error Error, if any * @param [response] Feed */ type CreateFeedCallback = (error: (Error|null), response?: google.cloud.asset.v1.Feed) => void; /** * Callback as used by {@link google.cloud.asset.v1.AssetService|getFeed}. * @param error Error, if any * @param [response] Feed */ type GetFeedCallback = (error: (Error|null), response?: google.cloud.asset.v1.Feed) => void; /** * Callback as used by {@link google.cloud.asset.v1.AssetService|listFeeds}. * @param error Error, if any * @param [response] ListFeedsResponse */ type ListFeedsCallback = (error: (Error|null), response?: google.cloud.asset.v1.ListFeedsResponse) => void; /** * Callback as used by {@link google.cloud.asset.v1.AssetService|updateFeed}. * @param error Error, if any * @param [response] Feed */ type UpdateFeedCallback = (error: (Error|null), response?: google.cloud.asset.v1.Feed) => void; /** * Callback as used by {@link google.cloud.asset.v1.AssetService|deleteFeed}. * @param error Error, if any * @param [response] Empty */ type DeleteFeedCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** * Callback as used by {@link google.cloud.asset.v1.AssetService|searchAllResources}. * @param error Error, if any * @param [response] SearchAllResourcesResponse */ type SearchAllResourcesCallback = (error: (Error|null), response?: google.cloud.asset.v1.SearchAllResourcesResponse) => void; /** * Callback as used by {@link google.cloud.asset.v1.AssetService|searchAllIamPolicies}. * @param error Error, if any * @param [response] SearchAllIamPoliciesResponse */ type SearchAllIamPoliciesCallback = (error: (Error|null), response?: google.cloud.asset.v1.SearchAllIamPoliciesResponse) => void; /** * Callback as used by {@link google.cloud.asset.v1.AssetService|analyzeIamPolicy}. * @param error Error, if any * @param [response] AnalyzeIamPolicyResponse */ type AnalyzeIamPolicyCallback = (error: (Error|null), response?: google.cloud.asset.v1.AnalyzeIamPolicyResponse) => void; /** * Callback as used by {@link google.cloud.asset.v1.AssetService|analyzeIamPolicyLongrunning}. * @param error Error, if any * @param [response] Operation */ type AnalyzeIamPolicyLongrunningCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** * Callback as used by {@link google.cloud.asset.v1.AssetService|analyzeMove}. * @param error Error, if any * @param [response] AnalyzeMoveResponse */ type AnalyzeMoveCallback = (error: (Error|null), response?: google.cloud.asset.v1.AnalyzeMoveResponse) => void; /** * Callback as used by {@link google.cloud.asset.v1.AssetService|queryAssets}. * @param error Error, if any * @param [response] QueryAssetsResponse */ type QueryAssetsCallback = (error: (Error|null), response?: google.cloud.asset.v1.QueryAssetsResponse) => void; /** * Callback as used by {@link google.cloud.asset.v1.AssetService|createSavedQuery}. * @param error Error, if any * @param [response] SavedQuery */ type CreateSavedQueryCallback = (error: (Error|null), response?: google.cloud.asset.v1.SavedQuery) => void; /** * Callback as used by {@link google.cloud.asset.v1.AssetService|getSavedQuery}. * @param error Error, if any * @param [response] SavedQuery */ type GetSavedQueryCallback = (error: (Error|null), response?: google.cloud.asset.v1.SavedQuery) => void; /** * Callback as used by {@link google.cloud.asset.v1.AssetService|listSavedQueries}. * @param error Error, if any * @param [response] ListSavedQueriesResponse */ type ListSavedQueriesCallback = (error: (Error|null), response?: google.cloud.asset.v1.ListSavedQueriesResponse) => void; /** * Callback as used by {@link google.cloud.asset.v1.AssetService|updateSavedQuery}. * @param error Error, if any * @param [response] SavedQuery */ type UpdateSavedQueryCallback = (error: (Error|null), response?: google.cloud.asset.v1.SavedQuery) => void; /** * Callback as used by {@link google.cloud.asset.v1.AssetService|deleteSavedQuery}. * @param error Error, if any * @param [response] Empty */ type DeleteSavedQueryCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** * Callback as used by {@link google.cloud.asset.v1.AssetService|batchGetEffectiveIamPolicies}. * @param error Error, if any * @param [response] BatchGetEffectiveIamPoliciesResponse */ type BatchGetEffectiveIamPoliciesCallback = (error: (Error|null), response?: google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse) => void; /** * Callback as used by {@link google.cloud.asset.v1.AssetService|analyzeOrgPolicies}. * @param error Error, if any * @param [response] AnalyzeOrgPoliciesResponse */ type AnalyzeOrgPoliciesCallback = (error: (Error|null), response?: google.cloud.asset.v1.AnalyzeOrgPoliciesResponse) => void; /** * Callback as used by {@link google.cloud.asset.v1.AssetService|analyzeOrgPolicyGovernedContainers}. * @param error Error, if any * @param [response] AnalyzeOrgPolicyGovernedContainersResponse */ type AnalyzeOrgPolicyGovernedContainersCallback = (error: (Error|null), response?: google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse) => void; /** * Callback as used by {@link google.cloud.asset.v1.AssetService|analyzeOrgPolicyGovernedAssets}. * @param error Error, if any * @param [response] AnalyzeOrgPolicyGovernedAssetsResponse */ type AnalyzeOrgPolicyGovernedAssetsCallback = (error: (Error|null), response?: google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse) => void; } /** Properties of an AnalyzeIamPolicyLongrunningMetadata. */ interface IAnalyzeIamPolicyLongrunningMetadata { /** AnalyzeIamPolicyLongrunningMetadata createTime */ createTime?: (google.protobuf.ITimestamp|null); } /** Represents an AnalyzeIamPolicyLongrunningMetadata. */ class AnalyzeIamPolicyLongrunningMetadata implements IAnalyzeIamPolicyLongrunningMetadata { /** * Constructs a new AnalyzeIamPolicyLongrunningMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IAnalyzeIamPolicyLongrunningMetadata); /** AnalyzeIamPolicyLongrunningMetadata createTime. */ public createTime?: (google.protobuf.ITimestamp|null); /** * Creates a new AnalyzeIamPolicyLongrunningMetadata instance using the specified properties. * @param [properties] Properties to set * @returns AnalyzeIamPolicyLongrunningMetadata instance */ public static create(properties?: google.cloud.asset.v1.IAnalyzeIamPolicyLongrunningMetadata): google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata; /** * Encodes the specified AnalyzeIamPolicyLongrunningMetadata message. Does not implicitly {@link google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata.verify|verify} messages. * @param message AnalyzeIamPolicyLongrunningMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IAnalyzeIamPolicyLongrunningMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AnalyzeIamPolicyLongrunningMetadata message, length delimited. Does not implicitly {@link google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata.verify|verify} messages. * @param message AnalyzeIamPolicyLongrunningMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IAnalyzeIamPolicyLongrunningMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AnalyzeIamPolicyLongrunningMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AnalyzeIamPolicyLongrunningMetadata * @throws {Error} If the payload is not 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.asset.v1.AnalyzeIamPolicyLongrunningMetadata; /** * Decodes an AnalyzeIamPolicyLongrunningMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AnalyzeIamPolicyLongrunningMetadata * @throws {Error} If the payload 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.asset.v1.AnalyzeIamPolicyLongrunningMetadata; /** * Verifies an AnalyzeIamPolicyLongrunningMetadata message. * @param message Plain 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 AnalyzeIamPolicyLongrunningMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AnalyzeIamPolicyLongrunningMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata; /** * Creates a plain object from an AnalyzeIamPolicyLongrunningMetadata message. Also converts values to other types if specified. * @param message AnalyzeIamPolicyLongrunningMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AnalyzeIamPolicyLongrunningMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AnalyzeIamPolicyLongrunningMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ExportAssetsRequest. */ interface IExportAssetsRequest { /** ExportAssetsRequest parent */ parent?: (string|null); /** ExportAssetsRequest readTime */ readTime?: (google.protobuf.ITimestamp|null); /** ExportAssetsRequest assetTypes */ assetTypes?: (string[]|null); /** ExportAssetsRequest contentType */ contentType?: (google.cloud.asset.v1.ContentType|keyof typeof google.cloud.asset.v1.ContentType|null); /** ExportAssetsRequest outputConfig */ outputConfig?: (google.cloud.asset.v1.IOutputConfig|null); /** ExportAssetsRequest relationshipTypes */ relationshipTypes?: (string[]|null); } /** Represents an ExportAssetsRequest. */ class ExportAssetsRequest implements IExportAssetsRequest { /** * Constructs a new ExportAssetsRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IExportAssetsRequest); /** ExportAssetsRequest parent. */ public parent: string; /** ExportAssetsRequest readTime. */ public readTime?: (google.protobuf.ITimestamp|null); /** ExportAssetsRequest assetTypes. */ public assetTypes: string[]; /** ExportAssetsRequest contentType. */ public contentType: (google.cloud.asset.v1.ContentType|keyof typeof google.cloud.asset.v1.ContentType); /** ExportAssetsRequest outputConfig. */ public outputConfig?: (google.cloud.asset.v1.IOutputConfig|null); /** ExportAssetsRequest relationshipTypes. */ public relationshipTypes: string[]; /** * Creates a new ExportAssetsRequest instance using the specified properties. * @param [properties] Properties to set * @returns ExportAssetsRequest instance */ public static create(properties?: google.cloud.asset.v1.IExportAssetsRequest): google.cloud.asset.v1.ExportAssetsRequest; /** * Encodes the specified ExportAssetsRequest message. Does not implicitly {@link google.cloud.asset.v1.ExportAssetsRequest.verify|verify} messages. * @param message ExportAssetsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IExportAssetsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ExportAssetsRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1.ExportAssetsRequest.verify|verify} messages. * @param message ExportAssetsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IExportAssetsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ExportAssetsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ExportAssetsRequest * @throws {Error} If the payload is not 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.asset.v1.ExportAssetsRequest; /** * Decodes an ExportAssetsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ExportAssetsRequest * @throws {Error} If the payload 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.asset.v1.ExportAssetsRequest; /** * Verifies an ExportAssetsRequest message. * @param message Plain 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 ExportAssetsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExportAssetsRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.ExportAssetsRequest; /** * Creates a plain object from an ExportAssetsRequest message. Also converts values to other types if specified. * @param message ExportAssetsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.ExportAssetsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExportAssetsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ExportAssetsRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ExportAssetsResponse. */ interface IExportAssetsResponse { /** ExportAssetsResponse readTime */ readTime?: (google.protobuf.ITimestamp|null); /** ExportAssetsResponse outputConfig */ outputConfig?: (google.cloud.asset.v1.IOutputConfig|null); /** ExportAssetsResponse outputResult */ outputResult?: (google.cloud.asset.v1.IOutputResult|null); } /** Represents an ExportAssetsResponse. */ class ExportAssetsResponse implements IExportAssetsResponse { /** * Constructs a new ExportAssetsResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IExportAssetsResponse); /** ExportAssetsResponse readTime. */ public readTime?: (google.protobuf.ITimestamp|null); /** ExportAssetsResponse outputConfig. */ public outputConfig?: (google.cloud.asset.v1.IOutputConfig|null); /** ExportAssetsResponse outputResult. */ public outputResult?: (google.cloud.asset.v1.IOutputResult|null); /** * Creates a new ExportAssetsResponse instance using the specified properties. * @param [properties] Properties to set * @returns ExportAssetsResponse instance */ public static create(properties?: google.cloud.asset.v1.IExportAssetsResponse): google.cloud.asset.v1.ExportAssetsResponse; /** * Encodes the specified ExportAssetsResponse message. Does not implicitly {@link google.cloud.asset.v1.ExportAssetsResponse.verify|verify} messages. * @param message ExportAssetsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IExportAssetsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ExportAssetsResponse message, length delimited. Does not implicitly {@link google.cloud.asset.v1.ExportAssetsResponse.verify|verify} messages. * @param message ExportAssetsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IExportAssetsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ExportAssetsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ExportAssetsResponse * @throws {Error} If the payload is not 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.asset.v1.ExportAssetsResponse; /** * Decodes an ExportAssetsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ExportAssetsResponse * @throws {Error} If the payload 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.asset.v1.ExportAssetsResponse; /** * Verifies an ExportAssetsResponse message. * @param message Plain 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 ExportAssetsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExportAssetsResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.ExportAssetsResponse; /** * Creates a plain object from an ExportAssetsResponse message. Also converts values to other types if specified. * @param message ExportAssetsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.ExportAssetsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExportAssetsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ExportAssetsResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListAssetsRequest. */ interface IListAssetsRequest { /** ListAssetsRequest parent */ parent?: (string|null); /** ListAssetsRequest readTime */ readTime?: (google.protobuf.ITimestamp|null); /** ListAssetsRequest assetTypes */ assetTypes?: (string[]|null); /** ListAssetsRequest contentType */ contentType?: (google.cloud.asset.v1.ContentType|keyof typeof google.cloud.asset.v1.ContentType|null); /** ListAssetsRequest pageSize */ pageSize?: (number|null); /** ListAssetsRequest pageToken */ pageToken?: (string|null); /** ListAssetsRequest relationshipTypes */ relationshipTypes?: (string[]|null); } /** Represents a ListAssetsRequest. */ class ListAssetsRequest implements IListAssetsRequest { /** * Constructs a new ListAssetsRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IListAssetsRequest); /** ListAssetsRequest parent. */ public parent: string; /** ListAssetsRequest readTime. */ public readTime?: (google.protobuf.ITimestamp|null); /** ListAssetsRequest assetTypes. */ public assetTypes: string[]; /** ListAssetsRequest contentType. */ public contentType: (google.cloud.asset.v1.ContentType|keyof typeof google.cloud.asset.v1.ContentType); /** ListAssetsRequest pageSize. */ public pageSize: number; /** ListAssetsRequest pageToken. */ public pageToken: string; /** ListAssetsRequest relationshipTypes. */ public relationshipTypes: string[]; /** * Creates a new ListAssetsRequest instance using the specified properties. * @param [properties] Properties to set * @returns ListAssetsRequest instance */ public static create(properties?: google.cloud.asset.v1.IListAssetsRequest): google.cloud.asset.v1.ListAssetsRequest; /** * Encodes the specified ListAssetsRequest message. Does not implicitly {@link google.cloud.asset.v1.ListAssetsRequest.verify|verify} messages. * @param message ListAssetsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IListAssetsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListAssetsRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1.ListAssetsRequest.verify|verify} messages. * @param message ListAssetsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IListAssetsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListAssetsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListAssetsRequest * @throws {Error} If the payload is not 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.asset.v1.ListAssetsRequest; /** * Decodes a ListAssetsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListAssetsRequest * @throws {Error} If the payload 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.asset.v1.ListAssetsRequest; /** * Verifies a ListAssetsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListAssetsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListAssetsRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.ListAssetsRequest; /** * Creates a plain object from a ListAssetsRequest message. Also converts values to other types if specified. * @param message ListAssetsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.ListAssetsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListAssetsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListAssetsRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListAssetsResponse. */ interface IListAssetsResponse { /** ListAssetsResponse readTime */ readTime?: (google.protobuf.ITimestamp|null); /** ListAssetsResponse assets */ assets?: (google.cloud.asset.v1.IAsset[]|null); /** ListAssetsResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents a ListAssetsResponse. */ class ListAssetsResponse implements IListAssetsResponse { /** * Constructs a new ListAssetsResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IListAssetsResponse); /** ListAssetsResponse readTime. */ public readTime?: (google.protobuf.ITimestamp|null); /** ListAssetsResponse assets. */ public assets: google.cloud.asset.v1.IAsset[]; /** ListAssetsResponse nextPageToken. */ public nextPageToken: string; /** * Creates a new ListAssetsResponse instance using the specified properties. * @param [properties] Properties to set * @returns ListAssetsResponse instance */ public static create(properties?: google.cloud.asset.v1.IListAssetsResponse): google.cloud.asset.v1.ListAssetsResponse; /** * Encodes the specified ListAssetsResponse message. Does not implicitly {@link google.cloud.asset.v1.ListAssetsResponse.verify|verify} messages. * @param message ListAssetsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IListAssetsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListAssetsResponse message, length delimited. Does not implicitly {@link google.cloud.asset.v1.ListAssetsResponse.verify|verify} messages. * @param message ListAssetsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IListAssetsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListAssetsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListAssetsResponse * @throws {Error} If the payload is not 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.asset.v1.ListAssetsResponse; /** * Decodes a ListAssetsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListAssetsResponse * @throws {Error} If the payload 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.asset.v1.ListAssetsResponse; /** * Verifies a ListAssetsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListAssetsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListAssetsResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.ListAssetsResponse; /** * Creates a plain object from a ListAssetsResponse message. Also converts values to other types if specified. * @param message ListAssetsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.ListAssetsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListAssetsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListAssetsResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchGetAssetsHistoryRequest. */ interface IBatchGetAssetsHistoryRequest { /** BatchGetAssetsHistoryRequest parent */ parent?: (string|null); /** BatchGetAssetsHistoryRequest assetNames */ assetNames?: (string[]|null); /** BatchGetAssetsHistoryRequest contentType */ contentType?: (google.cloud.asset.v1.ContentType|keyof typeof google.cloud.asset.v1.ContentType|null); /** BatchGetAssetsHistoryRequest readTimeWindow */ readTimeWindow?: (google.cloud.asset.v1.ITimeWindow|null); /** BatchGetAssetsHistoryRequest relationshipTypes */ relationshipTypes?: (string[]|null); } /** Represents a BatchGetAssetsHistoryRequest. */ class BatchGetAssetsHistoryRequest implements IBatchGetAssetsHistoryRequest { /** * Constructs a new BatchGetAssetsHistoryRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IBatchGetAssetsHistoryRequest); /** BatchGetAssetsHistoryRequest parent. */ public parent: string; /** BatchGetAssetsHistoryRequest assetNames. */ public assetNames: string[]; /** BatchGetAssetsHistoryRequest contentType. */ public contentType: (google.cloud.asset.v1.ContentType|keyof typeof google.cloud.asset.v1.ContentType); /** BatchGetAssetsHistoryRequest readTimeWindow. */ public readTimeWindow?: (google.cloud.asset.v1.ITimeWindow|null); /** BatchGetAssetsHistoryRequest relationshipTypes. */ public relationshipTypes: string[]; /** * Creates a new BatchGetAssetsHistoryRequest instance using the specified properties. * @param [properties] Properties to set * @returns BatchGetAssetsHistoryRequest instance */ public static create(properties?: google.cloud.asset.v1.IBatchGetAssetsHistoryRequest): google.cloud.asset.v1.BatchGetAssetsHistoryRequest; /** * Encodes the specified BatchGetAssetsHistoryRequest message. Does not implicitly {@link google.cloud.asset.v1.BatchGetAssetsHistoryRequest.verify|verify} messages. * @param message BatchGetAssetsHistoryRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IBatchGetAssetsHistoryRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BatchGetAssetsHistoryRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1.BatchGetAssetsHistoryRequest.verify|verify} messages. * @param message BatchGetAssetsHistoryRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IBatchGetAssetsHistoryRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BatchGetAssetsHistoryRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BatchGetAssetsHistoryRequest * @throws {Error} If the payload is not 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.asset.v1.BatchGetAssetsHistoryRequest; /** * Decodes a BatchGetAssetsHistoryRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BatchGetAssetsHistoryRequest * @throws {Error} If the payload 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.asset.v1.BatchGetAssetsHistoryRequest; /** * Verifies a BatchGetAssetsHistoryRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BatchGetAssetsHistoryRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BatchGetAssetsHistoryRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.BatchGetAssetsHistoryRequest; /** * Creates a plain object from a BatchGetAssetsHistoryRequest message. Also converts values to other types if specified. * @param message BatchGetAssetsHistoryRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.BatchGetAssetsHistoryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BatchGetAssetsHistoryRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BatchGetAssetsHistoryRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchGetAssetsHistoryResponse. */ interface IBatchGetAssetsHistoryResponse { /** BatchGetAssetsHistoryResponse assets */ assets?: (google.cloud.asset.v1.ITemporalAsset[]|null); } /** Represents a BatchGetAssetsHistoryResponse. */ class BatchGetAssetsHistoryResponse implements IBatchGetAssetsHistoryResponse { /** * Constructs a new BatchGetAssetsHistoryResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IBatchGetAssetsHistoryResponse); /** BatchGetAssetsHistoryResponse assets. */ public assets: google.cloud.asset.v1.ITemporalAsset[]; /** * Creates a new BatchGetAssetsHistoryResponse instance using the specified properties. * @param [properties] Properties to set * @returns BatchGetAssetsHistoryResponse instance */ public static create(properties?: google.cloud.asset.v1.IBatchGetAssetsHistoryResponse): google.cloud.asset.v1.BatchGetAssetsHistoryResponse; /** * Encodes the specified BatchGetAssetsHistoryResponse message. Does not implicitly {@link google.cloud.asset.v1.BatchGetAssetsHistoryResponse.verify|verify} messages. * @param message BatchGetAssetsHistoryResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IBatchGetAssetsHistoryResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BatchGetAssetsHistoryResponse message, length delimited. Does not implicitly {@link google.cloud.asset.v1.BatchGetAssetsHistoryResponse.verify|verify} messages. * @param message BatchGetAssetsHistoryResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IBatchGetAssetsHistoryResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BatchGetAssetsHistoryResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BatchGetAssetsHistoryResponse * @throws {Error} If the payload is not 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.asset.v1.BatchGetAssetsHistoryResponse; /** * Decodes a BatchGetAssetsHistoryResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BatchGetAssetsHistoryResponse * @throws {Error} If the payload 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.asset.v1.BatchGetAssetsHistoryResponse; /** * Verifies a BatchGetAssetsHistoryResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BatchGetAssetsHistoryResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BatchGetAssetsHistoryResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.BatchGetAssetsHistoryResponse; /** * Creates a plain object from a BatchGetAssetsHistoryResponse message. Also converts values to other types if specified. * @param message BatchGetAssetsHistoryResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.BatchGetAssetsHistoryResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BatchGetAssetsHistoryResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BatchGetAssetsHistoryResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateFeedRequest. */ interface ICreateFeedRequest { /** CreateFeedRequest parent */ parent?: (string|null); /** CreateFeedRequest feedId */ feedId?: (string|null); /** CreateFeedRequest feed */ feed?: (google.cloud.asset.v1.IFeed|null); } /** Represents a CreateFeedRequest. */ class CreateFeedRequest implements ICreateFeedRequest { /** * Constructs a new CreateFeedRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.ICreateFeedRequest); /** CreateFeedRequest parent. */ public parent: string; /** CreateFeedRequest feedId. */ public feedId: string; /** CreateFeedRequest feed. */ public feed?: (google.cloud.asset.v1.IFeed|null); /** * Creates a new CreateFeedRequest instance using the specified properties. * @param [properties] Properties to set * @returns CreateFeedRequest instance */ public static create(properties?: google.cloud.asset.v1.ICreateFeedRequest): google.cloud.asset.v1.CreateFeedRequest; /** * Encodes the specified CreateFeedRequest message. Does not implicitly {@link google.cloud.asset.v1.CreateFeedRequest.verify|verify} messages. * @param message CreateFeedRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.ICreateFeedRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CreateFeedRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1.CreateFeedRequest.verify|verify} messages. * @param message CreateFeedRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.ICreateFeedRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CreateFeedRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CreateFeedRequest * @throws {Error} If the payload is not 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.asset.v1.CreateFeedRequest; /** * Decodes a CreateFeedRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CreateFeedRequest * @throws {Error} If the payload 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.asset.v1.CreateFeedRequest; /** * Verifies a CreateFeedRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CreateFeedRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CreateFeedRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.CreateFeedRequest; /** * Creates a plain object from a CreateFeedRequest message. Also converts values to other types if specified. * @param message CreateFeedRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.CreateFeedRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CreateFeedRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CreateFeedRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetFeedRequest. */ interface IGetFeedRequest { /** GetFeedRequest name */ name?: (string|null); } /** Represents a GetFeedRequest. */ class GetFeedRequest implements IGetFeedRequest { /** * Constructs a new GetFeedRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IGetFeedRequest); /** GetFeedRequest name. */ public name: string; /** * Creates a new GetFeedRequest instance using the specified properties. * @param [properties] Properties to set * @returns GetFeedRequest instance */ public static create(properties?: google.cloud.asset.v1.IGetFeedRequest): google.cloud.asset.v1.GetFeedRequest; /** * Encodes the specified GetFeedRequest message. Does not implicitly {@link google.cloud.asset.v1.GetFeedRequest.verify|verify} messages. * @param message GetFeedRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IGetFeedRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetFeedRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1.GetFeedRequest.verify|verify} messages. * @param message GetFeedRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IGetFeedRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetFeedRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetFeedRequest * @throws {Error} If the payload is not 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.asset.v1.GetFeedRequest; /** * Decodes a GetFeedRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetFeedRequest * @throws {Error} If the payload 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.asset.v1.GetFeedRequest; /** * Verifies a GetFeedRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetFeedRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetFeedRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.GetFeedRequest; /** * Creates a plain object from a GetFeedRequest message. Also converts values to other types if specified. * @param message GetFeedRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.GetFeedRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetFeedRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GetFeedRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListFeedsRequest. */ interface IListFeedsRequest { /** ListFeedsRequest parent */ parent?: (string|null); } /** Represents a ListFeedsRequest. */ class ListFeedsRequest implements IListFeedsRequest { /** * Constructs a new ListFeedsRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IListFeedsRequest); /** ListFeedsRequest parent. */ public parent: string; /** * Creates a new ListFeedsRequest instance using the specified properties. * @param [properties] Properties to set * @returns ListFeedsRequest instance */ public static create(properties?: google.cloud.asset.v1.IListFeedsRequest): google.cloud.asset.v1.ListFeedsRequest; /** * Encodes the specified ListFeedsRequest message. Does not implicitly {@link google.cloud.asset.v1.ListFeedsRequest.verify|verify} messages. * @param message ListFeedsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IListFeedsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListFeedsRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1.ListFeedsRequest.verify|verify} messages. * @param message ListFeedsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IListFeedsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListFeedsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListFeedsRequest * @throws {Error} If the payload is not 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.asset.v1.ListFeedsRequest; /** * Decodes a ListFeedsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListFeedsRequest * @throws {Error} If the payload 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.asset.v1.ListFeedsRequest; /** * Verifies a ListFeedsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListFeedsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListFeedsRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.ListFeedsRequest; /** * Creates a plain object from a ListFeedsRequest message. Also converts values to other types if specified. * @param message ListFeedsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.ListFeedsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListFeedsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListFeedsRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListFeedsResponse. */ interface IListFeedsResponse { /** ListFeedsResponse feeds */ feeds?: (google.cloud.asset.v1.IFeed[]|null); } /** Represents a ListFeedsResponse. */ class ListFeedsResponse implements IListFeedsResponse { /** * Constructs a new ListFeedsResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IListFeedsResponse); /** ListFeedsResponse feeds. */ public feeds: google.cloud.asset.v1.IFeed[]; /** * Creates a new ListFeedsResponse instance using the specified properties. * @param [properties] Properties to set * @returns ListFeedsResponse instance */ public static create(properties?: google.cloud.asset.v1.IListFeedsResponse): google.cloud.asset.v1.ListFeedsResponse; /** * Encodes the specified ListFeedsResponse message. Does not implicitly {@link google.cloud.asset.v1.ListFeedsResponse.verify|verify} messages. * @param message ListFeedsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IListFeedsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListFeedsResponse message, length delimited. Does not implicitly {@link google.cloud.asset.v1.ListFeedsResponse.verify|verify} messages. * @param message ListFeedsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IListFeedsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListFeedsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListFeedsResponse * @throws {Error} If the payload is not 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.asset.v1.ListFeedsResponse; /** * Decodes a ListFeedsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListFeedsResponse * @throws {Error} If the payload 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.asset.v1.ListFeedsResponse; /** * Verifies a ListFeedsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListFeedsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListFeedsResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.ListFeedsResponse; /** * Creates a plain object from a ListFeedsResponse message. Also converts values to other types if specified. * @param message ListFeedsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.ListFeedsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListFeedsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListFeedsResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateFeedRequest. */ interface IUpdateFeedRequest { /** UpdateFeedRequest feed */ feed?: (google.cloud.asset.v1.IFeed|null); /** UpdateFeedRequest updateMask */ updateMask?: (google.protobuf.IFieldMask|null); } /** Represents an UpdateFeedRequest. */ class UpdateFeedRequest implements IUpdateFeedRequest { /** * Constructs a new UpdateFeedRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IUpdateFeedRequest); /** UpdateFeedRequest feed. */ public feed?: (google.cloud.asset.v1.IFeed|null); /** UpdateFeedRequest updateMask. */ public updateMask?: (google.protobuf.IFieldMask|null); /** * Creates a new UpdateFeedRequest instance using the specified properties. * @param [properties] Properties to set * @returns UpdateFeedRequest instance */ public static create(properties?: google.cloud.asset.v1.IUpdateFeedRequest): google.cloud.asset.v1.UpdateFeedRequest; /** * Encodes the specified UpdateFeedRequest message. Does not implicitly {@link google.cloud.asset.v1.UpdateFeedRequest.verify|verify} messages. * @param message UpdateFeedRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IUpdateFeedRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UpdateFeedRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1.UpdateFeedRequest.verify|verify} messages. * @param message UpdateFeedRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IUpdateFeedRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UpdateFeedRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UpdateFeedRequest * @throws {Error} If the payload is not 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.asset.v1.UpdateFeedRequest; /** * Decodes an UpdateFeedRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UpdateFeedRequest * @throws {Error} If the payload 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.asset.v1.UpdateFeedRequest; /** * Verifies an UpdateFeedRequest message. * @param message Plain 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 UpdateFeedRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UpdateFeedRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.UpdateFeedRequest; /** * Creates a plain object from an UpdateFeedRequest message. Also converts values to other types if specified. * @param message UpdateFeedRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.UpdateFeedRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UpdateFeedRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UpdateFeedRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteFeedRequest. */ interface IDeleteFeedRequest { /** DeleteFeedRequest name */ name?: (string|null); } /** Represents a DeleteFeedRequest. */ class DeleteFeedRequest implements IDeleteFeedRequest { /** * Constructs a new DeleteFeedRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IDeleteFeedRequest); /** DeleteFeedRequest name. */ public name: string; /** * Creates a new DeleteFeedRequest instance using the specified properties. * @param [properties] Properties to set * @returns DeleteFeedRequest instance */ public static create(properties?: google.cloud.asset.v1.IDeleteFeedRequest): google.cloud.asset.v1.DeleteFeedRequest; /** * Encodes the specified DeleteFeedRequest message. Does not implicitly {@link google.cloud.asset.v1.DeleteFeedRequest.verify|verify} messages. * @param message DeleteFeedRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IDeleteFeedRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteFeedRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1.DeleteFeedRequest.verify|verify} messages. * @param message DeleteFeedRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IDeleteFeedRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteFeedRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteFeedRequest * @throws {Error} If the payload is not 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.asset.v1.DeleteFeedRequest; /** * Decodes a DeleteFeedRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteFeedRequest * @throws {Error} If the payload 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.asset.v1.DeleteFeedRequest; /** * Verifies a DeleteFeedRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeleteFeedRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteFeedRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.DeleteFeedRequest; /** * Creates a plain object from a DeleteFeedRequest message. Also converts values to other types if specified. * @param message DeleteFeedRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.DeleteFeedRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteFeedRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeleteFeedRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an OutputConfig. */ interface IOutputConfig { /** OutputConfig gcsDestination */ gcsDestination?: (google.cloud.asset.v1.IGcsDestination|null); /** OutputConfig bigqueryDestination */ bigqueryDestination?: (google.cloud.asset.v1.IBigQueryDestination|null); } /** Represents an OutputConfig. */ class OutputConfig implements IOutputConfig { /** * Constructs a new OutputConfig. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IOutputConfig); /** OutputConfig gcsDestination. */ public gcsDestination?: (google.cloud.asset.v1.IGcsDestination|null); /** OutputConfig bigqueryDestination. */ public bigqueryDestination?: (google.cloud.asset.v1.IBigQueryDestination|null); /** OutputConfig destination. */ public destination?: ("gcsDestination"|"bigqueryDestination"); /** * Creates a new OutputConfig instance using the specified properties. * @param [properties] Properties to set * @returns OutputConfig instance */ public static create(properties?: google.cloud.asset.v1.IOutputConfig): google.cloud.asset.v1.OutputConfig; /** * Encodes the specified OutputConfig message. Does not implicitly {@link google.cloud.asset.v1.OutputConfig.verify|verify} messages. * @param message OutputConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IOutputConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified OutputConfig message, length delimited. Does not implicitly {@link google.cloud.asset.v1.OutputConfig.verify|verify} messages. * @param message OutputConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IOutputConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an OutputConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns OutputConfig * @throws {Error} If the payload is not 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.asset.v1.OutputConfig; /** * Decodes an OutputConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns OutputConfig * @throws {Error} If the payload 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.asset.v1.OutputConfig; /** * Verifies an OutputConfig message. * @param message Plain 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 OutputConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns OutputConfig */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.OutputConfig; /** * Creates a plain object from an OutputConfig message. Also converts values to other types if specified. * @param message OutputConfig * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.OutputConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this OutputConfig to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for OutputConfig * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an OutputResult. */ interface IOutputResult { /** OutputResult gcsResult */ gcsResult?: (google.cloud.asset.v1.IGcsOutputResult|null); } /** Represents an OutputResult. */ class OutputResult implements IOutputResult { /** * Constructs a new OutputResult. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IOutputResult); /** OutputResult gcsResult. */ public gcsResult?: (google.cloud.asset.v1.IGcsOutputResult|null); /** OutputResult result. */ public result?: "gcsResult"; /** * Creates a new OutputResult instance using the specified properties. * @param [properties] Properties to set * @returns OutputResult instance */ public static create(properties?: google.cloud.asset.v1.IOutputResult): google.cloud.asset.v1.OutputResult; /** * Encodes the specified OutputResult message. Does not implicitly {@link google.cloud.asset.v1.OutputResult.verify|verify} messages. * @param message OutputResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IOutputResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified OutputResult message, length delimited. Does not implicitly {@link google.cloud.asset.v1.OutputResult.verify|verify} messages. * @param message OutputResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IOutputResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an OutputResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns OutputResult * @throws {Error} If the payload is not 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.asset.v1.OutputResult; /** * Decodes an OutputResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns OutputResult * @throws {Error} If the payload 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.asset.v1.OutputResult; /** * Verifies an OutputResult message. * @param message Plain 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 OutputResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns OutputResult */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.OutputResult; /** * Creates a plain object from an OutputResult message. Also converts values to other types if specified. * @param message OutputResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.OutputResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this OutputResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for OutputResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GcsOutputResult. */ interface IGcsOutputResult { /** GcsOutputResult uris */ uris?: (string[]|null); } /** Represents a GcsOutputResult. */ class GcsOutputResult implements IGcsOutputResult { /** * Constructs a new GcsOutputResult. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IGcsOutputResult); /** GcsOutputResult uris. */ public uris: string[]; /** * Creates a new GcsOutputResult instance using the specified properties. * @param [properties] Properties to set * @returns GcsOutputResult instance */ public static create(properties?: google.cloud.asset.v1.IGcsOutputResult): google.cloud.asset.v1.GcsOutputResult; /** * Encodes the specified GcsOutputResult message. Does not implicitly {@link google.cloud.asset.v1.GcsOutputResult.verify|verify} messages. * @param message GcsOutputResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IGcsOutputResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GcsOutputResult message, length delimited. Does not implicitly {@link google.cloud.asset.v1.GcsOutputResult.verify|verify} messages. * @param message GcsOutputResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IGcsOutputResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GcsOutputResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GcsOutputResult * @throws {Error} If the payload is not 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.asset.v1.GcsOutputResult; /** * Decodes a GcsOutputResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GcsOutputResult * @throws {Error} If the payload 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.asset.v1.GcsOutputResult; /** * Verifies a GcsOutputResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GcsOutputResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GcsOutputResult */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.GcsOutputResult; /** * Creates a plain object from a GcsOutputResult message. Also converts values to other types if specified. * @param message GcsOutputResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.GcsOutputResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GcsOutputResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GcsOutputResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GcsDestination. */ interface IGcsDestination { /** GcsDestination uri */ uri?: (string|null); /** GcsDestination uriPrefix */ uriPrefix?: (string|null); } /** Represents a GcsDestination. */ class GcsDestination implements IGcsDestination { /** * Constructs a new GcsDestination. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IGcsDestination); /** GcsDestination uri. */ public uri?: (string|null); /** GcsDestination uriPrefix. */ public uriPrefix?: (string|null); /** GcsDestination objectUri. */ public objectUri?: ("uri"|"uriPrefix"); /** * Creates a new GcsDestination instance using the specified properties. * @param [properties] Properties to set * @returns GcsDestination instance */ public static create(properties?: google.cloud.asset.v1.IGcsDestination): google.cloud.asset.v1.GcsDestination; /** * Encodes the specified GcsDestination message. Does not implicitly {@link google.cloud.asset.v1.GcsDestination.verify|verify} messages. * @param message GcsDestination message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IGcsDestination, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GcsDestination message, length delimited. Does not implicitly {@link google.cloud.asset.v1.GcsDestination.verify|verify} messages. * @param message GcsDestination message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IGcsDestination, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GcsDestination message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GcsDestination * @throws {Error} If the payload is not 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.asset.v1.GcsDestination; /** * Decodes a GcsDestination message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GcsDestination * @throws {Error} If the payload 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.asset.v1.GcsDestination; /** * Verifies a GcsDestination message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GcsDestination message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GcsDestination */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.GcsDestination; /** * Creates a plain object from a GcsDestination message. Also converts values to other types if specified. * @param message GcsDestination * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.GcsDestination, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GcsDestination to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GcsDestination * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BigQueryDestination. */ interface IBigQueryDestination { /** BigQueryDestination dataset */ dataset?: (string|null); /** BigQueryDestination table */ table?: (string|null); /** BigQueryDestination force */ force?: (boolean|null); /** BigQueryDestination partitionSpec */ partitionSpec?: (google.cloud.asset.v1.IPartitionSpec|null); /** BigQueryDestination separateTablesPerAssetType */ separateTablesPerAssetType?: (boolean|null); } /** Represents a BigQueryDestination. */ class BigQueryDestination implements IBigQueryDestination { /** * Constructs a new BigQueryDestination. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IBigQueryDestination); /** BigQueryDestination dataset. */ public dataset: string; /** BigQueryDestination table. */ public table: string; /** BigQueryDestination force. */ public force: boolean; /** BigQueryDestination partitionSpec. */ public partitionSpec?: (google.cloud.asset.v1.IPartitionSpec|null); /** BigQueryDestination separateTablesPerAssetType. */ public separateTablesPerAssetType: boolean; /** * Creates a new BigQueryDestination instance using the specified properties. * @param [properties] Properties to set * @returns BigQueryDestination instance */ public static create(properties?: google.cloud.asset.v1.IBigQueryDestination): google.cloud.asset.v1.BigQueryDestination; /** * Encodes the specified BigQueryDestination message. Does not implicitly {@link google.cloud.asset.v1.BigQueryDestination.verify|verify} messages. * @param message BigQueryDestination message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IBigQueryDestination, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BigQueryDestination message, length delimited. Does not implicitly {@link google.cloud.asset.v1.BigQueryDestination.verify|verify} messages. * @param message BigQueryDestination message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IBigQueryDestination, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BigQueryDestination message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BigQueryDestination * @throws {Error} If the payload is not 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.asset.v1.BigQueryDestination; /** * Decodes a BigQueryDestination message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BigQueryDestination * @throws {Error} If the payload 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.asset.v1.BigQueryDestination; /** * Verifies a BigQueryDestination message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BigQueryDestination message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BigQueryDestination */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.BigQueryDestination; /** * Creates a plain object from a BigQueryDestination message. Also converts values to other types if specified. * @param message BigQueryDestination * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.BigQueryDestination, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BigQueryDestination to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BigQueryDestination * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PartitionSpec. */ interface IPartitionSpec { /** PartitionSpec partitionKey */ partitionKey?: (google.cloud.asset.v1.PartitionSpec.PartitionKey|keyof typeof google.cloud.asset.v1.PartitionSpec.PartitionKey|null); } /** Represents a PartitionSpec. */ class PartitionSpec implements IPartitionSpec { /** * Constructs a new PartitionSpec. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IPartitionSpec); /** PartitionSpec partitionKey. */ public partitionKey: (google.cloud.asset.v1.PartitionSpec.PartitionKey|keyof typeof google.cloud.asset.v1.PartitionSpec.PartitionKey); /** * Creates a new PartitionSpec instance using the specified properties. * @param [properties] Properties to set * @returns PartitionSpec instance */ public static create(properties?: google.cloud.asset.v1.IPartitionSpec): google.cloud.asset.v1.PartitionSpec; /** * Encodes the specified PartitionSpec message. Does not implicitly {@link google.cloud.asset.v1.PartitionSpec.verify|verify} messages. * @param message PartitionSpec message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IPartitionSpec, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PartitionSpec message, length delimited. Does not implicitly {@link google.cloud.asset.v1.PartitionSpec.verify|verify} messages. * @param message PartitionSpec message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IPartitionSpec, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PartitionSpec message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PartitionSpec * @throws {Error} If the payload is not 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.asset.v1.PartitionSpec; /** * Decodes a PartitionSpec message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PartitionSpec * @throws {Error} If the payload 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.asset.v1.PartitionSpec; /** * Verifies a PartitionSpec message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PartitionSpec message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PartitionSpec */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.PartitionSpec; /** * Creates a plain object from a PartitionSpec message. Also converts values to other types if specified. * @param message PartitionSpec * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.PartitionSpec, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PartitionSpec to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PartitionSpec * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace PartitionSpec { /** PartitionKey enum. */ enum PartitionKey { PARTITION_KEY_UNSPECIFIED = 0, READ_TIME = 1, REQUEST_TIME = 2 } } /** Properties of a PubsubDestination. */ interface IPubsubDestination { /** PubsubDestination topic */ topic?: (string|null); } /** Represents a PubsubDestination. */ class PubsubDestination implements IPubsubDestination { /** * Constructs a new PubsubDestination. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IPubsubDestination); /** PubsubDestination topic. */ public topic: string; /** * Creates a new PubsubDestination instance using the specified properties. * @param [properties] Properties to set * @returns PubsubDestination instance */ public static create(properties?: google.cloud.asset.v1.IPubsubDestination): google.cloud.asset.v1.PubsubDestination; /** * Encodes the specified PubsubDestination message. Does not implicitly {@link google.cloud.asset.v1.PubsubDestination.verify|verify} messages. * @param message PubsubDestination message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IPubsubDestination, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PubsubDestination message, length delimited. Does not implicitly {@link google.cloud.asset.v1.PubsubDestination.verify|verify} messages. * @param message PubsubDestination message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IPubsubDestination, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PubsubDestination message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PubsubDestination * @throws {Error} If the payload is not 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.asset.v1.PubsubDestination; /** * Decodes a PubsubDestination message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PubsubDestination * @throws {Error} If the payload 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.asset.v1.PubsubDestination; /** * Verifies a PubsubDestination message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PubsubDestination message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PubsubDestination */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.PubsubDestination; /** * Creates a plain object from a PubsubDestination message. Also converts values to other types if specified. * @param message PubsubDestination * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.PubsubDestination, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PubsubDestination to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PubsubDestination * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FeedOutputConfig. */ interface IFeedOutputConfig { /** FeedOutputConfig pubsubDestination */ pubsubDestination?: (google.cloud.asset.v1.IPubsubDestination|null); } /** Represents a FeedOutputConfig. */ class FeedOutputConfig implements IFeedOutputConfig { /** * Constructs a new FeedOutputConfig. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IFeedOutputConfig); /** FeedOutputConfig pubsubDestination. */ public pubsubDestination?: (google.cloud.asset.v1.IPubsubDestination|null); /** FeedOutputConfig destination. */ public destination?: "pubsubDestination"; /** * Creates a new FeedOutputConfig instance using the specified properties. * @param [properties] Properties to set * @returns FeedOutputConfig instance */ public static create(properties?: google.cloud.asset.v1.IFeedOutputConfig): google.cloud.asset.v1.FeedOutputConfig; /** * Encodes the specified FeedOutputConfig message. Does not implicitly {@link google.cloud.asset.v1.FeedOutputConfig.verify|verify} messages. * @param message FeedOutputConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IFeedOutputConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FeedOutputConfig message, length delimited. Does not implicitly {@link google.cloud.asset.v1.FeedOutputConfig.verify|verify} messages. * @param message FeedOutputConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IFeedOutputConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FeedOutputConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FeedOutputConfig * @throws {Error} If the payload is not 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.asset.v1.FeedOutputConfig; /** * Decodes a FeedOutputConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FeedOutputConfig * @throws {Error} If the payload 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.asset.v1.FeedOutputConfig; /** * Verifies a FeedOutputConfig message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FeedOutputConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FeedOutputConfig */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.FeedOutputConfig; /** * Creates a plain object from a FeedOutputConfig message. Also converts values to other types if specified. * @param message FeedOutputConfig * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.FeedOutputConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FeedOutputConfig to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FeedOutputConfig * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Feed. */ interface IFeed { /** Feed name */ name?: (string|null); /** Feed assetNames */ assetNames?: (string[]|null); /** Feed assetTypes */ assetTypes?: (string[]|null); /** Feed contentType */ contentType?: (google.cloud.asset.v1.ContentType|keyof typeof google.cloud.asset.v1.ContentType|null); /** Feed feedOutputConfig */ feedOutputConfig?: (google.cloud.asset.v1.IFeedOutputConfig|null); /** Feed condition */ condition?: (google.type.IExpr|null); /** Feed relationshipTypes */ relationshipTypes?: (string[]|null); } /** Represents a Feed. */ class Feed implements IFeed { /** * Constructs a new Feed. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IFeed); /** Feed name. */ public name: string; /** Feed assetNames. */ public assetNames: string[]; /** Feed assetTypes. */ public assetTypes: string[]; /** Feed contentType. */ public contentType: (google.cloud.asset.v1.ContentType|keyof typeof google.cloud.asset.v1.ContentType); /** Feed feedOutputConfig. */ public feedOutputConfig?: (google.cloud.asset.v1.IFeedOutputConfig|null); /** Feed condition. */ public condition?: (google.type.IExpr|null); /** Feed relationshipTypes. */ public relationshipTypes: string[]; /** * Creates a new Feed instance using the specified properties. * @param [properties] Properties to set * @returns Feed instance */ public static create(properties?: google.cloud.asset.v1.IFeed): google.cloud.asset.v1.Feed; /** * Encodes the specified Feed message. Does not implicitly {@link google.cloud.asset.v1.Feed.verify|verify} messages. * @param message Feed message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IFeed, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Feed message, length delimited. Does not implicitly {@link google.cloud.asset.v1.Feed.verify|verify} messages. * @param message Feed message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IFeed, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Feed message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Feed * @throws {Error} If the payload is not 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.asset.v1.Feed; /** * Decodes a Feed message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Feed * @throws {Error} If the payload 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.asset.v1.Feed; /** * Verifies a Feed message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Feed message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Feed */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.Feed; /** * Creates a plain object from a Feed message. Also converts values to other types if specified. * @param message Feed * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.Feed, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Feed to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Feed * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SearchAllResourcesRequest. */ interface ISearchAllResourcesRequest { /** SearchAllResourcesRequest scope */ scope?: (string|null); /** SearchAllResourcesRequest query */ query?: (string|null); /** SearchAllResourcesRequest assetTypes */ assetTypes?: (string[]|null); /** SearchAllResourcesRequest pageSize */ pageSize?: (number|null); /** SearchAllResourcesRequest pageToken */ pageToken?: (string|null); /** SearchAllResourcesRequest orderBy */ orderBy?: (string|null); /** SearchAllResourcesRequest readMask */ readMask?: (google.protobuf.IFieldMask|null); } /** Represents a SearchAllResourcesRequest. */ class SearchAllResourcesRequest implements ISearchAllResourcesRequest { /** * Constructs a new SearchAllResourcesRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.ISearchAllResourcesRequest); /** SearchAllResourcesRequest scope. */ public scope: string; /** SearchAllResourcesRequest query. */ public query: string; /** SearchAllResourcesRequest assetTypes. */ public assetTypes: string[]; /** SearchAllResourcesRequest pageSize. */ public pageSize: number; /** SearchAllResourcesRequest pageToken. */ public pageToken: string; /** SearchAllResourcesRequest orderBy. */ public orderBy: string; /** SearchAllResourcesRequest readMask. */ public readMask?: (google.protobuf.IFieldMask|null); /** * Creates a new SearchAllResourcesRequest instance using the specified properties. * @param [properties] Properties to set * @returns SearchAllResourcesRequest instance */ public static create(properties?: google.cloud.asset.v1.ISearchAllResourcesRequest): google.cloud.asset.v1.SearchAllResourcesRequest; /** * Encodes the specified SearchAllResourcesRequest message. Does not implicitly {@link google.cloud.asset.v1.SearchAllResourcesRequest.verify|verify} messages. * @param message SearchAllResourcesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.ISearchAllResourcesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SearchAllResourcesRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1.SearchAllResourcesRequest.verify|verify} messages. * @param message SearchAllResourcesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.ISearchAllResourcesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SearchAllResourcesRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SearchAllResourcesRequest * @throws {Error} If the payload is not 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.asset.v1.SearchAllResourcesRequest; /** * Decodes a SearchAllResourcesRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SearchAllResourcesRequest * @throws {Error} If the payload 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.asset.v1.SearchAllResourcesRequest; /** * Verifies a SearchAllResourcesRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SearchAllResourcesRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SearchAllResourcesRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.SearchAllResourcesRequest; /** * Creates a plain object from a SearchAllResourcesRequest message. Also converts values to other types if specified. * @param message SearchAllResourcesRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.SearchAllResourcesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SearchAllResourcesRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SearchAllResourcesRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SearchAllResourcesResponse. */ interface ISearchAllResourcesResponse { /** SearchAllResourcesResponse results */ results?: (google.cloud.asset.v1.IResourceSearchResult[]|null); /** SearchAllResourcesResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents a SearchAllResourcesResponse. */ class SearchAllResourcesResponse implements ISearchAllResourcesResponse { /** * Constructs a new SearchAllResourcesResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.ISearchAllResourcesResponse); /** SearchAllResourcesResponse results. */ public results: google.cloud.asset.v1.IResourceSearchResult[]; /** SearchAllResourcesResponse nextPageToken. */ public nextPageToken: string; /** * Creates a new SearchAllResourcesResponse instance using the specified properties. * @param [properties] Properties to set * @returns SearchAllResourcesResponse instance */ public static create(properties?: google.cloud.asset.v1.ISearchAllResourcesResponse): google.cloud.asset.v1.SearchAllResourcesResponse; /** * Encodes the specified SearchAllResourcesResponse message. Does not implicitly {@link google.cloud.asset.v1.SearchAllResourcesResponse.verify|verify} messages. * @param message SearchAllResourcesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.ISearchAllResourcesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SearchAllResourcesResponse message, length delimited. Does not implicitly {@link google.cloud.asset.v1.SearchAllResourcesResponse.verify|verify} messages. * @param message SearchAllResourcesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.ISearchAllResourcesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SearchAllResourcesResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SearchAllResourcesResponse * @throws {Error} If the payload is not 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.asset.v1.SearchAllResourcesResponse; /** * Decodes a SearchAllResourcesResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SearchAllResourcesResponse * @throws {Error} If the payload 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.asset.v1.SearchAllResourcesResponse; /** * Verifies a SearchAllResourcesResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SearchAllResourcesResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SearchAllResourcesResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.SearchAllResourcesResponse; /** * Creates a plain object from a SearchAllResourcesResponse message. Also converts values to other types if specified. * @param message SearchAllResourcesResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.SearchAllResourcesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SearchAllResourcesResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SearchAllResourcesResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SearchAllIamPoliciesRequest. */ interface ISearchAllIamPoliciesRequest { /** SearchAllIamPoliciesRequest scope */ scope?: (string|null); /** SearchAllIamPoliciesRequest query */ query?: (string|null); /** SearchAllIamPoliciesRequest pageSize */ pageSize?: (number|null); /** SearchAllIamPoliciesRequest pageToken */ pageToken?: (string|null); /** SearchAllIamPoliciesRequest assetTypes */ assetTypes?: (string[]|null); /** SearchAllIamPoliciesRequest orderBy */ orderBy?: (string|null); } /** Represents a SearchAllIamPoliciesRequest. */ class SearchAllIamPoliciesRequest implements ISearchAllIamPoliciesRequest { /** * Constructs a new SearchAllIamPoliciesRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.ISearchAllIamPoliciesRequest); /** SearchAllIamPoliciesRequest scope. */ public scope: string; /** SearchAllIamPoliciesRequest query. */ public query: string; /** SearchAllIamPoliciesRequest pageSize. */ public pageSize: number; /** SearchAllIamPoliciesRequest pageToken. */ public pageToken: string; /** SearchAllIamPoliciesRequest assetTypes. */ public assetTypes: string[]; /** SearchAllIamPoliciesRequest orderBy. */ public orderBy: string; /** * Creates a new SearchAllIamPoliciesRequest instance using the specified properties. * @param [properties] Properties to set * @returns SearchAllIamPoliciesRequest instance */ public static create(properties?: google.cloud.asset.v1.ISearchAllIamPoliciesRequest): google.cloud.asset.v1.SearchAllIamPoliciesRequest; /** * Encodes the specified SearchAllIamPoliciesRequest message. Does not implicitly {@link google.cloud.asset.v1.SearchAllIamPoliciesRequest.verify|verify} messages. * @param message SearchAllIamPoliciesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.ISearchAllIamPoliciesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SearchAllIamPoliciesRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1.SearchAllIamPoliciesRequest.verify|verify} messages. * @param message SearchAllIamPoliciesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.ISearchAllIamPoliciesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SearchAllIamPoliciesRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SearchAllIamPoliciesRequest * @throws {Error} If the payload is not 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.asset.v1.SearchAllIamPoliciesRequest; /** * Decodes a SearchAllIamPoliciesRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SearchAllIamPoliciesRequest * @throws {Error} If the payload 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.asset.v1.SearchAllIamPoliciesRequest; /** * Verifies a SearchAllIamPoliciesRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SearchAllIamPoliciesRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SearchAllIamPoliciesRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.SearchAllIamPoliciesRequest; /** * Creates a plain object from a SearchAllIamPoliciesRequest message. Also converts values to other types if specified. * @param message SearchAllIamPoliciesRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.SearchAllIamPoliciesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SearchAllIamPoliciesRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SearchAllIamPoliciesRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SearchAllIamPoliciesResponse. */ interface ISearchAllIamPoliciesResponse { /** SearchAllIamPoliciesResponse results */ results?: (google.cloud.asset.v1.IIamPolicySearchResult[]|null); /** SearchAllIamPoliciesResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents a SearchAllIamPoliciesResponse. */ class SearchAllIamPoliciesResponse implements ISearchAllIamPoliciesResponse { /** * Constructs a new SearchAllIamPoliciesResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.ISearchAllIamPoliciesResponse); /** SearchAllIamPoliciesResponse results. */ public results: google.cloud.asset.v1.IIamPolicySearchResult[]; /** SearchAllIamPoliciesResponse nextPageToken. */ public nextPageToken: string; /** * Creates a new SearchAllIamPoliciesResponse instance using the specified properties. * @param [properties] Properties to set * @returns SearchAllIamPoliciesResponse instance */ public static create(properties?: google.cloud.asset.v1.ISearchAllIamPoliciesResponse): google.cloud.asset.v1.SearchAllIamPoliciesResponse; /** * Encodes the specified SearchAllIamPoliciesResponse message. Does not implicitly {@link google.cloud.asset.v1.SearchAllIamPoliciesResponse.verify|verify} messages. * @param message SearchAllIamPoliciesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.ISearchAllIamPoliciesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SearchAllIamPoliciesResponse message, length delimited. Does not implicitly {@link google.cloud.asset.v1.SearchAllIamPoliciesResponse.verify|verify} messages. * @param message SearchAllIamPoliciesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.ISearchAllIamPoliciesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SearchAllIamPoliciesResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SearchAllIamPoliciesResponse * @throws {Error} If the payload is not 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.asset.v1.SearchAllIamPoliciesResponse; /** * Decodes a SearchAllIamPoliciesResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SearchAllIamPoliciesResponse * @throws {Error} If the payload 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.asset.v1.SearchAllIamPoliciesResponse; /** * Verifies a SearchAllIamPoliciesResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SearchAllIamPoliciesResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SearchAllIamPoliciesResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.SearchAllIamPoliciesResponse; /** * Creates a plain object from a SearchAllIamPoliciesResponse message. Also converts values to other types if specified. * @param message SearchAllIamPoliciesResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.SearchAllIamPoliciesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SearchAllIamPoliciesResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SearchAllIamPoliciesResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an IamPolicyAnalysisQuery. */ interface IIamPolicyAnalysisQuery { /** IamPolicyAnalysisQuery scope */ scope?: (string|null); /** IamPolicyAnalysisQuery resourceSelector */ resourceSelector?: (google.cloud.asset.v1.IamPolicyAnalysisQuery.IResourceSelector|null); /** IamPolicyAnalysisQuery identitySelector */ identitySelector?: (google.cloud.asset.v1.IamPolicyAnalysisQuery.IIdentitySelector|null); /** IamPolicyAnalysisQuery accessSelector */ accessSelector?: (google.cloud.asset.v1.IamPolicyAnalysisQuery.IAccessSelector|null); /** IamPolicyAnalysisQuery options */ options?: (google.cloud.asset.v1.IamPolicyAnalysisQuery.IOptions|null); /** IamPolicyAnalysisQuery conditionContext */ conditionContext?: (google.cloud.asset.v1.IamPolicyAnalysisQuery.IConditionContext|null); } /** Represents an IamPolicyAnalysisQuery. */ class IamPolicyAnalysisQuery implements IIamPolicyAnalysisQuery { /** * Constructs a new IamPolicyAnalysisQuery. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IIamPolicyAnalysisQuery); /** IamPolicyAnalysisQuery scope. */ public scope: string; /** IamPolicyAnalysisQuery resourceSelector. */ public resourceSelector?: (google.cloud.asset.v1.IamPolicyAnalysisQuery.IResourceSelector|null); /** IamPolicyAnalysisQuery identitySelector. */ public identitySelector?: (google.cloud.asset.v1.IamPolicyAnalysisQuery.IIdentitySelector|null); /** IamPolicyAnalysisQuery accessSelector. */ public accessSelector?: (google.cloud.asset.v1.IamPolicyAnalysisQuery.IAccessSelector|null); /** IamPolicyAnalysisQuery options. */ public options?: (google.cloud.asset.v1.IamPolicyAnalysisQuery.IOptions|null); /** IamPolicyAnalysisQuery conditionContext. */ public conditionContext?: (google.cloud.asset.v1.IamPolicyAnalysisQuery.IConditionContext|null); /** * Creates a new IamPolicyAnalysisQuery instance using the specified properties. * @param [properties] Properties to set * @returns IamPolicyAnalysisQuery instance */ public static create(properties?: google.cloud.asset.v1.IIamPolicyAnalysisQuery): google.cloud.asset.v1.IamPolicyAnalysisQuery; /** * Encodes the specified IamPolicyAnalysisQuery message. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisQuery.verify|verify} messages. * @param message IamPolicyAnalysisQuery message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IIamPolicyAnalysisQuery, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified IamPolicyAnalysisQuery message, length delimited. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisQuery.verify|verify} messages. * @param message IamPolicyAnalysisQuery message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IIamPolicyAnalysisQuery, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an IamPolicyAnalysisQuery message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns IamPolicyAnalysisQuery * @throws {Error} If the payload is not 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.asset.v1.IamPolicyAnalysisQuery; /** * Decodes an IamPolicyAnalysisQuery message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns IamPolicyAnalysisQuery * @throws {Error} If the payload 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.asset.v1.IamPolicyAnalysisQuery; /** * Verifies an IamPolicyAnalysisQuery message. * @param message Plain 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 IamPolicyAnalysisQuery message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns IamPolicyAnalysisQuery */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.IamPolicyAnalysisQuery; /** * Creates a plain object from an IamPolicyAnalysisQuery message. Also converts values to other types if specified. * @param message IamPolicyAnalysisQuery * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.IamPolicyAnalysisQuery, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this IamPolicyAnalysisQuery to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for IamPolicyAnalysisQuery * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace IamPolicyAnalysisQuery { /** Properties of a ResourceSelector. */ interface IResourceSelector { /** ResourceSelector fullResourceName */ fullResourceName?: (string|null); } /** Represents a ResourceSelector. */ class ResourceSelector implements IResourceSelector { /** * Constructs a new ResourceSelector. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IamPolicyAnalysisQuery.IResourceSelector); /** ResourceSelector fullResourceName. */ public fullResourceName: string; /** * Creates a new ResourceSelector instance using the specified properties. * @param [properties] Properties to set * @returns ResourceSelector instance */ public static create(properties?: google.cloud.asset.v1.IamPolicyAnalysisQuery.IResourceSelector): google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector; /** * Encodes the specified ResourceSelector message. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.verify|verify} messages. * @param message ResourceSelector message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IamPolicyAnalysisQuery.IResourceSelector, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ResourceSelector message, length delimited. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.verify|verify} messages. * @param message ResourceSelector message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IamPolicyAnalysisQuery.IResourceSelector, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ResourceSelector message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ResourceSelector * @throws {Error} If the payload is not 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.asset.v1.IamPolicyAnalysisQuery.ResourceSelector; /** * Decodes a ResourceSelector message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ResourceSelector * @throws {Error} If the payload 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.asset.v1.IamPolicyAnalysisQuery.ResourceSelector; /** * Verifies a ResourceSelector message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ResourceSelector message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ResourceSelector */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector; /** * Creates a plain object from a ResourceSelector message. Also converts values to other types if specified. * @param message ResourceSelector * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ResourceSelector to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ResourceSelector * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an IdentitySelector. */ interface IIdentitySelector { /** IdentitySelector identity */ identity?: (string|null); } /** Represents an IdentitySelector. */ class IdentitySelector implements IIdentitySelector { /** * Constructs a new IdentitySelector. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IamPolicyAnalysisQuery.IIdentitySelector); /** IdentitySelector identity. */ public identity: string; /** * Creates a new IdentitySelector instance using the specified properties. * @param [properties] Properties to set * @returns IdentitySelector instance */ public static create(properties?: google.cloud.asset.v1.IamPolicyAnalysisQuery.IIdentitySelector): google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector; /** * Encodes the specified IdentitySelector message. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.verify|verify} messages. * @param message IdentitySelector message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IamPolicyAnalysisQuery.IIdentitySelector, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified IdentitySelector message, length delimited. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.verify|verify} messages. * @param message IdentitySelector message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IamPolicyAnalysisQuery.IIdentitySelector, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an IdentitySelector message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns IdentitySelector * @throws {Error} If the payload is not 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.asset.v1.IamPolicyAnalysisQuery.IdentitySelector; /** * Decodes an IdentitySelector message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns IdentitySelector * @throws {Error} If the payload 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.asset.v1.IamPolicyAnalysisQuery.IdentitySelector; /** * Verifies an IdentitySelector message. * @param message Plain 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 IdentitySelector message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns IdentitySelector */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector; /** * Creates a plain object from an IdentitySelector message. Also converts values to other types if specified. * @param message IdentitySelector * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this IdentitySelector to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for IdentitySelector * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AccessSelector. */ interface IAccessSelector { /** AccessSelector roles */ roles?: (string[]|null); /** AccessSelector permissions */ permissions?: (string[]|null); } /** Represents an AccessSelector. */ class AccessSelector implements IAccessSelector { /** * Constructs a new AccessSelector. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IamPolicyAnalysisQuery.IAccessSelector); /** AccessSelector roles. */ public roles: string[]; /** AccessSelector permissions. */ public permissions: string[]; /** * Creates a new AccessSelector instance using the specified properties. * @param [properties] Properties to set * @returns AccessSelector instance */ public static create(properties?: google.cloud.asset.v1.IamPolicyAnalysisQuery.IAccessSelector): google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector; /** * Encodes the specified AccessSelector message. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.verify|verify} messages. * @param message AccessSelector message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IamPolicyAnalysisQuery.IAccessSelector, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AccessSelector message, length delimited. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.verify|verify} messages. * @param message AccessSelector message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IamPolicyAnalysisQuery.IAccessSelector, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AccessSelector message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AccessSelector * @throws {Error} If the payload is not 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.asset.v1.IamPolicyAnalysisQuery.AccessSelector; /** * Decodes an AccessSelector message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AccessSelector * @throws {Error} If the payload 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.asset.v1.IamPolicyAnalysisQuery.AccessSelector; /** * Verifies an AccessSelector message. * @param message Plain 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 AccessSelector message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AccessSelector */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector; /** * Creates a plain object from an AccessSelector message. Also converts values to other types if specified. * @param message AccessSelector * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AccessSelector to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AccessSelector * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Options. */ interface IOptions { /** Options expandGroups */ expandGroups?: (boolean|null); /** Options expandRoles */ expandRoles?: (boolean|null); /** Options expandResources */ expandResources?: (boolean|null); /** Options outputResourceEdges */ outputResourceEdges?: (boolean|null); /** Options outputGroupEdges */ outputGroupEdges?: (boolean|null); /** Options analyzeServiceAccountImpersonation */ analyzeServiceAccountImpersonation?: (boolean|null); } /** Represents an Options. */ class Options implements IOptions { /** * Constructs a new Options. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IamPolicyAnalysisQuery.IOptions); /** Options expandGroups. */ public expandGroups: boolean; /** Options expandRoles. */ public expandRoles: boolean; /** Options expandResources. */ public expandResources: boolean; /** Options outputResourceEdges. */ public outputResourceEdges: boolean; /** Options outputGroupEdges. */ public outputGroupEdges: boolean; /** Options analyzeServiceAccountImpersonation. */ public analyzeServiceAccountImpersonation: boolean; /** * Creates a new Options instance using the specified properties. * @param [properties] Properties to set * @returns Options instance */ public static create(properties?: google.cloud.asset.v1.IamPolicyAnalysisQuery.IOptions): google.cloud.asset.v1.IamPolicyAnalysisQuery.Options; /** * Encodes the specified Options message. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.verify|verify} messages. * @param message Options message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IamPolicyAnalysisQuery.IOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Options message, length delimited. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.verify|verify} messages. * @param message Options message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IamPolicyAnalysisQuery.IOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Options message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Options * @throws {Error} If the payload is not 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.asset.v1.IamPolicyAnalysisQuery.Options; /** * Decodes an Options message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Options * @throws {Error} If the payload 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.asset.v1.IamPolicyAnalysisQuery.Options; /** * Verifies an Options message. * @param message Plain 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 Options message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Options */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.IamPolicyAnalysisQuery.Options; /** * Creates a plain object from an Options message. Also converts values to other types if specified. * @param message Options * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.IamPolicyAnalysisQuery.Options, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Options to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Options * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ConditionContext. */ interface IConditionContext { /** ConditionContext accessTime */ accessTime?: (google.protobuf.ITimestamp|null); } /** Represents a ConditionContext. */ class ConditionContext implements IConditionContext { /** * Constructs a new ConditionContext. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IamPolicyAnalysisQuery.IConditionContext); /** ConditionContext accessTime. */ public accessTime?: (google.protobuf.ITimestamp|null); /** ConditionContext TimeContext. */ public TimeContext?: "accessTime"; /** * Creates a new ConditionContext instance using the specified properties. * @param [properties] Properties to set * @returns ConditionContext instance */ public static create(properties?: google.cloud.asset.v1.IamPolicyAnalysisQuery.IConditionContext): google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext; /** * Encodes the specified ConditionContext message. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.verify|verify} messages. * @param message ConditionContext message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IamPolicyAnalysisQuery.IConditionContext, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ConditionContext message, length delimited. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.verify|verify} messages. * @param message ConditionContext message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IamPolicyAnalysisQuery.IConditionContext, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ConditionContext message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ConditionContext * @throws {Error} If the payload is not 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.asset.v1.IamPolicyAnalysisQuery.ConditionContext; /** * Decodes a ConditionContext message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ConditionContext * @throws {Error} If the payload 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.asset.v1.IamPolicyAnalysisQuery.ConditionContext; /** * Verifies a ConditionContext message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ConditionContext message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ConditionContext */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext; /** * Creates a plain object from a ConditionContext message. Also converts values to other types if specified. * @param message ConditionContext * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ConditionContext to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ConditionContext * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of an AnalyzeIamPolicyRequest. */ interface IAnalyzeIamPolicyRequest { /** AnalyzeIamPolicyRequest analysisQuery */ analysisQuery?: (google.cloud.asset.v1.IIamPolicyAnalysisQuery|null); /** AnalyzeIamPolicyRequest savedAnalysisQuery */ savedAnalysisQuery?: (string|null); /** AnalyzeIamPolicyRequest executionTimeout */ executionTimeout?: (google.protobuf.IDuration|null); } /** Represents an AnalyzeIamPolicyRequest. */ class AnalyzeIamPolicyRequest implements IAnalyzeIamPolicyRequest { /** * Constructs a new AnalyzeIamPolicyRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IAnalyzeIamPolicyRequest); /** AnalyzeIamPolicyRequest analysisQuery. */ public analysisQuery?: (google.cloud.asset.v1.IIamPolicyAnalysisQuery|null); /** AnalyzeIamPolicyRequest savedAnalysisQuery. */ public savedAnalysisQuery: string; /** AnalyzeIamPolicyRequest executionTimeout. */ public executionTimeout?: (google.protobuf.IDuration|null); /** * Creates a new AnalyzeIamPolicyRequest instance using the specified properties. * @param [properties] Properties to set * @returns AnalyzeIamPolicyRequest instance */ public static create(properties?: google.cloud.asset.v1.IAnalyzeIamPolicyRequest): google.cloud.asset.v1.AnalyzeIamPolicyRequest; /** * Encodes the specified AnalyzeIamPolicyRequest message. Does not implicitly {@link google.cloud.asset.v1.AnalyzeIamPolicyRequest.verify|verify} messages. * @param message AnalyzeIamPolicyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IAnalyzeIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AnalyzeIamPolicyRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1.AnalyzeIamPolicyRequest.verify|verify} messages. * @param message AnalyzeIamPolicyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IAnalyzeIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AnalyzeIamPolicyRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AnalyzeIamPolicyRequest * @throws {Error} If the payload is not 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.asset.v1.AnalyzeIamPolicyRequest; /** * Decodes an AnalyzeIamPolicyRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AnalyzeIamPolicyRequest * @throws {Error} If the payload 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.asset.v1.AnalyzeIamPolicyRequest; /** * Verifies an AnalyzeIamPolicyRequest message. * @param message Plain 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 AnalyzeIamPolicyRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AnalyzeIamPolicyRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.AnalyzeIamPolicyRequest; /** * Creates a plain object from an AnalyzeIamPolicyRequest message. Also converts values to other types if specified. * @param message AnalyzeIamPolicyRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.AnalyzeIamPolicyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AnalyzeIamPolicyRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AnalyzeIamPolicyRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AnalyzeIamPolicyResponse. */ interface IAnalyzeIamPolicyResponse { /** AnalyzeIamPolicyResponse mainAnalysis */ mainAnalysis?: (google.cloud.asset.v1.AnalyzeIamPolicyResponse.IIamPolicyAnalysis|null); /** AnalyzeIamPolicyResponse serviceAccountImpersonationAnalysis */ serviceAccountImpersonationAnalysis?: (google.cloud.asset.v1.AnalyzeIamPolicyResponse.IIamPolicyAnalysis[]|null); /** AnalyzeIamPolicyResponse fullyExplored */ fullyExplored?: (boolean|null); } /** Represents an AnalyzeIamPolicyResponse. */ class AnalyzeIamPolicyResponse implements IAnalyzeIamPolicyResponse { /** * Constructs a new AnalyzeIamPolicyResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IAnalyzeIamPolicyResponse); /** AnalyzeIamPolicyResponse mainAnalysis. */ public mainAnalysis?: (google.cloud.asset.v1.AnalyzeIamPolicyResponse.IIamPolicyAnalysis|null); /** AnalyzeIamPolicyResponse serviceAccountImpersonationAnalysis. */ public serviceAccountImpersonationAnalysis: google.cloud.asset.v1.AnalyzeIamPolicyResponse.IIamPolicyAnalysis[]; /** AnalyzeIamPolicyResponse fullyExplored. */ public fullyExplored: boolean; /** * Creates a new AnalyzeIamPolicyResponse instance using the specified properties. * @param [properties] Properties to set * @returns AnalyzeIamPolicyResponse instance */ public static create(properties?: google.cloud.asset.v1.IAnalyzeIamPolicyResponse): google.cloud.asset.v1.AnalyzeIamPolicyResponse; /** * Encodes the specified AnalyzeIamPolicyResponse message. Does not implicitly {@link google.cloud.asset.v1.AnalyzeIamPolicyResponse.verify|verify} messages. * @param message AnalyzeIamPolicyResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IAnalyzeIamPolicyResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AnalyzeIamPolicyResponse message, length delimited. Does not implicitly {@link google.cloud.asset.v1.AnalyzeIamPolicyResponse.verify|verify} messages. * @param message AnalyzeIamPolicyResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IAnalyzeIamPolicyResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AnalyzeIamPolicyResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AnalyzeIamPolicyResponse * @throws {Error} If the payload is not 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.asset.v1.AnalyzeIamPolicyResponse; /** * Decodes an AnalyzeIamPolicyResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AnalyzeIamPolicyResponse * @throws {Error} If the payload 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.asset.v1.AnalyzeIamPolicyResponse; /** * Verifies an AnalyzeIamPolicyResponse message. * @param message Plain 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 AnalyzeIamPolicyResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AnalyzeIamPolicyResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.AnalyzeIamPolicyResponse; /** * Creates a plain object from an AnalyzeIamPolicyResponse message. Also converts values to other types if specified. * @param message AnalyzeIamPolicyResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.AnalyzeIamPolicyResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AnalyzeIamPolicyResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AnalyzeIamPolicyResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AnalyzeIamPolicyResponse { /** Properties of an IamPolicyAnalysis. */ interface IIamPolicyAnalysis { /** IamPolicyAnalysis analysisQuery */ analysisQuery?: (google.cloud.asset.v1.IIamPolicyAnalysisQuery|null); /** IamPolicyAnalysis analysisResults */ analysisResults?: (google.cloud.asset.v1.IIamPolicyAnalysisResult[]|null); /** IamPolicyAnalysis fullyExplored */ fullyExplored?: (boolean|null); /** IamPolicyAnalysis nonCriticalErrors */ nonCriticalErrors?: (google.cloud.asset.v1.IIamPolicyAnalysisState[]|null); } /** Represents an IamPolicyAnalysis. */ class IamPolicyAnalysis implements IIamPolicyAnalysis { /** * Constructs a new IamPolicyAnalysis. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.AnalyzeIamPolicyResponse.IIamPolicyAnalysis); /** IamPolicyAnalysis analysisQuery. */ public analysisQuery?: (google.cloud.asset.v1.IIamPolicyAnalysisQuery|null); /** IamPolicyAnalysis analysisResults. */ public analysisResults: google.cloud.asset.v1.IIamPolicyAnalysisResult[]; /** IamPolicyAnalysis fullyExplored. */ public fullyExplored: boolean; /** IamPolicyAnalysis nonCriticalErrors. */ public nonCriticalErrors: google.cloud.asset.v1.IIamPolicyAnalysisState[]; /** * Creates a new IamPolicyAnalysis instance using the specified properties. * @param [properties] Properties to set * @returns IamPolicyAnalysis instance */ public static create(properties?: google.cloud.asset.v1.AnalyzeIamPolicyResponse.IIamPolicyAnalysis): google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis; /** * Encodes the specified IamPolicyAnalysis message. Does not implicitly {@link google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.verify|verify} messages. * @param message IamPolicyAnalysis message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.AnalyzeIamPolicyResponse.IIamPolicyAnalysis, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified IamPolicyAnalysis message, length delimited. Does not implicitly {@link google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.verify|verify} messages. * @param message IamPolicyAnalysis message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.AnalyzeIamPolicyResponse.IIamPolicyAnalysis, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an IamPolicyAnalysis message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns IamPolicyAnalysis * @throws {Error} If the payload is not 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.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis; /** * Decodes an IamPolicyAnalysis message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns IamPolicyAnalysis * @throws {Error} If the payload 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.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis; /** * Verifies an IamPolicyAnalysis message. * @param message Plain 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 IamPolicyAnalysis message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns IamPolicyAnalysis */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis; /** * Creates a plain object from an IamPolicyAnalysis message. Also converts values to other types if specified. * @param message IamPolicyAnalysis * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this IamPolicyAnalysis to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for IamPolicyAnalysis * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of an IamPolicyAnalysisOutputConfig. */ interface IIamPolicyAnalysisOutputConfig { /** IamPolicyAnalysisOutputConfig gcsDestination */ gcsDestination?: (google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.IGcsDestination|null); /** IamPolicyAnalysisOutputConfig bigqueryDestination */ bigqueryDestination?: (google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.IBigQueryDestination|null); } /** Represents an IamPolicyAnalysisOutputConfig. */ class IamPolicyAnalysisOutputConfig implements IIamPolicyAnalysisOutputConfig { /** * Constructs a new IamPolicyAnalysisOutputConfig. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IIamPolicyAnalysisOutputConfig); /** IamPolicyAnalysisOutputConfig gcsDestination. */ public gcsDestination?: (google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.IGcsDestination|null); /** IamPolicyAnalysisOutputConfig bigqueryDestination. */ public bigqueryDestination?: (google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.IBigQueryDestination|null); /** IamPolicyAnalysisOutputConfig destination. */ public destination?: ("gcsDestination"|"bigqueryDestination"); /** * Creates a new IamPolicyAnalysisOutputConfig instance using the specified properties. * @param [properties] Properties to set * @returns IamPolicyAnalysisOutputConfig instance */ public static create(properties?: google.cloud.asset.v1.IIamPolicyAnalysisOutputConfig): google.cloud.asset.v1.IamPolicyAnalysisOutputConfig; /** * Encodes the specified IamPolicyAnalysisOutputConfig message. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.verify|verify} messages. * @param message IamPolicyAnalysisOutputConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IIamPolicyAnalysisOutputConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified IamPolicyAnalysisOutputConfig message, length delimited. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.verify|verify} messages. * @param message IamPolicyAnalysisOutputConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IIamPolicyAnalysisOutputConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an IamPolicyAnalysisOutputConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns IamPolicyAnalysisOutputConfig * @throws {Error} If the payload is not 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.asset.v1.IamPolicyAnalysisOutputConfig; /** * Decodes an IamPolicyAnalysisOutputConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns IamPolicyAnalysisOutputConfig * @throws {Error} If the payload 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.asset.v1.IamPolicyAnalysisOutputConfig; /** * Verifies an IamPolicyAnalysisOutputConfig message. * @param message Plain 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 IamPolicyAnalysisOutputConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns IamPolicyAnalysisOutputConfig */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.IamPolicyAnalysisOutputConfig; /** * Creates a plain object from an IamPolicyAnalysisOutputConfig message. Also converts values to other types if specified. * @param message IamPolicyAnalysisOutputConfig * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.IamPolicyAnalysisOutputConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this IamPolicyAnalysisOutputConfig to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for IamPolicyAnalysisOutputConfig * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace IamPolicyAnalysisOutputConfig { /** Properties of a GcsDestination. */ interface IGcsDestination { /** GcsDestination uri */ uri?: (string|null); } /** Represents a GcsDestination. */ class GcsDestination implements IGcsDestination { /** * Constructs a new GcsDestination. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.IGcsDestination); /** GcsDestination uri. */ public uri: string; /** * Creates a new GcsDestination instance using the specified properties. * @param [properties] Properties to set * @returns GcsDestination instance */ public static create(properties?: google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.IGcsDestination): google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination; /** * Encodes the specified GcsDestination message. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.verify|verify} messages. * @param message GcsDestination message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.IGcsDestination, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GcsDestination message, length delimited. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.verify|verify} messages. * @param message GcsDestination message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.IGcsDestination, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GcsDestination message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GcsDestination * @throws {Error} If the payload is not 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.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination; /** * Decodes a GcsDestination message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GcsDestination * @throws {Error} If the payload 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.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination; /** * Verifies a GcsDestination message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GcsDestination message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GcsDestination */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination; /** * Creates a plain object from a GcsDestination message. Also converts values to other types if specified. * @param message GcsDestination * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GcsDestination to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GcsDestination * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BigQueryDestination. */ interface IBigQueryDestination { /** BigQueryDestination dataset */ dataset?: (string|null); /** BigQueryDestination tablePrefix */ tablePrefix?: (string|null); /** BigQueryDestination partitionKey */ partitionKey?: (google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey|keyof typeof google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey|null); /** BigQueryDestination writeDisposition */ writeDisposition?: (string|null); } /** Represents a BigQueryDestination. */ class BigQueryDestination implements IBigQueryDestination { /** * Constructs a new BigQueryDestination. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.IBigQueryDestination); /** BigQueryDestination dataset. */ public dataset: string; /** BigQueryDestination tablePrefix. */ public tablePrefix: string; /** BigQueryDestination partitionKey. */ public partitionKey: (google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey|keyof typeof google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey); /** BigQueryDestination writeDisposition. */ public writeDisposition: string; /** * Creates a new BigQueryDestination instance using the specified properties. * @param [properties] Properties to set * @returns BigQueryDestination instance */ public static create(properties?: google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.IBigQueryDestination): google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination; /** * Encodes the specified BigQueryDestination message. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.verify|verify} messages. * @param message BigQueryDestination message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.IBigQueryDestination, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BigQueryDestination message, length delimited. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.verify|verify} messages. * @param message BigQueryDestination message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.IBigQueryDestination, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BigQueryDestination message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BigQueryDestination * @throws {Error} If the payload is not 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.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination; /** * Decodes a BigQueryDestination message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BigQueryDestination * @throws {Error} If the payload 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.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination; /** * Verifies a BigQueryDestination message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BigQueryDestination message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BigQueryDestination */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination; /** * Creates a plain object from a BigQueryDestination message. Also converts values to other types if specified. * @param message BigQueryDestination * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BigQueryDestination to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BigQueryDestination * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BigQueryDestination { /** PartitionKey enum. */ enum PartitionKey { PARTITION_KEY_UNSPECIFIED = 0, REQUEST_TIME = 1 } } } /** Properties of an AnalyzeIamPolicyLongrunningRequest. */ interface IAnalyzeIamPolicyLongrunningRequest { /** AnalyzeIamPolicyLongrunningRequest analysisQuery */ analysisQuery?: (google.cloud.asset.v1.IIamPolicyAnalysisQuery|null); /** AnalyzeIamPolicyLongrunningRequest savedAnalysisQuery */ savedAnalysisQuery?: (string|null); /** AnalyzeIamPolicyLongrunningRequest outputConfig */ outputConfig?: (google.cloud.asset.v1.IIamPolicyAnalysisOutputConfig|null); } /** Represents an AnalyzeIamPolicyLongrunningRequest. */ class AnalyzeIamPolicyLongrunningRequest implements IAnalyzeIamPolicyLongrunningRequest { /** * Constructs a new AnalyzeIamPolicyLongrunningRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IAnalyzeIamPolicyLongrunningRequest); /** AnalyzeIamPolicyLongrunningRequest analysisQuery. */ public analysisQuery?: (google.cloud.asset.v1.IIamPolicyAnalysisQuery|null); /** AnalyzeIamPolicyLongrunningRequest savedAnalysisQuery. */ public savedAnalysisQuery: string; /** AnalyzeIamPolicyLongrunningRequest outputConfig. */ public outputConfig?: (google.cloud.asset.v1.IIamPolicyAnalysisOutputConfig|null); /** * Creates a new AnalyzeIamPolicyLongrunningRequest instance using the specified properties. * @param [properties] Properties to set * @returns AnalyzeIamPolicyLongrunningRequest instance */ public static create(properties?: google.cloud.asset.v1.IAnalyzeIamPolicyLongrunningRequest): google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest; /** * Encodes the specified AnalyzeIamPolicyLongrunningRequest message. Does not implicitly {@link google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.verify|verify} messages. * @param message AnalyzeIamPolicyLongrunningRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IAnalyzeIamPolicyLongrunningRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AnalyzeIamPolicyLongrunningRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.verify|verify} messages. * @param message AnalyzeIamPolicyLongrunningRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IAnalyzeIamPolicyLongrunningRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AnalyzeIamPolicyLongrunningRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AnalyzeIamPolicyLongrunningRequest * @throws {Error} If the payload is not 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.asset.v1.AnalyzeIamPolicyLongrunningRequest; /** * Decodes an AnalyzeIamPolicyLongrunningRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AnalyzeIamPolicyLongrunningRequest * @throws {Error} If the payload 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.asset.v1.AnalyzeIamPolicyLongrunningRequest; /** * Verifies an AnalyzeIamPolicyLongrunningRequest message. * @param message Plain 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 AnalyzeIamPolicyLongrunningRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AnalyzeIamPolicyLongrunningRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest; /** * Creates a plain object from an AnalyzeIamPolicyLongrunningRequest message. Also converts values to other types if specified. * @param message AnalyzeIamPolicyLongrunningRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AnalyzeIamPolicyLongrunningRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AnalyzeIamPolicyLongrunningRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AnalyzeIamPolicyLongrunningResponse. */ interface IAnalyzeIamPolicyLongrunningResponse { } /** Represents an AnalyzeIamPolicyLongrunningResponse. */ class AnalyzeIamPolicyLongrunningResponse implements IAnalyzeIamPolicyLongrunningResponse { /** * Constructs a new AnalyzeIamPolicyLongrunningResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IAnalyzeIamPolicyLongrunningResponse); /** * Creates a new AnalyzeIamPolicyLongrunningResponse instance using the specified properties. * @param [properties] Properties to set * @returns AnalyzeIamPolicyLongrunningResponse instance */ public static create(properties?: google.cloud.asset.v1.IAnalyzeIamPolicyLongrunningResponse): google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse; /** * Encodes the specified AnalyzeIamPolicyLongrunningResponse message. Does not implicitly {@link google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse.verify|verify} messages. * @param message AnalyzeIamPolicyLongrunningResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IAnalyzeIamPolicyLongrunningResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AnalyzeIamPolicyLongrunningResponse message, length delimited. Does not implicitly {@link google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse.verify|verify} messages. * @param message AnalyzeIamPolicyLongrunningResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IAnalyzeIamPolicyLongrunningResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AnalyzeIamPolicyLongrunningResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AnalyzeIamPolicyLongrunningResponse * @throws {Error} If the payload is not 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.asset.v1.AnalyzeIamPolicyLongrunningResponse; /** * Decodes an AnalyzeIamPolicyLongrunningResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AnalyzeIamPolicyLongrunningResponse * @throws {Error} If the payload 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.asset.v1.AnalyzeIamPolicyLongrunningResponse; /** * Verifies an AnalyzeIamPolicyLongrunningResponse message. * @param message Plain 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 AnalyzeIamPolicyLongrunningResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AnalyzeIamPolicyLongrunningResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse; /** * Creates a plain object from an AnalyzeIamPolicyLongrunningResponse message. Also converts values to other types if specified. * @param message AnalyzeIamPolicyLongrunningResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AnalyzeIamPolicyLongrunningResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AnalyzeIamPolicyLongrunningResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SavedQuery. */ interface ISavedQuery { /** SavedQuery name */ name?: (string|null); /** SavedQuery description */ description?: (string|null); /** SavedQuery createTime */ createTime?: (google.protobuf.ITimestamp|null); /** SavedQuery creator */ creator?: (string|null); /** SavedQuery lastUpdateTime */ lastUpdateTime?: (google.protobuf.ITimestamp|null); /** SavedQuery lastUpdater */ lastUpdater?: (string|null); /** SavedQuery labels */ labels?: ({ [k: string]: string }|null); /** SavedQuery content */ content?: (google.cloud.asset.v1.SavedQuery.IQueryContent|null); } /** Represents a SavedQuery. */ class SavedQuery implements ISavedQuery { /** * Constructs a new SavedQuery. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.ISavedQuery); /** SavedQuery name. */ public name: string; /** SavedQuery description. */ public description: string; /** SavedQuery createTime. */ public createTime?: (google.protobuf.ITimestamp|null); /** SavedQuery creator. */ public creator: string; /** SavedQuery lastUpdateTime. */ public lastUpdateTime?: (google.protobuf.ITimestamp|null); /** SavedQuery lastUpdater. */ public lastUpdater: string; /** SavedQuery labels. */ public labels: { [k: string]: string }; /** SavedQuery content. */ public content?: (google.cloud.asset.v1.SavedQuery.IQueryContent|null); /** * Creates a new SavedQuery instance using the specified properties. * @param [properties] Properties to set * @returns SavedQuery instance */ public static create(properties?: google.cloud.asset.v1.ISavedQuery): google.cloud.asset.v1.SavedQuery; /** * Encodes the specified SavedQuery message. Does not implicitly {@link google.cloud.asset.v1.SavedQuery.verify|verify} messages. * @param message SavedQuery message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.ISavedQuery, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SavedQuery message, length delimited. Does not implicitly {@link google.cloud.asset.v1.SavedQuery.verify|verify} messages. * @param message SavedQuery message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.ISavedQuery, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SavedQuery message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SavedQuery * @throws {Error} If the payload is not 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.asset.v1.SavedQuery; /** * Decodes a SavedQuery message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SavedQuery * @throws {Error} If the payload 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.asset.v1.SavedQuery; /** * Verifies a SavedQuery message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SavedQuery message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SavedQuery */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.SavedQuery; /** * Creates a plain object from a SavedQuery message. Also converts values to other types if specified. * @param message SavedQuery * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.SavedQuery, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SavedQuery to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SavedQuery * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SavedQuery { /** Properties of a QueryContent. */ interface IQueryContent { /** QueryContent iamPolicyAnalysisQuery */ iamPolicyAnalysisQuery?: (google.cloud.asset.v1.IIamPolicyAnalysisQuery|null); } /** Represents a QueryContent. */ class QueryContent implements IQueryContent { /** * Constructs a new QueryContent. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.SavedQuery.IQueryContent); /** QueryContent iamPolicyAnalysisQuery. */ public iamPolicyAnalysisQuery?: (google.cloud.asset.v1.IIamPolicyAnalysisQuery|null); /** QueryContent queryContent. */ public queryContent?: "iamPolicyAnalysisQuery"; /** * Creates a new QueryContent instance using the specified properties. * @param [properties] Properties to set * @returns QueryContent instance */ public static create(properties?: google.cloud.asset.v1.SavedQuery.IQueryContent): google.cloud.asset.v1.SavedQuery.QueryContent; /** * Encodes the specified QueryContent message. Does not implicitly {@link google.cloud.asset.v1.SavedQuery.QueryContent.verify|verify} messages. * @param message QueryContent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.SavedQuery.IQueryContent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryContent message, length delimited. Does not implicitly {@link google.cloud.asset.v1.SavedQuery.QueryContent.verify|verify} messages. * @param message QueryContent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.SavedQuery.IQueryContent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryContent message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryContent * @throws {Error} If the payload is not 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.asset.v1.SavedQuery.QueryContent; /** * Decodes a QueryContent message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryContent * @throws {Error} If the payload 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.asset.v1.SavedQuery.QueryContent; /** * Verifies a QueryContent message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryContent message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryContent */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.SavedQuery.QueryContent; /** * Creates a plain object from a QueryContent message. Also converts values to other types if specified. * @param message QueryContent * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.SavedQuery.QueryContent, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryContent to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for QueryContent * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a CreateSavedQueryRequest. */ interface ICreateSavedQueryRequest { /** CreateSavedQueryRequest parent */ parent?: (string|null); /** CreateSavedQueryRequest savedQuery */ savedQuery?: (google.cloud.asset.v1.ISavedQuery|null); /** CreateSavedQueryRequest savedQueryId */ savedQueryId?: (string|null); } /** Represents a CreateSavedQueryRequest. */ class CreateSavedQueryRequest implements ICreateSavedQueryRequest { /** * Constructs a new CreateSavedQueryRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.ICreateSavedQueryRequest); /** CreateSavedQueryRequest parent. */ public parent: string; /** CreateSavedQueryRequest savedQuery. */ public savedQuery?: (google.cloud.asset.v1.ISavedQuery|null); /** CreateSavedQueryRequest savedQueryId. */ public savedQueryId: string; /** * Creates a new CreateSavedQueryRequest instance using the specified properties. * @param [properties] Properties to set * @returns CreateSavedQueryRequest instance */ public static create(properties?: google.cloud.asset.v1.ICreateSavedQueryRequest): google.cloud.asset.v1.CreateSavedQueryRequest; /** * Encodes the specified CreateSavedQueryRequest message. Does not implicitly {@link google.cloud.asset.v1.CreateSavedQueryRequest.verify|verify} messages. * @param message CreateSavedQueryRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.ICreateSavedQueryRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CreateSavedQueryRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1.CreateSavedQueryRequest.verify|verify} messages. * @param message CreateSavedQueryRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.ICreateSavedQueryRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CreateSavedQueryRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CreateSavedQueryRequest * @throws {Error} If the payload is not 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.asset.v1.CreateSavedQueryRequest; /** * Decodes a CreateSavedQueryRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CreateSavedQueryRequest * @throws {Error} If the payload 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.asset.v1.CreateSavedQueryRequest; /** * Verifies a CreateSavedQueryRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CreateSavedQueryRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CreateSavedQueryRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.CreateSavedQueryRequest; /** * Creates a plain object from a CreateSavedQueryRequest message. Also converts values to other types if specified. * @param message CreateSavedQueryRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.CreateSavedQueryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CreateSavedQueryRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CreateSavedQueryRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetSavedQueryRequest. */ interface IGetSavedQueryRequest { /** GetSavedQueryRequest name */ name?: (string|null); } /** Represents a GetSavedQueryRequest. */ class GetSavedQueryRequest implements IGetSavedQueryRequest { /** * Constructs a new GetSavedQueryRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IGetSavedQueryRequest); /** GetSavedQueryRequest name. */ public name: string; /** * Creates a new GetSavedQueryRequest instance using the specified properties. * @param [properties] Properties to set * @returns GetSavedQueryRequest instance */ public static create(properties?: google.cloud.asset.v1.IGetSavedQueryRequest): google.cloud.asset.v1.GetSavedQueryRequest; /** * Encodes the specified GetSavedQueryRequest message. Does not implicitly {@link google.cloud.asset.v1.GetSavedQueryRequest.verify|verify} messages. * @param message GetSavedQueryRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IGetSavedQueryRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetSavedQueryRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1.GetSavedQueryRequest.verify|verify} messages. * @param message GetSavedQueryRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IGetSavedQueryRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetSavedQueryRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetSavedQueryRequest * @throws {Error} If the payload is not 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.asset.v1.GetSavedQueryRequest; /** * Decodes a GetSavedQueryRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetSavedQueryRequest * @throws {Error} If the payload 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.asset.v1.GetSavedQueryRequest; /** * Verifies a GetSavedQueryRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetSavedQueryRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetSavedQueryRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.GetSavedQueryRequest; /** * Creates a plain object from a GetSavedQueryRequest message. Also converts values to other types if specified. * @param message GetSavedQueryRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.GetSavedQueryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetSavedQueryRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GetSavedQueryRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListSavedQueriesRequest. */ interface IListSavedQueriesRequest { /** ListSavedQueriesRequest parent */ parent?: (string|null); /** ListSavedQueriesRequest filter */ filter?: (string|null); /** ListSavedQueriesRequest pageSize */ pageSize?: (number|null); /** ListSavedQueriesRequest pageToken */ pageToken?: (string|null); } /** Represents a ListSavedQueriesRequest. */ class ListSavedQueriesRequest implements IListSavedQueriesRequest { /** * Constructs a new ListSavedQueriesRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IListSavedQueriesRequest); /** ListSavedQueriesRequest parent. */ public parent: string; /** ListSavedQueriesRequest filter. */ public filter: string; /** ListSavedQueriesRequest pageSize. */ public pageSize: number; /** ListSavedQueriesRequest pageToken. */ public pageToken: string; /** * Creates a new ListSavedQueriesRequest instance using the specified properties. * @param [properties] Properties to set * @returns ListSavedQueriesRequest instance */ public static create(properties?: google.cloud.asset.v1.IListSavedQueriesRequest): google.cloud.asset.v1.ListSavedQueriesRequest; /** * Encodes the specified ListSavedQueriesRequest message. Does not implicitly {@link google.cloud.asset.v1.ListSavedQueriesRequest.verify|verify} messages. * @param message ListSavedQueriesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IListSavedQueriesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListSavedQueriesRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1.ListSavedQueriesRequest.verify|verify} messages. * @param message ListSavedQueriesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IListSavedQueriesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListSavedQueriesRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListSavedQueriesRequest * @throws {Error} If the payload is not 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.asset.v1.ListSavedQueriesRequest; /** * Decodes a ListSavedQueriesRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListSavedQueriesRequest * @throws {Error} If the payload 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.asset.v1.ListSavedQueriesRequest; /** * Verifies a ListSavedQueriesRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListSavedQueriesRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListSavedQueriesRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.ListSavedQueriesRequest; /** * Creates a plain object from a ListSavedQueriesRequest message. Also converts values to other types if specified. * @param message ListSavedQueriesRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.ListSavedQueriesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListSavedQueriesRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListSavedQueriesRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListSavedQueriesResponse. */ interface IListSavedQueriesResponse { /** ListSavedQueriesResponse savedQueries */ savedQueries?: (google.cloud.asset.v1.ISavedQuery[]|null); /** ListSavedQueriesResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents a ListSavedQueriesResponse. */ class ListSavedQueriesResponse implements IListSavedQueriesResponse { /** * Constructs a new ListSavedQueriesResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IListSavedQueriesResponse); /** ListSavedQueriesResponse savedQueries. */ public savedQueries: google.cloud.asset.v1.ISavedQuery[]; /** ListSavedQueriesResponse nextPageToken. */ public nextPageToken: string; /** * Creates a new ListSavedQueriesResponse instance using the specified properties. * @param [properties] Properties to set * @returns ListSavedQueriesResponse instance */ public static create(properties?: google.cloud.asset.v1.IListSavedQueriesResponse): google.cloud.asset.v1.ListSavedQueriesResponse; /** * Encodes the specified ListSavedQueriesResponse message. Does not implicitly {@link google.cloud.asset.v1.ListSavedQueriesResponse.verify|verify} messages. * @param message ListSavedQueriesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IListSavedQueriesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListSavedQueriesResponse message, length delimited. Does not implicitly {@link google.cloud.asset.v1.ListSavedQueriesResponse.verify|verify} messages. * @param message ListSavedQueriesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IListSavedQueriesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListSavedQueriesResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListSavedQueriesResponse * @throws {Error} If the payload is not 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.asset.v1.ListSavedQueriesResponse; /** * Decodes a ListSavedQueriesResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListSavedQueriesResponse * @throws {Error} If the payload 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.asset.v1.ListSavedQueriesResponse; /** * Verifies a ListSavedQueriesResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListSavedQueriesResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListSavedQueriesResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.ListSavedQueriesResponse; /** * Creates a plain object from a ListSavedQueriesResponse message. Also converts values to other types if specified. * @param message ListSavedQueriesResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.ListSavedQueriesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListSavedQueriesResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListSavedQueriesResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateSavedQueryRequest. */ interface IUpdateSavedQueryRequest { /** UpdateSavedQueryRequest savedQuery */ savedQuery?: (google.cloud.asset.v1.ISavedQuery|null); /** UpdateSavedQueryRequest updateMask */ updateMask?: (google.protobuf.IFieldMask|null); } /** Represents an UpdateSavedQueryRequest. */ class UpdateSavedQueryRequest implements IUpdateSavedQueryRequest { /** * Constructs a new UpdateSavedQueryRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IUpdateSavedQueryRequest); /** UpdateSavedQueryRequest savedQuery. */ public savedQuery?: (google.cloud.asset.v1.ISavedQuery|null); /** UpdateSavedQueryRequest updateMask. */ public updateMask?: (google.protobuf.IFieldMask|null); /** * Creates a new UpdateSavedQueryRequest instance using the specified properties. * @param [properties] Properties to set * @returns UpdateSavedQueryRequest instance */ public static create(properties?: google.cloud.asset.v1.IUpdateSavedQueryRequest): google.cloud.asset.v1.UpdateSavedQueryRequest; /** * Encodes the specified UpdateSavedQueryRequest message. Does not implicitly {@link google.cloud.asset.v1.UpdateSavedQueryRequest.verify|verify} messages. * @param message UpdateSavedQueryRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IUpdateSavedQueryRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UpdateSavedQueryRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1.UpdateSavedQueryRequest.verify|verify} messages. * @param message UpdateSavedQueryRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IUpdateSavedQueryRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UpdateSavedQueryRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UpdateSavedQueryRequest * @throws {Error} If the payload is not 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.asset.v1.UpdateSavedQueryRequest; /** * Decodes an UpdateSavedQueryRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UpdateSavedQueryRequest * @throws {Error} If the payload 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.asset.v1.UpdateSavedQueryRequest; /** * Verifies an UpdateSavedQueryRequest message. * @param message Plain 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 UpdateSavedQueryRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UpdateSavedQueryRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.UpdateSavedQueryRequest; /** * Creates a plain object from an UpdateSavedQueryRequest message. Also converts values to other types if specified. * @param message UpdateSavedQueryRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.UpdateSavedQueryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UpdateSavedQueryRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UpdateSavedQueryRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteSavedQueryRequest. */ interface IDeleteSavedQueryRequest { /** DeleteSavedQueryRequest name */ name?: (string|null); } /** Represents a DeleteSavedQueryRequest. */ class DeleteSavedQueryRequest implements IDeleteSavedQueryRequest { /** * Constructs a new DeleteSavedQueryRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IDeleteSavedQueryRequest); /** DeleteSavedQueryRequest name. */ public name: string; /** * Creates a new DeleteSavedQueryRequest instance using the specified properties. * @param [properties] Properties to set * @returns DeleteSavedQueryRequest instance */ public static create(properties?: google.cloud.asset.v1.IDeleteSavedQueryRequest): google.cloud.asset.v1.DeleteSavedQueryRequest; /** * Encodes the specified DeleteSavedQueryRequest message. Does not implicitly {@link google.cloud.asset.v1.DeleteSavedQueryRequest.verify|verify} messages. * @param message DeleteSavedQueryRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IDeleteSavedQueryRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteSavedQueryRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1.DeleteSavedQueryRequest.verify|verify} messages. * @param message DeleteSavedQueryRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IDeleteSavedQueryRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteSavedQueryRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteSavedQueryRequest * @throws {Error} If the payload is not 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.asset.v1.DeleteSavedQueryRequest; /** * Decodes a DeleteSavedQueryRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteSavedQueryRequest * @throws {Error} If the payload 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.asset.v1.DeleteSavedQueryRequest; /** * Verifies a DeleteSavedQueryRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeleteSavedQueryRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteSavedQueryRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.DeleteSavedQueryRequest; /** * Creates a plain object from a DeleteSavedQueryRequest message. Also converts values to other types if specified. * @param message DeleteSavedQueryRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.DeleteSavedQueryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteSavedQueryRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeleteSavedQueryRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AnalyzeMoveRequest. */ interface IAnalyzeMoveRequest { /** AnalyzeMoveRequest resource */ resource?: (string|null); /** AnalyzeMoveRequest destinationParent */ destinationParent?: (string|null); /** AnalyzeMoveRequest view */ view?: (google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView|keyof typeof google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView|null); } /** Represents an AnalyzeMoveRequest. */ class AnalyzeMoveRequest implements IAnalyzeMoveRequest { /** * Constructs a new AnalyzeMoveRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IAnalyzeMoveRequest); /** AnalyzeMoveRequest resource. */ public resource: string; /** AnalyzeMoveRequest destinationParent. */ public destinationParent: string; /** AnalyzeMoveRequest view. */ public view: (google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView|keyof typeof google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView); /** * Creates a new AnalyzeMoveRequest instance using the specified properties. * @param [properties] Properties to set * @returns AnalyzeMoveRequest instance */ public static create(properties?: google.cloud.asset.v1.IAnalyzeMoveRequest): google.cloud.asset.v1.AnalyzeMoveRequest; /** * Encodes the specified AnalyzeMoveRequest message. Does not implicitly {@link google.cloud.asset.v1.AnalyzeMoveRequest.verify|verify} messages. * @param message AnalyzeMoveRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IAnalyzeMoveRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AnalyzeMoveRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1.AnalyzeMoveRequest.verify|verify} messages. * @param message AnalyzeMoveRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IAnalyzeMoveRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AnalyzeMoveRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AnalyzeMoveRequest * @throws {Error} If the payload is not 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.asset.v1.AnalyzeMoveRequest; /** * Decodes an AnalyzeMoveRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AnalyzeMoveRequest * @throws {Error} If the payload 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.asset.v1.AnalyzeMoveRequest; /** * Verifies an AnalyzeMoveRequest message. * @param message Plain 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 AnalyzeMoveRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AnalyzeMoveRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.AnalyzeMoveRequest; /** * Creates a plain object from an AnalyzeMoveRequest message. Also converts values to other types if specified. * @param message AnalyzeMoveRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.AnalyzeMoveRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AnalyzeMoveRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AnalyzeMoveRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AnalyzeMoveRequest { /** AnalysisView enum. */ enum AnalysisView { ANALYSIS_VIEW_UNSPECIFIED = 0, FULL = 1, BASIC = 2 } } /** Properties of an AnalyzeMoveResponse. */ interface IAnalyzeMoveResponse { /** AnalyzeMoveResponse moveAnalysis */ moveAnalysis?: (google.cloud.asset.v1.IMoveAnalysis[]|null); } /** Represents an AnalyzeMoveResponse. */ class AnalyzeMoveResponse implements IAnalyzeMoveResponse { /** * Constructs a new AnalyzeMoveResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IAnalyzeMoveResponse); /** AnalyzeMoveResponse moveAnalysis. */ public moveAnalysis: google.cloud.asset.v1.IMoveAnalysis[]; /** * Creates a new AnalyzeMoveResponse instance using the specified properties. * @param [properties] Properties to set * @returns AnalyzeMoveResponse instance */ public static create(properties?: google.cloud.asset.v1.IAnalyzeMoveResponse): google.cloud.asset.v1.AnalyzeMoveResponse; /** * Encodes the specified AnalyzeMoveResponse message. Does not implicitly {@link google.cloud.asset.v1.AnalyzeMoveResponse.verify|verify} messages. * @param message AnalyzeMoveResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IAnalyzeMoveResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AnalyzeMoveResponse message, length delimited. Does not implicitly {@link google.cloud.asset.v1.AnalyzeMoveResponse.verify|verify} messages. * @param message AnalyzeMoveResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IAnalyzeMoveResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AnalyzeMoveResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AnalyzeMoveResponse * @throws {Error} If the payload is not 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.asset.v1.AnalyzeMoveResponse; /** * Decodes an AnalyzeMoveResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AnalyzeMoveResponse * @throws {Error} If the payload 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.asset.v1.AnalyzeMoveResponse; /** * Verifies an AnalyzeMoveResponse message. * @param message Plain 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 AnalyzeMoveResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AnalyzeMoveResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.AnalyzeMoveResponse; /** * Creates a plain object from an AnalyzeMoveResponse message. Also converts values to other types if specified. * @param message AnalyzeMoveResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.AnalyzeMoveResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AnalyzeMoveResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AnalyzeMoveResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MoveAnalysis. */ interface IMoveAnalysis { /** MoveAnalysis displayName */ displayName?: (string|null); /** MoveAnalysis analysis */ analysis?: (google.cloud.asset.v1.IMoveAnalysisResult|null); /** MoveAnalysis error */ error?: (google.rpc.IStatus|null); } /** Represents a MoveAnalysis. */ class MoveAnalysis implements IMoveAnalysis { /** * Constructs a new MoveAnalysis. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IMoveAnalysis); /** MoveAnalysis displayName. */ public displayName: string; /** MoveAnalysis analysis. */ public analysis?: (google.cloud.asset.v1.IMoveAnalysisResult|null); /** MoveAnalysis error. */ public error?: (google.rpc.IStatus|null); /** MoveAnalysis result. */ public result?: ("analysis"|"error"); /** * Creates a new MoveAnalysis instance using the specified properties. * @param [properties] Properties to set * @returns MoveAnalysis instance */ public static create(properties?: google.cloud.asset.v1.IMoveAnalysis): google.cloud.asset.v1.MoveAnalysis; /** * Encodes the specified MoveAnalysis message. Does not implicitly {@link google.cloud.asset.v1.MoveAnalysis.verify|verify} messages. * @param message MoveAnalysis message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IMoveAnalysis, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MoveAnalysis message, length delimited. Does not implicitly {@link google.cloud.asset.v1.MoveAnalysis.verify|verify} messages. * @param message MoveAnalysis message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IMoveAnalysis, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MoveAnalysis message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MoveAnalysis * @throws {Error} If the payload is not 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.asset.v1.MoveAnalysis; /** * Decodes a MoveAnalysis message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MoveAnalysis * @throws {Error} If the payload 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.asset.v1.MoveAnalysis; /** * Verifies a MoveAnalysis message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MoveAnalysis message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MoveAnalysis */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.MoveAnalysis; /** * Creates a plain object from a MoveAnalysis message. Also converts values to other types if specified. * @param message MoveAnalysis * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.MoveAnalysis, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MoveAnalysis to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MoveAnalysis * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MoveAnalysisResult. */ interface IMoveAnalysisResult { /** MoveAnalysisResult blockers */ blockers?: (google.cloud.asset.v1.IMoveImpact[]|null); /** MoveAnalysisResult warnings */ warnings?: (google.cloud.asset.v1.IMoveImpact[]|null); } /** Represents a MoveAnalysisResult. */ class MoveAnalysisResult implements IMoveAnalysisResult { /** * Constructs a new MoveAnalysisResult. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IMoveAnalysisResult); /** MoveAnalysisResult blockers. */ public blockers: google.cloud.asset.v1.IMoveImpact[]; /** MoveAnalysisResult warnings. */ public warnings: google.cloud.asset.v1.IMoveImpact[]; /** * Creates a new MoveAnalysisResult instance using the specified properties. * @param [properties] Properties to set * @returns MoveAnalysisResult instance */ public static create(properties?: google.cloud.asset.v1.IMoveAnalysisResult): google.cloud.asset.v1.MoveAnalysisResult; /** * Encodes the specified MoveAnalysisResult message. Does not implicitly {@link google.cloud.asset.v1.MoveAnalysisResult.verify|verify} messages. * @param message MoveAnalysisResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IMoveAnalysisResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MoveAnalysisResult message, length delimited. Does not implicitly {@link google.cloud.asset.v1.MoveAnalysisResult.verify|verify} messages. * @param message MoveAnalysisResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IMoveAnalysisResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MoveAnalysisResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MoveAnalysisResult * @throws {Error} If the payload is not 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.asset.v1.MoveAnalysisResult; /** * Decodes a MoveAnalysisResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MoveAnalysisResult * @throws {Error} If the payload 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.asset.v1.MoveAnalysisResult; /** * Verifies a MoveAnalysisResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MoveAnalysisResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MoveAnalysisResult */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.MoveAnalysisResult; /** * Creates a plain object from a MoveAnalysisResult message. Also converts values to other types if specified. * @param message MoveAnalysisResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.MoveAnalysisResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MoveAnalysisResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MoveAnalysisResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MoveImpact. */ interface IMoveImpact { /** MoveImpact detail */ detail?: (string|null); } /** Represents a MoveImpact. */ class MoveImpact implements IMoveImpact { /** * Constructs a new MoveImpact. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IMoveImpact); /** MoveImpact detail. */ public detail: string; /** * Creates a new MoveImpact instance using the specified properties. * @param [properties] Properties to set * @returns MoveImpact instance */ public static create(properties?: google.cloud.asset.v1.IMoveImpact): google.cloud.asset.v1.MoveImpact; /** * Encodes the specified MoveImpact message. Does not implicitly {@link google.cloud.asset.v1.MoveImpact.verify|verify} messages. * @param message MoveImpact message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IMoveImpact, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MoveImpact message, length delimited. Does not implicitly {@link google.cloud.asset.v1.MoveImpact.verify|verify} messages. * @param message MoveImpact message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IMoveImpact, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MoveImpact message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MoveImpact * @throws {Error} If the payload is not 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.asset.v1.MoveImpact; /** * Decodes a MoveImpact message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MoveImpact * @throws {Error} If the payload 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.asset.v1.MoveImpact; /** * Verifies a MoveImpact message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MoveImpact message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MoveImpact */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.MoveImpact; /** * Creates a plain object from a MoveImpact message. Also converts values to other types if specified. * @param message MoveImpact * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.MoveImpact, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MoveImpact to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MoveImpact * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a QueryAssetsOutputConfig. */ interface IQueryAssetsOutputConfig { /** QueryAssetsOutputConfig bigqueryDestination */ bigqueryDestination?: (google.cloud.asset.v1.QueryAssetsOutputConfig.IBigQueryDestination|null); } /** Represents a QueryAssetsOutputConfig. */ class QueryAssetsOutputConfig implements IQueryAssetsOutputConfig { /** * Constructs a new QueryAssetsOutputConfig. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IQueryAssetsOutputConfig); /** QueryAssetsOutputConfig bigqueryDestination. */ public bigqueryDestination?: (google.cloud.asset.v1.QueryAssetsOutputConfig.IBigQueryDestination|null); /** * Creates a new QueryAssetsOutputConfig instance using the specified properties. * @param [properties] Properties to set * @returns QueryAssetsOutputConfig instance */ public static create(properties?: google.cloud.asset.v1.IQueryAssetsOutputConfig): google.cloud.asset.v1.QueryAssetsOutputConfig; /** * Encodes the specified QueryAssetsOutputConfig message. Does not implicitly {@link google.cloud.asset.v1.QueryAssetsOutputConfig.verify|verify} messages. * @param message QueryAssetsOutputConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IQueryAssetsOutputConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryAssetsOutputConfig message, length delimited. Does not implicitly {@link google.cloud.asset.v1.QueryAssetsOutputConfig.verify|verify} messages. * @param message QueryAssetsOutputConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IQueryAssetsOutputConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryAssetsOutputConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryAssetsOutputConfig * @throws {Error} If the payload is not 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.asset.v1.QueryAssetsOutputConfig; /** * Decodes a QueryAssetsOutputConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryAssetsOutputConfig * @throws {Error} If the payload 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.asset.v1.QueryAssetsOutputConfig; /** * Verifies a QueryAssetsOutputConfig message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryAssetsOutputConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryAssetsOutputConfig */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.QueryAssetsOutputConfig; /** * Creates a plain object from a QueryAssetsOutputConfig message. Also converts values to other types if specified. * @param message QueryAssetsOutputConfig * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.QueryAssetsOutputConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryAssetsOutputConfig to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for QueryAssetsOutputConfig * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace QueryAssetsOutputConfig { /** Properties of a BigQueryDestination. */ interface IBigQueryDestination { /** BigQueryDestination dataset */ dataset?: (string|null); /** BigQueryDestination table */ table?: (string|null); /** BigQueryDestination writeDisposition */ writeDisposition?: (string|null); } /** Represents a BigQueryDestination. */ class BigQueryDestination implements IBigQueryDestination { /** * Constructs a new BigQueryDestination. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.QueryAssetsOutputConfig.IBigQueryDestination); /** BigQueryDestination dataset. */ public dataset: string; /** BigQueryDestination table. */ public table: string; /** BigQueryDestination writeDisposition. */ public writeDisposition: string; /** * Creates a new BigQueryDestination instance using the specified properties. * @param [properties] Properties to set * @returns BigQueryDestination instance */ public static create(properties?: google.cloud.asset.v1.QueryAssetsOutputConfig.IBigQueryDestination): google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination; /** * Encodes the specified BigQueryDestination message. Does not implicitly {@link google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.verify|verify} messages. * @param message BigQueryDestination message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.QueryAssetsOutputConfig.IBigQueryDestination, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BigQueryDestination message, length delimited. Does not implicitly {@link google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination.verify|verify} messages. * @param message BigQueryDestination message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.QueryAssetsOutputConfig.IBigQueryDestination, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BigQueryDestination message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BigQueryDestination * @throws {Error} If the payload is not 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.asset.v1.QueryAssetsOutputConfig.BigQueryDestination; /** * Decodes a BigQueryDestination message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BigQueryDestination * @throws {Error} If the payload 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.asset.v1.QueryAssetsOutputConfig.BigQueryDestination; /** * Verifies a BigQueryDestination message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BigQueryDestination message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BigQueryDestination */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination; /** * Creates a plain object from a BigQueryDestination message. Also converts values to other types if specified. * @param message BigQueryDestination * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BigQueryDestination to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BigQueryDestination * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a QueryAssetsRequest. */ interface IQueryAssetsRequest { /** QueryAssetsRequest parent */ parent?: (string|null); /** QueryAssetsRequest statement */ statement?: (string|null); /** QueryAssetsRequest jobReference */ jobReference?: (string|null); /** QueryAssetsRequest pageSize */ pageSize?: (number|null); /** QueryAssetsRequest pageToken */ pageToken?: (string|null); /** QueryAssetsRequest timeout */ timeout?: (google.protobuf.IDuration|null); /** QueryAssetsRequest readTimeWindow */ readTimeWindow?: (google.cloud.asset.v1.ITimeWindow|null); /** QueryAssetsRequest readTime */ readTime?: (google.protobuf.ITimestamp|null); /** QueryAssetsRequest outputConfig */ outputConfig?: (google.cloud.asset.v1.IQueryAssetsOutputConfig|null); } /** Represents a QueryAssetsRequest. */ class QueryAssetsRequest implements IQueryAssetsRequest { /** * Constructs a new QueryAssetsRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IQueryAssetsRequest); /** QueryAssetsRequest parent. */ public parent: string; /** QueryAssetsRequest statement. */ public statement?: (string|null); /** QueryAssetsRequest jobReference. */ public jobReference?: (string|null); /** QueryAssetsRequest pageSize. */ public pageSize: number; /** QueryAssetsRequest pageToken. */ public pageToken: string; /** QueryAssetsRequest timeout. */ public timeout?: (google.protobuf.IDuration|null); /** QueryAssetsRequest readTimeWindow. */ public readTimeWindow?: (google.cloud.asset.v1.ITimeWindow|null); /** QueryAssetsRequest readTime. */ public readTime?: (google.protobuf.ITimestamp|null); /** QueryAssetsRequest outputConfig. */ public outputConfig?: (google.cloud.asset.v1.IQueryAssetsOutputConfig|null); /** QueryAssetsRequest query. */ public query?: ("statement"|"jobReference"); /** QueryAssetsRequest time. */ public time?: ("readTimeWindow"|"readTime"); /** * Creates a new QueryAssetsRequest instance using the specified properties. * @param [properties] Properties to set * @returns QueryAssetsRequest instance */ public static create(properties?: google.cloud.asset.v1.IQueryAssetsRequest): google.cloud.asset.v1.QueryAssetsRequest; /** * Encodes the specified QueryAssetsRequest message. Does not implicitly {@link google.cloud.asset.v1.QueryAssetsRequest.verify|verify} messages. * @param message QueryAssetsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IQueryAssetsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryAssetsRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1.QueryAssetsRequest.verify|verify} messages. * @param message QueryAssetsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IQueryAssetsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryAssetsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryAssetsRequest * @throws {Error} If the payload is not 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.asset.v1.QueryAssetsRequest; /** * Decodes a QueryAssetsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryAssetsRequest * @throws {Error} If the payload 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.asset.v1.QueryAssetsRequest; /** * Verifies a QueryAssetsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryAssetsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryAssetsRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.QueryAssetsRequest; /** * Creates a plain object from a QueryAssetsRequest message. Also converts values to other types if specified. * @param message QueryAssetsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.QueryAssetsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryAssetsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for QueryAssetsRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a QueryAssetsResponse. */ interface IQueryAssetsResponse { /** QueryAssetsResponse jobReference */ jobReference?: (string|null); /** QueryAssetsResponse done */ done?: (boolean|null); /** QueryAssetsResponse error */ error?: (google.rpc.IStatus|null); /** QueryAssetsResponse queryResult */ queryResult?: (google.cloud.asset.v1.IQueryResult|null); /** QueryAssetsResponse outputConfig */ outputConfig?: (google.cloud.asset.v1.IQueryAssetsOutputConfig|null); } /** Represents a QueryAssetsResponse. */ class QueryAssetsResponse implements IQueryAssetsResponse { /** * Constructs a new QueryAssetsResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IQueryAssetsResponse); /** QueryAssetsResponse jobReference. */ public jobReference: string; /** QueryAssetsResponse done. */ public done: boolean; /** QueryAssetsResponse error. */ public error?: (google.rpc.IStatus|null); /** QueryAssetsResponse queryResult. */ public queryResult?: (google.cloud.asset.v1.IQueryResult|null); /** QueryAssetsResponse outputConfig. */ public outputConfig?: (google.cloud.asset.v1.IQueryAssetsOutputConfig|null); /** QueryAssetsResponse response. */ public response?: ("error"|"queryResult"|"outputConfig"); /** * Creates a new QueryAssetsResponse instance using the specified properties. * @param [properties] Properties to set * @returns QueryAssetsResponse instance */ public static create(properties?: google.cloud.asset.v1.IQueryAssetsResponse): google.cloud.asset.v1.QueryAssetsResponse; /** * Encodes the specified QueryAssetsResponse message. Does not implicitly {@link google.cloud.asset.v1.QueryAssetsResponse.verify|verify} messages. * @param message QueryAssetsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IQueryAssetsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryAssetsResponse message, length delimited. Does not implicitly {@link google.cloud.asset.v1.QueryAssetsResponse.verify|verify} messages. * @param message QueryAssetsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IQueryAssetsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryAssetsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryAssetsResponse * @throws {Error} If the payload is not 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.asset.v1.QueryAssetsResponse; /** * Decodes a QueryAssetsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryAssetsResponse * @throws {Error} If the payload 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.asset.v1.QueryAssetsResponse; /** * Verifies a QueryAssetsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryAssetsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryAssetsResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.QueryAssetsResponse; /** * Creates a plain object from a QueryAssetsResponse message. Also converts values to other types if specified. * @param message QueryAssetsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.QueryAssetsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryAssetsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for QueryAssetsResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a QueryResult. */ interface IQueryResult { /** QueryResult rows */ rows?: (google.protobuf.IStruct[]|null); /** QueryResult schema */ schema?: (google.cloud.asset.v1.ITableSchema|null); /** QueryResult nextPageToken */ nextPageToken?: (string|null); /** QueryResult totalRows */ totalRows?: (number|Long|string|null); } /** Represents a QueryResult. */ class QueryResult implements IQueryResult { /** * Constructs a new QueryResult. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IQueryResult); /** QueryResult rows. */ public rows: google.protobuf.IStruct[]; /** QueryResult schema. */ public schema?: (google.cloud.asset.v1.ITableSchema|null); /** QueryResult nextPageToken. */ public nextPageToken: string; /** QueryResult totalRows. */ public totalRows: (number|Long|string); /** * Creates a new QueryResult instance using the specified properties. * @param [properties] Properties to set * @returns QueryResult instance */ public static create(properties?: google.cloud.asset.v1.IQueryResult): google.cloud.asset.v1.QueryResult; /** * Encodes the specified QueryResult message. Does not implicitly {@link google.cloud.asset.v1.QueryResult.verify|verify} messages. * @param message QueryResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IQueryResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QueryResult message, length delimited. Does not implicitly {@link google.cloud.asset.v1.QueryResult.verify|verify} messages. * @param message QueryResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IQueryResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QueryResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QueryResult * @throws {Error} If the payload is not 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.asset.v1.QueryResult; /** * Decodes a QueryResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QueryResult * @throws {Error} If the payload 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.asset.v1.QueryResult; /** * Verifies a QueryResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QueryResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryResult */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.QueryResult; /** * Creates a plain object from a QueryResult message. Also converts values to other types if specified. * @param message QueryResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.QueryResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for QueryResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TableSchema. */ interface ITableSchema { /** TableSchema fields */ fields?: (google.cloud.asset.v1.ITableFieldSchema[]|null); } /** Represents a TableSchema. */ class TableSchema implements ITableSchema { /** * Constructs a new TableSchema. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.ITableSchema); /** TableSchema fields. */ public fields: google.cloud.asset.v1.ITableFieldSchema[]; /** * Creates a new TableSchema instance using the specified properties. * @param [properties] Properties to set * @returns TableSchema instance */ public static create(properties?: google.cloud.asset.v1.ITableSchema): google.cloud.asset.v1.TableSchema; /** * Encodes the specified TableSchema message. Does not implicitly {@link google.cloud.asset.v1.TableSchema.verify|verify} messages. * @param message TableSchema message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.ITableSchema, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TableSchema message, length delimited. Does not implicitly {@link google.cloud.asset.v1.TableSchema.verify|verify} messages. * @param message TableSchema message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.ITableSchema, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TableSchema message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TableSchema * @throws {Error} If the payload is not 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.asset.v1.TableSchema; /** * Decodes a TableSchema message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TableSchema * @throws {Error} If the payload 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.asset.v1.TableSchema; /** * Verifies a TableSchema message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TableSchema message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TableSchema */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.TableSchema; /** * Creates a plain object from a TableSchema message. Also converts values to other types if specified. * @param message TableSchema * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.TableSchema, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TableSchema to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for TableSchema * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TableFieldSchema. */ interface ITableFieldSchema { /** TableFieldSchema field */ field?: (string|null); /** TableFieldSchema type */ type?: (string|null); /** TableFieldSchema mode */ mode?: (string|null); /** TableFieldSchema fields */ fields?: (google.cloud.asset.v1.ITableFieldSchema[]|null); } /** Represents a TableFieldSchema. */ class TableFieldSchema implements ITableFieldSchema { /** * Constructs a new TableFieldSchema. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.ITableFieldSchema); /** TableFieldSchema field. */ public field: string; /** TableFieldSchema type. */ public type: string; /** TableFieldSchema mode. */ public mode: string; /** TableFieldSchema fields. */ public fields: google.cloud.asset.v1.ITableFieldSchema[]; /** * Creates a new TableFieldSchema instance using the specified properties. * @param [properties] Properties to set * @returns TableFieldSchema instance */ public static create(properties?: google.cloud.asset.v1.ITableFieldSchema): google.cloud.asset.v1.TableFieldSchema; /** * Encodes the specified TableFieldSchema message. Does not implicitly {@link google.cloud.asset.v1.TableFieldSchema.verify|verify} messages. * @param message TableFieldSchema message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.ITableFieldSchema, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TableFieldSchema message, length delimited. Does not implicitly {@link google.cloud.asset.v1.TableFieldSchema.verify|verify} messages. * @param message TableFieldSchema message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.ITableFieldSchema, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TableFieldSchema message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TableFieldSchema * @throws {Error} If the payload is not 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.asset.v1.TableFieldSchema; /** * Decodes a TableFieldSchema message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TableFieldSchema * @throws {Error} If the payload 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.asset.v1.TableFieldSchema; /** * Verifies a TableFieldSchema message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TableFieldSchema message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TableFieldSchema */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.TableFieldSchema; /** * Creates a plain object from a TableFieldSchema message. Also converts values to other types if specified. * @param message TableFieldSchema * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.TableFieldSchema, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TableFieldSchema to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for TableFieldSchema * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchGetEffectiveIamPoliciesRequest. */ interface IBatchGetEffectiveIamPoliciesRequest { /** BatchGetEffectiveIamPoliciesRequest scope */ scope?: (string|null); /** BatchGetEffectiveIamPoliciesRequest names */ names?: (string[]|null); } /** Represents a BatchGetEffectiveIamPoliciesRequest. */ class BatchGetEffectiveIamPoliciesRequest implements IBatchGetEffectiveIamPoliciesRequest { /** * Constructs a new BatchGetEffectiveIamPoliciesRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IBatchGetEffectiveIamPoliciesRequest); /** BatchGetEffectiveIamPoliciesRequest scope. */ public scope: string; /** BatchGetEffectiveIamPoliciesRequest names. */ public names: string[]; /** * Creates a new BatchGetEffectiveIamPoliciesRequest instance using the specified properties. * @param [properties] Properties to set * @returns BatchGetEffectiveIamPoliciesRequest instance */ public static create(properties?: google.cloud.asset.v1.IBatchGetEffectiveIamPoliciesRequest): google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest; /** * Encodes the specified BatchGetEffectiveIamPoliciesRequest message. Does not implicitly {@link google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.verify|verify} messages. * @param message BatchGetEffectiveIamPoliciesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IBatchGetEffectiveIamPoliciesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BatchGetEffectiveIamPoliciesRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.verify|verify} messages. * @param message BatchGetEffectiveIamPoliciesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IBatchGetEffectiveIamPoliciesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BatchGetEffectiveIamPoliciesRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BatchGetEffectiveIamPoliciesRequest * @throws {Error} If the payload is not 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.asset.v1.BatchGetEffectiveIamPoliciesRequest; /** * Decodes a BatchGetEffectiveIamPoliciesRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BatchGetEffectiveIamPoliciesRequest * @throws {Error} If the payload 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.asset.v1.BatchGetEffectiveIamPoliciesRequest; /** * Verifies a BatchGetEffectiveIamPoliciesRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BatchGetEffectiveIamPoliciesRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BatchGetEffectiveIamPoliciesRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest; /** * Creates a plain object from a BatchGetEffectiveIamPoliciesRequest message. Also converts values to other types if specified. * @param message BatchGetEffectiveIamPoliciesRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BatchGetEffectiveIamPoliciesRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BatchGetEffectiveIamPoliciesRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchGetEffectiveIamPoliciesResponse. */ interface IBatchGetEffectiveIamPoliciesResponse { /** BatchGetEffectiveIamPoliciesResponse policyResults */ policyResults?: (google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.IEffectiveIamPolicy[]|null); } /** Represents a BatchGetEffectiveIamPoliciesResponse. */ class BatchGetEffectiveIamPoliciesResponse implements IBatchGetEffectiveIamPoliciesResponse { /** * Constructs a new BatchGetEffectiveIamPoliciesResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IBatchGetEffectiveIamPoliciesResponse); /** BatchGetEffectiveIamPoliciesResponse policyResults. */ public policyResults: google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.IEffectiveIamPolicy[]; /** * Creates a new BatchGetEffectiveIamPoliciesResponse instance using the specified properties. * @param [properties] Properties to set * @returns BatchGetEffectiveIamPoliciesResponse instance */ public static create(properties?: google.cloud.asset.v1.IBatchGetEffectiveIamPoliciesResponse): google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse; /** * Encodes the specified BatchGetEffectiveIamPoliciesResponse message. Does not implicitly {@link google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.verify|verify} messages. * @param message BatchGetEffectiveIamPoliciesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IBatchGetEffectiveIamPoliciesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BatchGetEffectiveIamPoliciesResponse message, length delimited. Does not implicitly {@link google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.verify|verify} messages. * @param message BatchGetEffectiveIamPoliciesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IBatchGetEffectiveIamPoliciesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BatchGetEffectiveIamPoliciesResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BatchGetEffectiveIamPoliciesResponse * @throws {Error} If the payload is not 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.asset.v1.BatchGetEffectiveIamPoliciesResponse; /** * Decodes a BatchGetEffectiveIamPoliciesResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BatchGetEffectiveIamPoliciesResponse * @throws {Error} If the payload 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.asset.v1.BatchGetEffectiveIamPoliciesResponse; /** * Verifies a BatchGetEffectiveIamPoliciesResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BatchGetEffectiveIamPoliciesResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BatchGetEffectiveIamPoliciesResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse; /** * Creates a plain object from a BatchGetEffectiveIamPoliciesResponse message. Also converts values to other types if specified. * @param message BatchGetEffectiveIamPoliciesResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BatchGetEffectiveIamPoliciesResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BatchGetEffectiveIamPoliciesResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BatchGetEffectiveIamPoliciesResponse { /** Properties of an EffectiveIamPolicy. */ interface IEffectiveIamPolicy { /** EffectiveIamPolicy fullResourceName */ fullResourceName?: (string|null); /** EffectiveIamPolicy policies */ policies?: (google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.IPolicyInfo[]|null); } /** Represents an EffectiveIamPolicy. */ class EffectiveIamPolicy implements IEffectiveIamPolicy { /** * Constructs a new EffectiveIamPolicy. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.IEffectiveIamPolicy); /** EffectiveIamPolicy fullResourceName. */ public fullResourceName: string; /** EffectiveIamPolicy policies. */ public policies: google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.IPolicyInfo[]; /** * Creates a new EffectiveIamPolicy instance using the specified properties. * @param [properties] Properties to set * @returns EffectiveIamPolicy instance */ public static create(properties?: google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.IEffectiveIamPolicy): google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy; /** * Encodes the specified EffectiveIamPolicy message. Does not implicitly {@link google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.verify|verify} messages. * @param message EffectiveIamPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.IEffectiveIamPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EffectiveIamPolicy message, length delimited. Does not implicitly {@link google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.verify|verify} messages. * @param message EffectiveIamPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.IEffectiveIamPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EffectiveIamPolicy message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EffectiveIamPolicy * @throws {Error} If the payload is not 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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy; /** * Decodes an EffectiveIamPolicy message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EffectiveIamPolicy * @throws {Error} If the payload 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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy; /** * Verifies an EffectiveIamPolicy message. * @param message Plain 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 EffectiveIamPolicy message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EffectiveIamPolicy */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy; /** * Creates a plain object from an EffectiveIamPolicy message. Also converts values to other types if specified. * @param message EffectiveIamPolicy * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EffectiveIamPolicy to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EffectiveIamPolicy * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace EffectiveIamPolicy { /** Properties of a PolicyInfo. */ interface IPolicyInfo { /** PolicyInfo attachedResource */ attachedResource?: (string|null); /** PolicyInfo policy */ policy?: (google.iam.v1.IPolicy|null); } /** Represents a PolicyInfo. */ class PolicyInfo implements IPolicyInfo { /** * Constructs a new PolicyInfo. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.IPolicyInfo); /** PolicyInfo attachedResource. */ public attachedResource: string; /** PolicyInfo policy. */ public policy?: (google.iam.v1.IPolicy|null); /** * Creates a new PolicyInfo instance using the specified properties. * @param [properties] Properties to set * @returns PolicyInfo instance */ public static create(properties?: google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.IPolicyInfo): google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo; /** * Encodes the specified PolicyInfo message. Does not implicitly {@link google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.verify|verify} messages. * @param message PolicyInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.IPolicyInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PolicyInfo message, length delimited. Does not implicitly {@link google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.verify|verify} messages. * @param message PolicyInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.IPolicyInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PolicyInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PolicyInfo * @throws {Error} If the payload is not 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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo; /** * Decodes a PolicyInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PolicyInfo * @throws {Error} If the payload 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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo; /** * Verifies a PolicyInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PolicyInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PolicyInfo */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo; /** * Creates a plain object from a PolicyInfo message. Also converts values to other types if specified. * @param message PolicyInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PolicyInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PolicyInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } } /** Properties of an AnalyzerOrgPolicy. */ interface IAnalyzerOrgPolicy { /** AnalyzerOrgPolicy attachedResource */ attachedResource?: (string|null); /** AnalyzerOrgPolicy appliedResource */ appliedResource?: (string|null); /** AnalyzerOrgPolicy rules */ rules?: (google.cloud.asset.v1.AnalyzerOrgPolicy.IRule[]|null); /** AnalyzerOrgPolicy inheritFromParent */ inheritFromParent?: (boolean|null); /** AnalyzerOrgPolicy reset */ reset?: (boolean|null); } /** Represents an AnalyzerOrgPolicy. */ class AnalyzerOrgPolicy implements IAnalyzerOrgPolicy { /** * Constructs a new AnalyzerOrgPolicy. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IAnalyzerOrgPolicy); /** AnalyzerOrgPolicy attachedResource. */ public attachedResource: string; /** AnalyzerOrgPolicy appliedResource. */ public appliedResource: string; /** AnalyzerOrgPolicy rules. */ public rules: google.cloud.asset.v1.AnalyzerOrgPolicy.IRule[]; /** AnalyzerOrgPolicy inheritFromParent. */ public inheritFromParent: boolean; /** AnalyzerOrgPolicy reset. */ public reset: boolean; /** * Creates a new AnalyzerOrgPolicy instance using the specified properties. * @param [properties] Properties to set * @returns AnalyzerOrgPolicy instance */ public static create(properties?: google.cloud.asset.v1.IAnalyzerOrgPolicy): google.cloud.asset.v1.AnalyzerOrgPolicy; /** * Encodes the specified AnalyzerOrgPolicy message. Does not implicitly {@link google.cloud.asset.v1.AnalyzerOrgPolicy.verify|verify} messages. * @param message AnalyzerOrgPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IAnalyzerOrgPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AnalyzerOrgPolicy message, length delimited. Does not implicitly {@link google.cloud.asset.v1.AnalyzerOrgPolicy.verify|verify} messages. * @param message AnalyzerOrgPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IAnalyzerOrgPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AnalyzerOrgPolicy message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AnalyzerOrgPolicy * @throws {Error} If the payload is not 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.asset.v1.AnalyzerOrgPolicy; /** * Decodes an AnalyzerOrgPolicy message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AnalyzerOrgPolicy * @throws {Error} If the payload 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.asset.v1.AnalyzerOrgPolicy; /** * Verifies an AnalyzerOrgPolicy message. * @param message Plain 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 AnalyzerOrgPolicy message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AnalyzerOrgPolicy */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.AnalyzerOrgPolicy; /** * Creates a plain object from an AnalyzerOrgPolicy message. Also converts values to other types if specified. * @param message AnalyzerOrgPolicy * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.AnalyzerOrgPolicy, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AnalyzerOrgPolicy to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AnalyzerOrgPolicy * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AnalyzerOrgPolicy { /** Properties of a Rule. */ interface IRule { /** Rule values */ values?: (google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.IStringValues|null); /** Rule allowAll */ allowAll?: (boolean|null); /** Rule denyAll */ denyAll?: (boolean|null); /** Rule enforce */ enforce?: (boolean|null); /** Rule condition */ condition?: (google.type.IExpr|null); /** Rule conditionEvaluation */ conditionEvaluation?: (google.cloud.asset.v1.IConditionEvaluation|null); } /** Represents a Rule. */ class Rule implements IRule { /** * Constructs a new Rule. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.AnalyzerOrgPolicy.IRule); /** Rule values. */ public values?: (google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.IStringValues|null); /** Rule allowAll. */ public allowAll?: (boolean|null); /** Rule denyAll. */ public denyAll?: (boolean|null); /** Rule enforce. */ public enforce?: (boolean|null); /** Rule condition. */ public condition?: (google.type.IExpr|null); /** Rule conditionEvaluation. */ public conditionEvaluation?: (google.cloud.asset.v1.IConditionEvaluation|null); /** Rule kind. */ public kind?: ("values"|"allowAll"|"denyAll"|"enforce"); /** * Creates a new Rule instance using the specified properties. * @param [properties] Properties to set * @returns Rule instance */ public static create(properties?: google.cloud.asset.v1.AnalyzerOrgPolicy.IRule): google.cloud.asset.v1.AnalyzerOrgPolicy.Rule; /** * Encodes the specified Rule message. Does not implicitly {@link google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.verify|verify} messages. * @param message Rule message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.AnalyzerOrgPolicy.IRule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Rule message, length delimited. Does not implicitly {@link google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.verify|verify} messages. * @param message Rule message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.AnalyzerOrgPolicy.IRule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Rule message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Rule * @throws {Error} If the payload is not 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.asset.v1.AnalyzerOrgPolicy.Rule; /** * Decodes a Rule message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Rule * @throws {Error} If the payload 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.asset.v1.AnalyzerOrgPolicy.Rule; /** * Verifies a Rule message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Rule message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Rule */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.AnalyzerOrgPolicy.Rule; /** * Creates a plain object from a Rule message. Also converts values to other types if specified. * @param message Rule * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.AnalyzerOrgPolicy.Rule, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Rule to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Rule * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Rule { /** Properties of a StringValues. */ interface IStringValues { /** StringValues allowedValues */ allowedValues?: (string[]|null); /** StringValues deniedValues */ deniedValues?: (string[]|null); } /** Represents a StringValues. */ class StringValues implements IStringValues { /** * Constructs a new StringValues. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.IStringValues); /** StringValues allowedValues. */ public allowedValues: string[]; /** StringValues deniedValues. */ public deniedValues: string[]; /** * Creates a new StringValues instance using the specified properties. * @param [properties] Properties to set * @returns StringValues instance */ public static create(properties?: google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.IStringValues): google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues; /** * Encodes the specified StringValues message. Does not implicitly {@link google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.verify|verify} messages. * @param message StringValues message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.IStringValues, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StringValues message, length delimited. Does not implicitly {@link google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues.verify|verify} messages. * @param message StringValues message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.IStringValues, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StringValues message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StringValues * @throws {Error} If the payload is not 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.asset.v1.AnalyzerOrgPolicy.Rule.StringValues; /** * Decodes a StringValues message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StringValues * @throws {Error} If the payload 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.asset.v1.AnalyzerOrgPolicy.Rule.StringValues; /** * Verifies a StringValues message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StringValues message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StringValues */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues; /** * Creates a plain object from a StringValues message. Also converts values to other types if specified. * @param message StringValues * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StringValues to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StringValues * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } } /** Properties of an AnalyzerOrgPolicyConstraint. */ interface IAnalyzerOrgPolicyConstraint { /** AnalyzerOrgPolicyConstraint googleDefinedConstraint */ googleDefinedConstraint?: (google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.IConstraint|null); /** AnalyzerOrgPolicyConstraint customConstraint */ customConstraint?: (google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ICustomConstraint|null); } /** Represents an AnalyzerOrgPolicyConstraint. */ class AnalyzerOrgPolicyConstraint implements IAnalyzerOrgPolicyConstraint { /** * Constructs a new AnalyzerOrgPolicyConstraint. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IAnalyzerOrgPolicyConstraint); /** AnalyzerOrgPolicyConstraint googleDefinedConstraint. */ public googleDefinedConstraint?: (google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.IConstraint|null); /** AnalyzerOrgPolicyConstraint customConstraint. */ public customConstraint?: (google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ICustomConstraint|null); /** AnalyzerOrgPolicyConstraint constraintDefinition. */ public constraintDefinition?: ("googleDefinedConstraint"|"customConstraint"); /** * Creates a new AnalyzerOrgPolicyConstraint instance using the specified properties. * @param [properties] Properties to set * @returns AnalyzerOrgPolicyConstraint instance */ public static create(properties?: google.cloud.asset.v1.IAnalyzerOrgPolicyConstraint): google.cloud.asset.v1.AnalyzerOrgPolicyConstraint; /** * Encodes the specified AnalyzerOrgPolicyConstraint message. Does not implicitly {@link google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.verify|verify} messages. * @param message AnalyzerOrgPolicyConstraint message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IAnalyzerOrgPolicyConstraint, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AnalyzerOrgPolicyConstraint message, length delimited. Does not implicitly {@link google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.verify|verify} messages. * @param message AnalyzerOrgPolicyConstraint message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IAnalyzerOrgPolicyConstraint, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AnalyzerOrgPolicyConstraint message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AnalyzerOrgPolicyConstraint * @throws {Error} If the payload is not 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.asset.v1.AnalyzerOrgPolicyConstraint; /** * Decodes an AnalyzerOrgPolicyConstraint message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AnalyzerOrgPolicyConstraint * @throws {Error} If the payload 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.asset.v1.AnalyzerOrgPolicyConstraint; /** * Verifies an AnalyzerOrgPolicyConstraint message. * @param message Plain 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 AnalyzerOrgPolicyConstraint message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AnalyzerOrgPolicyConstraint */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.AnalyzerOrgPolicyConstraint; /** * Creates a plain object from an AnalyzerOrgPolicyConstraint message. Also converts values to other types if specified. * @param message AnalyzerOrgPolicyConstraint * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.AnalyzerOrgPolicyConstraint, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AnalyzerOrgPolicyConstraint to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AnalyzerOrgPolicyConstraint * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AnalyzerOrgPolicyConstraint { /** Properties of a Constraint. */ interface IConstraint { /** Constraint name */ name?: (string|null); /** Constraint displayName */ displayName?: (string|null); /** Constraint description */ description?: (string|null); /** Constraint constraintDefault */ constraintDefault?: (google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault|keyof typeof google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault|null); /** Constraint listConstraint */ listConstraint?: (google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.IListConstraint|null); /** Constraint booleanConstraint */ booleanConstraint?: (google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.IBooleanConstraint|null); } /** Represents a Constraint. */ class Constraint implements IConstraint { /** * Constructs a new Constraint. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.IConstraint); /** Constraint name. */ public name: string; /** Constraint displayName. */ public displayName: string; /** Constraint description. */ public description: string; /** Constraint constraintDefault. */ public constraintDefault: (google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault|keyof typeof google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault); /** Constraint listConstraint. */ public listConstraint?: (google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.IListConstraint|null); /** Constraint booleanConstraint. */ public booleanConstraint?: (google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.IBooleanConstraint|null); /** Constraint constraintType. */ public constraintType?: ("listConstraint"|"booleanConstraint"); /** * Creates a new Constraint instance using the specified properties. * @param [properties] Properties to set * @returns Constraint instance */ public static create(properties?: google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.IConstraint): google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint; /** * Encodes the specified Constraint message. Does not implicitly {@link google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.verify|verify} messages. * @param message Constraint message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.IConstraint, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Constraint message, length delimited. Does not implicitly {@link google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.verify|verify} messages. * @param message Constraint message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.IConstraint, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Constraint message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Constraint * @throws {Error} If the payload is not 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.asset.v1.AnalyzerOrgPolicyConstraint.Constraint; /** * Decodes a Constraint message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Constraint * @throws {Error} If the payload 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.asset.v1.AnalyzerOrgPolicyConstraint.Constraint; /** * Verifies a Constraint message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Constraint message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Constraint */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint; /** * Creates a plain object from a Constraint message. Also converts values to other types if specified. * @param message Constraint * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Constraint to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Constraint * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Constraint { /** ConstraintDefault enum. */ enum ConstraintDefault { CONSTRAINT_DEFAULT_UNSPECIFIED = 0, ALLOW = 1, DENY = 2 } /** Properties of a ListConstraint. */ interface IListConstraint { /** ListConstraint supportsIn */ supportsIn?: (boolean|null); /** ListConstraint supportsUnder */ supportsUnder?: (boolean|null); } /** Represents a ListConstraint. */ class ListConstraint implements IListConstraint { /** * Constructs a new ListConstraint. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.IListConstraint); /** ListConstraint supportsIn. */ public supportsIn: boolean; /** ListConstraint supportsUnder. */ public supportsUnder: boolean; /** * Creates a new ListConstraint instance using the specified properties. * @param [properties] Properties to set * @returns ListConstraint instance */ public static create(properties?: google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.IListConstraint): google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint; /** * Encodes the specified ListConstraint message. Does not implicitly {@link google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.verify|verify} messages. * @param message ListConstraint message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.IListConstraint, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListConstraint message, length delimited. Does not implicitly {@link google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.verify|verify} messages. * @param message ListConstraint message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.IListConstraint, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListConstraint message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListConstraint * @throws {Error} If the payload is not 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.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint; /** * Decodes a ListConstraint message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListConstraint * @throws {Error} If the payload 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.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint; /** * Verifies a ListConstraint message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListConstraint message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListConstraint */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint; /** * Creates a plain object from a ListConstraint message. Also converts values to other types if specified. * @param message ListConstraint * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListConstraint to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListConstraint * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BooleanConstraint. */ interface IBooleanConstraint { } /** Represents a BooleanConstraint. */ class BooleanConstraint implements IBooleanConstraint { /** * Constructs a new BooleanConstraint. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.IBooleanConstraint); /** * Creates a new BooleanConstraint instance using the specified properties. * @param [properties] Properties to set * @returns BooleanConstraint instance */ public static create(properties?: google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.IBooleanConstraint): google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint; /** * Encodes the specified BooleanConstraint message. Does not implicitly {@link google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.verify|verify} messages. * @param message BooleanConstraint message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.IBooleanConstraint, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BooleanConstraint message, length delimited. Does not implicitly {@link google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.verify|verify} messages. * @param message BooleanConstraint message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.IBooleanConstraint, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BooleanConstraint message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BooleanConstraint * @throws {Error} If the payload is not 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.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint; /** * Decodes a BooleanConstraint message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BooleanConstraint * @throws {Error} If the payload 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.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint; /** * Verifies a BooleanConstraint message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BooleanConstraint message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BooleanConstraint */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint; /** * Creates a plain object from a BooleanConstraint message. Also converts values to other types if specified. * @param message BooleanConstraint * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BooleanConstraint to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BooleanConstraint * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a CustomConstraint. */ interface ICustomConstraint { /** CustomConstraint name */ name?: (string|null); /** CustomConstraint resourceTypes */ resourceTypes?: (string[]|null); /** CustomConstraint methodTypes */ methodTypes?: (google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType[]|null); /** CustomConstraint condition */ condition?: (string|null); /** CustomConstraint actionType */ actionType?: (google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType|keyof typeof google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType|null); /** CustomConstraint displayName */ displayName?: (string|null); /** CustomConstraint description */ description?: (string|null); } /** Represents a CustomConstraint. */ class CustomConstraint implements ICustomConstraint { /** * Constructs a new CustomConstraint. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ICustomConstraint); /** CustomConstraint name. */ public name: string; /** CustomConstraint resourceTypes. */ public resourceTypes: string[]; /** CustomConstraint methodTypes. */ public methodTypes: google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType[]; /** CustomConstraint condition. */ public condition: string; /** CustomConstraint actionType. */ public actionType: (google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType|keyof typeof google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType); /** CustomConstraint displayName. */ public displayName: string; /** CustomConstraint description. */ public description: string; /** * Creates a new CustomConstraint instance using the specified properties. * @param [properties] Properties to set * @returns CustomConstraint instance */ public static create(properties?: google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ICustomConstraint): google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint; /** * Encodes the specified CustomConstraint message. Does not implicitly {@link google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.verify|verify} messages. * @param message CustomConstraint message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ICustomConstraint, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CustomConstraint message, length delimited. Does not implicitly {@link google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.verify|verify} messages. * @param message CustomConstraint message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.ICustomConstraint, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CustomConstraint message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CustomConstraint * @throws {Error} If the payload is not 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.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint; /** * Decodes a CustomConstraint message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CustomConstraint * @throws {Error} If the payload 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.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint; /** * Verifies a CustomConstraint message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CustomConstraint message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CustomConstraint */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint; /** * Creates a plain object from a CustomConstraint message. Also converts values to other types if specified. * @param message CustomConstraint * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CustomConstraint to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CustomConstraint * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace CustomConstraint { /** MethodType enum. */ enum MethodType { METHOD_TYPE_UNSPECIFIED = 0, CREATE = 1, UPDATE = 2, DELETE = 3, REMOVE_GRANT = 4, GOVERN_TAGS = 5 } /** ActionType enum. */ enum ActionType { ACTION_TYPE_UNSPECIFIED = 0, ALLOW = 1, DENY = 2 } } } /** Properties of an AnalyzeOrgPoliciesRequest. */ interface IAnalyzeOrgPoliciesRequest { /** AnalyzeOrgPoliciesRequest scope */ scope?: (string|null); /** AnalyzeOrgPoliciesRequest constraint */ constraint?: (string|null); /** AnalyzeOrgPoliciesRequest filter */ filter?: (string|null); /** AnalyzeOrgPoliciesRequest pageSize */ pageSize?: (number|null); /** AnalyzeOrgPoliciesRequest pageToken */ pageToken?: (string|null); } /** Represents an AnalyzeOrgPoliciesRequest. */ class AnalyzeOrgPoliciesRequest implements IAnalyzeOrgPoliciesRequest { /** * Constructs a new AnalyzeOrgPoliciesRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IAnalyzeOrgPoliciesRequest); /** AnalyzeOrgPoliciesRequest scope. */ public scope: string; /** AnalyzeOrgPoliciesRequest constraint. */ public constraint: string; /** AnalyzeOrgPoliciesRequest filter. */ public filter: string; /** AnalyzeOrgPoliciesRequest pageSize. */ public pageSize?: (number|null); /** AnalyzeOrgPoliciesRequest pageToken. */ public pageToken: string; /** * Creates a new AnalyzeOrgPoliciesRequest instance using the specified properties. * @param [properties] Properties to set * @returns AnalyzeOrgPoliciesRequest instance */ public static create(properties?: google.cloud.asset.v1.IAnalyzeOrgPoliciesRequest): google.cloud.asset.v1.AnalyzeOrgPoliciesRequest; /** * Encodes the specified AnalyzeOrgPoliciesRequest message. Does not implicitly {@link google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.verify|verify} messages. * @param message AnalyzeOrgPoliciesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IAnalyzeOrgPoliciesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AnalyzeOrgPoliciesRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.verify|verify} messages. * @param message AnalyzeOrgPoliciesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IAnalyzeOrgPoliciesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AnalyzeOrgPoliciesRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AnalyzeOrgPoliciesRequest * @throws {Error} If the payload is not 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.asset.v1.AnalyzeOrgPoliciesRequest; /** * Decodes an AnalyzeOrgPoliciesRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AnalyzeOrgPoliciesRequest * @throws {Error} If the payload 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.asset.v1.AnalyzeOrgPoliciesRequest; /** * Verifies an AnalyzeOrgPoliciesRequest message. * @param message Plain 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 AnalyzeOrgPoliciesRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AnalyzeOrgPoliciesRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.AnalyzeOrgPoliciesRequest; /** * Creates a plain object from an AnalyzeOrgPoliciesRequest message. Also converts values to other types if specified. * @param message AnalyzeOrgPoliciesRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.AnalyzeOrgPoliciesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AnalyzeOrgPoliciesRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AnalyzeOrgPoliciesRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AnalyzeOrgPoliciesResponse. */ interface IAnalyzeOrgPoliciesResponse { /** AnalyzeOrgPoliciesResponse orgPolicyResults */ orgPolicyResults?: (google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.IOrgPolicyResult[]|null); /** AnalyzeOrgPoliciesResponse constraint */ constraint?: (google.cloud.asset.v1.IAnalyzerOrgPolicyConstraint|null); /** AnalyzeOrgPoliciesResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents an AnalyzeOrgPoliciesResponse. */ class AnalyzeOrgPoliciesResponse implements IAnalyzeOrgPoliciesResponse { /** * Constructs a new AnalyzeOrgPoliciesResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IAnalyzeOrgPoliciesResponse); /** AnalyzeOrgPoliciesResponse orgPolicyResults. */ public orgPolicyResults: google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.IOrgPolicyResult[]; /** AnalyzeOrgPoliciesResponse constraint. */ public constraint?: (google.cloud.asset.v1.IAnalyzerOrgPolicyConstraint|null); /** AnalyzeOrgPoliciesResponse nextPageToken. */ public nextPageToken: string; /** * Creates a new AnalyzeOrgPoliciesResponse instance using the specified properties. * @param [properties] Properties to set * @returns AnalyzeOrgPoliciesResponse instance */ public static create(properties?: google.cloud.asset.v1.IAnalyzeOrgPoliciesResponse): google.cloud.asset.v1.AnalyzeOrgPoliciesResponse; /** * Encodes the specified AnalyzeOrgPoliciesResponse message. Does not implicitly {@link google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.verify|verify} messages. * @param message AnalyzeOrgPoliciesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IAnalyzeOrgPoliciesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AnalyzeOrgPoliciesResponse message, length delimited. Does not implicitly {@link google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.verify|verify} messages. * @param message AnalyzeOrgPoliciesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IAnalyzeOrgPoliciesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AnalyzeOrgPoliciesResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AnalyzeOrgPoliciesResponse * @throws {Error} If the payload is not 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.asset.v1.AnalyzeOrgPoliciesResponse; /** * Decodes an AnalyzeOrgPoliciesResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AnalyzeOrgPoliciesResponse * @throws {Error} If the payload 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.asset.v1.AnalyzeOrgPoliciesResponse; /** * Verifies an AnalyzeOrgPoliciesResponse message. * @param message Plain 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 AnalyzeOrgPoliciesResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AnalyzeOrgPoliciesResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.AnalyzeOrgPoliciesResponse; /** * Creates a plain object from an AnalyzeOrgPoliciesResponse message. Also converts values to other types if specified. * @param message AnalyzeOrgPoliciesResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.AnalyzeOrgPoliciesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AnalyzeOrgPoliciesResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AnalyzeOrgPoliciesResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AnalyzeOrgPoliciesResponse { /** Properties of an OrgPolicyResult. */ interface IOrgPolicyResult { /** OrgPolicyResult consolidatedPolicy */ consolidatedPolicy?: (google.cloud.asset.v1.IAnalyzerOrgPolicy|null); /** OrgPolicyResult policyBundle */ policyBundle?: (google.cloud.asset.v1.IAnalyzerOrgPolicy[]|null); /** OrgPolicyResult project */ project?: (string|null); /** OrgPolicyResult folders */ folders?: (string[]|null); /** OrgPolicyResult organization */ organization?: (string|null); } /** Represents an OrgPolicyResult. */ class OrgPolicyResult implements IOrgPolicyResult { /** * Constructs a new OrgPolicyResult. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.IOrgPolicyResult); /** OrgPolicyResult consolidatedPolicy. */ public consolidatedPolicy?: (google.cloud.asset.v1.IAnalyzerOrgPolicy|null); /** OrgPolicyResult policyBundle. */ public policyBundle: google.cloud.asset.v1.IAnalyzerOrgPolicy[]; /** OrgPolicyResult project. */ public project: string; /** OrgPolicyResult folders. */ public folders: string[]; /** OrgPolicyResult organization. */ public organization: string; /** * Creates a new OrgPolicyResult instance using the specified properties. * @param [properties] Properties to set * @returns OrgPolicyResult instance */ public static create(properties?: google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.IOrgPolicyResult): google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult; /** * Encodes the specified OrgPolicyResult message. Does not implicitly {@link google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.verify|verify} messages. * @param message OrgPolicyResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.IOrgPolicyResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified OrgPolicyResult message, length delimited. Does not implicitly {@link google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.verify|verify} messages. * @param message OrgPolicyResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.IOrgPolicyResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an OrgPolicyResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns OrgPolicyResult * @throws {Error} If the payload is not 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.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult; /** * Decodes an OrgPolicyResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns OrgPolicyResult * @throws {Error} If the payload 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.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult; /** * Verifies an OrgPolicyResult message. * @param message Plain 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 OrgPolicyResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns OrgPolicyResult */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult; /** * Creates a plain object from an OrgPolicyResult message. Also converts values to other types if specified. * @param message OrgPolicyResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this OrgPolicyResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for OrgPolicyResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of an AnalyzeOrgPolicyGovernedContainersRequest. */ interface IAnalyzeOrgPolicyGovernedContainersRequest { /** AnalyzeOrgPolicyGovernedContainersRequest scope */ scope?: (string|null); /** AnalyzeOrgPolicyGovernedContainersRequest constraint */ constraint?: (string|null); /** AnalyzeOrgPolicyGovernedContainersRequest filter */ filter?: (string|null); /** AnalyzeOrgPolicyGovernedContainersRequest pageSize */ pageSize?: (number|null); /** AnalyzeOrgPolicyGovernedContainersRequest pageToken */ pageToken?: (string|null); } /** Represents an AnalyzeOrgPolicyGovernedContainersRequest. */ class AnalyzeOrgPolicyGovernedContainersRequest implements IAnalyzeOrgPolicyGovernedContainersRequest { /** * Constructs a new AnalyzeOrgPolicyGovernedContainersRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IAnalyzeOrgPolicyGovernedContainersRequest); /** AnalyzeOrgPolicyGovernedContainersRequest scope. */ public scope: string; /** AnalyzeOrgPolicyGovernedContainersRequest constraint. */ public constraint: string; /** AnalyzeOrgPolicyGovernedContainersRequest filter. */ public filter: string; /** AnalyzeOrgPolicyGovernedContainersRequest pageSize. */ public pageSize?: (number|null); /** AnalyzeOrgPolicyGovernedContainersRequest pageToken. */ public pageToken: string; /** * Creates a new AnalyzeOrgPolicyGovernedContainersRequest instance using the specified properties. * @param [properties] Properties to set * @returns AnalyzeOrgPolicyGovernedContainersRequest instance */ public static create(properties?: google.cloud.asset.v1.IAnalyzeOrgPolicyGovernedContainersRequest): google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest; /** * Encodes the specified AnalyzeOrgPolicyGovernedContainersRequest message. Does not implicitly {@link google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.verify|verify} messages. * @param message AnalyzeOrgPolicyGovernedContainersRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IAnalyzeOrgPolicyGovernedContainersRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AnalyzeOrgPolicyGovernedContainersRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.verify|verify} messages. * @param message AnalyzeOrgPolicyGovernedContainersRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IAnalyzeOrgPolicyGovernedContainersRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AnalyzeOrgPolicyGovernedContainersRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AnalyzeOrgPolicyGovernedContainersRequest * @throws {Error} If the payload is not 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.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest; /** * Decodes an AnalyzeOrgPolicyGovernedContainersRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AnalyzeOrgPolicyGovernedContainersRequest * @throws {Error} If the payload 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.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest; /** * Verifies an AnalyzeOrgPolicyGovernedContainersRequest message. * @param message Plain 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 AnalyzeOrgPolicyGovernedContainersRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AnalyzeOrgPolicyGovernedContainersRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest; /** * Creates a plain object from an AnalyzeOrgPolicyGovernedContainersRequest message. Also converts values to other types if specified. * @param message AnalyzeOrgPolicyGovernedContainersRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AnalyzeOrgPolicyGovernedContainersRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AnalyzeOrgPolicyGovernedContainersRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AnalyzeOrgPolicyGovernedContainersResponse. */ interface IAnalyzeOrgPolicyGovernedContainersResponse { /** AnalyzeOrgPolicyGovernedContainersResponse governedContainers */ governedContainers?: (google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.IGovernedContainer[]|null); /** AnalyzeOrgPolicyGovernedContainersResponse constraint */ constraint?: (google.cloud.asset.v1.IAnalyzerOrgPolicyConstraint|null); /** AnalyzeOrgPolicyGovernedContainersResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents an AnalyzeOrgPolicyGovernedContainersResponse. */ class AnalyzeOrgPolicyGovernedContainersResponse implements IAnalyzeOrgPolicyGovernedContainersResponse { /** * Constructs a new AnalyzeOrgPolicyGovernedContainersResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IAnalyzeOrgPolicyGovernedContainersResponse); /** AnalyzeOrgPolicyGovernedContainersResponse governedContainers. */ public governedContainers: google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.IGovernedContainer[]; /** AnalyzeOrgPolicyGovernedContainersResponse constraint. */ public constraint?: (google.cloud.asset.v1.IAnalyzerOrgPolicyConstraint|null); /** AnalyzeOrgPolicyGovernedContainersResponse nextPageToken. */ public nextPageToken: string; /** * Creates a new AnalyzeOrgPolicyGovernedContainersResponse instance using the specified properties. * @param [properties] Properties to set * @returns AnalyzeOrgPolicyGovernedContainersResponse instance */ public static create(properties?: google.cloud.asset.v1.IAnalyzeOrgPolicyGovernedContainersResponse): google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse; /** * Encodes the specified AnalyzeOrgPolicyGovernedContainersResponse message. Does not implicitly {@link google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.verify|verify} messages. * @param message AnalyzeOrgPolicyGovernedContainersResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IAnalyzeOrgPolicyGovernedContainersResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AnalyzeOrgPolicyGovernedContainersResponse message, length delimited. Does not implicitly {@link google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.verify|verify} messages. * @param message AnalyzeOrgPolicyGovernedContainersResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IAnalyzeOrgPolicyGovernedContainersResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AnalyzeOrgPolicyGovernedContainersResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AnalyzeOrgPolicyGovernedContainersResponse * @throws {Error} If the payload is not 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.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse; /** * Decodes an AnalyzeOrgPolicyGovernedContainersResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AnalyzeOrgPolicyGovernedContainersResponse * @throws {Error} If the payload 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.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse; /** * Verifies an AnalyzeOrgPolicyGovernedContainersResponse message. * @param message Plain 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 AnalyzeOrgPolicyGovernedContainersResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AnalyzeOrgPolicyGovernedContainersResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse; /** * Creates a plain object from an AnalyzeOrgPolicyGovernedContainersResponse message. Also converts values to other types if specified. * @param message AnalyzeOrgPolicyGovernedContainersResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AnalyzeOrgPolicyGovernedContainersResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AnalyzeOrgPolicyGovernedContainersResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AnalyzeOrgPolicyGovernedContainersResponse { /** Properties of a GovernedContainer. */ interface IGovernedContainer { /** GovernedContainer fullResourceName */ fullResourceName?: (string|null); /** GovernedContainer parent */ parent?: (string|null); /** GovernedContainer consolidatedPolicy */ consolidatedPolicy?: (google.cloud.asset.v1.IAnalyzerOrgPolicy|null); /** GovernedContainer policyBundle */ policyBundle?: (google.cloud.asset.v1.IAnalyzerOrgPolicy[]|null); /** GovernedContainer project */ project?: (string|null); /** GovernedContainer folders */ folders?: (string[]|null); /** GovernedContainer organization */ organization?: (string|null); /** GovernedContainer effectiveTags */ effectiveTags?: (google.cloud.asset.v1.IEffectiveTagDetails[]|null); } /** Represents a GovernedContainer. */ class GovernedContainer implements IGovernedContainer { /** * Constructs a new GovernedContainer. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.IGovernedContainer); /** GovernedContainer fullResourceName. */ public fullResourceName: string; /** GovernedContainer parent. */ public parent: string; /** GovernedContainer consolidatedPolicy. */ public consolidatedPolicy?: (google.cloud.asset.v1.IAnalyzerOrgPolicy|null); /** GovernedContainer policyBundle. */ public policyBundle: google.cloud.asset.v1.IAnalyzerOrgPolicy[]; /** GovernedContainer project. */ public project: string; /** GovernedContainer folders. */ public folders: string[]; /** GovernedContainer organization. */ public organization: string; /** GovernedContainer effectiveTags. */ public effectiveTags: google.cloud.asset.v1.IEffectiveTagDetails[]; /** * Creates a new GovernedContainer instance using the specified properties. * @param [properties] Properties to set * @returns GovernedContainer instance */ public static create(properties?: google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.IGovernedContainer): google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer; /** * Encodes the specified GovernedContainer message. Does not implicitly {@link google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.verify|verify} messages. * @param message GovernedContainer message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.IGovernedContainer, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GovernedContainer message, length delimited. Does not implicitly {@link google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.verify|verify} messages. * @param message GovernedContainer message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.IGovernedContainer, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GovernedContainer message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GovernedContainer * @throws {Error} If the payload is not 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.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer; /** * Decodes a GovernedContainer message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GovernedContainer * @throws {Error} If the payload 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.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer; /** * Verifies a GovernedContainer message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GovernedContainer message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GovernedContainer */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer; /** * Creates a plain object from a GovernedContainer message. Also converts values to other types if specified. * @param message GovernedContainer * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GovernedContainer to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GovernedContainer * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of an AnalyzeOrgPolicyGovernedAssetsRequest. */ interface IAnalyzeOrgPolicyGovernedAssetsRequest { /** AnalyzeOrgPolicyGovernedAssetsRequest scope */ scope?: (string|null); /** AnalyzeOrgPolicyGovernedAssetsRequest constraint */ constraint?: (string|null); /** AnalyzeOrgPolicyGovernedAssetsRequest filter */ filter?: (string|null); /** AnalyzeOrgPolicyGovernedAssetsRequest pageSize */ pageSize?: (number|null); /** AnalyzeOrgPolicyGovernedAssetsRequest pageToken */ pageToken?: (string|null); } /** Represents an AnalyzeOrgPolicyGovernedAssetsRequest. */ class AnalyzeOrgPolicyGovernedAssetsRequest implements IAnalyzeOrgPolicyGovernedAssetsRequest { /** * Constructs a new AnalyzeOrgPolicyGovernedAssetsRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IAnalyzeOrgPolicyGovernedAssetsRequest); /** AnalyzeOrgPolicyGovernedAssetsRequest scope. */ public scope: string; /** AnalyzeOrgPolicyGovernedAssetsRequest constraint. */ public constraint: string; /** AnalyzeOrgPolicyGovernedAssetsRequest filter. */ public filter: string; /** AnalyzeOrgPolicyGovernedAssetsRequest pageSize. */ public pageSize?: (number|null); /** AnalyzeOrgPolicyGovernedAssetsRequest pageToken. */ public pageToken: string; /** * Creates a new AnalyzeOrgPolicyGovernedAssetsRequest instance using the specified properties. * @param [properties] Properties to set * @returns AnalyzeOrgPolicyGovernedAssetsRequest instance */ public static create(properties?: google.cloud.asset.v1.IAnalyzeOrgPolicyGovernedAssetsRequest): google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest; /** * Encodes the specified AnalyzeOrgPolicyGovernedAssetsRequest message. Does not implicitly {@link google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.verify|verify} messages. * @param message AnalyzeOrgPolicyGovernedAssetsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IAnalyzeOrgPolicyGovernedAssetsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AnalyzeOrgPolicyGovernedAssetsRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.verify|verify} messages. * @param message AnalyzeOrgPolicyGovernedAssetsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IAnalyzeOrgPolicyGovernedAssetsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AnalyzeOrgPolicyGovernedAssetsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AnalyzeOrgPolicyGovernedAssetsRequest * @throws {Error} If the payload is not 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.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest; /** * Decodes an AnalyzeOrgPolicyGovernedAssetsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AnalyzeOrgPolicyGovernedAssetsRequest * @throws {Error} If the payload 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.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest; /** * Verifies an AnalyzeOrgPolicyGovernedAssetsRequest message. * @param message Plain 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 AnalyzeOrgPolicyGovernedAssetsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AnalyzeOrgPolicyGovernedAssetsRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest; /** * Creates a plain object from an AnalyzeOrgPolicyGovernedAssetsRequest message. Also converts values to other types if specified. * @param message AnalyzeOrgPolicyGovernedAssetsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AnalyzeOrgPolicyGovernedAssetsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AnalyzeOrgPolicyGovernedAssetsRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AnalyzeOrgPolicyGovernedAssetsResponse. */ interface IAnalyzeOrgPolicyGovernedAssetsResponse { /** AnalyzeOrgPolicyGovernedAssetsResponse governedAssets */ governedAssets?: (google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.IGovernedAsset[]|null); /** AnalyzeOrgPolicyGovernedAssetsResponse constraint */ constraint?: (google.cloud.asset.v1.IAnalyzerOrgPolicyConstraint|null); /** AnalyzeOrgPolicyGovernedAssetsResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents an AnalyzeOrgPolicyGovernedAssetsResponse. */ class AnalyzeOrgPolicyGovernedAssetsResponse implements IAnalyzeOrgPolicyGovernedAssetsResponse { /** * Constructs a new AnalyzeOrgPolicyGovernedAssetsResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IAnalyzeOrgPolicyGovernedAssetsResponse); /** AnalyzeOrgPolicyGovernedAssetsResponse governedAssets. */ public governedAssets: google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.IGovernedAsset[]; /** AnalyzeOrgPolicyGovernedAssetsResponse constraint. */ public constraint?: (google.cloud.asset.v1.IAnalyzerOrgPolicyConstraint|null); /** AnalyzeOrgPolicyGovernedAssetsResponse nextPageToken. */ public nextPageToken: string; /** * Creates a new AnalyzeOrgPolicyGovernedAssetsResponse instance using the specified properties. * @param [properties] Properties to set * @returns AnalyzeOrgPolicyGovernedAssetsResponse instance */ public static create(properties?: google.cloud.asset.v1.IAnalyzeOrgPolicyGovernedAssetsResponse): google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse; /** * Encodes the specified AnalyzeOrgPolicyGovernedAssetsResponse message. Does not implicitly {@link google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.verify|verify} messages. * @param message AnalyzeOrgPolicyGovernedAssetsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IAnalyzeOrgPolicyGovernedAssetsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AnalyzeOrgPolicyGovernedAssetsResponse message, length delimited. Does not implicitly {@link google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.verify|verify} messages. * @param message AnalyzeOrgPolicyGovernedAssetsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IAnalyzeOrgPolicyGovernedAssetsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AnalyzeOrgPolicyGovernedAssetsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AnalyzeOrgPolicyGovernedAssetsResponse * @throws {Error} If the payload is not 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.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse; /** * Decodes an AnalyzeOrgPolicyGovernedAssetsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AnalyzeOrgPolicyGovernedAssetsResponse * @throws {Error} If the payload 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.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse; /** * Verifies an AnalyzeOrgPolicyGovernedAssetsResponse message. * @param message Plain 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 AnalyzeOrgPolicyGovernedAssetsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AnalyzeOrgPolicyGovernedAssetsResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse; /** * Creates a plain object from an AnalyzeOrgPolicyGovernedAssetsResponse message. Also converts values to other types if specified. * @param message AnalyzeOrgPolicyGovernedAssetsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AnalyzeOrgPolicyGovernedAssetsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AnalyzeOrgPolicyGovernedAssetsResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AnalyzeOrgPolicyGovernedAssetsResponse { /** Properties of a GovernedResource. */ interface IGovernedResource { /** GovernedResource fullResourceName */ fullResourceName?: (string|null); /** GovernedResource parent */ parent?: (string|null); /** GovernedResource project */ project?: (string|null); /** GovernedResource folders */ folders?: (string[]|null); /** GovernedResource organization */ organization?: (string|null); /** GovernedResource assetType */ assetType?: (string|null); /** GovernedResource effectiveTags */ effectiveTags?: (google.cloud.asset.v1.IEffectiveTagDetails[]|null); } /** Represents a GovernedResource. */ class GovernedResource implements IGovernedResource { /** * Constructs a new GovernedResource. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.IGovernedResource); /** GovernedResource fullResourceName. */ public fullResourceName: string; /** GovernedResource parent. */ public parent: string; /** GovernedResource project. */ public project: string; /** GovernedResource folders. */ public folders: string[]; /** GovernedResource organization. */ public organization: string; /** GovernedResource assetType. */ public assetType: string; /** GovernedResource effectiveTags. */ public effectiveTags: google.cloud.asset.v1.IEffectiveTagDetails[]; /** * Creates a new GovernedResource instance using the specified properties. * @param [properties] Properties to set * @returns GovernedResource instance */ public static create(properties?: google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.IGovernedResource): google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource; /** * Encodes the specified GovernedResource message. Does not implicitly {@link google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.verify|verify} messages. * @param message GovernedResource message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.IGovernedResource, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GovernedResource message, length delimited. Does not implicitly {@link google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.verify|verify} messages. * @param message GovernedResource message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.IGovernedResource, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GovernedResource message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GovernedResource * @throws {Error} If the payload is not 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.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource; /** * Decodes a GovernedResource message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GovernedResource * @throws {Error} If the payload 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.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource; /** * Verifies a GovernedResource message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GovernedResource message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GovernedResource */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource; /** * Creates a plain object from a GovernedResource message. Also converts values to other types if specified. * @param message GovernedResource * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GovernedResource to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GovernedResource * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GovernedIamPolicy. */ interface IGovernedIamPolicy { /** GovernedIamPolicy attachedResource */ attachedResource?: (string|null); /** GovernedIamPolicy policy */ policy?: (google.iam.v1.IPolicy|null); /** GovernedIamPolicy project */ project?: (string|null); /** GovernedIamPolicy folders */ folders?: (string[]|null); /** GovernedIamPolicy organization */ organization?: (string|null); /** GovernedIamPolicy assetType */ assetType?: (string|null); } /** Represents a GovernedIamPolicy. */ class GovernedIamPolicy implements IGovernedIamPolicy { /** * Constructs a new GovernedIamPolicy. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.IGovernedIamPolicy); /** GovernedIamPolicy attachedResource. */ public attachedResource: string; /** GovernedIamPolicy policy. */ public policy?: (google.iam.v1.IPolicy|null); /** GovernedIamPolicy project. */ public project: string; /** GovernedIamPolicy folders. */ public folders: string[]; /** GovernedIamPolicy organization. */ public organization: string; /** GovernedIamPolicy assetType. */ public assetType: string; /** * Creates a new GovernedIamPolicy instance using the specified properties. * @param [properties] Properties to set * @returns GovernedIamPolicy instance */ public static create(properties?: google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.IGovernedIamPolicy): google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy; /** * Encodes the specified GovernedIamPolicy message. Does not implicitly {@link google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.verify|verify} messages. * @param message GovernedIamPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.IGovernedIamPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GovernedIamPolicy message, length delimited. Does not implicitly {@link google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.verify|verify} messages. * @param message GovernedIamPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.IGovernedIamPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GovernedIamPolicy message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GovernedIamPolicy * @throws {Error} If the payload is not 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.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy; /** * Decodes a GovernedIamPolicy message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GovernedIamPolicy * @throws {Error} If the payload 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.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy; /** * Verifies a GovernedIamPolicy message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GovernedIamPolicy message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GovernedIamPolicy */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy; /** * Creates a plain object from a GovernedIamPolicy message. Also converts values to other types if specified. * @param message GovernedIamPolicy * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GovernedIamPolicy to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GovernedIamPolicy * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GovernedAsset. */ interface IGovernedAsset { /** GovernedAsset governedResource */ governedResource?: (google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.IGovernedResource|null); /** GovernedAsset governedIamPolicy */ governedIamPolicy?: (google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.IGovernedIamPolicy|null); /** GovernedAsset consolidatedPolicy */ consolidatedPolicy?: (google.cloud.asset.v1.IAnalyzerOrgPolicy|null); /** GovernedAsset policyBundle */ policyBundle?: (google.cloud.asset.v1.IAnalyzerOrgPolicy[]|null); } /** Represents a GovernedAsset. */ class GovernedAsset implements IGovernedAsset { /** * Constructs a new GovernedAsset. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.IGovernedAsset); /** GovernedAsset governedResource. */ public governedResource?: (google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.IGovernedResource|null); /** GovernedAsset governedIamPolicy. */ public governedIamPolicy?: (google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.IGovernedIamPolicy|null); /** GovernedAsset consolidatedPolicy. */ public consolidatedPolicy?: (google.cloud.asset.v1.IAnalyzerOrgPolicy|null); /** GovernedAsset policyBundle. */ public policyBundle: google.cloud.asset.v1.IAnalyzerOrgPolicy[]; /** GovernedAsset governedAsset. */ public governedAsset?: ("governedResource"|"governedIamPolicy"); /** * Creates a new GovernedAsset instance using the specified properties. * @param [properties] Properties to set * @returns GovernedAsset instance */ public static create(properties?: google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.IGovernedAsset): google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset; /** * Encodes the specified GovernedAsset message. Does not implicitly {@link google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.verify|verify} messages. * @param message GovernedAsset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.IGovernedAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GovernedAsset message, length delimited. Does not implicitly {@link google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.verify|verify} messages. * @param message GovernedAsset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.IGovernedAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GovernedAsset message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GovernedAsset * @throws {Error} If the payload is not 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.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset; /** * Decodes a GovernedAsset message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GovernedAsset * @throws {Error} If the payload 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.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset; /** * Verifies a GovernedAsset message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GovernedAsset message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GovernedAsset */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset; /** * Creates a plain object from a GovernedAsset message. Also converts values to other types if specified. * @param message GovernedAsset * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GovernedAsset to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GovernedAsset * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** ContentType enum. */ enum ContentType { CONTENT_TYPE_UNSPECIFIED = 0, RESOURCE = 1, IAM_POLICY = 2, ORG_POLICY = 4, ACCESS_POLICY = 5, OS_INVENTORY = 6, RELATIONSHIP = 7 } /** Properties of a TemporalAsset. */ interface ITemporalAsset { /** TemporalAsset window */ window?: (google.cloud.asset.v1.ITimeWindow|null); /** TemporalAsset deleted */ deleted?: (boolean|null); /** TemporalAsset asset */ asset?: (google.cloud.asset.v1.IAsset|null); /** TemporalAsset priorAssetState */ priorAssetState?: (google.cloud.asset.v1.TemporalAsset.PriorAssetState|keyof typeof google.cloud.asset.v1.TemporalAsset.PriorAssetState|null); /** TemporalAsset priorAsset */ priorAsset?: (google.cloud.asset.v1.IAsset|null); } /** Represents a TemporalAsset. */ class TemporalAsset implements ITemporalAsset { /** * Constructs a new TemporalAsset. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.ITemporalAsset); /** TemporalAsset window. */ public window?: (google.cloud.asset.v1.ITimeWindow|null); /** TemporalAsset deleted. */ public deleted: boolean; /** TemporalAsset asset. */ public asset?: (google.cloud.asset.v1.IAsset|null); /** TemporalAsset priorAssetState. */ public priorAssetState: (google.cloud.asset.v1.TemporalAsset.PriorAssetState|keyof typeof google.cloud.asset.v1.TemporalAsset.PriorAssetState); /** TemporalAsset priorAsset. */ public priorAsset?: (google.cloud.asset.v1.IAsset|null); /** * Creates a new TemporalAsset instance using the specified properties. * @param [properties] Properties to set * @returns TemporalAsset instance */ public static create(properties?: google.cloud.asset.v1.ITemporalAsset): google.cloud.asset.v1.TemporalAsset; /** * Encodes the specified TemporalAsset message. Does not implicitly {@link google.cloud.asset.v1.TemporalAsset.verify|verify} messages. * @param message TemporalAsset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.ITemporalAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TemporalAsset message, length delimited. Does not implicitly {@link google.cloud.asset.v1.TemporalAsset.verify|verify} messages. * @param message TemporalAsset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.ITemporalAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TemporalAsset message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TemporalAsset * @throws {Error} If the payload is not 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.asset.v1.TemporalAsset; /** * Decodes a TemporalAsset message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TemporalAsset * @throws {Error} If the payload 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.asset.v1.TemporalAsset; /** * Verifies a TemporalAsset message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TemporalAsset message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TemporalAsset */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.TemporalAsset; /** * Creates a plain object from a TemporalAsset message. Also converts values to other types if specified. * @param message TemporalAsset * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.TemporalAsset, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TemporalAsset to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for TemporalAsset * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace TemporalAsset { /** PriorAssetState enum. */ enum PriorAssetState { PRIOR_ASSET_STATE_UNSPECIFIED = 0, PRESENT = 1, INVALID = 2, DOES_NOT_EXIST = 3, DELETED = 4 } } /** Properties of a TimeWindow. */ interface ITimeWindow { /** TimeWindow startTime */ startTime?: (google.protobuf.ITimestamp|null); /** TimeWindow endTime */ endTime?: (google.protobuf.ITimestamp|null); } /** Represents a TimeWindow. */ class TimeWindow implements ITimeWindow { /** * Constructs a new TimeWindow. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.ITimeWindow); /** TimeWindow startTime. */ public startTime?: (google.protobuf.ITimestamp|null); /** TimeWindow endTime. */ public endTime?: (google.protobuf.ITimestamp|null); /** * Creates a new TimeWindow instance using the specified properties. * @param [properties] Properties to set * @returns TimeWindow instance */ public static create(properties?: google.cloud.asset.v1.ITimeWindow): google.cloud.asset.v1.TimeWindow; /** * Encodes the specified TimeWindow message. Does not implicitly {@link google.cloud.asset.v1.TimeWindow.verify|verify} messages. * @param message TimeWindow message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.ITimeWindow, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TimeWindow message, length delimited. Does not implicitly {@link google.cloud.asset.v1.TimeWindow.verify|verify} messages. * @param message TimeWindow message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.ITimeWindow, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TimeWindow message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TimeWindow * @throws {Error} If the payload is not 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.asset.v1.TimeWindow; /** * Decodes a TimeWindow message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TimeWindow * @throws {Error} If the payload 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.asset.v1.TimeWindow; /** * Verifies a TimeWindow message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TimeWindow message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TimeWindow */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.TimeWindow; /** * Creates a plain object from a TimeWindow message. Also converts values to other types if specified. * @param message TimeWindow * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.TimeWindow, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TimeWindow to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for TimeWindow * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AssetEnrichment. */ interface IAssetEnrichment { /** AssetEnrichment resourceOwners */ resourceOwners?: (google.cloud.asset.v1.IResourceOwners|null); } /** Represents an AssetEnrichment. */ class AssetEnrichment implements IAssetEnrichment { /** * Constructs a new AssetEnrichment. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IAssetEnrichment); /** AssetEnrichment resourceOwners. */ public resourceOwners?: (google.cloud.asset.v1.IResourceOwners|null); /** AssetEnrichment EnrichmentData. */ public EnrichmentData?: "resourceOwners"; /** * Creates a new AssetEnrichment instance using the specified properties. * @param [properties] Properties to set * @returns AssetEnrichment instance */ public static create(properties?: google.cloud.asset.v1.IAssetEnrichment): google.cloud.asset.v1.AssetEnrichment; /** * Encodes the specified AssetEnrichment message. Does not implicitly {@link google.cloud.asset.v1.AssetEnrichment.verify|verify} messages. * @param message AssetEnrichment message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IAssetEnrichment, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AssetEnrichment message, length delimited. Does not implicitly {@link google.cloud.asset.v1.AssetEnrichment.verify|verify} messages. * @param message AssetEnrichment message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IAssetEnrichment, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AssetEnrichment message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AssetEnrichment * @throws {Error} If the payload is not 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.asset.v1.AssetEnrichment; /** * Decodes an AssetEnrichment message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AssetEnrichment * @throws {Error} If the payload 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.asset.v1.AssetEnrichment; /** * Verifies an AssetEnrichment message. * @param message Plain 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 AssetEnrichment message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AssetEnrichment */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.AssetEnrichment; /** * Creates a plain object from an AssetEnrichment message. Also converts values to other types if specified. * @param message AssetEnrichment * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.AssetEnrichment, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AssetEnrichment to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AssetEnrichment * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Asset. */ interface IAsset { /** Asset updateTime */ updateTime?: (google.protobuf.ITimestamp|null); /** Asset name */ name?: (string|null); /** Asset assetType */ assetType?: (string|null); /** Asset resource */ resource?: (google.cloud.asset.v1.IResource|null); /** Asset iamPolicy */ iamPolicy?: (google.iam.v1.IPolicy|null); /** Asset orgPolicy */ orgPolicy?: (google.cloud.orgpolicy.v1.IPolicy[]|null); /** Asset accessPolicy */ accessPolicy?: (google.identity.accesscontextmanager.v1.IAccessPolicy|null); /** Asset accessLevel */ accessLevel?: (google.identity.accesscontextmanager.v1.IAccessLevel|null); /** Asset servicePerimeter */ servicePerimeter?: (google.identity.accesscontextmanager.v1.IServicePerimeter|null); /** Asset osInventory */ osInventory?: (google.cloud.osconfig.v1.IInventory|null); /** Asset relatedAssets */ relatedAssets?: (google.cloud.asset.v1.IRelatedAssets|null); /** Asset relatedAsset */ relatedAsset?: (google.cloud.asset.v1.IRelatedAsset|null); /** Asset ancestors */ ancestors?: (string[]|null); } /** Represents an Asset. */ class Asset implements IAsset { /** * Constructs a new Asset. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IAsset); /** Asset updateTime. */ public updateTime?: (google.protobuf.ITimestamp|null); /** Asset name. */ public name: string; /** Asset assetType. */ public assetType: string; /** Asset resource. */ public resource?: (google.cloud.asset.v1.IResource|null); /** Asset iamPolicy. */ public iamPolicy?: (google.iam.v1.IPolicy|null); /** Asset orgPolicy. */ public orgPolicy: google.cloud.orgpolicy.v1.IPolicy[]; /** Asset accessPolicy. */ public accessPolicy?: (google.identity.accesscontextmanager.v1.IAccessPolicy|null); /** Asset accessLevel. */ public accessLevel?: (google.identity.accesscontextmanager.v1.IAccessLevel|null); /** Asset servicePerimeter. */ public servicePerimeter?: (google.identity.accesscontextmanager.v1.IServicePerimeter|null); /** Asset osInventory. */ public osInventory?: (google.cloud.osconfig.v1.IInventory|null); /** Asset relatedAssets. */ public relatedAssets?: (google.cloud.asset.v1.IRelatedAssets|null); /** Asset relatedAsset. */ public relatedAsset?: (google.cloud.asset.v1.IRelatedAsset|null); /** Asset ancestors. */ public ancestors: string[]; /** Asset accessContextPolicy. */ public accessContextPolicy?: ("accessPolicy"|"accessLevel"|"servicePerimeter"); /** * Creates a new Asset instance using the specified properties. * @param [properties] Properties to set * @returns Asset instance */ public static create(properties?: google.cloud.asset.v1.IAsset): google.cloud.asset.v1.Asset; /** * Encodes the specified Asset message. Does not implicitly {@link google.cloud.asset.v1.Asset.verify|verify} messages. * @param message Asset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Asset message, length delimited. Does not implicitly {@link google.cloud.asset.v1.Asset.verify|verify} messages. * @param message Asset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Asset message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Asset * @throws {Error} If the payload is not 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.asset.v1.Asset; /** * Decodes an Asset message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Asset * @throws {Error} If the payload 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.asset.v1.Asset; /** * Verifies an Asset message. * @param message Plain 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 Asset message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Asset */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.Asset; /** * Creates a plain object from an Asset message. Also converts values to other types if specified. * @param message Asset * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.Asset, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Asset to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Asset * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Resource. */ interface IResource { /** Resource version */ version?: (string|null); /** Resource discoveryDocumentUri */ discoveryDocumentUri?: (string|null); /** Resource discoveryName */ discoveryName?: (string|null); /** Resource resourceUrl */ resourceUrl?: (string|null); /** Resource parent */ parent?: (string|null); /** Resource data */ data?: (google.protobuf.IStruct|null); /** Resource location */ location?: (string|null); } /** Represents a Resource. */ class Resource implements IResource { /** * Constructs a new Resource. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IResource); /** Resource version. */ public version: string; /** Resource discoveryDocumentUri. */ public discoveryDocumentUri: string; /** Resource discoveryName. */ public discoveryName: string; /** Resource resourceUrl. */ public resourceUrl: string; /** Resource parent. */ public parent: string; /** Resource data. */ public data?: (google.protobuf.IStruct|null); /** Resource location. */ public location: string; /** * Creates a new Resource instance using the specified properties. * @param [properties] Properties to set * @returns Resource instance */ public static create(properties?: google.cloud.asset.v1.IResource): google.cloud.asset.v1.Resource; /** * Encodes the specified Resource message. Does not implicitly {@link google.cloud.asset.v1.Resource.verify|verify} messages. * @param message Resource message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IResource, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Resource message, length delimited. Does not implicitly {@link google.cloud.asset.v1.Resource.verify|verify} messages. * @param message Resource message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IResource, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Resource message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Resource * @throws {Error} If the payload is not 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.asset.v1.Resource; /** * Decodes a Resource message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Resource * @throws {Error} If the payload 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.asset.v1.Resource; /** * Verifies a Resource message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Resource message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Resource */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.Resource; /** * Creates a plain object from a Resource message. Also converts values to other types if specified. * @param message Resource * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.Resource, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Resource to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Resource * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RelatedAssets. */ interface IRelatedAssets { /** RelatedAssets relationshipAttributes */ relationshipAttributes?: (google.cloud.asset.v1.IRelationshipAttributes|null); /** RelatedAssets assets */ assets?: (google.cloud.asset.v1.IRelatedAsset[]|null); } /** Represents a RelatedAssets. */ class RelatedAssets implements IRelatedAssets { /** * Constructs a new RelatedAssets. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IRelatedAssets); /** RelatedAssets relationshipAttributes. */ public relationshipAttributes?: (google.cloud.asset.v1.IRelationshipAttributes|null); /** RelatedAssets assets. */ public assets: google.cloud.asset.v1.IRelatedAsset[]; /** * Creates a new RelatedAssets instance using the specified properties. * @param [properties] Properties to set * @returns RelatedAssets instance */ public static create(properties?: google.cloud.asset.v1.IRelatedAssets): google.cloud.asset.v1.RelatedAssets; /** * Encodes the specified RelatedAssets message. Does not implicitly {@link google.cloud.asset.v1.RelatedAssets.verify|verify} messages. * @param message RelatedAssets message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IRelatedAssets, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RelatedAssets message, length delimited. Does not implicitly {@link google.cloud.asset.v1.RelatedAssets.verify|verify} messages. * @param message RelatedAssets message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IRelatedAssets, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RelatedAssets message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RelatedAssets * @throws {Error} If the payload is not 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.asset.v1.RelatedAssets; /** * Decodes a RelatedAssets message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RelatedAssets * @throws {Error} If the payload 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.asset.v1.RelatedAssets; /** * Verifies a RelatedAssets message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RelatedAssets message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RelatedAssets */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.RelatedAssets; /** * Creates a plain object from a RelatedAssets message. Also converts values to other types if specified. * @param message RelatedAssets * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.RelatedAssets, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RelatedAssets to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RelatedAssets * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RelationshipAttributes. */ interface IRelationshipAttributes { /** RelationshipAttributes type */ type?: (string|null); /** RelationshipAttributes sourceResourceType */ sourceResourceType?: (string|null); /** RelationshipAttributes targetResourceType */ targetResourceType?: (string|null); /** RelationshipAttributes action */ action?: (string|null); } /** Represents a RelationshipAttributes. */ class RelationshipAttributes implements IRelationshipAttributes { /** * Constructs a new RelationshipAttributes. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IRelationshipAttributes); /** RelationshipAttributes type. */ public type: string; /** RelationshipAttributes sourceResourceType. */ public sourceResourceType: string; /** RelationshipAttributes targetResourceType. */ public targetResourceType: string; /** RelationshipAttributes action. */ public action: string; /** * Creates a new RelationshipAttributes instance using the specified properties. * @param [properties] Properties to set * @returns RelationshipAttributes instance */ public static create(properties?: google.cloud.asset.v1.IRelationshipAttributes): google.cloud.asset.v1.RelationshipAttributes; /** * Encodes the specified RelationshipAttributes message. Does not implicitly {@link google.cloud.asset.v1.RelationshipAttributes.verify|verify} messages. * @param message RelationshipAttributes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IRelationshipAttributes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RelationshipAttributes message, length delimited. Does not implicitly {@link google.cloud.asset.v1.RelationshipAttributes.verify|verify} messages. * @param message RelationshipAttributes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IRelationshipAttributes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RelationshipAttributes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RelationshipAttributes * @throws {Error} If the payload is not 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.asset.v1.RelationshipAttributes; /** * Decodes a RelationshipAttributes message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RelationshipAttributes * @throws {Error} If the payload 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.asset.v1.RelationshipAttributes; /** * Verifies a RelationshipAttributes message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RelationshipAttributes message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RelationshipAttributes */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.RelationshipAttributes; /** * Creates a plain object from a RelationshipAttributes message. Also converts values to other types if specified. * @param message RelationshipAttributes * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.RelationshipAttributes, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RelationshipAttributes to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RelationshipAttributes * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RelatedAsset. */ interface IRelatedAsset { /** RelatedAsset asset */ asset?: (string|null); /** RelatedAsset assetType */ assetType?: (string|null); /** RelatedAsset ancestors */ ancestors?: (string[]|null); /** RelatedAsset relationshipType */ relationshipType?: (string|null); } /** Represents a RelatedAsset. */ class RelatedAsset implements IRelatedAsset { /** * Constructs a new RelatedAsset. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IRelatedAsset); /** RelatedAsset asset. */ public asset: string; /** RelatedAsset assetType. */ public assetType: string; /** RelatedAsset ancestors. */ public ancestors: string[]; /** RelatedAsset relationshipType. */ public relationshipType: string; /** * Creates a new RelatedAsset instance using the specified properties. * @param [properties] Properties to set * @returns RelatedAsset instance */ public static create(properties?: google.cloud.asset.v1.IRelatedAsset): google.cloud.asset.v1.RelatedAsset; /** * Encodes the specified RelatedAsset message. Does not implicitly {@link google.cloud.asset.v1.RelatedAsset.verify|verify} messages. * @param message RelatedAsset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IRelatedAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RelatedAsset message, length delimited. Does not implicitly {@link google.cloud.asset.v1.RelatedAsset.verify|verify} messages. * @param message RelatedAsset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IRelatedAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RelatedAsset message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RelatedAsset * @throws {Error} If the payload is not 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.asset.v1.RelatedAsset; /** * Decodes a RelatedAsset message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RelatedAsset * @throws {Error} If the payload 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.asset.v1.RelatedAsset; /** * Verifies a RelatedAsset message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RelatedAsset message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RelatedAsset */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.RelatedAsset; /** * Creates a plain object from a RelatedAsset message. Also converts values to other types if specified. * @param message RelatedAsset * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.RelatedAsset, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RelatedAsset to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RelatedAsset * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Tag. */ interface ITag { /** Tag tagKey */ tagKey?: (string|null); /** Tag tagKeyId */ tagKeyId?: (string|null); /** Tag tagValue */ tagValue?: (string|null); /** Tag tagValueId */ tagValueId?: (string|null); } /** Represents a Tag. */ class Tag implements ITag { /** * Constructs a new Tag. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.ITag); /** Tag tagKey. */ public tagKey?: (string|null); /** Tag tagKeyId. */ public tagKeyId?: (string|null); /** Tag tagValue. */ public tagValue?: (string|null); /** Tag tagValueId. */ public tagValueId?: (string|null); /** * Creates a new Tag instance using the specified properties. * @param [properties] Properties to set * @returns Tag instance */ public static create(properties?: google.cloud.asset.v1.ITag): google.cloud.asset.v1.Tag; /** * Encodes the specified Tag message. Does not implicitly {@link google.cloud.asset.v1.Tag.verify|verify} messages. * @param message Tag message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.ITag, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Tag message, length delimited. Does not implicitly {@link google.cloud.asset.v1.Tag.verify|verify} messages. * @param message Tag message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.ITag, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Tag message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Tag * @throws {Error} If the payload is not 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.asset.v1.Tag; /** * Decodes a Tag message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Tag * @throws {Error} If the payload 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.asset.v1.Tag; /** * Verifies a Tag message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Tag message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Tag */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.Tag; /** * Creates a plain object from a Tag message. Also converts values to other types if specified. * @param message Tag * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.Tag, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Tag to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Tag * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EffectiveTagDetails. */ interface IEffectiveTagDetails { /** EffectiveTagDetails attachedResource */ attachedResource?: (string|null); /** EffectiveTagDetails effectiveTags */ effectiveTags?: (google.cloud.asset.v1.ITag[]|null); } /** Represents an EffectiveTagDetails. */ class EffectiveTagDetails implements IEffectiveTagDetails { /** * Constructs a new EffectiveTagDetails. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IEffectiveTagDetails); /** EffectiveTagDetails attachedResource. */ public attachedResource?: (string|null); /** EffectiveTagDetails effectiveTags. */ public effectiveTags: google.cloud.asset.v1.ITag[]; /** * Creates a new EffectiveTagDetails instance using the specified properties. * @param [properties] Properties to set * @returns EffectiveTagDetails instance */ public static create(properties?: google.cloud.asset.v1.IEffectiveTagDetails): google.cloud.asset.v1.EffectiveTagDetails; /** * Encodes the specified EffectiveTagDetails message. Does not implicitly {@link google.cloud.asset.v1.EffectiveTagDetails.verify|verify} messages. * @param message EffectiveTagDetails message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IEffectiveTagDetails, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EffectiveTagDetails message, length delimited. Does not implicitly {@link google.cloud.asset.v1.EffectiveTagDetails.verify|verify} messages. * @param message EffectiveTagDetails message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IEffectiveTagDetails, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EffectiveTagDetails message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EffectiveTagDetails * @throws {Error} If the payload is not 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.asset.v1.EffectiveTagDetails; /** * Decodes an EffectiveTagDetails message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EffectiveTagDetails * @throws {Error} If the payload 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.asset.v1.EffectiveTagDetails; /** * Verifies an EffectiveTagDetails message. * @param message Plain 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 EffectiveTagDetails message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EffectiveTagDetails */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.EffectiveTagDetails; /** * Creates a plain object from an EffectiveTagDetails message. Also converts values to other types if specified. * @param message EffectiveTagDetails * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.EffectiveTagDetails, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EffectiveTagDetails to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EffectiveTagDetails * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ResourceSearchResult. */ interface IResourceSearchResult { /** ResourceSearchResult name */ name?: (string|null); /** ResourceSearchResult assetType */ assetType?: (string|null); /** ResourceSearchResult project */ project?: (string|null); /** ResourceSearchResult folders */ folders?: (string[]|null); /** ResourceSearchResult organization */ organization?: (string|null); /** ResourceSearchResult displayName */ displayName?: (string|null); /** ResourceSearchResult description */ description?: (string|null); /** ResourceSearchResult location */ location?: (string|null); /** ResourceSearchResult labels */ labels?: ({ [k: string]: string }|null); /** ResourceSearchResult networkTags */ networkTags?: (string[]|null); /** ResourceSearchResult kmsKey */ kmsKey?: (string|null); /** ResourceSearchResult kmsKeys */ kmsKeys?: (string[]|null); /** ResourceSearchResult createTime */ createTime?: (google.protobuf.ITimestamp|null); /** ResourceSearchResult updateTime */ updateTime?: (google.protobuf.ITimestamp|null); /** ResourceSearchResult state */ state?: (string|null); /** ResourceSearchResult additionalAttributes */ additionalAttributes?: (google.protobuf.IStruct|null); /** ResourceSearchResult parentFullResourceName */ parentFullResourceName?: (string|null); /** ResourceSearchResult versionedResources */ versionedResources?: (google.cloud.asset.v1.IVersionedResource[]|null); /** ResourceSearchResult attachedResources */ attachedResources?: (google.cloud.asset.v1.IAttachedResource[]|null); /** ResourceSearchResult relationships */ relationships?: ({ [k: string]: google.cloud.asset.v1.IRelatedResources }|null); /** ResourceSearchResult tagKeys */ tagKeys?: (string[]|null); /** ResourceSearchResult tagValues */ tagValues?: (string[]|null); /** ResourceSearchResult tagValueIds */ tagValueIds?: (string[]|null); /** ResourceSearchResult tags */ tags?: (google.cloud.asset.v1.ITag[]|null); /** ResourceSearchResult effectiveTags */ effectiveTags?: (google.cloud.asset.v1.IEffectiveTagDetails[]|null); /** ResourceSearchResult enrichments */ enrichments?: (google.cloud.asset.v1.IAssetEnrichment[]|null); /** ResourceSearchResult parentAssetType */ parentAssetType?: (string|null); /** ResourceSearchResult sccSecurityMarks */ sccSecurityMarks?: ({ [k: string]: string }|null); } /** Represents a ResourceSearchResult. */ class ResourceSearchResult implements IResourceSearchResult { /** * Constructs a new ResourceSearchResult. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IResourceSearchResult); /** ResourceSearchResult name. */ public name: string; /** ResourceSearchResult assetType. */ public assetType: string; /** ResourceSearchResult project. */ public project: string; /** ResourceSearchResult folders. */ public folders: string[]; /** ResourceSearchResult organization. */ public organization: string; /** ResourceSearchResult displayName. */ public displayName: string; /** ResourceSearchResult description. */ public description: string; /** ResourceSearchResult location. */ public location: string; /** ResourceSearchResult labels. */ public labels: { [k: string]: string }; /** ResourceSearchResult networkTags. */ public networkTags: string[]; /** ResourceSearchResult kmsKey. */ public kmsKey: string; /** ResourceSearchResult kmsKeys. */ public kmsKeys: string[]; /** ResourceSearchResult createTime. */ public createTime?: (google.protobuf.ITimestamp|null); /** ResourceSearchResult updateTime. */ public updateTime?: (google.protobuf.ITimestamp|null); /** ResourceSearchResult state. */ public state: string; /** ResourceSearchResult additionalAttributes. */ public additionalAttributes?: (google.protobuf.IStruct|null); /** ResourceSearchResult parentFullResourceName. */ public parentFullResourceName: string; /** ResourceSearchResult versionedResources. */ public versionedResources: google.cloud.asset.v1.IVersionedResource[]; /** ResourceSearchResult attachedResources. */ public attachedResources: google.cloud.asset.v1.IAttachedResource[]; /** ResourceSearchResult relationships. */ public relationships: { [k: string]: google.cloud.asset.v1.IRelatedResources }; /** ResourceSearchResult tagKeys. */ public tagKeys: string[]; /** ResourceSearchResult tagValues. */ public tagValues: string[]; /** ResourceSearchResult tagValueIds. */ public tagValueIds: string[]; /** ResourceSearchResult tags. */ public tags: google.cloud.asset.v1.ITag[]; /** ResourceSearchResult effectiveTags. */ public effectiveTags: google.cloud.asset.v1.IEffectiveTagDetails[]; /** ResourceSearchResult enrichments. */ public enrichments: google.cloud.asset.v1.IAssetEnrichment[]; /** ResourceSearchResult parentAssetType. */ public parentAssetType: string; /** ResourceSearchResult sccSecurityMarks. */ public sccSecurityMarks: { [k: string]: string }; /** * Creates a new ResourceSearchResult instance using the specified properties. * @param [properties] Properties to set * @returns ResourceSearchResult instance */ public static create(properties?: google.cloud.asset.v1.IResourceSearchResult): google.cloud.asset.v1.ResourceSearchResult; /** * Encodes the specified ResourceSearchResult message. Does not implicitly {@link google.cloud.asset.v1.ResourceSearchResult.verify|verify} messages. * @param message ResourceSearchResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IResourceSearchResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ResourceSearchResult message, length delimited. Does not implicitly {@link google.cloud.asset.v1.ResourceSearchResult.verify|verify} messages. * @param message ResourceSearchResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IResourceSearchResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ResourceSearchResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ResourceSearchResult * @throws {Error} If the payload is not 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.asset.v1.ResourceSearchResult; /** * Decodes a ResourceSearchResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ResourceSearchResult * @throws {Error} If the payload 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.asset.v1.ResourceSearchResult; /** * Verifies a ResourceSearchResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ResourceSearchResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ResourceSearchResult */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.ResourceSearchResult; /** * Creates a plain object from a ResourceSearchResult message. Also converts values to other types if specified. * @param message ResourceSearchResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.ResourceSearchResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ResourceSearchResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ResourceSearchResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a VersionedResource. */ interface IVersionedResource { /** VersionedResource version */ version?: (string|null); /** VersionedResource resource */ resource?: (google.protobuf.IStruct|null); } /** Represents a VersionedResource. */ class VersionedResource implements IVersionedResource { /** * Constructs a new VersionedResource. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IVersionedResource); /** VersionedResource version. */ public version: string; /** VersionedResource resource. */ public resource?: (google.protobuf.IStruct|null); /** * Creates a new VersionedResource instance using the specified properties. * @param [properties] Properties to set * @returns VersionedResource instance */ public static create(properties?: google.cloud.asset.v1.IVersionedResource): google.cloud.asset.v1.VersionedResource; /** * Encodes the specified VersionedResource message. Does not implicitly {@link google.cloud.asset.v1.VersionedResource.verify|verify} messages. * @param message VersionedResource message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IVersionedResource, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified VersionedResource message, length delimited. Does not implicitly {@link google.cloud.asset.v1.VersionedResource.verify|verify} messages. * @param message VersionedResource message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IVersionedResource, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a VersionedResource message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns VersionedResource * @throws {Error} If the payload is not 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.asset.v1.VersionedResource; /** * Decodes a VersionedResource message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns VersionedResource * @throws {Error} If the payload 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.asset.v1.VersionedResource; /** * Verifies a VersionedResource message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a VersionedResource message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns VersionedResource */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.VersionedResource; /** * Creates a plain object from a VersionedResource message. Also converts values to other types if specified. * @param message VersionedResource * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.VersionedResource, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this VersionedResource to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for VersionedResource * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AttachedResource. */ interface IAttachedResource { /** AttachedResource assetType */ assetType?: (string|null); /** AttachedResource versionedResources */ versionedResources?: (google.cloud.asset.v1.IVersionedResource[]|null); } /** Represents an AttachedResource. */ class AttachedResource implements IAttachedResource { /** * Constructs a new AttachedResource. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IAttachedResource); /** AttachedResource assetType. */ public assetType: string; /** AttachedResource versionedResources. */ public versionedResources: google.cloud.asset.v1.IVersionedResource[]; /** * Creates a new AttachedResource instance using the specified properties. * @param [properties] Properties to set * @returns AttachedResource instance */ public static create(properties?: google.cloud.asset.v1.IAttachedResource): google.cloud.asset.v1.AttachedResource; /** * Encodes the specified AttachedResource message. Does not implicitly {@link google.cloud.asset.v1.AttachedResource.verify|verify} messages. * @param message AttachedResource message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IAttachedResource, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AttachedResource message, length delimited. Does not implicitly {@link google.cloud.asset.v1.AttachedResource.verify|verify} messages. * @param message AttachedResource message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IAttachedResource, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AttachedResource message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AttachedResource * @throws {Error} If the payload is not 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.asset.v1.AttachedResource; /** * Decodes an AttachedResource message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AttachedResource * @throws {Error} If the payload 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.asset.v1.AttachedResource; /** * Verifies an AttachedResource message. * @param message Plain 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 AttachedResource message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AttachedResource */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.AttachedResource; /** * Creates a plain object from an AttachedResource message. Also converts values to other types if specified. * @param message AttachedResource * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.AttachedResource, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AttachedResource to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AttachedResource * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RelatedResources. */ interface IRelatedResources { /** RelatedResources relatedResources */ relatedResources?: (google.cloud.asset.v1.IRelatedResource[]|null); } /** Represents a RelatedResources. */ class RelatedResources implements IRelatedResources { /** * Constructs a new RelatedResources. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IRelatedResources); /** RelatedResources relatedResources. */ public relatedResources: google.cloud.asset.v1.IRelatedResource[]; /** * Creates a new RelatedResources instance using the specified properties. * @param [properties] Properties to set * @returns RelatedResources instance */ public static create(properties?: google.cloud.asset.v1.IRelatedResources): google.cloud.asset.v1.RelatedResources; /** * Encodes the specified RelatedResources message. Does not implicitly {@link google.cloud.asset.v1.RelatedResources.verify|verify} messages. * @param message RelatedResources message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IRelatedResources, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RelatedResources message, length delimited. Does not implicitly {@link google.cloud.asset.v1.RelatedResources.verify|verify} messages. * @param message RelatedResources message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IRelatedResources, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RelatedResources message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RelatedResources * @throws {Error} If the payload is not 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.asset.v1.RelatedResources; /** * Decodes a RelatedResources message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RelatedResources * @throws {Error} If the payload 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.asset.v1.RelatedResources; /** * Verifies a RelatedResources message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RelatedResources message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RelatedResources */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.RelatedResources; /** * Creates a plain object from a RelatedResources message. Also converts values to other types if specified. * @param message RelatedResources * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.RelatedResources, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RelatedResources to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RelatedResources * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RelatedResource. */ interface IRelatedResource { /** RelatedResource assetType */ assetType?: (string|null); /** RelatedResource fullResourceName */ fullResourceName?: (string|null); } /** Represents a RelatedResource. */ class RelatedResource implements IRelatedResource { /** * Constructs a new RelatedResource. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IRelatedResource); /** RelatedResource assetType. */ public assetType: string; /** RelatedResource fullResourceName. */ public fullResourceName: string; /** * Creates a new RelatedResource instance using the specified properties. * @param [properties] Properties to set * @returns RelatedResource instance */ public static create(properties?: google.cloud.asset.v1.IRelatedResource): google.cloud.asset.v1.RelatedResource; /** * Encodes the specified RelatedResource message. Does not implicitly {@link google.cloud.asset.v1.RelatedResource.verify|verify} messages. * @param message RelatedResource message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IRelatedResource, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RelatedResource message, length delimited. Does not implicitly {@link google.cloud.asset.v1.RelatedResource.verify|verify} messages. * @param message RelatedResource message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IRelatedResource, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RelatedResource message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RelatedResource * @throws {Error} If the payload is not 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.asset.v1.RelatedResource; /** * Decodes a RelatedResource message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RelatedResource * @throws {Error} If the payload 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.asset.v1.RelatedResource; /** * Verifies a RelatedResource message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RelatedResource message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RelatedResource */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.RelatedResource; /** * Creates a plain object from a RelatedResource message. Also converts values to other types if specified. * @param message RelatedResource * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.RelatedResource, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RelatedResource to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RelatedResource * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an IamPolicySearchResult. */ interface IIamPolicySearchResult { /** IamPolicySearchResult resource */ resource?: (string|null); /** IamPolicySearchResult assetType */ assetType?: (string|null); /** IamPolicySearchResult project */ project?: (string|null); /** IamPolicySearchResult folders */ folders?: (string[]|null); /** IamPolicySearchResult organization */ organization?: (string|null); /** IamPolicySearchResult policy */ policy?: (google.iam.v1.IPolicy|null); /** IamPolicySearchResult explanation */ explanation?: (google.cloud.asset.v1.IamPolicySearchResult.IExplanation|null); } /** Represents an IamPolicySearchResult. */ class IamPolicySearchResult implements IIamPolicySearchResult { /** * Constructs a new IamPolicySearchResult. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IIamPolicySearchResult); /** IamPolicySearchResult resource. */ public resource: string; /** IamPolicySearchResult assetType. */ public assetType: string; /** IamPolicySearchResult project. */ public project: string; /** IamPolicySearchResult folders. */ public folders: string[]; /** IamPolicySearchResult organization. */ public organization: string; /** IamPolicySearchResult policy. */ public policy?: (google.iam.v1.IPolicy|null); /** IamPolicySearchResult explanation. */ public explanation?: (google.cloud.asset.v1.IamPolicySearchResult.IExplanation|null); /** * Creates a new IamPolicySearchResult instance using the specified properties. * @param [properties] Properties to set * @returns IamPolicySearchResult instance */ public static create(properties?: google.cloud.asset.v1.IIamPolicySearchResult): google.cloud.asset.v1.IamPolicySearchResult; /** * Encodes the specified IamPolicySearchResult message. Does not implicitly {@link google.cloud.asset.v1.IamPolicySearchResult.verify|verify} messages. * @param message IamPolicySearchResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IIamPolicySearchResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified IamPolicySearchResult message, length delimited. Does not implicitly {@link google.cloud.asset.v1.IamPolicySearchResult.verify|verify} messages. * @param message IamPolicySearchResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IIamPolicySearchResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an IamPolicySearchResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns IamPolicySearchResult * @throws {Error} If the payload is not 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.asset.v1.IamPolicySearchResult; /** * Decodes an IamPolicySearchResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns IamPolicySearchResult * @throws {Error} If the payload 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.asset.v1.IamPolicySearchResult; /** * Verifies an IamPolicySearchResult message. * @param message Plain 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 IamPolicySearchResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns IamPolicySearchResult */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.IamPolicySearchResult; /** * Creates a plain object from an IamPolicySearchResult message. Also converts values to other types if specified. * @param message IamPolicySearchResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.IamPolicySearchResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this IamPolicySearchResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for IamPolicySearchResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace IamPolicySearchResult { /** Properties of an Explanation. */ interface IExplanation { /** Explanation matchedPermissions */ matchedPermissions?: ({ [k: string]: google.cloud.asset.v1.IamPolicySearchResult.Explanation.IPermissions }|null); } /** Represents an Explanation. */ class Explanation implements IExplanation { /** * Constructs a new Explanation. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IamPolicySearchResult.IExplanation); /** Explanation matchedPermissions. */ public matchedPermissions: { [k: string]: google.cloud.asset.v1.IamPolicySearchResult.Explanation.IPermissions }; /** * Creates a new Explanation instance using the specified properties. * @param [properties] Properties to set * @returns Explanation instance */ public static create(properties?: google.cloud.asset.v1.IamPolicySearchResult.IExplanation): google.cloud.asset.v1.IamPolicySearchResult.Explanation; /** * Encodes the specified Explanation message. Does not implicitly {@link google.cloud.asset.v1.IamPolicySearchResult.Explanation.verify|verify} messages. * @param message Explanation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IamPolicySearchResult.IExplanation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Explanation message, length delimited. Does not implicitly {@link google.cloud.asset.v1.IamPolicySearchResult.Explanation.verify|verify} messages. * @param message Explanation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IamPolicySearchResult.IExplanation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Explanation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Explanation * @throws {Error} If the payload is not 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.asset.v1.IamPolicySearchResult.Explanation; /** * Decodes an Explanation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Explanation * @throws {Error} If the payload 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.asset.v1.IamPolicySearchResult.Explanation; /** * Verifies an Explanation message. * @param message Plain 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 Explanation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Explanation */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.IamPolicySearchResult.Explanation; /** * Creates a plain object from an Explanation message. Also converts values to other types if specified. * @param message Explanation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.IamPolicySearchResult.Explanation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Explanation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Explanation * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Explanation { /** Properties of a Permissions. */ interface IPermissions { /** Permissions permissions */ permissions?: (string[]|null); } /** Represents a Permissions. */ class Permissions implements IPermissions { /** * Constructs a new Permissions. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IamPolicySearchResult.Explanation.IPermissions); /** Permissions permissions. */ public permissions: string[]; /** * Creates a new Permissions instance using the specified properties. * @param [properties] Properties to set * @returns Permissions instance */ public static create(properties?: google.cloud.asset.v1.IamPolicySearchResult.Explanation.IPermissions): google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions; /** * Encodes the specified Permissions message. Does not implicitly {@link google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.verify|verify} messages. * @param message Permissions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IamPolicySearchResult.Explanation.IPermissions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Permissions message, length delimited. Does not implicitly {@link google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.verify|verify} messages. * @param message Permissions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IamPolicySearchResult.Explanation.IPermissions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Permissions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Permissions * @throws {Error} If the payload is not 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.asset.v1.IamPolicySearchResult.Explanation.Permissions; /** * Decodes a Permissions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Permissions * @throws {Error} If the payload 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.asset.v1.IamPolicySearchResult.Explanation.Permissions; /** * Verifies a Permissions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Permissions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Permissions */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions; /** * Creates a plain object from a Permissions message. Also converts values to other types if specified. * @param message Permissions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Permissions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Permissions * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } } /** Properties of an IamPolicyAnalysisState. */ interface IIamPolicyAnalysisState { /** IamPolicyAnalysisState code */ code?: (google.rpc.Code|keyof typeof google.rpc.Code|null); /** IamPolicyAnalysisState cause */ cause?: (string|null); } /** Represents an IamPolicyAnalysisState. */ class IamPolicyAnalysisState implements IIamPolicyAnalysisState { /** * Constructs a new IamPolicyAnalysisState. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IIamPolicyAnalysisState); /** IamPolicyAnalysisState code. */ public code: (google.rpc.Code|keyof typeof google.rpc.Code); /** IamPolicyAnalysisState cause. */ public cause: string; /** * Creates a new IamPolicyAnalysisState instance using the specified properties. * @param [properties] Properties to set * @returns IamPolicyAnalysisState instance */ public static create(properties?: google.cloud.asset.v1.IIamPolicyAnalysisState): google.cloud.asset.v1.IamPolicyAnalysisState; /** * Encodes the specified IamPolicyAnalysisState message. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisState.verify|verify} messages. * @param message IamPolicyAnalysisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IIamPolicyAnalysisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified IamPolicyAnalysisState message, length delimited. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisState.verify|verify} messages. * @param message IamPolicyAnalysisState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IIamPolicyAnalysisState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an IamPolicyAnalysisState message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns IamPolicyAnalysisState * @throws {Error} If the payload is not 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.asset.v1.IamPolicyAnalysisState; /** * Decodes an IamPolicyAnalysisState message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns IamPolicyAnalysisState * @throws {Error} If the payload 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.asset.v1.IamPolicyAnalysisState; /** * Verifies an IamPolicyAnalysisState message. * @param message Plain 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 IamPolicyAnalysisState message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns IamPolicyAnalysisState */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.IamPolicyAnalysisState; /** * Creates a plain object from an IamPolicyAnalysisState message. Also converts values to other types if specified. * @param message IamPolicyAnalysisState * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.IamPolicyAnalysisState, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this IamPolicyAnalysisState to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for IamPolicyAnalysisState * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ConditionEvaluation. */ interface IConditionEvaluation { /** ConditionEvaluation evaluationValue */ evaluationValue?: (google.cloud.asset.v1.ConditionEvaluation.EvaluationValue|keyof typeof google.cloud.asset.v1.ConditionEvaluation.EvaluationValue|null); } /** Represents a ConditionEvaluation. */ class ConditionEvaluation implements IConditionEvaluation { /** * Constructs a new ConditionEvaluation. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IConditionEvaluation); /** ConditionEvaluation evaluationValue. */ public evaluationValue: (google.cloud.asset.v1.ConditionEvaluation.EvaluationValue|keyof typeof google.cloud.asset.v1.ConditionEvaluation.EvaluationValue); /** * Creates a new ConditionEvaluation instance using the specified properties. * @param [properties] Properties to set * @returns ConditionEvaluation instance */ public static create(properties?: google.cloud.asset.v1.IConditionEvaluation): google.cloud.asset.v1.ConditionEvaluation; /** * Encodes the specified ConditionEvaluation message. Does not implicitly {@link google.cloud.asset.v1.ConditionEvaluation.verify|verify} messages. * @param message ConditionEvaluation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IConditionEvaluation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ConditionEvaluation message, length delimited. Does not implicitly {@link google.cloud.asset.v1.ConditionEvaluation.verify|verify} messages. * @param message ConditionEvaluation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IConditionEvaluation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ConditionEvaluation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ConditionEvaluation * @throws {Error} If the payload is not 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.asset.v1.ConditionEvaluation; /** * Decodes a ConditionEvaluation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ConditionEvaluation * @throws {Error} If the payload 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.asset.v1.ConditionEvaluation; /** * Verifies a ConditionEvaluation message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ConditionEvaluation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ConditionEvaluation */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.ConditionEvaluation; /** * Creates a plain object from a ConditionEvaluation message. Also converts values to other types if specified. * @param message ConditionEvaluation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.ConditionEvaluation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ConditionEvaluation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ConditionEvaluation * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ConditionEvaluation { /** EvaluationValue enum. */ enum EvaluationValue { EVALUATION_VALUE_UNSPECIFIED = 0, TRUE = 1, FALSE = 2, CONDITIONAL = 3 } } /** Properties of an IamPolicyAnalysisResult. */ interface IIamPolicyAnalysisResult { /** IamPolicyAnalysisResult attachedResourceFullName */ attachedResourceFullName?: (string|null); /** IamPolicyAnalysisResult iamBinding */ iamBinding?: (google.iam.v1.IBinding|null); /** IamPolicyAnalysisResult accessControlLists */ accessControlLists?: (google.cloud.asset.v1.IamPolicyAnalysisResult.IAccessControlList[]|null); /** IamPolicyAnalysisResult identityList */ identityList?: (google.cloud.asset.v1.IamPolicyAnalysisResult.IIdentityList|null); /** IamPolicyAnalysisResult fullyExplored */ fullyExplored?: (boolean|null); } /** Represents an IamPolicyAnalysisResult. */ class IamPolicyAnalysisResult implements IIamPolicyAnalysisResult { /** * Constructs a new IamPolicyAnalysisResult. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IIamPolicyAnalysisResult); /** IamPolicyAnalysisResult attachedResourceFullName. */ public attachedResourceFullName: string; /** IamPolicyAnalysisResult iamBinding. */ public iamBinding?: (google.iam.v1.IBinding|null); /** IamPolicyAnalysisResult accessControlLists. */ public accessControlLists: google.cloud.asset.v1.IamPolicyAnalysisResult.IAccessControlList[]; /** IamPolicyAnalysisResult identityList. */ public identityList?: (google.cloud.asset.v1.IamPolicyAnalysisResult.IIdentityList|null); /** IamPolicyAnalysisResult fullyExplored. */ public fullyExplored: boolean; /** * Creates a new IamPolicyAnalysisResult instance using the specified properties. * @param [properties] Properties to set * @returns IamPolicyAnalysisResult instance */ public static create(properties?: google.cloud.asset.v1.IIamPolicyAnalysisResult): google.cloud.asset.v1.IamPolicyAnalysisResult; /** * Encodes the specified IamPolicyAnalysisResult message. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisResult.verify|verify} messages. * @param message IamPolicyAnalysisResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IIamPolicyAnalysisResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified IamPolicyAnalysisResult message, length delimited. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisResult.verify|verify} messages. * @param message IamPolicyAnalysisResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IIamPolicyAnalysisResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an IamPolicyAnalysisResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns IamPolicyAnalysisResult * @throws {Error} If the payload is not 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.asset.v1.IamPolicyAnalysisResult; /** * Decodes an IamPolicyAnalysisResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns IamPolicyAnalysisResult * @throws {Error} If the payload 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.asset.v1.IamPolicyAnalysisResult; /** * Verifies an IamPolicyAnalysisResult message. * @param message Plain 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 IamPolicyAnalysisResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns IamPolicyAnalysisResult */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.IamPolicyAnalysisResult; /** * Creates a plain object from an IamPolicyAnalysisResult message. Also converts values to other types if specified. * @param message IamPolicyAnalysisResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.IamPolicyAnalysisResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this IamPolicyAnalysisResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for IamPolicyAnalysisResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace IamPolicyAnalysisResult { /** Properties of a Resource. */ interface IResource { /** Resource fullResourceName */ fullResourceName?: (string|null); /** Resource analysisState */ analysisState?: (google.cloud.asset.v1.IIamPolicyAnalysisState|null); } /** Represents a Resource. */ class Resource implements IResource { /** * Constructs a new Resource. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IamPolicyAnalysisResult.IResource); /** Resource fullResourceName. */ public fullResourceName: string; /** Resource analysisState. */ public analysisState?: (google.cloud.asset.v1.IIamPolicyAnalysisState|null); /** * Creates a new Resource instance using the specified properties. * @param [properties] Properties to set * @returns Resource instance */ public static create(properties?: google.cloud.asset.v1.IamPolicyAnalysisResult.IResource): google.cloud.asset.v1.IamPolicyAnalysisResult.Resource; /** * Encodes the specified Resource message. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.verify|verify} messages. * @param message Resource message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IamPolicyAnalysisResult.IResource, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Resource message, length delimited. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.verify|verify} messages. * @param message Resource message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IamPolicyAnalysisResult.IResource, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Resource message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Resource * @throws {Error} If the payload is not 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.asset.v1.IamPolicyAnalysisResult.Resource; /** * Decodes a Resource message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Resource * @throws {Error} If the payload 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.asset.v1.IamPolicyAnalysisResult.Resource; /** * Verifies a Resource message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Resource message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Resource */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.IamPolicyAnalysisResult.Resource; /** * Creates a plain object from a Resource message. Also converts values to other types if specified. * @param message Resource * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.IamPolicyAnalysisResult.Resource, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Resource to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Resource * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Access. */ interface IAccess { /** Access role */ role?: (string|null); /** Access permission */ permission?: (string|null); /** Access analysisState */ analysisState?: (google.cloud.asset.v1.IIamPolicyAnalysisState|null); } /** Represents an Access. */ class Access implements IAccess { /** * Constructs a new Access. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IamPolicyAnalysisResult.IAccess); /** Access role. */ public role?: (string|null); /** Access permission. */ public permission?: (string|null); /** Access analysisState. */ public analysisState?: (google.cloud.asset.v1.IIamPolicyAnalysisState|null); /** Access oneofAccess. */ public oneofAccess?: ("role"|"permission"); /** * Creates a new Access instance using the specified properties. * @param [properties] Properties to set * @returns Access instance */ public static create(properties?: google.cloud.asset.v1.IamPolicyAnalysisResult.IAccess): google.cloud.asset.v1.IamPolicyAnalysisResult.Access; /** * Encodes the specified Access message. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisResult.Access.verify|verify} messages. * @param message Access message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IamPolicyAnalysisResult.IAccess, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Access message, length delimited. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisResult.Access.verify|verify} messages. * @param message Access message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IamPolicyAnalysisResult.IAccess, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Access message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Access * @throws {Error} If the payload is not 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.asset.v1.IamPolicyAnalysisResult.Access; /** * Decodes an Access message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Access * @throws {Error} If the payload 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.asset.v1.IamPolicyAnalysisResult.Access; /** * Verifies an Access message. * @param message Plain 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 Access message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Access */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.IamPolicyAnalysisResult.Access; /** * Creates a plain object from an Access message. Also converts values to other types if specified. * @param message Access * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.IamPolicyAnalysisResult.Access, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Access to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Access * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Identity. */ interface IIdentity { /** Identity name */ name?: (string|null); /** Identity analysisState */ analysisState?: (google.cloud.asset.v1.IIamPolicyAnalysisState|null); } /** Represents an Identity. */ class Identity implements IIdentity { /** * Constructs a new Identity. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IamPolicyAnalysisResult.IIdentity); /** Identity name. */ public name: string; /** Identity analysisState. */ public analysisState?: (google.cloud.asset.v1.IIamPolicyAnalysisState|null); /** * Creates a new Identity instance using the specified properties. * @param [properties] Properties to set * @returns Identity instance */ public static create(properties?: google.cloud.asset.v1.IamPolicyAnalysisResult.IIdentity): google.cloud.asset.v1.IamPolicyAnalysisResult.Identity; /** * Encodes the specified Identity message. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.verify|verify} messages. * @param message Identity message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IamPolicyAnalysisResult.IIdentity, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Identity message, length delimited. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.verify|verify} messages. * @param message Identity message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IamPolicyAnalysisResult.IIdentity, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Identity message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Identity * @throws {Error} If the payload is not 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.asset.v1.IamPolicyAnalysisResult.Identity; /** * Decodes an Identity message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Identity * @throws {Error} If the payload 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.asset.v1.IamPolicyAnalysisResult.Identity; /** * Verifies an Identity message. * @param message Plain 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 Identity message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Identity */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.IamPolicyAnalysisResult.Identity; /** * Creates a plain object from an Identity message. Also converts values to other types if specified. * @param message Identity * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.IamPolicyAnalysisResult.Identity, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Identity to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Identity * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Edge. */ interface IEdge { /** Edge sourceNode */ sourceNode?: (string|null); /** Edge targetNode */ targetNode?: (string|null); } /** Represents an Edge. */ class Edge implements IEdge { /** * Constructs a new Edge. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IamPolicyAnalysisResult.IEdge); /** Edge sourceNode. */ public sourceNode: string; /** Edge targetNode. */ public targetNode: string; /** * Creates a new Edge instance using the specified properties. * @param [properties] Properties to set * @returns Edge instance */ public static create(properties?: google.cloud.asset.v1.IamPolicyAnalysisResult.IEdge): google.cloud.asset.v1.IamPolicyAnalysisResult.Edge; /** * Encodes the specified Edge message. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.verify|verify} messages. * @param message Edge message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IamPolicyAnalysisResult.IEdge, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Edge message, length delimited. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.verify|verify} messages. * @param message Edge message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IamPolicyAnalysisResult.IEdge, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Edge message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Edge * @throws {Error} If the payload is not 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.asset.v1.IamPolicyAnalysisResult.Edge; /** * Decodes an Edge message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Edge * @throws {Error} If the payload 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.asset.v1.IamPolicyAnalysisResult.Edge; /** * Verifies an Edge message. * @param message Plain 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 Edge message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Edge */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.IamPolicyAnalysisResult.Edge; /** * Creates a plain object from an Edge message. Also converts values to other types if specified. * @param message Edge * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.IamPolicyAnalysisResult.Edge, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Edge to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Edge * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AccessControlList. */ interface IAccessControlList { /** AccessControlList resources */ resources?: (google.cloud.asset.v1.IamPolicyAnalysisResult.IResource[]|null); /** AccessControlList accesses */ accesses?: (google.cloud.asset.v1.IamPolicyAnalysisResult.IAccess[]|null); /** AccessControlList resourceEdges */ resourceEdges?: (google.cloud.asset.v1.IamPolicyAnalysisResult.IEdge[]|null); /** AccessControlList conditionEvaluation */ conditionEvaluation?: (google.cloud.asset.v1.IConditionEvaluation|null); } /** Represents an AccessControlList. */ class AccessControlList implements IAccessControlList { /** * Constructs a new AccessControlList. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IamPolicyAnalysisResult.IAccessControlList); /** AccessControlList resources. */ public resources: google.cloud.asset.v1.IamPolicyAnalysisResult.IResource[]; /** AccessControlList accesses. */ public accesses: google.cloud.asset.v1.IamPolicyAnalysisResult.IAccess[]; /** AccessControlList resourceEdges. */ public resourceEdges: google.cloud.asset.v1.IamPolicyAnalysisResult.IEdge[]; /** AccessControlList conditionEvaluation. */ public conditionEvaluation?: (google.cloud.asset.v1.IConditionEvaluation|null); /** * Creates a new AccessControlList instance using the specified properties. * @param [properties] Properties to set * @returns AccessControlList instance */ public static create(properties?: google.cloud.asset.v1.IamPolicyAnalysisResult.IAccessControlList): google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList; /** * Encodes the specified AccessControlList message. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.verify|verify} messages. * @param message AccessControlList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IamPolicyAnalysisResult.IAccessControlList, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AccessControlList message, length delimited. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.verify|verify} messages. * @param message AccessControlList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IamPolicyAnalysisResult.IAccessControlList, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AccessControlList message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AccessControlList * @throws {Error} If the payload is not 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.asset.v1.IamPolicyAnalysisResult.AccessControlList; /** * Decodes an AccessControlList message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AccessControlList * @throws {Error} If the payload 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.asset.v1.IamPolicyAnalysisResult.AccessControlList; /** * Verifies an AccessControlList message. * @param message Plain 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 AccessControlList message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AccessControlList */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList; /** * Creates a plain object from an AccessControlList message. Also converts values to other types if specified. * @param message AccessControlList * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AccessControlList to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AccessControlList * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an IdentityList. */ interface IIdentityList { /** IdentityList identities */ identities?: (google.cloud.asset.v1.IamPolicyAnalysisResult.IIdentity[]|null); /** IdentityList groupEdges */ groupEdges?: (google.cloud.asset.v1.IamPolicyAnalysisResult.IEdge[]|null); } /** Represents an IdentityList. */ class IdentityList implements IIdentityList { /** * Constructs a new IdentityList. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1.IamPolicyAnalysisResult.IIdentityList); /** IdentityList identities. */ public identities: google.cloud.asset.v1.IamPolicyAnalysisResult.IIdentity[]; /** IdentityList groupEdges. */ public groupEdges: google.cloud.asset.v1.IamPolicyAnalysisResult.IEdge[]; /** * Creates a new IdentityList instance using the specified properties. * @param [properties] Properties to set * @returns IdentityList instance */ public static create(properties?: google.cloud.asset.v1.IamPolicyAnalysisResult.IIdentityList): google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList; /** * Encodes the specified IdentityList message. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.verify|verify} messages. * @param message IdentityList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1.IamPolicyAnalysisResult.IIdentityList, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified IdentityList message, length delimited. Does not implicitly {@link google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.verify|verify} messages. * @param message IdentityList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1.IamPolicyAnalysisResult.IIdentityList, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an IdentityList message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns IdentityList * @throws {Error} If the payload is not 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.asset.v1.IamPolicyAnalysisResult.IdentityList; /** * Decodes an IdentityList message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns IdentityList * @throws {Error} If the payload 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.asset.v1.IamPolicyAnalysisResult.IdentityList; /** * Verifies an IdentityList message. * @param message Plain 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 IdentityList message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns IdentityList */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList; /** * Creates a plain object from an IdentityList message. Also converts values to other types if specified. * @param message IdentityList * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this IdentityList to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for IdentityList * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } } /** Namespace v1p1beta1. */ namespace v1p1beta1 { /** Represents an AssetService */ class AssetService extends $protobuf.rpc.Service { /** * Constructs a new AssetService 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 AssetService 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): AssetService; /** * Calls SearchAllResources. * @param request SearchAllResourcesRequest message or plain object * @param callback Node-style callback called with the error, if any, and SearchAllResourcesResponse */ public searchAllResources(request: google.cloud.asset.v1p1beta1.ISearchAllResourcesRequest, callback: google.cloud.asset.v1p1beta1.AssetService.SearchAllResourcesCallback): void; /** * Calls SearchAllResources. * @param request SearchAllResourcesRequest message or plain object * @returns Promise */ public searchAllResources(request: google.cloud.asset.v1p1beta1.ISearchAllResourcesRequest): Promise; /** * Calls SearchAllIamPolicies. * @param request SearchAllIamPoliciesRequest message or plain object * @param callback Node-style callback called with the error, if any, and SearchAllIamPoliciesResponse */ public searchAllIamPolicies(request: google.cloud.asset.v1p1beta1.ISearchAllIamPoliciesRequest, callback: google.cloud.asset.v1p1beta1.AssetService.SearchAllIamPoliciesCallback): void; /** * Calls SearchAllIamPolicies. * @param request SearchAllIamPoliciesRequest message or plain object * @returns Promise */ public searchAllIamPolicies(request: google.cloud.asset.v1p1beta1.ISearchAllIamPoliciesRequest): Promise; } namespace AssetService { /** * Callback as used by {@link google.cloud.asset.v1p1beta1.AssetService|searchAllResources}. * @param error Error, if any * @param [response] SearchAllResourcesResponse */ type SearchAllResourcesCallback = (error: (Error|null), response?: google.cloud.asset.v1p1beta1.SearchAllResourcesResponse) => void; /** * Callback as used by {@link google.cloud.asset.v1p1beta1.AssetService|searchAllIamPolicies}. * @param error Error, if any * @param [response] SearchAllIamPoliciesResponse */ type SearchAllIamPoliciesCallback = (error: (Error|null), response?: google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse) => void; } /** Properties of a SearchAllResourcesRequest. */ interface ISearchAllResourcesRequest { /** SearchAllResourcesRequest scope */ scope?: (string|null); /** SearchAllResourcesRequest query */ query?: (string|null); /** SearchAllResourcesRequest assetTypes */ assetTypes?: (string[]|null); /** SearchAllResourcesRequest pageSize */ pageSize?: (number|null); /** SearchAllResourcesRequest pageToken */ pageToken?: (string|null); /** SearchAllResourcesRequest orderBy */ orderBy?: (string|null); } /** Represents a SearchAllResourcesRequest. */ class SearchAllResourcesRequest implements ISearchAllResourcesRequest { /** * Constructs a new SearchAllResourcesRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p1beta1.ISearchAllResourcesRequest); /** SearchAllResourcesRequest scope. */ public scope: string; /** SearchAllResourcesRequest query. */ public query: string; /** SearchAllResourcesRequest assetTypes. */ public assetTypes: string[]; /** SearchAllResourcesRequest pageSize. */ public pageSize: number; /** SearchAllResourcesRequest pageToken. */ public pageToken: string; /** SearchAllResourcesRequest orderBy. */ public orderBy: string; /** * Creates a new SearchAllResourcesRequest instance using the specified properties. * @param [properties] Properties to set * @returns SearchAllResourcesRequest instance */ public static create(properties?: google.cloud.asset.v1p1beta1.ISearchAllResourcesRequest): google.cloud.asset.v1p1beta1.SearchAllResourcesRequest; /** * Encodes the specified SearchAllResourcesRequest message. Does not implicitly {@link google.cloud.asset.v1p1beta1.SearchAllResourcesRequest.verify|verify} messages. * @param message SearchAllResourcesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p1beta1.ISearchAllResourcesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SearchAllResourcesRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1p1beta1.SearchAllResourcesRequest.verify|verify} messages. * @param message SearchAllResourcesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p1beta1.ISearchAllResourcesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SearchAllResourcesRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SearchAllResourcesRequest * @throws {Error} If the payload is not 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.asset.v1p1beta1.SearchAllResourcesRequest; /** * Decodes a SearchAllResourcesRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SearchAllResourcesRequest * @throws {Error} If the payload 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.asset.v1p1beta1.SearchAllResourcesRequest; /** * Verifies a SearchAllResourcesRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SearchAllResourcesRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SearchAllResourcesRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p1beta1.SearchAllResourcesRequest; /** * Creates a plain object from a SearchAllResourcesRequest message. Also converts values to other types if specified. * @param message SearchAllResourcesRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p1beta1.SearchAllResourcesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SearchAllResourcesRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SearchAllResourcesRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SearchAllResourcesResponse. */ interface ISearchAllResourcesResponse { /** SearchAllResourcesResponse results */ results?: (google.cloud.asset.v1p1beta1.IStandardResourceMetadata[]|null); /** SearchAllResourcesResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents a SearchAllResourcesResponse. */ class SearchAllResourcesResponse implements ISearchAllResourcesResponse { /** * Constructs a new SearchAllResourcesResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p1beta1.ISearchAllResourcesResponse); /** SearchAllResourcesResponse results. */ public results: google.cloud.asset.v1p1beta1.IStandardResourceMetadata[]; /** SearchAllResourcesResponse nextPageToken. */ public nextPageToken: string; /** * Creates a new SearchAllResourcesResponse instance using the specified properties. * @param [properties] Properties to set * @returns SearchAllResourcesResponse instance */ public static create(properties?: google.cloud.asset.v1p1beta1.ISearchAllResourcesResponse): google.cloud.asset.v1p1beta1.SearchAllResourcesResponse; /** * Encodes the specified SearchAllResourcesResponse message. Does not implicitly {@link google.cloud.asset.v1p1beta1.SearchAllResourcesResponse.verify|verify} messages. * @param message SearchAllResourcesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p1beta1.ISearchAllResourcesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SearchAllResourcesResponse message, length delimited. Does not implicitly {@link google.cloud.asset.v1p1beta1.SearchAllResourcesResponse.verify|verify} messages. * @param message SearchAllResourcesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p1beta1.ISearchAllResourcesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SearchAllResourcesResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SearchAllResourcesResponse * @throws {Error} If the payload is not 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.asset.v1p1beta1.SearchAllResourcesResponse; /** * Decodes a SearchAllResourcesResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SearchAllResourcesResponse * @throws {Error} If the payload 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.asset.v1p1beta1.SearchAllResourcesResponse; /** * Verifies a SearchAllResourcesResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SearchAllResourcesResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SearchAllResourcesResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p1beta1.SearchAllResourcesResponse; /** * Creates a plain object from a SearchAllResourcesResponse message. Also converts values to other types if specified. * @param message SearchAllResourcesResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p1beta1.SearchAllResourcesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SearchAllResourcesResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SearchAllResourcesResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SearchAllIamPoliciesRequest. */ interface ISearchAllIamPoliciesRequest { /** SearchAllIamPoliciesRequest scope */ scope?: (string|null); /** SearchAllIamPoliciesRequest query */ query?: (string|null); /** SearchAllIamPoliciesRequest pageSize */ pageSize?: (number|null); /** SearchAllIamPoliciesRequest pageToken */ pageToken?: (string|null); } /** Represents a SearchAllIamPoliciesRequest. */ class SearchAllIamPoliciesRequest implements ISearchAllIamPoliciesRequest { /** * Constructs a new SearchAllIamPoliciesRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p1beta1.ISearchAllIamPoliciesRequest); /** SearchAllIamPoliciesRequest scope. */ public scope: string; /** SearchAllIamPoliciesRequest query. */ public query: string; /** SearchAllIamPoliciesRequest pageSize. */ public pageSize: number; /** SearchAllIamPoliciesRequest pageToken. */ public pageToken: string; /** * Creates a new SearchAllIamPoliciesRequest instance using the specified properties. * @param [properties] Properties to set * @returns SearchAllIamPoliciesRequest instance */ public static create(properties?: google.cloud.asset.v1p1beta1.ISearchAllIamPoliciesRequest): google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest; /** * Encodes the specified SearchAllIamPoliciesRequest message. Does not implicitly {@link google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.verify|verify} messages. * @param message SearchAllIamPoliciesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p1beta1.ISearchAllIamPoliciesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SearchAllIamPoliciesRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.verify|verify} messages. * @param message SearchAllIamPoliciesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p1beta1.ISearchAllIamPoliciesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SearchAllIamPoliciesRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SearchAllIamPoliciesRequest * @throws {Error} If the payload is not 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.asset.v1p1beta1.SearchAllIamPoliciesRequest; /** * Decodes a SearchAllIamPoliciesRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SearchAllIamPoliciesRequest * @throws {Error} If the payload 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.asset.v1p1beta1.SearchAllIamPoliciesRequest; /** * Verifies a SearchAllIamPoliciesRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SearchAllIamPoliciesRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SearchAllIamPoliciesRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest; /** * Creates a plain object from a SearchAllIamPoliciesRequest message. Also converts values to other types if specified. * @param message SearchAllIamPoliciesRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SearchAllIamPoliciesRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SearchAllIamPoliciesRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SearchAllIamPoliciesResponse. */ interface ISearchAllIamPoliciesResponse { /** SearchAllIamPoliciesResponse results */ results?: (google.cloud.asset.v1p1beta1.IIamPolicySearchResult[]|null); /** SearchAllIamPoliciesResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents a SearchAllIamPoliciesResponse. */ class SearchAllIamPoliciesResponse implements ISearchAllIamPoliciesResponse { /** * Constructs a new SearchAllIamPoliciesResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p1beta1.ISearchAllIamPoliciesResponse); /** SearchAllIamPoliciesResponse results. */ public results: google.cloud.asset.v1p1beta1.IIamPolicySearchResult[]; /** SearchAllIamPoliciesResponse nextPageToken. */ public nextPageToken: string; /** * Creates a new SearchAllIamPoliciesResponse instance using the specified properties. * @param [properties] Properties to set * @returns SearchAllIamPoliciesResponse instance */ public static create(properties?: google.cloud.asset.v1p1beta1.ISearchAllIamPoliciesResponse): google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse; /** * Encodes the specified SearchAllIamPoliciesResponse message. Does not implicitly {@link google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.verify|verify} messages. * @param message SearchAllIamPoliciesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p1beta1.ISearchAllIamPoliciesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SearchAllIamPoliciesResponse message, length delimited. Does not implicitly {@link google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.verify|verify} messages. * @param message SearchAllIamPoliciesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p1beta1.ISearchAllIamPoliciesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SearchAllIamPoliciesResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SearchAllIamPoliciesResponse * @throws {Error} If the payload is not 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.asset.v1p1beta1.SearchAllIamPoliciesResponse; /** * Decodes a SearchAllIamPoliciesResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SearchAllIamPoliciesResponse * @throws {Error} If the payload 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.asset.v1p1beta1.SearchAllIamPoliciesResponse; /** * Verifies a SearchAllIamPoliciesResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SearchAllIamPoliciesResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SearchAllIamPoliciesResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse; /** * Creates a plain object from a SearchAllIamPoliciesResponse message. Also converts values to other types if specified. * @param message SearchAllIamPoliciesResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SearchAllIamPoliciesResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SearchAllIamPoliciesResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a StandardResourceMetadata. */ interface IStandardResourceMetadata { /** StandardResourceMetadata name */ name?: (string|null); /** StandardResourceMetadata assetType */ assetType?: (string|null); /** StandardResourceMetadata project */ project?: (string|null); /** StandardResourceMetadata displayName */ displayName?: (string|null); /** StandardResourceMetadata description */ description?: (string|null); /** StandardResourceMetadata additionalAttributes */ additionalAttributes?: (string[]|null); /** StandardResourceMetadata location */ location?: (string|null); /** StandardResourceMetadata labels */ labels?: ({ [k: string]: string }|null); /** StandardResourceMetadata networkTags */ networkTags?: (string[]|null); } /** Represents a StandardResourceMetadata. */ class StandardResourceMetadata implements IStandardResourceMetadata { /** * Constructs a new StandardResourceMetadata. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p1beta1.IStandardResourceMetadata); /** StandardResourceMetadata name. */ public name: string; /** StandardResourceMetadata assetType. */ public assetType: string; /** StandardResourceMetadata project. */ public project: string; /** StandardResourceMetadata displayName. */ public displayName: string; /** StandardResourceMetadata description. */ public description: string; /** StandardResourceMetadata additionalAttributes. */ public additionalAttributes: string[]; /** StandardResourceMetadata location. */ public location: string; /** StandardResourceMetadata labels. */ public labels: { [k: string]: string }; /** StandardResourceMetadata networkTags. */ public networkTags: string[]; /** * Creates a new StandardResourceMetadata instance using the specified properties. * @param [properties] Properties to set * @returns StandardResourceMetadata instance */ public static create(properties?: google.cloud.asset.v1p1beta1.IStandardResourceMetadata): google.cloud.asset.v1p1beta1.StandardResourceMetadata; /** * Encodes the specified StandardResourceMetadata message. Does not implicitly {@link google.cloud.asset.v1p1beta1.StandardResourceMetadata.verify|verify} messages. * @param message StandardResourceMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p1beta1.IStandardResourceMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StandardResourceMetadata message, length delimited. Does not implicitly {@link google.cloud.asset.v1p1beta1.StandardResourceMetadata.verify|verify} messages. * @param message StandardResourceMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p1beta1.IStandardResourceMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StandardResourceMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StandardResourceMetadata * @throws {Error} If the payload is not 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.asset.v1p1beta1.StandardResourceMetadata; /** * Decodes a StandardResourceMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StandardResourceMetadata * @throws {Error} If the payload 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.asset.v1p1beta1.StandardResourceMetadata; /** * Verifies a StandardResourceMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StandardResourceMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StandardResourceMetadata */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p1beta1.StandardResourceMetadata; /** * Creates a plain object from a StandardResourceMetadata message. Also converts values to other types if specified. * @param message StandardResourceMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p1beta1.StandardResourceMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StandardResourceMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StandardResourceMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an IamPolicySearchResult. */ interface IIamPolicySearchResult { /** IamPolicySearchResult resource */ resource?: (string|null); /** IamPolicySearchResult project */ project?: (string|null); /** IamPolicySearchResult policy */ policy?: (google.iam.v1.IPolicy|null); /** IamPolicySearchResult explanation */ explanation?: (google.cloud.asset.v1p1beta1.IamPolicySearchResult.IExplanation|null); } /** Represents an IamPolicySearchResult. */ class IamPolicySearchResult implements IIamPolicySearchResult { /** * Constructs a new IamPolicySearchResult. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p1beta1.IIamPolicySearchResult); /** IamPolicySearchResult resource. */ public resource: string; /** IamPolicySearchResult project. */ public project: string; /** IamPolicySearchResult policy. */ public policy?: (google.iam.v1.IPolicy|null); /** IamPolicySearchResult explanation. */ public explanation?: (google.cloud.asset.v1p1beta1.IamPolicySearchResult.IExplanation|null); /** * Creates a new IamPolicySearchResult instance using the specified properties. * @param [properties] Properties to set * @returns IamPolicySearchResult instance */ public static create(properties?: google.cloud.asset.v1p1beta1.IIamPolicySearchResult): google.cloud.asset.v1p1beta1.IamPolicySearchResult; /** * Encodes the specified IamPolicySearchResult message. Does not implicitly {@link google.cloud.asset.v1p1beta1.IamPolicySearchResult.verify|verify} messages. * @param message IamPolicySearchResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p1beta1.IIamPolicySearchResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified IamPolicySearchResult message, length delimited. Does not implicitly {@link google.cloud.asset.v1p1beta1.IamPolicySearchResult.verify|verify} messages. * @param message IamPolicySearchResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p1beta1.IIamPolicySearchResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an IamPolicySearchResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns IamPolicySearchResult * @throws {Error} If the payload is not 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.asset.v1p1beta1.IamPolicySearchResult; /** * Decodes an IamPolicySearchResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns IamPolicySearchResult * @throws {Error} If the payload 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.asset.v1p1beta1.IamPolicySearchResult; /** * Verifies an IamPolicySearchResult message. * @param message Plain 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 IamPolicySearchResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns IamPolicySearchResult */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p1beta1.IamPolicySearchResult; /** * Creates a plain object from an IamPolicySearchResult message. Also converts values to other types if specified. * @param message IamPolicySearchResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p1beta1.IamPolicySearchResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this IamPolicySearchResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for IamPolicySearchResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace IamPolicySearchResult { /** Properties of an Explanation. */ interface IExplanation { /** Explanation matchedPermissions */ matchedPermissions?: ({ [k: string]: google.cloud.asset.v1p1beta1.IPermissions }|null); } /** Represents an Explanation. */ class Explanation implements IExplanation { /** * Constructs a new Explanation. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p1beta1.IamPolicySearchResult.IExplanation); /** Explanation matchedPermissions. */ public matchedPermissions: { [k: string]: google.cloud.asset.v1p1beta1.IPermissions }; /** * Creates a new Explanation instance using the specified properties. * @param [properties] Properties to set * @returns Explanation instance */ public static create(properties?: google.cloud.asset.v1p1beta1.IamPolicySearchResult.IExplanation): google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation; /** * Encodes the specified Explanation message. Does not implicitly {@link google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.verify|verify} messages. * @param message Explanation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p1beta1.IamPolicySearchResult.IExplanation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Explanation message, length delimited. Does not implicitly {@link google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.verify|verify} messages. * @param message Explanation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p1beta1.IamPolicySearchResult.IExplanation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Explanation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Explanation * @throws {Error} If the payload is not 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.asset.v1p1beta1.IamPolicySearchResult.Explanation; /** * Decodes an Explanation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Explanation * @throws {Error} If the payload 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.asset.v1p1beta1.IamPolicySearchResult.Explanation; /** * Verifies an Explanation message. * @param message Plain 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 Explanation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Explanation */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation; /** * Creates a plain object from an Explanation message. Also converts values to other types if specified. * @param message Explanation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Explanation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Explanation * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a Permissions. */ interface IPermissions { /** Permissions permissions */ permissions?: (string[]|null); } /** Represents a Permissions. */ class Permissions implements IPermissions { /** * Constructs a new Permissions. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p1beta1.IPermissions); /** Permissions permissions. */ public permissions: string[]; /** * Creates a new Permissions instance using the specified properties. * @param [properties] Properties to set * @returns Permissions instance */ public static create(properties?: google.cloud.asset.v1p1beta1.IPermissions): google.cloud.asset.v1p1beta1.Permissions; /** * Encodes the specified Permissions message. Does not implicitly {@link google.cloud.asset.v1p1beta1.Permissions.verify|verify} messages. * @param message Permissions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p1beta1.IPermissions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Permissions message, length delimited. Does not implicitly {@link google.cloud.asset.v1p1beta1.Permissions.verify|verify} messages. * @param message Permissions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p1beta1.IPermissions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Permissions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Permissions * @throws {Error} If the payload is not 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.asset.v1p1beta1.Permissions; /** * Decodes a Permissions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Permissions * @throws {Error} If the payload 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.asset.v1p1beta1.Permissions; /** * Verifies a Permissions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Permissions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Permissions */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p1beta1.Permissions; /** * Creates a plain object from a Permissions message. Also converts values to other types if specified. * @param message Permissions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p1beta1.Permissions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Permissions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Permissions * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Namespace v1p2beta1. */ namespace v1p2beta1 { /** Represents an AssetService */ class AssetService extends $protobuf.rpc.Service { /** * Constructs a new AssetService 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 AssetService 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): AssetService; /** * Calls CreateFeed. * @param request CreateFeedRequest message or plain object * @param callback Node-style callback called with the error, if any, and Feed */ public createFeed(request: google.cloud.asset.v1p2beta1.ICreateFeedRequest, callback: google.cloud.asset.v1p2beta1.AssetService.CreateFeedCallback): void; /** * Calls CreateFeed. * @param request CreateFeedRequest message or plain object * @returns Promise */ public createFeed(request: google.cloud.asset.v1p2beta1.ICreateFeedRequest): Promise; /** * Calls GetFeed. * @param request GetFeedRequest message or plain object * @param callback Node-style callback called with the error, if any, and Feed */ public getFeed(request: google.cloud.asset.v1p2beta1.IGetFeedRequest, callback: google.cloud.asset.v1p2beta1.AssetService.GetFeedCallback): void; /** * Calls GetFeed. * @param request GetFeedRequest message or plain object * @returns Promise */ public getFeed(request: google.cloud.asset.v1p2beta1.IGetFeedRequest): Promise; /** * Calls ListFeeds. * @param request ListFeedsRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListFeedsResponse */ public listFeeds(request: google.cloud.asset.v1p2beta1.IListFeedsRequest, callback: google.cloud.asset.v1p2beta1.AssetService.ListFeedsCallback): void; /** * Calls ListFeeds. * @param request ListFeedsRequest message or plain object * @returns Promise */ public listFeeds(request: google.cloud.asset.v1p2beta1.IListFeedsRequest): Promise; /** * Calls UpdateFeed. * @param request UpdateFeedRequest message or plain object * @param callback Node-style callback called with the error, if any, and Feed */ public updateFeed(request: google.cloud.asset.v1p2beta1.IUpdateFeedRequest, callback: google.cloud.asset.v1p2beta1.AssetService.UpdateFeedCallback): void; /** * Calls UpdateFeed. * @param request UpdateFeedRequest message or plain object * @returns Promise */ public updateFeed(request: google.cloud.asset.v1p2beta1.IUpdateFeedRequest): Promise; /** * Calls DeleteFeed. * @param request DeleteFeedRequest message or plain object * @param callback Node-style callback called with the error, if any, and Empty */ public deleteFeed(request: google.cloud.asset.v1p2beta1.IDeleteFeedRequest, callback: google.cloud.asset.v1p2beta1.AssetService.DeleteFeedCallback): void; /** * Calls DeleteFeed. * @param request DeleteFeedRequest message or plain object * @returns Promise */ public deleteFeed(request: google.cloud.asset.v1p2beta1.IDeleteFeedRequest): Promise; } namespace AssetService { /** * Callback as used by {@link google.cloud.asset.v1p2beta1.AssetService|createFeed}. * @param error Error, if any * @param [response] Feed */ type CreateFeedCallback = (error: (Error|null), response?: google.cloud.asset.v1p2beta1.Feed) => void; /** * Callback as used by {@link google.cloud.asset.v1p2beta1.AssetService|getFeed}. * @param error Error, if any * @param [response] Feed */ type GetFeedCallback = (error: (Error|null), response?: google.cloud.asset.v1p2beta1.Feed) => void; /** * Callback as used by {@link google.cloud.asset.v1p2beta1.AssetService|listFeeds}. * @param error Error, if any * @param [response] ListFeedsResponse */ type ListFeedsCallback = (error: (Error|null), response?: google.cloud.asset.v1p2beta1.ListFeedsResponse) => void; /** * Callback as used by {@link google.cloud.asset.v1p2beta1.AssetService|updateFeed}. * @param error Error, if any * @param [response] Feed */ type UpdateFeedCallback = (error: (Error|null), response?: google.cloud.asset.v1p2beta1.Feed) => void; /** * Callback as used by {@link google.cloud.asset.v1p2beta1.AssetService|deleteFeed}. * @param error Error, if any * @param [response] Empty */ type DeleteFeedCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; } /** Properties of an ExportAssetsResponse. */ interface IExportAssetsResponse { /** ExportAssetsResponse readTime */ readTime?: (google.protobuf.ITimestamp|null); /** ExportAssetsResponse outputConfig */ outputConfig?: (google.cloud.asset.v1p2beta1.IOutputConfig|null); } /** Represents an ExportAssetsResponse. */ class ExportAssetsResponse implements IExportAssetsResponse { /** * Constructs a new ExportAssetsResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p2beta1.IExportAssetsResponse); /** ExportAssetsResponse readTime. */ public readTime?: (google.protobuf.ITimestamp|null); /** ExportAssetsResponse outputConfig. */ public outputConfig?: (google.cloud.asset.v1p2beta1.IOutputConfig|null); /** * Creates a new ExportAssetsResponse instance using the specified properties. * @param [properties] Properties to set * @returns ExportAssetsResponse instance */ public static create(properties?: google.cloud.asset.v1p2beta1.IExportAssetsResponse): google.cloud.asset.v1p2beta1.ExportAssetsResponse; /** * Encodes the specified ExportAssetsResponse message. Does not implicitly {@link google.cloud.asset.v1p2beta1.ExportAssetsResponse.verify|verify} messages. * @param message ExportAssetsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p2beta1.IExportAssetsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ExportAssetsResponse message, length delimited. Does not implicitly {@link google.cloud.asset.v1p2beta1.ExportAssetsResponse.verify|verify} messages. * @param message ExportAssetsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p2beta1.IExportAssetsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ExportAssetsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ExportAssetsResponse * @throws {Error} If the payload is not 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.asset.v1p2beta1.ExportAssetsResponse; /** * Decodes an ExportAssetsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ExportAssetsResponse * @throws {Error} If the payload 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.asset.v1p2beta1.ExportAssetsResponse; /** * Verifies an ExportAssetsResponse message. * @param message Plain 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 ExportAssetsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExportAssetsResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p2beta1.ExportAssetsResponse; /** * Creates a plain object from an ExportAssetsResponse message. Also converts values to other types if specified. * @param message ExportAssetsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p2beta1.ExportAssetsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExportAssetsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ExportAssetsResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchGetAssetsHistoryResponse. */ interface IBatchGetAssetsHistoryResponse { /** BatchGetAssetsHistoryResponse assets */ assets?: (google.cloud.asset.v1p2beta1.ITemporalAsset[]|null); } /** Represents a BatchGetAssetsHistoryResponse. */ class BatchGetAssetsHistoryResponse implements IBatchGetAssetsHistoryResponse { /** * Constructs a new BatchGetAssetsHistoryResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p2beta1.IBatchGetAssetsHistoryResponse); /** BatchGetAssetsHistoryResponse assets. */ public assets: google.cloud.asset.v1p2beta1.ITemporalAsset[]; /** * Creates a new BatchGetAssetsHistoryResponse instance using the specified properties. * @param [properties] Properties to set * @returns BatchGetAssetsHistoryResponse instance */ public static create(properties?: google.cloud.asset.v1p2beta1.IBatchGetAssetsHistoryResponse): google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse; /** * Encodes the specified BatchGetAssetsHistoryResponse message. Does not implicitly {@link google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse.verify|verify} messages. * @param message BatchGetAssetsHistoryResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p2beta1.IBatchGetAssetsHistoryResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BatchGetAssetsHistoryResponse message, length delimited. Does not implicitly {@link google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse.verify|verify} messages. * @param message BatchGetAssetsHistoryResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p2beta1.IBatchGetAssetsHistoryResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BatchGetAssetsHistoryResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BatchGetAssetsHistoryResponse * @throws {Error} If the payload is not 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.asset.v1p2beta1.BatchGetAssetsHistoryResponse; /** * Decodes a BatchGetAssetsHistoryResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BatchGetAssetsHistoryResponse * @throws {Error} If the payload 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.asset.v1p2beta1.BatchGetAssetsHistoryResponse; /** * Verifies a BatchGetAssetsHistoryResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BatchGetAssetsHistoryResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BatchGetAssetsHistoryResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse; /** * Creates a plain object from a BatchGetAssetsHistoryResponse message. Also converts values to other types if specified. * @param message BatchGetAssetsHistoryResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BatchGetAssetsHistoryResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BatchGetAssetsHistoryResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateFeedRequest. */ interface ICreateFeedRequest { /** CreateFeedRequest parent */ parent?: (string|null); /** CreateFeedRequest feedId */ feedId?: (string|null); /** CreateFeedRequest feed */ feed?: (google.cloud.asset.v1p2beta1.IFeed|null); } /** Represents a CreateFeedRequest. */ class CreateFeedRequest implements ICreateFeedRequest { /** * Constructs a new CreateFeedRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p2beta1.ICreateFeedRequest); /** CreateFeedRequest parent. */ public parent: string; /** CreateFeedRequest feedId. */ public feedId: string; /** CreateFeedRequest feed. */ public feed?: (google.cloud.asset.v1p2beta1.IFeed|null); /** * Creates a new CreateFeedRequest instance using the specified properties. * @param [properties] Properties to set * @returns CreateFeedRequest instance */ public static create(properties?: google.cloud.asset.v1p2beta1.ICreateFeedRequest): google.cloud.asset.v1p2beta1.CreateFeedRequest; /** * Encodes the specified CreateFeedRequest message. Does not implicitly {@link google.cloud.asset.v1p2beta1.CreateFeedRequest.verify|verify} messages. * @param message CreateFeedRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p2beta1.ICreateFeedRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CreateFeedRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1p2beta1.CreateFeedRequest.verify|verify} messages. * @param message CreateFeedRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p2beta1.ICreateFeedRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CreateFeedRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CreateFeedRequest * @throws {Error} If the payload is not 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.asset.v1p2beta1.CreateFeedRequest; /** * Decodes a CreateFeedRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CreateFeedRequest * @throws {Error} If the payload 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.asset.v1p2beta1.CreateFeedRequest; /** * Verifies a CreateFeedRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CreateFeedRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CreateFeedRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p2beta1.CreateFeedRequest; /** * Creates a plain object from a CreateFeedRequest message. Also converts values to other types if specified. * @param message CreateFeedRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p2beta1.CreateFeedRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CreateFeedRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CreateFeedRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetFeedRequest. */ interface IGetFeedRequest { /** GetFeedRequest name */ name?: (string|null); } /** Represents a GetFeedRequest. */ class GetFeedRequest implements IGetFeedRequest { /** * Constructs a new GetFeedRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p2beta1.IGetFeedRequest); /** GetFeedRequest name. */ public name: string; /** * Creates a new GetFeedRequest instance using the specified properties. * @param [properties] Properties to set * @returns GetFeedRequest instance */ public static create(properties?: google.cloud.asset.v1p2beta1.IGetFeedRequest): google.cloud.asset.v1p2beta1.GetFeedRequest; /** * Encodes the specified GetFeedRequest message. Does not implicitly {@link google.cloud.asset.v1p2beta1.GetFeedRequest.verify|verify} messages. * @param message GetFeedRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p2beta1.IGetFeedRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetFeedRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1p2beta1.GetFeedRequest.verify|verify} messages. * @param message GetFeedRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p2beta1.IGetFeedRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetFeedRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetFeedRequest * @throws {Error} If the payload is not 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.asset.v1p2beta1.GetFeedRequest; /** * Decodes a GetFeedRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetFeedRequest * @throws {Error} If the payload 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.asset.v1p2beta1.GetFeedRequest; /** * Verifies a GetFeedRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetFeedRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetFeedRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p2beta1.GetFeedRequest; /** * Creates a plain object from a GetFeedRequest message. Also converts values to other types if specified. * @param message GetFeedRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p2beta1.GetFeedRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetFeedRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GetFeedRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListFeedsRequest. */ interface IListFeedsRequest { /** ListFeedsRequest parent */ parent?: (string|null); } /** Represents a ListFeedsRequest. */ class ListFeedsRequest implements IListFeedsRequest { /** * Constructs a new ListFeedsRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p2beta1.IListFeedsRequest); /** ListFeedsRequest parent. */ public parent: string; /** * Creates a new ListFeedsRequest instance using the specified properties. * @param [properties] Properties to set * @returns ListFeedsRequest instance */ public static create(properties?: google.cloud.asset.v1p2beta1.IListFeedsRequest): google.cloud.asset.v1p2beta1.ListFeedsRequest; /** * Encodes the specified ListFeedsRequest message. Does not implicitly {@link google.cloud.asset.v1p2beta1.ListFeedsRequest.verify|verify} messages. * @param message ListFeedsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p2beta1.IListFeedsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListFeedsRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1p2beta1.ListFeedsRequest.verify|verify} messages. * @param message ListFeedsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p2beta1.IListFeedsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListFeedsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListFeedsRequest * @throws {Error} If the payload is not 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.asset.v1p2beta1.ListFeedsRequest; /** * Decodes a ListFeedsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListFeedsRequest * @throws {Error} If the payload 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.asset.v1p2beta1.ListFeedsRequest; /** * Verifies a ListFeedsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListFeedsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListFeedsRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p2beta1.ListFeedsRequest; /** * Creates a plain object from a ListFeedsRequest message. Also converts values to other types if specified. * @param message ListFeedsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p2beta1.ListFeedsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListFeedsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListFeedsRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListFeedsResponse. */ interface IListFeedsResponse { /** ListFeedsResponse feeds */ feeds?: (google.cloud.asset.v1p2beta1.IFeed[]|null); } /** Represents a ListFeedsResponse. */ class ListFeedsResponse implements IListFeedsResponse { /** * Constructs a new ListFeedsResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p2beta1.IListFeedsResponse); /** ListFeedsResponse feeds. */ public feeds: google.cloud.asset.v1p2beta1.IFeed[]; /** * Creates a new ListFeedsResponse instance using the specified properties. * @param [properties] Properties to set * @returns ListFeedsResponse instance */ public static create(properties?: google.cloud.asset.v1p2beta1.IListFeedsResponse): google.cloud.asset.v1p2beta1.ListFeedsResponse; /** * Encodes the specified ListFeedsResponse message. Does not implicitly {@link google.cloud.asset.v1p2beta1.ListFeedsResponse.verify|verify} messages. * @param message ListFeedsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p2beta1.IListFeedsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListFeedsResponse message, length delimited. Does not implicitly {@link google.cloud.asset.v1p2beta1.ListFeedsResponse.verify|verify} messages. * @param message ListFeedsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p2beta1.IListFeedsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListFeedsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListFeedsResponse * @throws {Error} If the payload is not 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.asset.v1p2beta1.ListFeedsResponse; /** * Decodes a ListFeedsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListFeedsResponse * @throws {Error} If the payload 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.asset.v1p2beta1.ListFeedsResponse; /** * Verifies a ListFeedsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListFeedsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListFeedsResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p2beta1.ListFeedsResponse; /** * Creates a plain object from a ListFeedsResponse message. Also converts values to other types if specified. * @param message ListFeedsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p2beta1.ListFeedsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListFeedsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListFeedsResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateFeedRequest. */ interface IUpdateFeedRequest { /** UpdateFeedRequest feed */ feed?: (google.cloud.asset.v1p2beta1.IFeed|null); /** UpdateFeedRequest updateMask */ updateMask?: (google.protobuf.IFieldMask|null); } /** Represents an UpdateFeedRequest. */ class UpdateFeedRequest implements IUpdateFeedRequest { /** * Constructs a new UpdateFeedRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p2beta1.IUpdateFeedRequest); /** UpdateFeedRequest feed. */ public feed?: (google.cloud.asset.v1p2beta1.IFeed|null); /** UpdateFeedRequest updateMask. */ public updateMask?: (google.protobuf.IFieldMask|null); /** * Creates a new UpdateFeedRequest instance using the specified properties. * @param [properties] Properties to set * @returns UpdateFeedRequest instance */ public static create(properties?: google.cloud.asset.v1p2beta1.IUpdateFeedRequest): google.cloud.asset.v1p2beta1.UpdateFeedRequest; /** * Encodes the specified UpdateFeedRequest message. Does not implicitly {@link google.cloud.asset.v1p2beta1.UpdateFeedRequest.verify|verify} messages. * @param message UpdateFeedRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p2beta1.IUpdateFeedRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UpdateFeedRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1p2beta1.UpdateFeedRequest.verify|verify} messages. * @param message UpdateFeedRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p2beta1.IUpdateFeedRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UpdateFeedRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UpdateFeedRequest * @throws {Error} If the payload is not 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.asset.v1p2beta1.UpdateFeedRequest; /** * Decodes an UpdateFeedRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UpdateFeedRequest * @throws {Error} If the payload 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.asset.v1p2beta1.UpdateFeedRequest; /** * Verifies an UpdateFeedRequest message. * @param message Plain 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 UpdateFeedRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UpdateFeedRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p2beta1.UpdateFeedRequest; /** * Creates a plain object from an UpdateFeedRequest message. Also converts values to other types if specified. * @param message UpdateFeedRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p2beta1.UpdateFeedRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UpdateFeedRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UpdateFeedRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteFeedRequest. */ interface IDeleteFeedRequest { /** DeleteFeedRequest name */ name?: (string|null); } /** Represents a DeleteFeedRequest. */ class DeleteFeedRequest implements IDeleteFeedRequest { /** * Constructs a new DeleteFeedRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p2beta1.IDeleteFeedRequest); /** DeleteFeedRequest name. */ public name: string; /** * Creates a new DeleteFeedRequest instance using the specified properties. * @param [properties] Properties to set * @returns DeleteFeedRequest instance */ public static create(properties?: google.cloud.asset.v1p2beta1.IDeleteFeedRequest): google.cloud.asset.v1p2beta1.DeleteFeedRequest; /** * Encodes the specified DeleteFeedRequest message. Does not implicitly {@link google.cloud.asset.v1p2beta1.DeleteFeedRequest.verify|verify} messages. * @param message DeleteFeedRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p2beta1.IDeleteFeedRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteFeedRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1p2beta1.DeleteFeedRequest.verify|verify} messages. * @param message DeleteFeedRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p2beta1.IDeleteFeedRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteFeedRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteFeedRequest * @throws {Error} If the payload is not 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.asset.v1p2beta1.DeleteFeedRequest; /** * Decodes a DeleteFeedRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteFeedRequest * @throws {Error} If the payload 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.asset.v1p2beta1.DeleteFeedRequest; /** * Verifies a DeleteFeedRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeleteFeedRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteFeedRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p2beta1.DeleteFeedRequest; /** * Creates a plain object from a DeleteFeedRequest message. Also converts values to other types if specified. * @param message DeleteFeedRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p2beta1.DeleteFeedRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteFeedRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeleteFeedRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an OutputConfig. */ interface IOutputConfig { /** OutputConfig gcsDestination */ gcsDestination?: (google.cloud.asset.v1p2beta1.IGcsDestination|null); } /** Represents an OutputConfig. */ class OutputConfig implements IOutputConfig { /** * Constructs a new OutputConfig. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p2beta1.IOutputConfig); /** OutputConfig gcsDestination. */ public gcsDestination?: (google.cloud.asset.v1p2beta1.IGcsDestination|null); /** OutputConfig destination. */ public destination?: "gcsDestination"; /** * Creates a new OutputConfig instance using the specified properties. * @param [properties] Properties to set * @returns OutputConfig instance */ public static create(properties?: google.cloud.asset.v1p2beta1.IOutputConfig): google.cloud.asset.v1p2beta1.OutputConfig; /** * Encodes the specified OutputConfig message. Does not implicitly {@link google.cloud.asset.v1p2beta1.OutputConfig.verify|verify} messages. * @param message OutputConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p2beta1.IOutputConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified OutputConfig message, length delimited. Does not implicitly {@link google.cloud.asset.v1p2beta1.OutputConfig.verify|verify} messages. * @param message OutputConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p2beta1.IOutputConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an OutputConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns OutputConfig * @throws {Error} If the payload is not 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.asset.v1p2beta1.OutputConfig; /** * Decodes an OutputConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns OutputConfig * @throws {Error} If the payload 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.asset.v1p2beta1.OutputConfig; /** * Verifies an OutputConfig message. * @param message Plain 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 OutputConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns OutputConfig */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p2beta1.OutputConfig; /** * Creates a plain object from an OutputConfig message. Also converts values to other types if specified. * @param message OutputConfig * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p2beta1.OutputConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this OutputConfig to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for OutputConfig * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GcsDestination. */ interface IGcsDestination { /** GcsDestination uri */ uri?: (string|null); } /** Represents a GcsDestination. */ class GcsDestination implements IGcsDestination { /** * Constructs a new GcsDestination. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p2beta1.IGcsDestination); /** GcsDestination uri. */ public uri?: (string|null); /** GcsDestination objectUri. */ public objectUri?: "uri"; /** * Creates a new GcsDestination instance using the specified properties. * @param [properties] Properties to set * @returns GcsDestination instance */ public static create(properties?: google.cloud.asset.v1p2beta1.IGcsDestination): google.cloud.asset.v1p2beta1.GcsDestination; /** * Encodes the specified GcsDestination message. Does not implicitly {@link google.cloud.asset.v1p2beta1.GcsDestination.verify|verify} messages. * @param message GcsDestination message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p2beta1.IGcsDestination, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GcsDestination message, length delimited. Does not implicitly {@link google.cloud.asset.v1p2beta1.GcsDestination.verify|verify} messages. * @param message GcsDestination message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p2beta1.IGcsDestination, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GcsDestination message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GcsDestination * @throws {Error} If the payload is not 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.asset.v1p2beta1.GcsDestination; /** * Decodes a GcsDestination message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GcsDestination * @throws {Error} If the payload 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.asset.v1p2beta1.GcsDestination; /** * Verifies a GcsDestination message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GcsDestination message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GcsDestination */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p2beta1.GcsDestination; /** * Creates a plain object from a GcsDestination message. Also converts values to other types if specified. * @param message GcsDestination * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p2beta1.GcsDestination, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GcsDestination to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GcsDestination * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** ContentType enum. */ enum ContentType { CONTENT_TYPE_UNSPECIFIED = 0, RESOURCE = 1, IAM_POLICY = 2 } /** Properties of a PubsubDestination. */ interface IPubsubDestination { /** PubsubDestination topic */ topic?: (string|null); } /** Represents a PubsubDestination. */ class PubsubDestination implements IPubsubDestination { /** * Constructs a new PubsubDestination. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p2beta1.IPubsubDestination); /** PubsubDestination topic. */ public topic: string; /** * Creates a new PubsubDestination instance using the specified properties. * @param [properties] Properties to set * @returns PubsubDestination instance */ public static create(properties?: google.cloud.asset.v1p2beta1.IPubsubDestination): google.cloud.asset.v1p2beta1.PubsubDestination; /** * Encodes the specified PubsubDestination message. Does not implicitly {@link google.cloud.asset.v1p2beta1.PubsubDestination.verify|verify} messages. * @param message PubsubDestination message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p2beta1.IPubsubDestination, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PubsubDestination message, length delimited. Does not implicitly {@link google.cloud.asset.v1p2beta1.PubsubDestination.verify|verify} messages. * @param message PubsubDestination message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p2beta1.IPubsubDestination, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PubsubDestination message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PubsubDestination * @throws {Error} If the payload is not 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.asset.v1p2beta1.PubsubDestination; /** * Decodes a PubsubDestination message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PubsubDestination * @throws {Error} If the payload 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.asset.v1p2beta1.PubsubDestination; /** * Verifies a PubsubDestination message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PubsubDestination message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PubsubDestination */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p2beta1.PubsubDestination; /** * Creates a plain object from a PubsubDestination message. Also converts values to other types if specified. * @param message PubsubDestination * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p2beta1.PubsubDestination, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PubsubDestination to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PubsubDestination * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FeedOutputConfig. */ interface IFeedOutputConfig { /** FeedOutputConfig pubsubDestination */ pubsubDestination?: (google.cloud.asset.v1p2beta1.IPubsubDestination|null); } /** Represents a FeedOutputConfig. */ class FeedOutputConfig implements IFeedOutputConfig { /** * Constructs a new FeedOutputConfig. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p2beta1.IFeedOutputConfig); /** FeedOutputConfig pubsubDestination. */ public pubsubDestination?: (google.cloud.asset.v1p2beta1.IPubsubDestination|null); /** FeedOutputConfig destination. */ public destination?: "pubsubDestination"; /** * Creates a new FeedOutputConfig instance using the specified properties. * @param [properties] Properties to set * @returns FeedOutputConfig instance */ public static create(properties?: google.cloud.asset.v1p2beta1.IFeedOutputConfig): google.cloud.asset.v1p2beta1.FeedOutputConfig; /** * Encodes the specified FeedOutputConfig message. Does not implicitly {@link google.cloud.asset.v1p2beta1.FeedOutputConfig.verify|verify} messages. * @param message FeedOutputConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p2beta1.IFeedOutputConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FeedOutputConfig message, length delimited. Does not implicitly {@link google.cloud.asset.v1p2beta1.FeedOutputConfig.verify|verify} messages. * @param message FeedOutputConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p2beta1.IFeedOutputConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FeedOutputConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FeedOutputConfig * @throws {Error} If the payload is not 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.asset.v1p2beta1.FeedOutputConfig; /** * Decodes a FeedOutputConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FeedOutputConfig * @throws {Error} If the payload 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.asset.v1p2beta1.FeedOutputConfig; /** * Verifies a FeedOutputConfig message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FeedOutputConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FeedOutputConfig */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p2beta1.FeedOutputConfig; /** * Creates a plain object from a FeedOutputConfig message. Also converts values to other types if specified. * @param message FeedOutputConfig * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p2beta1.FeedOutputConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FeedOutputConfig to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FeedOutputConfig * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Feed. */ interface IFeed { /** Feed name */ name?: (string|null); /** Feed assetNames */ assetNames?: (string[]|null); /** Feed assetTypes */ assetTypes?: (string[]|null); /** Feed contentType */ contentType?: (google.cloud.asset.v1p2beta1.ContentType|keyof typeof google.cloud.asset.v1p2beta1.ContentType|null); /** Feed feedOutputConfig */ feedOutputConfig?: (google.cloud.asset.v1p2beta1.IFeedOutputConfig|null); } /** Represents a Feed. */ class Feed implements IFeed { /** * Constructs a new Feed. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p2beta1.IFeed); /** Feed name. */ public name: string; /** Feed assetNames. */ public assetNames: string[]; /** Feed assetTypes. */ public assetTypes: string[]; /** Feed contentType. */ public contentType: (google.cloud.asset.v1p2beta1.ContentType|keyof typeof google.cloud.asset.v1p2beta1.ContentType); /** Feed feedOutputConfig. */ public feedOutputConfig?: (google.cloud.asset.v1p2beta1.IFeedOutputConfig|null); /** * Creates a new Feed instance using the specified properties. * @param [properties] Properties to set * @returns Feed instance */ public static create(properties?: google.cloud.asset.v1p2beta1.IFeed): google.cloud.asset.v1p2beta1.Feed; /** * Encodes the specified Feed message. Does not implicitly {@link google.cloud.asset.v1p2beta1.Feed.verify|verify} messages. * @param message Feed message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p2beta1.IFeed, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Feed message, length delimited. Does not implicitly {@link google.cloud.asset.v1p2beta1.Feed.verify|verify} messages. * @param message Feed message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p2beta1.IFeed, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Feed message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Feed * @throws {Error} If the payload is not 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.asset.v1p2beta1.Feed; /** * Decodes a Feed message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Feed * @throws {Error} If the payload 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.asset.v1p2beta1.Feed; /** * Verifies a Feed message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Feed message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Feed */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p2beta1.Feed; /** * Creates a plain object from a Feed message. Also converts values to other types if specified. * @param message Feed * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p2beta1.Feed, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Feed to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Feed * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TemporalAsset. */ interface ITemporalAsset { /** TemporalAsset window */ window?: (google.cloud.asset.v1p2beta1.ITimeWindow|null); /** TemporalAsset deleted */ deleted?: (boolean|null); /** TemporalAsset asset */ asset?: (google.cloud.asset.v1p2beta1.IAsset|null); } /** Represents a TemporalAsset. */ class TemporalAsset implements ITemporalAsset { /** * Constructs a new TemporalAsset. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p2beta1.ITemporalAsset); /** TemporalAsset window. */ public window?: (google.cloud.asset.v1p2beta1.ITimeWindow|null); /** TemporalAsset deleted. */ public deleted: boolean; /** TemporalAsset asset. */ public asset?: (google.cloud.asset.v1p2beta1.IAsset|null); /** * Creates a new TemporalAsset instance using the specified properties. * @param [properties] Properties to set * @returns TemporalAsset instance */ public static create(properties?: google.cloud.asset.v1p2beta1.ITemporalAsset): google.cloud.asset.v1p2beta1.TemporalAsset; /** * Encodes the specified TemporalAsset message. Does not implicitly {@link google.cloud.asset.v1p2beta1.TemporalAsset.verify|verify} messages. * @param message TemporalAsset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p2beta1.ITemporalAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TemporalAsset message, length delimited. Does not implicitly {@link google.cloud.asset.v1p2beta1.TemporalAsset.verify|verify} messages. * @param message TemporalAsset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p2beta1.ITemporalAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TemporalAsset message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TemporalAsset * @throws {Error} If the payload is not 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.asset.v1p2beta1.TemporalAsset; /** * Decodes a TemporalAsset message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TemporalAsset * @throws {Error} If the payload 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.asset.v1p2beta1.TemporalAsset; /** * Verifies a TemporalAsset message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TemporalAsset message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TemporalAsset */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p2beta1.TemporalAsset; /** * Creates a plain object from a TemporalAsset message. Also converts values to other types if specified. * @param message TemporalAsset * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p2beta1.TemporalAsset, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TemporalAsset to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for TemporalAsset * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TimeWindow. */ interface ITimeWindow { /** TimeWindow startTime */ startTime?: (google.protobuf.ITimestamp|null); /** TimeWindow endTime */ endTime?: (google.protobuf.ITimestamp|null); } /** Represents a TimeWindow. */ class TimeWindow implements ITimeWindow { /** * Constructs a new TimeWindow. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p2beta1.ITimeWindow); /** TimeWindow startTime. */ public startTime?: (google.protobuf.ITimestamp|null); /** TimeWindow endTime. */ public endTime?: (google.protobuf.ITimestamp|null); /** * Creates a new TimeWindow instance using the specified properties. * @param [properties] Properties to set * @returns TimeWindow instance */ public static create(properties?: google.cloud.asset.v1p2beta1.ITimeWindow): google.cloud.asset.v1p2beta1.TimeWindow; /** * Encodes the specified TimeWindow message. Does not implicitly {@link google.cloud.asset.v1p2beta1.TimeWindow.verify|verify} messages. * @param message TimeWindow message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p2beta1.ITimeWindow, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TimeWindow message, length delimited. Does not implicitly {@link google.cloud.asset.v1p2beta1.TimeWindow.verify|verify} messages. * @param message TimeWindow message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p2beta1.ITimeWindow, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TimeWindow message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TimeWindow * @throws {Error} If the payload is not 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.asset.v1p2beta1.TimeWindow; /** * Decodes a TimeWindow message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TimeWindow * @throws {Error} If the payload 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.asset.v1p2beta1.TimeWindow; /** * Verifies a TimeWindow message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TimeWindow message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TimeWindow */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p2beta1.TimeWindow; /** * Creates a plain object from a TimeWindow message. Also converts values to other types if specified. * @param message TimeWindow * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p2beta1.TimeWindow, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TimeWindow to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for TimeWindow * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Asset. */ interface IAsset { /** Asset name */ name?: (string|null); /** Asset assetType */ assetType?: (string|null); /** Asset resource */ resource?: (google.cloud.asset.v1p2beta1.IResource|null); /** Asset iamPolicy */ iamPolicy?: (google.iam.v1.IPolicy|null); /** Asset ancestors */ ancestors?: (string[]|null); /** Asset accessPolicy */ accessPolicy?: (google.identity.accesscontextmanager.v1.IAccessPolicy|null); /** Asset accessLevel */ accessLevel?: (google.identity.accesscontextmanager.v1.IAccessLevel|null); /** Asset servicePerimeter */ servicePerimeter?: (google.identity.accesscontextmanager.v1.IServicePerimeter|null); /** Asset orgPolicy */ orgPolicy?: (google.cloud.orgpolicy.v1.IPolicy[]|null); } /** Represents an Asset. */ class Asset implements IAsset { /** * Constructs a new Asset. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p2beta1.IAsset); /** Asset name. */ public name: string; /** Asset assetType. */ public assetType: string; /** Asset resource. */ public resource?: (google.cloud.asset.v1p2beta1.IResource|null); /** Asset iamPolicy. */ public iamPolicy?: (google.iam.v1.IPolicy|null); /** Asset ancestors. */ public ancestors: string[]; /** Asset accessPolicy. */ public accessPolicy?: (google.identity.accesscontextmanager.v1.IAccessPolicy|null); /** Asset accessLevel. */ public accessLevel?: (google.identity.accesscontextmanager.v1.IAccessLevel|null); /** Asset servicePerimeter. */ public servicePerimeter?: (google.identity.accesscontextmanager.v1.IServicePerimeter|null); /** Asset orgPolicy. */ public orgPolicy: google.cloud.orgpolicy.v1.IPolicy[]; /** Asset accessContextPolicy. */ public accessContextPolicy?: ("accessPolicy"|"accessLevel"|"servicePerimeter"); /** * Creates a new Asset instance using the specified properties. * @param [properties] Properties to set * @returns Asset instance */ public static create(properties?: google.cloud.asset.v1p2beta1.IAsset): google.cloud.asset.v1p2beta1.Asset; /** * Encodes the specified Asset message. Does not implicitly {@link google.cloud.asset.v1p2beta1.Asset.verify|verify} messages. * @param message Asset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p2beta1.IAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Asset message, length delimited. Does not implicitly {@link google.cloud.asset.v1p2beta1.Asset.verify|verify} messages. * @param message Asset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p2beta1.IAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Asset message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Asset * @throws {Error} If the payload is not 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.asset.v1p2beta1.Asset; /** * Decodes an Asset message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Asset * @throws {Error} If the payload 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.asset.v1p2beta1.Asset; /** * Verifies an Asset message. * @param message Plain 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 Asset message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Asset */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p2beta1.Asset; /** * Creates a plain object from an Asset message. Also converts values to other types if specified. * @param message Asset * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p2beta1.Asset, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Asset to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Asset * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Resource. */ interface IResource { /** Resource version */ version?: (string|null); /** Resource discoveryDocumentUri */ discoveryDocumentUri?: (string|null); /** Resource discoveryName */ discoveryName?: (string|null); /** Resource resourceUrl */ resourceUrl?: (string|null); /** Resource parent */ parent?: (string|null); /** Resource data */ data?: (google.protobuf.IStruct|null); } /** Represents a Resource. */ class Resource implements IResource { /** * Constructs a new Resource. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p2beta1.IResource); /** Resource version. */ public version: string; /** Resource discoveryDocumentUri. */ public discoveryDocumentUri: string; /** Resource discoveryName. */ public discoveryName: string; /** Resource resourceUrl. */ public resourceUrl: string; /** Resource parent. */ public parent: string; /** Resource data. */ public data?: (google.protobuf.IStruct|null); /** * Creates a new Resource instance using the specified properties. * @param [properties] Properties to set * @returns Resource instance */ public static create(properties?: google.cloud.asset.v1p2beta1.IResource): google.cloud.asset.v1p2beta1.Resource; /** * Encodes the specified Resource message. Does not implicitly {@link google.cloud.asset.v1p2beta1.Resource.verify|verify} messages. * @param message Resource message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p2beta1.IResource, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Resource message, length delimited. Does not implicitly {@link google.cloud.asset.v1p2beta1.Resource.verify|verify} messages. * @param message Resource message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p2beta1.IResource, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Resource message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Resource * @throws {Error} If the payload is not 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.asset.v1p2beta1.Resource; /** * Decodes a Resource message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Resource * @throws {Error} If the payload 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.asset.v1p2beta1.Resource; /** * Verifies a Resource message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Resource message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Resource */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p2beta1.Resource; /** * Creates a plain object from a Resource message. Also converts values to other types if specified. * @param message Resource * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p2beta1.Resource, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Resource to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Resource * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Namespace v1p5beta1. */ namespace v1p5beta1 { /** Represents an AssetService */ class AssetService extends $protobuf.rpc.Service { /** * Constructs a new AssetService 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 AssetService 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): AssetService; /** * Calls ListAssets. * @param request ListAssetsRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListAssetsResponse */ public listAssets(request: google.cloud.asset.v1p5beta1.IListAssetsRequest, callback: google.cloud.asset.v1p5beta1.AssetService.ListAssetsCallback): void; /** * Calls ListAssets. * @param request ListAssetsRequest message or plain object * @returns Promise */ public listAssets(request: google.cloud.asset.v1p5beta1.IListAssetsRequest): Promise; } namespace AssetService { /** * Callback as used by {@link google.cloud.asset.v1p5beta1.AssetService|listAssets}. * @param error Error, if any * @param [response] ListAssetsResponse */ type ListAssetsCallback = (error: (Error|null), response?: google.cloud.asset.v1p5beta1.ListAssetsResponse) => void; } /** Properties of a ListAssetsRequest. */ interface IListAssetsRequest { /** ListAssetsRequest parent */ parent?: (string|null); /** ListAssetsRequest readTime */ readTime?: (google.protobuf.ITimestamp|null); /** ListAssetsRequest assetTypes */ assetTypes?: (string[]|null); /** ListAssetsRequest contentType */ contentType?: (google.cloud.asset.v1p5beta1.ContentType|keyof typeof google.cloud.asset.v1p5beta1.ContentType|null); /** ListAssetsRequest pageSize */ pageSize?: (number|null); /** ListAssetsRequest pageToken */ pageToken?: (string|null); } /** Represents a ListAssetsRequest. */ class ListAssetsRequest implements IListAssetsRequest { /** * Constructs a new ListAssetsRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p5beta1.IListAssetsRequest); /** ListAssetsRequest parent. */ public parent: string; /** ListAssetsRequest readTime. */ public readTime?: (google.protobuf.ITimestamp|null); /** ListAssetsRequest assetTypes. */ public assetTypes: string[]; /** ListAssetsRequest contentType. */ public contentType: (google.cloud.asset.v1p5beta1.ContentType|keyof typeof google.cloud.asset.v1p5beta1.ContentType); /** ListAssetsRequest pageSize. */ public pageSize: number; /** ListAssetsRequest pageToken. */ public pageToken: string; /** * Creates a new ListAssetsRequest instance using the specified properties. * @param [properties] Properties to set * @returns ListAssetsRequest instance */ public static create(properties?: google.cloud.asset.v1p5beta1.IListAssetsRequest): google.cloud.asset.v1p5beta1.ListAssetsRequest; /** * Encodes the specified ListAssetsRequest message. Does not implicitly {@link google.cloud.asset.v1p5beta1.ListAssetsRequest.verify|verify} messages. * @param message ListAssetsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p5beta1.IListAssetsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListAssetsRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1p5beta1.ListAssetsRequest.verify|verify} messages. * @param message ListAssetsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p5beta1.IListAssetsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListAssetsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListAssetsRequest * @throws {Error} If the payload is not 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.asset.v1p5beta1.ListAssetsRequest; /** * Decodes a ListAssetsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListAssetsRequest * @throws {Error} If the payload 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.asset.v1p5beta1.ListAssetsRequest; /** * Verifies a ListAssetsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListAssetsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListAssetsRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p5beta1.ListAssetsRequest; /** * Creates a plain object from a ListAssetsRequest message. Also converts values to other types if specified. * @param message ListAssetsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p5beta1.ListAssetsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListAssetsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListAssetsRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListAssetsResponse. */ interface IListAssetsResponse { /** ListAssetsResponse readTime */ readTime?: (google.protobuf.ITimestamp|null); /** ListAssetsResponse assets */ assets?: (google.cloud.asset.v1p5beta1.IAsset[]|null); /** ListAssetsResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents a ListAssetsResponse. */ class ListAssetsResponse implements IListAssetsResponse { /** * Constructs a new ListAssetsResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p5beta1.IListAssetsResponse); /** ListAssetsResponse readTime. */ public readTime?: (google.protobuf.ITimestamp|null); /** ListAssetsResponse assets. */ public assets: google.cloud.asset.v1p5beta1.IAsset[]; /** ListAssetsResponse nextPageToken. */ public nextPageToken: string; /** * Creates a new ListAssetsResponse instance using the specified properties. * @param [properties] Properties to set * @returns ListAssetsResponse instance */ public static create(properties?: google.cloud.asset.v1p5beta1.IListAssetsResponse): google.cloud.asset.v1p5beta1.ListAssetsResponse; /** * Encodes the specified ListAssetsResponse message. Does not implicitly {@link google.cloud.asset.v1p5beta1.ListAssetsResponse.verify|verify} messages. * @param message ListAssetsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p5beta1.IListAssetsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListAssetsResponse message, length delimited. Does not implicitly {@link google.cloud.asset.v1p5beta1.ListAssetsResponse.verify|verify} messages. * @param message ListAssetsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p5beta1.IListAssetsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListAssetsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListAssetsResponse * @throws {Error} If the payload is not 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.asset.v1p5beta1.ListAssetsResponse; /** * Decodes a ListAssetsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListAssetsResponse * @throws {Error} If the payload 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.asset.v1p5beta1.ListAssetsResponse; /** * Verifies a ListAssetsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListAssetsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListAssetsResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p5beta1.ListAssetsResponse; /** * Creates a plain object from a ListAssetsResponse message. Also converts values to other types if specified. * @param message ListAssetsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p5beta1.ListAssetsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListAssetsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListAssetsResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** ContentType enum. */ enum ContentType { CONTENT_TYPE_UNSPECIFIED = 0, RESOURCE = 1, IAM_POLICY = 2, ORG_POLICY = 4, ACCESS_POLICY = 5 } /** Properties of an Asset. */ interface IAsset { /** Asset name */ name?: (string|null); /** Asset assetType */ assetType?: (string|null); /** Asset resource */ resource?: (google.cloud.asset.v1p5beta1.IResource|null); /** Asset iamPolicy */ iamPolicy?: (google.iam.v1.IPolicy|null); /** Asset orgPolicy */ orgPolicy?: (google.cloud.orgpolicy.v1.IPolicy[]|null); /** Asset accessPolicy */ accessPolicy?: (google.identity.accesscontextmanager.v1.IAccessPolicy|null); /** Asset accessLevel */ accessLevel?: (google.identity.accesscontextmanager.v1.IAccessLevel|null); /** Asset servicePerimeter */ servicePerimeter?: (google.identity.accesscontextmanager.v1.IServicePerimeter|null); /** Asset ancestors */ ancestors?: (string[]|null); } /** Represents an Asset. */ class Asset implements IAsset { /** * Constructs a new Asset. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p5beta1.IAsset); /** Asset name. */ public name: string; /** Asset assetType. */ public assetType: string; /** Asset resource. */ public resource?: (google.cloud.asset.v1p5beta1.IResource|null); /** Asset iamPolicy. */ public iamPolicy?: (google.iam.v1.IPolicy|null); /** Asset orgPolicy. */ public orgPolicy: google.cloud.orgpolicy.v1.IPolicy[]; /** Asset accessPolicy. */ public accessPolicy?: (google.identity.accesscontextmanager.v1.IAccessPolicy|null); /** Asset accessLevel. */ public accessLevel?: (google.identity.accesscontextmanager.v1.IAccessLevel|null); /** Asset servicePerimeter. */ public servicePerimeter?: (google.identity.accesscontextmanager.v1.IServicePerimeter|null); /** Asset ancestors. */ public ancestors: string[]; /** Asset accessContextPolicy. */ public accessContextPolicy?: ("accessPolicy"|"accessLevel"|"servicePerimeter"); /** * Creates a new Asset instance using the specified properties. * @param [properties] Properties to set * @returns Asset instance */ public static create(properties?: google.cloud.asset.v1p5beta1.IAsset): google.cloud.asset.v1p5beta1.Asset; /** * Encodes the specified Asset message. Does not implicitly {@link google.cloud.asset.v1p5beta1.Asset.verify|verify} messages. * @param message Asset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p5beta1.IAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Asset message, length delimited. Does not implicitly {@link google.cloud.asset.v1p5beta1.Asset.verify|verify} messages. * @param message Asset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p5beta1.IAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Asset message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Asset * @throws {Error} If the payload is not 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.asset.v1p5beta1.Asset; /** * Decodes an Asset message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Asset * @throws {Error} If the payload 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.asset.v1p5beta1.Asset; /** * Verifies an Asset message. * @param message Plain 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 Asset message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Asset */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p5beta1.Asset; /** * Creates a plain object from an Asset message. Also converts values to other types if specified. * @param message Asset * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p5beta1.Asset, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Asset to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Asset * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Resource. */ interface IResource { /** Resource version */ version?: (string|null); /** Resource discoveryDocumentUri */ discoveryDocumentUri?: (string|null); /** Resource discoveryName */ discoveryName?: (string|null); /** Resource resourceUrl */ resourceUrl?: (string|null); /** Resource parent */ parent?: (string|null); /** Resource data */ data?: (google.protobuf.IStruct|null); } /** Represents a Resource. */ class Resource implements IResource { /** * Constructs a new Resource. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p5beta1.IResource); /** Resource version. */ public version: string; /** Resource discoveryDocumentUri. */ public discoveryDocumentUri: string; /** Resource discoveryName. */ public discoveryName: string; /** Resource resourceUrl. */ public resourceUrl: string; /** Resource parent. */ public parent: string; /** Resource data. */ public data?: (google.protobuf.IStruct|null); /** * Creates a new Resource instance using the specified properties. * @param [properties] Properties to set * @returns Resource instance */ public static create(properties?: google.cloud.asset.v1p5beta1.IResource): google.cloud.asset.v1p5beta1.Resource; /** * Encodes the specified Resource message. Does not implicitly {@link google.cloud.asset.v1p5beta1.Resource.verify|verify} messages. * @param message Resource message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p5beta1.IResource, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Resource message, length delimited. Does not implicitly {@link google.cloud.asset.v1p5beta1.Resource.verify|verify} messages. * @param message Resource message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p5beta1.IResource, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Resource message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Resource * @throws {Error} If the payload is not 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.asset.v1p5beta1.Resource; /** * Decodes a Resource message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Resource * @throws {Error} If the payload 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.asset.v1p5beta1.Resource; /** * Verifies a Resource message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Resource message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Resource */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p5beta1.Resource; /** * Creates a plain object from a Resource message. Also converts values to other types if specified. * @param message Resource * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p5beta1.Resource, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Resource to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Resource * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Namespace v1p7beta1. */ namespace v1p7beta1 { /** Represents an AssetService */ class AssetService extends $protobuf.rpc.Service { /** * Constructs a new AssetService 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 AssetService 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): AssetService; /** * Calls ExportAssets. * @param request ExportAssetsRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public exportAssets(request: google.cloud.asset.v1p7beta1.IExportAssetsRequest, callback: google.cloud.asset.v1p7beta1.AssetService.ExportAssetsCallback): void; /** * Calls ExportAssets. * @param request ExportAssetsRequest message or plain object * @returns Promise */ public exportAssets(request: google.cloud.asset.v1p7beta1.IExportAssetsRequest): Promise; } namespace AssetService { /** * Callback as used by {@link google.cloud.asset.v1p7beta1.AssetService|exportAssets}. * @param error Error, if any * @param [response] Operation */ type ExportAssetsCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; } /** Properties of an ExportAssetsRequest. */ interface IExportAssetsRequest { /** ExportAssetsRequest parent */ parent?: (string|null); /** ExportAssetsRequest readTime */ readTime?: (google.protobuf.ITimestamp|null); /** ExportAssetsRequest assetTypes */ assetTypes?: (string[]|null); /** ExportAssetsRequest contentType */ contentType?: (google.cloud.asset.v1p7beta1.ContentType|keyof typeof google.cloud.asset.v1p7beta1.ContentType|null); /** ExportAssetsRequest outputConfig */ outputConfig?: (google.cloud.asset.v1p7beta1.IOutputConfig|null); /** ExportAssetsRequest relationshipTypes */ relationshipTypes?: (string[]|null); } /** Represents an ExportAssetsRequest. */ class ExportAssetsRequest implements IExportAssetsRequest { /** * Constructs a new ExportAssetsRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p7beta1.IExportAssetsRequest); /** ExportAssetsRequest parent. */ public parent: string; /** ExportAssetsRequest readTime. */ public readTime?: (google.protobuf.ITimestamp|null); /** ExportAssetsRequest assetTypes. */ public assetTypes: string[]; /** ExportAssetsRequest contentType. */ public contentType: (google.cloud.asset.v1p7beta1.ContentType|keyof typeof google.cloud.asset.v1p7beta1.ContentType); /** ExportAssetsRequest outputConfig. */ public outputConfig?: (google.cloud.asset.v1p7beta1.IOutputConfig|null); /** ExportAssetsRequest relationshipTypes. */ public relationshipTypes: string[]; /** * Creates a new ExportAssetsRequest instance using the specified properties. * @param [properties] Properties to set * @returns ExportAssetsRequest instance */ public static create(properties?: google.cloud.asset.v1p7beta1.IExportAssetsRequest): google.cloud.asset.v1p7beta1.ExportAssetsRequest; /** * Encodes the specified ExportAssetsRequest message. Does not implicitly {@link google.cloud.asset.v1p7beta1.ExportAssetsRequest.verify|verify} messages. * @param message ExportAssetsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p7beta1.IExportAssetsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ExportAssetsRequest message, length delimited. Does not implicitly {@link google.cloud.asset.v1p7beta1.ExportAssetsRequest.verify|verify} messages. * @param message ExportAssetsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p7beta1.IExportAssetsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ExportAssetsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ExportAssetsRequest * @throws {Error} If the payload is not 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.asset.v1p7beta1.ExportAssetsRequest; /** * Decodes an ExportAssetsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ExportAssetsRequest * @throws {Error} If the payload 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.asset.v1p7beta1.ExportAssetsRequest; /** * Verifies an ExportAssetsRequest message. * @param message Plain 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 ExportAssetsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExportAssetsRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p7beta1.ExportAssetsRequest; /** * Creates a plain object from an ExportAssetsRequest message. Also converts values to other types if specified. * @param message ExportAssetsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p7beta1.ExportAssetsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExportAssetsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ExportAssetsRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ExportAssetsResponse. */ interface IExportAssetsResponse { /** ExportAssetsResponse readTime */ readTime?: (google.protobuf.ITimestamp|null); /** ExportAssetsResponse outputConfig */ outputConfig?: (google.cloud.asset.v1p7beta1.IOutputConfig|null); /** ExportAssetsResponse outputResult */ outputResult?: (google.cloud.asset.v1p7beta1.IOutputResult|null); } /** Represents an ExportAssetsResponse. */ class ExportAssetsResponse implements IExportAssetsResponse { /** * Constructs a new ExportAssetsResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p7beta1.IExportAssetsResponse); /** ExportAssetsResponse readTime. */ public readTime?: (google.protobuf.ITimestamp|null); /** ExportAssetsResponse outputConfig. */ public outputConfig?: (google.cloud.asset.v1p7beta1.IOutputConfig|null); /** ExportAssetsResponse outputResult. */ public outputResult?: (google.cloud.asset.v1p7beta1.IOutputResult|null); /** * Creates a new ExportAssetsResponse instance using the specified properties. * @param [properties] Properties to set * @returns ExportAssetsResponse instance */ public static create(properties?: google.cloud.asset.v1p7beta1.IExportAssetsResponse): google.cloud.asset.v1p7beta1.ExportAssetsResponse; /** * Encodes the specified ExportAssetsResponse message. Does not implicitly {@link google.cloud.asset.v1p7beta1.ExportAssetsResponse.verify|verify} messages. * @param message ExportAssetsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p7beta1.IExportAssetsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ExportAssetsResponse message, length delimited. Does not implicitly {@link google.cloud.asset.v1p7beta1.ExportAssetsResponse.verify|verify} messages. * @param message ExportAssetsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p7beta1.IExportAssetsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ExportAssetsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ExportAssetsResponse * @throws {Error} If the payload is not 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.asset.v1p7beta1.ExportAssetsResponse; /** * Decodes an ExportAssetsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ExportAssetsResponse * @throws {Error} If the payload 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.asset.v1p7beta1.ExportAssetsResponse; /** * Verifies an ExportAssetsResponse message. * @param message Plain 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 ExportAssetsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExportAssetsResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p7beta1.ExportAssetsResponse; /** * Creates a plain object from an ExportAssetsResponse message. Also converts values to other types if specified. * @param message ExportAssetsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p7beta1.ExportAssetsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExportAssetsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ExportAssetsResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an OutputConfig. */ interface IOutputConfig { /** OutputConfig gcsDestination */ gcsDestination?: (google.cloud.asset.v1p7beta1.IGcsDestination|null); /** OutputConfig bigqueryDestination */ bigqueryDestination?: (google.cloud.asset.v1p7beta1.IBigQueryDestination|null); } /** Represents an OutputConfig. */ class OutputConfig implements IOutputConfig { /** * Constructs a new OutputConfig. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p7beta1.IOutputConfig); /** OutputConfig gcsDestination. */ public gcsDestination?: (google.cloud.asset.v1p7beta1.IGcsDestination|null); /** OutputConfig bigqueryDestination. */ public bigqueryDestination?: (google.cloud.asset.v1p7beta1.IBigQueryDestination|null); /** OutputConfig destination. */ public destination?: ("gcsDestination"|"bigqueryDestination"); /** * Creates a new OutputConfig instance using the specified properties. * @param [properties] Properties to set * @returns OutputConfig instance */ public static create(properties?: google.cloud.asset.v1p7beta1.IOutputConfig): google.cloud.asset.v1p7beta1.OutputConfig; /** * Encodes the specified OutputConfig message. Does not implicitly {@link google.cloud.asset.v1p7beta1.OutputConfig.verify|verify} messages. * @param message OutputConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p7beta1.IOutputConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified OutputConfig message, length delimited. Does not implicitly {@link google.cloud.asset.v1p7beta1.OutputConfig.verify|verify} messages. * @param message OutputConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p7beta1.IOutputConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an OutputConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns OutputConfig * @throws {Error} If the payload is not 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.asset.v1p7beta1.OutputConfig; /** * Decodes an OutputConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns OutputConfig * @throws {Error} If the payload 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.asset.v1p7beta1.OutputConfig; /** * Verifies an OutputConfig message. * @param message Plain 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 OutputConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns OutputConfig */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p7beta1.OutputConfig; /** * Creates a plain object from an OutputConfig message. Also converts values to other types if specified. * @param message OutputConfig * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p7beta1.OutputConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this OutputConfig to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for OutputConfig * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an OutputResult. */ interface IOutputResult { /** OutputResult gcsResult */ gcsResult?: (google.cloud.asset.v1p7beta1.IGcsOutputResult|null); } /** Represents an OutputResult. */ class OutputResult implements IOutputResult { /** * Constructs a new OutputResult. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p7beta1.IOutputResult); /** OutputResult gcsResult. */ public gcsResult?: (google.cloud.asset.v1p7beta1.IGcsOutputResult|null); /** OutputResult result. */ public result?: "gcsResult"; /** * Creates a new OutputResult instance using the specified properties. * @param [properties] Properties to set * @returns OutputResult instance */ public static create(properties?: google.cloud.asset.v1p7beta1.IOutputResult): google.cloud.asset.v1p7beta1.OutputResult; /** * Encodes the specified OutputResult message. Does not implicitly {@link google.cloud.asset.v1p7beta1.OutputResult.verify|verify} messages. * @param message OutputResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p7beta1.IOutputResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified OutputResult message, length delimited. Does not implicitly {@link google.cloud.asset.v1p7beta1.OutputResult.verify|verify} messages. * @param message OutputResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p7beta1.IOutputResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an OutputResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns OutputResult * @throws {Error} If the payload is not 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.asset.v1p7beta1.OutputResult; /** * Decodes an OutputResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns OutputResult * @throws {Error} If the payload 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.asset.v1p7beta1.OutputResult; /** * Verifies an OutputResult message. * @param message Plain 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 OutputResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns OutputResult */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p7beta1.OutputResult; /** * Creates a plain object from an OutputResult message. Also converts values to other types if specified. * @param message OutputResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p7beta1.OutputResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this OutputResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for OutputResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GcsOutputResult. */ interface IGcsOutputResult { /** GcsOutputResult uris */ uris?: (string[]|null); } /** Represents a GcsOutputResult. */ class GcsOutputResult implements IGcsOutputResult { /** * Constructs a new GcsOutputResult. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p7beta1.IGcsOutputResult); /** GcsOutputResult uris. */ public uris: string[]; /** * Creates a new GcsOutputResult instance using the specified properties. * @param [properties] Properties to set * @returns GcsOutputResult instance */ public static create(properties?: google.cloud.asset.v1p7beta1.IGcsOutputResult): google.cloud.asset.v1p7beta1.GcsOutputResult; /** * Encodes the specified GcsOutputResult message. Does not implicitly {@link google.cloud.asset.v1p7beta1.GcsOutputResult.verify|verify} messages. * @param message GcsOutputResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p7beta1.IGcsOutputResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GcsOutputResult message, length delimited. Does not implicitly {@link google.cloud.asset.v1p7beta1.GcsOutputResult.verify|verify} messages. * @param message GcsOutputResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p7beta1.IGcsOutputResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GcsOutputResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GcsOutputResult * @throws {Error} If the payload is not 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.asset.v1p7beta1.GcsOutputResult; /** * Decodes a GcsOutputResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GcsOutputResult * @throws {Error} If the payload 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.asset.v1p7beta1.GcsOutputResult; /** * Verifies a GcsOutputResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GcsOutputResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GcsOutputResult */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p7beta1.GcsOutputResult; /** * Creates a plain object from a GcsOutputResult message. Also converts values to other types if specified. * @param message GcsOutputResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p7beta1.GcsOutputResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GcsOutputResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GcsOutputResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GcsDestination. */ interface IGcsDestination { /** GcsDestination uri */ uri?: (string|null); /** GcsDestination uriPrefix */ uriPrefix?: (string|null); } /** Represents a GcsDestination. */ class GcsDestination implements IGcsDestination { /** * Constructs a new GcsDestination. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p7beta1.IGcsDestination); /** GcsDestination uri. */ public uri?: (string|null); /** GcsDestination uriPrefix. */ public uriPrefix?: (string|null); /** GcsDestination objectUri. */ public objectUri?: ("uri"|"uriPrefix"); /** * Creates a new GcsDestination instance using the specified properties. * @param [properties] Properties to set * @returns GcsDestination instance */ public static create(properties?: google.cloud.asset.v1p7beta1.IGcsDestination): google.cloud.asset.v1p7beta1.GcsDestination; /** * Encodes the specified GcsDestination message. Does not implicitly {@link google.cloud.asset.v1p7beta1.GcsDestination.verify|verify} messages. * @param message GcsDestination message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p7beta1.IGcsDestination, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GcsDestination message, length delimited. Does not implicitly {@link google.cloud.asset.v1p7beta1.GcsDestination.verify|verify} messages. * @param message GcsDestination message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p7beta1.IGcsDestination, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GcsDestination message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GcsDestination * @throws {Error} If the payload is not 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.asset.v1p7beta1.GcsDestination; /** * Decodes a GcsDestination message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GcsDestination * @throws {Error} If the payload 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.asset.v1p7beta1.GcsDestination; /** * Verifies a GcsDestination message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GcsDestination message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GcsDestination */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p7beta1.GcsDestination; /** * Creates a plain object from a GcsDestination message. Also converts values to other types if specified. * @param message GcsDestination * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p7beta1.GcsDestination, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GcsDestination to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GcsDestination * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BigQueryDestination. */ interface IBigQueryDestination { /** BigQueryDestination dataset */ dataset?: (string|null); /** BigQueryDestination table */ table?: (string|null); /** BigQueryDestination force */ force?: (boolean|null); /** BigQueryDestination partitionSpec */ partitionSpec?: (google.cloud.asset.v1p7beta1.IPartitionSpec|null); /** BigQueryDestination separateTablesPerAssetType */ separateTablesPerAssetType?: (boolean|null); } /** Represents a BigQueryDestination. */ class BigQueryDestination implements IBigQueryDestination { /** * Constructs a new BigQueryDestination. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p7beta1.IBigQueryDestination); /** BigQueryDestination dataset. */ public dataset: string; /** BigQueryDestination table. */ public table: string; /** BigQueryDestination force. */ public force: boolean; /** BigQueryDestination partitionSpec. */ public partitionSpec?: (google.cloud.asset.v1p7beta1.IPartitionSpec|null); /** BigQueryDestination separateTablesPerAssetType. */ public separateTablesPerAssetType: boolean; /** * Creates a new BigQueryDestination instance using the specified properties. * @param [properties] Properties to set * @returns BigQueryDestination instance */ public static create(properties?: google.cloud.asset.v1p7beta1.IBigQueryDestination): google.cloud.asset.v1p7beta1.BigQueryDestination; /** * Encodes the specified BigQueryDestination message. Does not implicitly {@link google.cloud.asset.v1p7beta1.BigQueryDestination.verify|verify} messages. * @param message BigQueryDestination message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p7beta1.IBigQueryDestination, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BigQueryDestination message, length delimited. Does not implicitly {@link google.cloud.asset.v1p7beta1.BigQueryDestination.verify|verify} messages. * @param message BigQueryDestination message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p7beta1.IBigQueryDestination, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BigQueryDestination message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BigQueryDestination * @throws {Error} If the payload is not 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.asset.v1p7beta1.BigQueryDestination; /** * Decodes a BigQueryDestination message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BigQueryDestination * @throws {Error} If the payload 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.asset.v1p7beta1.BigQueryDestination; /** * Verifies a BigQueryDestination message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BigQueryDestination message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BigQueryDestination */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p7beta1.BigQueryDestination; /** * Creates a plain object from a BigQueryDestination message. Also converts values to other types if specified. * @param message BigQueryDestination * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p7beta1.BigQueryDestination, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BigQueryDestination to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BigQueryDestination * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PartitionSpec. */ interface IPartitionSpec { /** PartitionSpec partitionKey */ partitionKey?: (google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey|keyof typeof google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey|null); } /** Represents a PartitionSpec. */ class PartitionSpec implements IPartitionSpec { /** * Constructs a new PartitionSpec. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p7beta1.IPartitionSpec); /** PartitionSpec partitionKey. */ public partitionKey: (google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey|keyof typeof google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey); /** * Creates a new PartitionSpec instance using the specified properties. * @param [properties] Properties to set * @returns PartitionSpec instance */ public static create(properties?: google.cloud.asset.v1p7beta1.IPartitionSpec): google.cloud.asset.v1p7beta1.PartitionSpec; /** * Encodes the specified PartitionSpec message. Does not implicitly {@link google.cloud.asset.v1p7beta1.PartitionSpec.verify|verify} messages. * @param message PartitionSpec message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p7beta1.IPartitionSpec, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PartitionSpec message, length delimited. Does not implicitly {@link google.cloud.asset.v1p7beta1.PartitionSpec.verify|verify} messages. * @param message PartitionSpec message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p7beta1.IPartitionSpec, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PartitionSpec message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PartitionSpec * @throws {Error} If the payload is not 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.asset.v1p7beta1.PartitionSpec; /** * Decodes a PartitionSpec message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PartitionSpec * @throws {Error} If the payload 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.asset.v1p7beta1.PartitionSpec; /** * Verifies a PartitionSpec message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PartitionSpec message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PartitionSpec */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p7beta1.PartitionSpec; /** * Creates a plain object from a PartitionSpec message. Also converts values to other types if specified. * @param message PartitionSpec * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p7beta1.PartitionSpec, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PartitionSpec to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PartitionSpec * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace PartitionSpec { /** PartitionKey enum. */ enum PartitionKey { PARTITION_KEY_UNSPECIFIED = 0, READ_TIME = 1, REQUEST_TIME = 2 } } /** ContentType enum. */ enum ContentType { CONTENT_TYPE_UNSPECIFIED = 0, RESOURCE = 1, IAM_POLICY = 2, ORG_POLICY = 4, ACCESS_POLICY = 5, RELATIONSHIP = 7 } /** Properties of an Asset. */ interface IAsset { /** Asset updateTime */ updateTime?: (google.protobuf.ITimestamp|null); /** Asset name */ name?: (string|null); /** Asset assetType */ assetType?: (string|null); /** Asset resource */ resource?: (google.cloud.asset.v1p7beta1.IResource|null); /** Asset iamPolicy */ iamPolicy?: (google.iam.v1.IPolicy|null); /** Asset orgPolicy */ orgPolicy?: (google.cloud.orgpolicy.v1.IPolicy[]|null); /** Asset accessPolicy */ accessPolicy?: (google.identity.accesscontextmanager.v1.IAccessPolicy|null); /** Asset accessLevel */ accessLevel?: (google.identity.accesscontextmanager.v1.IAccessLevel|null); /** Asset servicePerimeter */ servicePerimeter?: (google.identity.accesscontextmanager.v1.IServicePerimeter|null); /** Asset relatedAssets */ relatedAssets?: (google.cloud.asset.v1p7beta1.IRelatedAssets|null); /** Asset ancestors */ ancestors?: (string[]|null); } /** Represents an Asset. */ class Asset implements IAsset { /** * Constructs a new Asset. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p7beta1.IAsset); /** Asset updateTime. */ public updateTime?: (google.protobuf.ITimestamp|null); /** Asset name. */ public name: string; /** Asset assetType. */ public assetType: string; /** Asset resource. */ public resource?: (google.cloud.asset.v1p7beta1.IResource|null); /** Asset iamPolicy. */ public iamPolicy?: (google.iam.v1.IPolicy|null); /** Asset orgPolicy. */ public orgPolicy: google.cloud.orgpolicy.v1.IPolicy[]; /** Asset accessPolicy. */ public accessPolicy?: (google.identity.accesscontextmanager.v1.IAccessPolicy|null); /** Asset accessLevel. */ public accessLevel?: (google.identity.accesscontextmanager.v1.IAccessLevel|null); /** Asset servicePerimeter. */ public servicePerimeter?: (google.identity.accesscontextmanager.v1.IServicePerimeter|null); /** Asset relatedAssets. */ public relatedAssets?: (google.cloud.asset.v1p7beta1.IRelatedAssets|null); /** Asset ancestors. */ public ancestors: string[]; /** Asset accessContextPolicy. */ public accessContextPolicy?: ("accessPolicy"|"accessLevel"|"servicePerimeter"); /** * Creates a new Asset instance using the specified properties. * @param [properties] Properties to set * @returns Asset instance */ public static create(properties?: google.cloud.asset.v1p7beta1.IAsset): google.cloud.asset.v1p7beta1.Asset; /** * Encodes the specified Asset message. Does not implicitly {@link google.cloud.asset.v1p7beta1.Asset.verify|verify} messages. * @param message Asset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p7beta1.IAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Asset message, length delimited. Does not implicitly {@link google.cloud.asset.v1p7beta1.Asset.verify|verify} messages. * @param message Asset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p7beta1.IAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Asset message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Asset * @throws {Error} If the payload is not 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.asset.v1p7beta1.Asset; /** * Decodes an Asset message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Asset * @throws {Error} If the payload 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.asset.v1p7beta1.Asset; /** * Verifies an Asset message. * @param message Plain 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 Asset message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Asset */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p7beta1.Asset; /** * Creates a plain object from an Asset message. Also converts values to other types if specified. * @param message Asset * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p7beta1.Asset, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Asset to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Asset * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Resource. */ interface IResource { /** Resource version */ version?: (string|null); /** Resource discoveryDocumentUri */ discoveryDocumentUri?: (string|null); /** Resource discoveryName */ discoveryName?: (string|null); /** Resource resourceUrl */ resourceUrl?: (string|null); /** Resource parent */ parent?: (string|null); /** Resource data */ data?: (google.protobuf.IStruct|null); /** Resource location */ location?: (string|null); } /** Represents a Resource. */ class Resource implements IResource { /** * Constructs a new Resource. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p7beta1.IResource); /** Resource version. */ public version: string; /** Resource discoveryDocumentUri. */ public discoveryDocumentUri: string; /** Resource discoveryName. */ public discoveryName: string; /** Resource resourceUrl. */ public resourceUrl: string; /** Resource parent. */ public parent: string; /** Resource data. */ public data?: (google.protobuf.IStruct|null); /** Resource location. */ public location: string; /** * Creates a new Resource instance using the specified properties. * @param [properties] Properties to set * @returns Resource instance */ public static create(properties?: google.cloud.asset.v1p7beta1.IResource): google.cloud.asset.v1p7beta1.Resource; /** * Encodes the specified Resource message. Does not implicitly {@link google.cloud.asset.v1p7beta1.Resource.verify|verify} messages. * @param message Resource message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p7beta1.IResource, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Resource message, length delimited. Does not implicitly {@link google.cloud.asset.v1p7beta1.Resource.verify|verify} messages. * @param message Resource message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p7beta1.IResource, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Resource message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Resource * @throws {Error} If the payload is not 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.asset.v1p7beta1.Resource; /** * Decodes a Resource message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Resource * @throws {Error} If the payload 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.asset.v1p7beta1.Resource; /** * Verifies a Resource message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Resource message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Resource */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p7beta1.Resource; /** * Creates a plain object from a Resource message. Also converts values to other types if specified. * @param message Resource * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p7beta1.Resource, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Resource to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Resource * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RelatedAssets. */ interface IRelatedAssets { /** RelatedAssets relationshipAttributes */ relationshipAttributes?: (google.cloud.asset.v1p7beta1.IRelationshipAttributes|null); /** RelatedAssets assets */ assets?: (google.cloud.asset.v1p7beta1.IRelatedAsset[]|null); } /** Represents a RelatedAssets. */ class RelatedAssets implements IRelatedAssets { /** * Constructs a new RelatedAssets. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p7beta1.IRelatedAssets); /** RelatedAssets relationshipAttributes. */ public relationshipAttributes?: (google.cloud.asset.v1p7beta1.IRelationshipAttributes|null); /** RelatedAssets assets. */ public assets: google.cloud.asset.v1p7beta1.IRelatedAsset[]; /** * Creates a new RelatedAssets instance using the specified properties. * @param [properties] Properties to set * @returns RelatedAssets instance */ public static create(properties?: google.cloud.asset.v1p7beta1.IRelatedAssets): google.cloud.asset.v1p7beta1.RelatedAssets; /** * Encodes the specified RelatedAssets message. Does not implicitly {@link google.cloud.asset.v1p7beta1.RelatedAssets.verify|verify} messages. * @param message RelatedAssets message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p7beta1.IRelatedAssets, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RelatedAssets message, length delimited. Does not implicitly {@link google.cloud.asset.v1p7beta1.RelatedAssets.verify|verify} messages. * @param message RelatedAssets message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p7beta1.IRelatedAssets, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RelatedAssets message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RelatedAssets * @throws {Error} If the payload is not 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.asset.v1p7beta1.RelatedAssets; /** * Decodes a RelatedAssets message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RelatedAssets * @throws {Error} If the payload 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.asset.v1p7beta1.RelatedAssets; /** * Verifies a RelatedAssets message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RelatedAssets message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RelatedAssets */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p7beta1.RelatedAssets; /** * Creates a plain object from a RelatedAssets message. Also converts values to other types if specified. * @param message RelatedAssets * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p7beta1.RelatedAssets, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RelatedAssets to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RelatedAssets * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RelationshipAttributes. */ interface IRelationshipAttributes { /** RelationshipAttributes type */ type?: (string|null); /** RelationshipAttributes sourceResourceType */ sourceResourceType?: (string|null); /** RelationshipAttributes targetResourceType */ targetResourceType?: (string|null); /** RelationshipAttributes action */ action?: (string|null); } /** Represents a RelationshipAttributes. */ class RelationshipAttributes implements IRelationshipAttributes { /** * Constructs a new RelationshipAttributes. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p7beta1.IRelationshipAttributes); /** RelationshipAttributes type. */ public type: string; /** RelationshipAttributes sourceResourceType. */ public sourceResourceType: string; /** RelationshipAttributes targetResourceType. */ public targetResourceType: string; /** RelationshipAttributes action. */ public action: string; /** * Creates a new RelationshipAttributes instance using the specified properties. * @param [properties] Properties to set * @returns RelationshipAttributes instance */ public static create(properties?: google.cloud.asset.v1p7beta1.IRelationshipAttributes): google.cloud.asset.v1p7beta1.RelationshipAttributes; /** * Encodes the specified RelationshipAttributes message. Does not implicitly {@link google.cloud.asset.v1p7beta1.RelationshipAttributes.verify|verify} messages. * @param message RelationshipAttributes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p7beta1.IRelationshipAttributes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RelationshipAttributes message, length delimited. Does not implicitly {@link google.cloud.asset.v1p7beta1.RelationshipAttributes.verify|verify} messages. * @param message RelationshipAttributes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p7beta1.IRelationshipAttributes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RelationshipAttributes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RelationshipAttributes * @throws {Error} If the payload is not 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.asset.v1p7beta1.RelationshipAttributes; /** * Decodes a RelationshipAttributes message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RelationshipAttributes * @throws {Error} If the payload 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.asset.v1p7beta1.RelationshipAttributes; /** * Verifies a RelationshipAttributes message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RelationshipAttributes message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RelationshipAttributes */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p7beta1.RelationshipAttributes; /** * Creates a plain object from a RelationshipAttributes message. Also converts values to other types if specified. * @param message RelationshipAttributes * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p7beta1.RelationshipAttributes, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RelationshipAttributes to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RelationshipAttributes * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RelatedAsset. */ interface IRelatedAsset { /** RelatedAsset asset */ asset?: (string|null); /** RelatedAsset assetType */ assetType?: (string|null); /** RelatedAsset ancestors */ ancestors?: (string[]|null); } /** Represents a RelatedAsset. */ class RelatedAsset implements IRelatedAsset { /** * Constructs a new RelatedAsset. * @param [properties] Properties to set */ constructor(properties?: google.cloud.asset.v1p7beta1.IRelatedAsset); /** RelatedAsset asset. */ public asset: string; /** RelatedAsset assetType. */ public assetType: string; /** RelatedAsset ancestors. */ public ancestors: string[]; /** * Creates a new RelatedAsset instance using the specified properties. * @param [properties] Properties to set * @returns RelatedAsset instance */ public static create(properties?: google.cloud.asset.v1p7beta1.IRelatedAsset): google.cloud.asset.v1p7beta1.RelatedAsset; /** * Encodes the specified RelatedAsset message. Does not implicitly {@link google.cloud.asset.v1p7beta1.RelatedAsset.verify|verify} messages. * @param message RelatedAsset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.asset.v1p7beta1.IRelatedAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RelatedAsset message, length delimited. Does not implicitly {@link google.cloud.asset.v1p7beta1.RelatedAsset.verify|verify} messages. * @param message RelatedAsset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.asset.v1p7beta1.IRelatedAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RelatedAsset message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RelatedAsset * @throws {Error} If the payload is not 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.asset.v1p7beta1.RelatedAsset; /** * Decodes a RelatedAsset message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RelatedAsset * @throws {Error} If the payload 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.asset.v1p7beta1.RelatedAsset; /** * Verifies a RelatedAsset message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RelatedAsset message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RelatedAsset */ public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p7beta1.RelatedAsset; /** * Creates a plain object from a RelatedAsset message. Also converts values to other types if specified. * @param message RelatedAsset * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.asset.v1p7beta1.RelatedAsset, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RelatedAsset to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RelatedAsset * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } } /** Namespace orgpolicy. */ namespace orgpolicy { /** Namespace v1. */ namespace v1 { /** Properties of a Policy. */ interface IPolicy { /** Policy version */ version?: (number|null); /** Policy constraint */ constraint?: (string|null); /** Policy etag */ etag?: (Uint8Array|Buffer|string|null); /** Policy updateTime */ updateTime?: (google.protobuf.ITimestamp|null); /** Policy listPolicy */ listPolicy?: (google.cloud.orgpolicy.v1.Policy.IListPolicy|null); /** Policy booleanPolicy */ booleanPolicy?: (google.cloud.orgpolicy.v1.Policy.IBooleanPolicy|null); /** Policy restoreDefault */ restoreDefault?: (google.cloud.orgpolicy.v1.Policy.IRestoreDefault|null); } /** Represents a Policy. */ class Policy implements IPolicy { /** * Constructs a new Policy. * @param [properties] Properties to set */ constructor(properties?: google.cloud.orgpolicy.v1.IPolicy); /** Policy version. */ public version: number; /** Policy constraint. */ public constraint: string; /** Policy etag. */ public etag: (Uint8Array|Buffer|string); /** Policy updateTime. */ public updateTime?: (google.protobuf.ITimestamp|null); /** Policy listPolicy. */ public listPolicy?: (google.cloud.orgpolicy.v1.Policy.IListPolicy|null); /** Policy booleanPolicy. */ public booleanPolicy?: (google.cloud.orgpolicy.v1.Policy.IBooleanPolicy|null); /** Policy restoreDefault. */ public restoreDefault?: (google.cloud.orgpolicy.v1.Policy.IRestoreDefault|null); /** Policy policyType. */ public policyType?: ("listPolicy"|"booleanPolicy"|"restoreDefault"); /** * Creates a new Policy instance using the specified properties. * @param [properties] Properties to set * @returns Policy instance */ public static create(properties?: google.cloud.orgpolicy.v1.IPolicy): google.cloud.orgpolicy.v1.Policy; /** * Encodes the specified Policy message. Does not implicitly {@link google.cloud.orgpolicy.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.cloud.orgpolicy.v1.IPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Policy message, length delimited. Does not implicitly {@link google.cloud.orgpolicy.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.cloud.orgpolicy.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.cloud.orgpolicy.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.cloud.orgpolicy.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.cloud.orgpolicy.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.cloud.orgpolicy.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; } namespace Policy { /** Properties of a ListPolicy. */ interface IListPolicy { /** ListPolicy allowedValues */ allowedValues?: (string[]|null); /** ListPolicy deniedValues */ deniedValues?: (string[]|null); /** ListPolicy allValues */ allValues?: (google.cloud.orgpolicy.v1.Policy.ListPolicy.AllValues|keyof typeof google.cloud.orgpolicy.v1.Policy.ListPolicy.AllValues|null); /** ListPolicy suggestedValue */ suggestedValue?: (string|null); /** ListPolicy inheritFromParent */ inheritFromParent?: (boolean|null); } /** Represents a ListPolicy. */ class ListPolicy implements IListPolicy { /** * Constructs a new ListPolicy. * @param [properties] Properties to set */ constructor(properties?: google.cloud.orgpolicy.v1.Policy.IListPolicy); /** ListPolicy allowedValues. */ public allowedValues: string[]; /** ListPolicy deniedValues. */ public deniedValues: string[]; /** ListPolicy allValues. */ public allValues: (google.cloud.orgpolicy.v1.Policy.ListPolicy.AllValues|keyof typeof google.cloud.orgpolicy.v1.Policy.ListPolicy.AllValues); /** ListPolicy suggestedValue. */ public suggestedValue: string; /** ListPolicy inheritFromParent. */ public inheritFromParent: boolean; /** * Creates a new ListPolicy instance using the specified properties. * @param [properties] Properties to set * @returns ListPolicy instance */ public static create(properties?: google.cloud.orgpolicy.v1.Policy.IListPolicy): google.cloud.orgpolicy.v1.Policy.ListPolicy; /** * Encodes the specified ListPolicy message. Does not implicitly {@link google.cloud.orgpolicy.v1.Policy.ListPolicy.verify|verify} messages. * @param message ListPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.orgpolicy.v1.Policy.IListPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListPolicy message, length delimited. Does not implicitly {@link google.cloud.orgpolicy.v1.Policy.ListPolicy.verify|verify} messages. * @param message ListPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.orgpolicy.v1.Policy.IListPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListPolicy message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListPolicy * @throws {Error} If the payload is not 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.orgpolicy.v1.Policy.ListPolicy; /** * Decodes a ListPolicy message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListPolicy * @throws {Error} If the payload 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.orgpolicy.v1.Policy.ListPolicy; /** * Verifies a ListPolicy message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListPolicy message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListPolicy */ public static fromObject(object: { [k: string]: any }): google.cloud.orgpolicy.v1.Policy.ListPolicy; /** * Creates a plain object from a ListPolicy message. Also converts values to other types if specified. * @param message ListPolicy * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.orgpolicy.v1.Policy.ListPolicy, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListPolicy to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListPolicy * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ListPolicy { /** AllValues enum. */ enum AllValues { ALL_VALUES_UNSPECIFIED = 0, ALLOW = 1, DENY = 2 } } /** Properties of a BooleanPolicy. */ interface IBooleanPolicy { /** BooleanPolicy enforced */ enforced?: (boolean|null); } /** Represents a BooleanPolicy. */ class BooleanPolicy implements IBooleanPolicy { /** * Constructs a new BooleanPolicy. * @param [properties] Properties to set */ constructor(properties?: google.cloud.orgpolicy.v1.Policy.IBooleanPolicy); /** BooleanPolicy enforced. */ public enforced: boolean; /** * Creates a new BooleanPolicy instance using the specified properties. * @param [properties] Properties to set * @returns BooleanPolicy instance */ public static create(properties?: google.cloud.orgpolicy.v1.Policy.IBooleanPolicy): google.cloud.orgpolicy.v1.Policy.BooleanPolicy; /** * Encodes the specified BooleanPolicy message. Does not implicitly {@link google.cloud.orgpolicy.v1.Policy.BooleanPolicy.verify|verify} messages. * @param message BooleanPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.orgpolicy.v1.Policy.IBooleanPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BooleanPolicy message, length delimited. Does not implicitly {@link google.cloud.orgpolicy.v1.Policy.BooleanPolicy.verify|verify} messages. * @param message BooleanPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.orgpolicy.v1.Policy.IBooleanPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BooleanPolicy message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BooleanPolicy * @throws {Error} If the payload is not 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.orgpolicy.v1.Policy.BooleanPolicy; /** * Decodes a BooleanPolicy message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BooleanPolicy * @throws {Error} If the payload 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.orgpolicy.v1.Policy.BooleanPolicy; /** * Verifies a BooleanPolicy message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BooleanPolicy message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BooleanPolicy */ public static fromObject(object: { [k: string]: any }): google.cloud.orgpolicy.v1.Policy.BooleanPolicy; /** * Creates a plain object from a BooleanPolicy message. Also converts values to other types if specified. * @param message BooleanPolicy * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.orgpolicy.v1.Policy.BooleanPolicy, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BooleanPolicy to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BooleanPolicy * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RestoreDefault. */ interface IRestoreDefault { } /** Represents a RestoreDefault. */ class RestoreDefault implements IRestoreDefault { /** * Constructs a new RestoreDefault. * @param [properties] Properties to set */ constructor(properties?: google.cloud.orgpolicy.v1.Policy.IRestoreDefault); /** * Creates a new RestoreDefault instance using the specified properties. * @param [properties] Properties to set * @returns RestoreDefault instance */ public static create(properties?: google.cloud.orgpolicy.v1.Policy.IRestoreDefault): google.cloud.orgpolicy.v1.Policy.RestoreDefault; /** * Encodes the specified RestoreDefault message. Does not implicitly {@link google.cloud.orgpolicy.v1.Policy.RestoreDefault.verify|verify} messages. * @param message RestoreDefault message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.orgpolicy.v1.Policy.IRestoreDefault, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RestoreDefault message, length delimited. Does not implicitly {@link google.cloud.orgpolicy.v1.Policy.RestoreDefault.verify|verify} messages. * @param message RestoreDefault message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.orgpolicy.v1.Policy.IRestoreDefault, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RestoreDefault message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RestoreDefault * @throws {Error} If the payload is not 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.orgpolicy.v1.Policy.RestoreDefault; /** * Decodes a RestoreDefault message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RestoreDefault * @throws {Error} If the payload 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.orgpolicy.v1.Policy.RestoreDefault; /** * Verifies a RestoreDefault message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RestoreDefault message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RestoreDefault */ public static fromObject(object: { [k: string]: any }): google.cloud.orgpolicy.v1.Policy.RestoreDefault; /** * Creates a plain object from a RestoreDefault message. Also converts values to other types if specified. * @param message RestoreDefault * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.orgpolicy.v1.Policy.RestoreDefault, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RestoreDefault to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RestoreDefault * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } } } /** Namespace osconfig. */ namespace osconfig { /** Namespace v1. */ namespace v1 { /** Properties of an Inventory. */ interface IInventory { /** Inventory name */ name?: (string|null); /** Inventory osInfo */ osInfo?: (google.cloud.osconfig.v1.Inventory.IOsInfo|null); /** Inventory items */ items?: ({ [k: string]: google.cloud.osconfig.v1.Inventory.IItem }|null); /** Inventory updateTime */ updateTime?: (google.protobuf.ITimestamp|null); } /** Represents an Inventory. */ class Inventory implements IInventory { /** * Constructs a new Inventory. * @param [properties] Properties to set */ constructor(properties?: google.cloud.osconfig.v1.IInventory); /** Inventory name. */ public name: string; /** Inventory osInfo. */ public osInfo?: (google.cloud.osconfig.v1.Inventory.IOsInfo|null); /** Inventory items. */ public items: { [k: string]: google.cloud.osconfig.v1.Inventory.IItem }; /** Inventory updateTime. */ public updateTime?: (google.protobuf.ITimestamp|null); /** * Creates a new Inventory instance using the specified properties. * @param [properties] Properties to set * @returns Inventory instance */ public static create(properties?: google.cloud.osconfig.v1.IInventory): google.cloud.osconfig.v1.Inventory; /** * Encodes the specified Inventory message. Does not implicitly {@link google.cloud.osconfig.v1.Inventory.verify|verify} messages. * @param message Inventory message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.osconfig.v1.IInventory, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Inventory message, length delimited. Does not implicitly {@link google.cloud.osconfig.v1.Inventory.verify|verify} messages. * @param message Inventory message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.osconfig.v1.IInventory, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Inventory message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Inventory * @throws {Error} If the payload is not 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.osconfig.v1.Inventory; /** * Decodes an Inventory message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Inventory * @throws {Error} If the payload 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.osconfig.v1.Inventory; /** * Verifies an Inventory message. * @param message Plain 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 Inventory message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Inventory */ public static fromObject(object: { [k: string]: any }): google.cloud.osconfig.v1.Inventory; /** * Creates a plain object from an Inventory message. Also converts values to other types if specified. * @param message Inventory * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.osconfig.v1.Inventory, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Inventory to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Inventory * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Inventory { /** Properties of an OsInfo. */ interface IOsInfo { /** OsInfo hostname */ hostname?: (string|null); /** OsInfo longName */ longName?: (string|null); /** OsInfo shortName */ shortName?: (string|null); /** OsInfo version */ version?: (string|null); /** OsInfo architecture */ architecture?: (string|null); /** OsInfo kernelVersion */ kernelVersion?: (string|null); /** OsInfo kernelRelease */ kernelRelease?: (string|null); /** OsInfo osconfigAgentVersion */ osconfigAgentVersion?: (string|null); } /** Represents an OsInfo. */ class OsInfo implements IOsInfo { /** * Constructs a new OsInfo. * @param [properties] Properties to set */ constructor(properties?: google.cloud.osconfig.v1.Inventory.IOsInfo); /** OsInfo hostname. */ public hostname: string; /** OsInfo longName. */ public longName: string; /** OsInfo shortName. */ public shortName: string; /** OsInfo version. */ public version: string; /** OsInfo architecture. */ public architecture: string; /** OsInfo kernelVersion. */ public kernelVersion: string; /** OsInfo kernelRelease. */ public kernelRelease: string; /** OsInfo osconfigAgentVersion. */ public osconfigAgentVersion: string; /** * Creates a new OsInfo instance using the specified properties. * @param [properties] Properties to set * @returns OsInfo instance */ public static create(properties?: google.cloud.osconfig.v1.Inventory.IOsInfo): google.cloud.osconfig.v1.Inventory.OsInfo; /** * Encodes the specified OsInfo message. Does not implicitly {@link google.cloud.osconfig.v1.Inventory.OsInfo.verify|verify} messages. * @param message OsInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.osconfig.v1.Inventory.IOsInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified OsInfo message, length delimited. Does not implicitly {@link google.cloud.osconfig.v1.Inventory.OsInfo.verify|verify} messages. * @param message OsInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.osconfig.v1.Inventory.IOsInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an OsInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns OsInfo * @throws {Error} If the payload is not 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.osconfig.v1.Inventory.OsInfo; /** * Decodes an OsInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns OsInfo * @throws {Error} If the payload 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.osconfig.v1.Inventory.OsInfo; /** * Verifies an OsInfo message. * @param message Plain 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 OsInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns OsInfo */ public static fromObject(object: { [k: string]: any }): google.cloud.osconfig.v1.Inventory.OsInfo; /** * Creates a plain object from an OsInfo message. Also converts values to other types if specified. * @param message OsInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.osconfig.v1.Inventory.OsInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this OsInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for OsInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Item. */ interface IItem { /** Item id */ id?: (string|null); /** Item originType */ originType?: (google.cloud.osconfig.v1.Inventory.Item.OriginType|keyof typeof google.cloud.osconfig.v1.Inventory.Item.OriginType|null); /** Item createTime */ createTime?: (google.protobuf.ITimestamp|null); /** Item updateTime */ updateTime?: (google.protobuf.ITimestamp|null); /** Item type */ type?: (google.cloud.osconfig.v1.Inventory.Item.Type|keyof typeof google.cloud.osconfig.v1.Inventory.Item.Type|null); /** Item installedPackage */ installedPackage?: (google.cloud.osconfig.v1.Inventory.ISoftwarePackage|null); /** Item availablePackage */ availablePackage?: (google.cloud.osconfig.v1.Inventory.ISoftwarePackage|null); } /** Represents an Item. */ class Item implements IItem { /** * Constructs a new Item. * @param [properties] Properties to set */ constructor(properties?: google.cloud.osconfig.v1.Inventory.IItem); /** Item id. */ public id: string; /** Item originType. */ public originType: (google.cloud.osconfig.v1.Inventory.Item.OriginType|keyof typeof google.cloud.osconfig.v1.Inventory.Item.OriginType); /** Item createTime. */ public createTime?: (google.protobuf.ITimestamp|null); /** Item updateTime. */ public updateTime?: (google.protobuf.ITimestamp|null); /** Item type. */ public type: (google.cloud.osconfig.v1.Inventory.Item.Type|keyof typeof google.cloud.osconfig.v1.Inventory.Item.Type); /** Item installedPackage. */ public installedPackage?: (google.cloud.osconfig.v1.Inventory.ISoftwarePackage|null); /** Item availablePackage. */ public availablePackage?: (google.cloud.osconfig.v1.Inventory.ISoftwarePackage|null); /** Item details. */ public details?: ("installedPackage"|"availablePackage"); /** * Creates a new Item instance using the specified properties. * @param [properties] Properties to set * @returns Item instance */ public static create(properties?: google.cloud.osconfig.v1.Inventory.IItem): google.cloud.osconfig.v1.Inventory.Item; /** * Encodes the specified Item message. Does not implicitly {@link google.cloud.osconfig.v1.Inventory.Item.verify|verify} messages. * @param message Item message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.osconfig.v1.Inventory.IItem, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Item message, length delimited. Does not implicitly {@link google.cloud.osconfig.v1.Inventory.Item.verify|verify} messages. * @param message Item message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.osconfig.v1.Inventory.IItem, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Item message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Item * @throws {Error} If the payload is not 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.osconfig.v1.Inventory.Item; /** * Decodes an Item message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Item * @throws {Error} If the payload 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.osconfig.v1.Inventory.Item; /** * Verifies an Item message. * @param message Plain 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 Item message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Item */ public static fromObject(object: { [k: string]: any }): google.cloud.osconfig.v1.Inventory.Item; /** * Creates a plain object from an Item message. Also converts values to other types if specified. * @param message Item * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.osconfig.v1.Inventory.Item, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Item to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Item * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Item { /** OriginType enum. */ enum OriginType { ORIGIN_TYPE_UNSPECIFIED = 0, INVENTORY_REPORT = 1 } /** Type enum. */ enum Type { TYPE_UNSPECIFIED = 0, INSTALLED_PACKAGE = 1, AVAILABLE_PACKAGE = 2 } } /** Properties of a SoftwarePackage. */ interface ISoftwarePackage { /** SoftwarePackage yumPackage */ yumPackage?: (google.cloud.osconfig.v1.Inventory.IVersionedPackage|null); /** SoftwarePackage aptPackage */ aptPackage?: (google.cloud.osconfig.v1.Inventory.IVersionedPackage|null); /** SoftwarePackage zypperPackage */ zypperPackage?: (google.cloud.osconfig.v1.Inventory.IVersionedPackage|null); /** SoftwarePackage googetPackage */ googetPackage?: (google.cloud.osconfig.v1.Inventory.IVersionedPackage|null); /** SoftwarePackage zypperPatch */ zypperPatch?: (google.cloud.osconfig.v1.Inventory.IZypperPatch|null); /** SoftwarePackage wuaPackage */ wuaPackage?: (google.cloud.osconfig.v1.Inventory.IWindowsUpdatePackage|null); /** SoftwarePackage qfePackage */ qfePackage?: (google.cloud.osconfig.v1.Inventory.IWindowsQuickFixEngineeringPackage|null); /** SoftwarePackage cosPackage */ cosPackage?: (google.cloud.osconfig.v1.Inventory.IVersionedPackage|null); /** SoftwarePackage windowsApplication */ windowsApplication?: (google.cloud.osconfig.v1.Inventory.IWindowsApplication|null); } /** Represents a SoftwarePackage. */ class SoftwarePackage implements ISoftwarePackage { /** * Constructs a new SoftwarePackage. * @param [properties] Properties to set */ constructor(properties?: google.cloud.osconfig.v1.Inventory.ISoftwarePackage); /** SoftwarePackage yumPackage. */ public yumPackage?: (google.cloud.osconfig.v1.Inventory.IVersionedPackage|null); /** SoftwarePackage aptPackage. */ public aptPackage?: (google.cloud.osconfig.v1.Inventory.IVersionedPackage|null); /** SoftwarePackage zypperPackage. */ public zypperPackage?: (google.cloud.osconfig.v1.Inventory.IVersionedPackage|null); /** SoftwarePackage googetPackage. */ public googetPackage?: (google.cloud.osconfig.v1.Inventory.IVersionedPackage|null); /** SoftwarePackage zypperPatch. */ public zypperPatch?: (google.cloud.osconfig.v1.Inventory.IZypperPatch|null); /** SoftwarePackage wuaPackage. */ public wuaPackage?: (google.cloud.osconfig.v1.Inventory.IWindowsUpdatePackage|null); /** SoftwarePackage qfePackage. */ public qfePackage?: (google.cloud.osconfig.v1.Inventory.IWindowsQuickFixEngineeringPackage|null); /** SoftwarePackage cosPackage. */ public cosPackage?: (google.cloud.osconfig.v1.Inventory.IVersionedPackage|null); /** SoftwarePackage windowsApplication. */ public windowsApplication?: (google.cloud.osconfig.v1.Inventory.IWindowsApplication|null); /** SoftwarePackage details. */ public details?: ("yumPackage"|"aptPackage"|"zypperPackage"|"googetPackage"|"zypperPatch"|"wuaPackage"|"qfePackage"|"cosPackage"|"windowsApplication"); /** * Creates a new SoftwarePackage instance using the specified properties. * @param [properties] Properties to set * @returns SoftwarePackage instance */ public static create(properties?: google.cloud.osconfig.v1.Inventory.ISoftwarePackage): google.cloud.osconfig.v1.Inventory.SoftwarePackage; /** * Encodes the specified SoftwarePackage message. Does not implicitly {@link google.cloud.osconfig.v1.Inventory.SoftwarePackage.verify|verify} messages. * @param message SoftwarePackage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.osconfig.v1.Inventory.ISoftwarePackage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SoftwarePackage message, length delimited. Does not implicitly {@link google.cloud.osconfig.v1.Inventory.SoftwarePackage.verify|verify} messages. * @param message SoftwarePackage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.osconfig.v1.Inventory.ISoftwarePackage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SoftwarePackage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SoftwarePackage * @throws {Error} If the payload is not 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.osconfig.v1.Inventory.SoftwarePackage; /** * Decodes a SoftwarePackage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SoftwarePackage * @throws {Error} If the payload 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.osconfig.v1.Inventory.SoftwarePackage; /** * Verifies a SoftwarePackage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SoftwarePackage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SoftwarePackage */ public static fromObject(object: { [k: string]: any }): google.cloud.osconfig.v1.Inventory.SoftwarePackage; /** * Creates a plain object from a SoftwarePackage message. Also converts values to other types if specified. * @param message SoftwarePackage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.osconfig.v1.Inventory.SoftwarePackage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SoftwarePackage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SoftwarePackage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a VersionedPackage. */ interface IVersionedPackage { /** VersionedPackage packageName */ packageName?: (string|null); /** VersionedPackage architecture */ architecture?: (string|null); /** VersionedPackage version */ version?: (string|null); } /** Represents a VersionedPackage. */ class VersionedPackage implements IVersionedPackage { /** * Constructs a new VersionedPackage. * @param [properties] Properties to set */ constructor(properties?: google.cloud.osconfig.v1.Inventory.IVersionedPackage); /** VersionedPackage packageName. */ public packageName: string; /** VersionedPackage architecture. */ public architecture: string; /** VersionedPackage version. */ public version: string; /** * Creates a new VersionedPackage instance using the specified properties. * @param [properties] Properties to set * @returns VersionedPackage instance */ public static create(properties?: google.cloud.osconfig.v1.Inventory.IVersionedPackage): google.cloud.osconfig.v1.Inventory.VersionedPackage; /** * Encodes the specified VersionedPackage message. Does not implicitly {@link google.cloud.osconfig.v1.Inventory.VersionedPackage.verify|verify} messages. * @param message VersionedPackage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.osconfig.v1.Inventory.IVersionedPackage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified VersionedPackage message, length delimited. Does not implicitly {@link google.cloud.osconfig.v1.Inventory.VersionedPackage.verify|verify} messages. * @param message VersionedPackage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.osconfig.v1.Inventory.IVersionedPackage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a VersionedPackage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns VersionedPackage * @throws {Error} If the payload is not 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.osconfig.v1.Inventory.VersionedPackage; /** * Decodes a VersionedPackage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns VersionedPackage * @throws {Error} If the payload 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.osconfig.v1.Inventory.VersionedPackage; /** * Verifies a VersionedPackage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a VersionedPackage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns VersionedPackage */ public static fromObject(object: { [k: string]: any }): google.cloud.osconfig.v1.Inventory.VersionedPackage; /** * Creates a plain object from a VersionedPackage message. Also converts values to other types if specified. * @param message VersionedPackage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.osconfig.v1.Inventory.VersionedPackage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this VersionedPackage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for VersionedPackage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ZypperPatch. */ interface IZypperPatch { /** ZypperPatch patchName */ patchName?: (string|null); /** ZypperPatch category */ category?: (string|null); /** ZypperPatch severity */ severity?: (string|null); /** ZypperPatch summary */ summary?: (string|null); } /** Represents a ZypperPatch. */ class ZypperPatch implements IZypperPatch { /** * Constructs a new ZypperPatch. * @param [properties] Properties to set */ constructor(properties?: google.cloud.osconfig.v1.Inventory.IZypperPatch); /** ZypperPatch patchName. */ public patchName: string; /** ZypperPatch category. */ public category: string; /** ZypperPatch severity. */ public severity: string; /** ZypperPatch summary. */ public summary: string; /** * Creates a new ZypperPatch instance using the specified properties. * @param [properties] Properties to set * @returns ZypperPatch instance */ public static create(properties?: google.cloud.osconfig.v1.Inventory.IZypperPatch): google.cloud.osconfig.v1.Inventory.ZypperPatch; /** * Encodes the specified ZypperPatch message. Does not implicitly {@link google.cloud.osconfig.v1.Inventory.ZypperPatch.verify|verify} messages. * @param message ZypperPatch message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.osconfig.v1.Inventory.IZypperPatch, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ZypperPatch message, length delimited. Does not implicitly {@link google.cloud.osconfig.v1.Inventory.ZypperPatch.verify|verify} messages. * @param message ZypperPatch message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.osconfig.v1.Inventory.IZypperPatch, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ZypperPatch message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ZypperPatch * @throws {Error} If the payload is not 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.osconfig.v1.Inventory.ZypperPatch; /** * Decodes a ZypperPatch message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ZypperPatch * @throws {Error} If the payload 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.osconfig.v1.Inventory.ZypperPatch; /** * Verifies a ZypperPatch message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ZypperPatch message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ZypperPatch */ public static fromObject(object: { [k: string]: any }): google.cloud.osconfig.v1.Inventory.ZypperPatch; /** * Creates a plain object from a ZypperPatch message. Also converts values to other types if specified. * @param message ZypperPatch * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.osconfig.v1.Inventory.ZypperPatch, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ZypperPatch to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ZypperPatch * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a WindowsUpdatePackage. */ interface IWindowsUpdatePackage { /** WindowsUpdatePackage title */ title?: (string|null); /** WindowsUpdatePackage description */ description?: (string|null); /** WindowsUpdatePackage categories */ categories?: (google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.IWindowsUpdateCategory[]|null); /** WindowsUpdatePackage kbArticleIds */ kbArticleIds?: (string[]|null); /** WindowsUpdatePackage supportUrl */ supportUrl?: (string|null); /** WindowsUpdatePackage moreInfoUrls */ moreInfoUrls?: (string[]|null); /** WindowsUpdatePackage updateId */ updateId?: (string|null); /** WindowsUpdatePackage revisionNumber */ revisionNumber?: (number|null); /** WindowsUpdatePackage lastDeploymentChangeTime */ lastDeploymentChangeTime?: (google.protobuf.ITimestamp|null); } /** Represents a WindowsUpdatePackage. */ class WindowsUpdatePackage implements IWindowsUpdatePackage { /** * Constructs a new WindowsUpdatePackage. * @param [properties] Properties to set */ constructor(properties?: google.cloud.osconfig.v1.Inventory.IWindowsUpdatePackage); /** WindowsUpdatePackage title. */ public title: string; /** WindowsUpdatePackage description. */ public description: string; /** WindowsUpdatePackage categories. */ public categories: google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.IWindowsUpdateCategory[]; /** WindowsUpdatePackage kbArticleIds. */ public kbArticleIds: string[]; /** WindowsUpdatePackage supportUrl. */ public supportUrl: string; /** WindowsUpdatePackage moreInfoUrls. */ public moreInfoUrls: string[]; /** WindowsUpdatePackage updateId. */ public updateId: string; /** WindowsUpdatePackage revisionNumber. */ public revisionNumber: number; /** WindowsUpdatePackage lastDeploymentChangeTime. */ public lastDeploymentChangeTime?: (google.protobuf.ITimestamp|null); /** * Creates a new WindowsUpdatePackage instance using the specified properties. * @param [properties] Properties to set * @returns WindowsUpdatePackage instance */ public static create(properties?: google.cloud.osconfig.v1.Inventory.IWindowsUpdatePackage): google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage; /** * Encodes the specified WindowsUpdatePackage message. Does not implicitly {@link google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.verify|verify} messages. * @param message WindowsUpdatePackage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.osconfig.v1.Inventory.IWindowsUpdatePackage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified WindowsUpdatePackage message, length delimited. Does not implicitly {@link google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.verify|verify} messages. * @param message WindowsUpdatePackage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.osconfig.v1.Inventory.IWindowsUpdatePackage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a WindowsUpdatePackage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns WindowsUpdatePackage * @throws {Error} If the payload is not 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.osconfig.v1.Inventory.WindowsUpdatePackage; /** * Decodes a WindowsUpdatePackage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns WindowsUpdatePackage * @throws {Error} If the payload 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.osconfig.v1.Inventory.WindowsUpdatePackage; /** * Verifies a WindowsUpdatePackage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a WindowsUpdatePackage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns WindowsUpdatePackage */ public static fromObject(object: { [k: string]: any }): google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage; /** * Creates a plain object from a WindowsUpdatePackage message. Also converts values to other types if specified. * @param message WindowsUpdatePackage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this WindowsUpdatePackage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for WindowsUpdatePackage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace WindowsUpdatePackage { /** Properties of a WindowsUpdateCategory. */ interface IWindowsUpdateCategory { /** WindowsUpdateCategory id */ id?: (string|null); /** WindowsUpdateCategory name */ name?: (string|null); } /** Represents a WindowsUpdateCategory. */ class WindowsUpdateCategory implements IWindowsUpdateCategory { /** * Constructs a new WindowsUpdateCategory. * @param [properties] Properties to set */ constructor(properties?: google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.IWindowsUpdateCategory); /** WindowsUpdateCategory id. */ public id: string; /** WindowsUpdateCategory name. */ public name: string; /** * Creates a new WindowsUpdateCategory instance using the specified properties. * @param [properties] Properties to set * @returns WindowsUpdateCategory instance */ public static create(properties?: google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.IWindowsUpdateCategory): google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory; /** * Encodes the specified WindowsUpdateCategory message. Does not implicitly {@link google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.verify|verify} messages. * @param message WindowsUpdateCategory message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.IWindowsUpdateCategory, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified WindowsUpdateCategory message, length delimited. Does not implicitly {@link google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory.verify|verify} messages. * @param message WindowsUpdateCategory message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.IWindowsUpdateCategory, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a WindowsUpdateCategory message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns WindowsUpdateCategory * @throws {Error} If the payload is not 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.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory; /** * Decodes a WindowsUpdateCategory message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns WindowsUpdateCategory * @throws {Error} If the payload 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.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory; /** * Verifies a WindowsUpdateCategory message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a WindowsUpdateCategory message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns WindowsUpdateCategory */ public static fromObject(object: { [k: string]: any }): google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory; /** * Creates a plain object from a WindowsUpdateCategory message. Also converts values to other types if specified. * @param message WindowsUpdateCategory * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this WindowsUpdateCategory to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for WindowsUpdateCategory * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a WindowsQuickFixEngineeringPackage. */ interface IWindowsQuickFixEngineeringPackage { /** WindowsQuickFixEngineeringPackage caption */ caption?: (string|null); /** WindowsQuickFixEngineeringPackage description */ description?: (string|null); /** WindowsQuickFixEngineeringPackage hotFixId */ hotFixId?: (string|null); /** WindowsQuickFixEngineeringPackage installTime */ installTime?: (google.protobuf.ITimestamp|null); } /** Represents a WindowsQuickFixEngineeringPackage. */ class WindowsQuickFixEngineeringPackage implements IWindowsQuickFixEngineeringPackage { /** * Constructs a new WindowsQuickFixEngineeringPackage. * @param [properties] Properties to set */ constructor(properties?: google.cloud.osconfig.v1.Inventory.IWindowsQuickFixEngineeringPackage); /** WindowsQuickFixEngineeringPackage caption. */ public caption: string; /** WindowsQuickFixEngineeringPackage description. */ public description: string; /** WindowsQuickFixEngineeringPackage hotFixId. */ public hotFixId: string; /** WindowsQuickFixEngineeringPackage installTime. */ public installTime?: (google.protobuf.ITimestamp|null); /** * Creates a new WindowsQuickFixEngineeringPackage instance using the specified properties. * @param [properties] Properties to set * @returns WindowsQuickFixEngineeringPackage instance */ public static create(properties?: google.cloud.osconfig.v1.Inventory.IWindowsQuickFixEngineeringPackage): google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage; /** * Encodes the specified WindowsQuickFixEngineeringPackage message. Does not implicitly {@link google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.verify|verify} messages. * @param message WindowsQuickFixEngineeringPackage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.osconfig.v1.Inventory.IWindowsQuickFixEngineeringPackage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified WindowsQuickFixEngineeringPackage message, length delimited. Does not implicitly {@link google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage.verify|verify} messages. * @param message WindowsQuickFixEngineeringPackage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.osconfig.v1.Inventory.IWindowsQuickFixEngineeringPackage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a WindowsQuickFixEngineeringPackage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns WindowsQuickFixEngineeringPackage * @throws {Error} If the payload is not 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.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage; /** * Decodes a WindowsQuickFixEngineeringPackage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns WindowsQuickFixEngineeringPackage * @throws {Error} If the payload 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.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage; /** * Verifies a WindowsQuickFixEngineeringPackage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a WindowsQuickFixEngineeringPackage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns WindowsQuickFixEngineeringPackage */ public static fromObject(object: { [k: string]: any }): google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage; /** * Creates a plain object from a WindowsQuickFixEngineeringPackage message. Also converts values to other types if specified. * @param message WindowsQuickFixEngineeringPackage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this WindowsQuickFixEngineeringPackage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for WindowsQuickFixEngineeringPackage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a WindowsApplication. */ interface IWindowsApplication { /** WindowsApplication displayName */ displayName?: (string|null); /** WindowsApplication displayVersion */ displayVersion?: (string|null); /** WindowsApplication publisher */ publisher?: (string|null); /** WindowsApplication installDate */ installDate?: (google.type.IDate|null); /** WindowsApplication helpLink */ helpLink?: (string|null); } /** Represents a WindowsApplication. */ class WindowsApplication implements IWindowsApplication { /** * Constructs a new WindowsApplication. * @param [properties] Properties to set */ constructor(properties?: google.cloud.osconfig.v1.Inventory.IWindowsApplication); /** WindowsApplication displayName. */ public displayName: string; /** WindowsApplication displayVersion. */ public displayVersion: string; /** WindowsApplication publisher. */ public publisher: string; /** WindowsApplication installDate. */ public installDate?: (google.type.IDate|null); /** WindowsApplication helpLink. */ public helpLink: string; /** * Creates a new WindowsApplication instance using the specified properties. * @param [properties] Properties to set * @returns WindowsApplication instance */ public static create(properties?: google.cloud.osconfig.v1.Inventory.IWindowsApplication): google.cloud.osconfig.v1.Inventory.WindowsApplication; /** * Encodes the specified WindowsApplication message. Does not implicitly {@link google.cloud.osconfig.v1.Inventory.WindowsApplication.verify|verify} messages. * @param message WindowsApplication message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.osconfig.v1.Inventory.IWindowsApplication, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified WindowsApplication message, length delimited. Does not implicitly {@link google.cloud.osconfig.v1.Inventory.WindowsApplication.verify|verify} messages. * @param message WindowsApplication message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.osconfig.v1.Inventory.IWindowsApplication, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a WindowsApplication message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns WindowsApplication * @throws {Error} If the payload is not 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.osconfig.v1.Inventory.WindowsApplication; /** * Decodes a WindowsApplication message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns WindowsApplication * @throws {Error} If the payload 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.osconfig.v1.Inventory.WindowsApplication; /** * Verifies a WindowsApplication message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a WindowsApplication message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns WindowsApplication */ public static fromObject(object: { [k: string]: any }): google.cloud.osconfig.v1.Inventory.WindowsApplication; /** * Creates a plain object from a WindowsApplication message. Also converts values to other types if specified. * @param message WindowsApplication * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.osconfig.v1.Inventory.WindowsApplication, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this WindowsApplication to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for WindowsApplication * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a GetInventoryRequest. */ interface IGetInventoryRequest { /** GetInventoryRequest name */ name?: (string|null); /** GetInventoryRequest view */ view?: (google.cloud.osconfig.v1.InventoryView|keyof typeof google.cloud.osconfig.v1.InventoryView|null); } /** Represents a GetInventoryRequest. */ class GetInventoryRequest implements IGetInventoryRequest { /** * Constructs a new GetInventoryRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.osconfig.v1.IGetInventoryRequest); /** GetInventoryRequest name. */ public name: string; /** GetInventoryRequest view. */ public view: (google.cloud.osconfig.v1.InventoryView|keyof typeof google.cloud.osconfig.v1.InventoryView); /** * Creates a new GetInventoryRequest instance using the specified properties. * @param [properties] Properties to set * @returns GetInventoryRequest instance */ public static create(properties?: google.cloud.osconfig.v1.IGetInventoryRequest): google.cloud.osconfig.v1.GetInventoryRequest; /** * Encodes the specified GetInventoryRequest message. Does not implicitly {@link google.cloud.osconfig.v1.GetInventoryRequest.verify|verify} messages. * @param message GetInventoryRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.osconfig.v1.IGetInventoryRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetInventoryRequest message, length delimited. Does not implicitly {@link google.cloud.osconfig.v1.GetInventoryRequest.verify|verify} messages. * @param message GetInventoryRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.osconfig.v1.IGetInventoryRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetInventoryRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetInventoryRequest * @throws {Error} If the payload is not 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.osconfig.v1.GetInventoryRequest; /** * Decodes a GetInventoryRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetInventoryRequest * @throws {Error} If the payload 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.osconfig.v1.GetInventoryRequest; /** * Verifies a GetInventoryRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetInventoryRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetInventoryRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.osconfig.v1.GetInventoryRequest; /** * Creates a plain object from a GetInventoryRequest message. Also converts values to other types if specified. * @param message GetInventoryRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.osconfig.v1.GetInventoryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetInventoryRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GetInventoryRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListInventoriesRequest. */ interface IListInventoriesRequest { /** ListInventoriesRequest parent */ parent?: (string|null); /** ListInventoriesRequest view */ view?: (google.cloud.osconfig.v1.InventoryView|keyof typeof google.cloud.osconfig.v1.InventoryView|null); /** ListInventoriesRequest pageSize */ pageSize?: (number|null); /** ListInventoriesRequest pageToken */ pageToken?: (string|null); /** ListInventoriesRequest filter */ filter?: (string|null); } /** Represents a ListInventoriesRequest. */ class ListInventoriesRequest implements IListInventoriesRequest { /** * Constructs a new ListInventoriesRequest. * @param [properties] Properties to set */ constructor(properties?: google.cloud.osconfig.v1.IListInventoriesRequest); /** ListInventoriesRequest parent. */ public parent: string; /** ListInventoriesRequest view. */ public view: (google.cloud.osconfig.v1.InventoryView|keyof typeof google.cloud.osconfig.v1.InventoryView); /** ListInventoriesRequest pageSize. */ public pageSize: number; /** ListInventoriesRequest pageToken. */ public pageToken: string; /** ListInventoriesRequest filter. */ public filter: string; /** * Creates a new ListInventoriesRequest instance using the specified properties. * @param [properties] Properties to set * @returns ListInventoriesRequest instance */ public static create(properties?: google.cloud.osconfig.v1.IListInventoriesRequest): google.cloud.osconfig.v1.ListInventoriesRequest; /** * Encodes the specified ListInventoriesRequest message. Does not implicitly {@link google.cloud.osconfig.v1.ListInventoriesRequest.verify|verify} messages. * @param message ListInventoriesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.osconfig.v1.IListInventoriesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListInventoriesRequest message, length delimited. Does not implicitly {@link google.cloud.osconfig.v1.ListInventoriesRequest.verify|verify} messages. * @param message ListInventoriesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.osconfig.v1.IListInventoriesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListInventoriesRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListInventoriesRequest * @throws {Error} If the payload is not 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.osconfig.v1.ListInventoriesRequest; /** * Decodes a ListInventoriesRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListInventoriesRequest * @throws {Error} If the payload 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.osconfig.v1.ListInventoriesRequest; /** * Verifies a ListInventoriesRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListInventoriesRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListInventoriesRequest */ public static fromObject(object: { [k: string]: any }): google.cloud.osconfig.v1.ListInventoriesRequest; /** * Creates a plain object from a ListInventoriesRequest message. Also converts values to other types if specified. * @param message ListInventoriesRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.osconfig.v1.ListInventoriesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListInventoriesRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListInventoriesRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListInventoriesResponse. */ interface IListInventoriesResponse { /** ListInventoriesResponse inventories */ inventories?: (google.cloud.osconfig.v1.IInventory[]|null); /** ListInventoriesResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents a ListInventoriesResponse. */ class ListInventoriesResponse implements IListInventoriesResponse { /** * Constructs a new ListInventoriesResponse. * @param [properties] Properties to set */ constructor(properties?: google.cloud.osconfig.v1.IListInventoriesResponse); /** ListInventoriesResponse inventories. */ public inventories: google.cloud.osconfig.v1.IInventory[]; /** ListInventoriesResponse nextPageToken. */ public nextPageToken: string; /** * Creates a new ListInventoriesResponse instance using the specified properties. * @param [properties] Properties to set * @returns ListInventoriesResponse instance */ public static create(properties?: google.cloud.osconfig.v1.IListInventoriesResponse): google.cloud.osconfig.v1.ListInventoriesResponse; /** * Encodes the specified ListInventoriesResponse message. Does not implicitly {@link google.cloud.osconfig.v1.ListInventoriesResponse.verify|verify} messages. * @param message ListInventoriesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.osconfig.v1.IListInventoriesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListInventoriesResponse message, length delimited. Does not implicitly {@link google.cloud.osconfig.v1.ListInventoriesResponse.verify|verify} messages. * @param message ListInventoriesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.osconfig.v1.IListInventoriesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListInventoriesResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListInventoriesResponse * @throws {Error} If the payload is not 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.osconfig.v1.ListInventoriesResponse; /** * Decodes a ListInventoriesResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListInventoriesResponse * @throws {Error} If the payload 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.osconfig.v1.ListInventoriesResponse; /** * Verifies a ListInventoriesResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListInventoriesResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListInventoriesResponse */ public static fromObject(object: { [k: string]: any }): google.cloud.osconfig.v1.ListInventoriesResponse; /** * Creates a plain object from a ListInventoriesResponse message. Also converts values to other types if specified. * @param message ListInventoriesResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.osconfig.v1.ListInventoriesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListInventoriesResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListInventoriesResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** InventoryView enum. */ enum InventoryView { INVENTORY_VIEW_UNSPECIFIED = 0, BASIC = 1, FULL = 2 } } } } /** 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); /** CommonLanguageSettings selectiveGapicGeneration */ selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|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[]; /** CommonLanguageSettings selectiveGapicGeneration. */ public selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null); /** * 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); /** PhpSettings libraryPackage */ libraryPackage?: (string|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); /** PhpSettings libraryPackage. */ public libraryPackage: string; /** * 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); /** PythonSettings experimentalFeatures */ experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|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); /** PythonSettings experimentalFeatures. */ public experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|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; } namespace PythonSettings { /** Properties of an ExperimentalFeatures. */ interface IExperimentalFeatures { /** ExperimentalFeatures restAsyncIoEnabled */ restAsyncIoEnabled?: (boolean|null); /** ExperimentalFeatures protobufPythonicTypesEnabled */ protobufPythonicTypesEnabled?: (boolean|null); /** ExperimentalFeatures unversionedPackageDisabled */ unversionedPackageDisabled?: (boolean|null); } /** Represents an ExperimentalFeatures. */ class ExperimentalFeatures implements IExperimentalFeatures { /** * Constructs a new ExperimentalFeatures. * @param [properties] Properties to set */ constructor(properties?: google.api.PythonSettings.IExperimentalFeatures); /** ExperimentalFeatures restAsyncIoEnabled. */ public restAsyncIoEnabled: boolean; /** ExperimentalFeatures protobufPythonicTypesEnabled. */ public protobufPythonicTypesEnabled: boolean; /** ExperimentalFeatures unversionedPackageDisabled. */ public unversionedPackageDisabled: boolean; /** * Creates a new ExperimentalFeatures instance using the specified properties. * @param [properties] Properties to set * @returns ExperimentalFeatures instance */ public static create(properties?: google.api.PythonSettings.IExperimentalFeatures): google.api.PythonSettings.ExperimentalFeatures; /** * Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. * @param message ExperimentalFeatures message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. * @param message ExperimentalFeatures message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ExperimentalFeatures message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ExperimentalFeatures * @throws {Error} If the payload is not 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.ExperimentalFeatures; /** * Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ExperimentalFeatures * @throws {Error} If the payload 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.ExperimentalFeatures; /** * Verifies an ExperimentalFeatures message. * @param message Plain 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 ExperimentalFeatures message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExperimentalFeatures */ public static fromObject(object: { [k: string]: any }): google.api.PythonSettings.ExperimentalFeatures; /** * Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified. * @param message ExperimentalFeatures * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.PythonSettings.ExperimentalFeatures, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExperimentalFeatures to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ExperimentalFeatures * @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); /** GoSettings renamedServices */ renamedServices?: ({ [k: string]: string }|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); /** GoSettings renamedServices. */ public renamedServices: { [k: string]: string }; /** * 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); /** MethodSettings batching */ batching?: (google.api.IBatchingConfigProto|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[]; /** MethodSettings batching. */ public batching?: (google.api.IBatchingConfigProto|null); /** * 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 } /** Properties of a SelectiveGapicGeneration. */ interface ISelectiveGapicGeneration { /** SelectiveGapicGeneration methods */ methods?: (string[]|null); /** SelectiveGapicGeneration generateOmittedAsInternal */ generateOmittedAsInternal?: (boolean|null); } /** Represents a SelectiveGapicGeneration. */ class SelectiveGapicGeneration implements ISelectiveGapicGeneration { /** * Constructs a new SelectiveGapicGeneration. * @param [properties] Properties to set */ constructor(properties?: google.api.ISelectiveGapicGeneration); /** SelectiveGapicGeneration methods. */ public methods: string[]; /** SelectiveGapicGeneration generateOmittedAsInternal. */ public generateOmittedAsInternal: boolean; /** * Creates a new SelectiveGapicGeneration instance using the specified properties. * @param [properties] Properties to set * @returns SelectiveGapicGeneration instance */ public static create(properties?: google.api.ISelectiveGapicGeneration): google.api.SelectiveGapicGeneration; /** * Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. * @param message SelectiveGapicGeneration message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. * @param message SelectiveGapicGeneration message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SelectiveGapicGeneration message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SelectiveGapicGeneration * @throws {Error} If the payload is not 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.SelectiveGapicGeneration; /** * Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SelectiveGapicGeneration * @throws {Error} If the payload 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.SelectiveGapicGeneration; /** * Verifies a SelectiveGapicGeneration message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SelectiveGapicGeneration */ public static fromObject(object: { [k: string]: any }): google.api.SelectiveGapicGeneration; /** * Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified. * @param message SelectiveGapicGeneration * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.SelectiveGapicGeneration, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SelectiveGapicGeneration to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SelectiveGapicGeneration * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchingConfigProto. */ interface IBatchingConfigProto { /** BatchingConfigProto thresholds */ thresholds?: (google.api.IBatchingSettingsProto|null); /** BatchingConfigProto batchDescriptor */ batchDescriptor?: (google.api.IBatchingDescriptorProto|null); } /** Represents a BatchingConfigProto. */ class BatchingConfigProto implements IBatchingConfigProto { /** * Constructs a new BatchingConfigProto. * @param [properties] Properties to set */ constructor(properties?: google.api.IBatchingConfigProto); /** BatchingConfigProto thresholds. */ public thresholds?: (google.api.IBatchingSettingsProto|null); /** BatchingConfigProto batchDescriptor. */ public batchDescriptor?: (google.api.IBatchingDescriptorProto|null); /** * Creates a new BatchingConfigProto instance using the specified properties. * @param [properties] Properties to set * @returns BatchingConfigProto instance */ public static create(properties?: google.api.IBatchingConfigProto): google.api.BatchingConfigProto; /** * Encodes the specified BatchingConfigProto message. Does not implicitly {@link google.api.BatchingConfigProto.verify|verify} messages. * @param message BatchingConfigProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IBatchingConfigProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BatchingConfigProto message, length delimited. Does not implicitly {@link google.api.BatchingConfigProto.verify|verify} messages. * @param message BatchingConfigProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IBatchingConfigProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BatchingConfigProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BatchingConfigProto * @throws {Error} If the payload is not 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.BatchingConfigProto; /** * Decodes a BatchingConfigProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BatchingConfigProto * @throws {Error} If the payload 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.BatchingConfigProto; /** * Verifies a BatchingConfigProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BatchingConfigProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BatchingConfigProto */ public static fromObject(object: { [k: string]: any }): google.api.BatchingConfigProto; /** * Creates a plain object from a BatchingConfigProto message. Also converts values to other types if specified. * @param message BatchingConfigProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.BatchingConfigProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BatchingConfigProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BatchingConfigProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchingSettingsProto. */ interface IBatchingSettingsProto { /** BatchingSettingsProto elementCountThreshold */ elementCountThreshold?: (number|null); /** BatchingSettingsProto requestByteThreshold */ requestByteThreshold?: (number|Long|string|null); /** BatchingSettingsProto delayThreshold */ delayThreshold?: (google.protobuf.IDuration|null); /** BatchingSettingsProto elementCountLimit */ elementCountLimit?: (number|null); /** BatchingSettingsProto requestByteLimit */ requestByteLimit?: (number|null); /** BatchingSettingsProto flowControlElementLimit */ flowControlElementLimit?: (number|null); /** BatchingSettingsProto flowControlByteLimit */ flowControlByteLimit?: (number|null); /** BatchingSettingsProto flowControlLimitExceededBehavior */ flowControlLimitExceededBehavior?: (google.api.FlowControlLimitExceededBehaviorProto|keyof typeof google.api.FlowControlLimitExceededBehaviorProto|null); } /** Represents a BatchingSettingsProto. */ class BatchingSettingsProto implements IBatchingSettingsProto { /** * Constructs a new BatchingSettingsProto. * @param [properties] Properties to set */ constructor(properties?: google.api.IBatchingSettingsProto); /** BatchingSettingsProto elementCountThreshold. */ public elementCountThreshold: number; /** BatchingSettingsProto requestByteThreshold. */ public requestByteThreshold: (number|Long|string); /** BatchingSettingsProto delayThreshold. */ public delayThreshold?: (google.protobuf.IDuration|null); /** BatchingSettingsProto elementCountLimit. */ public elementCountLimit: number; /** BatchingSettingsProto requestByteLimit. */ public requestByteLimit: number; /** BatchingSettingsProto flowControlElementLimit. */ public flowControlElementLimit: number; /** BatchingSettingsProto flowControlByteLimit. */ public flowControlByteLimit: number; /** BatchingSettingsProto flowControlLimitExceededBehavior. */ public flowControlLimitExceededBehavior: (google.api.FlowControlLimitExceededBehaviorProto|keyof typeof google.api.FlowControlLimitExceededBehaviorProto); /** * Creates a new BatchingSettingsProto instance using the specified properties. * @param [properties] Properties to set * @returns BatchingSettingsProto instance */ public static create(properties?: google.api.IBatchingSettingsProto): google.api.BatchingSettingsProto; /** * Encodes the specified BatchingSettingsProto message. Does not implicitly {@link google.api.BatchingSettingsProto.verify|verify} messages. * @param message BatchingSettingsProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IBatchingSettingsProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BatchingSettingsProto message, length delimited. Does not implicitly {@link google.api.BatchingSettingsProto.verify|verify} messages. * @param message BatchingSettingsProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IBatchingSettingsProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BatchingSettingsProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BatchingSettingsProto * @throws {Error} If the payload is not 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.BatchingSettingsProto; /** * Decodes a BatchingSettingsProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BatchingSettingsProto * @throws {Error} If the payload 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.BatchingSettingsProto; /** * Verifies a BatchingSettingsProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BatchingSettingsProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BatchingSettingsProto */ public static fromObject(object: { [k: string]: any }): google.api.BatchingSettingsProto; /** * Creates a plain object from a BatchingSettingsProto message. Also converts values to other types if specified. * @param message BatchingSettingsProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.BatchingSettingsProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BatchingSettingsProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BatchingSettingsProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** FlowControlLimitExceededBehaviorProto enum. */ enum FlowControlLimitExceededBehaviorProto { UNSET_BEHAVIOR = 0, THROW_EXCEPTION = 1, BLOCK = 2, IGNORE = 3 } /** Properties of a BatchingDescriptorProto. */ interface IBatchingDescriptorProto { /** BatchingDescriptorProto batchedField */ batchedField?: (string|null); /** BatchingDescriptorProto discriminatorFields */ discriminatorFields?: (string[]|null); /** BatchingDescriptorProto subresponseField */ subresponseField?: (string|null); } /** Represents a BatchingDescriptorProto. */ class BatchingDescriptorProto implements IBatchingDescriptorProto { /** * Constructs a new BatchingDescriptorProto. * @param [properties] Properties to set */ constructor(properties?: google.api.IBatchingDescriptorProto); /** BatchingDescriptorProto batchedField. */ public batchedField: string; /** BatchingDescriptorProto discriminatorFields. */ public discriminatorFields: string[]; /** BatchingDescriptorProto subresponseField. */ public subresponseField: string; /** * Creates a new BatchingDescriptorProto instance using the specified properties. * @param [properties] Properties to set * @returns BatchingDescriptorProto instance */ public static create(properties?: google.api.IBatchingDescriptorProto): google.api.BatchingDescriptorProto; /** * Encodes the specified BatchingDescriptorProto message. Does not implicitly {@link google.api.BatchingDescriptorProto.verify|verify} messages. * @param message BatchingDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IBatchingDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BatchingDescriptorProto message, length delimited. Does not implicitly {@link google.api.BatchingDescriptorProto.verify|verify} messages. * @param message BatchingDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IBatchingDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BatchingDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BatchingDescriptorProto * @throws {Error} If the payload is not 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.BatchingDescriptorProto; /** * Decodes a BatchingDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BatchingDescriptorProto * @throws {Error} If the payload 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.BatchingDescriptorProto; /** * Verifies a BatchingDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BatchingDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BatchingDescriptorProto */ public static fromObject(object: { [k: string]: any }): google.api.BatchingDescriptorProto; /** * Creates a plain object from a BatchingDescriptorProto message. Also converts values to other types if specified. * @param message BatchingDescriptorProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.BatchingDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BatchingDescriptorProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BatchingDescriptorProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** 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_LEGACY = 900, EDITION_PROTO2 = 998, EDITION_PROTO3 = 999, EDITION_2023 = 1000, EDITION_2024 = 1001, EDITION_2026 = 1002, EDITION_UNSTABLE = 9999, 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 optionDependency */ optionDependency?: (string[]|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 optionDependency. */ public optionDependency: string[]; /** 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); /** DescriptorProto visibility */ visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|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[]; /** DescriptorProto visibility. */ public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility); /** * 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); /** EnumDescriptorProto visibility */ visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|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[]; /** EnumDescriptorProto visibility. */ public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility); /** * 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 featureSupport */ featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|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 featureSupport. */ public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|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 a FeatureSupport. */ interface IFeatureSupport { /** FeatureSupport editionIntroduced */ editionIntroduced?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); /** FeatureSupport editionDeprecated */ editionDeprecated?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); /** FeatureSupport deprecationWarning */ deprecationWarning?: (string|null); /** FeatureSupport editionRemoved */ editionRemoved?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); /** FeatureSupport removalError */ removalError?: (string|null); } /** Represents a FeatureSupport. */ class FeatureSupport implements IFeatureSupport { /** * Constructs a new FeatureSupport. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.FieldOptions.IFeatureSupport); /** FeatureSupport editionIntroduced. */ public editionIntroduced: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); /** FeatureSupport editionDeprecated. */ public editionDeprecated: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); /** FeatureSupport deprecationWarning. */ public deprecationWarning: string; /** FeatureSupport editionRemoved. */ public editionRemoved: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); /** FeatureSupport removalError. */ public removalError: string; /** * Creates a new FeatureSupport instance using the specified properties. * @param [properties] Properties to set * @returns FeatureSupport instance */ public static create(properties?: google.protobuf.FieldOptions.IFeatureSupport): google.protobuf.FieldOptions.FeatureSupport; /** * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. * @param message FeatureSupport message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. * @param message FeatureSupport message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FeatureSupport message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FeatureSupport * @throws {Error} If the payload is not 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.FeatureSupport; /** * Decodes a FeatureSupport message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FeatureSupport * @throws {Error} If the payload 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.FeatureSupport; /** * Verifies a FeatureSupport message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FeatureSupport */ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.FeatureSupport; /** * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified. * @param message FeatureSupport * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FieldOptions.FeatureSupport, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FeatureSupport to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FeatureSupport * @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 featureSupport */ featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|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 featureSupport. */ public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); /** 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); /** FeatureSet enforceNamingStyle */ enforceNamingStyle?: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle|null); /** FeatureSet defaultSymbolVisibility */ defaultSymbolVisibility?: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null); /** FeatureSet enforceProtoLimits */ enforceProtoLimits?: (google.protobuf.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits|keyof typeof google.protobuf.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits|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); /** FeatureSet enforceNamingStyle. */ public enforceNamingStyle: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle); /** FeatureSet defaultSymbolVisibility. */ public defaultSymbolVisibility: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility); /** FeatureSet enforceProtoLimits. */ public enforceProtoLimits: (google.protobuf.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits|keyof typeof google.protobuf.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits); /** * 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 } /** EnforceNamingStyle enum. */ enum EnforceNamingStyle { ENFORCE_NAMING_STYLE_UNKNOWN = 0, STYLE2024 = 1, STYLE_LEGACY = 2, STYLE2026 = 3 } /** Properties of a VisibilityFeature. */ interface IVisibilityFeature { } /** Represents a VisibilityFeature. */ class VisibilityFeature implements IVisibilityFeature { /** * Constructs a new VisibilityFeature. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.FeatureSet.IVisibilityFeature); /** * Creates a new VisibilityFeature instance using the specified properties. * @param [properties] Properties to set * @returns VisibilityFeature instance */ public static create(properties?: google.protobuf.FeatureSet.IVisibilityFeature): google.protobuf.FeatureSet.VisibilityFeature; /** * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. * @param message VisibilityFeature message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. * @param message VisibilityFeature message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a VisibilityFeature message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns VisibilityFeature * @throws {Error} If the payload is not 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.VisibilityFeature; /** * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns VisibilityFeature * @throws {Error} If the payload 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.VisibilityFeature; /** * Verifies a VisibilityFeature message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns VisibilityFeature */ public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet.VisibilityFeature; /** * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified. * @param message VisibilityFeature * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FeatureSet.VisibilityFeature, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this VisibilityFeature to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for VisibilityFeature * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace VisibilityFeature { /** DefaultSymbolVisibility enum. */ enum DefaultSymbolVisibility { DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0, EXPORT_ALL = 1, EXPORT_TOP_LEVEL = 2, LOCAL_ALL = 3, STRICT = 4 } } /** Properties of a ProtoLimitsFeature. */ interface IProtoLimitsFeature { } /** Represents a ProtoLimitsFeature. */ class ProtoLimitsFeature implements IProtoLimitsFeature { /** * Constructs a new ProtoLimitsFeature. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.FeatureSet.IProtoLimitsFeature); /** * Creates a new ProtoLimitsFeature instance using the specified properties. * @param [properties] Properties to set * @returns ProtoLimitsFeature instance */ public static create(properties?: google.protobuf.FeatureSet.IProtoLimitsFeature): google.protobuf.FeatureSet.ProtoLimitsFeature; /** * Encodes the specified ProtoLimitsFeature message. Does not implicitly {@link google.protobuf.FeatureSet.ProtoLimitsFeature.verify|verify} messages. * @param message ProtoLimitsFeature message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.FeatureSet.IProtoLimitsFeature, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ProtoLimitsFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.ProtoLimitsFeature.verify|verify} messages. * @param message ProtoLimitsFeature message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.FeatureSet.IProtoLimitsFeature, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ProtoLimitsFeature message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ProtoLimitsFeature * @throws {Error} If the payload is not 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.ProtoLimitsFeature; /** * Decodes a ProtoLimitsFeature message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ProtoLimitsFeature * @throws {Error} If the payload 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.ProtoLimitsFeature; /** * Verifies a ProtoLimitsFeature message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ProtoLimitsFeature message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ProtoLimitsFeature */ public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet.ProtoLimitsFeature; /** * Creates a plain object from a ProtoLimitsFeature message. Also converts values to other types if specified. * @param message ProtoLimitsFeature * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FeatureSet.ProtoLimitsFeature, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ProtoLimitsFeature to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ProtoLimitsFeature * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ProtoLimitsFeature { /** EnforceProtoLimits enum. */ enum EnforceProtoLimits { PROTO_LIMITS_UNKNOWN = 0, LEGACY_NO_EXPLICIT_LIMITS = 1, PROTO_LIMITS2026 = 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 overridableFeatures */ overridableFeatures?: (google.protobuf.IFeatureSet|null); /** FeatureSetEditionDefault fixedFeatures */ fixedFeatures?: (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 overridableFeatures. */ public overridableFeatures?: (google.protobuf.IFeatureSet|null); /** FeatureSetEditionDefault fixedFeatures. */ public fixedFeatures?: (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 } } } /** SymbolVisibility enum. */ enum SymbolVisibility { VISIBILITY_UNSET = 0, VISIBILITY_LOCAL = 1, VISIBILITY_EXPORT = 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 Timestamp. */ interface ITimestamp { /** Timestamp seconds */ seconds?: (number|Long|string|null); /** Timestamp nanos */ nanos?: (number|null); } /** Represents a Timestamp. */ class Timestamp implements ITimestamp { /** * Constructs a new Timestamp. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.ITimestamp); /** Timestamp seconds. */ public seconds: (number|Long|string); /** Timestamp nanos. */ public nanos: number; /** * Creates a new Timestamp instance using the specified properties. * @param [properties] Properties to set * @returns Timestamp instance */ public static create(properties?: google.protobuf.ITimestamp): google.protobuf.Timestamp; /** * Encodes the specified Timestamp message. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages. * @param message Timestamp message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Timestamp message, length delimited. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages. * @param message Timestamp message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Timestamp message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Timestamp * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Timestamp; /** * Decodes a Timestamp message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Timestamp * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Timestamp; /** * Verifies a Timestamp message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Timestamp message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Timestamp */ public static fromObject(object: { [k: string]: any }): google.protobuf.Timestamp; /** * Creates a plain object from a Timestamp message. Also converts values to other types if specified. * @param message Timestamp * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.Timestamp, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Timestamp to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Timestamp * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Struct. */ interface IStruct { /** Struct fields */ fields?: ({ [k: string]: google.protobuf.IValue }|null); } /** Represents a Struct. */ class Struct implements IStruct { /** * Constructs a new Struct. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IStruct); /** Struct fields. */ public fields: { [k: string]: google.protobuf.IValue }; /** * Creates a new Struct instance using the specified properties. * @param [properties] Properties to set * @returns Struct instance */ public static create(properties?: google.protobuf.IStruct): google.protobuf.Struct; /** * Encodes the specified Struct message. Does not implicitly {@link google.protobuf.Struct.verify|verify} messages. * @param message Struct message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IStruct, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Struct message, length delimited. Does not implicitly {@link google.protobuf.Struct.verify|verify} messages. * @param message Struct message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IStruct, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Struct message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Struct * @throws {Error} If the payload is not 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.Struct; /** * Decodes a Struct message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Struct * @throws {Error} If the payload 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.Struct; /** * Verifies a Struct message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Struct message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Struct */ public static fromObject(object: { [k: string]: any }): google.protobuf.Struct; /** * Creates a plain object from a Struct message. Also converts values to other types if specified. * @param message Struct * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.Struct, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Struct to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Struct * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Value. */ interface IValue { /** Value nullValue */ nullValue?: (google.protobuf.NullValue|keyof typeof google.protobuf.NullValue|null); /** Value numberValue */ numberValue?: (number|null); /** Value stringValue */ stringValue?: (string|null); /** Value boolValue */ boolValue?: (boolean|null); /** Value structValue */ structValue?: (google.protobuf.IStruct|null); /** Value listValue */ listValue?: (google.protobuf.IListValue|null); } /** Represents a Value. */ class Value implements IValue { /** * Constructs a new Value. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IValue); /** Value nullValue. */ public nullValue?: (google.protobuf.NullValue|keyof typeof google.protobuf.NullValue|null); /** Value numberValue. */ public numberValue?: (number|null); /** Value stringValue. */ public stringValue?: (string|null); /** Value boolValue. */ public boolValue?: (boolean|null); /** Value structValue. */ public structValue?: (google.protobuf.IStruct|null); /** Value listValue. */ public listValue?: (google.protobuf.IListValue|null); /** Value kind. */ public kind?: ("nullValue"|"numberValue"|"stringValue"|"boolValue"|"structValue"|"listValue"); /** * Creates a new Value instance using the specified properties. * @param [properties] Properties to set * @returns Value instance */ public static create(properties?: google.protobuf.IValue): google.protobuf.Value; /** * Encodes the specified Value message. Does not implicitly {@link google.protobuf.Value.verify|verify} messages. * @param message Value message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Value message, length delimited. Does not implicitly {@link google.protobuf.Value.verify|verify} messages. * @param message Value message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Value message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Value * @throws {Error} If the payload is not 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.Value; /** * Decodes a Value message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Value * @throws {Error} If the payload 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.Value; /** * Verifies a Value message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Value message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Value */ public static fromObject(object: { [k: string]: any }): google.protobuf.Value; /** * Creates a plain object from a Value message. Also converts values to other types if specified. * @param message Value * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.Value, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Value to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Value * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** NullValue enum. */ enum NullValue { NULL_VALUE = 0 } /** Properties of a ListValue. */ interface IListValue { /** ListValue values */ values?: (google.protobuf.IValue[]|null); } /** Represents a ListValue. */ class ListValue implements IListValue { /** * Constructs a new ListValue. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IListValue); /** ListValue values. */ public values: google.protobuf.IValue[]; /** * Creates a new ListValue instance using the specified properties. * @param [properties] Properties to set * @returns ListValue instance */ public static create(properties?: google.protobuf.IListValue): google.protobuf.ListValue; /** * Encodes the specified ListValue message. Does not implicitly {@link google.protobuf.ListValue.verify|verify} messages. * @param message ListValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IListValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListValue message, length delimited. Does not implicitly {@link google.protobuf.ListValue.verify|verify} messages. * @param message ListValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IListValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListValue message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListValue * @throws {Error} If the payload is not 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.ListValue; /** * Decodes a ListValue message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListValue * @throws {Error} If the payload 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.ListValue; /** * Verifies a ListValue message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListValue message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListValue */ public static fromObject(object: { [k: string]: any }): google.protobuf.ListValue; /** * Creates a plain object from a ListValue message. Also converts values to other types if specified. * @param message ListValue * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.ListValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListValue to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListValue * @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 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; } } /** Namespace type. */ namespace type { /** Properties of a Date. */ interface IDate { /** Date year */ year?: (number|null); /** Date month */ month?: (number|null); /** Date day */ day?: (number|null); } /** Represents a Date. */ class Date implements IDate { /** * Constructs a new Date. * @param [properties] Properties to set */ constructor(properties?: google.type.IDate); /** Date year. */ public year: number; /** Date month. */ public month: number; /** Date day. */ public day: number; /** * Creates a new Date instance using the specified properties. * @param [properties] Properties to set * @returns Date instance */ public static create(properties?: google.type.IDate): google.type.Date; /** * Encodes the specified Date message. Does not implicitly {@link google.type.Date.verify|verify} messages. * @param message Date message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.type.IDate, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Date message, length delimited. Does not implicitly {@link google.type.Date.verify|verify} messages. * @param message Date message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.type.IDate, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Date message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Date * @throws {Error} If the payload is not 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.Date; /** * Decodes a Date message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Date * @throws {Error} If the payload 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.Date; /** * Verifies a Date message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Date message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Date */ public static fromObject(object: { [k: string]: any }): google.type.Date; /** * Creates a plain object from a Date message. Also converts values to other types if specified. * @param message Date * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.type.Date, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Date to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Date * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** 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 iam. */ namespace iam { /** Namespace v1. */ namespace v1 { /** 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 identity. */ namespace identity { /** Namespace accesscontextmanager. */ namespace accesscontextmanager { /** Namespace v1. */ namespace v1 { /** Properties of an AccessLevel. */ interface IAccessLevel { /** AccessLevel name */ name?: (string|null); /** AccessLevel title */ title?: (string|null); /** AccessLevel description */ description?: (string|null); /** AccessLevel basic */ basic?: (google.identity.accesscontextmanager.v1.IBasicLevel|null); /** AccessLevel custom */ custom?: (google.identity.accesscontextmanager.v1.ICustomLevel|null); /** AccessLevel createTime */ createTime?: (google.protobuf.ITimestamp|null); /** AccessLevel updateTime */ updateTime?: (google.protobuf.ITimestamp|null); } /** Represents an AccessLevel. */ class AccessLevel implements IAccessLevel { /** * Constructs a new AccessLevel. * @param [properties] Properties to set */ constructor(properties?: google.identity.accesscontextmanager.v1.IAccessLevel); /** AccessLevel name. */ public name: string; /** AccessLevel title. */ public title: string; /** AccessLevel description. */ public description: string; /** AccessLevel basic. */ public basic?: (google.identity.accesscontextmanager.v1.IBasicLevel|null); /** AccessLevel custom. */ public custom?: (google.identity.accesscontextmanager.v1.ICustomLevel|null); /** AccessLevel createTime. */ public createTime?: (google.protobuf.ITimestamp|null); /** AccessLevel updateTime. */ public updateTime?: (google.protobuf.ITimestamp|null); /** AccessLevel level. */ public level?: ("basic"|"custom"); /** * Creates a new AccessLevel instance using the specified properties. * @param [properties] Properties to set * @returns AccessLevel instance */ public static create(properties?: google.identity.accesscontextmanager.v1.IAccessLevel): google.identity.accesscontextmanager.v1.AccessLevel; /** * Encodes the specified AccessLevel message. Does not implicitly {@link google.identity.accesscontextmanager.v1.AccessLevel.verify|verify} messages. * @param message AccessLevel message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.identity.accesscontextmanager.v1.IAccessLevel, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AccessLevel message, length delimited. Does not implicitly {@link google.identity.accesscontextmanager.v1.AccessLevel.verify|verify} messages. * @param message AccessLevel message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.identity.accesscontextmanager.v1.IAccessLevel, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AccessLevel message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AccessLevel * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.identity.accesscontextmanager.v1.AccessLevel; /** * Decodes an AccessLevel message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AccessLevel * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.identity.accesscontextmanager.v1.AccessLevel; /** * Verifies an AccessLevel message. * @param message Plain 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 AccessLevel message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AccessLevel */ public static fromObject(object: { [k: string]: any }): google.identity.accesscontextmanager.v1.AccessLevel; /** * Creates a plain object from an AccessLevel message. Also converts values to other types if specified. * @param message AccessLevel * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.identity.accesscontextmanager.v1.AccessLevel, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AccessLevel to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AccessLevel * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BasicLevel. */ interface IBasicLevel { /** BasicLevel conditions */ conditions?: (google.identity.accesscontextmanager.v1.ICondition[]|null); /** BasicLevel combiningFunction */ combiningFunction?: (google.identity.accesscontextmanager.v1.BasicLevel.ConditionCombiningFunction|keyof typeof google.identity.accesscontextmanager.v1.BasicLevel.ConditionCombiningFunction|null); } /** Represents a BasicLevel. */ class BasicLevel implements IBasicLevel { /** * Constructs a new BasicLevel. * @param [properties] Properties to set */ constructor(properties?: google.identity.accesscontextmanager.v1.IBasicLevel); /** BasicLevel conditions. */ public conditions: google.identity.accesscontextmanager.v1.ICondition[]; /** BasicLevel combiningFunction. */ public combiningFunction: (google.identity.accesscontextmanager.v1.BasicLevel.ConditionCombiningFunction|keyof typeof google.identity.accesscontextmanager.v1.BasicLevel.ConditionCombiningFunction); /** * Creates a new BasicLevel instance using the specified properties. * @param [properties] Properties to set * @returns BasicLevel instance */ public static create(properties?: google.identity.accesscontextmanager.v1.IBasicLevel): google.identity.accesscontextmanager.v1.BasicLevel; /** * Encodes the specified BasicLevel message. Does not implicitly {@link google.identity.accesscontextmanager.v1.BasicLevel.verify|verify} messages. * @param message BasicLevel message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.identity.accesscontextmanager.v1.IBasicLevel, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BasicLevel message, length delimited. Does not implicitly {@link google.identity.accesscontextmanager.v1.BasicLevel.verify|verify} messages. * @param message BasicLevel message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.identity.accesscontextmanager.v1.IBasicLevel, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BasicLevel message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BasicLevel * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.identity.accesscontextmanager.v1.BasicLevel; /** * Decodes a BasicLevel message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BasicLevel * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.identity.accesscontextmanager.v1.BasicLevel; /** * Verifies a BasicLevel message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BasicLevel message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BasicLevel */ public static fromObject(object: { [k: string]: any }): google.identity.accesscontextmanager.v1.BasicLevel; /** * Creates a plain object from a BasicLevel message. Also converts values to other types if specified. * @param message BasicLevel * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.identity.accesscontextmanager.v1.BasicLevel, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BasicLevel to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BasicLevel * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BasicLevel { /** ConditionCombiningFunction enum. */ enum ConditionCombiningFunction { AND = 0, OR = 1 } } /** Properties of a Condition. */ interface ICondition { /** Condition ipSubnetworks */ ipSubnetworks?: (string[]|null); /** Condition devicePolicy */ devicePolicy?: (google.identity.accesscontextmanager.v1.IDevicePolicy|null); /** Condition requiredAccessLevels */ requiredAccessLevels?: (string[]|null); /** Condition negate */ negate?: (boolean|null); /** Condition members */ members?: (string[]|null); /** Condition regions */ regions?: (string[]|null); } /** Represents a Condition. */ class Condition implements ICondition { /** * Constructs a new Condition. * @param [properties] Properties to set */ constructor(properties?: google.identity.accesscontextmanager.v1.ICondition); /** Condition ipSubnetworks. */ public ipSubnetworks: string[]; /** Condition devicePolicy. */ public devicePolicy?: (google.identity.accesscontextmanager.v1.IDevicePolicy|null); /** Condition requiredAccessLevels. */ public requiredAccessLevels: string[]; /** Condition negate. */ public negate: boolean; /** Condition members. */ public members: string[]; /** Condition regions. */ public regions: string[]; /** * Creates a new Condition instance using the specified properties. * @param [properties] Properties to set * @returns Condition instance */ public static create(properties?: google.identity.accesscontextmanager.v1.ICondition): google.identity.accesscontextmanager.v1.Condition; /** * Encodes the specified Condition message. Does not implicitly {@link google.identity.accesscontextmanager.v1.Condition.verify|verify} messages. * @param message Condition message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.identity.accesscontextmanager.v1.ICondition, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Condition message, length delimited. Does not implicitly {@link google.identity.accesscontextmanager.v1.Condition.verify|verify} messages. * @param message Condition message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.identity.accesscontextmanager.v1.ICondition, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Condition message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Condition * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.identity.accesscontextmanager.v1.Condition; /** * Decodes a Condition message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Condition * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.identity.accesscontextmanager.v1.Condition; /** * Verifies a Condition message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Condition message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Condition */ public static fromObject(object: { [k: string]: any }): google.identity.accesscontextmanager.v1.Condition; /** * Creates a plain object from a Condition message. Also converts values to other types if specified. * @param message Condition * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.identity.accesscontextmanager.v1.Condition, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Condition to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Condition * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CustomLevel. */ interface ICustomLevel { /** CustomLevel expr */ expr?: (google.type.IExpr|null); } /** Represents a CustomLevel. */ class CustomLevel implements ICustomLevel { /** * Constructs a new CustomLevel. * @param [properties] Properties to set */ constructor(properties?: google.identity.accesscontextmanager.v1.ICustomLevel); /** CustomLevel expr. */ public expr?: (google.type.IExpr|null); /** * Creates a new CustomLevel instance using the specified properties. * @param [properties] Properties to set * @returns CustomLevel instance */ public static create(properties?: google.identity.accesscontextmanager.v1.ICustomLevel): google.identity.accesscontextmanager.v1.CustomLevel; /** * Encodes the specified CustomLevel message. Does not implicitly {@link google.identity.accesscontextmanager.v1.CustomLevel.verify|verify} messages. * @param message CustomLevel message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.identity.accesscontextmanager.v1.ICustomLevel, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CustomLevel message, length delimited. Does not implicitly {@link google.identity.accesscontextmanager.v1.CustomLevel.verify|verify} messages. * @param message CustomLevel message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.identity.accesscontextmanager.v1.ICustomLevel, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CustomLevel message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CustomLevel * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.identity.accesscontextmanager.v1.CustomLevel; /** * Decodes a CustomLevel message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CustomLevel * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.identity.accesscontextmanager.v1.CustomLevel; /** * Verifies a CustomLevel message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CustomLevel message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CustomLevel */ public static fromObject(object: { [k: string]: any }): google.identity.accesscontextmanager.v1.CustomLevel; /** * Creates a plain object from a CustomLevel message. Also converts values to other types if specified. * @param message CustomLevel * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.identity.accesscontextmanager.v1.CustomLevel, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CustomLevel to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CustomLevel * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DevicePolicy. */ interface IDevicePolicy { /** DevicePolicy requireScreenlock */ requireScreenlock?: (boolean|null); /** DevicePolicy allowedEncryptionStatuses */ allowedEncryptionStatuses?: (google.identity.accesscontextmanager.type.DeviceEncryptionStatus[]|null); /** DevicePolicy osConstraints */ osConstraints?: (google.identity.accesscontextmanager.v1.IOsConstraint[]|null); /** DevicePolicy allowedDeviceManagementLevels */ allowedDeviceManagementLevels?: (google.identity.accesscontextmanager.type.DeviceManagementLevel[]|null); /** DevicePolicy requireAdminApproval */ requireAdminApproval?: (boolean|null); /** DevicePolicy requireCorpOwned */ requireCorpOwned?: (boolean|null); } /** Represents a DevicePolicy. */ class DevicePolicy implements IDevicePolicy { /** * Constructs a new DevicePolicy. * @param [properties] Properties to set */ constructor(properties?: google.identity.accesscontextmanager.v1.IDevicePolicy); /** DevicePolicy requireScreenlock. */ public requireScreenlock: boolean; /** DevicePolicy allowedEncryptionStatuses. */ public allowedEncryptionStatuses: google.identity.accesscontextmanager.type.DeviceEncryptionStatus[]; /** DevicePolicy osConstraints. */ public osConstraints: google.identity.accesscontextmanager.v1.IOsConstraint[]; /** DevicePolicy allowedDeviceManagementLevels. */ public allowedDeviceManagementLevels: google.identity.accesscontextmanager.type.DeviceManagementLevel[]; /** DevicePolicy requireAdminApproval. */ public requireAdminApproval: boolean; /** DevicePolicy requireCorpOwned. */ public requireCorpOwned: boolean; /** * Creates a new DevicePolicy instance using the specified properties. * @param [properties] Properties to set * @returns DevicePolicy instance */ public static create(properties?: google.identity.accesscontextmanager.v1.IDevicePolicy): google.identity.accesscontextmanager.v1.DevicePolicy; /** * Encodes the specified DevicePolicy message. Does not implicitly {@link google.identity.accesscontextmanager.v1.DevicePolicy.verify|verify} messages. * @param message DevicePolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.identity.accesscontextmanager.v1.IDevicePolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DevicePolicy message, length delimited. Does not implicitly {@link google.identity.accesscontextmanager.v1.DevicePolicy.verify|verify} messages. * @param message DevicePolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.identity.accesscontextmanager.v1.IDevicePolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DevicePolicy message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DevicePolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.identity.accesscontextmanager.v1.DevicePolicy; /** * Decodes a DevicePolicy message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DevicePolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.identity.accesscontextmanager.v1.DevicePolicy; /** * Verifies a DevicePolicy message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DevicePolicy message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DevicePolicy */ public static fromObject(object: { [k: string]: any }): google.identity.accesscontextmanager.v1.DevicePolicy; /** * Creates a plain object from a DevicePolicy message. Also converts values to other types if specified. * @param message DevicePolicy * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.identity.accesscontextmanager.v1.DevicePolicy, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DevicePolicy to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DevicePolicy * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an OsConstraint. */ interface IOsConstraint { /** OsConstraint osType */ osType?: (google.identity.accesscontextmanager.type.OsType|keyof typeof google.identity.accesscontextmanager.type.OsType|null); /** OsConstraint minimumVersion */ minimumVersion?: (string|null); /** OsConstraint requireVerifiedChromeOs */ requireVerifiedChromeOs?: (boolean|null); } /** Represents an OsConstraint. */ class OsConstraint implements IOsConstraint { /** * Constructs a new OsConstraint. * @param [properties] Properties to set */ constructor(properties?: google.identity.accesscontextmanager.v1.IOsConstraint); /** OsConstraint osType. */ public osType: (google.identity.accesscontextmanager.type.OsType|keyof typeof google.identity.accesscontextmanager.type.OsType); /** OsConstraint minimumVersion. */ public minimumVersion: string; /** OsConstraint requireVerifiedChromeOs. */ public requireVerifiedChromeOs: boolean; /** * Creates a new OsConstraint instance using the specified properties. * @param [properties] Properties to set * @returns OsConstraint instance */ public static create(properties?: google.identity.accesscontextmanager.v1.IOsConstraint): google.identity.accesscontextmanager.v1.OsConstraint; /** * Encodes the specified OsConstraint message. Does not implicitly {@link google.identity.accesscontextmanager.v1.OsConstraint.verify|verify} messages. * @param message OsConstraint message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.identity.accesscontextmanager.v1.IOsConstraint, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified OsConstraint message, length delimited. Does not implicitly {@link google.identity.accesscontextmanager.v1.OsConstraint.verify|verify} messages. * @param message OsConstraint message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.identity.accesscontextmanager.v1.IOsConstraint, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an OsConstraint message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns OsConstraint * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.identity.accesscontextmanager.v1.OsConstraint; /** * Decodes an OsConstraint message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns OsConstraint * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.identity.accesscontextmanager.v1.OsConstraint; /** * Verifies an OsConstraint message. * @param message Plain 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 OsConstraint message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns OsConstraint */ public static fromObject(object: { [k: string]: any }): google.identity.accesscontextmanager.v1.OsConstraint; /** * Creates a plain object from an OsConstraint message. Also converts values to other types if specified. * @param message OsConstraint * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.identity.accesscontextmanager.v1.OsConstraint, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this OsConstraint to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for OsConstraint * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AccessPolicy. */ interface IAccessPolicy { /** AccessPolicy name */ name?: (string|null); /** AccessPolicy parent */ parent?: (string|null); /** AccessPolicy title */ title?: (string|null); /** AccessPolicy scopes */ scopes?: (string[]|null); /** AccessPolicy createTime */ createTime?: (google.protobuf.ITimestamp|null); /** AccessPolicy updateTime */ updateTime?: (google.protobuf.ITimestamp|null); /** AccessPolicy etag */ etag?: (string|null); } /** Represents an AccessPolicy. */ class AccessPolicy implements IAccessPolicy { /** * Constructs a new AccessPolicy. * @param [properties] Properties to set */ constructor(properties?: google.identity.accesscontextmanager.v1.IAccessPolicy); /** AccessPolicy name. */ public name: string; /** AccessPolicy parent. */ public parent: string; /** AccessPolicy title. */ public title: string; /** AccessPolicy scopes. */ public scopes: string[]; /** AccessPolicy createTime. */ public createTime?: (google.protobuf.ITimestamp|null); /** AccessPolicy updateTime. */ public updateTime?: (google.protobuf.ITimestamp|null); /** AccessPolicy etag. */ public etag: string; /** * Creates a new AccessPolicy instance using the specified properties. * @param [properties] Properties to set * @returns AccessPolicy instance */ public static create(properties?: google.identity.accesscontextmanager.v1.IAccessPolicy): google.identity.accesscontextmanager.v1.AccessPolicy; /** * Encodes the specified AccessPolicy message. Does not implicitly {@link google.identity.accesscontextmanager.v1.AccessPolicy.verify|verify} messages. * @param message AccessPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.identity.accesscontextmanager.v1.IAccessPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AccessPolicy message, length delimited. Does not implicitly {@link google.identity.accesscontextmanager.v1.AccessPolicy.verify|verify} messages. * @param message AccessPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.identity.accesscontextmanager.v1.IAccessPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AccessPolicy message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AccessPolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.identity.accesscontextmanager.v1.AccessPolicy; /** * Decodes an AccessPolicy message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AccessPolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.identity.accesscontextmanager.v1.AccessPolicy; /** * Verifies an AccessPolicy message. * @param message Plain 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 AccessPolicy message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AccessPolicy */ public static fromObject(object: { [k: string]: any }): google.identity.accesscontextmanager.v1.AccessPolicy; /** * Creates a plain object from an AccessPolicy message. Also converts values to other types if specified. * @param message AccessPolicy * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.identity.accesscontextmanager.v1.AccessPolicy, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AccessPolicy to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AccessPolicy * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ServicePerimeter. */ interface IServicePerimeter { /** ServicePerimeter name */ name?: (string|null); /** ServicePerimeter title */ title?: (string|null); /** ServicePerimeter description */ description?: (string|null); /** ServicePerimeter createTime */ createTime?: (google.protobuf.ITimestamp|null); /** ServicePerimeter updateTime */ updateTime?: (google.protobuf.ITimestamp|null); /** ServicePerimeter perimeterType */ perimeterType?: (google.identity.accesscontextmanager.v1.ServicePerimeter.PerimeterType|keyof typeof google.identity.accesscontextmanager.v1.ServicePerimeter.PerimeterType|null); /** ServicePerimeter status */ status?: (google.identity.accesscontextmanager.v1.IServicePerimeterConfig|null); /** ServicePerimeter spec */ spec?: (google.identity.accesscontextmanager.v1.IServicePerimeterConfig|null); /** ServicePerimeter useExplicitDryRunSpec */ useExplicitDryRunSpec?: (boolean|null); } /** Represents a ServicePerimeter. */ class ServicePerimeter implements IServicePerimeter { /** * Constructs a new ServicePerimeter. * @param [properties] Properties to set */ constructor(properties?: google.identity.accesscontextmanager.v1.IServicePerimeter); /** ServicePerimeter name. */ public name: string; /** ServicePerimeter title. */ public title: string; /** ServicePerimeter description. */ public description: string; /** ServicePerimeter createTime. */ public createTime?: (google.protobuf.ITimestamp|null); /** ServicePerimeter updateTime. */ public updateTime?: (google.protobuf.ITimestamp|null); /** ServicePerimeter perimeterType. */ public perimeterType: (google.identity.accesscontextmanager.v1.ServicePerimeter.PerimeterType|keyof typeof google.identity.accesscontextmanager.v1.ServicePerimeter.PerimeterType); /** ServicePerimeter status. */ public status?: (google.identity.accesscontextmanager.v1.IServicePerimeterConfig|null); /** ServicePerimeter spec. */ public spec?: (google.identity.accesscontextmanager.v1.IServicePerimeterConfig|null); /** ServicePerimeter useExplicitDryRunSpec. */ public useExplicitDryRunSpec: boolean; /** * Creates a new ServicePerimeter instance using the specified properties. * @param [properties] Properties to set * @returns ServicePerimeter instance */ public static create(properties?: google.identity.accesscontextmanager.v1.IServicePerimeter): google.identity.accesscontextmanager.v1.ServicePerimeter; /** * Encodes the specified ServicePerimeter message. Does not implicitly {@link google.identity.accesscontextmanager.v1.ServicePerimeter.verify|verify} messages. * @param message ServicePerimeter message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.identity.accesscontextmanager.v1.IServicePerimeter, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ServicePerimeter message, length delimited. Does not implicitly {@link google.identity.accesscontextmanager.v1.ServicePerimeter.verify|verify} messages. * @param message ServicePerimeter message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.identity.accesscontextmanager.v1.IServicePerimeter, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ServicePerimeter message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ServicePerimeter * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.identity.accesscontextmanager.v1.ServicePerimeter; /** * Decodes a ServicePerimeter message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ServicePerimeter * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.identity.accesscontextmanager.v1.ServicePerimeter; /** * Verifies a ServicePerimeter message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ServicePerimeter message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ServicePerimeter */ public static fromObject(object: { [k: string]: any }): google.identity.accesscontextmanager.v1.ServicePerimeter; /** * Creates a plain object from a ServicePerimeter message. Also converts values to other types if specified. * @param message ServicePerimeter * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.identity.accesscontextmanager.v1.ServicePerimeter, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ServicePerimeter to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ServicePerimeter * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ServicePerimeter { /** PerimeterType enum. */ enum PerimeterType { PERIMETER_TYPE_REGULAR = 0, PERIMETER_TYPE_BRIDGE = 1 } } /** Properties of a ServicePerimeterConfig. */ interface IServicePerimeterConfig { /** ServicePerimeterConfig resources */ resources?: (string[]|null); /** ServicePerimeterConfig accessLevels */ accessLevels?: (string[]|null); /** ServicePerimeterConfig restrictedServices */ restrictedServices?: (string[]|null); /** ServicePerimeterConfig vpcAccessibleServices */ vpcAccessibleServices?: (google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IVpcAccessibleServices|null); /** ServicePerimeterConfig ingressPolicies */ ingressPolicies?: (google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IIngressPolicy[]|null); /** ServicePerimeterConfig egressPolicies */ egressPolicies?: (google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IEgressPolicy[]|null); } /** Represents a ServicePerimeterConfig. */ class ServicePerimeterConfig implements IServicePerimeterConfig { /** * Constructs a new ServicePerimeterConfig. * @param [properties] Properties to set */ constructor(properties?: google.identity.accesscontextmanager.v1.IServicePerimeterConfig); /** ServicePerimeterConfig resources. */ public resources: string[]; /** ServicePerimeterConfig accessLevels. */ public accessLevels: string[]; /** ServicePerimeterConfig restrictedServices. */ public restrictedServices: string[]; /** ServicePerimeterConfig vpcAccessibleServices. */ public vpcAccessibleServices?: (google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IVpcAccessibleServices|null); /** ServicePerimeterConfig ingressPolicies. */ public ingressPolicies: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IIngressPolicy[]; /** ServicePerimeterConfig egressPolicies. */ public egressPolicies: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IEgressPolicy[]; /** * Creates a new ServicePerimeterConfig instance using the specified properties. * @param [properties] Properties to set * @returns ServicePerimeterConfig instance */ public static create(properties?: google.identity.accesscontextmanager.v1.IServicePerimeterConfig): google.identity.accesscontextmanager.v1.ServicePerimeterConfig; /** * Encodes the specified ServicePerimeterConfig message. Does not implicitly {@link google.identity.accesscontextmanager.v1.ServicePerimeterConfig.verify|verify} messages. * @param message ServicePerimeterConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.identity.accesscontextmanager.v1.IServicePerimeterConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ServicePerimeterConfig message, length delimited. Does not implicitly {@link google.identity.accesscontextmanager.v1.ServicePerimeterConfig.verify|verify} messages. * @param message ServicePerimeterConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.identity.accesscontextmanager.v1.IServicePerimeterConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ServicePerimeterConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ServicePerimeterConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.identity.accesscontextmanager.v1.ServicePerimeterConfig; /** * Decodes a ServicePerimeterConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ServicePerimeterConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.identity.accesscontextmanager.v1.ServicePerimeterConfig; /** * Verifies a ServicePerimeterConfig message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ServicePerimeterConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ServicePerimeterConfig */ public static fromObject(object: { [k: string]: any }): google.identity.accesscontextmanager.v1.ServicePerimeterConfig; /** * Creates a plain object from a ServicePerimeterConfig message. Also converts values to other types if specified. * @param message ServicePerimeterConfig * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ServicePerimeterConfig to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ServicePerimeterConfig * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ServicePerimeterConfig { /** Properties of a VpcAccessibleServices. */ interface IVpcAccessibleServices { /** VpcAccessibleServices enableRestriction */ enableRestriction?: (boolean|null); /** VpcAccessibleServices allowedServices */ allowedServices?: (string[]|null); } /** Represents a VpcAccessibleServices. */ class VpcAccessibleServices implements IVpcAccessibleServices { /** * Constructs a new VpcAccessibleServices. * @param [properties] Properties to set */ constructor(properties?: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IVpcAccessibleServices); /** VpcAccessibleServices enableRestriction. */ public enableRestriction: boolean; /** VpcAccessibleServices allowedServices. */ public allowedServices: string[]; /** * Creates a new VpcAccessibleServices instance using the specified properties. * @param [properties] Properties to set * @returns VpcAccessibleServices instance */ public static create(properties?: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IVpcAccessibleServices): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.VpcAccessibleServices; /** * Encodes the specified VpcAccessibleServices message. Does not implicitly {@link google.identity.accesscontextmanager.v1.ServicePerimeterConfig.VpcAccessibleServices.verify|verify} messages. * @param message VpcAccessibleServices message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IVpcAccessibleServices, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified VpcAccessibleServices message, length delimited. Does not implicitly {@link google.identity.accesscontextmanager.v1.ServicePerimeterConfig.VpcAccessibleServices.verify|verify} messages. * @param message VpcAccessibleServices message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IVpcAccessibleServices, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a VpcAccessibleServices message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns VpcAccessibleServices * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.VpcAccessibleServices; /** * Decodes a VpcAccessibleServices message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns VpcAccessibleServices * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.VpcAccessibleServices; /** * Verifies a VpcAccessibleServices message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a VpcAccessibleServices message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns VpcAccessibleServices */ public static fromObject(object: { [k: string]: any }): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.VpcAccessibleServices; /** * Creates a plain object from a VpcAccessibleServices message. Also converts values to other types if specified. * @param message VpcAccessibleServices * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.VpcAccessibleServices, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this VpcAccessibleServices to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for VpcAccessibleServices * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** IdentityType enum. */ enum IdentityType { IDENTITY_TYPE_UNSPECIFIED = 0, ANY_IDENTITY = 1, ANY_USER_ACCOUNT = 2, ANY_SERVICE_ACCOUNT = 3 } /** Properties of a MethodSelector. */ interface IMethodSelector { /** MethodSelector method */ method?: (string|null); /** MethodSelector permission */ permission?: (string|null); } /** Represents a MethodSelector. */ class MethodSelector implements IMethodSelector { /** * Constructs a new MethodSelector. * @param [properties] Properties to set */ constructor(properties?: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IMethodSelector); /** MethodSelector method. */ public method?: (string|null); /** MethodSelector permission. */ public permission?: (string|null); /** MethodSelector kind. */ public kind?: ("method"|"permission"); /** * Creates a new MethodSelector instance using the specified properties. * @param [properties] Properties to set * @returns MethodSelector instance */ public static create(properties?: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IMethodSelector): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector; /** * Encodes the specified MethodSelector message. Does not implicitly {@link google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector.verify|verify} messages. * @param message MethodSelector message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IMethodSelector, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MethodSelector message, length delimited. Does not implicitly {@link google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector.verify|verify} messages. * @param message MethodSelector message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IMethodSelector, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MethodSelector message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MethodSelector * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector; /** * Decodes a MethodSelector message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MethodSelector * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector; /** * Verifies a MethodSelector message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MethodSelector message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MethodSelector */ public static fromObject(object: { [k: string]: any }): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector; /** * Creates a plain object from a MethodSelector message. Also converts values to other types if specified. * @param message MethodSelector * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MethodSelector to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MethodSelector * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ApiOperation. */ interface IApiOperation { /** ApiOperation serviceName */ serviceName?: (string|null); /** ApiOperation methodSelectors */ methodSelectors?: (google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IMethodSelector[]|null); } /** Represents an ApiOperation. */ class ApiOperation implements IApiOperation { /** * Constructs a new ApiOperation. * @param [properties] Properties to set */ constructor(properties?: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IApiOperation); /** ApiOperation serviceName. */ public serviceName: string; /** ApiOperation methodSelectors. */ public methodSelectors: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IMethodSelector[]; /** * Creates a new ApiOperation instance using the specified properties. * @param [properties] Properties to set * @returns ApiOperation instance */ public static create(properties?: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IApiOperation): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation; /** * Encodes the specified ApiOperation message. Does not implicitly {@link google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation.verify|verify} messages. * @param message ApiOperation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IApiOperation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ApiOperation message, length delimited. Does not implicitly {@link google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation.verify|verify} messages. * @param message ApiOperation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IApiOperation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ApiOperation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ApiOperation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation; /** * Decodes an ApiOperation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ApiOperation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation; /** * Verifies an ApiOperation message. * @param message Plain 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 ApiOperation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ApiOperation */ public static fromObject(object: { [k: string]: any }): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation; /** * Creates a plain object from an ApiOperation message. Also converts values to other types if specified. * @param message ApiOperation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ApiOperation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ApiOperation * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an IngressSource. */ interface IIngressSource { /** IngressSource accessLevel */ accessLevel?: (string|null); /** IngressSource resource */ resource?: (string|null); } /** Represents an IngressSource. */ class IngressSource implements IIngressSource { /** * Constructs a new IngressSource. * @param [properties] Properties to set */ constructor(properties?: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IIngressSource); /** IngressSource accessLevel. */ public accessLevel?: (string|null); /** IngressSource resource. */ public resource?: (string|null); /** IngressSource source. */ public source?: ("accessLevel"|"resource"); /** * Creates a new IngressSource instance using the specified properties. * @param [properties] Properties to set * @returns IngressSource instance */ public static create(properties?: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IIngressSource): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressSource; /** * Encodes the specified IngressSource message. Does not implicitly {@link google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressSource.verify|verify} messages. * @param message IngressSource message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IIngressSource, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified IngressSource message, length delimited. Does not implicitly {@link google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressSource.verify|verify} messages. * @param message IngressSource message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IIngressSource, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an IngressSource message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns IngressSource * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressSource; /** * Decodes an IngressSource message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns IngressSource * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressSource; /** * Verifies an IngressSource message. * @param message Plain 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 IngressSource message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns IngressSource */ public static fromObject(object: { [k: string]: any }): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressSource; /** * Creates a plain object from an IngressSource message. Also converts values to other types if specified. * @param message IngressSource * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressSource, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this IngressSource to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for IngressSource * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an IngressFrom. */ interface IIngressFrom { /** IngressFrom sources */ sources?: (google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IIngressSource[]|null); /** IngressFrom identities */ identities?: (string[]|null); /** IngressFrom identityType */ identityType?: (google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IdentityType|keyof typeof google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IdentityType|null); } /** Represents an IngressFrom. */ class IngressFrom implements IIngressFrom { /** * Constructs a new IngressFrom. * @param [properties] Properties to set */ constructor(properties?: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IIngressFrom); /** IngressFrom sources. */ public sources: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IIngressSource[]; /** IngressFrom identities. */ public identities: string[]; /** IngressFrom identityType. */ public identityType: (google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IdentityType|keyof typeof google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IdentityType); /** * Creates a new IngressFrom instance using the specified properties. * @param [properties] Properties to set * @returns IngressFrom instance */ public static create(properties?: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IIngressFrom): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom; /** * Encodes the specified IngressFrom message. Does not implicitly {@link google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom.verify|verify} messages. * @param message IngressFrom message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IIngressFrom, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified IngressFrom message, length delimited. Does not implicitly {@link google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom.verify|verify} messages. * @param message IngressFrom message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IIngressFrom, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an IngressFrom message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns IngressFrom * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom; /** * Decodes an IngressFrom message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns IngressFrom * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom; /** * Verifies an IngressFrom message. * @param message Plain 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 IngressFrom message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns IngressFrom */ public static fromObject(object: { [k: string]: any }): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom; /** * Creates a plain object from an IngressFrom message. Also converts values to other types if specified. * @param message IngressFrom * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this IngressFrom to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for IngressFrom * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an IngressTo. */ interface IIngressTo { /** IngressTo operations */ operations?: (google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IApiOperation[]|null); /** IngressTo resources */ resources?: (string[]|null); } /** Represents an IngressTo. */ class IngressTo implements IIngressTo { /** * Constructs a new IngressTo. * @param [properties] Properties to set */ constructor(properties?: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IIngressTo); /** IngressTo operations. */ public operations: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IApiOperation[]; /** IngressTo resources. */ public resources: string[]; /** * Creates a new IngressTo instance using the specified properties. * @param [properties] Properties to set * @returns IngressTo instance */ public static create(properties?: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IIngressTo): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressTo; /** * Encodes the specified IngressTo message. Does not implicitly {@link google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressTo.verify|verify} messages. * @param message IngressTo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IIngressTo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified IngressTo message, length delimited. Does not implicitly {@link google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressTo.verify|verify} messages. * @param message IngressTo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IIngressTo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an IngressTo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns IngressTo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressTo; /** * Decodes an IngressTo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns IngressTo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressTo; /** * Verifies an IngressTo message. * @param message Plain 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 IngressTo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns IngressTo */ public static fromObject(object: { [k: string]: any }): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressTo; /** * Creates a plain object from an IngressTo message. Also converts values to other types if specified. * @param message IngressTo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressTo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this IngressTo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for IngressTo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an IngressPolicy. */ interface IIngressPolicy { /** IngressPolicy ingressFrom */ ingressFrom?: (google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IIngressFrom|null); /** IngressPolicy ingressTo */ ingressTo?: (google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IIngressTo|null); } /** Represents an IngressPolicy. */ class IngressPolicy implements IIngressPolicy { /** * Constructs a new IngressPolicy. * @param [properties] Properties to set */ constructor(properties?: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IIngressPolicy); /** IngressPolicy ingressFrom. */ public ingressFrom?: (google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IIngressFrom|null); /** IngressPolicy ingressTo. */ public ingressTo?: (google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IIngressTo|null); /** * Creates a new IngressPolicy instance using the specified properties. * @param [properties] Properties to set * @returns IngressPolicy instance */ public static create(properties?: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IIngressPolicy): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy; /** * Encodes the specified IngressPolicy message. Does not implicitly {@link google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy.verify|verify} messages. * @param message IngressPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IIngressPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified IngressPolicy message, length delimited. Does not implicitly {@link google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy.verify|verify} messages. * @param message IngressPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IIngressPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an IngressPolicy message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns IngressPolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy; /** * Decodes an IngressPolicy message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns IngressPolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy; /** * Verifies an IngressPolicy message. * @param message Plain 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 IngressPolicy message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns IngressPolicy */ public static fromObject(object: { [k: string]: any }): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy; /** * Creates a plain object from an IngressPolicy message. Also converts values to other types if specified. * @param message IngressPolicy * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this IngressPolicy to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for IngressPolicy * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EgressFrom. */ interface IEgressFrom { /** EgressFrom identities */ identities?: (string[]|null); /** EgressFrom identityType */ identityType?: (google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IdentityType|keyof typeof google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IdentityType|null); } /** Represents an EgressFrom. */ class EgressFrom implements IEgressFrom { /** * Constructs a new EgressFrom. * @param [properties] Properties to set */ constructor(properties?: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IEgressFrom); /** EgressFrom identities. */ public identities: string[]; /** EgressFrom identityType. */ public identityType: (google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IdentityType|keyof typeof google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IdentityType); /** * Creates a new EgressFrom instance using the specified properties. * @param [properties] Properties to set * @returns EgressFrom instance */ public static create(properties?: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IEgressFrom): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressFrom; /** * Encodes the specified EgressFrom message. Does not implicitly {@link google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressFrom.verify|verify} messages. * @param message EgressFrom message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IEgressFrom, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EgressFrom message, length delimited. Does not implicitly {@link google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressFrom.verify|verify} messages. * @param message EgressFrom message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IEgressFrom, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EgressFrom message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EgressFrom * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressFrom; /** * Decodes an EgressFrom message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EgressFrom * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressFrom; /** * Verifies an EgressFrom message. * @param message Plain 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 EgressFrom message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EgressFrom */ public static fromObject(object: { [k: string]: any }): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressFrom; /** * Creates a plain object from an EgressFrom message. Also converts values to other types if specified. * @param message EgressFrom * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressFrom, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EgressFrom to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EgressFrom * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EgressTo. */ interface IEgressTo { /** EgressTo resources */ resources?: (string[]|null); /** EgressTo operations */ operations?: (google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IApiOperation[]|null); /** EgressTo externalResources */ externalResources?: (string[]|null); } /** Represents an EgressTo. */ class EgressTo implements IEgressTo { /** * Constructs a new EgressTo. * @param [properties] Properties to set */ constructor(properties?: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IEgressTo); /** EgressTo resources. */ public resources: string[]; /** EgressTo operations. */ public operations: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IApiOperation[]; /** EgressTo externalResources. */ public externalResources: string[]; /** * Creates a new EgressTo instance using the specified properties. * @param [properties] Properties to set * @returns EgressTo instance */ public static create(properties?: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IEgressTo): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressTo; /** * Encodes the specified EgressTo message. Does not implicitly {@link google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressTo.verify|verify} messages. * @param message EgressTo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IEgressTo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EgressTo message, length delimited. Does not implicitly {@link google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressTo.verify|verify} messages. * @param message EgressTo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IEgressTo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EgressTo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EgressTo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressTo; /** * Decodes an EgressTo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EgressTo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressTo; /** * Verifies an EgressTo message. * @param message Plain 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 EgressTo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EgressTo */ public static fromObject(object: { [k: string]: any }): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressTo; /** * Creates a plain object from an EgressTo message. Also converts values to other types if specified. * @param message EgressTo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressTo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EgressTo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EgressTo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EgressPolicy. */ interface IEgressPolicy { /** EgressPolicy egressFrom */ egressFrom?: (google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IEgressFrom|null); /** EgressPolicy egressTo */ egressTo?: (google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IEgressTo|null); } /** Represents an EgressPolicy. */ class EgressPolicy implements IEgressPolicy { /** * Constructs a new EgressPolicy. * @param [properties] Properties to set */ constructor(properties?: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IEgressPolicy); /** EgressPolicy egressFrom. */ public egressFrom?: (google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IEgressFrom|null); /** EgressPolicy egressTo. */ public egressTo?: (google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IEgressTo|null); /** * Creates a new EgressPolicy instance using the specified properties. * @param [properties] Properties to set * @returns EgressPolicy instance */ public static create(properties?: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IEgressPolicy): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy; /** * Encodes the specified EgressPolicy message. Does not implicitly {@link google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy.verify|verify} messages. * @param message EgressPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IEgressPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EgressPolicy message, length delimited. Does not implicitly {@link google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy.verify|verify} messages. * @param message EgressPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IEgressPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EgressPolicy message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EgressPolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy; /** * Decodes an EgressPolicy message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EgressPolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy; /** * Verifies an EgressPolicy message. * @param message Plain 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 EgressPolicy message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EgressPolicy */ public static fromObject(object: { [k: string]: any }): google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy; /** * Creates a plain object from an EgressPolicy message. Also converts values to other types if specified. * @param message EgressPolicy * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EgressPolicy to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EgressPolicy * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } } /** Namespace type. */ namespace type { /** DeviceEncryptionStatus enum. */ enum DeviceEncryptionStatus { ENCRYPTION_UNSPECIFIED = 0, ENCRYPTION_UNSUPPORTED = 1, UNENCRYPTED = 2, ENCRYPTED = 3 } /** OsType enum. */ enum OsType { OS_UNSPECIFIED = 0, DESKTOP_MAC = 1, DESKTOP_WINDOWS = 2, DESKTOP_LINUX = 3, DESKTOP_CHROME_OS = 6, ANDROID = 4, IOS = 5 } /** DeviceManagementLevel enum. */ enum DeviceManagementLevel { MANAGEMENT_UNSPECIFIED = 0, NONE = 1, BASIC = 2, COMPLETE = 3 } } } } /** Namespace rpc. */ namespace rpc { /** Code enum. */ enum Code { OK = 0, CANCELLED = 1, UNKNOWN = 2, INVALID_ARGUMENT = 3, DEADLINE_EXCEEDED = 4, NOT_FOUND = 5, ALREADY_EXISTS = 6, PERMISSION_DENIED = 7, UNAUTHENTICATED = 16, RESOURCE_EXHAUSTED = 8, FAILED_PRECONDITION = 9, ABORTED = 10, OUT_OF_RANGE = 11, UNIMPLEMENTED = 12, INTERNAL = 13, UNAVAILABLE = 14, DATA_LOSS = 15 } /** 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; } } /** 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); /** ListOperationsRequest returnPartialSuccess */ returnPartialSuccess?: (boolean|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; /** ListOperationsRequest returnPartialSuccess. */ public returnPartialSuccess: boolean; /** * 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); /** ListOperationsResponse unreachable */ unreachable?: (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; /** ListOperationsResponse unreachable. */ public unreachable: 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; } } }