UNPKG

@google-cloud/service-management

Version:
966 lines (796 loc) 878 kB
// 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 api. */ namespace api { /** Namespace servicemanagement. */ namespace servicemanagement { /** Namespace v1. */ namespace v1 { /** Properties of a ManagedService. */ interface IManagedService { /** ManagedService serviceName */ serviceName?: (string|null); /** ManagedService producerProjectId */ producerProjectId?: (string|null); } /** Represents a ManagedService. */ class ManagedService implements IManagedService { /** * Constructs a new ManagedService. * @param [properties] Properties to set */ constructor(properties?: google.api.servicemanagement.v1.IManagedService); /** ManagedService serviceName. */ public serviceName: string; /** ManagedService producerProjectId. */ public producerProjectId: string; /** * Creates a new ManagedService instance using the specified properties. * @param [properties] Properties to set * @returns ManagedService instance */ public static create(properties?: google.api.servicemanagement.v1.IManagedService): google.api.servicemanagement.v1.ManagedService; /** * Encodes the specified ManagedService message. Does not implicitly {@link google.api.servicemanagement.v1.ManagedService.verify|verify} messages. * @param message ManagedService message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.servicemanagement.v1.IManagedService, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ManagedService message, length delimited. Does not implicitly {@link google.api.servicemanagement.v1.ManagedService.verify|verify} messages. * @param message ManagedService message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.servicemanagement.v1.IManagedService, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ManagedService message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ManagedService * @throws {Error} If the payload is not 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.servicemanagement.v1.ManagedService; /** * Decodes a ManagedService message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ManagedService * @throws {Error} If the payload 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.servicemanagement.v1.ManagedService; /** * Verifies a ManagedService message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ManagedService message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ManagedService */ public static fromObject(object: { [k: string]: any }): google.api.servicemanagement.v1.ManagedService; /** * Creates a plain object from a ManagedService message. Also converts values to other types if specified. * @param message ManagedService * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.servicemanagement.v1.ManagedService, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ManagedService to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ManagedService * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an OperationMetadata. */ interface IOperationMetadata { /** OperationMetadata resourceNames */ resourceNames?: (string[]|null); /** OperationMetadata steps */ steps?: (google.api.servicemanagement.v1.OperationMetadata.IStep[]|null); /** OperationMetadata progressPercentage */ progressPercentage?: (number|null); /** OperationMetadata startTime */ startTime?: (google.protobuf.ITimestamp|null); } /** Represents an OperationMetadata. */ class OperationMetadata implements IOperationMetadata { /** * Constructs a new OperationMetadata. * @param [properties] Properties to set */ constructor(properties?: google.api.servicemanagement.v1.IOperationMetadata); /** OperationMetadata resourceNames. */ public resourceNames: string[]; /** OperationMetadata steps. */ public steps: google.api.servicemanagement.v1.OperationMetadata.IStep[]; /** OperationMetadata progressPercentage. */ public progressPercentage: number; /** OperationMetadata startTime. */ public startTime?: (google.protobuf.ITimestamp|null); /** * Creates a new OperationMetadata instance using the specified properties. * @param [properties] Properties to set * @returns OperationMetadata instance */ public static create(properties?: google.api.servicemanagement.v1.IOperationMetadata): google.api.servicemanagement.v1.OperationMetadata; /** * Encodes the specified OperationMetadata message. Does not implicitly {@link google.api.servicemanagement.v1.OperationMetadata.verify|verify} messages. * @param message OperationMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.servicemanagement.v1.IOperationMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified OperationMetadata message, length delimited. Does not implicitly {@link google.api.servicemanagement.v1.OperationMetadata.verify|verify} messages. * @param message OperationMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.servicemanagement.v1.IOperationMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an OperationMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns OperationMetadata * @throws {Error} If the payload is not 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.servicemanagement.v1.OperationMetadata; /** * Decodes an OperationMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns OperationMetadata * @throws {Error} If the payload 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.servicemanagement.v1.OperationMetadata; /** * Verifies an OperationMetadata message. * @param message Plain 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 OperationMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns OperationMetadata */ public static fromObject(object: { [k: string]: any }): google.api.servicemanagement.v1.OperationMetadata; /** * Creates a plain object from an OperationMetadata message. Also converts values to other types if specified. * @param message OperationMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.servicemanagement.v1.OperationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this OperationMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for OperationMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace OperationMetadata { /** Properties of a Step. */ interface IStep { /** Step description */ description?: (string|null); /** Step status */ status?: (google.api.servicemanagement.v1.OperationMetadata.Status|keyof typeof google.api.servicemanagement.v1.OperationMetadata.Status|null); } /** Represents a Step. */ class Step implements IStep { /** * Constructs a new Step. * @param [properties] Properties to set */ constructor(properties?: google.api.servicemanagement.v1.OperationMetadata.IStep); /** Step description. */ public description: string; /** Step status. */ public status: (google.api.servicemanagement.v1.OperationMetadata.Status|keyof typeof google.api.servicemanagement.v1.OperationMetadata.Status); /** * Creates a new Step instance using the specified properties. * @param [properties] Properties to set * @returns Step instance */ public static create(properties?: google.api.servicemanagement.v1.OperationMetadata.IStep): google.api.servicemanagement.v1.OperationMetadata.Step; /** * Encodes the specified Step message. Does not implicitly {@link google.api.servicemanagement.v1.OperationMetadata.Step.verify|verify} messages. * @param message Step message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.servicemanagement.v1.OperationMetadata.IStep, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Step message, length delimited. Does not implicitly {@link google.api.servicemanagement.v1.OperationMetadata.Step.verify|verify} messages. * @param message Step message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.servicemanagement.v1.OperationMetadata.IStep, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Step message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Step * @throws {Error} If the payload is not 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.servicemanagement.v1.OperationMetadata.Step; /** * Decodes a Step message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Step * @throws {Error} If the payload 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.servicemanagement.v1.OperationMetadata.Step; /** * Verifies a Step message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Step message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Step */ public static fromObject(object: { [k: string]: any }): google.api.servicemanagement.v1.OperationMetadata.Step; /** * Creates a plain object from a Step message. Also converts values to other types if specified. * @param message Step * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.servicemanagement.v1.OperationMetadata.Step, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Step to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Step * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Status enum. */ enum Status { STATUS_UNSPECIFIED = 0, DONE = 1, NOT_STARTED = 2, IN_PROGRESS = 3, FAILED = 4, CANCELLED = 5 } } /** Properties of a Diagnostic. */ interface IDiagnostic { /** Diagnostic location */ location?: (string|null); /** Diagnostic kind */ kind?: (google.api.servicemanagement.v1.Diagnostic.Kind|keyof typeof google.api.servicemanagement.v1.Diagnostic.Kind|null); /** Diagnostic message */ message?: (string|null); } /** Represents a Diagnostic. */ class Diagnostic implements IDiagnostic { /** * Constructs a new Diagnostic. * @param [properties] Properties to set */ constructor(properties?: google.api.servicemanagement.v1.IDiagnostic); /** Diagnostic location. */ public location: string; /** Diagnostic kind. */ public kind: (google.api.servicemanagement.v1.Diagnostic.Kind|keyof typeof google.api.servicemanagement.v1.Diagnostic.Kind); /** Diagnostic message. */ public message: string; /** * Creates a new Diagnostic instance using the specified properties. * @param [properties] Properties to set * @returns Diagnostic instance */ public static create(properties?: google.api.servicemanagement.v1.IDiagnostic): google.api.servicemanagement.v1.Diagnostic; /** * Encodes the specified Diagnostic message. Does not implicitly {@link google.api.servicemanagement.v1.Diagnostic.verify|verify} messages. * @param message Diagnostic message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.servicemanagement.v1.IDiagnostic, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Diagnostic message, length delimited. Does not implicitly {@link google.api.servicemanagement.v1.Diagnostic.verify|verify} messages. * @param message Diagnostic message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.servicemanagement.v1.IDiagnostic, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Diagnostic message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Diagnostic * @throws {Error} If the payload is not 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.servicemanagement.v1.Diagnostic; /** * Decodes a Diagnostic message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Diagnostic * @throws {Error} If the payload 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.servicemanagement.v1.Diagnostic; /** * Verifies a Diagnostic message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Diagnostic message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Diagnostic */ public static fromObject(object: { [k: string]: any }): google.api.servicemanagement.v1.Diagnostic; /** * Creates a plain object from a Diagnostic message. Also converts values to other types if specified. * @param message Diagnostic * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.servicemanagement.v1.Diagnostic, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Diagnostic to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Diagnostic * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Diagnostic { /** Kind enum. */ enum Kind { WARNING = 0, ERROR = 1 } } /** Properties of a ConfigSource. */ interface IConfigSource { /** ConfigSource id */ id?: (string|null); /** ConfigSource files */ files?: (google.api.servicemanagement.v1.IConfigFile[]|null); } /** Represents a ConfigSource. */ class ConfigSource implements IConfigSource { /** * Constructs a new ConfigSource. * @param [properties] Properties to set */ constructor(properties?: google.api.servicemanagement.v1.IConfigSource); /** ConfigSource id. */ public id: string; /** ConfigSource files. */ public files: google.api.servicemanagement.v1.IConfigFile[]; /** * Creates a new ConfigSource instance using the specified properties. * @param [properties] Properties to set * @returns ConfigSource instance */ public static create(properties?: google.api.servicemanagement.v1.IConfigSource): google.api.servicemanagement.v1.ConfigSource; /** * Encodes the specified ConfigSource message. Does not implicitly {@link google.api.servicemanagement.v1.ConfigSource.verify|verify} messages. * @param message ConfigSource message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.servicemanagement.v1.IConfigSource, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ConfigSource message, length delimited. Does not implicitly {@link google.api.servicemanagement.v1.ConfigSource.verify|verify} messages. * @param message ConfigSource message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.servicemanagement.v1.IConfigSource, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ConfigSource message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ConfigSource * @throws {Error} If the payload is not 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.servicemanagement.v1.ConfigSource; /** * Decodes a ConfigSource message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ConfigSource * @throws {Error} If the payload 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.servicemanagement.v1.ConfigSource; /** * Verifies a ConfigSource message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ConfigSource message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ConfigSource */ public static fromObject(object: { [k: string]: any }): google.api.servicemanagement.v1.ConfigSource; /** * Creates a plain object from a ConfigSource message. Also converts values to other types if specified. * @param message ConfigSource * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.servicemanagement.v1.ConfigSource, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ConfigSource to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ConfigSource * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ConfigFile. */ interface IConfigFile { /** ConfigFile filePath */ filePath?: (string|null); /** ConfigFile fileContents */ fileContents?: (Uint8Array|Buffer|string|null); /** ConfigFile fileType */ fileType?: (google.api.servicemanagement.v1.ConfigFile.FileType|keyof typeof google.api.servicemanagement.v1.ConfigFile.FileType|null); } /** Represents a ConfigFile. */ class ConfigFile implements IConfigFile { /** * Constructs a new ConfigFile. * @param [properties] Properties to set */ constructor(properties?: google.api.servicemanagement.v1.IConfigFile); /** ConfigFile filePath. */ public filePath: string; /** ConfigFile fileContents. */ public fileContents: (Uint8Array|Buffer|string); /** ConfigFile fileType. */ public fileType: (google.api.servicemanagement.v1.ConfigFile.FileType|keyof typeof google.api.servicemanagement.v1.ConfigFile.FileType); /** * Creates a new ConfigFile instance using the specified properties. * @param [properties] Properties to set * @returns ConfigFile instance */ public static create(properties?: google.api.servicemanagement.v1.IConfigFile): google.api.servicemanagement.v1.ConfigFile; /** * Encodes the specified ConfigFile message. Does not implicitly {@link google.api.servicemanagement.v1.ConfigFile.verify|verify} messages. * @param message ConfigFile message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.servicemanagement.v1.IConfigFile, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ConfigFile message, length delimited. Does not implicitly {@link google.api.servicemanagement.v1.ConfigFile.verify|verify} messages. * @param message ConfigFile message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.servicemanagement.v1.IConfigFile, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ConfigFile message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ConfigFile * @throws {Error} If the payload is not 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.servicemanagement.v1.ConfigFile; /** * Decodes a ConfigFile message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ConfigFile * @throws {Error} If the payload 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.servicemanagement.v1.ConfigFile; /** * Verifies a ConfigFile message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ConfigFile message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ConfigFile */ public static fromObject(object: { [k: string]: any }): google.api.servicemanagement.v1.ConfigFile; /** * Creates a plain object from a ConfigFile message. Also converts values to other types if specified. * @param message ConfigFile * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.servicemanagement.v1.ConfigFile, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ConfigFile to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ConfigFile * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ConfigFile { /** FileType enum. */ enum FileType { FILE_TYPE_UNSPECIFIED = 0, SERVICE_CONFIG_YAML = 1, OPEN_API_JSON = 2, OPEN_API_YAML = 3, FILE_DESCRIPTOR_SET_PROTO = 4, PROTO_FILE = 6 } } /** Properties of a ConfigRef. */ interface IConfigRef { /** ConfigRef name */ name?: (string|null); } /** Represents a ConfigRef. */ class ConfigRef implements IConfigRef { /** * Constructs a new ConfigRef. * @param [properties] Properties to set */ constructor(properties?: google.api.servicemanagement.v1.IConfigRef); /** ConfigRef name. */ public name: string; /** * Creates a new ConfigRef instance using the specified properties. * @param [properties] Properties to set * @returns ConfigRef instance */ public static create(properties?: google.api.servicemanagement.v1.IConfigRef): google.api.servicemanagement.v1.ConfigRef; /** * Encodes the specified ConfigRef message. Does not implicitly {@link google.api.servicemanagement.v1.ConfigRef.verify|verify} messages. * @param message ConfigRef message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.servicemanagement.v1.IConfigRef, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ConfigRef message, length delimited. Does not implicitly {@link google.api.servicemanagement.v1.ConfigRef.verify|verify} messages. * @param message ConfigRef message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.servicemanagement.v1.IConfigRef, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ConfigRef message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ConfigRef * @throws {Error} If the payload is not 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.servicemanagement.v1.ConfigRef; /** * Decodes a ConfigRef message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ConfigRef * @throws {Error} If the payload 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.servicemanagement.v1.ConfigRef; /** * Verifies a ConfigRef message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ConfigRef message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ConfigRef */ public static fromObject(object: { [k: string]: any }): google.api.servicemanagement.v1.ConfigRef; /** * Creates a plain object from a ConfigRef message. Also converts values to other types if specified. * @param message ConfigRef * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.servicemanagement.v1.ConfigRef, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ConfigRef to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ConfigRef * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ChangeReport. */ interface IChangeReport { /** ChangeReport configChanges */ configChanges?: (google.api.IConfigChange[]|null); } /** Represents a ChangeReport. */ class ChangeReport implements IChangeReport { /** * Constructs a new ChangeReport. * @param [properties] Properties to set */ constructor(properties?: google.api.servicemanagement.v1.IChangeReport); /** ChangeReport configChanges. */ public configChanges: google.api.IConfigChange[]; /** * Creates a new ChangeReport instance using the specified properties. * @param [properties] Properties to set * @returns ChangeReport instance */ public static create(properties?: google.api.servicemanagement.v1.IChangeReport): google.api.servicemanagement.v1.ChangeReport; /** * Encodes the specified ChangeReport message. Does not implicitly {@link google.api.servicemanagement.v1.ChangeReport.verify|verify} messages. * @param message ChangeReport message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.servicemanagement.v1.IChangeReport, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ChangeReport message, length delimited. Does not implicitly {@link google.api.servicemanagement.v1.ChangeReport.verify|verify} messages. * @param message ChangeReport message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.servicemanagement.v1.IChangeReport, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ChangeReport message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ChangeReport * @throws {Error} If the payload is not 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.servicemanagement.v1.ChangeReport; /** * Decodes a ChangeReport message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ChangeReport * @throws {Error} If the payload 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.servicemanagement.v1.ChangeReport; /** * Verifies a ChangeReport message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ChangeReport message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ChangeReport */ public static fromObject(object: { [k: string]: any }): google.api.servicemanagement.v1.ChangeReport; /** * Creates a plain object from a ChangeReport message. Also converts values to other types if specified. * @param message ChangeReport * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.servicemanagement.v1.ChangeReport, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ChangeReport to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ChangeReport * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Rollout. */ interface IRollout { /** Rollout rolloutId */ rolloutId?: (string|null); /** Rollout createTime */ createTime?: (google.protobuf.ITimestamp|null); /** Rollout createdBy */ createdBy?: (string|null); /** Rollout status */ status?: (google.api.servicemanagement.v1.Rollout.RolloutStatus|keyof typeof google.api.servicemanagement.v1.Rollout.RolloutStatus|null); /** Rollout trafficPercentStrategy */ trafficPercentStrategy?: (google.api.servicemanagement.v1.Rollout.ITrafficPercentStrategy|null); /** Rollout deleteServiceStrategy */ deleteServiceStrategy?: (google.api.servicemanagement.v1.Rollout.IDeleteServiceStrategy|null); /** Rollout serviceName */ serviceName?: (string|null); } /** Represents a Rollout. */ class Rollout implements IRollout { /** * Constructs a new Rollout. * @param [properties] Properties to set */ constructor(properties?: google.api.servicemanagement.v1.IRollout); /** Rollout rolloutId. */ public rolloutId: string; /** Rollout createTime. */ public createTime?: (google.protobuf.ITimestamp|null); /** Rollout createdBy. */ public createdBy: string; /** Rollout status. */ public status: (google.api.servicemanagement.v1.Rollout.RolloutStatus|keyof typeof google.api.servicemanagement.v1.Rollout.RolloutStatus); /** Rollout trafficPercentStrategy. */ public trafficPercentStrategy?: (google.api.servicemanagement.v1.Rollout.ITrafficPercentStrategy|null); /** Rollout deleteServiceStrategy. */ public deleteServiceStrategy?: (google.api.servicemanagement.v1.Rollout.IDeleteServiceStrategy|null); /** Rollout serviceName. */ public serviceName: string; /** Rollout strategy. */ public strategy?: ("trafficPercentStrategy"|"deleteServiceStrategy"); /** * Creates a new Rollout instance using the specified properties. * @param [properties] Properties to set * @returns Rollout instance */ public static create(properties?: google.api.servicemanagement.v1.IRollout): google.api.servicemanagement.v1.Rollout; /** * Encodes the specified Rollout message. Does no