// 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 pubsub. */ namespace pubsub { /** Namespace v1. */ namespace v1 { /** Represents a Publisher */ class Publisher extends $protobuf.rpc.Service { /** * Constructs a new Publisher service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Creates new Publisher service using the specified rpc implementation. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited * @returns RPC service. Useful where requests and/or responses are streamed. */ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Publisher; /** * Calls CreateTopic. * @param request Topic message or plain object * @param callback Node-style callback called with the error, if any, and Topic */ public createTopic(request: google.pubsub.v1.ITopic, callback: google.pubsub.v1.Publisher.CreateTopicCallback): void; /** * Calls CreateTopic. * @param request Topic message or plain object * @returns Promise */ public createTopic(request: google.pubsub.v1.ITopic): Promise; /** * Calls UpdateTopic. * @param request UpdateTopicRequest message or plain object * @param callback Node-style callback called with the error, if any, and Topic */ public updateTopic(request: google.pubsub.v1.IUpdateTopicRequest, callback: google.pubsub.v1.Publisher.UpdateTopicCallback): void; /** * Calls UpdateTopic. * @param request UpdateTopicRequest message or plain object * @returns Promise */ public updateTopic(request: google.pubsub.v1.IUpdateTopicRequest): Promise; /** * Calls Publish. * @param request PublishRequest message or plain object * @param callback Node-style callback called with the error, if any, and PublishResponse */ public publish(request: google.pubsub.v1.IPublishRequest, callback: google.pubsub.v1.Publisher.PublishCallback): void; /** * Calls Publish. * @param request PublishRequest message or plain object * @returns Promise */ public publish(request: google.pubsub.v1.IPublishRequest): Promise; /** * Calls GetTopic. * @param request GetTopicRequest message or plain object * @param callback Node-style callback called with the error, if any, and Topic */ public getTopic(request: google.pubsub.v1.IGetTopicRequest, callback: google.pubsub.v1.Publisher.GetTopicCallback): void; /** * Calls GetTopic. * @param request GetTopicRequest message or plain object * @returns Promise */ public getTopic(request: google.pubsub.v1.IGetTopicRequest): Promise; /** * Calls ListTopics. * @param request ListTopicsRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListTopicsResponse */ public listTopics(request: google.pubsub.v1.IListTopicsRequest, callback: google.pubsub.v1.Publisher.ListTopicsCallback): void; /** * Calls ListTopics. * @param request ListTopicsRequest message or plain object * @returns Promise */ public listTopics(request: google.pubsub.v1.IListTopicsRequest): Promise; /** * Calls ListTopicSubscriptions. * @param request ListTopicSubscriptionsRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListTopicSubscriptionsResponse */ public listTopicSubscriptions(request: google.pubsub.v1.IListTopicSubscriptionsRequest, callback: google.pubsub.v1.Publisher.ListTopicSubscriptionsCallback): void; /** * Calls ListTopicSubscriptions. * @param request ListTopicSubscriptionsRequest message or plain object * @returns Promise */ public listTopicSubscriptions(request: google.pubsub.v1.IListTopicSubscriptionsRequest): Promise; /** * Calls ListTopicSnapshots. * @param request ListTopicSnapshotsRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListTopicSnapshotsResponse */ public listTopicSnapshots(request: google.pubsub.v1.IListTopicSnapshotsRequest, callback: google.pubsub.v1.Publisher.ListTopicSnapshotsCallback): void; /** * Calls ListTopicSnapshots. * @param request ListTopicSnapshotsRequest message or plain object * @returns Promise */ public listTopicSnapshots(request: google.pubsub.v1.IListTopicSnapshotsRequest): Promise; /** * Calls DeleteTopic. * @param request DeleteTopicRequest message or plain object * @param callback Node-style callback called with the error, if any, and Empty */ public deleteTopic(request: google.pubsub.v1.IDeleteTopicRequest, callback: google.pubsub.v1.Publisher.DeleteTopicCallback): void; /** * Calls DeleteTopic. * @param request DeleteTopicRequest message or plain object * @returns Promise */ public deleteTopic(request: google.pubsub.v1.IDeleteTopicRequest): Promise; /** * Calls DetachSubscription. * @param request DetachSubscriptionRequest message or plain object * @param callback Node-style callback called with the error, if any, and DetachSubscriptionResponse */ public detachSubscription(request: google.pubsub.v1.IDetachSubscriptionRequest, callback: google.pubsub.v1.Publisher.DetachSubscriptionCallback): void; /** * Calls DetachSubscription. * @param request DetachSubscriptionRequest message or plain object * @returns Promise */ public detachSubscription(request: google.pubsub.v1.IDetachSubscriptionRequest): Promise; } namespace Publisher { /** * Callback as used by {@link google.pubsub.v1.Publisher|createTopic}. * @param error Error, if any * @param [response] Topic */ type CreateTopicCallback = (error: (Error|null), response?: google.pubsub.v1.Topic) => void; /** * Callback as used by {@link google.pubsub.v1.Publisher|updateTopic}. * @param error Error, if any * @param [response] Topic */ type UpdateTopicCallback = (error: (Error|null), response?: google.pubsub.v1.Topic) => void; /** * Callback as used by {@link google.pubsub.v1.Publisher|publish}. * @param error Error, if any * @param [response] PublishResponse */ type PublishCallback = (error: (Error|null), response?: google.pubsub.v1.PublishResponse) => void; /** * Callback as used by {@link google.pubsub.v1.Publisher|getTopic}. * @param error Error, if any * @param [response] Topic */ type GetTopicCallback = (error: (Error|null), response?: google.pubsub.v1.Topic) => void; /** * Callback as used by {@link google.pubsub.v1.Publisher|listTopics}. * @param error Error, if any * @param [response] ListTopicsResponse */ type ListTopicsCallback = (error: (Error|null), response?: google.pubsub.v1.ListTopicsResponse) => void; /** * Callback as used by {@link google.pubsub.v1.Publisher|listTopicSubscriptions}. * @param error Error, if any * @param [response] ListTopicSubscriptionsResponse */ type ListTopicSubscriptionsCallback = (error: (Error|null), response?: google.pubsub.v1.ListTopicSubscriptionsResponse) => void; /** * Callback as used by {@link google.pubsub.v1.Publisher|listTopicSnapshots}. * @param error Error, if any * @param [response] ListTopicSnapshotsResponse */ type ListTopicSnapshotsCallback = (error: (Error|null), response?: google.pubsub.v1.ListTopicSnapshotsResponse) => void; /** * Callback as used by {@link google.pubsub.v1.Publisher|deleteTopic}. * @param error Error, if any * @param [response] Empty */ type DeleteTopicCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** * Callback as used by {@link google.pubsub.v1.Publisher|detachSubscription}. * @param error Error, if any * @param [response] DetachSubscriptionResponse */ type DetachSubscriptionCallback = (error: (Error|null), response?: google.pubsub.v1.DetachSubscriptionResponse) => void; } /** Properties of a MessageStoragePolicy. */ interface IMessageStoragePolicy { /** MessageStoragePolicy allowedPersistenceRegions */ allowedPersistenceRegions?: (string[]|null); /** MessageStoragePolicy enforceInTransit */ enforceInTransit?: (boolean|null); } /** Represents a MessageStoragePolicy. */ class MessageStoragePolicy implements IMessageStoragePolicy { /** * Constructs a new MessageStoragePolicy. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IMessageStoragePolicy); /** MessageStoragePolicy allowedPersistenceRegions. */ public allowedPersistenceRegions: string[]; /** MessageStoragePolicy enforceInTransit. */ public enforceInTransit: boolean; /** * Creates a new MessageStoragePolicy instance using the specified properties. * @param [properties] Properties to set * @returns MessageStoragePolicy instance */ public static create(properties?: google.pubsub.v1.IMessageStoragePolicy): google.pubsub.v1.MessageStoragePolicy; /** * Encodes the specified MessageStoragePolicy message. Does not implicitly {@link google.pubsub.v1.MessageStoragePolicy.verify|verify} messages. * @param message MessageStoragePolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IMessageStoragePolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MessageStoragePolicy message, length delimited. Does not implicitly {@link google.pubsub.v1.MessageStoragePolicy.verify|verify} messages. * @param message MessageStoragePolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IMessageStoragePolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MessageStoragePolicy message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MessageStoragePolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.MessageStoragePolicy; /** * Decodes a MessageStoragePolicy message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MessageStoragePolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.MessageStoragePolicy; /** * Verifies a MessageStoragePolicy message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MessageStoragePolicy message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MessageStoragePolicy */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.MessageStoragePolicy; /** * Creates a plain object from a MessageStoragePolicy message. Also converts values to other types if specified. * @param message MessageStoragePolicy * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.MessageStoragePolicy, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MessageStoragePolicy to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MessageStoragePolicy * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SchemaSettings. */ interface ISchemaSettings { /** SchemaSettings schema */ schema?: (string|null); /** SchemaSettings encoding */ encoding?: (google.pubsub.v1.Encoding|keyof typeof google.pubsub.v1.Encoding|null); /** SchemaSettings firstRevisionId */ firstRevisionId?: (string|null); /** SchemaSettings lastRevisionId */ lastRevisionId?: (string|null); } /** Represents a SchemaSettings. */ class SchemaSettings implements ISchemaSettings { /** * Constructs a new SchemaSettings. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.ISchemaSettings); /** SchemaSettings schema. */ public schema: string; /** SchemaSettings encoding. */ public encoding: (google.pubsub.v1.Encoding|keyof typeof google.pubsub.v1.Encoding); /** SchemaSettings firstRevisionId. */ public firstRevisionId: string; /** SchemaSettings lastRevisionId. */ public lastRevisionId: string; /** * Creates a new SchemaSettings instance using the specified properties. * @param [properties] Properties to set * @returns SchemaSettings instance */ public static create(properties?: google.pubsub.v1.ISchemaSettings): google.pubsub.v1.SchemaSettings; /** * Encodes the specified SchemaSettings message. Does not implicitly {@link google.pubsub.v1.SchemaSettings.verify|verify} messages. * @param message SchemaSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.ISchemaSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SchemaSettings message, length delimited. Does not implicitly {@link google.pubsub.v1.SchemaSettings.verify|verify} messages. * @param message SchemaSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.ISchemaSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SchemaSettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SchemaSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.SchemaSettings; /** * Decodes a SchemaSettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SchemaSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.SchemaSettings; /** * Verifies a SchemaSettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SchemaSettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SchemaSettings */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.SchemaSettings; /** * Creates a plain object from a SchemaSettings message. Also converts values to other types if specified. * @param message SchemaSettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.SchemaSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SchemaSettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SchemaSettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an IngestionDataSourceSettings. */ interface IIngestionDataSourceSettings { /** IngestionDataSourceSettings awsKinesis */ awsKinesis?: (google.pubsub.v1.IngestionDataSourceSettings.IAwsKinesis|null); /** IngestionDataSourceSettings cloudStorage */ cloudStorage?: (google.pubsub.v1.IngestionDataSourceSettings.ICloudStorage|null); /** IngestionDataSourceSettings azureEventHubs */ azureEventHubs?: (google.pubsub.v1.IngestionDataSourceSettings.IAzureEventHubs|null); /** IngestionDataSourceSettings awsMsk */ awsMsk?: (google.pubsub.v1.IngestionDataSourceSettings.IAwsMsk|null); /** IngestionDataSourceSettings confluentCloud */ confluentCloud?: (google.pubsub.v1.IngestionDataSourceSettings.IConfluentCloud|null); /** IngestionDataSourceSettings platformLogsSettings */ platformLogsSettings?: (google.pubsub.v1.IPlatformLogsSettings|null); } /** Represents an IngestionDataSourceSettings. */ class IngestionDataSourceSettings implements IIngestionDataSourceSettings { /** * Constructs a new IngestionDataSourceSettings. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IIngestionDataSourceSettings); /** IngestionDataSourceSettings awsKinesis. */ public awsKinesis?: (google.pubsub.v1.IngestionDataSourceSettings.IAwsKinesis|null); /** IngestionDataSourceSettings cloudStorage. */ public cloudStorage?: (google.pubsub.v1.IngestionDataSourceSettings.ICloudStorage|null); /** IngestionDataSourceSettings azureEventHubs. */ public azureEventHubs?: (google.pubsub.v1.IngestionDataSourceSettings.IAzureEventHubs|null); /** IngestionDataSourceSettings awsMsk. */ public awsMsk?: (google.pubsub.v1.IngestionDataSourceSettings.IAwsMsk|null); /** IngestionDataSourceSettings confluentCloud. */ public confluentCloud?: (google.pubsub.v1.IngestionDataSourceSettings.IConfluentCloud|null); /** IngestionDataSourceSettings platformLogsSettings. */ public platformLogsSettings?: (google.pubsub.v1.IPlatformLogsSettings|null); /** IngestionDataSourceSettings source. */ public source?: ("awsKinesis"|"cloudStorage"|"azureEventHubs"|"awsMsk"|"confluentCloud"); /** * Creates a new IngestionDataSourceSettings instance using the specified properties. * @param [properties] Properties to set * @returns IngestionDataSourceSettings instance */ public static create(properties?: google.pubsub.v1.IIngestionDataSourceSettings): google.pubsub.v1.IngestionDataSourceSettings; /** * Encodes the specified IngestionDataSourceSettings message. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.verify|verify} messages. * @param message IngestionDataSourceSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IIngestionDataSourceSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified IngestionDataSourceSettings message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.verify|verify} messages. * @param message IngestionDataSourceSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IIngestionDataSourceSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an IngestionDataSourceSettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns IngestionDataSourceSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionDataSourceSettings; /** * Decodes an IngestionDataSourceSettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns IngestionDataSourceSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionDataSourceSettings; /** * Verifies an IngestionDataSourceSettings message. * @param message Plain 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 IngestionDataSourceSettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns IngestionDataSourceSettings */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionDataSourceSettings; /** * Creates a plain object from an IngestionDataSourceSettings message. Also converts values to other types if specified. * @param message IngestionDataSourceSettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.IngestionDataSourceSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this IngestionDataSourceSettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for IngestionDataSourceSettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace IngestionDataSourceSettings { /** Properties of an AwsKinesis. */ interface IAwsKinesis { /** AwsKinesis state */ state?: (google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.State|keyof typeof google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.State|null); /** AwsKinesis streamArn */ streamArn?: (string|null); /** AwsKinesis consumerArn */ consumerArn?: (string|null); /** AwsKinesis awsRoleArn */ awsRoleArn?: (string|null); /** AwsKinesis gcpServiceAccount */ gcpServiceAccount?: (string|null); } /** Represents an AwsKinesis. */ class AwsKinesis implements IAwsKinesis { /** * Constructs a new AwsKinesis. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IngestionDataSourceSettings.IAwsKinesis); /** AwsKinesis state. */ public state: (google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.State|keyof typeof google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.State); /** AwsKinesis streamArn. */ public streamArn: string; /** AwsKinesis consumerArn. */ public consumerArn: string; /** AwsKinesis awsRoleArn. */ public awsRoleArn: string; /** AwsKinesis gcpServiceAccount. */ public gcpServiceAccount: string; /** * Creates a new AwsKinesis instance using the specified properties. * @param [properties] Properties to set * @returns AwsKinesis instance */ public static create(properties?: google.pubsub.v1.IngestionDataSourceSettings.IAwsKinesis): google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis; /** * Encodes the specified AwsKinesis message. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.verify|verify} messages. * @param message AwsKinesis message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IngestionDataSourceSettings.IAwsKinesis, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AwsKinesis message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.verify|verify} messages. * @param message AwsKinesis message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IngestionDataSourceSettings.IAwsKinesis, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AwsKinesis message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AwsKinesis * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis; /** * Decodes an AwsKinesis message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AwsKinesis * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis; /** * Verifies an AwsKinesis message. * @param message Plain 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 AwsKinesis message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AwsKinesis */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis; /** * Creates a plain object from an AwsKinesis message. Also converts values to other types if specified. * @param message AwsKinesis * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AwsKinesis to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AwsKinesis * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AwsKinesis { /** State enum. */ enum State { STATE_UNSPECIFIED = 0, ACTIVE = 1, KINESIS_PERMISSION_DENIED = 2, PUBLISH_PERMISSION_DENIED = 3, STREAM_NOT_FOUND = 4, CONSUMER_NOT_FOUND = 5, CONFLICTING_REGION_CONSTRAINTS = 6 } } /** Properties of a CloudStorage. */ interface ICloudStorage { /** CloudStorage state */ state?: (google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State|keyof typeof google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State|null); /** CloudStorage bucket */ bucket?: (string|null); /** CloudStorage textFormat */ textFormat?: (google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.ITextFormat|null); /** CloudStorage avroFormat */ avroFormat?: (google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.IAvroFormat|null); /** CloudStorage pubsubAvroFormat */ pubsubAvroFormat?: (google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.IPubSubAvroFormat|null); /** CloudStorage minimumObjectCreateTime */ minimumObjectCreateTime?: (google.protobuf.ITimestamp|null); /** CloudStorage matchGlob */ matchGlob?: (string|null); } /** Represents a CloudStorage. */ class CloudStorage implements ICloudStorage { /** * Constructs a new CloudStorage. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IngestionDataSourceSettings.ICloudStorage); /** CloudStorage state. */ public state: (google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State|keyof typeof google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State); /** CloudStorage bucket. */ public bucket: string; /** CloudStorage textFormat. */ public textFormat?: (google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.ITextFormat|null); /** CloudStorage avroFormat. */ public avroFormat?: (google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.IAvroFormat|null); /** CloudStorage pubsubAvroFormat. */ public pubsubAvroFormat?: (google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.IPubSubAvroFormat|null); /** CloudStorage minimumObjectCreateTime. */ public minimumObjectCreateTime?: (google.protobuf.ITimestamp|null); /** CloudStorage matchGlob. */ public matchGlob: string; /** CloudStorage inputFormat. */ public inputFormat?: ("textFormat"|"avroFormat"|"pubsubAvroFormat"); /** * Creates a new CloudStorage instance using the specified properties. * @param [properties] Properties to set * @returns CloudStorage instance */ public static create(properties?: google.pubsub.v1.IngestionDataSourceSettings.ICloudStorage): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage; /** * Encodes the specified CloudStorage message. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.verify|verify} messages. * @param message CloudStorage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IngestionDataSourceSettings.ICloudStorage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CloudStorage message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.verify|verify} messages. * @param message CloudStorage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IngestionDataSourceSettings.ICloudStorage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CloudStorage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CloudStorage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage; /** * Decodes a CloudStorage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CloudStorage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage; /** * Verifies a CloudStorage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CloudStorage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CloudStorage */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage; /** * Creates a plain object from a CloudStorage message. Also converts values to other types if specified. * @param message CloudStorage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CloudStorage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CloudStorage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace CloudStorage { /** State enum. */ enum State { STATE_UNSPECIFIED = 0, ACTIVE = 1, CLOUD_STORAGE_PERMISSION_DENIED = 2, PUBLISH_PERMISSION_DENIED = 3, BUCKET_NOT_FOUND = 4, TOO_MANY_OBJECTS = 5, CONFLICTING_REGION_CONSTRAINTS = 8 } /** Properties of a TextFormat. */ interface ITextFormat { /** TextFormat delimiter */ delimiter?: (string|null); } /** Represents a TextFormat. */ class TextFormat implements ITextFormat { /** * Constructs a new TextFormat. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.ITextFormat); /** TextFormat delimiter. */ public delimiter?: (string|null); /** * Creates a new TextFormat instance using the specified properties. * @param [properties] Properties to set * @returns TextFormat instance */ public static create(properties?: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.ITextFormat): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat; /** * Encodes the specified TextFormat message. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat.verify|verify} messages. * @param message TextFormat message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.ITextFormat, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TextFormat message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat.verify|verify} messages. * @param message TextFormat message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.ITextFormat, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TextFormat message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TextFormat * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat; /** * Decodes a TextFormat message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TextFormat * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat; /** * Verifies a TextFormat message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TextFormat message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TextFormat */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat; /** * Creates a plain object from a TextFormat message. Also converts values to other types if specified. * @param message TextFormat * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TextFormat to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for TextFormat * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AvroFormat. */ interface IAvroFormat { } /** Represents an AvroFormat. */ class AvroFormat implements IAvroFormat { /** * Constructs a new AvroFormat. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.IAvroFormat); /** * Creates a new AvroFormat instance using the specified properties. * @param [properties] Properties to set * @returns AvroFormat instance */ public static create(properties?: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.IAvroFormat): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat; /** * Encodes the specified AvroFormat message. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat.verify|verify} messages. * @param message AvroFormat message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.IAvroFormat, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AvroFormat message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat.verify|verify} messages. * @param message AvroFormat message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.IAvroFormat, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AvroFormat message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AvroFormat * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat; /** * Decodes an AvroFormat message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AvroFormat * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat; /** * Verifies an AvroFormat message. * @param message Plain 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 AvroFormat message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AvroFormat */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat; /** * Creates a plain object from an AvroFormat message. Also converts values to other types if specified. * @param message AvroFormat * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AvroFormat to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AvroFormat * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PubSubAvroFormat. */ interface IPubSubAvroFormat { } /** Represents a PubSubAvroFormat. */ class PubSubAvroFormat implements IPubSubAvroFormat { /** * Constructs a new PubSubAvroFormat. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.IPubSubAvroFormat); /** * Creates a new PubSubAvroFormat instance using the specified properties. * @param [properties] Properties to set * @returns PubSubAvroFormat instance */ public static create(properties?: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.IPubSubAvroFormat): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat; /** * Encodes the specified PubSubAvroFormat message. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat.verify|verify} messages. * @param message PubSubAvroFormat message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.IPubSubAvroFormat, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PubSubAvroFormat message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat.verify|verify} messages. * @param message PubSubAvroFormat message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.IPubSubAvroFormat, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PubSubAvroFormat message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PubSubAvroFormat * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat; /** * Decodes a PubSubAvroFormat message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PubSubAvroFormat * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat; /** * Verifies a PubSubAvroFormat message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PubSubAvroFormat message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PubSubAvroFormat */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat; /** * Creates a plain object from a PubSubAvroFormat message. Also converts values to other types if specified. * @param message PubSubAvroFormat * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PubSubAvroFormat to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PubSubAvroFormat * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of an AzureEventHubs. */ interface IAzureEventHubs { /** AzureEventHubs state */ state?: (google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.State|keyof typeof google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.State|null); /** AzureEventHubs resourceGroup */ resourceGroup?: (string|null); /** AzureEventHubs namespace */ namespace?: (string|null); /** AzureEventHubs eventHub */ eventHub?: (string|null); /** AzureEventHubs clientId */ clientId?: (string|null); /** AzureEventHubs tenantId */ tenantId?: (string|null); /** AzureEventHubs subscriptionId */ subscriptionId?: (string|null); /** AzureEventHubs gcpServiceAccount */ gcpServiceAccount?: (string|null); } /** Represents an AzureEventHubs. */ class AzureEventHubs implements IAzureEventHubs { /** * Constructs a new AzureEventHubs. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IngestionDataSourceSettings.IAzureEventHubs); /** AzureEventHubs state. */ public state: (google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.State|keyof typeof google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.State); /** AzureEventHubs resourceGroup. */ public resourceGroup: string; /** AzureEventHubs namespace. */ public namespace: string; /** AzureEventHubs eventHub. */ public eventHub: string; /** AzureEventHubs clientId. */ public clientId: string; /** AzureEventHubs tenantId. */ public tenantId: string; /** AzureEventHubs subscriptionId. */ public subscriptionId: string; /** AzureEventHubs gcpServiceAccount. */ public gcpServiceAccount: string; /** * Creates a new AzureEventHubs instance using the specified properties. * @param [properties] Properties to set * @returns AzureEventHubs instance */ public static create(properties?: google.pubsub.v1.IngestionDataSourceSettings.IAzureEventHubs): google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs; /** * Encodes the specified AzureEventHubs message. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.verify|verify} messages. * @param message AzureEventHubs message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IngestionDataSourceSettings.IAzureEventHubs, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AzureEventHubs message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.verify|verify} messages. * @param message AzureEventHubs message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IngestionDataSourceSettings.IAzureEventHubs, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AzureEventHubs message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AzureEventHubs * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs; /** * Decodes an AzureEventHubs message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AzureEventHubs * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs; /** * Verifies an AzureEventHubs message. * @param message Plain 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 AzureEventHubs message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AzureEventHubs */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs; /** * Creates a plain object from an AzureEventHubs message. Also converts values to other types if specified. * @param message AzureEventHubs * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AzureEventHubs to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AzureEventHubs * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AzureEventHubs { /** State enum. */ enum State { STATE_UNSPECIFIED = 0, ACTIVE = 1, EVENT_HUBS_PERMISSION_DENIED = 2, PUBLISH_PERMISSION_DENIED = 3, NAMESPACE_NOT_FOUND = 4, EVENT_HUB_NOT_FOUND = 5, SUBSCRIPTION_NOT_FOUND = 6, RESOURCE_GROUP_NOT_FOUND = 7, CONFLICTING_REGION_CONSTRAINTS = 8 } } /** Properties of an AwsMsk. */ interface IAwsMsk { /** AwsMsk state */ state?: (google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.State|keyof typeof google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.State|null); /** AwsMsk clusterArn */ clusterArn?: (string|null); /** AwsMsk topic */ topic?: (string|null); /** AwsMsk awsRoleArn */ awsRoleArn?: (string|null); /** AwsMsk gcpServiceAccount */ gcpServiceAccount?: (string|null); } /** Represents an AwsMsk. */ class AwsMsk implements IAwsMsk { /** * Constructs a new AwsMsk. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IngestionDataSourceSettings.IAwsMsk); /** AwsMsk state. */ public state: (google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.State|keyof typeof google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.State); /** AwsMsk clusterArn. */ public clusterArn: string; /** AwsMsk topic. */ public topic: string; /** AwsMsk awsRoleArn. */ public awsRoleArn: string; /** AwsMsk gcpServiceAccount. */ public gcpServiceAccount: string; /** * Creates a new AwsMsk instance using the specified properties. * @param [properties] Properties to set * @returns AwsMsk instance */ public static create(properties?: google.pubsub.v1.IngestionDataSourceSettings.IAwsMsk): google.pubsub.v1.IngestionDataSourceSettings.AwsMsk; /** * Encodes the specified AwsMsk message. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.verify|verify} messages. * @param message AwsMsk message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IngestionDataSourceSettings.IAwsMsk, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AwsMsk message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.verify|verify} messages. * @param message AwsMsk message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IngestionDataSourceSettings.IAwsMsk, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AwsMsk message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AwsMsk * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionDataSourceSettings.AwsMsk; /** * Decodes an AwsMsk message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AwsMsk * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionDataSourceSettings.AwsMsk; /** * Verifies an AwsMsk message. * @param message Plain 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 AwsMsk message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AwsMsk */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionDataSourceSettings.AwsMsk; /** * Creates a plain object from an AwsMsk message. Also converts values to other types if specified. * @param message AwsMsk * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.IngestionDataSourceSettings.AwsMsk, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AwsMsk to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AwsMsk * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AwsMsk { /** State enum. */ enum State { STATE_UNSPECIFIED = 0, ACTIVE = 1, MSK_PERMISSION_DENIED = 2, PUBLISH_PERMISSION_DENIED = 3, CLUSTER_NOT_FOUND = 4, TOPIC_NOT_FOUND = 5, CONFLICTING_REGION_CONSTRAINTS = 6 } } /** Properties of a ConfluentCloud. */ interface IConfluentCloud { /** ConfluentCloud state */ state?: (google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.State|keyof typeof google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.State|null); /** ConfluentCloud bootstrapServer */ bootstrapServer?: (string|null); /** ConfluentCloud clusterId */ clusterId?: (string|null); /** ConfluentCloud topic */ topic?: (string|null); /** ConfluentCloud identityPoolId */ identityPoolId?: (string|null); /** ConfluentCloud gcpServiceAccount */ gcpServiceAccount?: (string|null); } /** Represents a ConfluentCloud. */ class ConfluentCloud implements IConfluentCloud { /** * Constructs a new ConfluentCloud. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IngestionDataSourceSettings.IConfluentCloud); /** ConfluentCloud state. */ public state: (google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.State|keyof typeof google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.State); /** ConfluentCloud bootstrapServer. */ public bootstrapServer: string; /** ConfluentCloud clusterId. */ public clusterId: string; /** ConfluentCloud topic. */ public topic: string; /** ConfluentCloud identityPoolId. */ public identityPoolId: string; /** ConfluentCloud gcpServiceAccount. */ public gcpServiceAccount: string; /** * Creates a new ConfluentCloud instance using the specified properties. * @param [properties] Properties to set * @returns ConfluentCloud instance */ public static create(properties?: google.pubsub.v1.IngestionDataSourceSettings.IConfluentCloud): google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud; /** * Encodes the specified ConfluentCloud message. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.verify|verify} messages. * @param message ConfluentCloud message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IngestionDataSourceSettings.IConfluentCloud, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ConfluentCloud message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.verify|verify} messages. * @param message ConfluentCloud message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IngestionDataSourceSettings.IConfluentCloud, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ConfluentCloud message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ConfluentCloud * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud; /** * Decodes a ConfluentCloud message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ConfluentCloud * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud; /** * Verifies a ConfluentCloud message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ConfluentCloud message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ConfluentCloud */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud; /** * Creates a plain object from a ConfluentCloud message. Also converts values to other types if specified. * @param message ConfluentCloud * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ConfluentCloud to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ConfluentCloud * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ConfluentCloud { /** State enum. */ enum State { STATE_UNSPECIFIED = 0, ACTIVE = 1, CONFLUENT_CLOUD_PERMISSION_DENIED = 2, PUBLISH_PERMISSION_DENIED = 3, UNREACHABLE_BOOTSTRAP_SERVER = 4, CLUSTER_NOT_FOUND = 5, TOPIC_NOT_FOUND = 6, CONFLICTING_REGION_CONSTRAINTS = 7 } } } /** Properties of a PlatformLogsSettings. */ interface IPlatformLogsSettings { /** PlatformLogsSettings severity */ severity?: (google.pubsub.v1.PlatformLogsSettings.Severity|keyof typeof google.pubsub.v1.PlatformLogsSettings.Severity|null); } /** Represents a PlatformLogsSettings. */ class PlatformLogsSettings implements IPlatformLogsSettings { /** * Constructs a new PlatformLogsSettings. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IPlatformLogsSettings); /** PlatformLogsSettings severity. */ public severity: (google.pubsub.v1.PlatformLogsSettings.Severity|keyof typeof google.pubsub.v1.PlatformLogsSettings.Severity); /** * Creates a new PlatformLogsSettings instance using the specified properties. * @param [properties] Properties to set * @returns PlatformLogsSettings instance */ public static create(properties?: google.pubsub.v1.IPlatformLogsSettings): google.pubsub.v1.PlatformLogsSettings; /** * Encodes the specified PlatformLogsSettings message. Does not implicitly {@link google.pubsub.v1.PlatformLogsSettings.verify|verify} messages. * @param message PlatformLogsSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IPlatformLogsSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PlatformLogsSettings message, length delimited. Does not implicitly {@link google.pubsub.v1.PlatformLogsSettings.verify|verify} messages. * @param message PlatformLogsSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IPlatformLogsSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PlatformLogsSettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PlatformLogsSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.PlatformLogsSettings; /** * Decodes a PlatformLogsSettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PlatformLogsSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.PlatformLogsSettings; /** * Verifies a PlatformLogsSettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PlatformLogsSettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PlatformLogsSettings */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.PlatformLogsSettings; /** * Creates a plain object from a PlatformLogsSettings message. Also converts values to other types if specified. * @param message PlatformLogsSettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.PlatformLogsSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PlatformLogsSettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PlatformLogsSettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace PlatformLogsSettings { /** Severity enum. */ enum Severity { SEVERITY_UNSPECIFIED = 0, DISABLED = 1, DEBUG = 2, INFO = 3, WARNING = 4, ERROR = 5 } } /** Properties of an IngestionFailureEvent. */ interface IIngestionFailureEvent { /** IngestionFailureEvent topic */ topic?: (string|null); /** IngestionFailureEvent errorMessage */ errorMessage?: (string|null); /** IngestionFailureEvent cloudStorageFailure */ cloudStorageFailure?: (google.pubsub.v1.IngestionFailureEvent.ICloudStorageFailure|null); /** IngestionFailureEvent awsMskFailure */ awsMskFailure?: (google.pubsub.v1.IngestionFailureEvent.IAwsMskFailureReason|null); /** IngestionFailureEvent azureEventHubsFailure */ azureEventHubsFailure?: (google.pubsub.v1.IngestionFailureEvent.IAzureEventHubsFailureReason|null); /** IngestionFailureEvent confluentCloudFailure */ confluentCloudFailure?: (google.pubsub.v1.IngestionFailureEvent.IConfluentCloudFailureReason|null); /** IngestionFailureEvent awsKinesisFailure */ awsKinesisFailure?: (google.pubsub.v1.IngestionFailureEvent.IAwsKinesisFailureReason|null); } /** Represents an IngestionFailureEvent. */ class IngestionFailureEvent implements IIngestionFailureEvent { /** * Constructs a new IngestionFailureEvent. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IIngestionFailureEvent); /** IngestionFailureEvent topic. */ public topic: string; /** IngestionFailureEvent errorMessage. */ public errorMessage: string; /** IngestionFailureEvent cloudStorageFailure. */ public cloudStorageFailure?: (google.pubsub.v1.IngestionFailureEvent.ICloudStorageFailure|null); /** IngestionFailureEvent awsMskFailure. */ public awsMskFailure?: (google.pubsub.v1.IngestionFailureEvent.IAwsMskFailureReason|null); /** IngestionFailureEvent azureEventHubsFailure. */ public azureEventHubsFailure?: (google.pubsub.v1.IngestionFailureEvent.IAzureEventHubsFailureReason|null); /** IngestionFailureEvent confluentCloudFailure. */ public confluentCloudFailure?: (google.pubsub.v1.IngestionFailureEvent.IConfluentCloudFailureReason|null); /** IngestionFailureEvent awsKinesisFailure. */ public awsKinesisFailure?: (google.pubsub.v1.IngestionFailureEvent.IAwsKinesisFailureReason|null); /** IngestionFailureEvent failure. */ public failure?: ("cloudStorageFailure"|"awsMskFailure"|"azureEventHubsFailure"|"confluentCloudFailure"|"awsKinesisFailure"); /** * Creates a new IngestionFailureEvent instance using the specified properties. * @param [properties] Properties to set * @returns IngestionFailureEvent instance */ public static create(properties?: google.pubsub.v1.IIngestionFailureEvent): google.pubsub.v1.IngestionFailureEvent; /** * Encodes the specified IngestionFailureEvent message. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.verify|verify} messages. * @param message IngestionFailureEvent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IIngestionFailureEvent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified IngestionFailureEvent message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.verify|verify} messages. * @param message IngestionFailureEvent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IIngestionFailureEvent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an IngestionFailureEvent message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns IngestionFailureEvent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionFailureEvent; /** * Decodes an IngestionFailureEvent message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns IngestionFailureEvent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionFailureEvent; /** * Verifies an IngestionFailureEvent message. * @param message Plain 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 IngestionFailureEvent message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns IngestionFailureEvent */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionFailureEvent; /** * Creates a plain object from an IngestionFailureEvent message. Also converts values to other types if specified. * @param message IngestionFailureEvent * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.IngestionFailureEvent, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this IngestionFailureEvent to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for IngestionFailureEvent * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace IngestionFailureEvent { /** Properties of an ApiViolationReason. */ interface IApiViolationReason { } /** Represents an ApiViolationReason. */ class ApiViolationReason implements IApiViolationReason { /** * Constructs a new ApiViolationReason. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IngestionFailureEvent.IApiViolationReason); /** * Creates a new ApiViolationReason instance using the specified properties. * @param [properties] Properties to set * @returns ApiViolationReason instance */ public static create(properties?: google.pubsub.v1.IngestionFailureEvent.IApiViolationReason): google.pubsub.v1.IngestionFailureEvent.ApiViolationReason; /** * Encodes the specified ApiViolationReason message. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.verify|verify} messages. * @param message ApiViolationReason message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IngestionFailureEvent.IApiViolationReason, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ApiViolationReason message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.verify|verify} messages. * @param message ApiViolationReason message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IngestionFailureEvent.IApiViolationReason, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ApiViolationReason message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ApiViolationReason * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionFailureEvent.ApiViolationReason; /** * Decodes an ApiViolationReason message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ApiViolationReason * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionFailureEvent.ApiViolationReason; /** * Verifies an ApiViolationReason message. * @param message Plain 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 ApiViolationReason message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ApiViolationReason */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionFailureEvent.ApiViolationReason; /** * Creates a plain object from an ApiViolationReason message. Also converts values to other types if specified. * @param message ApiViolationReason * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.IngestionFailureEvent.ApiViolationReason, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ApiViolationReason to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ApiViolationReason * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AvroFailureReason. */ interface IAvroFailureReason { } /** Represents an AvroFailureReason. */ class AvroFailureReason implements IAvroFailureReason { /** * Constructs a new AvroFailureReason. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IngestionFailureEvent.IAvroFailureReason); /** * Creates a new AvroFailureReason instance using the specified properties. * @param [properties] Properties to set * @returns AvroFailureReason instance */ public static create(properties?: google.pubsub.v1.IngestionFailureEvent.IAvroFailureReason): google.pubsub.v1.IngestionFailureEvent.AvroFailureReason; /** * Encodes the specified AvroFailureReason message. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.AvroFailureReason.verify|verify} messages. * @param message AvroFailureReason message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IngestionFailureEvent.IAvroFailureReason, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AvroFailureReason message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.AvroFailureReason.verify|verify} messages. * @param message AvroFailureReason message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IngestionFailureEvent.IAvroFailureReason, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AvroFailureReason message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AvroFailureReason * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionFailureEvent.AvroFailureReason; /** * Decodes an AvroFailureReason message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AvroFailureReason * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionFailureEvent.AvroFailureReason; /** * Verifies an AvroFailureReason message. * @param message Plain 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 AvroFailureReason message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AvroFailureReason */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionFailureEvent.AvroFailureReason; /** * Creates a plain object from an AvroFailureReason message. Also converts values to other types if specified. * @param message AvroFailureReason * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.IngestionFailureEvent.AvroFailureReason, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AvroFailureReason to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AvroFailureReason * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SchemaViolationReason. */ interface ISchemaViolationReason { } /** Represents a SchemaViolationReason. */ class SchemaViolationReason implements ISchemaViolationReason { /** * Constructs a new SchemaViolationReason. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IngestionFailureEvent.ISchemaViolationReason); /** * Creates a new SchemaViolationReason instance using the specified properties. * @param [properties] Properties to set * @returns SchemaViolationReason instance */ public static create(properties?: google.pubsub.v1.IngestionFailureEvent.ISchemaViolationReason): google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason; /** * Encodes the specified SchemaViolationReason message. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason.verify|verify} messages. * @param message SchemaViolationReason message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IngestionFailureEvent.ISchemaViolationReason, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SchemaViolationReason message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason.verify|verify} messages. * @param message SchemaViolationReason message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IngestionFailureEvent.ISchemaViolationReason, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SchemaViolationReason message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SchemaViolationReason * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason; /** * Decodes a SchemaViolationReason message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SchemaViolationReason * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason; /** * Verifies a SchemaViolationReason message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SchemaViolationReason message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SchemaViolationReason */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason; /** * Creates a plain object from a SchemaViolationReason message. Also converts values to other types if specified. * @param message SchemaViolationReason * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SchemaViolationReason to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SchemaViolationReason * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MessageTransformationFailureReason. */ interface IMessageTransformationFailureReason { } /** Represents a MessageTransformationFailureReason. */ class MessageTransformationFailureReason implements IMessageTransformationFailureReason { /** * Constructs a new MessageTransformationFailureReason. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IngestionFailureEvent.IMessageTransformationFailureReason); /** * Creates a new MessageTransformationFailureReason instance using the specified properties. * @param [properties] Properties to set * @returns MessageTransformationFailureReason instance */ public static create(properties?: google.pubsub.v1.IngestionFailureEvent.IMessageTransformationFailureReason): google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason; /** * Encodes the specified MessageTransformationFailureReason message. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason.verify|verify} messages. * @param message MessageTransformationFailureReason message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IngestionFailureEvent.IMessageTransformationFailureReason, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MessageTransformationFailureReason message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason.verify|verify} messages. * @param message MessageTransformationFailureReason message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IngestionFailureEvent.IMessageTransformationFailureReason, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MessageTransformationFailureReason message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MessageTransformationFailureReason * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason; /** * Decodes a MessageTransformationFailureReason message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MessageTransformationFailureReason * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason; /** * Verifies a MessageTransformationFailureReason message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MessageTransformationFailureReason message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MessageTransformationFailureReason */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason; /** * Creates a plain object from a MessageTransformationFailureReason message. Also converts values to other types if specified. * @param message MessageTransformationFailureReason * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MessageTransformationFailureReason to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MessageTransformationFailureReason * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CloudStorageFailure. */ interface ICloudStorageFailure { /** CloudStorageFailure bucket */ bucket?: (string|null); /** CloudStorageFailure objectName */ objectName?: (string|null); /** CloudStorageFailure objectGeneration */ objectGeneration?: (number|Long|string|null); /** CloudStorageFailure avroFailureReason */ avroFailureReason?: (google.pubsub.v1.IngestionFailureEvent.IAvroFailureReason|null); /** CloudStorageFailure apiViolationReason */ apiViolationReason?: (google.pubsub.v1.IngestionFailureEvent.IApiViolationReason|null); /** CloudStorageFailure schemaViolationReason */ schemaViolationReason?: (google.pubsub.v1.IngestionFailureEvent.ISchemaViolationReason|null); /** CloudStorageFailure messageTransformationFailureReason */ messageTransformationFailureReason?: (google.pubsub.v1.IngestionFailureEvent.IMessageTransformationFailureReason|null); } /** Represents a CloudStorageFailure. */ class CloudStorageFailure implements ICloudStorageFailure { /** * Constructs a new CloudStorageFailure. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IngestionFailureEvent.ICloudStorageFailure); /** CloudStorageFailure bucket. */ public bucket: string; /** CloudStorageFailure objectName. */ public objectName: string; /** CloudStorageFailure objectGeneration. */ public objectGeneration: (number|Long|string); /** CloudStorageFailure avroFailureReason. */ public avroFailureReason?: (google.pubsub.v1.IngestionFailureEvent.IAvroFailureReason|null); /** CloudStorageFailure apiViolationReason. */ public apiViolationReason?: (google.pubsub.v1.IngestionFailureEvent.IApiViolationReason|null); /** CloudStorageFailure schemaViolationReason. */ public schemaViolationReason?: (google.pubsub.v1.IngestionFailureEvent.ISchemaViolationReason|null); /** CloudStorageFailure messageTransformationFailureReason. */ public messageTransformationFailureReason?: (google.pubsub.v1.IngestionFailureEvent.IMessageTransformationFailureReason|null); /** CloudStorageFailure reason. */ public reason?: ("avroFailureReason"|"apiViolationReason"|"schemaViolationReason"|"messageTransformationFailureReason"); /** * Creates a new CloudStorageFailure instance using the specified properties. * @param [properties] Properties to set * @returns CloudStorageFailure instance */ public static create(properties?: google.pubsub.v1.IngestionFailureEvent.ICloudStorageFailure): google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure; /** * Encodes the specified CloudStorageFailure message. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure.verify|verify} messages. * @param message CloudStorageFailure message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IngestionFailureEvent.ICloudStorageFailure, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CloudStorageFailure message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure.verify|verify} messages. * @param message CloudStorageFailure message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IngestionFailureEvent.ICloudStorageFailure, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CloudStorageFailure message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CloudStorageFailure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure; /** * Decodes a CloudStorageFailure message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CloudStorageFailure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure; /** * Verifies a CloudStorageFailure message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CloudStorageFailure message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CloudStorageFailure */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure; /** * Creates a plain object from a CloudStorageFailure message. Also converts values to other types if specified. * @param message CloudStorageFailure * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CloudStorageFailure to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CloudStorageFailure * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AwsMskFailureReason. */ interface IAwsMskFailureReason { /** AwsMskFailureReason clusterArn */ clusterArn?: (string|null); /** AwsMskFailureReason kafkaTopic */ kafkaTopic?: (string|null); /** AwsMskFailureReason partitionId */ partitionId?: (number|Long|string|null); /** AwsMskFailureReason offset */ offset?: (number|Long|string|null); /** AwsMskFailureReason apiViolationReason */ apiViolationReason?: (google.pubsub.v1.IngestionFailureEvent.IApiViolationReason|null); /** AwsMskFailureReason schemaViolationReason */ schemaViolationReason?: (google.pubsub.v1.IngestionFailureEvent.ISchemaViolationReason|null); /** AwsMskFailureReason messageTransformationFailureReason */ messageTransformationFailureReason?: (google.pubsub.v1.IngestionFailureEvent.IMessageTransformationFailureReason|null); } /** Represents an AwsMskFailureReason. */ class AwsMskFailureReason implements IAwsMskFailureReason { /** * Constructs a new AwsMskFailureReason. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IngestionFailureEvent.IAwsMskFailureReason); /** AwsMskFailureReason clusterArn. */ public clusterArn: string; /** AwsMskFailureReason kafkaTopic. */ public kafkaTopic: string; /** AwsMskFailureReason partitionId. */ public partitionId: (number|Long|string); /** AwsMskFailureReason offset. */ public offset: (number|Long|string); /** AwsMskFailureReason apiViolationReason. */ public apiViolationReason?: (google.pubsub.v1.IngestionFailureEvent.IApiViolationReason|null); /** AwsMskFailureReason schemaViolationReason. */ public schemaViolationReason?: (google.pubsub.v1.IngestionFailureEvent.ISchemaViolationReason|null); /** AwsMskFailureReason messageTransformationFailureReason. */ public messageTransformationFailureReason?: (google.pubsub.v1.IngestionFailureEvent.IMessageTransformationFailureReason|null); /** AwsMskFailureReason reason. */ public reason?: ("apiViolationReason"|"schemaViolationReason"|"messageTransformationFailureReason"); /** * Creates a new AwsMskFailureReason instance using the specified properties. * @param [properties] Properties to set * @returns AwsMskFailureReason instance */ public static create(properties?: google.pubsub.v1.IngestionFailureEvent.IAwsMskFailureReason): google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason; /** * Encodes the specified AwsMskFailureReason message. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason.verify|verify} messages. * @param message AwsMskFailureReason message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IngestionFailureEvent.IAwsMskFailureReason, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AwsMskFailureReason message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason.verify|verify} messages. * @param message AwsMskFailureReason message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IngestionFailureEvent.IAwsMskFailureReason, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AwsMskFailureReason message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AwsMskFailureReason * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason; /** * Decodes an AwsMskFailureReason message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AwsMskFailureReason * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason; /** * Verifies an AwsMskFailureReason message. * @param message Plain 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 AwsMskFailureReason message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AwsMskFailureReason */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason; /** * Creates a plain object from an AwsMskFailureReason message. Also converts values to other types if specified. * @param message AwsMskFailureReason * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AwsMskFailureReason to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AwsMskFailureReason * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AzureEventHubsFailureReason. */ interface IAzureEventHubsFailureReason { /** AzureEventHubsFailureReason namespace */ namespace?: (string|null); /** AzureEventHubsFailureReason eventHub */ eventHub?: (string|null); /** AzureEventHubsFailureReason partitionId */ partitionId?: (number|Long|string|null); /** AzureEventHubsFailureReason offset */ offset?: (number|Long|string|null); /** AzureEventHubsFailureReason apiViolationReason */ apiViolationReason?: (google.pubsub.v1.IngestionFailureEvent.IApiViolationReason|null); /** AzureEventHubsFailureReason schemaViolationReason */ schemaViolationReason?: (google.pubsub.v1.IngestionFailureEvent.ISchemaViolationReason|null); /** AzureEventHubsFailureReason messageTransformationFailureReason */ messageTransformationFailureReason?: (google.pubsub.v1.IngestionFailureEvent.IMessageTransformationFailureReason|null); } /** Represents an AzureEventHubsFailureReason. */ class AzureEventHubsFailureReason implements IAzureEventHubsFailureReason { /** * Constructs a new AzureEventHubsFailureReason. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IngestionFailureEvent.IAzureEventHubsFailureReason); /** AzureEventHubsFailureReason namespace. */ public namespace: string; /** AzureEventHubsFailureReason eventHub. */ public eventHub: string; /** AzureEventHubsFailureReason partitionId. */ public partitionId: (number|Long|string); /** AzureEventHubsFailureReason offset. */ public offset: (number|Long|string); /** AzureEventHubsFailureReason apiViolationReason. */ public apiViolationReason?: (google.pubsub.v1.IngestionFailureEvent.IApiViolationReason|null); /** AzureEventHubsFailureReason schemaViolationReason. */ public schemaViolationReason?: (google.pubsub.v1.IngestionFailureEvent.ISchemaViolationReason|null); /** AzureEventHubsFailureReason messageTransformationFailureReason. */ public messageTransformationFailureReason?: (google.pubsub.v1.IngestionFailureEvent.IMessageTransformationFailureReason|null); /** AzureEventHubsFailureReason reason. */ public reason?: ("apiViolationReason"|"schemaViolationReason"|"messageTransformationFailureReason"); /** * Creates a new AzureEventHubsFailureReason instance using the specified properties. * @param [properties] Properties to set * @returns AzureEventHubsFailureReason instance */ public static create(properties?: google.pubsub.v1.IngestionFailureEvent.IAzureEventHubsFailureReason): google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason; /** * Encodes the specified AzureEventHubsFailureReason message. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason.verify|verify} messages. * @param message AzureEventHubsFailureReason message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IngestionFailureEvent.IAzureEventHubsFailureReason, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AzureEventHubsFailureReason message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason.verify|verify} messages. * @param message AzureEventHubsFailureReason message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IngestionFailureEvent.IAzureEventHubsFailureReason, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AzureEventHubsFailureReason message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AzureEventHubsFailureReason * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason; /** * Decodes an AzureEventHubsFailureReason message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AzureEventHubsFailureReason * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason; /** * Verifies an AzureEventHubsFailureReason message. * @param message Plain 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 AzureEventHubsFailureReason message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AzureEventHubsFailureReason */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason; /** * Creates a plain object from an AzureEventHubsFailureReason message. Also converts values to other types if specified. * @param message AzureEventHubsFailureReason * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AzureEventHubsFailureReason to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AzureEventHubsFailureReason * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ConfluentCloudFailureReason. */ interface IConfluentCloudFailureReason { /** ConfluentCloudFailureReason clusterId */ clusterId?: (string|null); /** ConfluentCloudFailureReason kafkaTopic */ kafkaTopic?: (string|null); /** ConfluentCloudFailureReason partitionId */ partitionId?: (number|Long|string|null); /** ConfluentCloudFailureReason offset */ offset?: (number|Long|string|null); /** ConfluentCloudFailureReason apiViolationReason */ apiViolationReason?: (google.pubsub.v1.IngestionFailureEvent.IApiViolationReason|null); /** ConfluentCloudFailureReason schemaViolationReason */ schemaViolationReason?: (google.pubsub.v1.IngestionFailureEvent.ISchemaViolationReason|null); /** ConfluentCloudFailureReason messageTransformationFailureReason */ messageTransformationFailureReason?: (google.pubsub.v1.IngestionFailureEvent.IMessageTransformationFailureReason|null); } /** Represents a ConfluentCloudFailureReason. */ class ConfluentCloudFailureReason implements IConfluentCloudFailureReason { /** * Constructs a new ConfluentCloudFailureReason. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IngestionFailureEvent.IConfluentCloudFailureReason); /** ConfluentCloudFailureReason clusterId. */ public clusterId: string; /** ConfluentCloudFailureReason kafkaTopic. */ public kafkaTopic: string; /** ConfluentCloudFailureReason partitionId. */ public partitionId: (number|Long|string); /** ConfluentCloudFailureReason offset. */ public offset: (number|Long|string); /** ConfluentCloudFailureReason apiViolationReason. */ public apiViolationReason?: (google.pubsub.v1.IngestionFailureEvent.IApiViolationReason|null); /** ConfluentCloudFailureReason schemaViolationReason. */ public schemaViolationReason?: (google.pubsub.v1.IngestionFailureEvent.ISchemaViolationReason|null); /** ConfluentCloudFailureReason messageTransformationFailureReason. */ public messageTransformationFailureReason?: (google.pubsub.v1.IngestionFailureEvent.IMessageTransformationFailureReason|null); /** ConfluentCloudFailureReason reason. */ public reason?: ("apiViolationReason"|"schemaViolationReason"|"messageTransformationFailureReason"); /** * Creates a new ConfluentCloudFailureReason instance using the specified properties. * @param [properties] Properties to set * @returns ConfluentCloudFailureReason instance */ public static create(properties?: google.pubsub.v1.IngestionFailureEvent.IConfluentCloudFailureReason): google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason; /** * Encodes the specified ConfluentCloudFailureReason message. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason.verify|verify} messages. * @param message ConfluentCloudFailureReason message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IngestionFailureEvent.IConfluentCloudFailureReason, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ConfluentCloudFailureReason message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason.verify|verify} messages. * @param message ConfluentCloudFailureReason message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IngestionFailureEvent.IConfluentCloudFailureReason, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ConfluentCloudFailureReason message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ConfluentCloudFailureReason * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason; /** * Decodes a ConfluentCloudFailureReason message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ConfluentCloudFailureReason * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason; /** * Verifies a ConfluentCloudFailureReason message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ConfluentCloudFailureReason message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ConfluentCloudFailureReason */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason; /** * Creates a plain object from a ConfluentCloudFailureReason message. Also converts values to other types if specified. * @param message ConfluentCloudFailureReason * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ConfluentCloudFailureReason to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ConfluentCloudFailureReason * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AwsKinesisFailureReason. */ interface IAwsKinesisFailureReason { /** AwsKinesisFailureReason streamArn */ streamArn?: (string|null); /** AwsKinesisFailureReason partitionKey */ partitionKey?: (string|null); /** AwsKinesisFailureReason sequenceNumber */ sequenceNumber?: (string|null); /** AwsKinesisFailureReason schemaViolationReason */ schemaViolationReason?: (google.pubsub.v1.IngestionFailureEvent.ISchemaViolationReason|null); /** AwsKinesisFailureReason messageTransformationFailureReason */ messageTransformationFailureReason?: (google.pubsub.v1.IngestionFailureEvent.IMessageTransformationFailureReason|null); /** AwsKinesisFailureReason apiViolationReason */ apiViolationReason?: (google.pubsub.v1.IngestionFailureEvent.IApiViolationReason|null); } /** Represents an AwsKinesisFailureReason. */ class AwsKinesisFailureReason implements IAwsKinesisFailureReason { /** * Constructs a new AwsKinesisFailureReason. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IngestionFailureEvent.IAwsKinesisFailureReason); /** AwsKinesisFailureReason streamArn. */ public streamArn: string; /** AwsKinesisFailureReason partitionKey. */ public partitionKey: string; /** AwsKinesisFailureReason sequenceNumber. */ public sequenceNumber: string; /** AwsKinesisFailureReason schemaViolationReason. */ public schemaViolationReason?: (google.pubsub.v1.IngestionFailureEvent.ISchemaViolationReason|null); /** AwsKinesisFailureReason messageTransformationFailureReason. */ public messageTransformationFailureReason?: (google.pubsub.v1.IngestionFailureEvent.IMessageTransformationFailureReason|null); /** AwsKinesisFailureReason apiViolationReason. */ public apiViolationReason?: (google.pubsub.v1.IngestionFailureEvent.IApiViolationReason|null); /** AwsKinesisFailureReason reason. */ public reason?: ("schemaViolationReason"|"messageTransformationFailureReason"|"apiViolationReason"); /** * Creates a new AwsKinesisFailureReason instance using the specified properties. * @param [properties] Properties to set * @returns AwsKinesisFailureReason instance */ public static create(properties?: google.pubsub.v1.IngestionFailureEvent.IAwsKinesisFailureReason): google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason; /** * Encodes the specified AwsKinesisFailureReason message. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason.verify|verify} messages. * @param message AwsKinesisFailureReason message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IngestionFailureEvent.IAwsKinesisFailureReason, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AwsKinesisFailureReason message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason.verify|verify} messages. * @param message AwsKinesisFailureReason message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IngestionFailureEvent.IAwsKinesisFailureReason, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AwsKinesisFailureReason message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AwsKinesisFailureReason * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason; /** * Decodes an AwsKinesisFailureReason message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AwsKinesisFailureReason * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason; /** * Verifies an AwsKinesisFailureReason message. * @param message Plain 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 AwsKinesisFailureReason message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AwsKinesisFailureReason */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason; /** * Creates a plain object from an AwsKinesisFailureReason message. Also converts values to other types if specified. * @param message AwsKinesisFailureReason * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AwsKinesisFailureReason to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AwsKinesisFailureReason * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a JavaScriptUDF. */ interface IJavaScriptUDF { /** JavaScriptUDF functionName */ functionName?: (string|null); /** JavaScriptUDF code */ code?: (string|null); } /** Represents a JavaScriptUDF. */ class JavaScriptUDF implements IJavaScriptUDF { /** * Constructs a new JavaScriptUDF. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IJavaScriptUDF); /** JavaScriptUDF functionName. */ public functionName: string; /** JavaScriptUDF code. */ public code: string; /** * Creates a new JavaScriptUDF instance using the specified properties. * @param [properties] Properties to set * @returns JavaScriptUDF instance */ public static create(properties?: google.pubsub.v1.IJavaScriptUDF): google.pubsub.v1.JavaScriptUDF; /** * Encodes the specified JavaScriptUDF message. Does not implicitly {@link google.pubsub.v1.JavaScriptUDF.verify|verify} messages. * @param message JavaScriptUDF message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IJavaScriptUDF, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified JavaScriptUDF message, length delimited. Does not implicitly {@link google.pubsub.v1.JavaScriptUDF.verify|verify} messages. * @param message JavaScriptUDF message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IJavaScriptUDF, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a JavaScriptUDF message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns JavaScriptUDF * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.JavaScriptUDF; /** * Decodes a JavaScriptUDF message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns JavaScriptUDF * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.JavaScriptUDF; /** * Verifies a JavaScriptUDF message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a JavaScriptUDF message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns JavaScriptUDF */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.JavaScriptUDF; /** * Creates a plain object from a JavaScriptUDF message. Also converts values to other types if specified. * @param message JavaScriptUDF * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.JavaScriptUDF, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this JavaScriptUDF to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for JavaScriptUDF * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Compression. */ interface ICompression { /** Compression compressionAlgorithm */ compressionAlgorithm?: (google.pubsub.v1.Compression.CompressionAlgorithm|keyof typeof google.pubsub.v1.Compression.CompressionAlgorithm|null); /** Compression compressionMode */ compressionMode?: (google.pubsub.v1.Compression.CompressionMode|keyof typeof google.pubsub.v1.Compression.CompressionMode|null); } /** Represents a Compression. */ class Compression implements ICompression { /** * Constructs a new Compression. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.ICompression); /** Compression compressionAlgorithm. */ public compressionAlgorithm: (google.pubsub.v1.Compression.CompressionAlgorithm|keyof typeof google.pubsub.v1.Compression.CompressionAlgorithm); /** Compression compressionMode. */ public compressionMode: (google.pubsub.v1.Compression.CompressionMode|keyof typeof google.pubsub.v1.Compression.CompressionMode); /** * Creates a new Compression instance using the specified properties. * @param [properties] Properties to set * @returns Compression instance */ public static create(properties?: google.pubsub.v1.ICompression): google.pubsub.v1.Compression; /** * Encodes the specified Compression message. Does not implicitly {@link google.pubsub.v1.Compression.verify|verify} messages. * @param message Compression message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.ICompression, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Compression message, length delimited. Does not implicitly {@link google.pubsub.v1.Compression.verify|verify} messages. * @param message Compression message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.ICompression, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Compression message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Compression * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.Compression; /** * Decodes a Compression message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Compression * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.Compression; /** * Verifies a Compression message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Compression message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Compression */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.Compression; /** * Creates a plain object from a Compression message. Also converts values to other types if specified. * @param message Compression * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.Compression, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Compression to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Compression * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Compression { /** CompressionAlgorithm enum. */ enum CompressionAlgorithm { COMPRESSION_ALGORITHM_UNSPECIFIED = 0, ZLIB = 1 } /** CompressionMode enum. */ enum CompressionMode { COMPRESSION_MODE_UNSPECIFIED = 0, COMPRESS = 1, DECOMPRESS = 2 } } /** Properties of a AIInference. */ interface IAIInference { /** AIInference endpoint */ endpoint?: (string|null); /** AIInference unstructuredInference */ unstructuredInference?: (google.pubsub.v1.AIInference.IUnstructuredInference|null); /** AIInference serviceAccountEmail */ serviceAccountEmail?: (string|null); } /** Represents a AIInference. */ class AIInference implements IAIInference { /** * Constructs a new AIInference. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IAIInference); /** AIInference endpoint. */ public endpoint: string; /** AIInference unstructuredInference. */ public unstructuredInference?: (google.pubsub.v1.AIInference.IUnstructuredInference|null); /** AIInference serviceAccountEmail. */ public serviceAccountEmail: string; /** AIInference inferenceMode. */ public inferenceMode?: "unstructuredInference"; /** * Creates a new AIInference instance using the specified properties. * @param [properties] Properties to set * @returns AIInference instance */ public static create(properties?: google.pubsub.v1.IAIInference): google.pubsub.v1.AIInference; /** * Encodes the specified AIInference message. Does not implicitly {@link google.pubsub.v1.AIInference.verify|verify} messages. * @param message AIInference message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IAIInference, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIInference message, length delimited. Does not implicitly {@link google.pubsub.v1.AIInference.verify|verify} messages. * @param message AIInference message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IAIInference, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIInference message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIInference * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.AIInference; /** * Decodes a AIInference message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIInference * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.AIInference; /** * Verifies a AIInference message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIInference message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIInference */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.AIInference; /** * Creates a plain object from a AIInference message. Also converts values to other types if specified. * @param message AIInference * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.AIInference, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIInference to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIInference * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AIInference { /** Properties of an UnstructuredInference. */ interface IUnstructuredInference { /** UnstructuredInference parameters */ parameters?: (google.protobuf.IStruct|null); } /** Represents an UnstructuredInference. */ class UnstructuredInference implements IUnstructuredInference { /** * Constructs a new UnstructuredInference. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.AIInference.IUnstructuredInference); /** UnstructuredInference parameters. */ public parameters?: (google.protobuf.IStruct|null); /** * Creates a new UnstructuredInference instance using the specified properties. * @param [properties] Properties to set * @returns UnstructuredInference instance */ public static create(properties?: google.pubsub.v1.AIInference.IUnstructuredInference): google.pubsub.v1.AIInference.UnstructuredInference; /** * Encodes the specified UnstructuredInference message. Does not implicitly {@link google.pubsub.v1.AIInference.UnstructuredInference.verify|verify} messages. * @param message UnstructuredInference message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.AIInference.IUnstructuredInference, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UnstructuredInference message, length delimited. Does not implicitly {@link google.pubsub.v1.AIInference.UnstructuredInference.verify|verify} messages. * @param message UnstructuredInference message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.AIInference.IUnstructuredInference, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UnstructuredInference message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UnstructuredInference * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.AIInference.UnstructuredInference; /** * Decodes an UnstructuredInference message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UnstructuredInference * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.AIInference.UnstructuredInference; /** * Verifies an UnstructuredInference message. * @param message Plain 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 UnstructuredInference message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UnstructuredInference */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.AIInference.UnstructuredInference; /** * Creates a plain object from an UnstructuredInference message. Also converts values to other types if specified. * @param message UnstructuredInference * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.AIInference.UnstructuredInference, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UnstructuredInference to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UnstructuredInference * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a MessageTransform. */ interface IMessageTransform { /** MessageTransform javascriptUdf */ javascriptUdf?: (google.pubsub.v1.IJavaScriptUDF|null); /** MessageTransform compression */ compression?: (google.pubsub.v1.ICompression|null); /** MessageTransform aiInference */ aiInference?: (google.pubsub.v1.IAIInference|null); /** MessageTransform enabled */ enabled?: (boolean|null); /** MessageTransform disabled */ disabled?: (boolean|null); } /** Represents a MessageTransform. */ class MessageTransform implements IMessageTransform { /** * Constructs a new MessageTransform. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IMessageTransform); /** MessageTransform javascriptUdf. */ public javascriptUdf?: (google.pubsub.v1.IJavaScriptUDF|null); /** MessageTransform compression. */ public compression?: (google.pubsub.v1.ICompression|null); /** MessageTransform aiInference. */ public aiInference?: (google.pubsub.v1.IAIInference|null); /** MessageTransform enabled. */ public enabled: boolean; /** MessageTransform disabled. */ public disabled: boolean; /** MessageTransform transform. */ public transform?: ("javascriptUdf"|"compression"|"aiInference"); /** * Creates a new MessageTransform instance using the specified properties. * @param [properties] Properties to set * @returns MessageTransform instance */ public static create(properties?: google.pubsub.v1.IMessageTransform): google.pubsub.v1.MessageTransform; /** * Encodes the specified MessageTransform message. Does not implicitly {@link google.pubsub.v1.MessageTransform.verify|verify} messages. * @param message MessageTransform message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IMessageTransform, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MessageTransform message, length delimited. Does not implicitly {@link google.pubsub.v1.MessageTransform.verify|verify} messages. * @param message MessageTransform message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IMessageTransform, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MessageTransform message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MessageTransform * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.MessageTransform; /** * Decodes a MessageTransform message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MessageTransform * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.MessageTransform; /** * Verifies a MessageTransform message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MessageTransform message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MessageTransform */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.MessageTransform; /** * Creates a plain object from a MessageTransform message. Also converts values to other types if specified. * @param message MessageTransform * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.MessageTransform, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MessageTransform to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MessageTransform * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Topic. */ interface ITopic { /** Topic name */ name?: (string|null); /** Topic labels */ labels?: ({ [k: string]: string }|null); /** Topic messageStoragePolicy */ messageStoragePolicy?: (google.pubsub.v1.IMessageStoragePolicy|null); /** Topic kmsKeyName */ kmsKeyName?: (string|null); /** Topic schemaSettings */ schemaSettings?: (google.pubsub.v1.ISchemaSettings|null); /** Topic satisfiesPzs */ satisfiesPzs?: (boolean|null); /** Topic messageRetentionDuration */ messageRetentionDuration?: (google.protobuf.IDuration|null); /** Topic state */ state?: (google.pubsub.v1.Topic.State|keyof typeof google.pubsub.v1.Topic.State|null); /** Topic ingestionDataSourceSettings */ ingestionDataSourceSettings?: (google.pubsub.v1.IIngestionDataSourceSettings|null); /** Topic messageTransforms */ messageTransforms?: (google.pubsub.v1.IMessageTransform[]|null); /** Topic tags */ tags?: ({ [k: string]: string }|null); } /** Represents a Topic. */ class Topic implements ITopic { /** * Constructs a new Topic. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.ITopic); /** Topic name. */ public name: string; /** Topic labels. */ public labels: { [k: string]: string }; /** Topic messageStoragePolicy. */ public messageStoragePolicy?: (google.pubsub.v1.IMessageStoragePolicy|null); /** Topic kmsKeyName. */ public kmsKeyName: string; /** Topic schemaSettings. */ public schemaSettings?: (google.pubsub.v1.ISchemaSettings|null); /** Topic satisfiesPzs. */ public satisfiesPzs: boolean; /** Topic messageRetentionDuration. */ public messageRetentionDuration?: (google.protobuf.IDuration|null); /** Topic state. */ public state: (google.pubsub.v1.Topic.State|keyof typeof google.pubsub.v1.Topic.State); /** Topic ingestionDataSourceSettings. */ public ingestionDataSourceSettings?: (google.pubsub.v1.IIngestionDataSourceSettings|null); /** Topic messageTransforms. */ public messageTransforms: google.pubsub.v1.IMessageTransform[]; /** Topic tags. */ public tags: { [k: string]: string }; /** * Creates a new Topic instance using the specified properties. * @param [properties] Properties to set * @returns Topic instance */ public static create(properties?: google.pubsub.v1.ITopic): google.pubsub.v1.Topic; /** * Encodes the specified Topic message. Does not implicitly {@link google.pubsub.v1.Topic.verify|verify} messages. * @param message Topic message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.ITopic, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Topic message, length delimited. Does not implicitly {@link google.pubsub.v1.Topic.verify|verify} messages. * @param message Topic message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.ITopic, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Topic message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Topic * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.Topic; /** * Decodes a Topic message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Topic * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.Topic; /** * Verifies a Topic message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Topic message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Topic */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.Topic; /** * Creates a plain object from a Topic message. Also converts values to other types if specified. * @param message Topic * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.Topic, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Topic to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Topic * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Topic { /** State enum. */ enum State { STATE_UNSPECIFIED = 0, ACTIVE = 1, INGESTION_RESOURCE_ERROR = 2 } } /** Properties of a PubsubMessage. */ interface IPubsubMessage { /** PubsubMessage data */ data?: (Uint8Array|Buffer|string|null); /** PubsubMessage attributes */ attributes?: ({ [k: string]: string }|null); /** PubsubMessage messageId */ messageId?: (string|null); /** PubsubMessage publishTime */ publishTime?: (google.protobuf.ITimestamp|null); /** PubsubMessage orderingKey */ orderingKey?: (string|null); } /** Represents a PubsubMessage. */ class PubsubMessage implements IPubsubMessage { /** * Constructs a new PubsubMessage. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IPubsubMessage); /** PubsubMessage data. */ public data: (Uint8Array|Buffer|string); /** PubsubMessage attributes. */ public attributes: { [k: string]: string }; /** PubsubMessage messageId. */ public messageId: string; /** PubsubMessage publishTime. */ public publishTime?: (google.protobuf.ITimestamp|null); /** PubsubMessage orderingKey. */ public orderingKey: string; /** * Creates a new PubsubMessage instance using the specified properties. * @param [properties] Properties to set * @returns PubsubMessage instance */ public static create(properties?: google.pubsub.v1.IPubsubMessage): google.pubsub.v1.PubsubMessage; /** * Encodes the specified PubsubMessage message. Does not implicitly {@link google.pubsub.v1.PubsubMessage.verify|verify} messages. * @param message PubsubMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IPubsubMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PubsubMessage message, length delimited. Does not implicitly {@link google.pubsub.v1.PubsubMessage.verify|verify} messages. * @param message PubsubMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IPubsubMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PubsubMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PubsubMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.PubsubMessage; /** * Decodes a PubsubMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PubsubMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.PubsubMessage; /** * Verifies a PubsubMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PubsubMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PubsubMessage */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.PubsubMessage; /** * Creates a plain object from a PubsubMessage message. Also converts values to other types if specified. * @param message PubsubMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.PubsubMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PubsubMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PubsubMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetTopicRequest. */ interface IGetTopicRequest { /** GetTopicRequest topic */ topic?: (string|null); } /** Represents a GetTopicRequest. */ class GetTopicRequest implements IGetTopicRequest { /** * Constructs a new GetTopicRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IGetTopicRequest); /** GetTopicRequest topic. */ public topic: string; /** * Creates a new GetTopicRequest instance using the specified properties. * @param [properties] Properties to set * @returns GetTopicRequest instance */ public static create(properties?: google.pubsub.v1.IGetTopicRequest): google.pubsub.v1.GetTopicRequest; /** * Encodes the specified GetTopicRequest message. Does not implicitly {@link google.pubsub.v1.GetTopicRequest.verify|verify} messages. * @param message GetTopicRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IGetTopicRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetTopicRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.GetTopicRequest.verify|verify} messages. * @param message GetTopicRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IGetTopicRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetTopicRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetTopicRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.GetTopicRequest; /** * Decodes a GetTopicRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetTopicRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.GetTopicRequest; /** * Verifies a GetTopicRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetTopicRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetTopicRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.GetTopicRequest; /** * Creates a plain object from a GetTopicRequest message. Also converts values to other types if specified. * @param message GetTopicRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.GetTopicRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetTopicRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GetTopicRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateTopicRequest. */ interface IUpdateTopicRequest { /** UpdateTopicRequest topic */ topic?: (google.pubsub.v1.ITopic|null); /** UpdateTopicRequest updateMask */ updateMask?: (google.protobuf.IFieldMask|null); } /** Represents an UpdateTopicRequest. */ class UpdateTopicRequest implements IUpdateTopicRequest { /** * Constructs a new UpdateTopicRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IUpdateTopicRequest); /** UpdateTopicRequest topic. */ public topic?: (google.pubsub.v1.ITopic|null); /** UpdateTopicRequest updateMask. */ public updateMask?: (google.protobuf.IFieldMask|null); /** * Creates a new UpdateTopicRequest instance using the specified properties. * @param [properties] Properties to set * @returns UpdateTopicRequest instance */ public static create(properties?: google.pubsub.v1.IUpdateTopicRequest): google.pubsub.v1.UpdateTopicRequest; /** * Encodes the specified UpdateTopicRequest message. Does not implicitly {@link google.pubsub.v1.UpdateTopicRequest.verify|verify} messages. * @param message UpdateTopicRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IUpdateTopicRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UpdateTopicRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.UpdateTopicRequest.verify|verify} messages. * @param message UpdateTopicRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IUpdateTopicRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UpdateTopicRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UpdateTopicRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.UpdateTopicRequest; /** * Decodes an UpdateTopicRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UpdateTopicRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.UpdateTopicRequest; /** * Verifies an UpdateTopicRequest message. * @param message Plain 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 UpdateTopicRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UpdateTopicRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.UpdateTopicRequest; /** * Creates a plain object from an UpdateTopicRequest message. Also converts values to other types if specified. * @param message UpdateTopicRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.UpdateTopicRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UpdateTopicRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UpdateTopicRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PublishRequest. */ interface IPublishRequest { /** PublishRequest topic */ topic?: (string|null); /** PublishRequest messages */ messages?: (google.pubsub.v1.IPubsubMessage[]|null); } /** Represents a PublishRequest. */ class PublishRequest implements IPublishRequest { /** * Constructs a new PublishRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IPublishRequest); /** PublishRequest topic. */ public topic: string; /** PublishRequest messages. */ public messages: google.pubsub.v1.IPubsubMessage[]; /** * Creates a new PublishRequest instance using the specified properties. * @param [properties] Properties to set * @returns PublishRequest instance */ public static create(properties?: google.pubsub.v1.IPublishRequest): google.pubsub.v1.PublishRequest; /** * Encodes the specified PublishRequest message. Does not implicitly {@link google.pubsub.v1.PublishRequest.verify|verify} messages. * @param message PublishRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IPublishRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PublishRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.PublishRequest.verify|verify} messages. * @param message PublishRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IPublishRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PublishRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PublishRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.PublishRequest; /** * Decodes a PublishRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PublishRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.PublishRequest; /** * Verifies a PublishRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PublishRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PublishRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.PublishRequest; /** * Creates a plain object from a PublishRequest message. Also converts values to other types if specified. * @param message PublishRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.PublishRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PublishRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PublishRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PublishResponse. */ interface IPublishResponse { /** PublishResponse messageIds */ messageIds?: (string[]|null); } /** Represents a PublishResponse. */ class PublishResponse implements IPublishResponse { /** * Constructs a new PublishResponse. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IPublishResponse); /** PublishResponse messageIds. */ public messageIds: string[]; /** * Creates a new PublishResponse instance using the specified properties. * @param [properties] Properties to set * @returns PublishResponse instance */ public static create(properties?: google.pubsub.v1.IPublishResponse): google.pubsub.v1.PublishResponse; /** * Encodes the specified PublishResponse message. Does not implicitly {@link google.pubsub.v1.PublishResponse.verify|verify} messages. * @param message PublishResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IPublishResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PublishResponse message, length delimited. Does not implicitly {@link google.pubsub.v1.PublishResponse.verify|verify} messages. * @param message PublishResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IPublishResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PublishResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PublishResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.PublishResponse; /** * Decodes a PublishResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PublishResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.PublishResponse; /** * Verifies a PublishResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PublishResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PublishResponse */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.PublishResponse; /** * Creates a plain object from a PublishResponse message. Also converts values to other types if specified. * @param message PublishResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.PublishResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PublishResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PublishResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListTopicsRequest. */ interface IListTopicsRequest { /** ListTopicsRequest project */ project?: (string|null); /** ListTopicsRequest pageSize */ pageSize?: (number|null); /** ListTopicsRequest pageToken */ pageToken?: (string|null); } /** Represents a ListTopicsRequest. */ class ListTopicsRequest implements IListTopicsRequest { /** * Constructs a new ListTopicsRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IListTopicsRequest); /** ListTopicsRequest project. */ public project: string; /** ListTopicsRequest pageSize. */ public pageSize: number; /** ListTopicsRequest pageToken. */ public pageToken: string; /** * Creates a new ListTopicsRequest instance using the specified properties. * @param [properties] Properties to set * @returns ListTopicsRequest instance */ public static create(properties?: google.pubsub.v1.IListTopicsRequest): google.pubsub.v1.ListTopicsRequest; /** * Encodes the specified ListTopicsRequest message. Does not implicitly {@link google.pubsub.v1.ListTopicsRequest.verify|verify} messages. * @param message ListTopicsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IListTopicsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListTopicsRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.ListTopicsRequest.verify|verify} messages. * @param message ListTopicsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IListTopicsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListTopicsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListTopicsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ListTopicsRequest; /** * Decodes a ListTopicsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListTopicsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ListTopicsRequest; /** * Verifies a ListTopicsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListTopicsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListTopicsRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ListTopicsRequest; /** * Creates a plain object from a ListTopicsRequest message. Also converts values to other types if specified. * @param message ListTopicsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.ListTopicsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListTopicsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListTopicsRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListTopicsResponse. */ interface IListTopicsResponse { /** ListTopicsResponse topics */ topics?: (google.pubsub.v1.ITopic[]|null); /** ListTopicsResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents a ListTopicsResponse. */ class ListTopicsResponse implements IListTopicsResponse { /** * Constructs a new ListTopicsResponse. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IListTopicsResponse); /** ListTopicsResponse topics. */ public topics: google.pubsub.v1.ITopic[]; /** ListTopicsResponse nextPageToken. */ public nextPageToken: string; /** * Creates a new ListTopicsResponse instance using the specified properties. * @param [properties] Properties to set * @returns ListTopicsResponse instance */ public static create(properties?: google.pubsub.v1.IListTopicsResponse): google.pubsub.v1.ListTopicsResponse; /** * Encodes the specified ListTopicsResponse message. Does not implicitly {@link google.pubsub.v1.ListTopicsResponse.verify|verify} messages. * @param message ListTopicsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IListTopicsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListTopicsResponse message, length delimited. Does not implicitly {@link google.pubsub.v1.ListTopicsResponse.verify|verify} messages. * @param message ListTopicsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IListTopicsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListTopicsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListTopicsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ListTopicsResponse; /** * Decodes a ListTopicsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListTopicsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ListTopicsResponse; /** * Verifies a ListTopicsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListTopicsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListTopicsResponse */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ListTopicsResponse; /** * Creates a plain object from a ListTopicsResponse message. Also converts values to other types if specified. * @param message ListTopicsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.ListTopicsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListTopicsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListTopicsResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListTopicSubscriptionsRequest. */ interface IListTopicSubscriptionsRequest { /** ListTopicSubscriptionsRequest topic */ topic?: (string|null); /** ListTopicSubscriptionsRequest pageSize */ pageSize?: (number|null); /** ListTopicSubscriptionsRequest pageToken */ pageToken?: (string|null); } /** Represents a ListTopicSubscriptionsRequest. */ class ListTopicSubscriptionsRequest implements IListTopicSubscriptionsRequest { /** * Constructs a new ListTopicSubscriptionsRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IListTopicSubscriptionsRequest); /** ListTopicSubscriptionsRequest topic. */ public topic: string; /** ListTopicSubscriptionsRequest pageSize. */ public pageSize: number; /** ListTopicSubscriptionsRequest pageToken. */ public pageToken: string; /** * Creates a new ListTopicSubscriptionsRequest instance using the specified properties. * @param [properties] Properties to set * @returns ListTopicSubscriptionsRequest instance */ public static create(properties?: google.pubsub.v1.IListTopicSubscriptionsRequest): google.pubsub.v1.ListTopicSubscriptionsRequest; /** * Encodes the specified ListTopicSubscriptionsRequest message. Does not implicitly {@link google.pubsub.v1.ListTopicSubscriptionsRequest.verify|verify} messages. * @param message ListTopicSubscriptionsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IListTopicSubscriptionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListTopicSubscriptionsRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.ListTopicSubscriptionsRequest.verify|verify} messages. * @param message ListTopicSubscriptionsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IListTopicSubscriptionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListTopicSubscriptionsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListTopicSubscriptionsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ListTopicSubscriptionsRequest; /** * Decodes a ListTopicSubscriptionsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListTopicSubscriptionsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ListTopicSubscriptionsRequest; /** * Verifies a ListTopicSubscriptionsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListTopicSubscriptionsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListTopicSubscriptionsRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ListTopicSubscriptionsRequest; /** * Creates a plain object from a ListTopicSubscriptionsRequest message. Also converts values to other types if specified. * @param message ListTopicSubscriptionsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.ListTopicSubscriptionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListTopicSubscriptionsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListTopicSubscriptionsRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListTopicSubscriptionsResponse. */ interface IListTopicSubscriptionsResponse { /** ListTopicSubscriptionsResponse subscriptions */ subscriptions?: (string[]|null); /** ListTopicSubscriptionsResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents a ListTopicSubscriptionsResponse. */ class ListTopicSubscriptionsResponse implements IListTopicSubscriptionsResponse { /** * Constructs a new ListTopicSubscriptionsResponse. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IListTopicSubscriptionsResponse); /** ListTopicSubscriptionsResponse subscriptions. */ public subscriptions: string[]; /** ListTopicSubscriptionsResponse nextPageToken. */ public nextPageToken: string; /** * Creates a new ListTopicSubscriptionsResponse instance using the specified properties. * @param [properties] Properties to set * @returns ListTopicSubscriptionsResponse instance */ public static create(properties?: google.pubsub.v1.IListTopicSubscriptionsResponse): google.pubsub.v1.ListTopicSubscriptionsResponse; /** * Encodes the specified ListTopicSubscriptionsResponse message. Does not implicitly {@link google.pubsub.v1.ListTopicSubscriptionsResponse.verify|verify} messages. * @param message ListTopicSubscriptionsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IListTopicSubscriptionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListTopicSubscriptionsResponse message, length delimited. Does not implicitly {@link google.pubsub.v1.ListTopicSubscriptionsResponse.verify|verify} messages. * @param message ListTopicSubscriptionsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IListTopicSubscriptionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListTopicSubscriptionsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListTopicSubscriptionsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ListTopicSubscriptionsResponse; /** * Decodes a ListTopicSubscriptionsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListTopicSubscriptionsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ListTopicSubscriptionsResponse; /** * Verifies a ListTopicSubscriptionsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListTopicSubscriptionsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListTopicSubscriptionsResponse */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ListTopicSubscriptionsResponse; /** * Creates a plain object from a ListTopicSubscriptionsResponse message. Also converts values to other types if specified. * @param message ListTopicSubscriptionsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.ListTopicSubscriptionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListTopicSubscriptionsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListTopicSubscriptionsResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListTopicSnapshotsRequest. */ interface IListTopicSnapshotsRequest { /** ListTopicSnapshotsRequest topic */ topic?: (string|null); /** ListTopicSnapshotsRequest pageSize */ pageSize?: (number|null); /** ListTopicSnapshotsRequest pageToken */ pageToken?: (string|null); } /** Represents a ListTopicSnapshotsRequest. */ class ListTopicSnapshotsRequest implements IListTopicSnapshotsRequest { /** * Constructs a new ListTopicSnapshotsRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IListTopicSnapshotsRequest); /** ListTopicSnapshotsRequest topic. */ public topic: string; /** ListTopicSnapshotsRequest pageSize. */ public pageSize: number; /** ListTopicSnapshotsRequest pageToken. */ public pageToken: string; /** * Creates a new ListTopicSnapshotsRequest instance using the specified properties. * @param [properties] Properties to set * @returns ListTopicSnapshotsRequest instance */ public static create(properties?: google.pubsub.v1.IListTopicSnapshotsRequest): google.pubsub.v1.ListTopicSnapshotsRequest; /** * Encodes the specified ListTopicSnapshotsRequest message. Does not implicitly {@link google.pubsub.v1.ListTopicSnapshotsRequest.verify|verify} messages. * @param message ListTopicSnapshotsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IListTopicSnapshotsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListTopicSnapshotsRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.ListTopicSnapshotsRequest.verify|verify} messages. * @param message ListTopicSnapshotsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IListTopicSnapshotsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListTopicSnapshotsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListTopicSnapshotsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ListTopicSnapshotsRequest; /** * Decodes a ListTopicSnapshotsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListTopicSnapshotsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ListTopicSnapshotsRequest; /** * Verifies a ListTopicSnapshotsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListTopicSnapshotsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListTopicSnapshotsRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ListTopicSnapshotsRequest; /** * Creates a plain object from a ListTopicSnapshotsRequest message. Also converts values to other types if specified. * @param message ListTopicSnapshotsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.ListTopicSnapshotsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListTopicSnapshotsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListTopicSnapshotsRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListTopicSnapshotsResponse. */ interface IListTopicSnapshotsResponse { /** ListTopicSnapshotsResponse snapshots */ snapshots?: (string[]|null); /** ListTopicSnapshotsResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents a ListTopicSnapshotsResponse. */ class ListTopicSnapshotsResponse implements IListTopicSnapshotsResponse { /** * Constructs a new ListTopicSnapshotsResponse. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IListTopicSnapshotsResponse); /** ListTopicSnapshotsResponse snapshots. */ public snapshots: string[]; /** ListTopicSnapshotsResponse nextPageToken. */ public nextPageToken: string; /** * Creates a new ListTopicSnapshotsResponse instance using the specified properties. * @param [properties] Properties to set * @returns ListTopicSnapshotsResponse instance */ public static create(properties?: google.pubsub.v1.IListTopicSnapshotsResponse): google.pubsub.v1.ListTopicSnapshotsResponse; /** * Encodes the specified ListTopicSnapshotsResponse message. Does not implicitly {@link google.pubsub.v1.ListTopicSnapshotsResponse.verify|verify} messages. * @param message ListTopicSnapshotsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IListTopicSnapshotsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListTopicSnapshotsResponse message, length delimited. Does not implicitly {@link google.pubsub.v1.ListTopicSnapshotsResponse.verify|verify} messages. * @param message ListTopicSnapshotsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IListTopicSnapshotsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListTopicSnapshotsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListTopicSnapshotsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ListTopicSnapshotsResponse; /** * Decodes a ListTopicSnapshotsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListTopicSnapshotsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ListTopicSnapshotsResponse; /** * Verifies a ListTopicSnapshotsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListTopicSnapshotsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListTopicSnapshotsResponse */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ListTopicSnapshotsResponse; /** * Creates a plain object from a ListTopicSnapshotsResponse message. Also converts values to other types if specified. * @param message ListTopicSnapshotsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.ListTopicSnapshotsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListTopicSnapshotsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListTopicSnapshotsResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteTopicRequest. */ interface IDeleteTopicRequest { /** DeleteTopicRequest topic */ topic?: (string|null); } /** Represents a DeleteTopicRequest. */ class DeleteTopicRequest implements IDeleteTopicRequest { /** * Constructs a new DeleteTopicRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IDeleteTopicRequest); /** DeleteTopicRequest topic. */ public topic: string; /** * Creates a new DeleteTopicRequest instance using the specified properties. * @param [properties] Properties to set * @returns DeleteTopicRequest instance */ public static create(properties?: google.pubsub.v1.IDeleteTopicRequest): google.pubsub.v1.DeleteTopicRequest; /** * Encodes the specified DeleteTopicRequest message. Does not implicitly {@link google.pubsub.v1.DeleteTopicRequest.verify|verify} messages. * @param message DeleteTopicRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IDeleteTopicRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteTopicRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.DeleteTopicRequest.verify|verify} messages. * @param message DeleteTopicRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IDeleteTopicRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteTopicRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteTopicRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.DeleteTopicRequest; /** * Decodes a DeleteTopicRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteTopicRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.DeleteTopicRequest; /** * Verifies a DeleteTopicRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeleteTopicRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteTopicRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.DeleteTopicRequest; /** * Creates a plain object from a DeleteTopicRequest message. Also converts values to other types if specified. * @param message DeleteTopicRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.DeleteTopicRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteTopicRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeleteTopicRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DetachSubscriptionRequest. */ interface IDetachSubscriptionRequest { /** DetachSubscriptionRequest subscription */ subscription?: (string|null); } /** Represents a DetachSubscriptionRequest. */ class DetachSubscriptionRequest implements IDetachSubscriptionRequest { /** * Constructs a new DetachSubscriptionRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IDetachSubscriptionRequest); /** DetachSubscriptionRequest subscription. */ public subscription: string; /** * Creates a new DetachSubscriptionRequest instance using the specified properties. * @param [properties] Properties to set * @returns DetachSubscriptionRequest instance */ public static create(properties?: google.pubsub.v1.IDetachSubscriptionRequest): google.pubsub.v1.DetachSubscriptionRequest; /** * Encodes the specified DetachSubscriptionRequest message. Does not implicitly {@link google.pubsub.v1.DetachSubscriptionRequest.verify|verify} messages. * @param message DetachSubscriptionRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IDetachSubscriptionRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DetachSubscriptionRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.DetachSubscriptionRequest.verify|verify} messages. * @param message DetachSubscriptionRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IDetachSubscriptionRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DetachSubscriptionRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DetachSubscriptionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.DetachSubscriptionRequest; /** * Decodes a DetachSubscriptionRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DetachSubscriptionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.DetachSubscriptionRequest; /** * Verifies a DetachSubscriptionRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DetachSubscriptionRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DetachSubscriptionRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.DetachSubscriptionRequest; /** * Creates a plain object from a DetachSubscriptionRequest message. Also converts values to other types if specified. * @param message DetachSubscriptionRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.DetachSubscriptionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DetachSubscriptionRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DetachSubscriptionRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DetachSubscriptionResponse. */ interface IDetachSubscriptionResponse { } /** Represents a DetachSubscriptionResponse. */ class DetachSubscriptionResponse implements IDetachSubscriptionResponse { /** * Constructs a new DetachSubscriptionResponse. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IDetachSubscriptionResponse); /** * Creates a new DetachSubscriptionResponse instance using the specified properties. * @param [properties] Properties to set * @returns DetachSubscriptionResponse instance */ public static create(properties?: google.pubsub.v1.IDetachSubscriptionResponse): google.pubsub.v1.DetachSubscriptionResponse; /** * Encodes the specified DetachSubscriptionResponse message. Does not implicitly {@link google.pubsub.v1.DetachSubscriptionResponse.verify|verify} messages. * @param message DetachSubscriptionResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IDetachSubscriptionResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DetachSubscriptionResponse message, length delimited. Does not implicitly {@link google.pubsub.v1.DetachSubscriptionResponse.verify|verify} messages. * @param message DetachSubscriptionResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IDetachSubscriptionResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DetachSubscriptionResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DetachSubscriptionResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.DetachSubscriptionResponse; /** * Decodes a DetachSubscriptionResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DetachSubscriptionResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.DetachSubscriptionResponse; /** * Verifies a DetachSubscriptionResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DetachSubscriptionResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DetachSubscriptionResponse */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.DetachSubscriptionResponse; /** * Creates a plain object from a DetachSubscriptionResponse message. Also converts values to other types if specified. * @param message DetachSubscriptionResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.DetachSubscriptionResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DetachSubscriptionResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DetachSubscriptionResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents a Subscriber */ class Subscriber extends $protobuf.rpc.Service { /** * Constructs a new Subscriber service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Creates new Subscriber service using the specified rpc implementation. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited * @returns RPC service. Useful where requests and/or responses are streamed. */ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Subscriber; /** * Calls CreateSubscription. * @param request Subscription message or plain object * @param callback Node-style callback called with the error, if any, and Subscription */ public createSubscription(request: google.pubsub.v1.ISubscription, callback: google.pubsub.v1.Subscriber.CreateSubscriptionCallback): void; /** * Calls CreateSubscription. * @param request Subscription message or plain object * @returns Promise */ public createSubscription(request: google.pubsub.v1.ISubscription): Promise; /** * Calls GetSubscription. * @param request GetSubscriptionRequest message or plain object * @param callback Node-style callback called with the error, if any, and Subscription */ public getSubscription(request: google.pubsub.v1.IGetSubscriptionRequest, callback: google.pubsub.v1.Subscriber.GetSubscriptionCallback): void; /** * Calls GetSubscription. * @param request GetSubscriptionRequest message or plain object * @returns Promise */ public getSubscription(request: google.pubsub.v1.IGetSubscriptionRequest): Promise; /** * Calls UpdateSubscription. * @param request UpdateSubscriptionRequest message or plain object * @param callback Node-style callback called with the error, if any, and Subscription */ public updateSubscription(request: google.pubsub.v1.IUpdateSubscriptionRequest, callback: google.pubsub.v1.Subscriber.UpdateSubscriptionCallback): void; /** * Calls UpdateSubscription. * @param request UpdateSubscriptionRequest message or plain object * @returns Promise */ public updateSubscription(request: google.pubsub.v1.IUpdateSubscriptionRequest): Promise; /** * Calls ListSubscriptions. * @param request ListSubscriptionsRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListSubscriptionsResponse */ public listSubscriptions(request: google.pubsub.v1.IListSubscriptionsRequest, callback: google.pubsub.v1.Subscriber.ListSubscriptionsCallback): void; /** * Calls ListSubscriptions. * @param request ListSubscriptionsRequest message or plain object * @returns Promise */ public listSubscriptions(request: google.pubsub.v1.IListSubscriptionsRequest): Promise; /** * Calls DeleteSubscription. * @param request DeleteSubscriptionRequest message or plain object * @param callback Node-style callback called with the error, if any, and Empty */ public deleteSubscription(request: google.pubsub.v1.IDeleteSubscriptionRequest, callback: google.pubsub.v1.Subscriber.DeleteSubscriptionCallback): void; /** * Calls DeleteSubscription. * @param request DeleteSubscriptionRequest message or plain object * @returns Promise */ public deleteSubscription(request: google.pubsub.v1.IDeleteSubscriptionRequest): Promise; /** * Calls ModifyAckDeadline. * @param request ModifyAckDeadlineRequest message or plain object * @param callback Node-style callback called with the error, if any, and Empty */ public modifyAckDeadline(request: google.pubsub.v1.IModifyAckDeadlineRequest, callback: google.pubsub.v1.Subscriber.ModifyAckDeadlineCallback): void; /** * Calls ModifyAckDeadline. * @param request ModifyAckDeadlineRequest message or plain object * @returns Promise */ public modifyAckDeadline(request: google.pubsub.v1.IModifyAckDeadlineRequest): Promise; /** * Calls Acknowledge. * @param request AcknowledgeRequest message or plain object * @param callback Node-style callback called with the error, if any, and Empty */ public acknowledge(request: google.pubsub.v1.IAcknowledgeRequest, callback: google.pubsub.v1.Subscriber.AcknowledgeCallback): void; /** * Calls Acknowledge. * @param request AcknowledgeRequest message or plain object * @returns Promise */ public acknowledge(request: google.pubsub.v1.IAcknowledgeRequest): Promise; /** * Calls Pull. * @param request PullRequest message or plain object * @param callback Node-style callback called with the error, if any, and PullResponse */ public pull(request: google.pubsub.v1.IPullRequest, callback: google.pubsub.v1.Subscriber.PullCallback): void; /** * Calls Pull. * @param request PullRequest message or plain object * @returns Promise */ public pull(request: google.pubsub.v1.IPullRequest): Promise; /** * Calls StreamingPull. * @param request StreamingPullRequest message or plain object * @param callback Node-style callback called with the error, if any, and StreamingPullResponse */ public streamingPull(request: google.pubsub.v1.IStreamingPullRequest, callback: google.pubsub.v1.Subscriber.StreamingPullCallback): void; /** * Calls StreamingPull. * @param request StreamingPullRequest message or plain object * @returns Promise */ public streamingPull(request: google.pubsub.v1.IStreamingPullRequest): Promise; /** * Calls ModifyPushConfig. * @param request ModifyPushConfigRequest message or plain object * @param callback Node-style callback called with the error, if any, and Empty */ public modifyPushConfig(request: google.pubsub.v1.IModifyPushConfigRequest, callback: google.pubsub.v1.Subscriber.ModifyPushConfigCallback): void; /** * Calls ModifyPushConfig. * @param request ModifyPushConfigRequest message or plain object * @returns Promise */ public modifyPushConfig(request: google.pubsub.v1.IModifyPushConfigRequest): Promise; /** * Calls GetSnapshot. * @param request GetSnapshotRequest message or plain object * @param callback Node-style callback called with the error, if any, and Snapshot */ public getSnapshot(request: google.pubsub.v1.IGetSnapshotRequest, callback: google.pubsub.v1.Subscriber.GetSnapshotCallback): void; /** * Calls GetSnapshot. * @param request GetSnapshotRequest message or plain object * @returns Promise */ public getSnapshot(request: google.pubsub.v1.IGetSnapshotRequest): Promise; /** * Calls ListSnapshots. * @param request ListSnapshotsRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListSnapshotsResponse */ public listSnapshots(request: google.pubsub.v1.IListSnapshotsRequest, callback: google.pubsub.v1.Subscriber.ListSnapshotsCallback): void; /** * Calls ListSnapshots. * @param request ListSnapshotsRequest message or plain object * @returns Promise */ public listSnapshots(request: google.pubsub.v1.IListSnapshotsRequest): Promise; /** * Calls CreateSnapshot. * @param request CreateSnapshotRequest message or plain object * @param callback Node-style callback called with the error, if any, and Snapshot */ public createSnapshot(request: google.pubsub.v1.ICreateSnapshotRequest, callback: google.pubsub.v1.Subscriber.CreateSnapshotCallback): void; /** * Calls CreateSnapshot. * @param request CreateSnapshotRequest message or plain object * @returns Promise */ public createSnapshot(request: google.pubsub.v1.ICreateSnapshotRequest): Promise; /** * Calls UpdateSnapshot. * @param request UpdateSnapshotRequest message or plain object * @param callback Node-style callback called with the error, if any, and Snapshot */ public updateSnapshot(request: google.pubsub.v1.IUpdateSnapshotRequest, callback: google.pubsub.v1.Subscriber.UpdateSnapshotCallback): void; /** * Calls UpdateSnapshot. * @param request UpdateSnapshotRequest message or plain object * @returns Promise */ public updateSnapshot(request: google.pubsub.v1.IUpdateSnapshotRequest): Promise; /** * Calls DeleteSnapshot. * @param request DeleteSnapshotRequest message or plain object * @param callback Node-style callback called with the error, if any, and Empty */ public deleteSnapshot(request: google.pubsub.v1.IDeleteSnapshotRequest, callback: google.pubsub.v1.Subscriber.DeleteSnapshotCallback): void; /** * Calls DeleteSnapshot. * @param request DeleteSnapshotRequest message or plain object * @returns Promise */ public deleteSnapshot(request: google.pubsub.v1.IDeleteSnapshotRequest): Promise; /** * Calls Seek. * @param request SeekRequest message or plain object * @param callback Node-style callback called with the error, if any, and SeekResponse */ public seek(request: google.pubsub.v1.ISeekRequest, callback: google.pubsub.v1.Subscriber.SeekCallback): void; /** * Calls Seek. * @param request SeekRequest message or plain object * @returns Promise */ public seek(request: google.pubsub.v1.ISeekRequest): Promise; } namespace Subscriber { /** * Callback as used by {@link google.pubsub.v1.Subscriber|createSubscription}. * @param error Error, if any * @param [response] Subscription */ type CreateSubscriptionCallback = (error: (Error|null), response?: google.pubsub.v1.Subscription) => void; /** * Callback as used by {@link google.pubsub.v1.Subscriber|getSubscription}. * @param error Error, if any * @param [response] Subscription */ type GetSubscriptionCallback = (error: (Error|null), response?: google.pubsub.v1.Subscription) => void; /** * Callback as used by {@link google.pubsub.v1.Subscriber|updateSubscription}. * @param error Error, if any * @param [response] Subscription */ type UpdateSubscriptionCallback = (error: (Error|null), response?: google.pubsub.v1.Subscription) => void; /** * Callback as used by {@link google.pubsub.v1.Subscriber|listSubscriptions}. * @param error Error, if any * @param [response] ListSubscriptionsResponse */ type ListSubscriptionsCallback = (error: (Error|null), response?: google.pubsub.v1.ListSubscriptionsResponse) => void; /** * Callback as used by {@link google.pubsub.v1.Subscriber|deleteSubscription}. * @param error Error, if any * @param [response] Empty */ type DeleteSubscriptionCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** * Callback as used by {@link google.pubsub.v1.Subscriber|modifyAckDeadline}. * @param error Error, if any * @param [response] Empty */ type ModifyAckDeadlineCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** * Callback as used by {@link google.pubsub.v1.Subscriber|acknowledge}. * @param error Error, if any * @param [response] Empty */ type AcknowledgeCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** * Callback as used by {@link google.pubsub.v1.Subscriber|pull}. * @param error Error, if any * @param [response] PullResponse */ type PullCallback = (error: (Error|null), response?: google.pubsub.v1.PullResponse) => void; /** * Callback as used by {@link google.pubsub.v1.Subscriber|streamingPull}. * @param error Error, if any * @param [response] StreamingPullResponse */ type StreamingPullCallback = (error: (Error|null), response?: google.pubsub.v1.StreamingPullResponse) => void; /** * Callback as used by {@link google.pubsub.v1.Subscriber|modifyPushConfig}. * @param error Error, if any * @param [response] Empty */ type ModifyPushConfigCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** * Callback as used by {@link google.pubsub.v1.Subscriber|getSnapshot}. * @param error Error, if any * @param [response] Snapshot */ type GetSnapshotCallback = (error: (Error|null), response?: google.pubsub.v1.Snapshot) => void; /** * Callback as used by {@link google.pubsub.v1.Subscriber|listSnapshots}. * @param error Error, if any * @param [response] ListSnapshotsResponse */ type ListSnapshotsCallback = (error: (Error|null), response?: google.pubsub.v1.ListSnapshotsResponse) => void; /** * Callback as used by {@link google.pubsub.v1.Subscriber|createSnapshot}. * @param error Error, if any * @param [response] Snapshot */ type CreateSnapshotCallback = (error: (Error|null), response?: google.pubsub.v1.Snapshot) => void; /** * Callback as used by {@link google.pubsub.v1.Subscriber|updateSnapshot}. * @param error Error, if any * @param [response] Snapshot */ type UpdateSnapshotCallback = (error: (Error|null), response?: google.pubsub.v1.Snapshot) => void; /** * Callback as used by {@link google.pubsub.v1.Subscriber|deleteSnapshot}. * @param error Error, if any * @param [response] Empty */ type DeleteSnapshotCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** * Callback as used by {@link google.pubsub.v1.Subscriber|seek}. * @param error Error, if any * @param [response] SeekResponse */ type SeekCallback = (error: (Error|null), response?: google.pubsub.v1.SeekResponse) => void; } /** Properties of a Subscription. */ interface ISubscription { /** Subscription name */ name?: (string|null); /** Subscription topic */ topic?: (string|null); /** Subscription pushConfig */ pushConfig?: (google.pubsub.v1.IPushConfig|null); /** Subscription bigqueryConfig */ bigqueryConfig?: (google.pubsub.v1.IBigQueryConfig|null); /** Subscription cloudStorageConfig */ cloudStorageConfig?: (google.pubsub.v1.ICloudStorageConfig|null); /** Subscription bigtableConfig */ bigtableConfig?: (google.pubsub.v1.IBigtableConfig|null); /** Subscription ackDeadlineSeconds */ ackDeadlineSeconds?: (number|null); /** Subscription retainAckedMessages */ retainAckedMessages?: (boolean|null); /** Subscription messageRetentionDuration */ messageRetentionDuration?: (google.protobuf.IDuration|null); /** Subscription labels */ labels?: ({ [k: string]: string }|null); /** Subscription enableMessageOrdering */ enableMessageOrdering?: (boolean|null); /** Subscription expirationPolicy */ expirationPolicy?: (google.pubsub.v1.IExpirationPolicy|null); /** Subscription filter */ filter?: (string|null); /** Subscription deadLetterPolicy */ deadLetterPolicy?: (google.pubsub.v1.IDeadLetterPolicy|null); /** Subscription retryPolicy */ retryPolicy?: (google.pubsub.v1.IRetryPolicy|null); /** Subscription detached */ detached?: (boolean|null); /** Subscription enableExactlyOnceDelivery */ enableExactlyOnceDelivery?: (boolean|null); /** Subscription topicMessageRetentionDuration */ topicMessageRetentionDuration?: (google.protobuf.IDuration|null); /** Subscription state */ state?: (google.pubsub.v1.Subscription.State|keyof typeof google.pubsub.v1.Subscription.State|null); /** Subscription analyticsHubSubscriptionInfo */ analyticsHubSubscriptionInfo?: (google.pubsub.v1.Subscription.IAnalyticsHubSubscriptionInfo|null); /** Subscription messageTransforms */ messageTransforms?: (google.pubsub.v1.IMessageTransform[]|null); /** Subscription tags */ tags?: ({ [k: string]: string }|null); } /** Represents a Subscription. */ class Subscription implements ISubscription { /** * Constructs a new Subscription. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.ISubscription); /** Subscription name. */ public name: string; /** Subscription topic. */ public topic: string; /** Subscription pushConfig. */ public pushConfig?: (google.pubsub.v1.IPushConfig|null); /** Subscription bigqueryConfig. */ public bigqueryConfig?: (google.pubsub.v1.IBigQueryConfig|null); /** Subscription cloudStorageConfig. */ public cloudStorageConfig?: (google.pubsub.v1.ICloudStorageConfig|null); /** Subscription bigtableConfig. */ public bigtableConfig?: (google.pubsub.v1.IBigtableConfig|null); /** Subscription ackDeadlineSeconds. */ public ackDeadlineSeconds: number; /** Subscription retainAckedMessages. */ public retainAckedMessages: boolean; /** Subscription messageRetentionDuration. */ public messageRetentionDuration?: (google.protobuf.IDuration|null); /** Subscription labels. */ public labels: { [k: string]: string }; /** Subscription enableMessageOrdering. */ public enableMessageOrdering: boolean; /** Subscription expirationPolicy. */ public expirationPolicy?: (google.pubsub.v1.IExpirationPolicy|null); /** Subscription filter. */ public filter: string; /** Subscription deadLetterPolicy. */ public deadLetterPolicy?: (google.pubsub.v1.IDeadLetterPolicy|null); /** Subscription retryPolicy. */ public retryPolicy?: (google.pubsub.v1.IRetryPolicy|null); /** Subscription detached. */ public detached: boolean; /** Subscription enableExactlyOnceDelivery. */ public enableExactlyOnceDelivery: boolean; /** Subscription topicMessageRetentionDuration. */ public topicMessageRetentionDuration?: (google.protobuf.IDuration|null); /** Subscription state. */ public state: (google.pubsub.v1.Subscription.State|keyof typeof google.pubsub.v1.Subscription.State); /** Subscription analyticsHubSubscriptionInfo. */ public analyticsHubSubscriptionInfo?: (google.pubsub.v1.Subscription.IAnalyticsHubSubscriptionInfo|null); /** Subscription messageTransforms. */ public messageTransforms: google.pubsub.v1.IMessageTransform[]; /** Subscription tags. */ public tags: { [k: string]: string }; /** * Creates a new Subscription instance using the specified properties. * @param [properties] Properties to set * @returns Subscription instance */ public static create(properties?: google.pubsub.v1.ISubscription): google.pubsub.v1.Subscription; /** * Encodes the specified Subscription message. Does not implicitly {@link google.pubsub.v1.Subscription.verify|verify} messages. * @param message Subscription message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.ISubscription, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Subscription message, length delimited. Does not implicitly {@link google.pubsub.v1.Subscription.verify|verify} messages. * @param message Subscription message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.ISubscription, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Subscription message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Subscription * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.Subscription; /** * Decodes a Subscription message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Subscription * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.Subscription; /** * Verifies a Subscription message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Subscription message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Subscription */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.Subscription; /** * Creates a plain object from a Subscription message. Also converts values to other types if specified. * @param message Subscription * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.Subscription, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Subscription to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Subscription * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Subscription { /** State enum. */ enum State { STATE_UNSPECIFIED = 0, ACTIVE = 1, RESOURCE_ERROR = 2 } /** Properties of an AnalyticsHubSubscriptionInfo. */ interface IAnalyticsHubSubscriptionInfo { /** AnalyticsHubSubscriptionInfo listing */ listing?: (string|null); /** AnalyticsHubSubscriptionInfo subscription */ subscription?: (string|null); } /** Represents an AnalyticsHubSubscriptionInfo. */ class AnalyticsHubSubscriptionInfo implements IAnalyticsHubSubscriptionInfo { /** * Constructs a new AnalyticsHubSubscriptionInfo. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.Subscription.IAnalyticsHubSubscriptionInfo); /** AnalyticsHubSubscriptionInfo listing. */ public listing: string; /** AnalyticsHubSubscriptionInfo subscription. */ public subscription: string; /** * Creates a new AnalyticsHubSubscriptionInfo instance using the specified properties. * @param [properties] Properties to set * @returns AnalyticsHubSubscriptionInfo instance */ public static create(properties?: google.pubsub.v1.Subscription.IAnalyticsHubSubscriptionInfo): google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo; /** * Encodes the specified AnalyticsHubSubscriptionInfo message. Does not implicitly {@link google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo.verify|verify} messages. * @param message AnalyticsHubSubscriptionInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.Subscription.IAnalyticsHubSubscriptionInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AnalyticsHubSubscriptionInfo message, length delimited. Does not implicitly {@link google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo.verify|verify} messages. * @param message AnalyticsHubSubscriptionInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.Subscription.IAnalyticsHubSubscriptionInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AnalyticsHubSubscriptionInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AnalyticsHubSubscriptionInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo; /** * Decodes an AnalyticsHubSubscriptionInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AnalyticsHubSubscriptionInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo; /** * Verifies an AnalyticsHubSubscriptionInfo message. * @param message Plain 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 AnalyticsHubSubscriptionInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AnalyticsHubSubscriptionInfo */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo; /** * Creates a plain object from an AnalyticsHubSubscriptionInfo message. Also converts values to other types if specified. * @param message AnalyticsHubSubscriptionInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AnalyticsHubSubscriptionInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AnalyticsHubSubscriptionInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a RetryPolicy. */ interface IRetryPolicy { /** RetryPolicy minimumBackoff */ minimumBackoff?: (google.protobuf.IDuration|null); /** RetryPolicy maximumBackoff */ maximumBackoff?: (google.protobuf.IDuration|null); } /** Represents a RetryPolicy. */ class RetryPolicy implements IRetryPolicy { /** * Constructs a new RetryPolicy. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IRetryPolicy); /** RetryPolicy minimumBackoff. */ public minimumBackoff?: (google.protobuf.IDuration|null); /** RetryPolicy maximumBackoff. */ public maximumBackoff?: (google.protobuf.IDuration|null); /** * Creates a new RetryPolicy instance using the specified properties. * @param [properties] Properties to set * @returns RetryPolicy instance */ public static create(properties?: google.pubsub.v1.IRetryPolicy): google.pubsub.v1.RetryPolicy; /** * Encodes the specified RetryPolicy message. Does not implicitly {@link google.pubsub.v1.RetryPolicy.verify|verify} messages. * @param message RetryPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IRetryPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RetryPolicy message, length delimited. Does not implicitly {@link google.pubsub.v1.RetryPolicy.verify|verify} messages. * @param message RetryPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IRetryPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RetryPolicy message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RetryPolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.RetryPolicy; /** * Decodes a RetryPolicy message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RetryPolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.RetryPolicy; /** * Verifies a RetryPolicy message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RetryPolicy message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RetryPolicy */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.RetryPolicy; /** * Creates a plain object from a RetryPolicy message. Also converts values to other types if specified. * @param message RetryPolicy * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.RetryPolicy, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RetryPolicy to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RetryPolicy * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeadLetterPolicy. */ interface IDeadLetterPolicy { /** DeadLetterPolicy deadLetterTopic */ deadLetterTopic?: (string|null); /** DeadLetterPolicy maxDeliveryAttempts */ maxDeliveryAttempts?: (number|null); } /** Represents a DeadLetterPolicy. */ class DeadLetterPolicy implements IDeadLetterPolicy { /** * Constructs a new DeadLetterPolicy. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IDeadLetterPolicy); /** DeadLetterPolicy deadLetterTopic. */ public deadLetterTopic: string; /** DeadLetterPolicy maxDeliveryAttempts. */ public maxDeliveryAttempts: number; /** * Creates a new DeadLetterPolicy instance using the specified properties. * @param [properties] Properties to set * @returns DeadLetterPolicy instance */ public static create(properties?: google.pubsub.v1.IDeadLetterPolicy): google.pubsub.v1.DeadLetterPolicy; /** * Encodes the specified DeadLetterPolicy message. Does not implicitly {@link google.pubsub.v1.DeadLetterPolicy.verify|verify} messages. * @param message DeadLetterPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IDeadLetterPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeadLetterPolicy message, length delimited. Does not implicitly {@link google.pubsub.v1.DeadLetterPolicy.verify|verify} messages. * @param message DeadLetterPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IDeadLetterPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeadLetterPolicy message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeadLetterPolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.DeadLetterPolicy; /** * Decodes a DeadLetterPolicy message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeadLetterPolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.DeadLetterPolicy; /** * Verifies a DeadLetterPolicy message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeadLetterPolicy message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeadLetterPolicy */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.DeadLetterPolicy; /** * Creates a plain object from a DeadLetterPolicy message. Also converts values to other types if specified. * @param message DeadLetterPolicy * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.DeadLetterPolicy, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeadLetterPolicy to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeadLetterPolicy * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ExpirationPolicy. */ interface IExpirationPolicy { /** ExpirationPolicy ttl */ ttl?: (google.protobuf.IDuration|null); } /** Represents an ExpirationPolicy. */ class ExpirationPolicy implements IExpirationPolicy { /** * Constructs a new ExpirationPolicy. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IExpirationPolicy); /** ExpirationPolicy ttl. */ public ttl?: (google.protobuf.IDuration|null); /** * Creates a new ExpirationPolicy instance using the specified properties. * @param [properties] Properties to set * @returns ExpirationPolicy instance */ public static create(properties?: google.pubsub.v1.IExpirationPolicy): google.pubsub.v1.ExpirationPolicy; /** * Encodes the specified ExpirationPolicy message. Does not implicitly {@link google.pubsub.v1.ExpirationPolicy.verify|verify} messages. * @param message ExpirationPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IExpirationPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ExpirationPolicy message, length delimited. Does not implicitly {@link google.pubsub.v1.ExpirationPolicy.verify|verify} messages. * @param message ExpirationPolicy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IExpirationPolicy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ExpirationPolicy message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ExpirationPolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ExpirationPolicy; /** * Decodes an ExpirationPolicy message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ExpirationPolicy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ExpirationPolicy; /** * Verifies an ExpirationPolicy message. * @param message Plain 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 ExpirationPolicy message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExpirationPolicy */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ExpirationPolicy; /** * Creates a plain object from an ExpirationPolicy message. Also converts values to other types if specified. * @param message ExpirationPolicy * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.ExpirationPolicy, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExpirationPolicy to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ExpirationPolicy * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PushConfig. */ interface IPushConfig { /** PushConfig pushEndpoint */ pushEndpoint?: (string|null); /** PushConfig attributes */ attributes?: ({ [k: string]: string }|null); /** PushConfig oidcToken */ oidcToken?: (google.pubsub.v1.PushConfig.IOidcToken|null); /** PushConfig pubsubWrapper */ pubsubWrapper?: (google.pubsub.v1.PushConfig.IPubsubWrapper|null); /** PushConfig noWrapper */ noWrapper?: (google.pubsub.v1.PushConfig.INoWrapper|null); } /** Represents a PushConfig. */ class PushConfig implements IPushConfig { /** * Constructs a new PushConfig. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IPushConfig); /** PushConfig pushEndpoint. */ public pushEndpoint: string; /** PushConfig attributes. */ public attributes: { [k: string]: string }; /** PushConfig oidcToken. */ public oidcToken?: (google.pubsub.v1.PushConfig.IOidcToken|null); /** PushConfig pubsubWrapper. */ public pubsubWrapper?: (google.pubsub.v1.PushConfig.IPubsubWrapper|null); /** PushConfig noWrapper. */ public noWrapper?: (google.pubsub.v1.PushConfig.INoWrapper|null); /** PushConfig authenticationMethod. */ public authenticationMethod?: "oidcToken"; /** PushConfig wrapper. */ public wrapper?: ("pubsubWrapper"|"noWrapper"); /** * Creates a new PushConfig instance using the specified properties. * @param [properties] Properties to set * @returns PushConfig instance */ public static create(properties?: google.pubsub.v1.IPushConfig): google.pubsub.v1.PushConfig; /** * Encodes the specified PushConfig message. Does not implicitly {@link google.pubsub.v1.PushConfig.verify|verify} messages. * @param message PushConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IPushConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PushConfig message, length delimited. Does not implicitly {@link google.pubsub.v1.PushConfig.verify|verify} messages. * @param message PushConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IPushConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PushConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PushConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.PushConfig; /** * Decodes a PushConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PushConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.PushConfig; /** * Verifies a PushConfig message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PushConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PushConfig */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.PushConfig; /** * Creates a plain object from a PushConfig message. Also converts values to other types if specified. * @param message PushConfig * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.PushConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PushConfig to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PushConfig * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace PushConfig { /** Properties of an OidcToken. */ interface IOidcToken { /** OidcToken serviceAccountEmail */ serviceAccountEmail?: (string|null); /** OidcToken audience */ audience?: (string|null); } /** Represents an OidcToken. */ class OidcToken implements IOidcToken { /** * Constructs a new OidcToken. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.PushConfig.IOidcToken); /** OidcToken serviceAccountEmail. */ public serviceAccountEmail: string; /** OidcToken audience. */ public audience: string; /** * Creates a new OidcToken instance using the specified properties. * @param [properties] Properties to set * @returns OidcToken instance */ public static create(properties?: google.pubsub.v1.PushConfig.IOidcToken): google.pubsub.v1.PushConfig.OidcToken; /** * Encodes the specified OidcToken message. Does not implicitly {@link google.pubsub.v1.PushConfig.OidcToken.verify|verify} messages. * @param message OidcToken message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.PushConfig.IOidcToken, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified OidcToken message, length delimited. Does not implicitly {@link google.pubsub.v1.PushConfig.OidcToken.verify|verify} messages. * @param message OidcToken message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.PushConfig.IOidcToken, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an OidcToken message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns OidcToken * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.PushConfig.OidcToken; /** * Decodes an OidcToken message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns OidcToken * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.PushConfig.OidcToken; /** * Verifies an OidcToken message. * @param message Plain 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 OidcToken message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns OidcToken */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.PushConfig.OidcToken; /** * Creates a plain object from an OidcToken message. Also converts values to other types if specified. * @param message OidcToken * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.PushConfig.OidcToken, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this OidcToken to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for OidcToken * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PubsubWrapper. */ interface IPubsubWrapper { } /** Represents a PubsubWrapper. */ class PubsubWrapper implements IPubsubWrapper { /** * Constructs a new PubsubWrapper. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.PushConfig.IPubsubWrapper); /** * Creates a new PubsubWrapper instance using the specified properties. * @param [properties] Properties to set * @returns PubsubWrapper instance */ public static create(properties?: google.pubsub.v1.PushConfig.IPubsubWrapper): google.pubsub.v1.PushConfig.PubsubWrapper; /** * Encodes the specified PubsubWrapper message. Does not implicitly {@link google.pubsub.v1.PushConfig.PubsubWrapper.verify|verify} messages. * @param message PubsubWrapper message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.PushConfig.IPubsubWrapper, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PubsubWrapper message, length delimited. Does not implicitly {@link google.pubsub.v1.PushConfig.PubsubWrapper.verify|verify} messages. * @param message PubsubWrapper message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.PushConfig.IPubsubWrapper, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PubsubWrapper message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PubsubWrapper * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.PushConfig.PubsubWrapper; /** * Decodes a PubsubWrapper message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PubsubWrapper * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.PushConfig.PubsubWrapper; /** * Verifies a PubsubWrapper message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PubsubWrapper message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PubsubWrapper */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.PushConfig.PubsubWrapper; /** * Creates a plain object from a PubsubWrapper message. Also converts values to other types if specified. * @param message PubsubWrapper * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.PushConfig.PubsubWrapper, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PubsubWrapper to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PubsubWrapper * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a NoWrapper. */ interface INoWrapper { /** NoWrapper writeMetadata */ writeMetadata?: (boolean|null); } /** Represents a NoWrapper. */ class NoWrapper implements INoWrapper { /** * Constructs a new NoWrapper. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.PushConfig.INoWrapper); /** NoWrapper writeMetadata. */ public writeMetadata: boolean; /** * Creates a new NoWrapper instance using the specified properties. * @param [properties] Properties to set * @returns NoWrapper instance */ public static create(properties?: google.pubsub.v1.PushConfig.INoWrapper): google.pubsub.v1.PushConfig.NoWrapper; /** * Encodes the specified NoWrapper message. Does not implicitly {@link google.pubsub.v1.PushConfig.NoWrapper.verify|verify} messages. * @param message NoWrapper message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.PushConfig.INoWrapper, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified NoWrapper message, length delimited. Does not implicitly {@link google.pubsub.v1.PushConfig.NoWrapper.verify|verify} messages. * @param message NoWrapper message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.PushConfig.INoWrapper, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NoWrapper message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns NoWrapper * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.PushConfig.NoWrapper; /** * Decodes a NoWrapper message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns NoWrapper * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.PushConfig.NoWrapper; /** * Verifies a NoWrapper message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a NoWrapper message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NoWrapper */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.PushConfig.NoWrapper; /** * Creates a plain object from a NoWrapper message. Also converts values to other types if specified. * @param message NoWrapper * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.PushConfig.NoWrapper, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NoWrapper to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for NoWrapper * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a BigQueryConfig. */ interface IBigQueryConfig { /** BigQueryConfig table */ table?: (string|null); /** BigQueryConfig useTopicSchema */ useTopicSchema?: (boolean|null); /** BigQueryConfig writeMetadata */ writeMetadata?: (boolean|null); /** BigQueryConfig dropUnknownFields */ dropUnknownFields?: (boolean|null); /** BigQueryConfig state */ state?: (google.pubsub.v1.BigQueryConfig.State|keyof typeof google.pubsub.v1.BigQueryConfig.State|null); /** BigQueryConfig useTableSchema */ useTableSchema?: (boolean|null); /** BigQueryConfig serviceAccountEmail */ serviceAccountEmail?: (string|null); } /** Represents a BigQueryConfig. */ class BigQueryConfig implements IBigQueryConfig { /** * Constructs a new BigQueryConfig. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IBigQueryConfig); /** BigQueryConfig table. */ public table: string; /** BigQueryConfig useTopicSchema. */ public useTopicSchema: boolean; /** BigQueryConfig writeMetadata. */ public writeMetadata: boolean; /** BigQueryConfig dropUnknownFields. */ public dropUnknownFields: boolean; /** BigQueryConfig state. */ public state: (google.pubsub.v1.BigQueryConfig.State|keyof typeof google.pubsub.v1.BigQueryConfig.State); /** BigQueryConfig useTableSchema. */ public useTableSchema: boolean; /** BigQueryConfig serviceAccountEmail. */ public serviceAccountEmail: string; /** * Creates a new BigQueryConfig instance using the specified properties. * @param [properties] Properties to set * @returns BigQueryConfig instance */ public static create(properties?: google.pubsub.v1.IBigQueryConfig): google.pubsub.v1.BigQueryConfig; /** * Encodes the specified BigQueryConfig message. Does not implicitly {@link google.pubsub.v1.BigQueryConfig.verify|verify} messages. * @param message BigQueryConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IBigQueryConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BigQueryConfig message, length delimited. Does not implicitly {@link google.pubsub.v1.BigQueryConfig.verify|verify} messages. * @param message BigQueryConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IBigQueryConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BigQueryConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BigQueryConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.BigQueryConfig; /** * Decodes a BigQueryConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BigQueryConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.BigQueryConfig; /** * Verifies a BigQueryConfig message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BigQueryConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BigQueryConfig */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.BigQueryConfig; /** * Creates a plain object from a BigQueryConfig message. Also converts values to other types if specified. * @param message BigQueryConfig * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.BigQueryConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BigQueryConfig to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BigQueryConfig * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BigQueryConfig { /** State enum. */ enum State { STATE_UNSPECIFIED = 0, ACTIVE = 1, PERMISSION_DENIED = 2, NOT_FOUND = 3, SCHEMA_MISMATCH = 4, IN_TRANSIT_LOCATION_RESTRICTION = 5, VERTEX_AI_LOCATION_RESTRICTION = 6 } } /** Properties of a BigtableConfig. */ interface IBigtableConfig { /** BigtableConfig table */ table?: (string|null); /** BigtableConfig appProfileId */ appProfileId?: (string|null); /** BigtableConfig serviceAccountEmail */ serviceAccountEmail?: (string|null); /** BigtableConfig writeMetadata */ writeMetadata?: (boolean|null); /** BigtableConfig state */ state?: (google.pubsub.v1.BigtableConfig.State|keyof typeof google.pubsub.v1.BigtableConfig.State|null); } /** Represents a BigtableConfig. */ class BigtableConfig implements IBigtableConfig { /** * Constructs a new BigtableConfig. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IBigtableConfig); /** BigtableConfig table. */ public table: string; /** BigtableConfig appProfileId. */ public appProfileId: string; /** BigtableConfig serviceAccountEmail. */ public serviceAccountEmail: string; /** BigtableConfig writeMetadata. */ public writeMetadata: boolean; /** BigtableConfig state. */ public state: (google.pubsub.v1.BigtableConfig.State|keyof typeof google.pubsub.v1.BigtableConfig.State); /** * Creates a new BigtableConfig instance using the specified properties. * @param [properties] Properties to set * @returns BigtableConfig instance */ public static create(properties?: google.pubsub.v1.IBigtableConfig): google.pubsub.v1.BigtableConfig; /** * Encodes the specified BigtableConfig message. Does not implicitly {@link google.pubsub.v1.BigtableConfig.verify|verify} messages. * @param message BigtableConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IBigtableConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BigtableConfig message, length delimited. Does not implicitly {@link google.pubsub.v1.BigtableConfig.verify|verify} messages. * @param message BigtableConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IBigtableConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BigtableConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BigtableConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.BigtableConfig; /** * Decodes a BigtableConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BigtableConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.BigtableConfig; /** * Verifies a BigtableConfig message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BigtableConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BigtableConfig */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.BigtableConfig; /** * Creates a plain object from a BigtableConfig message. Also converts values to other types if specified. * @param message BigtableConfig * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.BigtableConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BigtableConfig to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BigtableConfig * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BigtableConfig { /** State enum. */ enum State { STATE_UNSPECIFIED = 0, ACTIVE = 1, NOT_FOUND = 2, APP_PROFILE_MISCONFIGURED = 3, PERMISSION_DENIED = 4, SCHEMA_MISMATCH = 5, IN_TRANSIT_LOCATION_RESTRICTION = 6, VERTEX_AI_LOCATION_RESTRICTION = 7 } } /** Properties of a CloudStorageConfig. */ interface ICloudStorageConfig { /** CloudStorageConfig bucket */ bucket?: (string|null); /** CloudStorageConfig filenamePrefix */ filenamePrefix?: (string|null); /** CloudStorageConfig filenameSuffix */ filenameSuffix?: (string|null); /** CloudStorageConfig filenameDatetimeFormat */ filenameDatetimeFormat?: (string|null); /** CloudStorageConfig textConfig */ textConfig?: (google.pubsub.v1.CloudStorageConfig.ITextConfig|null); /** CloudStorageConfig avroConfig */ avroConfig?: (google.pubsub.v1.CloudStorageConfig.IAvroConfig|null); /** CloudStorageConfig maxDuration */ maxDuration?: (google.protobuf.IDuration|null); /** CloudStorageConfig maxBytes */ maxBytes?: (number|Long|string|null); /** CloudStorageConfig maxMessages */ maxMessages?: (number|Long|string|null); /** CloudStorageConfig state */ state?: (google.pubsub.v1.CloudStorageConfig.State|keyof typeof google.pubsub.v1.CloudStorageConfig.State|null); /** CloudStorageConfig serviceAccountEmail */ serviceAccountEmail?: (string|null); } /** Represents a CloudStorageConfig. */ class CloudStorageConfig implements ICloudStorageConfig { /** * Constructs a new CloudStorageConfig. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.ICloudStorageConfig); /** CloudStorageConfig bucket. */ public bucket: string; /** CloudStorageConfig filenamePrefix. */ public filenamePrefix: string; /** CloudStorageConfig filenameSuffix. */ public filenameSuffix: string; /** CloudStorageConfig filenameDatetimeFormat. */ public filenameDatetimeFormat: string; /** CloudStorageConfig textConfig. */ public textConfig?: (google.pubsub.v1.CloudStorageConfig.ITextConfig|null); /** CloudStorageConfig avroConfig. */ public avroConfig?: (google.pubsub.v1.CloudStorageConfig.IAvroConfig|null); /** CloudStorageConfig maxDuration. */ public maxDuration?: (google.protobuf.IDuration|null); /** CloudStorageConfig maxBytes. */ public maxBytes: (number|Long|string); /** CloudStorageConfig maxMessages. */ public maxMessages: (number|Long|string); /** CloudStorageConfig state. */ public state: (google.pubsub.v1.CloudStorageConfig.State|keyof typeof google.pubsub.v1.CloudStorageConfig.State); /** CloudStorageConfig serviceAccountEmail. */ public serviceAccountEmail: string; /** CloudStorageConfig outputFormat. */ public outputFormat?: ("textConfig"|"avroConfig"); /** * Creates a new CloudStorageConfig instance using the specified properties. * @param [properties] Properties to set * @returns CloudStorageConfig instance */ public static create(properties?: google.pubsub.v1.ICloudStorageConfig): google.pubsub.v1.CloudStorageConfig; /** * Encodes the specified CloudStorageConfig message. Does not implicitly {@link google.pubsub.v1.CloudStorageConfig.verify|verify} messages. * @param message CloudStorageConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.ICloudStorageConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CloudStorageConfig message, length delimited. Does not implicitly {@link google.pubsub.v1.CloudStorageConfig.verify|verify} messages. * @param message CloudStorageConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.ICloudStorageConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CloudStorageConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CloudStorageConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.CloudStorageConfig; /** * Decodes a CloudStorageConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CloudStorageConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.CloudStorageConfig; /** * Verifies a CloudStorageConfig message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CloudStorageConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CloudStorageConfig */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.CloudStorageConfig; /** * Creates a plain object from a CloudStorageConfig message. Also converts values to other types if specified. * @param message CloudStorageConfig * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.CloudStorageConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CloudStorageConfig to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CloudStorageConfig * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace CloudStorageConfig { /** Properties of a TextConfig. */ interface ITextConfig { } /** Represents a TextConfig. */ class TextConfig implements ITextConfig { /** * Constructs a new TextConfig. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.CloudStorageConfig.ITextConfig); /** * Creates a new TextConfig instance using the specified properties. * @param [properties] Properties to set * @returns TextConfig instance */ public static create(properties?: google.pubsub.v1.CloudStorageConfig.ITextConfig): google.pubsub.v1.CloudStorageConfig.TextConfig; /** * Encodes the specified TextConfig message. Does not implicitly {@link google.pubsub.v1.CloudStorageConfig.TextConfig.verify|verify} messages. * @param message TextConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.CloudStorageConfig.ITextConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TextConfig message, length delimited. Does not implicitly {@link google.pubsub.v1.CloudStorageConfig.TextConfig.verify|verify} messages. * @param message TextConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.CloudStorageConfig.ITextConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TextConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TextConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.CloudStorageConfig.TextConfig; /** * Decodes a TextConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TextConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.CloudStorageConfig.TextConfig; /** * Verifies a TextConfig message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TextConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TextConfig */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.CloudStorageConfig.TextConfig; /** * Creates a plain object from a TextConfig message. Also converts values to other types if specified. * @param message TextConfig * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.CloudStorageConfig.TextConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TextConfig to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for TextConfig * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AvroConfig. */ interface IAvroConfig { /** AvroConfig writeMetadata */ writeMetadata?: (boolean|null); /** AvroConfig useTopicSchema */ useTopicSchema?: (boolean|null); } /** Represents an AvroConfig. */ class AvroConfig implements IAvroConfig { /** * Constructs a new AvroConfig. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.CloudStorageConfig.IAvroConfig); /** AvroConfig writeMetadata. */ public writeMetadata: boolean; /** AvroConfig useTopicSchema. */ public useTopicSchema: boolean; /** * Creates a new AvroConfig instance using the specified properties. * @param [properties] Properties to set * @returns AvroConfig instance */ public static create(properties?: google.pubsub.v1.CloudStorageConfig.IAvroConfig): google.pubsub.v1.CloudStorageConfig.AvroConfig; /** * Encodes the specified AvroConfig message. Does not implicitly {@link google.pubsub.v1.CloudStorageConfig.AvroConfig.verify|verify} messages. * @param message AvroConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.CloudStorageConfig.IAvroConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AvroConfig message, length delimited. Does not implicitly {@link google.pubsub.v1.CloudStorageConfig.AvroConfig.verify|verify} messages. * @param message AvroConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.CloudStorageConfig.IAvroConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AvroConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AvroConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.CloudStorageConfig.AvroConfig; /** * Decodes an AvroConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AvroConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.CloudStorageConfig.AvroConfig; /** * Verifies an AvroConfig message. * @param message Plain 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 AvroConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AvroConfig */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.CloudStorageConfig.AvroConfig; /** * Creates a plain object from an AvroConfig message. Also converts values to other types if specified. * @param message AvroConfig * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.CloudStorageConfig.AvroConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AvroConfig to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AvroConfig * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** State enum. */ enum State { STATE_UNSPECIFIED = 0, ACTIVE = 1, PERMISSION_DENIED = 2, NOT_FOUND = 3, IN_TRANSIT_LOCATION_RESTRICTION = 4, SCHEMA_MISMATCH = 5, VERTEX_AI_LOCATION_RESTRICTION = 6 } } /** Properties of a ReceivedMessage. */ interface IReceivedMessage { /** ReceivedMessage ackId */ ackId?: (string|null); /** ReceivedMessage message */ message?: (google.pubsub.v1.IPubsubMessage|null); /** ReceivedMessage deliveryAttempt */ deliveryAttempt?: (number|null); } /** Represents a ReceivedMessage. */ class ReceivedMessage implements IReceivedMessage { /** * Constructs a new ReceivedMessage. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IReceivedMessage); /** ReceivedMessage ackId. */ public ackId: string; /** ReceivedMessage message. */ public message?: (google.pubsub.v1.IPubsubMessage|null); /** ReceivedMessage deliveryAttempt. */ public deliveryAttempt: number; /** * Creates a new ReceivedMessage instance using the specified properties. * @param [properties] Properties to set * @returns ReceivedMessage instance */ public static create(properties?: google.pubsub.v1.IReceivedMessage): google.pubsub.v1.ReceivedMessage; /** * Encodes the specified ReceivedMessage message. Does not implicitly {@link google.pubsub.v1.ReceivedMessage.verify|verify} messages. * @param message ReceivedMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IReceivedMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ReceivedMessage message, length delimited. Does not implicitly {@link google.pubsub.v1.ReceivedMessage.verify|verify} messages. * @param message ReceivedMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IReceivedMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ReceivedMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ReceivedMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ReceivedMessage; /** * Decodes a ReceivedMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ReceivedMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ReceivedMessage; /** * Verifies a ReceivedMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ReceivedMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ReceivedMessage */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ReceivedMessage; /** * Creates a plain object from a ReceivedMessage message. Also converts values to other types if specified. * @param message ReceivedMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.ReceivedMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ReceivedMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ReceivedMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetSubscriptionRequest. */ interface IGetSubscriptionRequest { /** GetSubscriptionRequest subscription */ subscription?: (string|null); } /** Represents a GetSubscriptionRequest. */ class GetSubscriptionRequest implements IGetSubscriptionRequest { /** * Constructs a new GetSubscriptionRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IGetSubscriptionRequest); /** GetSubscriptionRequest subscription. */ public subscription: string; /** * Creates a new GetSubscriptionRequest instance using the specified properties. * @param [properties] Properties to set * @returns GetSubscriptionRequest instance */ public static create(properties?: google.pubsub.v1.IGetSubscriptionRequest): google.pubsub.v1.GetSubscriptionRequest; /** * Encodes the specified GetSubscriptionRequest message. Does not implicitly {@link google.pubsub.v1.GetSubscriptionRequest.verify|verify} messages. * @param message GetSubscriptionRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IGetSubscriptionRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetSubscriptionRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.GetSubscriptionRequest.verify|verify} messages. * @param message GetSubscriptionRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IGetSubscriptionRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetSubscriptionRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetSubscriptionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.GetSubscriptionRequest; /** * Decodes a GetSubscriptionRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetSubscriptionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.GetSubscriptionRequest; /** * Verifies a GetSubscriptionRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetSubscriptionRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetSubscriptionRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.GetSubscriptionRequest; /** * Creates a plain object from a GetSubscriptionRequest message. Also converts values to other types if specified. * @param message GetSubscriptionRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.GetSubscriptionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetSubscriptionRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GetSubscriptionRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateSubscriptionRequest. */ interface IUpdateSubscriptionRequest { /** UpdateSubscriptionRequest subscription */ subscription?: (google.pubsub.v1.ISubscription|null); /** UpdateSubscriptionRequest updateMask */ updateMask?: (google.protobuf.IFieldMask|null); } /** Represents an UpdateSubscriptionRequest. */ class UpdateSubscriptionRequest implements IUpdateSubscriptionRequest { /** * Constructs a new UpdateSubscriptionRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IUpdateSubscriptionRequest); /** UpdateSubscriptionRequest subscription. */ public subscription?: (google.pubsub.v1.ISubscription|null); /** UpdateSubscriptionRequest updateMask. */ public updateMask?: (google.protobuf.IFieldMask|null); /** * Creates a new UpdateSubscriptionRequest instance using the specified properties. * @param [properties] Properties to set * @returns UpdateSubscriptionRequest instance */ public static create(properties?: google.pubsub.v1.IUpdateSubscriptionRequest): google.pubsub.v1.UpdateSubscriptionRequest; /** * Encodes the specified UpdateSubscriptionRequest message. Does not implicitly {@link google.pubsub.v1.UpdateSubscriptionRequest.verify|verify} messages. * @param message UpdateSubscriptionRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IUpdateSubscriptionRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UpdateSubscriptionRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.UpdateSubscriptionRequest.verify|verify} messages. * @param message UpdateSubscriptionRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IUpdateSubscriptionRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UpdateSubscriptionRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UpdateSubscriptionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.UpdateSubscriptionRequest; /** * Decodes an UpdateSubscriptionRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UpdateSubscriptionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.UpdateSubscriptionRequest; /** * Verifies an UpdateSubscriptionRequest message. * @param message Plain 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 UpdateSubscriptionRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UpdateSubscriptionRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.UpdateSubscriptionRequest; /** * Creates a plain object from an UpdateSubscriptionRequest message. Also converts values to other types if specified. * @param message UpdateSubscriptionRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.UpdateSubscriptionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UpdateSubscriptionRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UpdateSubscriptionRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListSubscriptionsRequest. */ interface IListSubscriptionsRequest { /** ListSubscriptionsRequest project */ project?: (string|null); /** ListSubscriptionsRequest pageSize */ pageSize?: (number|null); /** ListSubscriptionsRequest pageToken */ pageToken?: (string|null); } /** Represents a ListSubscriptionsRequest. */ class ListSubscriptionsRequest implements IListSubscriptionsRequest { /** * Constructs a new ListSubscriptionsRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IListSubscriptionsRequest); /** ListSubscriptionsRequest project. */ public project: string; /** ListSubscriptionsRequest pageSize. */ public pageSize: number; /** ListSubscriptionsRequest pageToken. */ public pageToken: string; /** * Creates a new ListSubscriptionsRequest instance using the specified properties. * @param [properties] Properties to set * @returns ListSubscriptionsRequest instance */ public static create(properties?: google.pubsub.v1.IListSubscriptionsRequest): google.pubsub.v1.ListSubscriptionsRequest; /** * Encodes the specified ListSubscriptionsRequest message. Does not implicitly {@link google.pubsub.v1.ListSubscriptionsRequest.verify|verify} messages. * @param message ListSubscriptionsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IListSubscriptionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListSubscriptionsRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.ListSubscriptionsRequest.verify|verify} messages. * @param message ListSubscriptionsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IListSubscriptionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListSubscriptionsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListSubscriptionsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ListSubscriptionsRequest; /** * Decodes a ListSubscriptionsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListSubscriptionsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ListSubscriptionsRequest; /** * Verifies a ListSubscriptionsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListSubscriptionsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListSubscriptionsRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ListSubscriptionsRequest; /** * Creates a plain object from a ListSubscriptionsRequest message. Also converts values to other types if specified. * @param message ListSubscriptionsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.ListSubscriptionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListSubscriptionsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListSubscriptionsRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListSubscriptionsResponse. */ interface IListSubscriptionsResponse { /** ListSubscriptionsResponse subscriptions */ subscriptions?: (google.pubsub.v1.ISubscription[]|null); /** ListSubscriptionsResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents a ListSubscriptionsResponse. */ class ListSubscriptionsResponse implements IListSubscriptionsResponse { /** * Constructs a new ListSubscriptionsResponse. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IListSubscriptionsResponse); /** ListSubscriptionsResponse subscriptions. */ public subscriptions: google.pubsub.v1.ISubscription[]; /** ListSubscriptionsResponse nextPageToken. */ public nextPageToken: string; /** * Creates a new ListSubscriptionsResponse instance using the specified properties. * @param [properties] Properties to set * @returns ListSubscriptionsResponse instance */ public static create(properties?: google.pubsub.v1.IListSubscriptionsResponse): google.pubsub.v1.ListSubscriptionsResponse; /** * Encodes the specified ListSubscriptionsResponse message. Does not implicitly {@link google.pubsub.v1.ListSubscriptionsResponse.verify|verify} messages. * @param message ListSubscriptionsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IListSubscriptionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListSubscriptionsResponse message, length delimited. Does not implicitly {@link google.pubsub.v1.ListSubscriptionsResponse.verify|verify} messages. * @param message ListSubscriptionsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IListSubscriptionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListSubscriptionsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListSubscriptionsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ListSubscriptionsResponse; /** * Decodes a ListSubscriptionsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListSubscriptionsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ListSubscriptionsResponse; /** * Verifies a ListSubscriptionsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListSubscriptionsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListSubscriptionsResponse */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ListSubscriptionsResponse; /** * Creates a plain object from a ListSubscriptionsResponse message. Also converts values to other types if specified. * @param message ListSubscriptionsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.ListSubscriptionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListSubscriptionsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListSubscriptionsResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteSubscriptionRequest. */ interface IDeleteSubscriptionRequest { /** DeleteSubscriptionRequest subscription */ subscription?: (string|null); } /** Represents a DeleteSubscriptionRequest. */ class DeleteSubscriptionRequest implements IDeleteSubscriptionRequest { /** * Constructs a new DeleteSubscriptionRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IDeleteSubscriptionRequest); /** DeleteSubscriptionRequest subscription. */ public subscription: string; /** * Creates a new DeleteSubscriptionRequest instance using the specified properties. * @param [properties] Properties to set * @returns DeleteSubscriptionRequest instance */ public static create(properties?: google.pubsub.v1.IDeleteSubscriptionRequest): google.pubsub.v1.DeleteSubscriptionRequest; /** * Encodes the specified DeleteSubscriptionRequest message. Does not implicitly {@link google.pubsub.v1.DeleteSubscriptionRequest.verify|verify} messages. * @param message DeleteSubscriptionRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IDeleteSubscriptionRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteSubscriptionRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.DeleteSubscriptionRequest.verify|verify} messages. * @param message DeleteSubscriptionRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IDeleteSubscriptionRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteSubscriptionRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteSubscriptionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.DeleteSubscriptionRequest; /** * Decodes a DeleteSubscriptionRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteSubscriptionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.DeleteSubscriptionRequest; /** * Verifies a DeleteSubscriptionRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeleteSubscriptionRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteSubscriptionRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.DeleteSubscriptionRequest; /** * Creates a plain object from a DeleteSubscriptionRequest message. Also converts values to other types if specified. * @param message DeleteSubscriptionRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.DeleteSubscriptionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteSubscriptionRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeleteSubscriptionRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ModifyPushConfigRequest. */ interface IModifyPushConfigRequest { /** ModifyPushConfigRequest subscription */ subscription?: (string|null); /** ModifyPushConfigRequest pushConfig */ pushConfig?: (google.pubsub.v1.IPushConfig|null); } /** Represents a ModifyPushConfigRequest. */ class ModifyPushConfigRequest implements IModifyPushConfigRequest { /** * Constructs a new ModifyPushConfigRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IModifyPushConfigRequest); /** ModifyPushConfigRequest subscription. */ public subscription: string; /** ModifyPushConfigRequest pushConfig. */ public pushConfig?: (google.pubsub.v1.IPushConfig|null); /** * Creates a new ModifyPushConfigRequest instance using the specified properties. * @param [properties] Properties to set * @returns ModifyPushConfigRequest instance */ public static create(properties?: google.pubsub.v1.IModifyPushConfigRequest): google.pubsub.v1.ModifyPushConfigRequest; /** * Encodes the specified ModifyPushConfigRequest message. Does not implicitly {@link google.pubsub.v1.ModifyPushConfigRequest.verify|verify} messages. * @param message ModifyPushConfigRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IModifyPushConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ModifyPushConfigRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.ModifyPushConfigRequest.verify|verify} messages. * @param message ModifyPushConfigRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IModifyPushConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ModifyPushConfigRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ModifyPushConfigRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ModifyPushConfigRequest; /** * Decodes a ModifyPushConfigRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ModifyPushConfigRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ModifyPushConfigRequest; /** * Verifies a ModifyPushConfigRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ModifyPushConfigRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ModifyPushConfigRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ModifyPushConfigRequest; /** * Creates a plain object from a ModifyPushConfigRequest message. Also converts values to other types if specified. * @param message ModifyPushConfigRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.ModifyPushConfigRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ModifyPushConfigRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ModifyPushConfigRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PullRequest. */ interface IPullRequest { /** PullRequest subscription */ subscription?: (string|null); /** PullRequest returnImmediately */ returnImmediately?: (boolean|null); /** PullRequest maxMessages */ maxMessages?: (number|null); } /** Represents a PullRequest. */ class PullRequest implements IPullRequest { /** * Constructs a new PullRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IPullRequest); /** PullRequest subscription. */ public subscription: string; /** PullRequest returnImmediately. */ public returnImmediately: boolean; /** PullRequest maxMessages. */ public maxMessages: number; /** * Creates a new PullRequest instance using the specified properties. * @param [properties] Properties to set * @returns PullRequest instance */ public static create(properties?: google.pubsub.v1.IPullRequest): google.pubsub.v1.PullRequest; /** * Encodes the specified PullRequest message. Does not implicitly {@link google.pubsub.v1.PullRequest.verify|verify} messages. * @param message PullRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IPullRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PullRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.PullRequest.verify|verify} messages. * @param message PullRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IPullRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PullRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PullRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.PullRequest; /** * Decodes a PullRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PullRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.PullRequest; /** * Verifies a PullRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PullRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PullRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.PullRequest; /** * Creates a plain object from a PullRequest message. Also converts values to other types if specified. * @param message PullRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.PullRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PullRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PullRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PullResponse. */ interface IPullResponse { /** PullResponse receivedMessages */ receivedMessages?: (google.pubsub.v1.IReceivedMessage[]|null); } /** Represents a PullResponse. */ class PullResponse implements IPullResponse { /** * Constructs a new PullResponse. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IPullResponse); /** PullResponse receivedMessages. */ public receivedMessages: google.pubsub.v1.IReceivedMessage[]; /** * Creates a new PullResponse instance using the specified properties. * @param [properties] Properties to set * @returns PullResponse instance */ public static create(properties?: google.pubsub.v1.IPullResponse): google.pubsub.v1.PullResponse; /** * Encodes the specified PullResponse message. Does not implicitly {@link google.pubsub.v1.PullResponse.verify|verify} messages. * @param message PullResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IPullResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PullResponse message, length delimited. Does not implicitly {@link google.pubsub.v1.PullResponse.verify|verify} messages. * @param message PullResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IPullResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PullResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PullResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.PullResponse; /** * Decodes a PullResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PullResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.PullResponse; /** * Verifies a PullResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PullResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PullResponse */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.PullResponse; /** * Creates a plain object from a PullResponse message. Also converts values to other types if specified. * @param message PullResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.PullResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PullResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PullResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ModifyAckDeadlineRequest. */ interface IModifyAckDeadlineRequest { /** ModifyAckDeadlineRequest subscription */ subscription?: (string|null); /** ModifyAckDeadlineRequest ackIds */ ackIds?: (string[]|null); /** ModifyAckDeadlineRequest ackDeadlineSeconds */ ackDeadlineSeconds?: (number|null); } /** Represents a ModifyAckDeadlineRequest. */ class ModifyAckDeadlineRequest implements IModifyAckDeadlineRequest { /** * Constructs a new ModifyAckDeadlineRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IModifyAckDeadlineRequest); /** ModifyAckDeadlineRequest subscription. */ public subscription: string; /** ModifyAckDeadlineRequest ackIds. */ public ackIds: string[]; /** ModifyAckDeadlineRequest ackDeadlineSeconds. */ public ackDeadlineSeconds: number; /** * Creates a new ModifyAckDeadlineRequest instance using the specified properties. * @param [properties] Properties to set * @returns ModifyAckDeadlineRequest instance */ public static create(properties?: google.pubsub.v1.IModifyAckDeadlineRequest): google.pubsub.v1.ModifyAckDeadlineRequest; /** * Encodes the specified ModifyAckDeadlineRequest message. Does not implicitly {@link google.pubsub.v1.ModifyAckDeadlineRequest.verify|verify} messages. * @param message ModifyAckDeadlineRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IModifyAckDeadlineRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ModifyAckDeadlineRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.ModifyAckDeadlineRequest.verify|verify} messages. * @param message ModifyAckDeadlineRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IModifyAckDeadlineRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ModifyAckDeadlineRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ModifyAckDeadlineRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ModifyAckDeadlineRequest; /** * Decodes a ModifyAckDeadlineRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ModifyAckDeadlineRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ModifyAckDeadlineRequest; /** * Verifies a ModifyAckDeadlineRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ModifyAckDeadlineRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ModifyAckDeadlineRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ModifyAckDeadlineRequest; /** * Creates a plain object from a ModifyAckDeadlineRequest message. Also converts values to other types if specified. * @param message ModifyAckDeadlineRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.ModifyAckDeadlineRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ModifyAckDeadlineRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ModifyAckDeadlineRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AcknowledgeRequest. */ interface IAcknowledgeRequest { /** AcknowledgeRequest subscription */ subscription?: (string|null); /** AcknowledgeRequest ackIds */ ackIds?: (string[]|null); } /** Represents an AcknowledgeRequest. */ class AcknowledgeRequest implements IAcknowledgeRequest { /** * Constructs a new AcknowledgeRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IAcknowledgeRequest); /** AcknowledgeRequest subscription. */ public subscription: string; /** AcknowledgeRequest ackIds. */ public ackIds: string[]; /** * Creates a new AcknowledgeRequest instance using the specified properties. * @param [properties] Properties to set * @returns AcknowledgeRequest instance */ public static create(properties?: google.pubsub.v1.IAcknowledgeRequest): google.pubsub.v1.AcknowledgeRequest; /** * Encodes the specified AcknowledgeRequest message. Does not implicitly {@link google.pubsub.v1.AcknowledgeRequest.verify|verify} messages. * @param message AcknowledgeRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IAcknowledgeRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AcknowledgeRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.AcknowledgeRequest.verify|verify} messages. * @param message AcknowledgeRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IAcknowledgeRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AcknowledgeRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AcknowledgeRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.AcknowledgeRequest; /** * Decodes an AcknowledgeRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AcknowledgeRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.AcknowledgeRequest; /** * Verifies an AcknowledgeRequest message. * @param message Plain 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 AcknowledgeRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AcknowledgeRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.AcknowledgeRequest; /** * Creates a plain object from an AcknowledgeRequest message. Also converts values to other types if specified. * @param message AcknowledgeRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.AcknowledgeRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AcknowledgeRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AcknowledgeRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a StreamingPullRequest. */ interface IStreamingPullRequest { /** StreamingPullRequest subscription */ subscription?: (string|null); /** StreamingPullRequest ackIds */ ackIds?: (string[]|null); /** StreamingPullRequest modifyDeadlineSeconds */ modifyDeadlineSeconds?: (number[]|null); /** StreamingPullRequest modifyDeadlineAckIds */ modifyDeadlineAckIds?: (string[]|null); /** StreamingPullRequest streamAckDeadlineSeconds */ streamAckDeadlineSeconds?: (number|null); /** StreamingPullRequest clientId */ clientId?: (string|null); /** StreamingPullRequest maxOutstandingMessages */ maxOutstandingMessages?: (number|Long|string|null); /** StreamingPullRequest maxOutstandingBytes */ maxOutstandingBytes?: (number|Long|string|null); /** StreamingPullRequest protocolVersion */ protocolVersion?: (number|Long|string|null); } /** Represents a StreamingPullRequest. */ class StreamingPullRequest implements IStreamingPullRequest { /** * Constructs a new StreamingPullRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IStreamingPullRequest); /** StreamingPullRequest subscription. */ public subscription: string; /** StreamingPullRequest ackIds. */ public ackIds: string[]; /** StreamingPullRequest modifyDeadlineSeconds. */ public modifyDeadlineSeconds: number[]; /** StreamingPullRequest modifyDeadlineAckIds. */ public modifyDeadlineAckIds: string[]; /** StreamingPullRequest streamAckDeadlineSeconds. */ public streamAckDeadlineSeconds: number; /** StreamingPullRequest clientId. */ public clientId: string; /** StreamingPullRequest maxOutstandingMessages. */ public maxOutstandingMessages: (number|Long|string); /** StreamingPullRequest maxOutstandingBytes. */ public maxOutstandingBytes: (number|Long|string); /** StreamingPullRequest protocolVersion. */ public protocolVersion: (number|Long|string); /** * Creates a new StreamingPullRequest instance using the specified properties. * @param [properties] Properties to set * @returns StreamingPullRequest instance */ public static create(properties?: google.pubsub.v1.IStreamingPullRequest): google.pubsub.v1.StreamingPullRequest; /** * Encodes the specified StreamingPullRequest message. Does not implicitly {@link google.pubsub.v1.StreamingPullRequest.verify|verify} messages. * @param message StreamingPullRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IStreamingPullRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StreamingPullRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.StreamingPullRequest.verify|verify} messages. * @param message StreamingPullRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IStreamingPullRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StreamingPullRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StreamingPullRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.StreamingPullRequest; /** * Decodes a StreamingPullRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StreamingPullRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.StreamingPullRequest; /** * Verifies a StreamingPullRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StreamingPullRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StreamingPullRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.StreamingPullRequest; /** * Creates a plain object from a StreamingPullRequest message. Also converts values to other types if specified. * @param message StreamingPullRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.StreamingPullRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StreamingPullRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StreamingPullRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a StreamingPullResponse. */ interface IStreamingPullResponse { /** StreamingPullResponse receivedMessages */ receivedMessages?: (google.pubsub.v1.IReceivedMessage[]|null); /** StreamingPullResponse acknowledgeConfirmation */ acknowledgeConfirmation?: (google.pubsub.v1.StreamingPullResponse.IAcknowledgeConfirmation|null); /** StreamingPullResponse modifyAckDeadlineConfirmation */ modifyAckDeadlineConfirmation?: (google.pubsub.v1.StreamingPullResponse.IModifyAckDeadlineConfirmation|null); /** StreamingPullResponse subscriptionProperties */ subscriptionProperties?: (google.pubsub.v1.StreamingPullResponse.ISubscriptionProperties|null); } /** Represents a StreamingPullResponse. */ class StreamingPullResponse implements IStreamingPullResponse { /** * Constructs a new StreamingPullResponse. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IStreamingPullResponse); /** StreamingPullResponse receivedMessages. */ public receivedMessages: google.pubsub.v1.IReceivedMessage[]; /** StreamingPullResponse acknowledgeConfirmation. */ public acknowledgeConfirmation?: (google.pubsub.v1.StreamingPullResponse.IAcknowledgeConfirmation|null); /** StreamingPullResponse modifyAckDeadlineConfirmation. */ public modifyAckDeadlineConfirmation?: (google.pubsub.v1.StreamingPullResponse.IModifyAckDeadlineConfirmation|null); /** StreamingPullResponse subscriptionProperties. */ public subscriptionProperties?: (google.pubsub.v1.StreamingPullResponse.ISubscriptionProperties|null); /** * Creates a new StreamingPullResponse instance using the specified properties. * @param [properties] Properties to set * @returns StreamingPullResponse instance */ public static create(properties?: google.pubsub.v1.IStreamingPullResponse): google.pubsub.v1.StreamingPullResponse; /** * Encodes the specified StreamingPullResponse message. Does not implicitly {@link google.pubsub.v1.StreamingPullResponse.verify|verify} messages. * @param message StreamingPullResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IStreamingPullResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StreamingPullResponse message, length delimited. Does not implicitly {@link google.pubsub.v1.StreamingPullResponse.verify|verify} messages. * @param message StreamingPullResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IStreamingPullResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StreamingPullResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StreamingPullResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.StreamingPullResponse; /** * Decodes a StreamingPullResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StreamingPullResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.StreamingPullResponse; /** * Verifies a StreamingPullResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StreamingPullResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StreamingPullResponse */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.StreamingPullResponse; /** * Creates a plain object from a StreamingPullResponse message. Also converts values to other types if specified. * @param message StreamingPullResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.StreamingPullResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StreamingPullResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StreamingPullResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace StreamingPullResponse { /** Properties of an AcknowledgeConfirmation. */ interface IAcknowledgeConfirmation { /** AcknowledgeConfirmation ackIds */ ackIds?: (string[]|null); /** AcknowledgeConfirmation invalidAckIds */ invalidAckIds?: (string[]|null); /** AcknowledgeConfirmation unorderedAckIds */ unorderedAckIds?: (string[]|null); /** AcknowledgeConfirmation temporaryFailedAckIds */ temporaryFailedAckIds?: (string[]|null); } /** Represents an AcknowledgeConfirmation. */ class AcknowledgeConfirmation implements IAcknowledgeConfirmation { /** * Constructs a new AcknowledgeConfirmation. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.StreamingPullResponse.IAcknowledgeConfirmation); /** AcknowledgeConfirmation ackIds. */ public ackIds: string[]; /** AcknowledgeConfirmation invalidAckIds. */ public invalidAckIds: string[]; /** AcknowledgeConfirmation unorderedAckIds. */ public unorderedAckIds: string[]; /** AcknowledgeConfirmation temporaryFailedAckIds. */ public temporaryFailedAckIds: string[]; /** * Creates a new AcknowledgeConfirmation instance using the specified properties. * @param [properties] Properties to set * @returns AcknowledgeConfirmation instance */ public static create(properties?: google.pubsub.v1.StreamingPullResponse.IAcknowledgeConfirmation): google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation; /** * Encodes the specified AcknowledgeConfirmation message. Does not implicitly {@link google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation.verify|verify} messages. * @param message AcknowledgeConfirmation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.StreamingPullResponse.IAcknowledgeConfirmation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AcknowledgeConfirmation message, length delimited. Does not implicitly {@link google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation.verify|verify} messages. * @param message AcknowledgeConfirmation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.StreamingPullResponse.IAcknowledgeConfirmation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AcknowledgeConfirmation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AcknowledgeConfirmation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation; /** * Decodes an AcknowledgeConfirmation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AcknowledgeConfirmation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation; /** * Verifies an AcknowledgeConfirmation message. * @param message Plain 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 AcknowledgeConfirmation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AcknowledgeConfirmation */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation; /** * Creates a plain object from an AcknowledgeConfirmation message. Also converts values to other types if specified. * @param message AcknowledgeConfirmation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AcknowledgeConfirmation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AcknowledgeConfirmation * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ModifyAckDeadlineConfirmation. */ interface IModifyAckDeadlineConfirmation { /** ModifyAckDeadlineConfirmation ackIds */ ackIds?: (string[]|null); /** ModifyAckDeadlineConfirmation invalidAckIds */ invalidAckIds?: (string[]|null); /** ModifyAckDeadlineConfirmation temporaryFailedAckIds */ temporaryFailedAckIds?: (string[]|null); } /** Represents a ModifyAckDeadlineConfirmation. */ class ModifyAckDeadlineConfirmation implements IModifyAckDeadlineConfirmation { /** * Constructs a new ModifyAckDeadlineConfirmation. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.StreamingPullResponse.IModifyAckDeadlineConfirmation); /** ModifyAckDeadlineConfirmation ackIds. */ public ackIds: string[]; /** ModifyAckDeadlineConfirmation invalidAckIds. */ public invalidAckIds: string[]; /** ModifyAckDeadlineConfirmation temporaryFailedAckIds. */ public temporaryFailedAckIds: string[]; /** * Creates a new ModifyAckDeadlineConfirmation instance using the specified properties. * @param [properties] Properties to set * @returns ModifyAckDeadlineConfirmation instance */ public static create(properties?: google.pubsub.v1.StreamingPullResponse.IModifyAckDeadlineConfirmation): google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation; /** * Encodes the specified ModifyAckDeadlineConfirmation message. Does not implicitly {@link google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation.verify|verify} messages. * @param message ModifyAckDeadlineConfirmation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.StreamingPullResponse.IModifyAckDeadlineConfirmation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ModifyAckDeadlineConfirmation message, length delimited. Does not implicitly {@link google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation.verify|verify} messages. * @param message ModifyAckDeadlineConfirmation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.StreamingPullResponse.IModifyAckDeadlineConfirmation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ModifyAckDeadlineConfirmation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ModifyAckDeadlineConfirmation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation; /** * Decodes a ModifyAckDeadlineConfirmation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ModifyAckDeadlineConfirmation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation; /** * Verifies a ModifyAckDeadlineConfirmation message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ModifyAckDeadlineConfirmation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ModifyAckDeadlineConfirmation */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation; /** * Creates a plain object from a ModifyAckDeadlineConfirmation message. Also converts values to other types if specified. * @param message ModifyAckDeadlineConfirmation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ModifyAckDeadlineConfirmation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ModifyAckDeadlineConfirmation * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SubscriptionProperties. */ interface ISubscriptionProperties { /** SubscriptionProperties exactlyOnceDeliveryEnabled */ exactlyOnceDeliveryEnabled?: (boolean|null); /** SubscriptionProperties messageOrderingEnabled */ messageOrderingEnabled?: (boolean|null); } /** Represents a SubscriptionProperties. */ class SubscriptionProperties implements ISubscriptionProperties { /** * Constructs a new SubscriptionProperties. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.StreamingPullResponse.ISubscriptionProperties); /** SubscriptionProperties exactlyOnceDeliveryEnabled. */ public exactlyOnceDeliveryEnabled: boolean; /** SubscriptionProperties messageOrderingEnabled. */ public messageOrderingEnabled: boolean; /** * Creates a new SubscriptionProperties instance using the specified properties. * @param [properties] Properties to set * @returns SubscriptionProperties instance */ public static create(properties?: google.pubsub.v1.StreamingPullResponse.ISubscriptionProperties): google.pubsub.v1.StreamingPullResponse.SubscriptionProperties; /** * Encodes the specified SubscriptionProperties message. Does not implicitly {@link google.pubsub.v1.StreamingPullResponse.SubscriptionProperties.verify|verify} messages. * @param message SubscriptionProperties message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.StreamingPullResponse.ISubscriptionProperties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SubscriptionProperties message, length delimited. Does not implicitly {@link google.pubsub.v1.StreamingPullResponse.SubscriptionProperties.verify|verify} messages. * @param message SubscriptionProperties message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.StreamingPullResponse.ISubscriptionProperties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SubscriptionProperties message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SubscriptionProperties * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.StreamingPullResponse.SubscriptionProperties; /** * Decodes a SubscriptionProperties message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SubscriptionProperties * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.StreamingPullResponse.SubscriptionProperties; /** * Verifies a SubscriptionProperties message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SubscriptionProperties message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SubscriptionProperties */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.StreamingPullResponse.SubscriptionProperties; /** * Creates a plain object from a SubscriptionProperties message. Also converts values to other types if specified. * @param message SubscriptionProperties * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.StreamingPullResponse.SubscriptionProperties, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SubscriptionProperties to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SubscriptionProperties * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a CreateSnapshotRequest. */ interface ICreateSnapshotRequest { /** CreateSnapshotRequest name */ name?: (string|null); /** CreateSnapshotRequest subscription */ subscription?: (string|null); /** CreateSnapshotRequest labels */ labels?: ({ [k: string]: string }|null); /** CreateSnapshotRequest tags */ tags?: ({ [k: string]: string }|null); } /** Represents a CreateSnapshotRequest. */ class CreateSnapshotRequest implements ICreateSnapshotRequest { /** * Constructs a new CreateSnapshotRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.ICreateSnapshotRequest); /** CreateSnapshotRequest name. */ public name: string; /** CreateSnapshotRequest subscription. */ public subscription: string; /** CreateSnapshotRequest labels. */ public labels: { [k: string]: string }; /** CreateSnapshotRequest tags. */ public tags: { [k: string]: string }; /** * Creates a new CreateSnapshotRequest instance using the specified properties. * @param [properties] Properties to set * @returns CreateSnapshotRequest instance */ public static create(properties?: google.pubsub.v1.ICreateSnapshotRequest): google.pubsub.v1.CreateSnapshotRequest; /** * Encodes the specified CreateSnapshotRequest message. Does not implicitly {@link google.pubsub.v1.CreateSnapshotRequest.verify|verify} messages. * @param message CreateSnapshotRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.ICreateSnapshotRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CreateSnapshotRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.CreateSnapshotRequest.verify|verify} messages. * @param message CreateSnapshotRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.ICreateSnapshotRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CreateSnapshotRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CreateSnapshotRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.CreateSnapshotRequest; /** * Decodes a CreateSnapshotRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CreateSnapshotRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.CreateSnapshotRequest; /** * Verifies a CreateSnapshotRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CreateSnapshotRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CreateSnapshotRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.CreateSnapshotRequest; /** * Creates a plain object from a CreateSnapshotRequest message. Also converts values to other types if specified. * @param message CreateSnapshotRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.CreateSnapshotRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CreateSnapshotRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CreateSnapshotRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateSnapshotRequest. */ interface IUpdateSnapshotRequest { /** UpdateSnapshotRequest snapshot */ snapshot?: (google.pubsub.v1.ISnapshot|null); /** UpdateSnapshotRequest updateMask */ updateMask?: (google.protobuf.IFieldMask|null); } /** Represents an UpdateSnapshotRequest. */ class UpdateSnapshotRequest implements IUpdateSnapshotRequest { /** * Constructs a new UpdateSnapshotRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IUpdateSnapshotRequest); /** UpdateSnapshotRequest snapshot. */ public snapshot?: (google.pubsub.v1.ISnapshot|null); /** UpdateSnapshotRequest updateMask. */ public updateMask?: (google.protobuf.IFieldMask|null); /** * Creates a new UpdateSnapshotRequest instance using the specified properties. * @param [properties] Properties to set * @returns UpdateSnapshotRequest instance */ public static create(properties?: google.pubsub.v1.IUpdateSnapshotRequest): google.pubsub.v1.UpdateSnapshotRequest; /** * Encodes the specified UpdateSnapshotRequest message. Does not implicitly {@link google.pubsub.v1.UpdateSnapshotRequest.verify|verify} messages. * @param message UpdateSnapshotRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IUpdateSnapshotRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UpdateSnapshotRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.UpdateSnapshotRequest.verify|verify} messages. * @param message UpdateSnapshotRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IUpdateSnapshotRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UpdateSnapshotRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UpdateSnapshotRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.UpdateSnapshotRequest; /** * Decodes an UpdateSnapshotRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UpdateSnapshotRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.UpdateSnapshotRequest; /** * Verifies an UpdateSnapshotRequest message. * @param message Plain 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 UpdateSnapshotRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UpdateSnapshotRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.UpdateSnapshotRequest; /** * Creates a plain object from an UpdateSnapshotRequest message. Also converts values to other types if specified. * @param message UpdateSnapshotRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.UpdateSnapshotRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UpdateSnapshotRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UpdateSnapshotRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Snapshot. */ interface ISnapshot { /** Snapshot name */ name?: (string|null); /** Snapshot topic */ topic?: (string|null); /** Snapshot expireTime */ expireTime?: (google.protobuf.ITimestamp|null); /** Snapshot labels */ labels?: ({ [k: string]: string }|null); } /** Represents a Snapshot. */ class Snapshot implements ISnapshot { /** * Constructs a new Snapshot. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.ISnapshot); /** Snapshot name. */ public name: string; /** Snapshot topic. */ public topic: string; /** Snapshot expireTime. */ public expireTime?: (google.protobuf.ITimestamp|null); /** Snapshot labels. */ public labels: { [k: string]: string }; /** * Creates a new Snapshot instance using the specified properties. * @param [properties] Properties to set * @returns Snapshot instance */ public static create(properties?: google.pubsub.v1.ISnapshot): google.pubsub.v1.Snapshot; /** * Encodes the specified Snapshot message. Does not implicitly {@link google.pubsub.v1.Snapshot.verify|verify} messages. * @param message Snapshot message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.ISnapshot, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Snapshot message, length delimited. Does not implicitly {@link google.pubsub.v1.Snapshot.verify|verify} messages. * @param message Snapshot message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.ISnapshot, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Snapshot message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Snapshot * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.Snapshot; /** * Decodes a Snapshot message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Snapshot * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.Snapshot; /** * Verifies a Snapshot message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Snapshot message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Snapshot */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.Snapshot; /** * Creates a plain object from a Snapshot message. Also converts values to other types if specified. * @param message Snapshot * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.Snapshot, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Snapshot to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Snapshot * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetSnapshotRequest. */ interface IGetSnapshotRequest { /** GetSnapshotRequest snapshot */ snapshot?: (string|null); } /** Represents a GetSnapshotRequest. */ class GetSnapshotRequest implements IGetSnapshotRequest { /** * Constructs a new GetSnapshotRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IGetSnapshotRequest); /** GetSnapshotRequest snapshot. */ public snapshot: string; /** * Creates a new GetSnapshotRequest instance using the specified properties. * @param [properties] Properties to set * @returns GetSnapshotRequest instance */ public static create(properties?: google.pubsub.v1.IGetSnapshotRequest): google.pubsub.v1.GetSnapshotRequest; /** * Encodes the specified GetSnapshotRequest message. Does not implicitly {@link google.pubsub.v1.GetSnapshotRequest.verify|verify} messages. * @param message GetSnapshotRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IGetSnapshotRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetSnapshotRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.GetSnapshotRequest.verify|verify} messages. * @param message GetSnapshotRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IGetSnapshotRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetSnapshotRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetSnapshotRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.GetSnapshotRequest; /** * Decodes a GetSnapshotRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetSnapshotRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.GetSnapshotRequest; /** * Verifies a GetSnapshotRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetSnapshotRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetSnapshotRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.GetSnapshotRequest; /** * Creates a plain object from a GetSnapshotRequest message. Also converts values to other types if specified. * @param message GetSnapshotRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.GetSnapshotRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetSnapshotRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GetSnapshotRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListSnapshotsRequest. */ interface IListSnapshotsRequest { /** ListSnapshotsRequest project */ project?: (string|null); /** ListSnapshotsRequest pageSize */ pageSize?: (number|null); /** ListSnapshotsRequest pageToken */ pageToken?: (string|null); } /** Represents a ListSnapshotsRequest. */ class ListSnapshotsRequest implements IListSnapshotsRequest { /** * Constructs a new ListSnapshotsRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IListSnapshotsRequest); /** ListSnapshotsRequest project. */ public project: string; /** ListSnapshotsRequest pageSize. */ public pageSize: number; /** ListSnapshotsRequest pageToken. */ public pageToken: string; /** * Creates a new ListSnapshotsRequest instance using the specified properties. * @param [properties] Properties to set * @returns ListSnapshotsRequest instance */ public static create(properties?: google.pubsub.v1.IListSnapshotsRequest): google.pubsub.v1.ListSnapshotsRequest; /** * Encodes the specified ListSnapshotsRequest message. Does not implicitly {@link google.pubsub.v1.ListSnapshotsRequest.verify|verify} messages. * @param message ListSnapshotsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IListSnapshotsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListSnapshotsRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.ListSnapshotsRequest.verify|verify} messages. * @param message ListSnapshotsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IListSnapshotsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListSnapshotsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListSnapshotsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ListSnapshotsRequest; /** * Decodes a ListSnapshotsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListSnapshotsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ListSnapshotsRequest; /** * Verifies a ListSnapshotsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListSnapshotsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListSnapshotsRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ListSnapshotsRequest; /** * Creates a plain object from a ListSnapshotsRequest message. Also converts values to other types if specified. * @param message ListSnapshotsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.ListSnapshotsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListSnapshotsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListSnapshotsRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListSnapshotsResponse. */ interface IListSnapshotsResponse { /** ListSnapshotsResponse snapshots */ snapshots?: (google.pubsub.v1.ISnapshot[]|null); /** ListSnapshotsResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents a ListSnapshotsResponse. */ class ListSnapshotsResponse implements IListSnapshotsResponse { /** * Constructs a new ListSnapshotsResponse. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IListSnapshotsResponse); /** ListSnapshotsResponse snapshots. */ public snapshots: google.pubsub.v1.ISnapshot[]; /** ListSnapshotsResponse nextPageToken. */ public nextPageToken: string; /** * Creates a new ListSnapshotsResponse instance using the specified properties. * @param [properties] Properties to set * @returns ListSnapshotsResponse instance */ public static create(properties?: google.pubsub.v1.IListSnapshotsResponse): google.pubsub.v1.ListSnapshotsResponse; /** * Encodes the specified ListSnapshotsResponse message. Does not implicitly {@link google.pubsub.v1.ListSnapshotsResponse.verify|verify} messages. * @param message ListSnapshotsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IListSnapshotsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListSnapshotsResponse message, length delimited. Does not implicitly {@link google.pubsub.v1.ListSnapshotsResponse.verify|verify} messages. * @param message ListSnapshotsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IListSnapshotsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListSnapshotsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListSnapshotsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ListSnapshotsResponse; /** * Decodes a ListSnapshotsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListSnapshotsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ListSnapshotsResponse; /** * Verifies a ListSnapshotsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListSnapshotsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListSnapshotsResponse */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ListSnapshotsResponse; /** * Creates a plain object from a ListSnapshotsResponse message. Also converts values to other types if specified. * @param message ListSnapshotsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.ListSnapshotsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListSnapshotsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListSnapshotsResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteSnapshotRequest. */ interface IDeleteSnapshotRequest { /** DeleteSnapshotRequest snapshot */ snapshot?: (string|null); } /** Represents a DeleteSnapshotRequest. */ class DeleteSnapshotRequest implements IDeleteSnapshotRequest { /** * Constructs a new DeleteSnapshotRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IDeleteSnapshotRequest); /** DeleteSnapshotRequest snapshot. */ public snapshot: string; /** * Creates a new DeleteSnapshotRequest instance using the specified properties. * @param [properties] Properties to set * @returns DeleteSnapshotRequest instance */ public static create(properties?: google.pubsub.v1.IDeleteSnapshotRequest): google.pubsub.v1.DeleteSnapshotRequest; /** * Encodes the specified DeleteSnapshotRequest message. Does not implicitly {@link google.pubsub.v1.DeleteSnapshotRequest.verify|verify} messages. * @param message DeleteSnapshotRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IDeleteSnapshotRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteSnapshotRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.DeleteSnapshotRequest.verify|verify} messages. * @param message DeleteSnapshotRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IDeleteSnapshotRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteSnapshotRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteSnapshotRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.DeleteSnapshotRequest; /** * Decodes a DeleteSnapshotRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteSnapshotRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.DeleteSnapshotRequest; /** * Verifies a DeleteSnapshotRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeleteSnapshotRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteSnapshotRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.DeleteSnapshotRequest; /** * Creates a plain object from a DeleteSnapshotRequest message. Also converts values to other types if specified. * @param message DeleteSnapshotRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.DeleteSnapshotRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteSnapshotRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeleteSnapshotRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SeekRequest. */ interface ISeekRequest { /** SeekRequest subscription */ subscription?: (string|null); /** SeekRequest time */ time?: (google.protobuf.ITimestamp|null); /** SeekRequest snapshot */ snapshot?: (string|null); } /** Represents a SeekRequest. */ class SeekRequest implements ISeekRequest { /** * Constructs a new SeekRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.ISeekRequest); /** SeekRequest subscription. */ public subscription: string; /** SeekRequest time. */ public time?: (google.protobuf.ITimestamp|null); /** SeekRequest snapshot. */ public snapshot?: (string|null); /** SeekRequest target. */ public target?: ("time"|"snapshot"); /** * Creates a new SeekRequest instance using the specified properties. * @param [properties] Properties to set * @returns SeekRequest instance */ public static create(properties?: google.pubsub.v1.ISeekRequest): google.pubsub.v1.SeekRequest; /** * Encodes the specified SeekRequest message. Does not implicitly {@link google.pubsub.v1.SeekRequest.verify|verify} messages. * @param message SeekRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.ISeekRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SeekRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.SeekRequest.verify|verify} messages. * @param message SeekRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.ISeekRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SeekRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SeekRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.SeekRequest; /** * Decodes a SeekRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SeekRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.SeekRequest; /** * Verifies a SeekRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SeekRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SeekRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.SeekRequest; /** * Creates a plain object from a SeekRequest message. Also converts values to other types if specified. * @param message SeekRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.SeekRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SeekRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SeekRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SeekResponse. */ interface ISeekResponse { } /** Represents a SeekResponse. */ class SeekResponse implements ISeekResponse { /** * Constructs a new SeekResponse. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.ISeekResponse); /** * Creates a new SeekResponse instance using the specified properties. * @param [properties] Properties to set * @returns SeekResponse instance */ public static create(properties?: google.pubsub.v1.ISeekResponse): google.pubsub.v1.SeekResponse; /** * Encodes the specified SeekResponse message. Does not implicitly {@link google.pubsub.v1.SeekResponse.verify|verify} messages. * @param message SeekResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.ISeekResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SeekResponse message, length delimited. Does not implicitly {@link google.pubsub.v1.SeekResponse.verify|verify} messages. * @param message SeekResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.ISeekResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SeekResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SeekResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.SeekResponse; /** * Decodes a SeekResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SeekResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.SeekResponse; /** * Verifies a SeekResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SeekResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SeekResponse */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.SeekResponse; /** * Creates a plain object from a SeekResponse message. Also converts values to other types if specified. * @param message SeekResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.SeekResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SeekResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SeekResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PubsubClientTelemetry. */ interface IPubsubClientTelemetry { /** PubsubClientTelemetry publishOperation */ publishOperation?: (google.pubsub.v1.PubsubClientTelemetry.IPublishOperation|null); } /** Represents a PubsubClientTelemetry. */ class PubsubClientTelemetry implements IPubsubClientTelemetry { /** * Constructs a new PubsubClientTelemetry. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IPubsubClientTelemetry); /** PubsubClientTelemetry publishOperation. */ public publishOperation?: (google.pubsub.v1.PubsubClientTelemetry.IPublishOperation|null); /** PubsubClientTelemetry operation. */ public operation?: "publishOperation"; /** * Creates a new PubsubClientTelemetry instance using the specified properties. * @param [properties] Properties to set * @returns PubsubClientTelemetry instance */ public static create(properties?: google.pubsub.v1.IPubsubClientTelemetry): google.pubsub.v1.PubsubClientTelemetry; /** * Encodes the specified PubsubClientTelemetry message. Does not implicitly {@link google.pubsub.v1.PubsubClientTelemetry.verify|verify} messages. * @param message PubsubClientTelemetry message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IPubsubClientTelemetry, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PubsubClientTelemetry message, length delimited. Does not implicitly {@link google.pubsub.v1.PubsubClientTelemetry.verify|verify} messages. * @param message PubsubClientTelemetry message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IPubsubClientTelemetry, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PubsubClientTelemetry message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PubsubClientTelemetry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.PubsubClientTelemetry; /** * Decodes a PubsubClientTelemetry message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PubsubClientTelemetry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.PubsubClientTelemetry; /** * Verifies a PubsubClientTelemetry message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PubsubClientTelemetry message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PubsubClientTelemetry */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.PubsubClientTelemetry; /** * Creates a plain object from a PubsubClientTelemetry message. Also converts values to other types if specified. * @param message PubsubClientTelemetry * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.PubsubClientTelemetry, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PubsubClientTelemetry to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PubsubClientTelemetry * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace PubsubClientTelemetry { /** Properties of a PublishOperation. */ interface IPublishOperation { /** PublishOperation hedgedAttemptCount */ hedgedAttemptCount?: (number|null); /** PublishOperation publishStartTime */ publishStartTime?: (google.protobuf.ITimestamp|null); } /** Represents a PublishOperation. */ class PublishOperation implements IPublishOperation { /** * Constructs a new PublishOperation. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.PubsubClientTelemetry.IPublishOperation); /** PublishOperation hedgedAttemptCount. */ public hedgedAttemptCount: number; /** PublishOperation publishStartTime. */ public publishStartTime?: (google.protobuf.ITimestamp|null); /** * Creates a new PublishOperation instance using the specified properties. * @param [properties] Properties to set * @returns PublishOperation instance */ public static create(properties?: google.pubsub.v1.PubsubClientTelemetry.IPublishOperation): google.pubsub.v1.PubsubClientTelemetry.PublishOperation; /** * Encodes the specified PublishOperation message. Does not implicitly {@link google.pubsub.v1.PubsubClientTelemetry.PublishOperation.verify|verify} messages. * @param message PublishOperation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.PubsubClientTelemetry.IPublishOperation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PublishOperation message, length delimited. Does not implicitly {@link google.pubsub.v1.PubsubClientTelemetry.PublishOperation.verify|verify} messages. * @param message PublishOperation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.PubsubClientTelemetry.IPublishOperation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PublishOperation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PublishOperation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.PubsubClientTelemetry.PublishOperation; /** * Decodes a PublishOperation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PublishOperation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.PubsubClientTelemetry.PublishOperation; /** * Verifies a PublishOperation message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PublishOperation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PublishOperation */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.PubsubClientTelemetry.PublishOperation; /** * Creates a plain object from a PublishOperation message. Also converts values to other types if specified. * @param message PublishOperation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.PubsubClientTelemetry.PublishOperation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PublishOperation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PublishOperation * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Represents a SchemaService */ class SchemaService extends $protobuf.rpc.Service { /** * Constructs a new SchemaService service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Creates new SchemaService service using the specified rpc implementation. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited * @returns RPC service. Useful where requests and/or responses are streamed. */ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): SchemaService; /** * Calls CreateSchema. * @param request CreateSchemaRequest message or plain object * @param callback Node-style callback called with the error, if any, and Schema */ public createSchema(request: google.pubsub.v1.ICreateSchemaRequest, callback: google.pubsub.v1.SchemaService.CreateSchemaCallback): void; /** * Calls CreateSchema. * @param request CreateSchemaRequest message or plain object * @returns Promise */ public createSchema(request: google.pubsub.v1.ICreateSchemaRequest): Promise; /** * Calls GetSchema. * @param request GetSchemaRequest message or plain object * @param callback Node-style callback called with the error, if any, and Schema */ public getSchema(request: google.pubsub.v1.IGetSchemaRequest, callback: google.pubsub.v1.SchemaService.GetSchemaCallback): void; /** * Calls GetSchema. * @param request GetSchemaRequest message or plain object * @returns Promise */ public getSchema(request: google.pubsub.v1.IGetSchemaRequest): Promise; /** * Calls ListSchemas. * @param request ListSchemasRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListSchemasResponse */ public listSchemas(request: google.pubsub.v1.IListSchemasRequest, callback: google.pubsub.v1.SchemaService.ListSchemasCallback): void; /** * Calls ListSchemas. * @param request ListSchemasRequest message or plain object * @returns Promise */ public listSchemas(request: google.pubsub.v1.IListSchemasRequest): Promise; /** * Calls ListSchemaRevisions. * @param request ListSchemaRevisionsRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListSchemaRevisionsResponse */ public listSchemaRevisions(request: google.pubsub.v1.IListSchemaRevisionsRequest, callback: google.pubsub.v1.SchemaService.ListSchemaRevisionsCallback): void; /** * Calls ListSchemaRevisions. * @param request ListSchemaRevisionsRequest message or plain object * @returns Promise */ public listSchemaRevisions(request: google.pubsub.v1.IListSchemaRevisionsRequest): Promise; /** * Calls CommitSchema. * @param request CommitSchemaRequest message or plain object * @param callback Node-style callback called with the error, if any, and Schema */ public commitSchema(request: google.pubsub.v1.ICommitSchemaRequest, callback: google.pubsub.v1.SchemaService.CommitSchemaCallback): void; /** * Calls CommitSchema. * @param request CommitSchemaRequest message or plain object * @returns Promise */ public commitSchema(request: google.pubsub.v1.ICommitSchemaRequest): Promise; /** * Calls RollbackSchema. * @param request RollbackSchemaRequest message or plain object * @param callback Node-style callback called with the error, if any, and Schema */ public rollbackSchema(request: google.pubsub.v1.IRollbackSchemaRequest, callback: google.pubsub.v1.SchemaService.RollbackSchemaCallback): void; /** * Calls RollbackSchema. * @param request RollbackSchemaRequest message or plain object * @returns Promise */ public rollbackSchema(request: google.pubsub.v1.IRollbackSchemaRequest): Promise; /** * Calls DeleteSchemaRevision. * @param request DeleteSchemaRevisionRequest message or plain object * @param callback Node-style callback called with the error, if any, and Schema */ public deleteSchemaRevision(request: google.pubsub.v1.IDeleteSchemaRevisionRequest, callback: google.pubsub.v1.SchemaService.DeleteSchemaRevisionCallback): void; /** * Calls DeleteSchemaRevision. * @param request DeleteSchemaRevisionRequest message or plain object * @returns Promise */ public deleteSchemaRevision(request: google.pubsub.v1.IDeleteSchemaRevisionRequest): Promise; /** * Calls DeleteSchema. * @param request DeleteSchemaRequest message or plain object * @param callback Node-style callback called with the error, if any, and Empty */ public deleteSchema(request: google.pubsub.v1.IDeleteSchemaRequest, callback: google.pubsub.v1.SchemaService.DeleteSchemaCallback): void; /** * Calls DeleteSchema. * @param request DeleteSchemaRequest message or plain object * @returns Promise */ public deleteSchema(request: google.pubsub.v1.IDeleteSchemaRequest): Promise; /** * Calls ValidateSchema. * @param request ValidateSchemaRequest message or plain object * @param callback Node-style callback called with the error, if any, and ValidateSchemaResponse */ public validateSchema(request: google.pubsub.v1.IValidateSchemaRequest, callback: google.pubsub.v1.SchemaService.ValidateSchemaCallback): void; /** * Calls ValidateSchema. * @param request ValidateSchemaRequest message or plain object * @returns Promise */ public validateSchema(request: google.pubsub.v1.IValidateSchemaRequest): Promise; /** * Calls ValidateMessage. * @param request ValidateMessageRequest message or plain object * @param callback Node-style callback called with the error, if any, and ValidateMessageResponse */ public validateMessage(request: google.pubsub.v1.IValidateMessageRequest, callback: google.pubsub.v1.SchemaService.ValidateMessageCallback): void; /** * Calls ValidateMessage. * @param request ValidateMessageRequest message or plain object * @returns Promise */ public validateMessage(request: google.pubsub.v1.IValidateMessageRequest): Promise; } namespace SchemaService { /** * Callback as used by {@link google.pubsub.v1.SchemaService|createSchema}. * @param error Error, if any * @param [response] Schema */ type CreateSchemaCallback = (error: (Error|null), response?: google.pubsub.v1.Schema) => void; /** * Callback as used by {@link google.pubsub.v1.SchemaService|getSchema}. * @param error Error, if any * @param [response] Schema */ type GetSchemaCallback = (error: (Error|null), response?: google.pubsub.v1.Schema) => void; /** * Callback as used by {@link google.pubsub.v1.SchemaService|listSchemas}. * @param error Error, if any * @param [response] ListSchemasResponse */ type ListSchemasCallback = (error: (Error|null), response?: google.pubsub.v1.ListSchemasResponse) => void; /** * Callback as used by {@link google.pubsub.v1.SchemaService|listSchemaRevisions}. * @param error Error, if any * @param [response] ListSchemaRevisionsResponse */ type ListSchemaRevisionsCallback = (error: (Error|null), response?: google.pubsub.v1.ListSchemaRevisionsResponse) => void; /** * Callback as used by {@link google.pubsub.v1.SchemaService|commitSchema}. * @param error Error, if any * @param [response] Schema */ type CommitSchemaCallback = (error: (Error|null), response?: google.pubsub.v1.Schema) => void; /** * Callback as used by {@link google.pubsub.v1.SchemaService|rollbackSchema}. * @param error Error, if any * @param [response] Schema */ type RollbackSchemaCallback = (error: (Error|null), response?: google.pubsub.v1.Schema) => void; /** * Callback as used by {@link google.pubsub.v1.SchemaService|deleteSchemaRevision}. * @param error Error, if any * @param [response] Schema */ type DeleteSchemaRevisionCallback = (error: (Error|null), response?: google.pubsub.v1.Schema) => void; /** * Callback as used by {@link google.pubsub.v1.SchemaService|deleteSchema}. * @param error Error, if any * @param [response] Empty */ type DeleteSchemaCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** * Callback as used by {@link google.pubsub.v1.SchemaService|validateSchema}. * @param error Error, if any * @param [response] ValidateSchemaResponse */ type ValidateSchemaCallback = (error: (Error|null), response?: google.pubsub.v1.ValidateSchemaResponse) => void; /** * Callback as used by {@link google.pubsub.v1.SchemaService|validateMessage}. * @param error Error, if any * @param [response] ValidateMessageResponse */ type ValidateMessageCallback = (error: (Error|null), response?: google.pubsub.v1.ValidateMessageResponse) => void; } /** Properties of a Schema. */ interface ISchema { /** Schema name */ name?: (string|null); /** Schema type */ type?: (google.pubsub.v1.Schema.Type|keyof typeof google.pubsub.v1.Schema.Type|null); /** Schema definition */ definition?: (string|null); /** Schema compiledProtoSchema */ compiledProtoSchema?: (google.pubsub.v1.ICompiledProtoSchema|null); /** Schema revisionId */ revisionId?: (string|null); /** Schema revisionCreateTime */ revisionCreateTime?: (google.protobuf.ITimestamp|null); } /** Represents a Schema. */ class Schema implements ISchema { /** * Constructs a new Schema. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.ISchema); /** Schema name. */ public name: string; /** Schema type. */ public type: (google.pubsub.v1.Schema.Type|keyof typeof google.pubsub.v1.Schema.Type); /** Schema definition. */ public definition: string; /** Schema compiledProtoSchema. */ public compiledProtoSchema?: (google.pubsub.v1.ICompiledProtoSchema|null); /** Schema revisionId. */ public revisionId: string; /** Schema revisionCreateTime. */ public revisionCreateTime?: (google.protobuf.ITimestamp|null); /** Schema configuration. */ public configuration?: "compiledProtoSchema"; /** * Creates a new Schema instance using the specified properties. * @param [properties] Properties to set * @returns Schema instance */ public static create(properties?: google.pubsub.v1.ISchema): google.pubsub.v1.Schema; /** * Encodes the specified Schema message. Does not implicitly {@link google.pubsub.v1.Schema.verify|verify} messages. * @param message Schema message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.ISchema, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Schema message, length delimited. Does not implicitly {@link google.pubsub.v1.Schema.verify|verify} messages. * @param message Schema message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.ISchema, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Schema message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Schema * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.Schema; /** * Decodes a Schema message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Schema * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.Schema; /** * Verifies a Schema message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Schema message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Schema */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.Schema; /** * Creates a plain object from a Schema message. Also converts values to other types if specified. * @param message Schema * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.Schema, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Schema to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Schema * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Schema { /** Type enum. */ enum Type { TYPE_UNSPECIFIED = 0, PROTOCOL_BUFFER = 1, AVRO = 2 } } /** SchemaView enum. */ enum SchemaView { SCHEMA_VIEW_UNSPECIFIED = 0, BASIC = 1, FULL = 2 } /** Properties of a CreateSchemaRequest. */ interface ICreateSchemaRequest { /** CreateSchemaRequest parent */ parent?: (string|null); /** CreateSchemaRequest schema */ schema?: (google.pubsub.v1.ISchema|null); /** CreateSchemaRequest schemaId */ schemaId?: (string|null); } /** Represents a CreateSchemaRequest. */ class CreateSchemaRequest implements ICreateSchemaRequest { /** * Constructs a new CreateSchemaRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.ICreateSchemaRequest); /** CreateSchemaRequest parent. */ public parent: string; /** CreateSchemaRequest schema. */ public schema?: (google.pubsub.v1.ISchema|null); /** CreateSchemaRequest schemaId. */ public schemaId: string; /** * Creates a new CreateSchemaRequest instance using the specified properties. * @param [properties] Properties to set * @returns CreateSchemaRequest instance */ public static create(properties?: google.pubsub.v1.ICreateSchemaRequest): google.pubsub.v1.CreateSchemaRequest; /** * Encodes the specified CreateSchemaRequest message. Does not implicitly {@link google.pubsub.v1.CreateSchemaRequest.verify|verify} messages. * @param message CreateSchemaRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.ICreateSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CreateSchemaRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.CreateSchemaRequest.verify|verify} messages. * @param message CreateSchemaRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.ICreateSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CreateSchemaRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CreateSchemaRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.CreateSchemaRequest; /** * Decodes a CreateSchemaRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CreateSchemaRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.CreateSchemaRequest; /** * Verifies a CreateSchemaRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CreateSchemaRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CreateSchemaRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.CreateSchemaRequest; /** * Creates a plain object from a CreateSchemaRequest message. Also converts values to other types if specified. * @param message CreateSchemaRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.CreateSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CreateSchemaRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CreateSchemaRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetSchemaRequest. */ interface IGetSchemaRequest { /** GetSchemaRequest name */ name?: (string|null); /** GetSchemaRequest view */ view?: (google.pubsub.v1.SchemaView|keyof typeof google.pubsub.v1.SchemaView|null); } /** Represents a GetSchemaRequest. */ class GetSchemaRequest implements IGetSchemaRequest { /** * Constructs a new GetSchemaRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IGetSchemaRequest); /** GetSchemaRequest name. */ public name: string; /** GetSchemaRequest view. */ public view: (google.pubsub.v1.SchemaView|keyof typeof google.pubsub.v1.SchemaView); /** * Creates a new GetSchemaRequest instance using the specified properties. * @param [properties] Properties to set * @returns GetSchemaRequest instance */ public static create(properties?: google.pubsub.v1.IGetSchemaRequest): google.pubsub.v1.GetSchemaRequest; /** * Encodes the specified GetSchemaRequest message. Does not implicitly {@link google.pubsub.v1.GetSchemaRequest.verify|verify} messages. * @param message GetSchemaRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IGetSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetSchemaRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.GetSchemaRequest.verify|verify} messages. * @param message GetSchemaRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IGetSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetSchemaRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GetSchemaRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.GetSchemaRequest; /** * Decodes a GetSchemaRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GetSchemaRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.GetSchemaRequest; /** * Verifies a GetSchemaRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetSchemaRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetSchemaRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.GetSchemaRequest; /** * Creates a plain object from a GetSchemaRequest message. Also converts values to other types if specified. * @param message GetSchemaRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.GetSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetSchemaRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GetSchemaRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListSchemasRequest. */ interface IListSchemasRequest { /** ListSchemasRequest parent */ parent?: (string|null); /** ListSchemasRequest view */ view?: (google.pubsub.v1.SchemaView|keyof typeof google.pubsub.v1.SchemaView|null); /** ListSchemasRequest pageSize */ pageSize?: (number|null); /** ListSchemasRequest pageToken */ pageToken?: (string|null); } /** Represents a ListSchemasRequest. */ class ListSchemasRequest implements IListSchemasRequest { /** * Constructs a new ListSchemasRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IListSchemasRequest); /** ListSchemasRequest parent. */ public parent: string; /** ListSchemasRequest view. */ public view: (google.pubsub.v1.SchemaView|keyof typeof google.pubsub.v1.SchemaView); /** ListSchemasRequest pageSize. */ public pageSize: number; /** ListSchemasRequest pageToken. */ public pageToken: string; /** * Creates a new ListSchemasRequest instance using the specified properties. * @param [properties] Properties to set * @returns ListSchemasRequest instance */ public static create(properties?: google.pubsub.v1.IListSchemasRequest): google.pubsub.v1.ListSchemasRequest; /** * Encodes the specified ListSchemasRequest message. Does not implicitly {@link google.pubsub.v1.ListSchemasRequest.verify|verify} messages. * @param message ListSchemasRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IListSchemasRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListSchemasRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.ListSchemasRequest.verify|verify} messages. * @param message ListSchemasRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IListSchemasRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListSchemasRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListSchemasRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ListSchemasRequest; /** * Decodes a ListSchemasRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListSchemasRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ListSchemasRequest; /** * Verifies a ListSchemasRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListSchemasRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListSchemasRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ListSchemasRequest; /** * Creates a plain object from a ListSchemasRequest message. Also converts values to other types if specified. * @param message ListSchemasRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.ListSchemasRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListSchemasRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListSchemasRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListSchemasResponse. */ interface IListSchemasResponse { /** ListSchemasResponse schemas */ schemas?: (google.pubsub.v1.ISchema[]|null); /** ListSchemasResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents a ListSchemasResponse. */ class ListSchemasResponse implements IListSchemasResponse { /** * Constructs a new ListSchemasResponse. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IListSchemasResponse); /** ListSchemasResponse schemas. */ public schemas: google.pubsub.v1.ISchema[]; /** ListSchemasResponse nextPageToken. */ public nextPageToken: string; /** * Creates a new ListSchemasResponse instance using the specified properties. * @param [properties] Properties to set * @returns ListSchemasResponse instance */ public static create(properties?: google.pubsub.v1.IListSchemasResponse): google.pubsub.v1.ListSchemasResponse; /** * Encodes the specified ListSchemasResponse message. Does not implicitly {@link google.pubsub.v1.ListSchemasResponse.verify|verify} messages. * @param message ListSchemasResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IListSchemasResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListSchemasResponse message, length delimited. Does not implicitly {@link google.pubsub.v1.ListSchemasResponse.verify|verify} messages. * @param message ListSchemasResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IListSchemasResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListSchemasResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListSchemasResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ListSchemasResponse; /** * Decodes a ListSchemasResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListSchemasResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ListSchemasResponse; /** * Verifies a ListSchemasResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListSchemasResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListSchemasResponse */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ListSchemasResponse; /** * Creates a plain object from a ListSchemasResponse message. Also converts values to other types if specified. * @param message ListSchemasResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.ListSchemasResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListSchemasResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListSchemasResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListSchemaRevisionsRequest. */ interface IListSchemaRevisionsRequest { /** ListSchemaRevisionsRequest name */ name?: (string|null); /** ListSchemaRevisionsRequest view */ view?: (google.pubsub.v1.SchemaView|keyof typeof google.pubsub.v1.SchemaView|null); /** ListSchemaRevisionsRequest pageSize */ pageSize?: (number|null); /** ListSchemaRevisionsRequest pageToken */ pageToken?: (string|null); } /** Represents a ListSchemaRevisionsRequest. */ class ListSchemaRevisionsRequest implements IListSchemaRevisionsRequest { /** * Constructs a new ListSchemaRevisionsRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IListSchemaRevisionsRequest); /** ListSchemaRevisionsRequest name. */ public name: string; /** ListSchemaRevisionsRequest view. */ public view: (google.pubsub.v1.SchemaView|keyof typeof google.pubsub.v1.SchemaView); /** ListSchemaRevisionsRequest pageSize. */ public pageSize: number; /** ListSchemaRevisionsRequest pageToken. */ public pageToken: string; /** * Creates a new ListSchemaRevisionsRequest instance using the specified properties. * @param [properties] Properties to set * @returns ListSchemaRevisionsRequest instance */ public static create(properties?: google.pubsub.v1.IListSchemaRevisionsRequest): google.pubsub.v1.ListSchemaRevisionsRequest; /** * Encodes the specified ListSchemaRevisionsRequest message. Does not implicitly {@link google.pubsub.v1.ListSchemaRevisionsRequest.verify|verify} messages. * @param message ListSchemaRevisionsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IListSchemaRevisionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListSchemaRevisionsRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.ListSchemaRevisionsRequest.verify|verify} messages. * @param message ListSchemaRevisionsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IListSchemaRevisionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListSchemaRevisionsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListSchemaRevisionsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ListSchemaRevisionsRequest; /** * Decodes a ListSchemaRevisionsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListSchemaRevisionsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ListSchemaRevisionsRequest; /** * Verifies a ListSchemaRevisionsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListSchemaRevisionsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListSchemaRevisionsRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ListSchemaRevisionsRequest; /** * Creates a plain object from a ListSchemaRevisionsRequest message. Also converts values to other types if specified. * @param message ListSchemaRevisionsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.ListSchemaRevisionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListSchemaRevisionsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListSchemaRevisionsRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListSchemaRevisionsResponse. */ interface IListSchemaRevisionsResponse { /** ListSchemaRevisionsResponse schemas */ schemas?: (google.pubsub.v1.ISchema[]|null); /** ListSchemaRevisionsResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents a ListSchemaRevisionsResponse. */ class ListSchemaRevisionsResponse implements IListSchemaRevisionsResponse { /** * Constructs a new ListSchemaRevisionsResponse. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IListSchemaRevisionsResponse); /** ListSchemaRevisionsResponse schemas. */ public schemas: google.pubsub.v1.ISchema[]; /** ListSchemaRevisionsResponse nextPageToken. */ public nextPageToken: string; /** * Creates a new ListSchemaRevisionsResponse instance using the specified properties. * @param [properties] Properties to set * @returns ListSchemaRevisionsResponse instance */ public static create(properties?: google.pubsub.v1.IListSchemaRevisionsResponse): google.pubsub.v1.ListSchemaRevisionsResponse; /** * Encodes the specified ListSchemaRevisionsResponse message. Does not implicitly {@link google.pubsub.v1.ListSchemaRevisionsResponse.verify|verify} messages. * @param message ListSchemaRevisionsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IListSchemaRevisionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListSchemaRevisionsResponse message, length delimited. Does not implicitly {@link google.pubsub.v1.ListSchemaRevisionsResponse.verify|verify} messages. * @param message ListSchemaRevisionsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IListSchemaRevisionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListSchemaRevisionsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListSchemaRevisionsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ListSchemaRevisionsResponse; /** * Decodes a ListSchemaRevisionsResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListSchemaRevisionsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ListSchemaRevisionsResponse; /** * Verifies a ListSchemaRevisionsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListSchemaRevisionsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListSchemaRevisionsResponse */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ListSchemaRevisionsResponse; /** * Creates a plain object from a ListSchemaRevisionsResponse message. Also converts values to other types if specified. * @param message ListSchemaRevisionsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.ListSchemaRevisionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListSchemaRevisionsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListSchemaRevisionsResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CommitSchemaRequest. */ interface ICommitSchemaRequest { /** CommitSchemaRequest name */ name?: (string|null); /** CommitSchemaRequest schema */ schema?: (google.pubsub.v1.ISchema|null); } /** Represents a CommitSchemaRequest. */ class CommitSchemaRequest implements ICommitSchemaRequest { /** * Constructs a new CommitSchemaRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.ICommitSchemaRequest); /** CommitSchemaRequest name. */ public name: string; /** CommitSchemaRequest schema. */ public schema?: (google.pubsub.v1.ISchema|null); /** * Creates a new CommitSchemaRequest instance using the specified properties. * @param [properties] Properties to set * @returns CommitSchemaRequest instance */ public static create(properties?: google.pubsub.v1.ICommitSchemaRequest): google.pubsub.v1.CommitSchemaRequest; /** * Encodes the specified CommitSchemaRequest message. Does not implicitly {@link google.pubsub.v1.CommitSchemaRequest.verify|verify} messages. * @param message CommitSchemaRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.ICommitSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommitSchemaRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.CommitSchemaRequest.verify|verify} messages. * @param message CommitSchemaRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.ICommitSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommitSchemaRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CommitSchemaRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.CommitSchemaRequest; /** * Decodes a CommitSchemaRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CommitSchemaRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.CommitSchemaRequest; /** * Verifies a CommitSchemaRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommitSchemaRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommitSchemaRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.CommitSchemaRequest; /** * Creates a plain object from a CommitSchemaRequest message. Also converts values to other types if specified. * @param message CommitSchemaRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.CommitSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommitSchemaRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CommitSchemaRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RollbackSchemaRequest. */ interface IRollbackSchemaRequest { /** RollbackSchemaRequest name */ name?: (string|null); /** RollbackSchemaRequest revisionId */ revisionId?: (string|null); } /** Represents a RollbackSchemaRequest. */ class RollbackSchemaRequest implements IRollbackSchemaRequest { /** * Constructs a new RollbackSchemaRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IRollbackSchemaRequest); /** RollbackSchemaRequest name. */ public name: string; /** RollbackSchemaRequest revisionId. */ public revisionId: string; /** * Creates a new RollbackSchemaRequest instance using the specified properties. * @param [properties] Properties to set * @returns RollbackSchemaRequest instance */ public static create(properties?: google.pubsub.v1.IRollbackSchemaRequest): google.pubsub.v1.RollbackSchemaRequest; /** * Encodes the specified RollbackSchemaRequest message. Does not implicitly {@link google.pubsub.v1.RollbackSchemaRequest.verify|verify} messages. * @param message RollbackSchemaRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IRollbackSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RollbackSchemaRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.RollbackSchemaRequest.verify|verify} messages. * @param message RollbackSchemaRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IRollbackSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RollbackSchemaRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RollbackSchemaRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.RollbackSchemaRequest; /** * Decodes a RollbackSchemaRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RollbackSchemaRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.RollbackSchemaRequest; /** * Verifies a RollbackSchemaRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RollbackSchemaRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RollbackSchemaRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.RollbackSchemaRequest; /** * Creates a plain object from a RollbackSchemaRequest message. Also converts values to other types if specified. * @param message RollbackSchemaRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.RollbackSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RollbackSchemaRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RollbackSchemaRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteSchemaRevisionRequest. */ interface IDeleteSchemaRevisionRequest { /** DeleteSchemaRevisionRequest name */ name?: (string|null); /** DeleteSchemaRevisionRequest revisionId */ revisionId?: (string|null); } /** Represents a DeleteSchemaRevisionRequest. */ class DeleteSchemaRevisionRequest implements IDeleteSchemaRevisionRequest { /** * Constructs a new DeleteSchemaRevisionRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IDeleteSchemaRevisionRequest); /** DeleteSchemaRevisionRequest name. */ public name: string; /** DeleteSchemaRevisionRequest revisionId. */ public revisionId: string; /** * Creates a new DeleteSchemaRevisionRequest instance using the specified properties. * @param [properties] Properties to set * @returns DeleteSchemaRevisionRequest instance */ public static create(properties?: google.pubsub.v1.IDeleteSchemaRevisionRequest): google.pubsub.v1.DeleteSchemaRevisionRequest; /** * Encodes the specified DeleteSchemaRevisionRequest message. Does not implicitly {@link google.pubsub.v1.DeleteSchemaRevisionRequest.verify|verify} messages. * @param message DeleteSchemaRevisionRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IDeleteSchemaRevisionRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteSchemaRevisionRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.DeleteSchemaRevisionRequest.verify|verify} messages. * @param message DeleteSchemaRevisionRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IDeleteSchemaRevisionRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteSchemaRevisionRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteSchemaRevisionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.DeleteSchemaRevisionRequest; /** * Decodes a DeleteSchemaRevisionRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteSchemaRevisionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.DeleteSchemaRevisionRequest; /** * Verifies a DeleteSchemaRevisionRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeleteSchemaRevisionRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteSchemaRevisionRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.DeleteSchemaRevisionRequest; /** * Creates a plain object from a DeleteSchemaRevisionRequest message. Also converts values to other types if specified. * @param message DeleteSchemaRevisionRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.DeleteSchemaRevisionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteSchemaRevisionRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeleteSchemaRevisionRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteSchemaRequest. */ interface IDeleteSchemaRequest { /** DeleteSchemaRequest name */ name?: (string|null); } /** Represents a DeleteSchemaRequest. */ class DeleteSchemaRequest implements IDeleteSchemaRequest { /** * Constructs a new DeleteSchemaRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IDeleteSchemaRequest); /** DeleteSchemaRequest name. */ public name: string; /** * Creates a new DeleteSchemaRequest instance using the specified properties. * @param [properties] Properties to set * @returns DeleteSchemaRequest instance */ public static create(properties?: google.pubsub.v1.IDeleteSchemaRequest): google.pubsub.v1.DeleteSchemaRequest; /** * Encodes the specified DeleteSchemaRequest message. Does not implicitly {@link google.pubsub.v1.DeleteSchemaRequest.verify|verify} messages. * @param message DeleteSchemaRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IDeleteSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteSchemaRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.DeleteSchemaRequest.verify|verify} messages. * @param message DeleteSchemaRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IDeleteSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteSchemaRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteSchemaRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.DeleteSchemaRequest; /** * Decodes a DeleteSchemaRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteSchemaRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.DeleteSchemaRequest; /** * Verifies a DeleteSchemaRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeleteSchemaRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteSchemaRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.DeleteSchemaRequest; /** * Creates a plain object from a DeleteSchemaRequest message. Also converts values to other types if specified. * @param message DeleteSchemaRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.DeleteSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteSchemaRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeleteSchemaRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ValidateSchemaRequest. */ interface IValidateSchemaRequest { /** ValidateSchemaRequest parent */ parent?: (string|null); /** ValidateSchemaRequest schema */ schema?: (google.pubsub.v1.ISchema|null); } /** Represents a ValidateSchemaRequest. */ class ValidateSchemaRequest implements IValidateSchemaRequest { /** * Constructs a new ValidateSchemaRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IValidateSchemaRequest); /** ValidateSchemaRequest parent. */ public parent: string; /** ValidateSchemaRequest schema. */ public schema?: (google.pubsub.v1.ISchema|null); /** * Creates a new ValidateSchemaRequest instance using the specified properties. * @param [properties] Properties to set * @returns ValidateSchemaRequest instance */ public static create(properties?: google.pubsub.v1.IValidateSchemaRequest): google.pubsub.v1.ValidateSchemaRequest; /** * Encodes the specified ValidateSchemaRequest message. Does not implicitly {@link google.pubsub.v1.ValidateSchemaRequest.verify|verify} messages. * @param message ValidateSchemaRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IValidateSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ValidateSchemaRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.ValidateSchemaRequest.verify|verify} messages. * @param message ValidateSchemaRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IValidateSchemaRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ValidateSchemaRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ValidateSchemaRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ValidateSchemaRequest; /** * Decodes a ValidateSchemaRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ValidateSchemaRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ValidateSchemaRequest; /** * Verifies a ValidateSchemaRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ValidateSchemaRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ValidateSchemaRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ValidateSchemaRequest; /** * Creates a plain object from a ValidateSchemaRequest message. Also converts values to other types if specified. * @param message ValidateSchemaRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.ValidateSchemaRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ValidateSchemaRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ValidateSchemaRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ValidateSchemaResponse. */ interface IValidateSchemaResponse { } /** Represents a ValidateSchemaResponse. */ class ValidateSchemaResponse implements IValidateSchemaResponse { /** * Constructs a new ValidateSchemaResponse. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IValidateSchemaResponse); /** * Creates a new ValidateSchemaResponse instance using the specified properties. * @param [properties] Properties to set * @returns ValidateSchemaResponse instance */ public static create(properties?: google.pubsub.v1.IValidateSchemaResponse): google.pubsub.v1.ValidateSchemaResponse; /** * Encodes the specified ValidateSchemaResponse message. Does not implicitly {@link google.pubsub.v1.ValidateSchemaResponse.verify|verify} messages. * @param message ValidateSchemaResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IValidateSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ValidateSchemaResponse message, length delimited. Does not implicitly {@link google.pubsub.v1.ValidateSchemaResponse.verify|verify} messages. * @param message ValidateSchemaResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IValidateSchemaResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ValidateSchemaResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ValidateSchemaResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ValidateSchemaResponse; /** * Decodes a ValidateSchemaResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ValidateSchemaResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ValidateSchemaResponse; /** * Verifies a ValidateSchemaResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ValidateSchemaResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ValidateSchemaResponse */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ValidateSchemaResponse; /** * Creates a plain object from a ValidateSchemaResponse message. Also converts values to other types if specified. * @param message ValidateSchemaResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.ValidateSchemaResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ValidateSchemaResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ValidateSchemaResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ValidateMessageRequest. */ interface IValidateMessageRequest { /** ValidateMessageRequest parent */ parent?: (string|null); /** ValidateMessageRequest name */ name?: (string|null); /** ValidateMessageRequest schema */ schema?: (google.pubsub.v1.ISchema|null); /** ValidateMessageRequest message */ message?: (Uint8Array|Buffer|string|null); /** ValidateMessageRequest encoding */ encoding?: (google.pubsub.v1.Encoding|keyof typeof google.pubsub.v1.Encoding|null); } /** Represents a ValidateMessageRequest. */ class ValidateMessageRequest implements IValidateMessageRequest { /** * Constructs a new ValidateMessageRequest. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IValidateMessageRequest); /** ValidateMessageRequest parent. */ public parent: string; /** ValidateMessageRequest name. */ public name?: (string|null); /** ValidateMessageRequest schema. */ public schema?: (google.pubsub.v1.ISchema|null); /** ValidateMessageRequest message. */ public message: (Uint8Array|Buffer|string); /** ValidateMessageRequest encoding. */ public encoding: (google.pubsub.v1.Encoding|keyof typeof google.pubsub.v1.Encoding); /** ValidateMessageRequest schemaSpec. */ public schemaSpec?: ("name"|"schema"); /** * Creates a new ValidateMessageRequest instance using the specified properties. * @param [properties] Properties to set * @returns ValidateMessageRequest instance */ public static create(properties?: google.pubsub.v1.IValidateMessageRequest): google.pubsub.v1.ValidateMessageRequest; /** * Encodes the specified ValidateMessageRequest message. Does not implicitly {@link google.pubsub.v1.ValidateMessageRequest.verify|verify} messages. * @param message ValidateMessageRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IValidateMessageRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ValidateMessageRequest message, length delimited. Does not implicitly {@link google.pubsub.v1.ValidateMessageRequest.verify|verify} messages. * @param message ValidateMessageRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IValidateMessageRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ValidateMessageRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ValidateMessageRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ValidateMessageRequest; /** * Decodes a ValidateMessageRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ValidateMessageRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ValidateMessageRequest; /** * Verifies a ValidateMessageRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ValidateMessageRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ValidateMessageRequest */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ValidateMessageRequest; /** * Creates a plain object from a ValidateMessageRequest message. Also converts values to other types if specified. * @param message ValidateMessageRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.ValidateMessageRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ValidateMessageRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ValidateMessageRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ValidateMessageResponse. */ interface IValidateMessageResponse { } /** Represents a ValidateMessageResponse. */ class ValidateMessageResponse implements IValidateMessageResponse { /** * Constructs a new ValidateMessageResponse. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.IValidateMessageResponse); /** * Creates a new ValidateMessageResponse instance using the specified properties. * @param [properties] Properties to set * @returns ValidateMessageResponse instance */ public static create(properties?: google.pubsub.v1.IValidateMessageResponse): google.pubsub.v1.ValidateMessageResponse; /** * Encodes the specified ValidateMessageResponse message. Does not implicitly {@link google.pubsub.v1.ValidateMessageResponse.verify|verify} messages. * @param message ValidateMessageResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.IValidateMessageResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ValidateMessageResponse message, length delimited. Does not implicitly {@link google.pubsub.v1.ValidateMessageResponse.verify|verify} messages. * @param message ValidateMessageResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.IValidateMessageResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ValidateMessageResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ValidateMessageResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.ValidateMessageResponse; /** * Decodes a ValidateMessageResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ValidateMessageResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.ValidateMessageResponse; /** * Verifies a ValidateMessageResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ValidateMessageResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ValidateMessageResponse */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.ValidateMessageResponse; /** * Creates a plain object from a ValidateMessageResponse message. Also converts values to other types if specified. * @param message ValidateMessageResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.ValidateMessageResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ValidateMessageResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ValidateMessageResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CompiledProtoSchema. */ interface ICompiledProtoSchema { /** CompiledProtoSchema rootMessage */ rootMessage?: (string|null); /** CompiledProtoSchema compiledBytes */ compiledBytes?: (Uint8Array|Buffer|string|null); } /** Represents a CompiledProtoSchema. */ class CompiledProtoSchema implements ICompiledProtoSchema { /** * Constructs a new CompiledProtoSchema. * @param [properties] Properties to set */ constructor(properties?: google.pubsub.v1.ICompiledProtoSchema); /** CompiledProtoSchema rootMessage. */ public rootMessage: string; /** CompiledProtoSchema compiledBytes. */ public compiledBytes: (Uint8Array|Buffer|string); /** * Creates a new CompiledProtoSchema instance using the specified properties. * @param [properties] Properties to set * @returns CompiledProtoSchema instance */ public static create(properties?: google.pubsub.v1.ICompiledProtoSchema): google.pubsub.v1.CompiledProtoSchema; /** * Encodes the specified CompiledProtoSchema message. Does not implicitly {@link google.pubsub.v1.CompiledProtoSchema.verify|verify} messages. * @param message CompiledProtoSchema message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.pubsub.v1.ICompiledProtoSchema, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CompiledProtoSchema message, length delimited. Does not implicitly {@link google.pubsub.v1.CompiledProtoSchema.verify|verify} messages. * @param message CompiledProtoSchema message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.pubsub.v1.ICompiledProtoSchema, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CompiledProtoSchema message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CompiledProtoSchema * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.CompiledProtoSchema; /** * Decodes a CompiledProtoSchema message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CompiledProtoSchema * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.CompiledProtoSchema; /** * Verifies a CompiledProtoSchema message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CompiledProtoSchema message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CompiledProtoSchema */ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.CompiledProtoSchema; /** * Creates a plain object from a CompiledProtoSchema message. Also converts values to other types if specified. * @param message CompiledProtoSchema * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.pubsub.v1.CompiledProtoSchema, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CompiledProtoSchema to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CompiledProtoSchema * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Encoding enum. */ enum Encoding { ENCODING_UNSPECIFIED = 0, JSON = 1, BINARY = 2 } } } /** Namespace api. */ namespace api { /** Properties of a Http. */ interface IHttp { /** Http rules */ rules?: (google.api.IHttpRule[]|null); /** Http fullyDecodeReservedExpansion */ fullyDecodeReservedExpansion?: (boolean|null); } /** Represents a Http. */ class Http implements IHttp { /** * Constructs a new Http. * @param [properties] Properties to set */ constructor(properties?: google.api.IHttp); /** Http rules. */ public rules: google.api.IHttpRule[]; /** Http fullyDecodeReservedExpansion. */ public fullyDecodeReservedExpansion: boolean; /** * Creates a new Http instance using the specified properties. * @param [properties] Properties to set * @returns Http instance */ public static create(properties?: google.api.IHttp): google.api.Http; /** * Encodes the specified Http message. Does not implicitly {@link google.api.Http.verify|verify} messages. * @param message Http message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Http message, length delimited. Does not implicitly {@link google.api.Http.verify|verify} messages. * @param message Http message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Http message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Http * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Http; /** * Decodes a Http message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Http * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Http; /** * Verifies a Http message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Http message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Http */ public static fromObject(object: { [k: string]: any }): google.api.Http; /** * Creates a plain object from a Http message. Also converts values to other types if specified. * @param message Http * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.Http, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Http to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Http * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a HttpRule. */ interface IHttpRule { /** HttpRule selector */ selector?: (string|null); /** HttpRule get */ get?: (string|null); /** HttpRule put */ put?: (string|null); /** HttpRule post */ post?: (string|null); /** HttpRule delete */ "delete"?: (string|null); /** HttpRule patch */ patch?: (string|null); /** HttpRule custom */ custom?: (google.api.ICustomHttpPattern|null); /** HttpRule body */ body?: (string|null); /** HttpRule responseBody */ responseBody?: (string|null); /** HttpRule additionalBindings */ additionalBindings?: (google.api.IHttpRule[]|null); } /** Represents a HttpRule. */ class HttpRule implements IHttpRule { /** * Constructs a new HttpRule. * @param [properties] Properties to set */ constructor(properties?: google.api.IHttpRule); /** HttpRule selector. */ public selector: string; /** HttpRule get. */ public get?: (string|null); /** HttpRule put. */ public put?: (string|null); /** HttpRule post. */ public post?: (string|null); /** HttpRule delete. */ public delete?: (string|null); /** HttpRule patch. */ public patch?: (string|null); /** HttpRule custom. */ public custom?: (google.api.ICustomHttpPattern|null); /** HttpRule body. */ public body: string; /** HttpRule responseBody. */ public responseBody: string; /** HttpRule additionalBindings. */ public additionalBindings: google.api.IHttpRule[]; /** HttpRule pattern. */ public pattern?: ("get"|"put"|"post"|"delete"|"patch"|"custom"); /** * Creates a new HttpRule instance using the specified properties. * @param [properties] Properties to set * @returns HttpRule instance */ public static create(properties?: google.api.IHttpRule): google.api.HttpRule; /** * Encodes the specified HttpRule message. Does not implicitly {@link google.api.HttpRule.verify|verify} messages. * @param message HttpRule message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HttpRule message, length delimited. Does not implicitly {@link google.api.HttpRule.verify|verify} messages. * @param message HttpRule message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HttpRule message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HttpRule * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.HttpRule; /** * Decodes a HttpRule message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HttpRule * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.HttpRule; /** * Verifies a HttpRule message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HttpRule message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HttpRule */ public static fromObject(object: { [k: string]: any }): google.api.HttpRule; /** * Creates a plain object from a HttpRule message. Also converts values to other types if specified. * @param message HttpRule * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.HttpRule, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HttpRule to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for HttpRule * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CustomHttpPattern. */ interface ICustomHttpPattern { /** CustomHttpPattern kind */ kind?: (string|null); /** CustomHttpPattern path */ path?: (string|null); } /** Represents a CustomHttpPattern. */ class CustomHttpPattern implements ICustomHttpPattern { /** * Constructs a new CustomHttpPattern. * @param [properties] Properties to set */ constructor(properties?: google.api.ICustomHttpPattern); /** CustomHttpPattern kind. */ public kind: string; /** CustomHttpPattern path. */ public path: string; /** * Creates a new CustomHttpPattern instance using the specified properties. * @param [properties] Properties to set * @returns CustomHttpPattern instance */ public static create(properties?: google.api.ICustomHttpPattern): google.api.CustomHttpPattern; /** * Encodes the specified CustomHttpPattern message. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages. * @param message CustomHttpPattern message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CustomHttpPattern message, length delimited. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages. * @param message CustomHttpPattern message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CustomHttpPattern message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CustomHttpPattern * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CustomHttpPattern; /** * Decodes a CustomHttpPattern message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CustomHttpPattern * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CustomHttpPattern; /** * Verifies a CustomHttpPattern message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CustomHttpPattern message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CustomHttpPattern */ public static fromObject(object: { [k: string]: any }): google.api.CustomHttpPattern; /** * Creates a plain object from a CustomHttpPattern message. Also converts values to other types if specified. * @param message CustomHttpPattern * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.CustomHttpPattern, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CustomHttpPattern to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CustomHttpPattern * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CommonLanguageSettings. */ interface ICommonLanguageSettings { /** CommonLanguageSettings referenceDocsUri */ referenceDocsUri?: (string|null); /** CommonLanguageSettings destinations */ destinations?: (google.api.ClientLibraryDestination[]|null); /** CommonLanguageSettings selectiveGapicGeneration */ selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null); } /** Represents a CommonLanguageSettings. */ class CommonLanguageSettings implements ICommonLanguageSettings { /** * Constructs a new CommonLanguageSettings. * @param [properties] Properties to set */ constructor(properties?: google.api.ICommonLanguageSettings); /** CommonLanguageSettings referenceDocsUri. */ public referenceDocsUri: string; /** CommonLanguageSettings destinations. */ public destinations: google.api.ClientLibraryDestination[]; /** CommonLanguageSettings selectiveGapicGeneration. */ public selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null); /** * Creates a new CommonLanguageSettings instance using the specified properties. * @param [properties] Properties to set * @returns CommonLanguageSettings instance */ public static create(properties?: google.api.ICommonLanguageSettings): google.api.CommonLanguageSettings; /** * Encodes the specified CommonLanguageSettings message. Does not implicitly {@link google.api.CommonLanguageSettings.verify|verify} messages. * @param message CommonLanguageSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.ICommonLanguageSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommonLanguageSettings message, length delimited. Does not implicitly {@link google.api.CommonLanguageSettings.verify|verify} messages. * @param message CommonLanguageSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.ICommonLanguageSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommonLanguageSettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CommonLanguageSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CommonLanguageSettings; /** * Decodes a CommonLanguageSettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CommonLanguageSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CommonLanguageSettings; /** * Verifies a CommonLanguageSettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommonLanguageSettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommonLanguageSettings */ public static fromObject(object: { [k: string]: any }): google.api.CommonLanguageSettings; /** * Creates a plain object from a CommonLanguageSettings message. Also converts values to other types if specified. * @param message CommonLanguageSettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.CommonLanguageSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommonLanguageSettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CommonLanguageSettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ClientLibrarySettings. */ interface IClientLibrarySettings { /** ClientLibrarySettings version */ version?: (string|null); /** ClientLibrarySettings launchStage */ launchStage?: (google.api.LaunchStage|keyof typeof google.api.LaunchStage|null); /** ClientLibrarySettings restNumericEnums */ restNumericEnums?: (boolean|null); /** ClientLibrarySettings javaSettings */ javaSettings?: (google.api.IJavaSettings|null); /** ClientLibrarySettings cppSettings */ cppSettings?: (google.api.ICppSettings|null); /** ClientLibrarySettings phpSettings */ phpSettings?: (google.api.IPhpSettings|null); /** ClientLibrarySettings pythonSettings */ pythonSettings?: (google.api.IPythonSettings|null); /** ClientLibrarySettings nodeSettings */ nodeSettings?: (google.api.INodeSettings|null); /** ClientLibrarySettings dotnetSettings */ dotnetSettings?: (google.api.IDotnetSettings|null); /** ClientLibrarySettings rubySettings */ rubySettings?: (google.api.IRubySettings|null); /** ClientLibrarySettings goSettings */ goSettings?: (google.api.IGoSettings|null); } /** Represents a ClientLibrarySettings. */ class ClientLibrarySettings implements IClientLibrarySettings { /** * Constructs a new ClientLibrarySettings. * @param [properties] Properties to set */ constructor(properties?: google.api.IClientLibrarySettings); /** ClientLibrarySettings version. */ public version: string; /** ClientLibrarySettings launchStage. */ public launchStage: (google.api.LaunchStage|keyof typeof google.api.LaunchStage); /** ClientLibrarySettings restNumericEnums. */ public restNumericEnums: boolean; /** ClientLibrarySettings javaSettings. */ public javaSettings?: (google.api.IJavaSettings|null); /** ClientLibrarySettings cppSettings. */ public cppSettings?: (google.api.ICppSettings|null); /** ClientLibrarySettings phpSettings. */ public phpSettings?: (google.api.IPhpSettings|null); /** ClientLibrarySettings pythonSettings. */ public pythonSettings?: (google.api.IPythonSettings|null); /** ClientLibrarySettings nodeSettings. */ public nodeSettings?: (google.api.INodeSettings|null); /** ClientLibrarySettings dotnetSettings. */ public dotnetSettings?: (google.api.IDotnetSettings|null); /** ClientLibrarySettings rubySettings. */ public rubySettings?: (google.api.IRubySettings|null); /** ClientLibrarySettings goSettings. */ public goSettings?: (google.api.IGoSettings|null); /** * Creates a new ClientLibrarySettings instance using the specified properties. * @param [properties] Properties to set * @returns ClientLibrarySettings instance */ public static create(properties?: google.api.IClientLibrarySettings): google.api.ClientLibrarySettings; /** * Encodes the specified ClientLibrarySettings message. Does not implicitly {@link google.api.ClientLibrarySettings.verify|verify} messages. * @param message ClientLibrarySettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IClientLibrarySettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ClientLibrarySettings message, length delimited. Does not implicitly {@link google.api.ClientLibrarySettings.verify|verify} messages. * @param message ClientLibrarySettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IClientLibrarySettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ClientLibrarySettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ClientLibrarySettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ClientLibrarySettings; /** * Decodes a ClientLibrarySettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ClientLibrarySettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ClientLibrarySettings; /** * Verifies a ClientLibrarySettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ClientLibrarySettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ClientLibrarySettings */ public static fromObject(object: { [k: string]: any }): google.api.ClientLibrarySettings; /** * Creates a plain object from a ClientLibrarySettings message. Also converts values to other types if specified. * @param message ClientLibrarySettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.ClientLibrarySettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ClientLibrarySettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ClientLibrarySettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Publishing. */ interface IPublishing { /** Publishing methodSettings */ methodSettings?: (google.api.IMethodSettings[]|null); /** Publishing newIssueUri */ newIssueUri?: (string|null); /** Publishing documentationUri */ documentationUri?: (string|null); /** Publishing apiShortName */ apiShortName?: (string|null); /** Publishing githubLabel */ githubLabel?: (string|null); /** Publishing codeownerGithubTeams */ codeownerGithubTeams?: (string[]|null); /** Publishing docTagPrefix */ docTagPrefix?: (string|null); /** Publishing organization */ organization?: (google.api.ClientLibraryOrganization|keyof typeof google.api.ClientLibraryOrganization|null); /** Publishing librarySettings */ librarySettings?: (google.api.IClientLibrarySettings[]|null); /** Publishing protoReferenceDocumentationUri */ protoReferenceDocumentationUri?: (string|null); /** Publishing restReferenceDocumentationUri */ restReferenceDocumentationUri?: (string|null); } /** Represents a Publishing. */ class Publishing implements IPublishing { /** * Constructs a new Publishing. * @param [properties] Properties to set */ constructor(properties?: google.api.IPublishing); /** Publishing methodSettings. */ public methodSettings: google.api.IMethodSettings[]; /** Publishing newIssueUri. */ public newIssueUri: string; /** Publishing documentationUri. */ public documentationUri: string; /** Publishing apiShortName. */ public apiShortName: string; /** Publishing githubLabel. */ public githubLabel: string; /** Publishing codeownerGithubTeams. */ public codeownerGithubTeams: string[]; /** Publishing docTagPrefix. */ public docTagPrefix: string; /** Publishing organization. */ public organization: (google.api.ClientLibraryOrganization|keyof typeof google.api.ClientLibraryOrganization); /** Publishing librarySettings. */ public librarySettings: google.api.IClientLibrarySettings[]; /** Publishing protoReferenceDocumentationUri. */ public protoReferenceDocumentationUri: string; /** Publishing restReferenceDocumentationUri. */ public restReferenceDocumentationUri: string; /** * Creates a new Publishing instance using the specified properties. * @param [properties] Properties to set * @returns Publishing instance */ public static create(properties?: google.api.IPublishing): google.api.Publishing; /** * Encodes the specified Publishing message. Does not implicitly {@link google.api.Publishing.verify|verify} messages. * @param message Publishing message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IPublishing, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Publishing message, length delimited. Does not implicitly {@link google.api.Publishing.verify|verify} messages. * @param message Publishing message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IPublishing, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Publishing message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Publishing * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Publishing; /** * Decodes a Publishing message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Publishing * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Publishing; /** * Verifies a Publishing message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Publishing message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Publishing */ public static fromObject(object: { [k: string]: any }): google.api.Publishing; /** * Creates a plain object from a Publishing message. Also converts values to other types if specified. * @param message Publishing * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.Publishing, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Publishing to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Publishing * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a JavaSettings. */ interface IJavaSettings { /** JavaSettings libraryPackage */ libraryPackage?: (string|null); /** JavaSettings serviceClassNames */ serviceClassNames?: ({ [k: string]: string }|null); /** JavaSettings common */ common?: (google.api.ICommonLanguageSettings|null); } /** Represents a JavaSettings. */ class JavaSettings implements IJavaSettings { /** * Constructs a new JavaSettings. * @param [properties] Properties to set */ constructor(properties?: google.api.IJavaSettings); /** JavaSettings libraryPackage. */ public libraryPackage: string; /** JavaSettings serviceClassNames. */ public serviceClassNames: { [k: string]: string }; /** JavaSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); /** * Creates a new JavaSettings instance using the specified properties. * @param [properties] Properties to set * @returns JavaSettings instance */ public static create(properties?: google.api.IJavaSettings): google.api.JavaSettings; /** * Encodes the specified JavaSettings message. Does not implicitly {@link google.api.JavaSettings.verify|verify} messages. * @param message JavaSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IJavaSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified JavaSettings message, length delimited. Does not implicitly {@link google.api.JavaSettings.verify|verify} messages. * @param message JavaSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IJavaSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a JavaSettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns JavaSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.JavaSettings; /** * Decodes a JavaSettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns JavaSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.JavaSettings; /** * Verifies a JavaSettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a JavaSettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns JavaSettings */ public static fromObject(object: { [k: string]: any }): google.api.JavaSettings; /** * Creates a plain object from a JavaSettings message. Also converts values to other types if specified. * @param message JavaSettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.JavaSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this JavaSettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for JavaSettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CppSettings. */ interface ICppSettings { /** CppSettings common */ common?: (google.api.ICommonLanguageSettings|null); } /** Represents a CppSettings. */ class CppSettings implements ICppSettings { /** * Constructs a new CppSettings. * @param [properties] Properties to set */ constructor(properties?: google.api.ICppSettings); /** CppSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); /** * Creates a new CppSettings instance using the specified properties. * @param [properties] Properties to set * @returns CppSettings instance */ public static create(properties?: google.api.ICppSettings): google.api.CppSettings; /** * Encodes the specified CppSettings message. Does not implicitly {@link google.api.CppSettings.verify|verify} messages. * @param message CppSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.ICppSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CppSettings message, length delimited. Does not implicitly {@link google.api.CppSettings.verify|verify} messages. * @param message CppSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.ICppSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CppSettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CppSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CppSettings; /** * Decodes a CppSettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CppSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CppSettings; /** * Verifies a CppSettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CppSettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CppSettings */ public static fromObject(object: { [k: string]: any }): google.api.CppSettings; /** * Creates a plain object from a CppSettings message. Also converts values to other types if specified. * @param message CppSettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.CppSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CppSettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CppSettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PhpSettings. */ interface IPhpSettings { /** PhpSettings common */ common?: (google.api.ICommonLanguageSettings|null); /** PhpSettings libraryPackage */ libraryPackage?: (string|null); } /** Represents a PhpSettings. */ class PhpSettings implements IPhpSettings { /** * Constructs a new PhpSettings. * @param [properties] Properties to set */ constructor(properties?: google.api.IPhpSettings); /** PhpSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); /** PhpSettings libraryPackage. */ public libraryPackage: string; /** * Creates a new PhpSettings instance using the specified properties. * @param [properties] Properties to set * @returns PhpSettings instance */ public static create(properties?: google.api.IPhpSettings): google.api.PhpSettings; /** * Encodes the specified PhpSettings message. Does not implicitly {@link google.api.PhpSettings.verify|verify} messages. * @param message PhpSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IPhpSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PhpSettings message, length delimited. Does not implicitly {@link google.api.PhpSettings.verify|verify} messages. * @param message PhpSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IPhpSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PhpSettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PhpSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PhpSettings; /** * Decodes a PhpSettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PhpSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PhpSettings; /** * Verifies a PhpSettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PhpSettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PhpSettings */ public static fromObject(object: { [k: string]: any }): google.api.PhpSettings; /** * Creates a plain object from a PhpSettings message. Also converts values to other types if specified. * @param message PhpSettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.PhpSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PhpSettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PhpSettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PythonSettings. */ interface IPythonSettings { /** PythonSettings common */ common?: (google.api.ICommonLanguageSettings|null); /** PythonSettings experimentalFeatures */ experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null); } /** Represents a PythonSettings. */ class PythonSettings implements IPythonSettings { /** * Constructs a new PythonSettings. * @param [properties] Properties to set */ constructor(properties?: google.api.IPythonSettings); /** PythonSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); /** PythonSettings experimentalFeatures. */ public experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null); /** * Creates a new PythonSettings instance using the specified properties. * @param [properties] Properties to set * @returns PythonSettings instance */ public static create(properties?: google.api.IPythonSettings): google.api.PythonSettings; /** * Encodes the specified PythonSettings message. Does not implicitly {@link google.api.PythonSettings.verify|verify} messages. * @param message PythonSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IPythonSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PythonSettings message, length delimited. Does not implicitly {@link google.api.PythonSettings.verify|verify} messages. * @param message PythonSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IPythonSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PythonSettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PythonSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PythonSettings; /** * Decodes a PythonSettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PythonSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PythonSettings; /** * Verifies a PythonSettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PythonSettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PythonSettings */ public static fromObject(object: { [k: string]: any }): google.api.PythonSettings; /** * Creates a plain object from a PythonSettings message. Also converts values to other types if specified. * @param message PythonSettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.PythonSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PythonSettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PythonSettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace PythonSettings { /** Properties of an ExperimentalFeatures. */ interface IExperimentalFeatures { /** ExperimentalFeatures restAsyncIoEnabled */ restAsyncIoEnabled?: (boolean|null); /** ExperimentalFeatures protobufPythonicTypesEnabled */ protobufPythonicTypesEnabled?: (boolean|null); /** ExperimentalFeatures unversionedPackageDisabled */ unversionedPackageDisabled?: (boolean|null); } /** Represents an ExperimentalFeatures. */ class ExperimentalFeatures implements IExperimentalFeatures { /** * Constructs a new ExperimentalFeatures. * @param [properties] Properties to set */ constructor(properties?: google.api.PythonSettings.IExperimentalFeatures); /** ExperimentalFeatures restAsyncIoEnabled. */ public restAsyncIoEnabled: boolean; /** ExperimentalFeatures protobufPythonicTypesEnabled. */ public protobufPythonicTypesEnabled: boolean; /** ExperimentalFeatures unversionedPackageDisabled. */ public unversionedPackageDisabled: boolean; /** * Creates a new ExperimentalFeatures instance using the specified properties. * @param [properties] Properties to set * @returns ExperimentalFeatures instance */ public static create(properties?: google.api.PythonSettings.IExperimentalFeatures): google.api.PythonSettings.ExperimentalFeatures; /** * Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. * @param message ExperimentalFeatures message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. * @param message ExperimentalFeatures message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ExperimentalFeatures message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ExperimentalFeatures * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PythonSettings.ExperimentalFeatures; /** * Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ExperimentalFeatures * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PythonSettings.ExperimentalFeatures; /** * Verifies an ExperimentalFeatures message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExperimentalFeatures */ public static fromObject(object: { [k: string]: any }): google.api.PythonSettings.ExperimentalFeatures; /** * Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified. * @param message ExperimentalFeatures * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.PythonSettings.ExperimentalFeatures, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExperimentalFeatures to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ExperimentalFeatures * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a NodeSettings. */ interface INodeSettings { /** NodeSettings common */ common?: (google.api.ICommonLanguageSettings|null); } /** Represents a NodeSettings. */ class NodeSettings implements INodeSettings { /** * Constructs a new NodeSettings. * @param [properties] Properties to set */ constructor(properties?: google.api.INodeSettings); /** NodeSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); /** * Creates a new NodeSettings instance using the specified properties. * @param [properties] Properties to set * @returns NodeSettings instance */ public static create(properties?: google.api.INodeSettings): google.api.NodeSettings; /** * Encodes the specified NodeSettings message. Does not implicitly {@link google.api.NodeSettings.verify|verify} messages. * @param message NodeSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.INodeSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified NodeSettings message, length delimited. Does not implicitly {@link google.api.NodeSettings.verify|verify} messages. * @param message NodeSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.INodeSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NodeSettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns NodeSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.NodeSettings; /** * Decodes a NodeSettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns NodeSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.NodeSettings; /** * Verifies a NodeSettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a NodeSettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NodeSettings */ public static fromObject(object: { [k: string]: any }): google.api.NodeSettings; /** * Creates a plain object from a NodeSettings message. Also converts values to other types if specified. * @param message NodeSettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.NodeSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NodeSettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for NodeSettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DotnetSettings. */ interface IDotnetSettings { /** DotnetSettings common */ common?: (google.api.ICommonLanguageSettings|null); /** DotnetSettings renamedServices */ renamedServices?: ({ [k: string]: string }|null); /** DotnetSettings renamedResources */ renamedResources?: ({ [k: string]: string }|null); /** DotnetSettings ignoredResources */ ignoredResources?: (string[]|null); /** DotnetSettings forcedNamespaceAliases */ forcedNamespaceAliases?: (string[]|null); /** DotnetSettings handwrittenSignatures */ handwrittenSignatures?: (string[]|null); } /** Represents a DotnetSettings. */ class DotnetSettings implements IDotnetSettings { /** * Constructs a new DotnetSettings. * @param [properties] Properties to set */ constructor(properties?: google.api.IDotnetSettings); /** DotnetSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); /** DotnetSettings renamedServices. */ public renamedServices: { [k: string]: string }; /** DotnetSettings renamedResources. */ public renamedResources: { [k: string]: string }; /** DotnetSettings ignoredResources. */ public ignoredResources: string[]; /** DotnetSettings forcedNamespaceAliases. */ public forcedNamespaceAliases: string[]; /** DotnetSettings handwrittenSignatures. */ public handwrittenSignatures: string[]; /** * Creates a new DotnetSettings instance using the specified properties. * @param [properties] Properties to set * @returns DotnetSettings instance */ public static create(properties?: google.api.IDotnetSettings): google.api.DotnetSettings; /** * Encodes the specified DotnetSettings message. Does not implicitly {@link google.api.DotnetSettings.verify|verify} messages. * @param message DotnetSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IDotnetSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DotnetSettings message, length delimited. Does not implicitly {@link google.api.DotnetSettings.verify|verify} messages. * @param message DotnetSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IDotnetSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DotnetSettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DotnetSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.DotnetSettings; /** * Decodes a DotnetSettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DotnetSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.DotnetSettings; /** * Verifies a DotnetSettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DotnetSettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DotnetSettings */ public static fromObject(object: { [k: string]: any }): google.api.DotnetSettings; /** * Creates a plain object from a DotnetSettings message. Also converts values to other types if specified. * @param message DotnetSettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.DotnetSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DotnetSettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DotnetSettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RubySettings. */ interface IRubySettings { /** RubySettings common */ common?: (google.api.ICommonLanguageSettings|null); } /** Represents a RubySettings. */ class RubySettings implements IRubySettings { /** * Constructs a new RubySettings. * @param [properties] Properties to set */ constructor(properties?: google.api.IRubySettings); /** RubySettings common. */ public common?: (google.api.ICommonLanguageSettings|null); /** * Creates a new RubySettings instance using the specified properties. * @param [properties] Properties to set * @returns RubySettings instance */ public static create(properties?: google.api.IRubySettings): google.api.RubySettings; /** * Encodes the specified RubySettings message. Does not implicitly {@link google.api.RubySettings.verify|verify} messages. * @param message RubySettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IRubySettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RubySettings message, length delimited. Does not implicitly {@link google.api.RubySettings.verify|verify} messages. * @param message RubySettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IRubySettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RubySettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RubySettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.RubySettings; /** * Decodes a RubySettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RubySettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.RubySettings; /** * Verifies a RubySettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RubySettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RubySettings */ public static fromObject(object: { [k: string]: any }): google.api.RubySettings; /** * Creates a plain object from a RubySettings message. Also converts values to other types if specified. * @param message RubySettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.RubySettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RubySettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RubySettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GoSettings. */ interface IGoSettings { /** GoSettings common */ common?: (google.api.ICommonLanguageSettings|null); /** GoSettings renamedServices */ renamedServices?: ({ [k: string]: string }|null); } /** Represents a GoSettings. */ class GoSettings implements IGoSettings { /** * Constructs a new GoSettings. * @param [properties] Properties to set */ constructor(properties?: google.api.IGoSettings); /** GoSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); /** GoSettings renamedServices. */ public renamedServices: { [k: string]: string }; /** * Creates a new GoSettings instance using the specified properties. * @param [properties] Properties to set * @returns GoSettings instance */ public static create(properties?: google.api.IGoSettings): google.api.GoSettings; /** * Encodes the specified GoSettings message. Does not implicitly {@link google.api.GoSettings.verify|verify} messages. * @param message GoSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IGoSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GoSettings message, length delimited. Does not implicitly {@link google.api.GoSettings.verify|verify} messages. * @param message GoSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IGoSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GoSettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GoSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.GoSettings; /** * Decodes a GoSettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GoSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.GoSettings; /** * Verifies a GoSettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GoSettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GoSettings */ public static fromObject(object: { [k: string]: any }): google.api.GoSettings; /** * Creates a plain object from a GoSettings message. Also converts values to other types if specified. * @param message GoSettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.GoSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GoSettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GoSettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MethodSettings. */ interface IMethodSettings { /** MethodSettings selector */ selector?: (string|null); /** MethodSettings longRunning */ longRunning?: (google.api.MethodSettings.ILongRunning|null); /** MethodSettings autoPopulatedFields */ autoPopulatedFields?: (string[]|null); /** MethodSettings batching */ batching?: (google.api.IBatchingConfigProto|null); } /** Represents a MethodSettings. */ class MethodSettings implements IMethodSettings { /** * Constructs a new MethodSettings. * @param [properties] Properties to set */ constructor(properties?: google.api.IMethodSettings); /** MethodSettings selector. */ public selector: string; /** MethodSettings longRunning. */ public longRunning?: (google.api.MethodSettings.ILongRunning|null); /** MethodSettings autoPopulatedFields. */ public autoPopulatedFields: string[]; /** MethodSettings batching. */ public batching?: (google.api.IBatchingConfigProto|null); /** * Creates a new MethodSettings instance using the specified properties. * @param [properties] Properties to set * @returns MethodSettings instance */ public static create(properties?: google.api.IMethodSettings): google.api.MethodSettings; /** * Encodes the specified MethodSettings message. Does not implicitly {@link google.api.MethodSettings.verify|verify} messages. * @param message MethodSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IMethodSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MethodSettings message, length delimited. Does not implicitly {@link google.api.MethodSettings.verify|verify} messages. * @param message MethodSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IMethodSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MethodSettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MethodSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.MethodSettings; /** * Decodes a MethodSettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MethodSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.MethodSettings; /** * Verifies a MethodSettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MethodSettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MethodSettings */ public static fromObject(object: { [k: string]: any }): google.api.MethodSettings; /** * Creates a plain object from a MethodSettings message. Also converts values to other types if specified. * @param message MethodSettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.MethodSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MethodSettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MethodSettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MethodSettings { /** Properties of a LongRunning. */ interface ILongRunning { /** LongRunning initialPollDelay */ initialPollDelay?: (google.protobuf.IDuration|null); /** LongRunning pollDelayMultiplier */ pollDelayMultiplier?: (number|null); /** LongRunning maxPollDelay */ maxPollDelay?: (google.protobuf.IDuration|null); /** LongRunning totalPollTimeout */ totalPollTimeout?: (google.protobuf.IDuration|null); } /** Represents a LongRunning. */ class LongRunning implements ILongRunning { /** * Constructs a new LongRunning. * @param [properties] Properties to set */ constructor(properties?: google.api.MethodSettings.ILongRunning); /** LongRunning initialPollDelay. */ public initialPollDelay?: (google.protobuf.IDuration|null); /** LongRunning pollDelayMultiplier. */ public pollDelayMultiplier: number; /** LongRunning maxPollDelay. */ public maxPollDelay?: (google.protobuf.IDuration|null); /** LongRunning totalPollTimeout. */ public totalPollTimeout?: (google.protobuf.IDuration|null); /** * Creates a new LongRunning instance using the specified properties. * @param [properties] Properties to set * @returns LongRunning instance */ public static create(properties?: google.api.MethodSettings.ILongRunning): google.api.MethodSettings.LongRunning; /** * Encodes the specified LongRunning message. Does not implicitly {@link google.api.MethodSettings.LongRunning.verify|verify} messages. * @param message LongRunning message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.MethodSettings.ILongRunning, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LongRunning message, length delimited. Does not implicitly {@link google.api.MethodSettings.LongRunning.verify|verify} messages. * @param message LongRunning message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.MethodSettings.ILongRunning, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LongRunning message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LongRunning * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.MethodSettings.LongRunning; /** * Decodes a LongRunning message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LongRunning * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.MethodSettings.LongRunning; /** * Verifies a LongRunning message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LongRunning message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LongRunning */ public static fromObject(object: { [k: string]: any }): google.api.MethodSettings.LongRunning; /** * Creates a plain object from a LongRunning message. Also converts values to other types if specified. * @param message LongRunning * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.MethodSettings.LongRunning, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LongRunning to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for LongRunning * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** ClientLibraryOrganization enum. */ enum ClientLibraryOrganization { CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0, CLOUD = 1, ADS = 2, PHOTOS = 3, STREET_VIEW = 4, SHOPPING = 5, GEO = 6, GENERATIVE_AI = 7 } /** ClientLibraryDestination enum. */ enum ClientLibraryDestination { CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0, GITHUB = 10, PACKAGE_MANAGER = 20 } /** Properties of a SelectiveGapicGeneration. */ interface ISelectiveGapicGeneration { /** SelectiveGapicGeneration methods */ methods?: (string[]|null); /** SelectiveGapicGeneration generateOmittedAsInternal */ generateOmittedAsInternal?: (boolean|null); } /** Represents a SelectiveGapicGeneration. */ class SelectiveGapicGeneration implements ISelectiveGapicGeneration { /** * Constructs a new SelectiveGapicGeneration. * @param [properties] Properties to set */ constructor(properties?: google.api.ISelectiveGapicGeneration); /** SelectiveGapicGeneration methods. */ public methods: string[]; /** SelectiveGapicGeneration generateOmittedAsInternal. */ public generateOmittedAsInternal: boolean; /** * Creates a new SelectiveGapicGeneration instance using the specified properties. * @param [properties] Properties to set * @returns SelectiveGapicGeneration instance */ public static create(properties?: google.api.ISelectiveGapicGeneration): google.api.SelectiveGapicGeneration; /** * Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. * @param message SelectiveGapicGeneration message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. * @param message SelectiveGapicGeneration message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SelectiveGapicGeneration message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SelectiveGapicGeneration * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.SelectiveGapicGeneration; /** * Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SelectiveGapicGeneration * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.SelectiveGapicGeneration; /** * Verifies a SelectiveGapicGeneration message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SelectiveGapicGeneration */ public static fromObject(object: { [k: string]: any }): google.api.SelectiveGapicGeneration; /** * Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified. * @param message SelectiveGapicGeneration * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.SelectiveGapicGeneration, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SelectiveGapicGeneration to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SelectiveGapicGeneration * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchingConfigProto. */ interface IBatchingConfigProto { /** BatchingConfigProto thresholds */ thresholds?: (google.api.IBatchingSettingsProto|null); /** BatchingConfigProto batchDescriptor */ batchDescriptor?: (google.api.IBatchingDescriptorProto|null); } /** Represents a BatchingConfigProto. */ class BatchingConfigProto implements IBatchingConfigProto { /** * Constructs a new BatchingConfigProto. * @param [properties] Properties to set */ constructor(properties?: google.api.IBatchingConfigProto); /** BatchingConfigProto thresholds. */ public thresholds?: (google.api.IBatchingSettingsProto|null); /** BatchingConfigProto batchDescriptor. */ public batchDescriptor?: (google.api.IBatchingDescriptorProto|null); /** * Creates a new BatchingConfigProto instance using the specified properties. * @param [properties] Properties to set * @returns BatchingConfigProto instance */ public static create(properties?: google.api.IBatchingConfigProto): google.api.BatchingConfigProto; /** * Encodes the specified BatchingConfigProto message. Does not implicitly {@link google.api.BatchingConfigProto.verify|verify} messages. * @param message BatchingConfigProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IBatchingConfigProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BatchingConfigProto message, length delimited. Does not implicitly {@link google.api.BatchingConfigProto.verify|verify} messages. * @param message BatchingConfigProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IBatchingConfigProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BatchingConfigProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BatchingConfigProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.BatchingConfigProto; /** * Decodes a BatchingConfigProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BatchingConfigProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.BatchingConfigProto; /** * Verifies a BatchingConfigProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BatchingConfigProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BatchingConfigProto */ public static fromObject(object: { [k: string]: any }): google.api.BatchingConfigProto; /** * Creates a plain object from a BatchingConfigProto message. Also converts values to other types if specified. * @param message BatchingConfigProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.BatchingConfigProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BatchingConfigProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BatchingConfigProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchingSettingsProto. */ interface IBatchingSettingsProto { /** BatchingSettingsProto elementCountThreshold */ elementCountThreshold?: (number|null); /** BatchingSettingsProto requestByteThreshold */ requestByteThreshold?: (number|Long|string|null); /** BatchingSettingsProto delayThreshold */ delayThreshold?: (google.protobuf.IDuration|null); /** BatchingSettingsProto elementCountLimit */ elementCountLimit?: (number|null); /** BatchingSettingsProto requestByteLimit */ requestByteLimit?: (number|null); /** BatchingSettingsProto flowControlElementLimit */ flowControlElementLimit?: (number|null); /** BatchingSettingsProto flowControlByteLimit */ flowControlByteLimit?: (number|null); /** BatchingSettingsProto flowControlLimitExceededBehavior */ flowControlLimitExceededBehavior?: (google.api.FlowControlLimitExceededBehaviorProto|keyof typeof google.api.FlowControlLimitExceededBehaviorProto|null); } /** Represents a BatchingSettingsProto. */ class BatchingSettingsProto implements IBatchingSettingsProto { /** * Constructs a new BatchingSettingsProto. * @param [properties] Properties to set */ constructor(properties?: google.api.IBatchingSettingsProto); /** BatchingSettingsProto elementCountThreshold. */ public elementCountThreshold: number; /** BatchingSettingsProto requestByteThreshold. */ public requestByteThreshold: (number|Long|string); /** BatchingSettingsProto delayThreshold. */ public delayThreshold?: (google.protobuf.IDuration|null); /** BatchingSettingsProto elementCountLimit. */ public elementCountLimit: number; /** BatchingSettingsProto requestByteLimit. */ public requestByteLimit: number; /** BatchingSettingsProto flowControlElementLimit. */ public flowControlElementLimit: number; /** BatchingSettingsProto flowControlByteLimit. */ public flowControlByteLimit: number; /** BatchingSettingsProto flowControlLimitExceededBehavior. */ public flowControlLimitExceededBehavior: (google.api.FlowControlLimitExceededBehaviorProto|keyof typeof google.api.FlowControlLimitExceededBehaviorProto); /** * Creates a new BatchingSettingsProto instance using the specified properties. * @param [properties] Properties to set * @returns BatchingSettingsProto instance */ public static create(properties?: google.api.IBatchingSettingsProto): google.api.BatchingSettingsProto; /** * Encodes the specified BatchingSettingsProto message. Does not implicitly {@link google.api.BatchingSettingsProto.verify|verify} messages. * @param message BatchingSettingsProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IBatchingSettingsProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BatchingSettingsProto message, length delimited. Does not implicitly {@link google.api.BatchingSettingsProto.verify|verify} messages. * @param message BatchingSettingsProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IBatchingSettingsProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BatchingSettingsProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BatchingSettingsProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.BatchingSettingsProto; /** * Decodes a BatchingSettingsProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BatchingSettingsProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.BatchingSettingsProto; /** * Verifies a BatchingSettingsProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BatchingSettingsProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BatchingSettingsProto */ public static fromObject(object: { [k: string]: any }): google.api.BatchingSettingsProto; /** * Creates a plain object from a BatchingSettingsProto message. Also converts values to other types if specified. * @param message BatchingSettingsProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.BatchingSettingsProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BatchingSettingsProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BatchingSettingsProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** FlowControlLimitExceededBehaviorProto enum. */ enum FlowControlLimitExceededBehaviorProto { UNSET_BEHAVIOR = 0, THROW_EXCEPTION = 1, BLOCK = 2, IGNORE = 3 } /** Properties of a BatchingDescriptorProto. */ interface IBatchingDescriptorProto { /** BatchingDescriptorProto batchedField */ batchedField?: (string|null); /** BatchingDescriptorProto discriminatorFields */ discriminatorFields?: (string[]|null); /** BatchingDescriptorProto subresponseField */ subresponseField?: (string|null); } /** Represents a BatchingDescriptorProto. */ class BatchingDescriptorProto implements IBatchingDescriptorProto { /** * Constructs a new BatchingDescriptorProto. * @param [properties] Properties to set */ constructor(properties?: google.api.IBatchingDescriptorProto); /** BatchingDescriptorProto batchedField. */ public batchedField: string; /** BatchingDescriptorProto discriminatorFields. */ public discriminatorFields: string[]; /** BatchingDescriptorProto subresponseField. */ public subresponseField: string; /** * Creates a new BatchingDescriptorProto instance using the specified properties. * @param [properties] Properties to set * @returns BatchingDescriptorProto instance */ public static create(properties?: google.api.IBatchingDescriptorProto): google.api.BatchingDescriptorProto; /** * Encodes the specified BatchingDescriptorProto message. Does not implicitly {@link google.api.BatchingDescriptorProto.verify|verify} messages. * @param message BatchingDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IBatchingDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BatchingDescriptorProto message, length delimited. Does not implicitly {@link google.api.BatchingDescriptorProto.verify|verify} messages. * @param message BatchingDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IBatchingDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BatchingDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BatchingDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.BatchingDescriptorProto; /** * Decodes a BatchingDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BatchingDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.BatchingDescriptorProto; /** * Verifies a BatchingDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BatchingDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BatchingDescriptorProto */ public static fromObject(object: { [k: string]: any }): google.api.BatchingDescriptorProto; /** * Creates a plain object from a BatchingDescriptorProto message. Also converts values to other types if specified. * @param message BatchingDescriptorProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.BatchingDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BatchingDescriptorProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BatchingDescriptorProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** LaunchStage enum. */ enum LaunchStage { LAUNCH_STAGE_UNSPECIFIED = 0, UNIMPLEMENTED = 6, PRELAUNCH = 7, EARLY_ACCESS = 1, ALPHA = 2, BETA = 3, GA = 4, DEPRECATED = 5 } /** FieldBehavior enum. */ enum FieldBehavior { FIELD_BEHAVIOR_UNSPECIFIED = 0, OPTIONAL = 1, REQUIRED = 2, OUTPUT_ONLY = 3, INPUT_ONLY = 4, IMMUTABLE = 5, UNORDERED_LIST = 6, NON_EMPTY_DEFAULT = 7, IDENTIFIER = 8 } /** Properties of a ResourceDescriptor. */ interface IResourceDescriptor { /** ResourceDescriptor type */ type?: (string|null); /** ResourceDescriptor pattern */ pattern?: (string[]|null); /** ResourceDescriptor nameField */ nameField?: (string|null); /** ResourceDescriptor history */ history?: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History|null); /** ResourceDescriptor plural */ plural?: (string|null); /** ResourceDescriptor singular */ singular?: (string|null); /** ResourceDescriptor style */ style?: (google.api.ResourceDescriptor.Style[]|null); } /** Represents a ResourceDescriptor. */ class ResourceDescriptor implements IResourceDescriptor { /** * Constructs a new ResourceDescriptor. * @param [properties] Properties to set */ constructor(properties?: google.api.IResourceDescriptor); /** ResourceDescriptor type. */ public type: string; /** ResourceDescriptor pattern. */ public pattern: string[]; /** ResourceDescriptor nameField. */ public nameField: string; /** ResourceDescriptor history. */ public history: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History); /** ResourceDescriptor plural. */ public plural: string; /** ResourceDescriptor singular. */ public singular: string; /** ResourceDescriptor style. */ public style: google.api.ResourceDescriptor.Style[]; /** * Creates a new ResourceDescriptor instance using the specified properties. * @param [properties] Properties to set * @returns ResourceDescriptor instance */ public static create(properties?: google.api.IResourceDescriptor): google.api.ResourceDescriptor; /** * Encodes the specified ResourceDescriptor message. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages. * @param message ResourceDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ResourceDescriptor message, length delimited. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages. * @param message ResourceDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ResourceDescriptor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ResourceDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceDescriptor; /** * Decodes a ResourceDescriptor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ResourceDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceDescriptor; /** * Verifies a ResourceDescriptor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ResourceDescriptor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ResourceDescriptor */ public static fromObject(object: { [k: string]: any }): google.api.ResourceDescriptor; /** * Creates a plain object from a ResourceDescriptor message. Also converts values to other types if specified. * @param message ResourceDescriptor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.ResourceDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ResourceDescriptor to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ResourceDescriptor * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ResourceDescriptor { /** History enum. */ enum History { HISTORY_UNSPECIFIED = 0, ORIGINALLY_SINGLE_PATTERN = 1, FUTURE_MULTI_PATTERN = 2 } /** Style enum. */ enum Style { STYLE_UNSPECIFIED = 0, DECLARATIVE_FRIENDLY = 1 } } /** Properties of a ResourceReference. */ interface IResourceReference { /** ResourceReference type */ type?: (string|null); /** ResourceReference childType */ childType?: (string|null); } /** Represents a ResourceReference. */ class ResourceReference implements IResourceReference { /** * Constructs a new ResourceReference. * @param [properties] Properties to set */ constructor(properties?: google.api.IResourceReference); /** ResourceReference type. */ public type: string; /** ResourceReference childType. */ public childType: string; /** * Creates a new ResourceReference instance using the specified properties. * @param [properties] Properties to set * @returns ResourceReference instance */ public static create(properties?: google.api.IResourceReference): google.api.ResourceReference; /** * Encodes the specified ResourceReference message. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages. * @param message ResourceReference message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ResourceReference message, length delimited. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages. * @param message ResourceReference message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ResourceReference message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ResourceReference * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceReference; /** * Decodes a ResourceReference message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ResourceReference * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceReference; /** * Verifies a ResourceReference message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ResourceReference message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ResourceReference */ public static fromObject(object: { [k: string]: any }): google.api.ResourceReference; /** * Creates a plain object from a ResourceReference message. Also converts values to other types if specified. * @param message ResourceReference * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.ResourceReference, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ResourceReference to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ResourceReference * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Namespace protobuf. */ namespace protobuf { /** Properties of a FileDescriptorSet. */ interface IFileDescriptorSet { /** FileDescriptorSet file */ file?: (google.protobuf.IFileDescriptorProto[]|null); } /** Represents a FileDescriptorSet. */ class FileDescriptorSet implements IFileDescriptorSet { /** * Constructs a new FileDescriptorSet. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IFileDescriptorSet); /** FileDescriptorSet file. */ public file: google.protobuf.IFileDescriptorProto[]; /** * Creates a new FileDescriptorSet instance using the specified properties. * @param [properties] Properties to set * @returns FileDescriptorSet instance */ public static create(properties?: google.protobuf.IFileDescriptorSet): google.protobuf.FileDescriptorSet; /** * Encodes the specified FileDescriptorSet message. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages. * @param message FileDescriptorSet message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FileDescriptorSet message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages. * @param message FileDescriptorSet message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FileDescriptorSet message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FileDescriptorSet * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorSet; /** * Decodes a FileDescriptorSet message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FileDescriptorSet * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorSet; /** * Verifies a FileDescriptorSet message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FileDescriptorSet message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FileDescriptorSet */ public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorSet; /** * Creates a plain object from a FileDescriptorSet message. Also converts values to other types if specified. * @param message FileDescriptorSet * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FileDescriptorSet, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FileDescriptorSet to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FileDescriptorSet * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Edition enum. */ enum Edition { EDITION_UNKNOWN = 0, EDITION_LEGACY = 900, EDITION_PROTO2 = 998, EDITION_PROTO3 = 999, EDITION_2023 = 1000, EDITION_2024 = 1001, EDITION_2026 = 1002, EDITION_UNSTABLE = 9999, EDITION_1_TEST_ONLY = 1, EDITION_2_TEST_ONLY = 2, EDITION_99997_TEST_ONLY = 99997, EDITION_99998_TEST_ONLY = 99998, EDITION_99999_TEST_ONLY = 99999, EDITION_MAX = 2147483647 } /** Properties of a FileDescriptorProto. */ interface IFileDescriptorProto { /** FileDescriptorProto name */ name?: (string|null); /** FileDescriptorProto package */ "package"?: (string|null); /** FileDescriptorProto dependency */ dependency?: (string[]|null); /** FileDescriptorProto publicDependency */ publicDependency?: (number[]|null); /** FileDescriptorProto weakDependency */ weakDependency?: (number[]|null); /** FileDescriptorProto optionDependency */ optionDependency?: (string[]|null); /** FileDescriptorProto messageType */ messageType?: (google.protobuf.IDescriptorProto[]|null); /** FileDescriptorProto enumType */ enumType?: (google.protobuf.IEnumDescriptorProto[]|null); /** FileDescriptorProto service */ service?: (google.protobuf.IServiceDescriptorProto[]|null); /** FileDescriptorProto extension */ extension?: (google.protobuf.IFieldDescriptorProto[]|null); /** FileDescriptorProto options */ options?: (google.protobuf.IFileOptions|null); /** FileDescriptorProto sourceCodeInfo */ sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null); /** FileDescriptorProto syntax */ syntax?: (string|null); /** FileDescriptorProto edition */ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); } /** Represents a FileDescriptorProto. */ class FileDescriptorProto implements IFileDescriptorProto { /** * Constructs a new FileDescriptorProto. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IFileDescriptorProto); /** FileDescriptorProto name. */ public name: string; /** FileDescriptorProto package. */ public package: string; /** FileDescriptorProto dependency. */ public dependency: string[]; /** FileDescriptorProto publicDependency. */ public publicDependency: number[]; /** FileDescriptorProto weakDependency. */ public weakDependency: number[]; /** FileDescriptorProto optionDependency. */ public optionDependency: string[]; /** FileDescriptorProto messageType. */ public messageType: google.protobuf.IDescriptorProto[]; /** FileDescriptorProto enumType. */ public enumType: google.protobuf.IEnumDescriptorProto[]; /** FileDescriptorProto service. */ public service: google.protobuf.IServiceDescriptorProto[]; /** FileDescriptorProto extension. */ public extension: google.protobuf.IFieldDescriptorProto[]; /** FileDescriptorProto options. */ public options?: (google.protobuf.IFileOptions|null); /** FileDescriptorProto sourceCodeInfo. */ public sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null); /** FileDescriptorProto syntax. */ public syntax: string; /** FileDescriptorProto edition. */ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); /** * Creates a new FileDescriptorProto instance using the specified properties. * @param [properties] Properties to set * @returns FileDescriptorProto instance */ public static create(properties?: google.protobuf.IFileDescriptorProto): google.protobuf.FileDescriptorProto; /** * Encodes the specified FileDescriptorProto message. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages. * @param message FileDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FileDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages. * @param message FileDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FileDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FileDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorProto; /** * Decodes a FileDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FileDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorProto; /** * Verifies a FileDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FileDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FileDescriptorProto */ public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorProto; /** * Creates a plain object from a FileDescriptorProto message. Also converts values to other types if specified. * @param message FileDescriptorProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FileDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FileDescriptorProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FileDescriptorProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DescriptorProto. */ interface IDescriptorProto { /** DescriptorProto name */ name?: (string|null); /** DescriptorProto field */ field?: (google.protobuf.IFieldDescriptorProto[]|null); /** DescriptorProto extension */ extension?: (google.protobuf.IFieldDescriptorProto[]|null); /** DescriptorProto nestedType */ nestedType?: (google.protobuf.IDescriptorProto[]|null); /** DescriptorProto enumType */ enumType?: (google.protobuf.IEnumDescriptorProto[]|null); /** DescriptorProto extensionRange */ extensionRange?: (google.protobuf.DescriptorProto.IExtensionRange[]|null); /** DescriptorProto oneofDecl */ oneofDecl?: (google.protobuf.IOneofDescriptorProto[]|null); /** DescriptorProto options */ options?: (google.protobuf.IMessageOptions|null); /** DescriptorProto reservedRange */ reservedRange?: (google.protobuf.DescriptorProto.IReservedRange[]|null); /** DescriptorProto reservedName */ reservedName?: (string[]|null); /** DescriptorProto visibility */ visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null); } /** Represents a DescriptorProto. */ class DescriptorProto implements IDescriptorProto { /** * Constructs a new DescriptorProto. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IDescriptorProto); /** DescriptorProto name. */ public name: string; /** DescriptorProto field. */ public field: google.protobuf.IFieldDescriptorProto[]; /** DescriptorProto extension. */ public extension: google.protobuf.IFieldDescriptorProto[]; /** DescriptorProto nestedType. */ public nestedType: google.protobuf.IDescriptorProto[]; /** DescriptorProto enumType. */ public enumType: google.protobuf.IEnumDescriptorProto[]; /** DescriptorProto extensionRange. */ public extensionRange: google.protobuf.DescriptorProto.IExtensionRange[]; /** DescriptorProto oneofDecl. */ public oneofDecl: google.protobuf.IOneofDescriptorProto[]; /** DescriptorProto options. */ public options?: (google.protobuf.IMessageOptions|null); /** DescriptorProto reservedRange. */ public reservedRange: google.protobuf.DescriptorProto.IReservedRange[]; /** DescriptorProto reservedName. */ public reservedName: string[]; /** DescriptorProto visibility. */ public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility); /** * Creates a new DescriptorProto instance using the specified properties. * @param [properties] Properties to set * @returns DescriptorProto instance */ public static create(properties?: google.protobuf.IDescriptorProto): google.protobuf.DescriptorProto; /** * Encodes the specified DescriptorProto message. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages. * @param message DescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages. * @param message DescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto; /** * Decodes a DescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto; /** * Verifies a DescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DescriptorProto */ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto; /** * Creates a plain object from a DescriptorProto message. Also converts values to other types if specified. * @param message DescriptorProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.DescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DescriptorProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DescriptorProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace DescriptorProto { /** Properties of an ExtensionRange. */ interface IExtensionRange { /** ExtensionRange start */ start?: (number|null); /** ExtensionRange end */ end?: (number|null); /** ExtensionRange options */ options?: (google.protobuf.IExtensionRangeOptions|null); } /** Represents an ExtensionRange. */ class ExtensionRange implements IExtensionRange { /** * Constructs a new ExtensionRange. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.DescriptorProto.IExtensionRange); /** ExtensionRange start. */ public start: number; /** ExtensionRange end. */ public end: number; /** ExtensionRange options. */ public options?: (google.protobuf.IExtensionRangeOptions|null); /** * Creates a new ExtensionRange instance using the specified properties. * @param [properties] Properties to set * @returns ExtensionRange instance */ public static create(properties?: google.protobuf.DescriptorProto.IExtensionRange): google.protobuf.DescriptorProto.ExtensionRange; /** * Encodes the specified ExtensionRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages. * @param message ExtensionRange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ExtensionRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages. * @param message ExtensionRange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ExtensionRange message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ExtensionRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ExtensionRange; /** * Decodes an ExtensionRange message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ExtensionRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ExtensionRange; /** * Verifies an ExtensionRange message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ExtensionRange message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExtensionRange */ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ExtensionRange; /** * Creates a plain object from an ExtensionRange message. Also converts values to other types if specified. * @param message ExtensionRange * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.DescriptorProto.ExtensionRange, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExtensionRange to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ExtensionRange * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ReservedRange. */ interface IReservedRange { /** ReservedRange start */ start?: (number|null); /** ReservedRange end */ end?: (number|null); } /** Represents a ReservedRange. */ class ReservedRange implements IReservedRange { /** * Constructs a new ReservedRange. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.DescriptorProto.IReservedRange); /** ReservedRange start. */ public start: number; /** ReservedRange end. */ public end: number; /** * Creates a new ReservedRange instance using the specified properties. * @param [properties] Properties to set * @returns ReservedRange instance */ public static create(properties?: google.protobuf.DescriptorProto.IReservedRange): google.protobuf.DescriptorProto.ReservedRange; /** * Encodes the specified ReservedRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages. * @param message ReservedRange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ReservedRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages. * @param message ReservedRange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ReservedRange message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ReservedRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ReservedRange; /** * Decodes a ReservedRange message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ReservedRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ReservedRange; /** * Verifies a ReservedRange message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ReservedRange message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ReservedRange */ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ReservedRange; /** * Creates a plain object from a ReservedRange message. Also converts values to other types if specified. * @param message ReservedRange * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.DescriptorProto.ReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ReservedRange to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ReservedRange * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of an ExtensionRangeOptions. */ interface IExtensionRangeOptions { /** ExtensionRangeOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); /** ExtensionRangeOptions declaration */ declaration?: (google.protobuf.ExtensionRangeOptions.IDeclaration[]|null); /** ExtensionRangeOptions features */ features?: (google.protobuf.IFeatureSet|null); /** ExtensionRangeOptions verification */ verification?: (google.protobuf.ExtensionRangeOptions.VerificationState|keyof typeof google.protobuf.ExtensionRangeOptions.VerificationState|null); } /** Represents an ExtensionRangeOptions. */ class ExtensionRangeOptions implements IExtensionRangeOptions { /** * Constructs a new ExtensionRangeOptions. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IExtensionRangeOptions); /** ExtensionRangeOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; /** ExtensionRangeOptions declaration. */ public declaration: google.protobuf.ExtensionRangeOptions.IDeclaration[]; /** ExtensionRangeOptions features. */ public features?: (google.protobuf.IFeatureSet|null); /** ExtensionRangeOptions verification. */ public verification: (google.protobuf.ExtensionRangeOptions.VerificationState|keyof typeof google.protobuf.ExtensionRangeOptions.VerificationState); /** * Creates a new ExtensionRangeOptions instance using the specified properties. * @param [properties] Properties to set * @returns ExtensionRangeOptions instance */ public static create(properties?: google.protobuf.IExtensionRangeOptions): google.protobuf.ExtensionRangeOptions; /** * Encodes the specified ExtensionRangeOptions message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages. * @param message ExtensionRangeOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ExtensionRangeOptions message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages. * @param message ExtensionRangeOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ExtensionRangeOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ExtensionRangeOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ExtensionRangeOptions; /** * Decodes an ExtensionRangeOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ExtensionRangeOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ExtensionRangeOptions; /** * Verifies an ExtensionRangeOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ExtensionRangeOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExtensionRangeOptions */ public static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions; /** * Creates a plain object from an ExtensionRangeOptions message. Also converts values to other types if specified. * @param message ExtensionRangeOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.ExtensionRangeOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExtensionRangeOptions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ExtensionRangeOptions * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ExtensionRangeOptions { /** Properties of a Declaration. */ interface IDeclaration { /** Declaration number */ number?: (number|null); /** Declaration fullName */ fullName?: (string|null); /** Declaration type */ type?: (string|null); /** Declaration reserved */ reserved?: (boolean|null); /** Declaration repeated */ repeated?: (boolean|null); } /** Represents a Declaration. */ class Declaration implements IDeclaration { /** * Constructs a new Declaration. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.ExtensionRangeOptions.IDeclaration); /** Declaration number. */ public number: number; /** Declaration fullName. */ public fullName: string; /** Declaration type. */ public type: string; /** Declaration reserved. */ public reserved: boolean; /** Declaration repeated. */ public repeated: boolean; /** * Creates a new Declaration instance using the specified properties. * @param [properties] Properties to set * @returns Declaration instance */ public static create(properties?: google.protobuf.ExtensionRangeOptions.IDeclaration): google.protobuf.ExtensionRangeOptions.Declaration; /** * Encodes the specified Declaration message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages. * @param message Declaration message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.ExtensionRangeOptions.IDeclaration, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Declaration message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages. * @param message Declaration message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.ExtensionRangeOptions.IDeclaration, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Declaration message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Declaration * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ExtensionRangeOptions.Declaration; /** * Decodes a Declaration message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Declaration * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ExtensionRangeOptions.Declaration; /** * Verifies a Declaration message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Declaration message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Declaration */ public static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions.Declaration; /** * Creates a plain object from a Declaration message. Also converts values to other types if specified. * @param message Declaration * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.ExtensionRangeOptions.Declaration, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Declaration to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Declaration * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** VerificationState enum. */ enum VerificationState { DECLARATION = 0, UNVERIFIED = 1 } } /** Properties of a FieldDescriptorProto. */ interface IFieldDescriptorProto { /** FieldDescriptorProto name */ name?: (string|null); /** FieldDescriptorProto number */ number?: (number|null); /** FieldDescriptorProto label */ label?: (google.protobuf.FieldDescriptorProto.Label|keyof typeof google.protobuf.FieldDescriptorProto.Label|null); /** FieldDescriptorProto type */ type?: (google.protobuf.FieldDescriptorProto.Type|keyof typeof google.protobuf.FieldDescriptorProto.Type|null); /** FieldDescriptorProto typeName */ typeName?: (string|null); /** FieldDescriptorProto extendee */ extendee?: (string|null); /** FieldDescriptorProto defaultValue */ defaultValue?: (string|null); /** FieldDescriptorProto oneofIndex */ oneofIndex?: (number|null); /** FieldDescriptorProto jsonName */ jsonName?: (string|null); /** FieldDescriptorProto options */ options?: (google.protobuf.IFieldOptions|null); /** FieldDescriptorProto proto3Optional */ proto3Optional?: (boolean|null); } /** Represents a FieldDescriptorProto. */ class FieldDescriptorProto implements IFieldDescriptorProto { /** * Constructs a new FieldDescriptorProto. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IFieldDescriptorProto); /** FieldDescriptorProto name. */ public name: string; /** FieldDescriptorProto number. */ public number: number; /** FieldDescriptorProto label. */ public label: (google.protobuf.FieldDescriptorProto.Label|keyof typeof google.protobuf.FieldDescriptorProto.Label); /** FieldDescriptorProto type. */ public type: (google.protobuf.FieldDescriptorProto.Type|keyof typeof google.protobuf.FieldDescriptorProto.Type); /** FieldDescriptorProto typeName. */ public typeName: string; /** FieldDescriptorProto extendee. */ public extendee: string; /** FieldDescriptorProto defaultValue. */ public defaultValue: string; /** FieldDescriptorProto oneofIndex. */ public oneofIndex: number; /** FieldDescriptorProto jsonName. */ public jsonName: string; /** FieldDescriptorProto options. */ public options?: (google.protobuf.IFieldOptions|null); /** FieldDescriptorProto proto3Optional. */ public proto3Optional: boolean; /** * Creates a new FieldDescriptorProto instance using the specified properties. * @param [properties] Properties to set * @returns FieldDescriptorProto instance */ public static create(properties?: google.protobuf.IFieldDescriptorProto): google.protobuf.FieldDescriptorProto; /** * Encodes the specified FieldDescriptorProto message. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages. * @param message FieldDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FieldDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages. * @param message FieldDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FieldDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FieldDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldDescriptorProto; /** * Decodes a FieldDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FieldDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldDescriptorProto; /** * Verifies a FieldDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FieldDescriptorProto */ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldDescriptorProto; /** * Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified. * @param message FieldDescriptorProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FieldDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FieldDescriptorProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FieldDescriptorProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace FieldDescriptorProto { /** Type enum. */ enum Type { TYPE_DOUBLE = 1, TYPE_FLOAT = 2, TYPE_INT64 = 3, TYPE_UINT64 = 4, TYPE_INT32 = 5, TYPE_FIXED64 = 6, TYPE_FIXED32 = 7, TYPE_BOOL = 8, TYPE_STRING = 9, TYPE_GROUP = 10, TYPE_MESSAGE = 11, TYPE_BYTES = 12, TYPE_UINT32 = 13, TYPE_ENUM = 14, TYPE_SFIXED32 = 15, TYPE_SFIXED64 = 16, TYPE_SINT32 = 17, TYPE_SINT64 = 18 } /** Label enum. */ enum Label { LABEL_OPTIONAL = 1, LABEL_REPEATED = 3, LABEL_REQUIRED = 2 } } /** Properties of an OneofDescriptorProto. */ interface IOneofDescriptorProto { /** OneofDescriptorProto name */ name?: (string|null); /** OneofDescriptorProto options */ options?: (google.protobuf.IOneofOptions|null); } /** Represents an OneofDescriptorProto. */ class OneofDescriptorProto implements IOneofDescriptorProto { /** * Constructs a new OneofDescriptorProto. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IOneofDescriptorProto); /** OneofDescriptorProto name. */ public name: string; /** OneofDescriptorProto options. */ public options?: (google.protobuf.IOneofOptions|null); /** * Creates a new OneofDescriptorProto instance using the specified properties. * @param [properties] Properties to set * @returns OneofDescriptorProto instance */ public static create(properties?: google.protobuf.IOneofDescriptorProto): google.protobuf.OneofDescriptorProto; /** * Encodes the specified OneofDescriptorProto message. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages. * @param message OneofDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified OneofDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages. * @param message OneofDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an OneofDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns OneofDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofDescriptorProto; /** * Decodes an OneofDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns OneofDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofDescriptorProto; /** * Verifies an OneofDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an OneofDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns OneofDescriptorProto */ public static fromObject(object: { [k: string]: any }): google.protobuf.OneofDescriptorProto; /** * Creates a plain object from an OneofDescriptorProto message. Also converts values to other types if specified. * @param message OneofDescriptorProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.OneofDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this OneofDescriptorProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for OneofDescriptorProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EnumDescriptorProto. */ interface IEnumDescriptorProto { /** EnumDescriptorProto name */ name?: (string|null); /** EnumDescriptorProto value */ value?: (google.protobuf.IEnumValueDescriptorProto[]|null); /** EnumDescriptorProto options */ options?: (google.protobuf.IEnumOptions|null); /** EnumDescriptorProto reservedRange */ reservedRange?: (google.protobuf.EnumDescriptorProto.IEnumReservedRange[]|null); /** EnumDescriptorProto reservedName */ reservedName?: (string[]|null); /** EnumDescriptorProto visibility */ visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null); } /** Represents an EnumDescriptorProto. */ class EnumDescriptorProto implements IEnumDescriptorProto { /** * Constructs a new EnumDescriptorProto. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IEnumDescriptorProto); /** EnumDescriptorProto name. */ public name: string; /** EnumDescriptorProto value. */ public value: google.protobuf.IEnumValueDescriptorProto[]; /** EnumDescriptorProto options. */ public options?: (google.protobuf.IEnumOptions|null); /** EnumDescriptorProto reservedRange. */ public reservedRange: google.protobuf.EnumDescriptorProto.IEnumReservedRange[]; /** EnumDescriptorProto reservedName. */ public reservedName: string[]; /** EnumDescriptorProto visibility. */ public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility); /** * Creates a new EnumDescriptorProto instance using the specified properties. * @param [properties] Properties to set * @returns EnumDescriptorProto instance */ public static create(properties?: google.protobuf.IEnumDescriptorProto): google.protobuf.EnumDescriptorProto; /** * Encodes the specified EnumDescriptorProto message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages. * @param message EnumDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EnumDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages. * @param message EnumDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EnumDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EnumDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto; /** * Decodes an EnumDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EnumDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto; /** * Verifies an EnumDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EnumDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EnumDescriptorProto */ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto; /** * Creates a plain object from an EnumDescriptorProto message. Also converts values to other types if specified. * @param message EnumDescriptorProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.EnumDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EnumDescriptorProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EnumDescriptorProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace EnumDescriptorProto { /** Properties of an EnumReservedRange. */ interface IEnumReservedRange { /** EnumReservedRange start */ start?: (number|null); /** EnumReservedRange end */ end?: (number|null); } /** Represents an EnumReservedRange. */ class EnumReservedRange implements IEnumReservedRange { /** * Constructs a new EnumReservedRange. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange); /** EnumReservedRange start. */ public start: number; /** EnumReservedRange end. */ public end: number; /** * Creates a new EnumReservedRange instance using the specified properties. * @param [properties] Properties to set * @returns EnumReservedRange instance */ public static create(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange): google.protobuf.EnumDescriptorProto.EnumReservedRange; /** * Encodes the specified EnumReservedRange message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages. * @param message EnumReservedRange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EnumReservedRange message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages. * @param message EnumReservedRange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EnumReservedRange message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EnumReservedRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto.EnumReservedRange; /** * Decodes an EnumReservedRange message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EnumReservedRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto.EnumReservedRange; /** * Verifies an EnumReservedRange message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EnumReservedRange message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EnumReservedRange */ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto.EnumReservedRange; /** * Creates a plain object from an EnumReservedRange message. Also converts values to other types if specified. * @param message EnumReservedRange * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.EnumDescriptorProto.EnumReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EnumReservedRange to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EnumReservedRange * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of an EnumValueDescriptorProto. */ interface IEnumValueDescriptorProto { /** EnumValueDescriptorProto name */ name?: (string|null); /** EnumValueDescriptorProto number */ number?: (number|null); /** EnumValueDescriptorProto options */ options?: (google.protobuf.IEnumValueOptions|null); } /** Represents an EnumValueDescriptorProto. */ class EnumValueDescriptorProto implements IEnumValueDescriptorProto { /** * Constructs a new EnumValueDescriptorProto. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IEnumValueDescriptorProto); /** EnumValueDescriptorProto name. */ public name: string; /** EnumValueDescriptorProto number. */ public number: number; /** EnumValueDescriptorProto options. */ public options?: (google.protobuf.IEnumValueOptions|null); /** * Creates a new EnumValueDescriptorProto instance using the specified properties. * @param [properties] Properties to set * @returns EnumValueDescriptorProto instance */ public static create(properties?: google.protobuf.IEnumValueDescriptorProto): google.protobuf.EnumValueDescriptorProto; /** * Encodes the specified EnumValueDescriptorProto message. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages. * @param message EnumValueDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EnumValueDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages. * @param message EnumValueDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EnumValueDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EnumValueDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueDescriptorProto; /** * Decodes an EnumValueDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EnumValueDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueDescriptorProto; /** * Verifies an EnumValueDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EnumValueDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EnumValueDescriptorProto */ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueDescriptorProto; /** * Creates a plain object from an EnumValueDescriptorProto message. Also converts values to other types if specified. * @param message EnumValueDescriptorProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.EnumValueDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EnumValueDescriptorProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EnumValueDescriptorProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ServiceDescriptorProto. */ interface IServiceDescriptorProto { /** ServiceDescriptorProto name */ name?: (string|null); /** ServiceDescriptorProto method */ method?: (google.protobuf.IMethodDescriptorProto[]|null); /** ServiceDescriptorProto options */ options?: (google.protobuf.IServiceOptions|null); } /** Represents a ServiceDescriptorProto. */ class ServiceDescriptorProto implements IServiceDescriptorProto { /** * Constructs a new ServiceDescriptorProto. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IServiceDescriptorProto); /** ServiceDescriptorProto name. */ public name: string; /** ServiceDescriptorProto method. */ public method: google.protobuf.IMethodDescriptorProto[]; /** ServiceDescriptorProto options. */ public options?: (google.protobuf.IServiceOptions|null); /** * Creates a new ServiceDescriptorProto instance using the specified properties. * @param [properties] Properties to set * @returns ServiceDescriptorProto instance */ public static create(properties?: google.protobuf.IServiceDescriptorProto): google.protobuf.ServiceDescriptorProto; /** * Encodes the specified ServiceDescriptorProto message. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages. * @param message ServiceDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ServiceDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages. * @param message ServiceDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ServiceDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ServiceDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceDescriptorProto; /** * Decodes a ServiceDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ServiceDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceDescriptorProto; /** * Verifies a ServiceDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ServiceDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ServiceDescriptorProto */ public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceDescriptorProto; /** * Creates a plain object from a ServiceDescriptorProto message. Also converts values to other types if specified. * @param message ServiceDescriptorProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.ServiceDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ServiceDescriptorProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ServiceDescriptorProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MethodDescriptorProto. */ interface IMethodDescriptorProto { /** MethodDescriptorProto name */ name?: (string|null); /** MethodDescriptorProto inputType */ inputType?: (string|null); /** MethodDescriptorProto outputType */ outputType?: (string|null); /** MethodDescriptorProto options */ options?: (google.protobuf.IMethodOptions|null); /** MethodDescriptorProto clientStreaming */ clientStreaming?: (boolean|null); /** MethodDescriptorProto serverStreaming */ serverStreaming?: (boolean|null); } /** Represents a MethodDescriptorProto. */ class MethodDescriptorProto implements IMethodDescriptorProto { /** * Constructs a new MethodDescriptorProto. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IMethodDescriptorProto); /** MethodDescriptorProto name. */ public name: string; /** MethodDescriptorProto inputType. */ public inputType: string; /** MethodDescriptorProto outputType. */ public outputType: string; /** MethodDescriptorProto options. */ public options?: (google.protobuf.IMethodOptions|null); /** MethodDescriptorProto clientStreaming. */ public clientStreaming: boolean; /** MethodDescriptorProto serverStreaming. */ public serverStreaming: boolean; /** * Creates a new MethodDescriptorProto instance using the specified properties. * @param [properties] Properties to set * @returns MethodDescriptorProto instance */ public static create(properties?: google.protobuf.IMethodDescriptorProto): google.protobuf.MethodDescriptorProto; /** * Encodes the specified MethodDescriptorProto message. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages. * @param message MethodDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MethodDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages. * @param message MethodDescriptorProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MethodDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MethodDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodDescriptorProto; /** * Decodes a MethodDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MethodDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodDescriptorProto; /** * Verifies a MethodDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MethodDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MethodDescriptorProto */ public static fromObject(object: { [k: string]: any }): google.protobuf.MethodDescriptorProto; /** * Creates a plain object from a MethodDescriptorProto message. Also converts values to other types if specified. * @param message MethodDescriptorProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.MethodDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MethodDescriptorProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MethodDescriptorProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FileOptions. */ interface IFileOptions { /** FileOptions javaPackage */ javaPackage?: (string|null); /** FileOptions javaOuterClassname */ javaOuterClassname?: (string|null); /** FileOptions javaMultipleFiles */ javaMultipleFiles?: (boolean|null); /** FileOptions javaGenerateEqualsAndHash */ javaGenerateEqualsAndHash?: (boolean|null); /** FileOptions javaStringCheckUtf8 */ javaStringCheckUtf8?: (boolean|null); /** FileOptions optimizeFor */ optimizeFor?: (google.protobuf.FileOptions.OptimizeMode|keyof typeof google.protobuf.FileOptions.OptimizeMode|null); /** FileOptions goPackage */ goPackage?: (string|null); /** FileOptions ccGenericServices */ ccGenericServices?: (boolean|null); /** FileOptions javaGenericServices */ javaGenericServices?: (boolean|null); /** FileOptions pyGenericServices */ pyGenericServices?: (boolean|null); /** FileOptions deprecated */ deprecated?: (boolean|null); /** FileOptions ccEnableArenas */ ccEnableArenas?: (boolean|null); /** FileOptions objcClassPrefix */ objcClassPrefix?: (string|null); /** FileOptions csharpNamespace */ csharpNamespace?: (string|null); /** FileOptions swiftPrefix */ swiftPrefix?: (string|null); /** FileOptions phpClassPrefix */ phpClassPrefix?: (string|null); /** FileOptions phpNamespace */ phpNamespace?: (string|null); /** FileOptions phpMetadataNamespace */ phpMetadataNamespace?: (string|null); /** FileOptions rubyPackage */ rubyPackage?: (string|null); /** FileOptions features */ features?: (google.protobuf.IFeatureSet|null); /** FileOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); /** FileOptions .google.api.resourceDefinition */ ".google.api.resourceDefinition"?: (google.api.IResourceDescriptor[]|null); } /** Represents a FileOptions. */ class FileOptions implements IFileOptions { /** * Constructs a new FileOptions. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IFileOptions); /** FileOptions javaPackage. */ public javaPackage: string; /** FileOptions javaOuterClassname. */ public javaOuterClassname: string; /** FileOptions javaMultipleFiles. */ public javaMultipleFiles: boolean; /** FileOptions javaGenerateEqualsAndHash. */ public javaGenerateEqualsAndHash: boolean; /** FileOptions javaStringCheckUtf8. */ public javaStringCheckUtf8: boolean; /** FileOptions optimizeFor. */ public optimizeFor: (google.protobuf.FileOptions.OptimizeMode|keyof typeof google.protobuf.FileOptions.OptimizeMode); /** FileOptions goPackage. */ public goPackage: string; /** FileOptions ccGenericServices. */ public ccGenericServices: boolean; /** FileOptions javaGenericServices. */ public javaGenericServices: boolean; /** FileOptions pyGenericServices. */ public pyGenericServices: boolean; /** FileOptions deprecated. */ public deprecated: boolean; /** FileOptions ccEnableArenas. */ public ccEnableArenas: boolean; /** FileOptions objcClassPrefix. */ public objcClassPrefix: string; /** FileOptions csharpNamespace. */ public csharpNamespace: string; /** FileOptions swiftPrefix. */ public swiftPrefix: string; /** FileOptions phpClassPrefix. */ public phpClassPrefix: string; /** FileOptions phpNamespace. */ public phpNamespace: string; /** FileOptions phpMetadataNamespace. */ public phpMetadataNamespace: string; /** FileOptions rubyPackage. */ public rubyPackage: string; /** FileOptions features. */ public features?: (google.protobuf.IFeatureSet|null); /** FileOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; /** * Creates a new FileOptions instance using the specified properties. * @param [properties] Properties to set * @returns FileOptions instance */ public static create(properties?: google.protobuf.IFileOptions): google.protobuf.FileOptions; /** * Encodes the specified FileOptions message. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages. * @param message FileOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FileOptions message, length delimited. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages. * @param message FileOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FileOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FileOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileOptions; /** * Decodes a FileOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FileOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileOptions; /** * Verifies a FileOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FileOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FileOptions */ public static fromObject(object: { [k: string]: any }): google.protobuf.FileOptions; /** * Creates a plain object from a FileOptions message. Also converts values to other types if specified. * @param message FileOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FileOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FileOptions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FileOptions * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace FileOptions { /** OptimizeMode enum. */ enum OptimizeMode { SPEED = 1, CODE_SIZE = 2, LITE_RUNTIME = 3 } } /** Properties of a MessageOptions. */ interface IMessageOptions { /** MessageOptions messageSetWireFormat */ messageSetWireFormat?: (boolean|null); /** MessageOptions noStandardDescriptorAccessor */ noStandardDescriptorAccessor?: (boolean|null); /** MessageOptions deprecated */ deprecated?: (boolean|null); /** MessageOptions mapEntry */ mapEntry?: (boolean|null); /** MessageOptions deprecatedLegacyJsonFieldConflicts */ deprecatedLegacyJsonFieldConflicts?: (boolean|null); /** MessageOptions features */ features?: (google.protobuf.IFeatureSet|null); /** MessageOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); /** MessageOptions .google.api.resource */ ".google.api.resource"?: (google.api.IResourceDescriptor|null); } /** Represents a MessageOptions. */ class MessageOptions implements IMessageOptions { /** * Constructs a new MessageOptions. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IMessageOptions); /** MessageOptions messageSetWireFormat. */ public messageSetWireFormat: boolean; /** MessageOptions noStandardDescriptorAccessor. */ public noStandardDescriptorAccessor: boolean; /** MessageOptions deprecated. */ public deprecated: boolean; /** MessageOptions mapEntry. */ public mapEntry: boolean; /** MessageOptions deprecatedLegacyJsonFieldConflicts. */ public deprecatedLegacyJsonFieldConflicts: boolean; /** MessageOptions features. */ public features?: (google.protobuf.IFeatureSet|null); /** MessageOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; /** * Creates a new MessageOptions instance using the specified properties. * @param [properties] Properties to set * @returns MessageOptions instance */ public static create(properties?: google.protobuf.IMessageOptions): google.protobuf.MessageOptions; /** * Encodes the specified MessageOptions message. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages. * @param message MessageOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MessageOptions message, length delimited. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages. * @param message MessageOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MessageOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MessageOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MessageOptions; /** * Decodes a MessageOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MessageOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MessageOptions; /** * Verifies a MessageOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MessageOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MessageOptions */ public static fromObject(object: { [k: string]: any }): google.protobuf.MessageOptions; /** * Creates a plain object from a MessageOptions message. Also converts values to other types if specified. * @param message MessageOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.MessageOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MessageOptions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MessageOptions * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FieldOptions. */ interface IFieldOptions { /** FieldOptions ctype */ ctype?: (google.protobuf.FieldOptions.CType|keyof typeof google.protobuf.FieldOptions.CType|null); /** FieldOptions packed */ packed?: (boolean|null); /** FieldOptions jstype */ jstype?: (google.protobuf.FieldOptions.JSType|keyof typeof google.protobuf.FieldOptions.JSType|null); /** FieldOptions lazy */ lazy?: (boolean|null); /** FieldOptions unverifiedLazy */ unverifiedLazy?: (boolean|null); /** FieldOptions deprecated */ deprecated?: (boolean|null); /** FieldOptions weak */ weak?: (boolean|null); /** FieldOptions debugRedact */ debugRedact?: (boolean|null); /** FieldOptions retention */ retention?: (google.protobuf.FieldOptions.OptionRetention|keyof typeof google.protobuf.FieldOptions.OptionRetention|null); /** FieldOptions targets */ targets?: (google.protobuf.FieldOptions.OptionTargetType[]|null); /** FieldOptions editionDefaults */ editionDefaults?: (google.protobuf.FieldOptions.IEditionDefault[]|null); /** FieldOptions features */ features?: (google.protobuf.IFeatureSet|null); /** FieldOptions featureSupport */ featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); /** FieldOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); /** FieldOptions .google.api.fieldBehavior */ ".google.api.fieldBehavior"?: (google.api.FieldBehavior[]|null); /** FieldOptions .google.api.resourceReference */ ".google.api.resourceReference"?: (google.api.IResourceReference|null); } /** Represents a FieldOptions. */ class FieldOptions implements IFieldOptions { /** * Constructs a new FieldOptions. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IFieldOptions); /** FieldOptions ctype. */ public ctype: (google.protobuf.FieldOptions.CType|keyof typeof google.protobuf.FieldOptions.CType); /** FieldOptions packed. */ public packed: boolean; /** FieldOptions jstype. */ public jstype: (google.protobuf.FieldOptions.JSType|keyof typeof google.protobuf.FieldOptions.JSType); /** FieldOptions lazy. */ public lazy: boolean; /** FieldOptions unverifiedLazy. */ public unverifiedLazy: boolean; /** FieldOptions deprecated. */ public deprecated: boolean; /** FieldOptions weak. */ public weak: boolean; /** FieldOptions debugRedact. */ public debugRedact: boolean; /** FieldOptions retention. */ public retention: (google.protobuf.FieldOptions.OptionRetention|keyof typeof google.protobuf.FieldOptions.OptionRetention); /** FieldOptions targets. */ public targets: google.protobuf.FieldOptions.OptionTargetType[]; /** FieldOptions editionDefaults. */ public editionDefaults: google.protobuf.FieldOptions.IEditionDefault[]; /** FieldOptions features. */ public features?: (google.protobuf.IFeatureSet|null); /** FieldOptions featureSupport. */ public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); /** FieldOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; /** * Creates a new FieldOptions instance using the specified properties. * @param [properties] Properties to set * @returns FieldOptions instance */ public static create(properties?: google.protobuf.IFieldOptions): google.protobuf.FieldOptions; /** * Encodes the specified FieldOptions message. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages. * @param message FieldOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FieldOptions message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages. * @param message FieldOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FieldOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FieldOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions; /** * Decodes a FieldOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FieldOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions; /** * Verifies a FieldOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FieldOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FieldOptions */ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions; /** * Creates a plain object from a FieldOptions message. Also converts values to other types if specified. * @param message FieldOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FieldOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FieldOptions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FieldOptions * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace FieldOptions { /** CType enum. */ enum CType { STRING = 0, CORD = 1, STRING_PIECE = 2 } /** JSType enum. */ enum JSType { JS_NORMAL = 0, JS_STRING = 1, JS_NUMBER = 2 } /** OptionRetention enum. */ enum OptionRetention { RETENTION_UNKNOWN = 0, RETENTION_RUNTIME = 1, RETENTION_SOURCE = 2 } /** OptionTargetType enum. */ enum OptionTargetType { TARGET_TYPE_UNKNOWN = 0, TARGET_TYPE_FILE = 1, TARGET_TYPE_EXTENSION_RANGE = 2, TARGET_TYPE_MESSAGE = 3, TARGET_TYPE_FIELD = 4, TARGET_TYPE_ONEOF = 5, TARGET_TYPE_ENUM = 6, TARGET_TYPE_ENUM_ENTRY = 7, TARGET_TYPE_SERVICE = 8, TARGET_TYPE_METHOD = 9 } /** Properties of an EditionDefault. */ interface IEditionDefault { /** EditionDefault edition */ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); /** EditionDefault value */ value?: (string|null); } /** Represents an EditionDefault. */ class EditionDefault implements IEditionDefault { /** * Constructs a new EditionDefault. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.FieldOptions.IEditionDefault); /** EditionDefault edition. */ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); /** EditionDefault value. */ public value: string; /** * Creates a new EditionDefault instance using the specified properties. * @param [properties] Properties to set * @returns EditionDefault instance */ public static create(properties?: google.protobuf.FieldOptions.IEditionDefault): google.protobuf.FieldOptions.EditionDefault; /** * Encodes the specified EditionDefault message. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages. * @param message EditionDefault message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.FieldOptions.IEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages. * @param message EditionDefault message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.FieldOptions.IEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EditionDefault message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EditionDefault * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.EditionDefault; /** * Decodes an EditionDefault message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EditionDefault * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.EditionDefault; /** * Verifies an EditionDefault message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EditionDefault message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EditionDefault */ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.EditionDefault; /** * Creates a plain object from an EditionDefault message. Also converts values to other types if specified. * @param message EditionDefault * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FieldOptions.EditionDefault, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EditionDefault to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EditionDefault * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FeatureSupport. */ interface IFeatureSupport { /** FeatureSupport editionIntroduced */ editionIntroduced?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); /** FeatureSupport editionDeprecated */ editionDeprecated?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); /** FeatureSupport deprecationWarning */ deprecationWarning?: (string|null); /** FeatureSupport editionRemoved */ editionRemoved?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); /** FeatureSupport removalError */ removalError?: (string|null); } /** Represents a FeatureSupport. */ class FeatureSupport implements IFeatureSupport { /** * Constructs a new FeatureSupport. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.FieldOptions.IFeatureSupport); /** FeatureSupport editionIntroduced. */ public editionIntroduced: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); /** FeatureSupport editionDeprecated. */ public editionDeprecated: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); /** FeatureSupport deprecationWarning. */ public deprecationWarning: string; /** FeatureSupport editionRemoved. */ public editionRemoved: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); /** FeatureSupport removalError. */ public removalError: string; /** * Creates a new FeatureSupport instance using the specified properties. * @param [properties] Properties to set * @returns FeatureSupport instance */ public static create(properties?: google.protobuf.FieldOptions.IFeatureSupport): google.protobuf.FieldOptions.FeatureSupport; /** * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. * @param message FeatureSupport message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. * @param message FeatureSupport message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FeatureSupport message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FeatureSupport * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.FeatureSupport; /** * Decodes a FeatureSupport message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FeatureSupport * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.FeatureSupport; /** * Verifies a FeatureSupport message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FeatureSupport */ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.FeatureSupport; /** * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified. * @param message FeatureSupport * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FieldOptions.FeatureSupport, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FeatureSupport to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FeatureSupport * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of an OneofOptions. */ interface IOneofOptions { /** OneofOptions features */ features?: (google.protobuf.IFeatureSet|null); /** OneofOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); } /** Represents an OneofOptions. */ class OneofOptions implements IOneofOptions { /** * Constructs a new OneofOptions. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IOneofOptions); /** OneofOptions features. */ public features?: (google.protobuf.IFeatureSet|null); /** OneofOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; /** * Creates a new OneofOptions instance using the specified properties. * @param [properties] Properties to set * @returns OneofOptions instance */ public static create(properties?: google.protobuf.IOneofOptions): google.protobuf.OneofOptions; /** * Encodes the specified OneofOptions message. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages. * @param message OneofOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified OneofOptions message, length delimited. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages. * @param message OneofOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an OneofOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns OneofOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofOptions; /** * Decodes an OneofOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns OneofOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofOptions; /** * Verifies an OneofOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an OneofOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns OneofOptions */ public static fromObject(object: { [k: string]: any }): google.protobuf.OneofOptions; /** * Creates a plain object from an OneofOptions message. Also converts values to other types if specified. * @param message OneofOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.OneofOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this OneofOptions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for OneofOptions * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EnumOptions. */ interface IEnumOptions { /** EnumOptions allowAlias */ allowAlias?: (boolean|null); /** EnumOptions deprecated */ deprecated?: (boolean|null); /** EnumOptions deprecatedLegacyJsonFieldConflicts */ deprecatedLegacyJsonFieldConflicts?: (boolean|null); /** EnumOptions features */ features?: (google.protobuf.IFeatureSet|null); /** EnumOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); } /** Represents an EnumOptions. */ class EnumOptions implements IEnumOptions { /** * Constructs a new EnumOptions. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IEnumOptions); /** EnumOptions allowAlias. */ public allowAlias: boolean; /** EnumOptions deprecated. */ public deprecated: boolean; /** EnumOptions deprecatedLegacyJsonFieldConflicts. */ public deprecatedLegacyJsonFieldConflicts: boolean; /** EnumOptions features. */ public features?: (google.protobuf.IFeatureSet|null); /** EnumOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; /** * Creates a new EnumOptions instance using the specified properties. * @param [properties] Properties to set * @returns EnumOptions instance */ public static create(properties?: google.protobuf.IEnumOptions): google.protobuf.EnumOptions; /** * Encodes the specified EnumOptions message. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages. * @param message EnumOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EnumOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages. * @param message EnumOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EnumOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EnumOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumOptions; /** * Decodes an EnumOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EnumOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumOptions; /** * Verifies an EnumOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EnumOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EnumOptions */ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumOptions; /** * Creates a plain object from an EnumOptions message. Also converts values to other types if specified. * @param message EnumOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.EnumOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EnumOptions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EnumOptions * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EnumValueOptions. */ interface IEnumValueOptions { /** EnumValueOptions deprecated */ deprecated?: (boolean|null); /** EnumValueOptions features */ features?: (google.protobuf.IFeatureSet|null); /** EnumValueOptions debugRedact */ debugRedact?: (boolean|null); /** EnumValueOptions featureSupport */ featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); /** EnumValueOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); } /** Represents an EnumValueOptions. */ class EnumValueOptions implements IEnumValueOptions { /** * Constructs a new EnumValueOptions. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IEnumValueOptions); /** EnumValueOptions deprecated. */ public deprecated: boolean; /** EnumValueOptions features. */ public features?: (google.protobuf.IFeatureSet|null); /** EnumValueOptions debugRedact. */ public debugRedact: boolean; /** EnumValueOptions featureSupport. */ public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); /** EnumValueOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; /** * Creates a new EnumValueOptions instance using the specified properties. * @param [properties] Properties to set * @returns EnumValueOptions instance */ public static create(properties?: google.protobuf.IEnumValueOptions): google.protobuf.EnumValueOptions; /** * Encodes the specified EnumValueOptions message. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages. * @param message EnumValueOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EnumValueOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages. * @param message EnumValueOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EnumValueOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EnumValueOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueOptions; /** * Decodes an EnumValueOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EnumValueOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueOptions; /** * Verifies an EnumValueOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EnumValueOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EnumValueOptions */ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueOptions; /** * Creates a plain object from an EnumValueOptions message. Also converts values to other types if specified. * @param message EnumValueOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.EnumValueOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EnumValueOptions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EnumValueOptions * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ServiceOptions. */ interface IServiceOptions { /** ServiceOptions features */ features?: (google.protobuf.IFeatureSet|null); /** ServiceOptions deprecated */ deprecated?: (boolean|null); /** ServiceOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); /** ServiceOptions .google.api.defaultHost */ ".google.api.defaultHost"?: (string|null); /** ServiceOptions .google.api.oauthScopes */ ".google.api.oauthScopes"?: (string|null); /** ServiceOptions .google.api.apiVersion */ ".google.api.apiVersion"?: (string|null); } /** Represents a ServiceOptions. */ class ServiceOptions implements IServiceOptions { /** * Constructs a new ServiceOptions. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IServiceOptions); /** ServiceOptions features. */ public features?: (google.protobuf.IFeatureSet|null); /** ServiceOptions deprecated. */ public deprecated: boolean; /** ServiceOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; /** * Creates a new ServiceOptions instance using the specified properties. * @param [properties] Properties to set * @returns ServiceOptions instance */ public static create(properties?: google.protobuf.IServiceOptions): google.protobuf.ServiceOptions; /** * Encodes the specified ServiceOptions message. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages. * @param message ServiceOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ServiceOptions message, length delimited. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages. * @param message ServiceOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ServiceOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ServiceOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceOptions; /** * Decodes a ServiceOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ServiceOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceOptions; /** * Verifies a ServiceOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ServiceOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ServiceOptions */ public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceOptions; /** * Creates a plain object from a ServiceOptions message. Also converts values to other types if specified. * @param message ServiceOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.ServiceOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ServiceOptions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ServiceOptions * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MethodOptions. */ interface IMethodOptions { /** MethodOptions deprecated */ deprecated?: (boolean|null); /** MethodOptions idempotencyLevel */ idempotencyLevel?: (google.protobuf.MethodOptions.IdempotencyLevel|keyof typeof google.protobuf.MethodOptions.IdempotencyLevel|null); /** MethodOptions features */ features?: (google.protobuf.IFeatureSet|null); /** MethodOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); /** MethodOptions .google.api.http */ ".google.api.http"?: (google.api.IHttpRule|null); /** MethodOptions .google.api.methodSignature */ ".google.api.methodSignature"?: (string[]|null); } /** Represents a MethodOptions. */ class MethodOptions implements IMethodOptions { /** * Constructs a new MethodOptions. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IMethodOptions); /** MethodOptions deprecated. */ public deprecated: boolean; /** MethodOptions idempotencyLevel. */ public idempotencyLevel: (google.protobuf.MethodOptions.IdempotencyLevel|keyof typeof google.protobuf.MethodOptions.IdempotencyLevel); /** MethodOptions features. */ public features?: (google.protobuf.IFeatureSet|null); /** MethodOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; /** * Creates a new MethodOptions instance using the specified properties. * @param [properties] Properties to set * @returns MethodOptions instance */ public static create(properties?: google.protobuf.IMethodOptions): google.protobuf.MethodOptions; /** * Encodes the specified MethodOptions message. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages. * @param message MethodOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MethodOptions message, length delimited. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages. * @param message MethodOptions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MethodOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MethodOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodOptions; /** * Decodes a MethodOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MethodOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodOptions; /** * Verifies a MethodOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MethodOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MethodOptions */ public static fromObject(object: { [k: string]: any }): google.protobuf.MethodOptions; /** * Creates a plain object from a MethodOptions message. Also converts values to other types if specified. * @param message MethodOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.MethodOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MethodOptions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MethodOptions * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MethodOptions { /** IdempotencyLevel enum. */ enum IdempotencyLevel { IDEMPOTENCY_UNKNOWN = 0, NO_SIDE_EFFECTS = 1, IDEMPOTENT = 2 } } /** Properties of an UninterpretedOption. */ interface IUninterpretedOption { /** UninterpretedOption name */ name?: (google.protobuf.UninterpretedOption.INamePart[]|null); /** UninterpretedOption identifierValue */ identifierValue?: (string|null); /** UninterpretedOption positiveIntValue */ positiveIntValue?: (number|Long|string|null); /** UninterpretedOption negativeIntValue */ negativeIntValue?: (number|Long|string|null); /** UninterpretedOption doubleValue */ doubleValue?: (number|null); /** UninterpretedOption stringValue */ stringValue?: (Uint8Array|Buffer|string|null); /** UninterpretedOption aggregateValue */ aggregateValue?: (string|null); } /** Represents an UninterpretedOption. */ class UninterpretedOption implements IUninterpretedOption { /** * Constructs a new UninterpretedOption. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IUninterpretedOption); /** UninterpretedOption name. */ public name: google.protobuf.UninterpretedOption.INamePart[]; /** UninterpretedOption identifierValue. */ public identifierValue: string; /** UninterpretedOption positiveIntValue. */ public positiveIntValue: (number|Long|string); /** UninterpretedOption negativeIntValue. */ public negativeIntValue: (number|Long|string); /** UninterpretedOption doubleValue. */ public doubleValue: number; /** UninterpretedOption stringValue. */ public stringValue: (Uint8Array|Buffer|string); /** UninterpretedOption aggregateValue. */ public aggregateValue: string; /** * Creates a new UninterpretedOption instance using the specified properties. * @param [properties] Properties to set * @returns UninterpretedOption instance */ public static create(properties?: google.protobuf.IUninterpretedOption): google.protobuf.UninterpretedOption; /** * Encodes the specified UninterpretedOption message. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages. * @param message UninterpretedOption message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UninterpretedOption message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages. * @param message UninterpretedOption message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UninterpretedOption message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UninterpretedOption * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption; /** * Decodes an UninterpretedOption message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UninterpretedOption * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption; /** * Verifies an UninterpretedOption message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an UninterpretedOption message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UninterpretedOption */ public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption; /** * Creates a plain object from an UninterpretedOption message. Also converts values to other types if specified. * @param message UninterpretedOption * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.UninterpretedOption, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UninterpretedOption to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UninterpretedOption * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace UninterpretedOption { /** Properties of a NamePart. */ interface INamePart { /** NamePart namePart */ namePart: string; /** NamePart isExtension */ isExtension: boolean; } /** Represents a NamePart. */ class NamePart implements INamePart { /** * Constructs a new NamePart. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.UninterpretedOption.INamePart); /** NamePart namePart. */ public namePart: string; /** NamePart isExtension. */ public isExtension: boolean; /** * Creates a new NamePart instance using the specified properties. * @param [properties] Properties to set * @returns NamePart instance */ public static create(properties?: google.protobuf.UninterpretedOption.INamePart): google.protobuf.UninterpretedOption.NamePart; /** * Encodes the specified NamePart message. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages. * @param message NamePart message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified NamePart message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages. * @param message NamePart message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NamePart message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns NamePart * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption.NamePart; /** * Decodes a NamePart message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns NamePart * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption.NamePart; /** * Verifies a NamePart message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a NamePart message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NamePart */ public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption.NamePart; /** * Creates a plain object from a NamePart message. Also converts values to other types if specified. * @param message NamePart * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.UninterpretedOption.NamePart, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NamePart to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for NamePart * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a FeatureSet. */ interface IFeatureSet { /** FeatureSet fieldPresence */ fieldPresence?: (google.protobuf.FeatureSet.FieldPresence|keyof typeof google.protobuf.FeatureSet.FieldPresence|null); /** FeatureSet enumType */ enumType?: (google.protobuf.FeatureSet.EnumType|keyof typeof google.protobuf.FeatureSet.EnumType|null); /** FeatureSet repeatedFieldEncoding */ repeatedFieldEncoding?: (google.protobuf.FeatureSet.RepeatedFieldEncoding|keyof typeof google.protobuf.FeatureSet.RepeatedFieldEncoding|null); /** FeatureSet utf8Validation */ utf8Validation?: (google.protobuf.FeatureSet.Utf8Validation|keyof typeof google.protobuf.FeatureSet.Utf8Validation|null); /** FeatureSet messageEncoding */ messageEncoding?: (google.protobuf.FeatureSet.MessageEncoding|keyof typeof google.protobuf.FeatureSet.MessageEncoding|null); /** FeatureSet jsonFormat */ jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null); /** FeatureSet enforceNamingStyle */ enforceNamingStyle?: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle|null); /** FeatureSet defaultSymbolVisibility */ defaultSymbolVisibility?: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null); /** FeatureSet enforceProtoLimits */ enforceProtoLimits?: (google.protobuf.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits|keyof typeof google.protobuf.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits|null); } /** Represents a FeatureSet. */ class FeatureSet implements IFeatureSet { /** * Constructs a new FeatureSet. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IFeatureSet); /** FeatureSet fieldPresence. */ public fieldPresence: (google.protobuf.FeatureSet.FieldPresence|keyof typeof google.protobuf.FeatureSet.FieldPresence); /** FeatureSet enumType. */ public enumType: (google.protobuf.FeatureSet.EnumType|keyof typeof google.protobuf.FeatureSet.EnumType); /** FeatureSet repeatedFieldEncoding. */ public repeatedFieldEncoding: (google.protobuf.FeatureSet.RepeatedFieldEncoding|keyof typeof google.protobuf.FeatureSet.RepeatedFieldEncoding); /** FeatureSet utf8Validation. */ public utf8Validation: (google.protobuf.FeatureSet.Utf8Validation|keyof typeof google.protobuf.FeatureSet.Utf8Validation); /** FeatureSet messageEncoding. */ public messageEncoding: (google.protobuf.FeatureSet.MessageEncoding|keyof typeof google.protobuf.FeatureSet.MessageEncoding); /** FeatureSet jsonFormat. */ public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat); /** FeatureSet enforceNamingStyle. */ public enforceNamingStyle: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle); /** FeatureSet defaultSymbolVisibility. */ public defaultSymbolVisibility: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility); /** FeatureSet enforceProtoLimits. */ public enforceProtoLimits: (google.protobuf.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits|keyof typeof google.protobuf.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits); /** * Creates a new FeatureSet instance using the specified properties. * @param [properties] Properties to set * @returns FeatureSet instance */ public static create(properties?: google.protobuf.IFeatureSet): google.protobuf.FeatureSet; /** * Encodes the specified FeatureSet message. Does not implicitly {@link google.protobuf.FeatureSet.verify|verify} messages. * @param message FeatureSet message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IFeatureSet, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FeatureSet message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.verify|verify} messages. * @param message FeatureSet message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IFeatureSet, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FeatureSet message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FeatureSet * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet; /** * Decodes a FeatureSet message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FeatureSet * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet; /** * Verifies a FeatureSet message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FeatureSet message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FeatureSet */ public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet; /** * Creates a plain object from a FeatureSet message. Also converts values to other types if specified. * @param message FeatureSet * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FeatureSet, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FeatureSet to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FeatureSet * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace FeatureSet { /** FieldPresence enum. */ enum FieldPresence { FIELD_PRESENCE_UNKNOWN = 0, EXPLICIT = 1, IMPLICIT = 2, LEGACY_REQUIRED = 3 } /** EnumType enum. */ enum EnumType { ENUM_TYPE_UNKNOWN = 0, OPEN = 1, CLOSED = 2 } /** RepeatedFieldEncoding enum. */ enum RepeatedFieldEncoding { REPEATED_FIELD_ENCODING_UNKNOWN = 0, PACKED = 1, EXPANDED = 2 } /** Utf8Validation enum. */ enum Utf8Validation { UTF8_VALIDATION_UNKNOWN = 0, VERIFY = 2, NONE = 3 } /** MessageEncoding enum. */ enum MessageEncoding { MESSAGE_ENCODING_UNKNOWN = 0, LENGTH_PREFIXED = 1, DELIMITED = 2 } /** JsonFormat enum. */ enum JsonFormat { JSON_FORMAT_UNKNOWN = 0, ALLOW = 1, LEGACY_BEST_EFFORT = 2 } /** EnforceNamingStyle enum. */ enum EnforceNamingStyle { ENFORCE_NAMING_STYLE_UNKNOWN = 0, STYLE2024 = 1, STYLE_LEGACY = 2, STYLE2026 = 3 } /** Properties of a VisibilityFeature. */ interface IVisibilityFeature { } /** Represents a VisibilityFeature. */ class VisibilityFeature implements IVisibilityFeature { /** * Constructs a new VisibilityFeature. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.FeatureSet.IVisibilityFeature); /** * Creates a new VisibilityFeature instance using the specified properties. * @param [properties] Properties to set * @returns VisibilityFeature instance */ public static create(properties?: google.protobuf.FeatureSet.IVisibilityFeature): google.protobuf.FeatureSet.VisibilityFeature; /** * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. * @param message VisibilityFeature message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. * @param message VisibilityFeature message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a VisibilityFeature message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns VisibilityFeature * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet.VisibilityFeature; /** * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns VisibilityFeature * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet.VisibilityFeature; /** * Verifies a VisibilityFeature message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns VisibilityFeature */ public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet.VisibilityFeature; /** * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified. * @param message VisibilityFeature * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FeatureSet.VisibilityFeature, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this VisibilityFeature to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for VisibilityFeature * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace VisibilityFeature { /** DefaultSymbolVisibility enum. */ enum DefaultSymbolVisibility { DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0, EXPORT_ALL = 1, EXPORT_TOP_LEVEL = 2, LOCAL_ALL = 3, STRICT = 4 } } /** Properties of a ProtoLimitsFeature. */ interface IProtoLimitsFeature { } /** Represents a ProtoLimitsFeature. */ class ProtoLimitsFeature implements IProtoLimitsFeature { /** * Constructs a new ProtoLimitsFeature. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.FeatureSet.IProtoLimitsFeature); /** * Creates a new ProtoLimitsFeature instance using the specified properties. * @param [properties] Properties to set * @returns ProtoLimitsFeature instance */ public static create(properties?: google.protobuf.FeatureSet.IProtoLimitsFeature): google.protobuf.FeatureSet.ProtoLimitsFeature; /** * Encodes the specified ProtoLimitsFeature message. Does not implicitly {@link google.protobuf.FeatureSet.ProtoLimitsFeature.verify|verify} messages. * @param message ProtoLimitsFeature message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.FeatureSet.IProtoLimitsFeature, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ProtoLimitsFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.ProtoLimitsFeature.verify|verify} messages. * @param message ProtoLimitsFeature message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.FeatureSet.IProtoLimitsFeature, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ProtoLimitsFeature message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ProtoLimitsFeature * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet.ProtoLimitsFeature; /** * Decodes a ProtoLimitsFeature message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ProtoLimitsFeature * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet.ProtoLimitsFeature; /** * Verifies a ProtoLimitsFeature message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ProtoLimitsFeature message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ProtoLimitsFeature */ public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet.ProtoLimitsFeature; /** * Creates a plain object from a ProtoLimitsFeature message. Also converts values to other types if specified. * @param message ProtoLimitsFeature * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FeatureSet.ProtoLimitsFeature, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ProtoLimitsFeature to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ProtoLimitsFeature * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ProtoLimitsFeature { /** EnforceProtoLimits enum. */ enum EnforceProtoLimits { PROTO_LIMITS_UNKNOWN = 0, LEGACY_NO_EXPLICIT_LIMITS = 1, PROTO_LIMITS2026 = 2 } } } /** Properties of a FeatureSetDefaults. */ interface IFeatureSetDefaults { /** FeatureSetDefaults defaults */ defaults?: (google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault[]|null); /** FeatureSetDefaults minimumEdition */ minimumEdition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); /** FeatureSetDefaults maximumEdition */ maximumEdition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); } /** Represents a FeatureSetDefaults. */ class FeatureSetDefaults implements IFeatureSetDefaults { /** * Constructs a new FeatureSetDefaults. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IFeatureSetDefaults); /** FeatureSetDefaults defaults. */ public defaults: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault[]; /** FeatureSetDefaults minimumEdition. */ public minimumEdition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); /** FeatureSetDefaults maximumEdition. */ public maximumEdition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); /** * Creates a new FeatureSetDefaults instance using the specified properties. * @param [properties] Properties to set * @returns FeatureSetDefaults instance */ public static create(properties?: google.protobuf.IFeatureSetDefaults): google.protobuf.FeatureSetDefaults; /** * Encodes the specified FeatureSetDefaults message. Does not implicitly {@link google.protobuf.FeatureSetDefaults.verify|verify} messages. * @param message FeatureSetDefaults message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IFeatureSetDefaults, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FeatureSetDefaults message, length delimited. Does not implicitly {@link google.protobuf.FeatureSetDefaults.verify|verify} messages. * @param message FeatureSetDefaults message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IFeatureSetDefaults, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FeatureSetDefaults message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FeatureSetDefaults * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSetDefaults; /** * Decodes a FeatureSetDefaults message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FeatureSetDefaults * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSetDefaults; /** * Verifies a FeatureSetDefaults message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FeatureSetDefaults message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FeatureSetDefaults */ public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSetDefaults; /** * Creates a plain object from a FeatureSetDefaults message. Also converts values to other types if specified. * @param message FeatureSetDefaults * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FeatureSetDefaults, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FeatureSetDefaults to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FeatureSetDefaults * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace FeatureSetDefaults { /** Properties of a FeatureSetEditionDefault. */ interface IFeatureSetEditionDefault { /** FeatureSetEditionDefault edition */ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); /** FeatureSetEditionDefault overridableFeatures */ overridableFeatures?: (google.protobuf.IFeatureSet|null); /** FeatureSetEditionDefault fixedFeatures */ fixedFeatures?: (google.protobuf.IFeatureSet|null); } /** Represents a FeatureSetEditionDefault. */ class FeatureSetEditionDefault implements IFeatureSetEditionDefault { /** * Constructs a new FeatureSetEditionDefault. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault); /** FeatureSetEditionDefault edition. */ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); /** FeatureSetEditionDefault overridableFeatures. */ public overridableFeatures?: (google.protobuf.IFeatureSet|null); /** FeatureSetEditionDefault fixedFeatures. */ public fixedFeatures?: (google.protobuf.IFeatureSet|null); /** * Creates a new FeatureSetEditionDefault instance using the specified properties. * @param [properties] Properties to set * @returns FeatureSetEditionDefault instance */ public static create(properties?: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault; /** * Encodes the specified FeatureSetEditionDefault message. Does not implicitly {@link google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify|verify} messages. * @param message FeatureSetEditionDefault message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FeatureSetEditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify|verify} messages. * @param message FeatureSetEditionDefault message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FeatureSetEditionDefault message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FeatureSetEditionDefault * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault; /** * Decodes a FeatureSetEditionDefault message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FeatureSetEditionDefault * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault; /** * Verifies a FeatureSetEditionDefault message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FeatureSetEditionDefault message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FeatureSetEditionDefault */ public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault; /** * Creates a plain object from a FeatureSetEditionDefault message. Also converts values to other types if specified. * @param message FeatureSetEditionDefault * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FeatureSetEditionDefault to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FeatureSetEditionDefault * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a SourceCodeInfo. */ interface ISourceCodeInfo { /** SourceCodeInfo location */ location?: (google.protobuf.SourceCodeInfo.ILocation[]|null); } /** Represents a SourceCodeInfo. */ class SourceCodeInfo implements ISourceCodeInfo { /** * Constructs a new SourceCodeInfo. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.ISourceCodeInfo); /** SourceCodeInfo location. */ public location: google.protobuf.SourceCodeInfo.ILocation[]; /** * Creates a new SourceCodeInfo instance using the specified properties. * @param [properties] Properties to set * @returns SourceCodeInfo instance */ public static create(properties?: google.protobuf.ISourceCodeInfo): google.protobuf.SourceCodeInfo; /** * Encodes the specified SourceCodeInfo message. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages. * @param message SourceCodeInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SourceCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages. * @param message SourceCodeInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SourceCodeInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SourceCodeInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo; /** * Decodes a SourceCodeInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SourceCodeInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo; /** * Verifies a SourceCodeInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SourceCodeInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SourceCodeInfo */ public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo; /** * Creates a plain object from a SourceCodeInfo message. Also converts values to other types if specified. * @param message SourceCodeInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.SourceCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SourceCodeInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SourceCodeInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SourceCodeInfo { /** Properties of a Location. */ interface ILocation { /** Location path */ path?: (number[]|null); /** Location span */ span?: (number[]|null); /** Location leadingComments */ leadingComments?: (string|null); /** Location trailingComments */ trailingComments?: (string|null); /** Location leadingDetachedComments */ leadingDetachedComments?: (string[]|null); } /** Represents a Location. */ class Location implements ILocation { /** * Constructs a new Location. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.SourceCodeInfo.ILocation); /** Location path. */ public path: number[]; /** Location span. */ public span: number[]; /** Location leadingComments. */ public leadingComments: string; /** Location trailingComments. */ public trailingComments: string; /** Location leadingDetachedComments. */ public leadingDetachedComments: string[]; /** * Creates a new Location instance using the specified properties. * @param [properties] Properties to set * @returns Location instance */ public static create(properties?: google.protobuf.SourceCodeInfo.ILocation): google.protobuf.SourceCodeInfo.Location; /** * Encodes the specified Location message. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages. * @param message Location message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Location message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages. * @param message Location message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Location message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Location * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo.Location; /** * Decodes a Location message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Location * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo.Location; /** * Verifies a Location message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Location message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Location */ public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo.Location; /** * Creates a plain object from a Location message. Also converts values to other types if specified. * @param message Location * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.SourceCodeInfo.Location, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Location to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Location * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a GeneratedCodeInfo. */ interface IGeneratedCodeInfo { /** GeneratedCodeInfo annotation */ annotation?: (google.protobuf.GeneratedCodeInfo.IAnnotation[]|null); } /** Represents a GeneratedCodeInfo. */ class GeneratedCodeInfo implements IGeneratedCodeInfo { /** * Constructs a new GeneratedCodeInfo. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IGeneratedCodeInfo); /** GeneratedCodeInfo annotation. */ public annotation: google.protobuf.GeneratedCodeInfo.IAnnotation[]; /** * Creates a new GeneratedCodeInfo instance using the specified properties. * @param [properties] Properties to set * @returns GeneratedCodeInfo instance */ public static create(properties?: google.protobuf.IGeneratedCodeInfo): google.protobuf.GeneratedCodeInfo; /** * Encodes the specified GeneratedCodeInfo message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages. * @param message GeneratedCodeInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GeneratedCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages. * @param message GeneratedCodeInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GeneratedCodeInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GeneratedCodeInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo; /** * Decodes a GeneratedCodeInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GeneratedCodeInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo; /** * Verifies a GeneratedCodeInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GeneratedCodeInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GeneratedCodeInfo */ public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo; /** * Creates a plain object from a GeneratedCodeInfo message. Also converts values to other types if specified. * @param message GeneratedCodeInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.GeneratedCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GeneratedCodeInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GeneratedCodeInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace GeneratedCodeInfo { /** Properties of an Annotation. */ interface IAnnotation { /** Annotation path */ path?: (number[]|null); /** Annotation sourceFile */ sourceFile?: (string|null); /** Annotation begin */ begin?: (number|null); /** Annotation end */ end?: (number|null); /** Annotation semantic */ semantic?: (google.protobuf.GeneratedCodeInfo.Annotation.Semantic|keyof typeof google.protobuf.GeneratedCodeInfo.Annotation.Semantic|null); } /** Represents an Annotation. */ class Annotation implements IAnnotation { /** * Constructs a new Annotation. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation); /** Annotation path. */ public path: number[]; /** Annotation sourceFile. */ public sourceFile: string; /** Annotation begin. */ public begin: number; /** Annotation end. */ public end: number; /** Annotation semantic. */ public semantic: (google.protobuf.GeneratedCodeInfo.Annotation.Semantic|keyof typeof google.protobuf.GeneratedCodeInfo.Annotation.Semantic); /** * Creates a new Annotation instance using the specified properties. * @param [properties] Properties to set * @returns Annotation instance */ public static create(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation): google.protobuf.GeneratedCodeInfo.Annotation; /** * Encodes the specified Annotation message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages. * @param message Annotation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Annotation message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages. * @param message Annotation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Annotation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Annotation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo.Annotation; /** * Decodes an Annotation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Annotation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo.Annotation; /** * Verifies an Annotation message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Annotation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Annotation */ public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo.Annotation; /** * Creates a plain object from an Annotation message. Also converts values to other types if specified. * @param message Annotation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.GeneratedCodeInfo.Annotation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Annotation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Annotation * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Annotation { /** Semantic enum. */ enum Semantic { NONE = 0, SET = 1, ALIAS = 2 } } } /** SymbolVisibility enum. */ enum SymbolVisibility { VISIBILITY_UNSET = 0, VISIBILITY_LOCAL = 1, VISIBILITY_EXPORT = 2 } /** Properties of a Duration. */ interface IDuration { /** Duration seconds */ seconds?: (number|Long|string|null); /** Duration nanos */ nanos?: (number|null); } /** Represents a Duration. */ class Duration implements IDuration { /** * Constructs a new Duration. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IDuration); /** Duration seconds. */ public seconds: (number|Long|string); /** Duration nanos. */ public nanos: number; /** * Creates a new Duration instance using the specified properties. * @param [properties] Properties to set * @returns Duration instance */ public static create(properties?: google.protobuf.IDuration): google.protobuf.Duration; /** * Encodes the specified Duration message. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages. * @param message Duration message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Duration message, length delimited. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages. * @param message Duration message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Duration message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Duration * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Duration; /** * Decodes a Duration message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Duration * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Duration; /** * Verifies a Duration message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Duration message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Duration */ public static fromObject(object: { [k: string]: any }): google.protobuf.Duration; /** * Creates a plain object from a Duration message. Also converts values to other types if specified. * @param message Duration * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.Duration, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Duration to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Duration * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Empty. */ interface IEmpty { } /** Represents an Empty. */ class Empty implements IEmpty { /** * Constructs a new Empty. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IEmpty); /** * Creates a new Empty instance using the specified properties. * @param [properties] Properties to set * @returns Empty instance */ public static create(properties?: google.protobuf.IEmpty): google.protobuf.Empty; /** * Encodes the specified Empty message. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages. * @param message Empty message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Empty message, length delimited. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages. * @param message Empty message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Empty message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Empty * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Empty; /** * Decodes an Empty message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Empty * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Empty; /** * Verifies an Empty message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Empty message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Empty */ public static fromObject(object: { [k: string]: any }): google.protobuf.Empty; /** * Creates a plain object from an Empty message. Also converts values to other types if specified. * @param message Empty * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.Empty, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Empty to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Empty * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FieldMask. */ interface IFieldMask { /** FieldMask paths */ paths?: (string[]|null); } /** Represents a FieldMask. */ class FieldMask implements IFieldMask { /** * Constructs a new FieldMask. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IFieldMask); /** FieldMask paths. */ public paths: string[]; /** * Creates a new FieldMask instance using the specified properties. * @param [properties] Properties to set * @returns FieldMask instance */ public static create(properties?: google.protobuf.IFieldMask): google.protobuf.FieldMask; /** * Encodes the specified FieldMask message. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages. * @param message FieldMask message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IFieldMask, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FieldMask message, length delimited. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages. * @param message FieldMask message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IFieldMask, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FieldMask message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FieldMask * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldMask; /** * Decodes a FieldMask message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FieldMask * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldMask; /** * Verifies a FieldMask message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FieldMask message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FieldMask */ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldMask; /** * Creates a plain object from a FieldMask message. Also converts values to other types if specified. * @param message FieldMask * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FieldMask, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FieldMask to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FieldMask * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Struct. */ interface IStruct { /** Struct fields */ fields?: ({ [k: string]: google.protobuf.IValue }|null); } /** Represents a Struct. */ class Struct implements IStruct { /** * Constructs a new Struct. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IStruct); /** Struct fields. */ public fields: { [k: string]: google.protobuf.IValue }; /** * Creates a new Struct instance using the specified properties. * @param [properties] Properties to set * @returns Struct instance */ public static create(properties?: google.protobuf.IStruct): google.protobuf.Struct; /** * Encodes the specified Struct message. Does not implicitly {@link google.protobuf.Struct.verify|verify} messages. * @param message Struct message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IStruct, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Struct message, length delimited. Does not implicitly {@link google.protobuf.Struct.verify|verify} messages. * @param message Struct message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IStruct, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Struct message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Struct * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Struct; /** * Decodes a Struct message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Struct * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Struct; /** * Verifies a Struct message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Struct message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Struct */ public static fromObject(object: { [k: string]: any }): google.protobuf.Struct; /** * Creates a plain object from a Struct message. Also converts values to other types if specified. * @param message Struct * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.Struct, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Struct to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Struct * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Value. */ interface IValue { /** Value nullValue */ nullValue?: (google.protobuf.NullValue|keyof typeof google.protobuf.NullValue|null); /** Value numberValue */ numberValue?: (number|null); /** Value stringValue */ stringValue?: (string|null); /** Value boolValue */ boolValue?: (boolean|null); /** Value structValue */ structValue?: (google.protobuf.IStruct|null); /** Value listValue */ listValue?: (google.protobuf.IListValue|null); } /** Represents a Value. */ class Value implements IValue { /** * Constructs a new Value. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IValue); /** Value nullValue. */ public nullValue?: (google.protobuf.NullValue|keyof typeof google.protobuf.NullValue|null); /** Value numberValue. */ public numberValue?: (number|null); /** Value stringValue. */ public stringValue?: (string|null); /** Value boolValue. */ public boolValue?: (boolean|null); /** Value structValue. */ public structValue?: (google.protobuf.IStruct|null); /** Value listValue. */ public listValue?: (google.protobuf.IListValue|null); /** Value kind. */ public kind?: ("nullValue"|"numberValue"|"stringValue"|"boolValue"|"structValue"|"listValue"); /** * Creates a new Value instance using the specified properties. * @param [properties] Properties to set * @returns Value instance */ public static create(properties?: google.protobuf.IValue): google.protobuf.Value; /** * Encodes the specified Value message. Does not implicitly {@link google.protobuf.Value.verify|verify} messages. * @param message Value message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Value message, length delimited. Does not implicitly {@link google.protobuf.Value.verify|verify} messages. * @param message Value message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Value message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Value * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Value; /** * Decodes a Value message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Value * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Value; /** * Verifies a Value message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Value message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Value */ public static fromObject(object: { [k: string]: any }): google.protobuf.Value; /** * Creates a plain object from a Value message. Also converts values to other types if specified. * @param message Value * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.Value, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Value to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Value * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** NullValue enum. */ enum NullValue { NULL_VALUE = 0 } /** Properties of a ListValue. */ interface IListValue { /** ListValue values */ values?: (google.protobuf.IValue[]|null); } /** Represents a ListValue. */ class ListValue implements IListValue { /** * Constructs a new ListValue. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IListValue); /** ListValue values. */ public values: google.protobuf.IValue[]; /** * Creates a new ListValue instance using the specified properties. * @param [properties] Properties to set * @returns ListValue instance */ public static create(properties?: google.protobuf.IListValue): google.protobuf.ListValue; /** * Encodes the specified ListValue message. Does not implicitly {@link google.protobuf.ListValue.verify|verify} messages. * @param message ListValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.IListValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListValue message, length delimited. Does not implicitly {@link google.protobuf.ListValue.verify|verify} messages. * @param message ListValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.IListValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListValue message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ListValue; /** * Decodes a ListValue message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ListValue; /** * Verifies a ListValue message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListValue message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListValue */ public static fromObject(object: { [k: string]: any }): google.protobuf.ListValue; /** * Creates a plain object from a ListValue message. Also converts values to other types if specified. * @param message ListValue * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.ListValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListValue to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListValue * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Timestamp. */ interface ITimestamp { /** Timestamp seconds */ seconds?: (number|Long|string|null); /** Timestamp nanos */ nanos?: (number|null); } /** Represents a Timestamp. */ class Timestamp implements ITimestamp { /** * Constructs a new Timestamp. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.ITimestamp); /** Timestamp seconds. */ public seconds: (number|Long|string); /** Timestamp nanos. */ public nanos: number; /** * Creates a new Timestamp instance using the specified properties. * @param [properties] Properties to set * @returns Timestamp instance */ public static create(properties?: google.protobuf.ITimestamp): google.protobuf.Timestamp; /** * Encodes the specified Timestamp message. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages. * @param message Timestamp message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Timestamp message, length delimited. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages. * @param message Timestamp message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Timestamp message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Timestamp * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Timestamp; /** * Decodes a Timestamp message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Timestamp * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Timestamp; /** * Verifies a Timestamp message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Timestamp message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Timestamp */ public static fromObject(object: { [k: string]: any }): google.protobuf.Timestamp; /** * Creates a plain object from a Timestamp message. Also converts values to other types if specified. * @param message Timestamp * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.Timestamp, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Timestamp to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Timestamp * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } }