UNPKG

@google-cloud/edgecontainer

Version:
895 lines (722 loc) 770 kB
// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. import type {protobuf as $protobuf} from "google-gax"; import Long = require("long"); /** Namespace google. */ export namespace google { /** Namespace cloud. */ namespace cloud { /** Namespace edgecontainer. */ namespace edgecontainer { /** Namespace v1. */ namespace v1 { /** KmsKeyState enum. */ enum KmsKeyState { KMS_KEY_STATE_UNSPECIFIED = 0, KMS_KEY_STATE_KEY_AVAILABLE = 1, KMS_KEY_STATE_KEY_UNAVAILABLE = 2 } /** ResourceState enum. */ enum ResourceState { RESOURCE_STATE_UNSPECIFIED = 0, RESOURCE_STATE_LOCK_DOWN = 1, RESOURCE_STATE_LOCK_DOWN_PENDING = 2 } /** Properties of a Cluster. */ interface ICluster { /** Cluster name */ name?: (string|null); /** Cluster createTime */ createTime?: (google.protobuf.ITimestamp|null); /** Cluster updateTime */ updateTime?: (google.protobuf.ITimestamp|null); /** Cluster labels */ labels?: ({ [k: string]: string }|null); /** Cluster fleet */ fleet?: (google.cloud.edgecontainer.v1.IFleet|null); /** Cluster networking */ networking?: (google.cloud.edgecontainer.v1.IClusterNetworking|null); /** Cluster authorization */ authorization?: (google.cloud.edgecontainer.v1.IAuthorization|null); /** Cluster defaultMaxPodsPerNode */ defaultMaxPodsPerNode?: (number|null); /** Cluster endpoint */ endpoint?: (string|null); /** Cluster port */ port?: (number|null); /** Cluster clusterCaCertificate */ clusterCaCertificate?: (string|null); /** Cluster maintenancePolicy */ maintenancePolicy?: (google.cloud.edgecontainer.v1.IMaintenancePolicy|null); /** Cluster controlPlaneVersion */ controlPlaneVersion?: (string|null); /** Cluster nodeVersion */ nodeVersion?: (string|null); /** Cluster controlPlane */ controlPlane?: (google.cloud.edgecontainer.v1.Cluster.IControlPlane|null); /** Cluster systemAddonsConfig */ systemAddonsConfig?: (google.cloud.edgecontainer.v1.Cluster.ISystemAddonsConfig|null); /** Cluster externalLoadBalancerIpv4AddressPools */ externalLoadBalancerIpv4AddressPools?: (string[]|null); /** Cluster controlPlaneEncryption */ controlPlaneEncryption?: (google.cloud.edgecontainer.v1.Cluster.IControlPlaneEncryption|null); /** Cluster status */ status?: (google.cloud.edgecontainer.v1.Cluster.Status|keyof typeof google.cloud.edgecontainer.v1.Cluster.Status|null); /** Cluster maintenanceEvents */ maintenanceEvents?: (google.cloud.edgecontainer.v1.Cluster.IMaintenanceEvent[]|null); /** Cluster targetVersion */ targetVersion?: (string|null); /** Cluster releaseChannel */ releaseChannel?: (google.cloud.edgecontainer.v1.Cluster.ReleaseChannel|keyof typeof google.cloud.edgecontainer.v1.Cluster.ReleaseChannel|null); /** Cluster survivabilityConfig */ survivabilityConfig?: (google.cloud.edgecontainer.v1.Cluster.ISurvivabilityConfig|null); /** Cluster externalLoadBalancerIpv6AddressPools */ externalLoadBalancerIpv6AddressPools?: (string[]|null); /** Cluster connectionState */ connectionState?: (google.cloud.edgecontainer.v1.Cluster.IConnectionState|null); } /** Represents a Cluster. */ class Cluster implements ICluster { /** * Constructs a new Cluster. * @param [properties] Properties to set */ constructor(properties?: google.cloud.edgecontainer.v1.ICluster); /** Cluster name. */ public name: string; /** Cluster createTime. */ public createTime?: (google.protobuf.ITimestamp|null); /** Cluster updateTime. */ public updateTime?: (google.protobuf.ITimestamp|null); /** Cluster labels. */ public labels: { [k: string]: string }; /** Cluster fleet. */ public fleet?: (google.cloud.edgecontainer.v1.IFleet|null); /** Cluster networking. */ public networking?: (google.cloud.edgecontainer.v1.IClusterNetworking|null); /** Cluster authorization. */ public authorization?: (google.cloud.edgecontainer.v1.IAuthorization|null); /** Cluster defaultMaxPodsPerNode. */ public defaultMaxPodsPerNode: number; /** Cluster endpoint. */ public endpoint: string; /** Cluster port. */ public port: number; /** Cluster clusterCaCertificate. */ public clusterCaCertificate: string; /** Cluster maintenancePolicy. */ public maintenancePolicy?: (google.cloud.edgecontainer.v1.IMaintenancePolicy|null); /** Cluster controlPlaneVersion. */ public controlPlaneVersion: string; /** Cluster nodeVersion. */ public nodeVersion: string; /** Cluster controlPlane. */ public controlPlane?: (google.cloud.edgecontainer.v1.Cluster.IControlPlane|null); /** Cluster systemAddonsConfig. */ public systemAddonsConfig?: (google.cloud.edgecontainer.v1.Cluster.ISystemAddonsConfig|null); /** Cluster externalLoadBalancerIpv4AddressPools. */ public externalLoadBalancerIpv4AddressPools: string[]; /** Cluster controlPlaneEncryption. */ public controlPlaneEncryption?: (google.cloud.edgecontainer.v1.Cluster.IControlPlaneEncryption|null); /** Cluster status. */ public status: (google.cloud.edgecontainer.v1.Cluster.Status|keyof typeof google.cloud.edgecontainer.v1.Cluster.Status); /** Cluster maintenanceEvents. */ public maintenanceEvents: google.cloud.edgecontainer.v1.Cluster.IMaintenanceEvent[]; /** Cluster targetVersion. */ public targetVersion: string; /** Cluster releaseChannel. */ public releaseChannel: (google.cloud.edgecontainer.v1.Cluster.ReleaseChannel|keyof typeof google.cloud.edgecontainer.v1.Cluster.ReleaseChannel); /** Cluster survivabilityConfig. */ public survivabilityConfig?: (google.cloud.edgecontainer.v1.Cluster.ISurvivabilityConfig|null); /** Cluster externalLoadBalancerIpv6AddressPools. */ public externalLoadBalancerIpv6AddressPools: string[]; /** Cluster connectionState. */ public connectionState?: (google.cloud.edgecontainer.v1.Cluster.IConnectionState|null); /** * Creates a new Cluster instance using the specified properties. * @param [properties] Properties to set * @returns Cluster instance */ public static create(properties?: google.cloud.edgecontainer.v1.ICluster): google.cloud.edgecontainer.v1.Cluster; /** * Encodes the specified Cluster message. Does not implicitly {@link google.cloud.edgecontainer.v1.Cluster.verify|verify} messages. * @param message Cluster message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.edgecontainer.v1.ICluster, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Cluster message, length delimited. Does not implicitly {@link google.cloud.edgecontainer.v1.Cluster.verify|verify} messages. * @param message Cluster message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.edgecontainer.v1.ICluster, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Cluster message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Cluster * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.edgecontainer.v1.Cluster; /** * Decodes a Cluster message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Cluster * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.edgecontainer.v1.Cluster; /** * Verifies a Cluster message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Cluster message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Cluster */ public static fromObject(object: { [k: string]: any }): google.cloud.edgecontainer.v1.Cluster; /** * Creates a plain object from a Cluster message. Also converts values to other types if specified. * @param message Cluster * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.edgecontainer.v1.Cluster, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Cluster to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Cluster * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Cluster { /** Properties of a ControlPlane. */ interface IControlPlane { /** ControlPlane remote */ remote?: (google.cloud.edgecontainer.v1.Cluster.ControlPlane.IRemote|null); /** ControlPlane local */ local?: (google.cloud.edgecontainer.v1.Cluster.ControlPlane.ILocal|null); } /** Represents a ControlPlane. */ class ControlPlane implements IControlPlane { /** * Constructs a new ControlPlane. * @param [properties] Properties to set */ constructor(properties?: google.cloud.edgecontainer.v1.Cluster.IControlPlane); /** ControlPlane remote. */ public remote?: (google.cloud.edgecontainer.v1.Cluster.ControlPlane.IRemote|null); /** ControlPlane local. */ public local?: (google.cloud.edgecontainer.v1.Cluster.ControlPlane.ILocal|null); /** ControlPlane config. */ public config?: ("remote"|"local"); /** * Creates a new ControlPlane instance using the specified properties. * @param [properties] Properties to set * @returns ControlPlane instance */ public static create(properties?: google.cloud.edgecontainer.v1.Cluster.IControlPlane): google.cloud.edgecontainer.v1.Cluster.ControlPlane; /** * Encodes the specified ControlPlane message. Does not implicitly {@link google.cloud.edgecontainer.v1.Cluster.ControlPlane.verify|verify} messages. * @param message ControlPlane message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.edgecontainer.v1.Cluster.IControlPlane, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ControlPlane message, length delimited. Does not implicitly {@link google.cloud.edgecontainer.v1.Cluster.ControlPlane.verify|verify} messages. * @param message ControlPlane message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.edgecontainer.v1.Cluster.IControlPlane, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ControlPlane message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ControlPlane * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.edgecontainer.v1.Cluster.ControlPlane; /** * Decodes a ControlPlane message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ControlPlane * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.edgecontainer.v1.Cluster.ControlPlane; /** * Verifies a ControlPlane message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ControlPlane message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ControlPlane */ public static fromObject(object: { [k: string]: any }): google.cloud.edgecontainer.v1.Cluster.ControlPlane; /** * Creates a plain object from a ControlPlane message. Also converts values to other types if specified. * @param message ControlPlane * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.edgecontainer.v1.Cluster.ControlPlane, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ControlPlane to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ControlPlane * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ControlPlane { /** Properties of a Remote. */ interface IRemote { } /** Represents a Remote. */ class Remote implements IRemote { /** * Constructs a new Remote. * @param [properties] Properties to set */ constructor(properties?: google.cloud.edgecontainer.v1.Cluster.ControlPlane.IRemote); /** * Creates a new Remote instance using the specified properties. * @param [properties] Properties to set * @returns Remote instance */ public static create(properties?: google.cloud.edgecontainer.v1.Cluster.ControlPlane.IRemote): google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote; /** * Encodes the specified Remote message. Does not implicitly {@link google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote.verify|verify} messages. * @param message Remote message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.edgecontainer.v1.Cluster.ControlPlane.IRemote, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Remote message, length delimited. Does not implicitly {@link google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote.verify|verify} messages. * @param message Remote message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.edgecontainer.v1.Cluster.ControlPlane.IRemote, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Remote message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Remote * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote; /** * Decodes a Remote message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Remote * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote; /** * Verifies a Remote message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Remote message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Remote */ public static fromObject(object: { [k: string]: any }): google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote; /** * Creates a plain object from a Remote message. Also converts values to other types if specified. * @param message Remote * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Remote to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Remote * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Local. */ interface ILocal { /** Local nodeLocation */ nodeLocation?: (string|null); /** Local nodeCount */ nodeCount?: (number|null); /** Local machineFilter */ machineFilter?: (string|null); /** Local sharedDeploymentPolicy */ sharedDeploymentPolicy?: (google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy|keyof typeof google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy|null); /** Local controlPlaneNodeStorageSchema */ controlPlaneNodeStorageSchema?: (string|null); } /** Represents a Local. */ class Local implements ILocal { /** * Constructs a new Local. * @param [properties] Properties to set */ constructor(properties?: google.cloud.edgecontainer.v1.Cluster.ControlPlane.ILocal); /** Local nodeLocation. */ public nodeLocation: string; /** Local nodeCount. */ public nodeCount: number; /** Local machineFilter. */ public machineFilter: string; /** Local sharedDeploymentPolicy. */ public sharedDeploymentPolicy: (google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy|keyof typeof google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy); /** Local controlPlaneNodeStorageSchema. */ public controlPlaneNodeStorageSchema: string; /** * Creates a new Local instance using the specified properties. * @param [properties] Properties to set * @returns Local instance */ public static create(properties?: google.cloud.edgecontainer.v1.Cluster.ControlPlane.ILocal): google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local; /** * Encodes the specified Local message. Does not implicitly {@link google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local.verify|verify} messages. * @param message Local message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.edgecontainer.v1.Cluster.ControlPlane.ILocal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Local message, length delimited. Does not implicitly {@link google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local.verify|verify} messages. * @param message Local message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.edgecontainer.v1.Cluster.ControlPlane.ILocal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Local message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Local * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local; /** * Decodes a Local message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Local * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local; /** * Verifies a Local message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Local message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Local */ public static fromObject(object: { [k: string]: any }): google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local; /** * Creates a plain object from a Local message. Also converts values to other types if specified. * @param message Local * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Local to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Local * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** SharedDeploymentPolicy enum. */ enum SharedDeploymentPolicy { SHARED_DEPLOYMENT_POLICY_UNSPECIFIED = 0, ALLOWED = 1, DISALLOWED = 2 } } /** Properties of a SystemAddonsConfig. */ interface ISystemAddonsConfig { /** SystemAddonsConfig ingress */ ingress?: (google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.IIngress|null); /** SystemAddonsConfig vmServiceConfig */ vmServiceConfig?: (google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.IVMServiceConfig|null); } /** Represents a SystemAddonsConfig. */ class SystemAddonsConfig implements ISystemAddonsConfig { /** * Constructs a new SystemAddonsConfig. * @param [properties] Properties to set */ constructor(properties?: google.cloud.edgecontainer.v1.Cluster.ISystemAddonsConfig); /** SystemAddonsConfig ingress. */ public ingress?: (google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.IIngress|null); /** SystemAddonsConfig vmServiceConfig. */ public vmServiceConfig?: (google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.IVMServiceConfig|null); /** * Creates a new SystemAddonsConfig instance using the specified properties. * @param [properties] Properties to set * @returns SystemAddonsConfig instance */ public static create(properties?: google.cloud.edgecontainer.v1.Cluster.ISystemAddonsConfig): google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig; /** * Encodes the specified SystemAddonsConfig message. Does not implicitly {@link google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.verify|verify} messages. * @param message SystemAddonsConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.edgecontainer.v1.Cluster.ISystemAddonsConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SystemAddonsConfig message, length delimited. Does not implicitly {@link google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.verify|verify} messages. * @param message SystemAddonsConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.edgecontainer.v1.Cluster.ISystemAddonsConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SystemAddonsConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SystemAddonsConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig; /** * Decodes a SystemAddonsConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SystemAddonsConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig; /** * Verifies a SystemAddonsConfig message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SystemAddonsConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SystemAddonsConfig */ public static fromObject(object: { [k: string]: any }): google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig; /** * Creates a plain object from a SystemAddonsConfig message. Also converts values to other types if specified. * @param message SystemAddonsConfig * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SystemAddonsConfig to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SystemAddonsConfig * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SystemAddonsConfig { /** Properties of an Ingress. */ interface IIngress { /** Ingress disabled */ disabled?: (boolean|null); /** Ingress ipv4Vip */ ipv4Vip?: (string|null); } /** Represents an Ingress. */ class Ingress implements IIngress { /** * Constructs a new Ingress. * @param [properties] Properties to set */ constructor(properties?: google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.IIngress); /** Ingress disabled. */ public disabled: boolean; /** Ingress ipv4Vip. */ public ipv4Vip: string; /** * Creates a new Ingress instance using the specified properties. * @param [properties] Properties to set * @returns Ingress instance */ public static create(properties?: google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.IIngress): google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress; /** * Encodes the specified Ingress message. Does not implicitly {@link google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress.verify|verify} messages. * @param message Ingress message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.IIngress, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Ingress message, length delimited. Does not implicitly {@link google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress.verify|verify} messages. * @param message Ingress message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.IIngress, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Ingress message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Ingress * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress; /** * Decodes an Ingress message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Ingress * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress; /** * Verifies an Ingress message. * @param message Plain 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 Ingress message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Ingress */ public static fromObject(object: { [k: string]: any }): google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress; /** * Creates a plain object from an Ingress message. Also converts values to other types if specified. * @param message Ingress * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Ingress to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Ingress * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a VMServiceConfig. */ interface IVMServiceConfig { /** VMServiceConfig vmmEnabled */ vmmEnabled?: (boolean|null); } /** Represents a VMServiceConfig. */ class VMServiceConfig implements IVMServiceConfig { /** * Constructs a new VMServiceConfig. * @param [properties] Properties to set */ constructor(properties?: google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.IVMServiceConfig); /** VMServiceConfig vmmEnabled. */ public vmmEnabled: boolean; /** * Creates a new VMServiceConfig instance using the specified properties. * @param [properties] Properties to set * @returns VMServiceConfig instance */ public static create(properties?: google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.IVMServiceConfig): google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.VMServiceConfig; /** * Encodes the specified VMServiceConfig message. Does not implicitly {@link google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.VMServiceConfig.verify|verify} messages. * @param message VMServiceConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.IVMServiceConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified VMServiceConfig message, length delimited. Does not implicitly {@link google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.VMServiceConfig.verify|verify} messages. * @param message VMServiceConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.IVMServiceConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a VMServiceConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns VMServiceConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.VMServiceConfig; /** * Decodes a VMServiceConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns VMServiceConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.VMServiceConfig; /** * Verifies a VMServiceConfig message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a VMServiceConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns VMServiceConfig */ public static fromObject(object: { [k: string]: any }): google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.VMServiceConfi