UNPKG

google-gax

Version:
1,086 lines (862 loc) 360 kB
// Copyright 2021 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 * as $protobuf from "protobufjs"; import Long = require('long'); /** Namespace google. */ export namespace google { /** Namespace cloud. */ namespace cloud { /** Namespace compute. */ namespace compute { /** Namespace v1. */ namespace v1 { /** Properties of an Operation. */ interface IOperation { /** Operation clientOperationId */ clientOperationId?: (string|null); /** Operation creationTimestamp */ creationTimestamp?: (string|null); /** Operation description */ description?: (string|null); /** Operation endTime */ endTime?: (string|null); /** Operation error */ error?: (google.cloud.compute.v1.IError|null); /** Operation httpErrorMessage */ httpErrorMessage?: (string|null); /** Operation httpErrorStatusCode */ httpErrorStatusCode?: (number|null); /** Operation id */ id?: (string|null); /** Operation insertTime */ insertTime?: (string|null); /** Operation kind */ kind?: (string|null); /** Operation name */ name?: (string|null); /** Operation operationType */ operationType?: (string|null); /** Operation progress */ progress?: (number|null); /** Operation region */ region?: (string|null); /** Operation selfLink */ selfLink?: (string|null); /** Operation startTime */ startTime?: (string|null); /** Operation status */ status?: (google.cloud.compute.v1.Operation.Status|null); /** Operation statusMessage */ statusMessage?: (string|null); /** Operation targetId */ targetId?: (string|null); /** Operation targetLink */ targetLink?: (string|null); /** Operation user */ user?: (string|null); /** Operation warnings */ warnings?: (google.cloud.compute.v1.IWarnings[]|null); /** Operation zone */ zone?: (string|null); } /** Represents an Operation. */ class Operation implements IOperation { /** * Constructs a new Operation. * @param [properties] Properties to set */ constructor(properties?: google.cloud.compute.v1.IOperation); /** Operation clientOperationId. */ public clientOperationId?: (string|null); /** Operation creationTimestamp. */ public creationTimestamp?: (string|null); /** Operation description. */ public description?: (string|null); /** Operation endTime. */ public endTime?: (string|null); /** Operation error. */ public error?: (google.cloud.compute.v1.IError|null); /** Operation httpErrorMessage. */ public httpErrorMessage?: (string|null); /** Operation httpErrorStatusCode. */ public httpErrorStatusCode?: (number|null); /** Operation id. */ public id?: (string|null); /** Operation insertTime. */ public insertTime?: (string|null); /** Operation kind. */ public kind?: (string|null); /** Operation name. */ public name?: (string|null); /** Operation operationType. */ public operationType?: (string|null); /** Operation progress. */ public progress?: (number|null); /** Operation region. */ public region?: (string|null); /** Operation selfLink. */ public selfLink?: (string|null); /** Operation startTime. */ public startTime?: (string|null); /** Operation status. */ public status?: (google.cloud.compute.v1.Operation.Status|null); /** Operation statusMessage. */ public statusMessage?: (string|null); /** Operation targetId. */ public targetId?: (string|null); /** Operation targetLink. */ public targetLink?: (string|null); /** Operation user. */ public user?: (string|null); /** Operation warnings. */ public warnings: google.cloud.compute.v1.IWarnings[]; /** Operation zone. */ public zone?: (string|null); /** Operation _clientOperationId. */ public _clientOperationId?: "clientOperationId"; /** Operation _creationTimestamp. */ public _creationTimestamp?: "creationTimestamp"; /** Operation _description. */ public _description?: "description"; /** Operation _endTime. */ public _endTime?: "endTime"; /** Operation _error. */ public _error?: "error"; /** Operation _httpErrorMessage. */ public _httpErrorMessage?: "httpErrorMessage"; /** Operation _httpErrorStatusCode. */ public _httpErrorStatusCode?: "httpErrorStatusCode"; /** Operation _id. */ public _id?: "id"; /** Operation _insertTime. */ public _insertTime?: "insertTime"; /** Operation _kind. */ public _kind?: "kind"; /** Operation _name. */ public _name?: "name"; /** Operation _operationType. */ public _operationType?: "operationType"; /** Operation _progress. */ public _progress?: "progress"; /** Operation _region. */ public _region?: "region"; /** Operation _selfLink. */ public _selfLink?: "selfLink"; /** Operation _startTime. */ public _startTime?: "startTime"; /** Operation _status. */ public _status?: "status"; /** Operation _statusMessage. */ public _statusMessage?: "statusMessage"; /** Operation _targetId. */ public _targetId?: "targetId"; /** Operation _targetLink. */ public _targetLink?: "targetLink"; /** Operation _user. */ public _user?: "user"; /** Operation _zone. */ public _zone?: "zone"; /** * Creates a new Operation instance using the specified properties. * @param [properties] Properties to set * @returns Operation instance */ public static create(properties?: google.cloud.compute.v1.IOperation): google.cloud.compute.v1.Operation; /** * Encodes the specified Operation message. Does not implicitly {@link google.cloud.compute.v1.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.cloud.compute.v1.IOperation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Operation message, length delimited. Does not implicitly {@link google.cloud.compute.v1.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.cloud.compute.v1.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.cloud.compute.v1.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.cloud.compute.v1.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.cloud.compute.v1.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.cloud.compute.v1.Operation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Operation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace Operation { /** Status enum. */ enum Status { UNDEFINED_STATUS = 0, DONE = 2104194, PENDING = 35394935, RUNNING = 121282975 } } /** Properties of an Errors. */ interface IErrors { /** Errors code */ code?: (string|null); /** Errors location */ location?: (string|null); /** Errors message */ message?: (string|null); } /** Represents an Errors. */ class Errors implements IErrors { /** * Constructs a new Errors. * @param [properties] Properties to set */ constructor(properties?: google.cloud.compute.v1.IErrors); /** Errors code. */ public code?: (string|null); /** Errors location. */ public location?: (string|null); /** Errors message. */ public message?: (string|null); /** Errors _code. */ public _code?: "code"; /** Errors _location. */ public _location?: "location"; /** Errors _message. */ public _message?: "message"; /** * Creates a new Errors instance using the specified properties. * @param [properties] Properties to set * @returns Errors instance */ public static create(properties?: google.cloud.compute.v1.IErrors): google.cloud.compute.v1.Errors; /** * Encodes the specified Errors message. Does not implicitly {@link google.cloud.compute.v1.Errors.verify|verify} messages. * @param message Errors message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.compute.v1.IErrors, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Errors message, length delimited. Does not implicitly {@link google.cloud.compute.v1.Errors.verify|verify} messages. * @param message Errors message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.compute.v1.IErrors, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Errors message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Errors * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.Errors; /** * Decodes an Errors message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Errors * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.Errors; /** * Verifies an Errors message. * @param message Plain 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 Errors message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Errors */ public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.Errors; /** * Creates a plain object from an Errors message. Also converts values to other types if specified. * @param message Errors * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.compute.v1.Errors, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Errors to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an Error. */ interface IError { /** Error errors */ errors?: (google.cloud.compute.v1.IErrors[]|null); } /** Represents an Error. */ class Error implements IError { /** * Constructs a new Error. * @param [properties] Properties to set */ constructor(properties?: google.cloud.compute.v1.IError); /** Error errors. */ public errors: google.cloud.compute.v1.IErrors[]; /** * Creates a new Error instance using the specified properties. * @param [properties] Properties to set * @returns Error instance */ public static create(properties?: google.cloud.compute.v1.IError): google.cloud.compute.v1.Error; /** * Encodes the specified Error message. Does not implicitly {@link google.cloud.compute.v1.Error.verify|verify} messages. * @param message Error message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.compute.v1.IError, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Error message, length delimited. Does not implicitly {@link google.cloud.compute.v1.Error.verify|verify} messages. * @param message Error message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.compute.v1.IError, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Error message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Error * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.Error; /** * Decodes an Error message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Error * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.Error; /** * Verifies an Error message. * @param message Plain 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 Error message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Error */ public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.Error; /** * Creates a plain object from an Error message. Also converts values to other types if specified. * @param message Error * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.compute.v1.Error, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Error to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Warnings. */ interface IWarnings { /** Warnings code */ code?: (google.cloud.compute.v1.Warnings.Code|null); /** Warnings data */ data?: (google.cloud.compute.v1.IData[]|null); /** Warnings message */ message?: (string|null); } /** Represents a Warnings. */ class Warnings implements IWarnings { /** * Constructs a new Warnings. * @param [properties] Properties to set */ constructor(properties?: google.cloud.compute.v1.IWarnings); /** Warnings code. */ public code?: (google.cloud.compute.v1.Warnings.Code|null); /** Warnings data. */ public data: google.cloud.compute.v1.IData[]; /** Warnings message. */ public message?: (string|null); /** Warnings _code. */ public _code?: "code"; /** Warnings _message. */ public _message?: "message"; /** * Creates a new Warnings instance using the specified properties. * @param [properties] Properties to set * @returns Warnings instance */ public static create(properties?: google.cloud.compute.v1.IWarnings): google.cloud.compute.v1.Warnings; /** * Encodes the specified Warnings message. Does not implicitly {@link google.cloud.compute.v1.Warnings.verify|verify} messages. * @param message Warnings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.compute.v1.IWarnings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Warnings message, length delimited. Does not implicitly {@link google.cloud.compute.v1.Warnings.verify|verify} messages. * @param message Warnings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.compute.v1.IWarnings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Warnings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Warnings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.Warnings; /** * Decodes a Warnings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Warnings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.Warnings; /** * Verifies a Warnings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Warnings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Warnings */ public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.Warnings; /** * Creates a plain object from a Warnings message. Also converts values to other types if specified. * @param message Warnings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.compute.v1.Warnings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Warnings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace Warnings { /** Code enum. */ enum Code { UNDEFINED_CODE = 0, CLEANUP_FAILED = 150308440, DEPRECATED_RESOURCE_USED = 391835586, DEPRECATED_TYPE_USED = 346526230, DISK_SIZE_LARGER_THAN_IMAGE_SIZE = 369442967, EXPERIMENTAL_TYPE_USED = 451954443, EXTERNAL_API_WARNING = 175546307, FIELD_VALUE_OVERRIDEN = 329669423, INJECTED_KERNELS_DEPRECATED = 417377419, MISSING_TYPE_DEPENDENCY = 344505463, NEXT_HOP_ADDRESS_NOT_ASSIGNED = 324964999, NEXT_HOP_CANNOT_IP_FORWARD = 383382887, NEXT_HOP_INSTANCE_NOT_FOUND = 464250446, NEXT_HOP_INSTANCE_NOT_ON_NETWORK = 243758146, NEXT_HOP_NOT_RUNNING = 417081265, NOT_CRITICAL_ERROR = 105763924, NO_RESULTS_ON_PAGE = 30036744, REQUIRED_TOS_AGREEMENT = 3745539, RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING = 496728641, RESOURCE_NOT_DELETED = 168598460, SCHEMA_VALIDATION_IGNORED = 275245642, SINGLE_INSTANCE_PROPERTY_TEMPLATE = 268305617, UNDECLARED_PROPERTIES = 390513439, UNREACHABLE = 13328052 } } /** Properties of a Warning. */ interface IWarning { /** Warning code */ code?: (google.cloud.compute.v1.Warning.Code|null); /** Warning data */ data?: (google.cloud.compute.v1.IData[]|null); /** Warning message */ message?: (string|null); } /** Represents a Warning. */ class Warning implements IWarning { /** * Constructs a new Warning. * @param [properties] Properties to set */ constructor(properties?: google.cloud.compute.v1.IWarning); /** Warning code. */ public code?: (google.cloud.compute.v1.Warning.Code|null); /** Warning data. */ public data: google.cloud.compute.v1.IData[]; /** Warning message. */ public message?: (string|null); /** Warning _code. */ public _code?: "code"; /** Warning _message. */ public _message?: "message"; /** * Creates a new Warning instance using the specified properties. * @param [properties] Properties to set * @returns Warning instance */ public static create(properties?: google.cloud.compute.v1.IWarning): google.cloud.compute.v1.Warning; /** * Encodes the specified Warning message. Does not implicitly {@link google.cloud.compute.v1.Warning.verify|verify} messages. * @param message Warning message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.compute.v1.IWarning, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Warning message, length delimited. Does not implicitly {@link google.cloud.compute.v1.Warning.verify|verify} messages. * @param message Warning message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.compute.v1.IWarning, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Warning message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Warning * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.Warning; /** * Decodes a Warning message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Warning * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.Warning; /** * Verifies a Warning message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Warning message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Warning */ public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.Warning; /** * Creates a plain object from a Warning message. Also converts values to other types if specified. * @param message Warning * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.compute.v1.Warning, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Warning to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace Warning { /** Code enum. */ enum Code { UNDEFINED_CODE = 0, CLEANUP_FAILED = 150308440, DEPRECATED_RESOURCE_USED = 391835586, DEPRECATED_TYPE_USED = 346526230, DISK_SIZE_LARGER_THAN_IMAGE_SIZE = 369442967, EXPERIMENTAL_TYPE_USED = 451954443, EXTERNAL_API_WARNING = 175546307, FIELD_VALUE_OVERRIDEN = 329669423, INJECTED_KERNELS_DEPRECATED = 417377419, LARGE_DEPLOYMENT_WARNING = 481440678, MISSING_TYPE_DEPENDENCY = 344505463, NEXT_HOP_ADDRESS_NOT_ASSIGNED = 324964999, NEXT_HOP_CANNOT_IP_FORWARD = 383382887, NEXT_HOP_INSTANCE_NOT_FOUND = 464250446, NEXT_HOP_INSTANCE_NOT_ON_NETWORK = 243758146, NEXT_HOP_NOT_RUNNING = 417081265, NOT_CRITICAL_ERROR = 105763924, NO_RESULTS_ON_PAGE = 30036744, PARTIAL_SUCCESS = 39966469, REQUIRED_TOS_AGREEMENT = 3745539, RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING = 496728641, RESOURCE_NOT_DELETED = 168598460, SCHEMA_VALIDATION_IGNORED = 275245642, SINGLE_INSTANCE_PROPERTY_TEMPLATE = 268305617, UNDECLARED_PROPERTIES = 390513439, UNREACHABLE = 13328052 } } /** Properties of a Data. */ interface IData { /** Data key */ key?: (string|null); /** Data value */ value?: (string|null); } /** Represents a Data. */ class Data implements IData { /** * Constructs a new Data. * @param [properties] Properties to set */ constructor(properties?: google.cloud.compute.v1.IData); /** Data key. */ public key?: (string|null); /** Data value. */ public value?: (string|null); /** Data _key. */ public _key?: "key"; /** Data _value. */ public _value?: "value"; /** * Creates a new Data instance using the specified properties. * @param [properties] Properties to set * @returns Data instance */ public static create(properties?: google.cloud.compute.v1.IData): google.cloud.compute.v1.Data; /** * Encodes the specified Data message. Does not implicitly {@link google.cloud.compute.v1.Data.verify|verify} messages. * @param message Data message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.compute.v1.IData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Data message, length delimited. Does not implicitly {@link google.cloud.compute.v1.Data.verify|verify} messages. * @param message Data message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.compute.v1.IData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Data message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Data * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.Data; /** * Decodes a Data message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Data * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.Data; /** * Verifies a Data message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Data message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Data */ public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.Data; /** * Creates a plain object from a Data message. Also converts values to other types if specified. * @param message Data * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.compute.v1.Data, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Data to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an OperationsScopedList. */ interface IOperationsScopedList { /** OperationsScopedList operations */ operations?: (google.cloud.compute.v1.IOperation[]|null); /** OperationsScopedList warning */ warning?: (google.cloud.compute.v1.IWarning|null); } /** Represents an OperationsScopedList. */ class OperationsScopedList implements IOperationsScopedList { /** * Constructs a new OperationsScopedList. * @param [properties] Properties to set */ constructor(properties?: google.cloud.compute.v1.IOperationsScopedList); /** OperationsScopedList operations. */ public operations: google.cloud.compute.v1.IOperation[]; /** OperationsScopedList warning. */ public warning?: (google.cloud.compute.v1.IWarning|null); /** OperationsScopedList _warning. */ public _warning?: "warning"; /** * Creates a new OperationsScopedList instance using the specified properties. * @param [properties] Properties to set * @returns OperationsScopedList instance */ public static create(properties?: google.cloud.compute.v1.IOperationsScopedList): google.cloud.compute.v1.OperationsScopedList; /** * Encodes the specified OperationsScopedList message. Does not implicitly {@link google.cloud.compute.v1.OperationsScopedList.verify|verify} messages. * @param message OperationsScopedList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.cloud.compute.v1.IOperationsScopedList, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified OperationsScopedList message, length delimited. Does not implicitly {@link google.cloud.compute.v1.OperationsScopedList.verify|verify} messages. * @param message OperationsScopedList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.cloud.compute.v1.IOperationsScopedList, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an OperationsScopedList message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns OperationsScopedList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.OperationsScopedList; /** * Decodes an OperationsScopedList message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns OperationsScopedList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.OperationsScopedList; /** * Verifies an OperationsScopedList message. * @param message Plain 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 OperationsScopedList message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns OperationsScopedList */ public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.OperationsScopedList; /** * Creates a plain object from an OperationsScopedList message. Also converts values to other types if specified. * @param message OperationsScopedList * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.cloud.compute.v1.OperationsScopedList, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this OperationsScopedList to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an OperationAggregatedList. */ interface IOperationAggregatedList { /** OperationAggregatedList id */ id?: (string|null); /** OperationAggregatedList items */ items?: ({ [k: string]: google.cloud.compute.v1.IOperationsScopedList }|null); /** OperationAggregatedList kind */ kind?: (string|null); /** OperationAggregatedList nextPageToken */ nextPageToken?: (string|null); /** OperationAggregatedList selfLink */ selfLink?: (string|null); /** OperationAggregatedList unreachables */ unreachables?: (string[]|null); /** OperationAggregatedList warning */ warning?: (google.cloud.compute.v1.IWarning|null); } /** Represents an OperationAggregatedList. */ class OperationAggregatedList implements IOperationAggregatedList { /** * Constructs a new OperationAggregatedList. * @param [properties] Properties to set */ constructor(properties?: google.cloud.compute.v1.IOperationAggregatedList); /** OperationAggregatedList id. */ public id?: (string|null); /** OperationAggregatedList items. */ public items: { [k: string]: google.cloud.compute.v1.IOperationsScopedList }; /** OperationAggregatedList kind. */ public kind?: (string|null); /** OperationAggregatedList nextPageToken. */ public nextPageToken?: (string|null); /** OperationAggregatedList selfLink. */ public selfLink?: (string|null); /** OperationAggregatedList unreachables. */ public unreachables: string[]; /** OperationAggregatedList warning. */ public warning?: (google.cloud.compute.v1.IWarning|null); /** OperationAggregatedList _id. */ public _id?: "id"; /** OperationAggregatedList _kind. */ public _kind?: "kind"; /** OperationAggregatedList _nextPageToken. */ public _nextPageToken?: "nextPageToken"; /** OperationAggregatedList _selfLink. */ public _selfLink?: "selfLink"; /** OperationAggregatedList _warning. */ public _warning?: "warning"; /** * Creates a new OperationAggregatedList instance using the specified properties. * @param [properties] Properties to set * @returns OperationAggregatedList instance */ public static create(properties?: google.cloud.compute.v1.IOperationAggregatedList): google.cloud.compute.v1.OperationAggregatedList;