/*! * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import * as $protobuf from "protobufjs"; import Long = require("long"); /** Namespace firestore. */ export namespace firestore { /** Properties of a BundledQuery. */ interface IBundledQuery { /** BundledQuery parent */ parent?: (string|null); /** BundledQuery structuredQuery */ structuredQuery?: (google.firestore.v1.IStructuredQuery|null); /** BundledQuery limitType */ limitType?: (firestore.BundledQuery.LimitType|null); } /** Represents a BundledQuery. */ class BundledQuery implements IBundledQuery { /** * Constructs a new BundledQuery. * @param [properties] Properties to set */ constructor(properties?: firestore.IBundledQuery); /** BundledQuery parent. */ public parent: string; /** BundledQuery structuredQuery. */ public structuredQuery?: (google.firestore.v1.IStructuredQuery|null); /** BundledQuery limitType. */ public limitType: firestore.BundledQuery.LimitType; /** BundledQuery queryType. */ public queryType?: "structuredQuery"; /** * Creates a BundledQuery message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BundledQuery */ public static fromObject(object: { [k: string]: any }): firestore.BundledQuery; /** * Creates a plain object from a BundledQuery message. Also converts values to other types if specified. * @param message BundledQuery * @param [options] Conversion options * @returns Plain object */ public static toObject(message: firestore.BundledQuery, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BundledQuery to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BundledQuery * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BundledQuery { /** LimitType enum. */ type LimitType = "FIRST"| "LAST"; } /** Properties of a NamedQuery. */ interface INamedQuery { /** NamedQuery name */ name?: (string|null); /** NamedQuery bundledQuery */ bundledQuery?: (firestore.IBundledQuery|null); /** NamedQuery readTime */ readTime?: (google.protobuf.ITimestamp|null); } /** Represents a NamedQuery. */ class NamedQuery implements INamedQuery { /** * Constructs a new NamedQuery. * @param [properties] Properties to set */ constructor(properties?: firestore.INamedQuery); /** NamedQuery name. */ public name: string; /** NamedQuery bundledQuery. */ public bundledQuery?: (firestore.IBundledQuery|null); /** NamedQuery readTime. */ public readTime?: (google.protobuf.ITimestamp|null); /** * Creates a NamedQuery message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NamedQuery */ public static fromObject(object: { [k: string]: any }): firestore.NamedQuery; /** * Creates a plain object from a NamedQuery message. Also converts values to other types if specified. * @param message NamedQuery * @param [options] Conversion options * @returns Plain object */ public static toObject(message: firestore.NamedQuery, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NamedQuery to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for NamedQuery * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BundledDocumentMetadata. */ interface IBundledDocumentMetadata { /** BundledDocumentMetadata name */ name?: (string|null); /** BundledDocumentMetadata readTime */ readTime?: (google.protobuf.ITimestamp|null); /** BundledDocumentMetadata exists */ exists?: (boolean|null); /** BundledDocumentMetadata queries */ queries?: (string[]|null); } /** Represents a BundledDocumentMetadata. */ class BundledDocumentMetadata implements IBundledDocumentMetadata { /** * Constructs a new BundledDocumentMetadata. * @param [properties] Properties to set */ constructor(properties?: firestore.IBundledDocumentMetadata); /** BundledDocumentMetadata name. */ public name: string; /** BundledDocumentMetadata readTime. */ public readTime?: (google.protobuf.ITimestamp|null); /** BundledDocumentMetadata exists. */ public exists: boolean; /** BundledDocumentMetadata queries. */ public queries: string[]; /** * Creates a BundledDocumentMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BundledDocumentMetadata */ public static fromObject(object: { [k: string]: any }): firestore.BundledDocumentMetadata; /** * Creates a plain object from a BundledDocumentMetadata message. Also converts values to other types if specified. * @param message BundledDocumentMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: firestore.BundledDocumentMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BundledDocumentMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BundledDocumentMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BundleMetadata. */ interface IBundleMetadata { /** BundleMetadata id */ id?: (string|null); /** BundleMetadata createTime */ createTime?: (google.protobuf.ITimestamp|null); /** BundleMetadata version */ version?: (number|null); /** BundleMetadata totalDocuments */ totalDocuments?: (number|null); /** BundleMetadata totalBytes */ totalBytes?: (number|string|null); } /** Represents a BundleMetadata. */ class BundleMetadata implements IBundleMetadata { /** * Constructs a new BundleMetadata. * @param [properties] Properties to set */ constructor(properties?: firestore.IBundleMetadata); /** BundleMetadata id. */ public id: string; /** BundleMetadata createTime. */ public createTime?: (google.protobuf.ITimestamp|null); /** BundleMetadata version. */ public version: number; /** BundleMetadata totalDocuments. */ public totalDocuments: number; /** BundleMetadata totalBytes. */ public totalBytes: (number|string); /** * Creates a BundleMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BundleMetadata */ public static fromObject(object: { [k: string]: any }): firestore.BundleMetadata; /** * Creates a plain object from a BundleMetadata message. Also converts values to other types if specified. * @param message BundleMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: firestore.BundleMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BundleMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BundleMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BundleElement. */ interface IBundleElement { /** BundleElement metadata */ metadata?: (firestore.IBundleMetadata|null); /** BundleElement namedQuery */ namedQuery?: (firestore.INamedQuery|null); /** BundleElement documentMetadata */ documentMetadata?: (firestore.IBundledDocumentMetadata|null); /** BundleElement document */ document?: (google.firestore.v1.IDocument|null); } /** Represents a BundleElement. */ class BundleElement implements IBundleElement { /** * Constructs a new BundleElement. * @param [properties] Properties to set */ constructor(properties?: firestore.IBundleElement); /** BundleElement metadata. */ public metadata?: (firestore.IBundleMetadata|null); /** BundleElement namedQuery. */ public namedQuery?: (firestore.INamedQuery|null); /** BundleElement documentMetadata. */ public documentMetadata?: (firestore.IBundledDocumentMetadata|null); /** BundleElement document. */ public document?: (google.firestore.v1.IDocument|null); /** BundleElement elementType. */ public elementType?: ("metadata"|"namedQuery"|"documentMetadata"|"document"); /** * Creates a BundleElement message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BundleElement */ public static fromObject(object: { [k: string]: any }): firestore.BundleElement; /** * Creates a plain object from a BundleElement message. Also converts values to other types if specified. * @param message BundleElement * @param [options] Conversion options * @returns Plain object */ public static toObject(message: firestore.BundleElement, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BundleElement to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BundleElement * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Namespace google. */ export namespace google { /** Namespace firestore. */ namespace firestore { /** Namespace v1. */ namespace v1 { /** Properties of an AggregationResult. */ interface IAggregationResult { /** AggregationResult aggregateFields */ aggregateFields?: ({ [k: string]: google.firestore.v1.IValue }|null); } /** Represents an AggregationResult. */ class AggregationResult implements IAggregationResult { /** * Constructs a new AggregationResult. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IAggregationResult); /** AggregationResult aggregateFields. */ public aggregateFields: { [k: string]: google.firestore.v1.IValue }; /** * Creates an AggregationResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AggregationResult */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.AggregationResult; /** * Creates a plain object from an AggregationResult message. Also converts values to other types if specified. * @param message AggregationResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.AggregationResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AggregationResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AggregationResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Document. */ interface IDocument { /** Document name */ name?: (string|null); /** Document fields */ fields?: ({ [k: string]: google.firestore.v1.IValue }|null); /** Document createTime */ createTime?: (google.protobuf.ITimestamp|null); /** Document updateTime */ updateTime?: (google.protobuf.ITimestamp|null); } /** Represents a Document. */ class Document implements IDocument { /** * Constructs a new Document. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IDocument); /** Document name. */ public name: string; /** Document fields. */ public fields: { [k: string]: google.firestore.v1.IValue }; /** Document createTime. */ public createTime?: (google.protobuf.ITimestamp|null); /** Document updateTime. */ public updateTime?: (google.protobuf.ITimestamp|null); /** * Creates a Document message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Document */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.Document; /** * Creates a plain object from a Document message. Also converts values to other types if specified. * @param message Document * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.Document, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Document to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Document * @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|null); /** Value booleanValue */ booleanValue?: (boolean|null); /** Value integerValue */ integerValue?: (number|string|null); /** Value doubleValue */ doubleValue?: (number|null); /** Value timestampValue */ timestampValue?: (google.protobuf.ITimestamp|null); /** Value stringValue */ stringValue?: (string|null); /** Value bytesValue */ bytesValue?: (Uint8Array|null); /** Value referenceValue */ referenceValue?: (string|null); /** Value geoPointValue */ geoPointValue?: (google.type.ILatLng|null); /** Value arrayValue */ arrayValue?: (google.firestore.v1.IArrayValue|null); /** Value mapValue */ mapValue?: (google.firestore.v1.IMapValue|null); /** Value fieldReferenceValue */ fieldReferenceValue?: (string|null); /** Value variableReferenceValue */ variableReferenceValue?: (string|null); /** Value functionValue */ functionValue?: (google.firestore.v1.IFunction|null); /** Value pipelineValue */ pipelineValue?: (google.firestore.v1.IPipeline|null); } /** Represents a Value. */ class Value implements IValue { /** * Constructs a new Value. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IValue); /** Value nullValue. */ public nullValue?: (google.protobuf.NullValue|null); /** Value booleanValue. */ public booleanValue?: (boolean|null); /** Value integerValue. */ public integerValue?: (number|string|null); /** Value doubleValue. */ public doubleValue?: (number|null); /** Value timestampValue. */ public timestampValue?: (google.protobuf.ITimestamp|null); /** Value stringValue. */ public stringValue?: (string|null); /** Value bytesValue. */ public bytesValue?: (Uint8Array|null); /** Value referenceValue. */ public referenceValue?: (string|null); /** Value geoPointValue. */ public geoPointValue?: (google.type.ILatLng|null); /** Value arrayValue. */ public arrayValue?: (google.firestore.v1.IArrayValue|null); /** Value mapValue. */ public mapValue?: (google.firestore.v1.IMapValue|null); /** Value fieldReferenceValue. */ public fieldReferenceValue?: (string|null); /** Value variableReferenceValue. */ public variableReferenceValue?: (string|null); /** Value functionValue. */ public functionValue?: (google.firestore.v1.IFunction|null); /** Value pipelineValue. */ public pipelineValue?: (google.firestore.v1.IPipeline|null); /** Value valueType. */ public valueType?: ("nullValue"|"booleanValue"|"integerValue"|"doubleValue"|"timestampValue"|"stringValue"|"bytesValue"|"referenceValue"|"geoPointValue"|"arrayValue"|"mapValue"|"fieldReferenceValue"|"variableReferenceValue"|"functionValue"|"pipelineValue"); /** * 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.firestore.v1.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.firestore.v1.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; } /** Properties of an ArrayValue. */ interface IArrayValue { /** ArrayValue values */ values?: (google.firestore.v1.IValue[]|null); } /** Represents an ArrayValue. */ class ArrayValue implements IArrayValue { /** * Constructs a new ArrayValue. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IArrayValue); /** ArrayValue values. */ public values: google.firestore.v1.IValue[]; /** * Creates an ArrayValue message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ArrayValue */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.ArrayValue; /** * Creates a plain object from an ArrayValue message. Also converts values to other types if specified. * @param message ArrayValue * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.ArrayValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ArrayValue to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ArrayValue * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MapValue. */ interface IMapValue { /** MapValue fields */ fields?: ({ [k: string]: google.firestore.v1.IValue }|null); } /** Represents a MapValue. */ class MapValue implements IMapValue { /** * Constructs a new MapValue. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IMapValue); /** MapValue fields. */ public fields: { [k: string]: google.firestore.v1.IValue }; /** * Creates a MapValue message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MapValue */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.MapValue; /** * Creates a plain object from a MapValue message. Also converts values to other types if specified. * @param message MapValue * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.MapValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MapValue to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MapValue * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Function. */ interface IFunction { /** Function name */ name?: (string|null); /** Function args */ args?: (google.firestore.v1.IValue[]|null); /** Function options */ options?: ({ [k: string]: google.firestore.v1.IValue }|null); } /** Represents a Function. */ class Function implements IFunction { /** * Constructs a new Function. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IFunction); /** Function name. */ public name: string; /** Function args. */ public args: google.firestore.v1.IValue[]; /** Function options. */ public options: { [k: string]: google.firestore.v1.IValue }; /** * Creates a Function message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Function */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.Function; /** * Creates a plain object from a Function message. Also converts values to other types if specified. * @param message Function * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.Function, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Function to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Function * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Pipeline. */ interface IPipeline { /** Pipeline stages */ stages?: (google.firestore.v1.Pipeline.IStage[]|null); } /** Represents a Pipeline. */ class Pipeline implements IPipeline { /** * Constructs a new Pipeline. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IPipeline); /** Pipeline stages. */ public stages: google.firestore.v1.Pipeline.IStage[]; /** * Creates a Pipeline message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Pipeline */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.Pipeline; /** * Creates a plain object from a Pipeline message. Also converts values to other types if specified. * @param message Pipeline * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.Pipeline, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Pipeline to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Pipeline * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Pipeline { /** Properties of a Stage. */ interface IStage { /** Stage name */ name?: (string|null); /** Stage args */ args?: (google.firestore.v1.IValue[]|null); /** Stage options */ options?: ({ [k: string]: google.firestore.v1.IValue }|null); } /** Represents a Stage. */ class Stage implements IStage { /** * Constructs a new Stage. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.Pipeline.IStage); /** Stage name. */ public name: string; /** Stage args. */ public args: google.firestore.v1.IValue[]; /** Stage options. */ public options: { [k: string]: google.firestore.v1.IValue }; /** * Creates a Stage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Stage */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.Pipeline.Stage; /** * Creates a plain object from a Stage message. Also converts values to other types if specified. * @param message Stage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.Pipeline.Stage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Stage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Stage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a BitSequence. */ interface IBitSequence { /** BitSequence bitmap */ bitmap?: (Uint8Array|null); /** BitSequence padding */ padding?: (number|null); } /** Represents a BitSequence. */ class BitSequence implements IBitSequence { /** * Constructs a new BitSequence. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IBitSequence); /** BitSequence bitmap. */ public bitmap: Uint8Array; /** BitSequence padding. */ public padding: number; /** * Creates a BitSequence message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BitSequence */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.BitSequence; /** * Creates a plain object from a BitSequence message. Also converts values to other types if specified. * @param message BitSequence * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.BitSequence, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BitSequence to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BitSequence * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BloomFilter. */ interface IBloomFilter { /** BloomFilter bits */ bits?: (google.firestore.v1.IBitSequence|null); /** BloomFilter hashCount */ hashCount?: (number|null); } /** Represents a BloomFilter. */ class BloomFilter implements IBloomFilter { /** * Constructs a new BloomFilter. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IBloomFilter); /** BloomFilter bits. */ public bits?: (google.firestore.v1.IBitSequence|null); /** BloomFilter hashCount. */ public hashCount: number; /** * Creates a BloomFilter message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BloomFilter */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.BloomFilter; /** * Creates a plain object from a BloomFilter message. Also converts values to other types if specified. * @param message BloomFilter * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.BloomFilter, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BloomFilter to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BloomFilter * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DocumentMask. */ interface IDocumentMask { /** DocumentMask fieldPaths */ fieldPaths?: (string[]|null); } /** Represents a DocumentMask. */ class DocumentMask implements IDocumentMask { /** * Constructs a new DocumentMask. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IDocumentMask); /** DocumentMask fieldPaths. */ public fieldPaths: string[]; /** * Creates a DocumentMask message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DocumentMask */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.DocumentMask; /** * Creates a plain object from a DocumentMask message. Also converts values to other types if specified. * @param message DocumentMask * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.DocumentMask, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DocumentMask to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DocumentMask * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Precondition. */ interface IPrecondition { /** Precondition exists */ exists?: (boolean|null); /** Precondition updateTime */ updateTime?: (google.protobuf.ITimestamp|null); } /** Represents a Precondition. */ class Precondition implements IPrecondition { /** * Constructs a new Precondition. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IPrecondition); /** Precondition exists. */ public exists?: (boolean|null); /** Precondition updateTime. */ public updateTime?: (google.protobuf.ITimestamp|null); /** Precondition conditionType. */ public conditionType?: ("exists"|"updateTime"); /** * Creates a Precondition message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Precondition */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.Precondition; /** * Creates a plain object from a Precondition message. Also converts values to other types if specified. * @param message Precondition * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.Precondition, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Precondition to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Precondition * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TransactionOptions. */ interface ITransactionOptions { /** TransactionOptions readOnly */ readOnly?: (google.firestore.v1.TransactionOptions.IReadOnly|null); /** TransactionOptions readWrite */ readWrite?: (google.firestore.v1.TransactionOptions.IReadWrite|null); } /** Represents a TransactionOptions. */ class TransactionOptions implements ITransactionOptions { /** * Constructs a new TransactionOptions. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.ITransactionOptions); /** TransactionOptions readOnly. */ public readOnly?: (google.firestore.v1.TransactionOptions.IReadOnly|null); /** TransactionOptions readWrite. */ public readWrite?: (google.firestore.v1.TransactionOptions.IReadWrite|null); /** TransactionOptions mode. */ public mode?: ("readOnly"|"readWrite"); /** * Creates a TransactionOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TransactionOptions */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.TransactionOptions; /** * Creates a plain object from a TransactionOptions message. Also converts values to other types if specified. * @param message TransactionOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.TransactionOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TransactionOptions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for TransactionOptions * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace TransactionOptions { /** Properties of a ReadWrite. */ interface IReadWrite { /** ReadWrite retryTransaction */ retryTransaction?: (Uint8Array|null); } /** Represents a ReadWrite. */ class ReadWrite implements IReadWrite { /** * Constructs a new ReadWrite. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.TransactionOptions.IReadWrite); /** ReadWrite retryTransaction. */ public retryTransaction: Uint8Array; /** * Creates a ReadWrite message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ReadWrite */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.TransactionOptions.ReadWrite; /** * Creates a plain object from a ReadWrite message. Also converts values to other types if specified. * @param message ReadWrite * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.TransactionOptions.ReadWrite, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ReadWrite to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ReadWrite * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ReadOnly. */ interface IReadOnly { /** ReadOnly readTime */ readTime?: (google.protobuf.ITimestamp|null); } /** Represents a ReadOnly. */ class ReadOnly implements IReadOnly { /** * Constructs a new ReadOnly. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.TransactionOptions.IReadOnly); /** ReadOnly readTime. */ public readTime?: (google.protobuf.ITimestamp|null); /** ReadOnly consistencySelector. */ public consistencySelector?: "readTime"; /** * Creates a ReadOnly message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ReadOnly */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.TransactionOptions.ReadOnly; /** * Creates a plain object from a ReadOnly message. Also converts values to other types if specified. * @param message ReadOnly * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.TransactionOptions.ReadOnly, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ReadOnly to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ReadOnly * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of an ExplainStats. */ interface IExplainStats { /** ExplainStats data */ data?: (google.protobuf.IAny|null); } /** Represents an ExplainStats. */ class ExplainStats implements IExplainStats { /** * Constructs a new ExplainStats. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IExplainStats); /** ExplainStats data. */ public data?: (google.protobuf.IAny|null); /** * Creates an ExplainStats message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExplainStats */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.ExplainStats; /** * Creates a plain object from an ExplainStats message. Also converts values to other types if specified. * @param message ExplainStats * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.ExplainStats, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExplainStats to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ExplainStats * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Represents a Firestore */ class Firestore extends $protobuf.rpc.Service { /** * Constructs a new Firestore 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); /** * Calls GetDocument. * @param request GetDocumentRequest message or plain object * @param callback Node-style callback called with the error, if any, and Document */ public getDocument(request: google.firestore.v1.IGetDocumentRequest, callback: google.firestore.v1.Firestore.GetDocumentCallback): void; /** * Calls GetDocument. * @param request GetDocumentRequest message or plain object * @returns Promise */ public getDocument(request: google.firestore.v1.IGetDocumentRequest): Promise; /** * Calls ListDocuments. * @param request ListDocumentsRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListDocumentsResponse */ public listDocuments(request: google.firestore.v1.IListDocumentsRequest, callback: google.firestore.v1.Firestore.ListDocumentsCallback): void; /** * Calls ListDocuments. * @param request ListDocumentsRequest message or plain object * @returns Promise */ public listDocuments(request: google.firestore.v1.IListDocumentsRequest): Promise; /** * Calls UpdateDocument. * @param request UpdateDocumentRequest message or plain object * @param callback Node-style callback called with the error, if any, and Document */ public updateDocument(request: google.firestore.v1.IUpdateDocumentRequest, callback: google.firestore.v1.Firestore.UpdateDocumentCallback): void; /** * Calls UpdateDocument. * @param request UpdateDocumentRequest message or plain object * @returns Promise */ public updateDocument(request: google.firestore.v1.IUpdateDocumentRequest): Promise; /** * Calls DeleteDocument. * @param request DeleteDocumentRequest message or plain object * @param callback Node-style callback called with the error, if any, and Empty */ public deleteDocument(request: google.firestore.v1.IDeleteDocumentRequest, callback: google.firestore.v1.Firestore.DeleteDocumentCallback): void; /** * Calls DeleteDocument. * @param request DeleteDocumentRequest message or plain object * @returns Promise */ public deleteDocument(request: google.firestore.v1.IDeleteDocumentRequest): Promise; /** * Calls BatchGetDocuments. * @param request BatchGetDocumentsRequest message or plain object * @param callback Node-style callback called with the error, if any, and BatchGetDocumentsResponse */ public batchGetDocuments(request: google.firestore.v1.IBatchGetDocumentsRequest, callback: google.firestore.v1.Firestore.BatchGetDocumentsCallback): void; /** * Calls BatchGetDocuments. * @param request BatchGetDocumentsRequest message or plain object * @returns Promise */ public batchGetDocuments(request: google.firestore.v1.IBatchGetDocumentsRequest): Promise; /** * Calls BeginTransaction. * @param request BeginTransactionRequest message or plain object * @param callback Node-style callback called with the error, if any, and BeginTransactionResponse */ public beginTransaction(request: google.firestore.v1.IBeginTransactionRequest, callback: google.firestore.v1.Firestore.BeginTransactionCallback): void; /** * Calls BeginTransaction. * @param request BeginTransactionRequest message or plain object * @returns Promise */ public beginTransaction(request: google.firestore.v1.IBeginTransactionRequest): Promise; /** * Calls Commit. * @param request CommitRequest message or plain object * @param callback Node-style callback called with the error, if any, and CommitResponse */ public commit(request: google.firestore.v1.ICommitRequest, callback: google.firestore.v1.Firestore.CommitCallback): void; /** * Calls Commit. * @param request CommitRequest message or plain object * @returns Promise */ public commit(request: google.firestore.v1.ICommitRequest): Promise; /** * Calls Rollback. * @param request RollbackRequest message or plain object * @param callback Node-style callback called with the error, if any, and Empty */ public rollback(request: google.firestore.v1.IRollbackRequest, callback: google.firestore.v1.Firestore.RollbackCallback): void; /** * Calls Rollback. * @param request RollbackRequest message or plain object * @returns Promise */ public rollback(request: google.firestore.v1.IRollbackRequest): Promise; /** * Calls RunQuery. * @param request RunQueryRequest message or plain object * @param callback Node-style callback called with the error, if any, and RunQueryResponse */ public runQuery(request: google.firestore.v1.IRunQueryRequest, callback: google.firestore.v1.Firestore.RunQueryCallback): void; /** * Calls RunQuery. * @param request RunQueryRequest message or plain object * @returns Promise */ public runQuery(request: google.firestore.v1.IRunQueryRequest): Promise; /** * Calls ExecutePipeline. * @param request ExecutePipelineRequest message or plain object * @param callback Node-style callback called with the error, if any, and ExecutePipelineResponse */ public executePipeline(request: google.firestore.v1.IExecutePipelineRequest, callback: google.firestore.v1.Firestore.ExecutePipelineCallback): void; /** * Calls ExecutePipeline. * @param request ExecutePipelineRequest message or plain object * @returns Promise */ public executePipeline(request: google.firestore.v1.IExecutePipelineRequest): Promise; /** * Calls RunAggregationQuery. * @param request RunAggregationQueryRequest message or plain object * @param callback Node-style callback called with the error, if any, and RunAggregationQueryResponse */ public runAggregationQuery(request: google.firestore.v1.IRunAggregationQueryRequest, callback: google.firestore.v1.Firestore.RunAggregationQueryCallback): void; /** * Calls RunAggregationQuery. * @param request RunAggregationQueryRequest message or plain object * @returns Promise */ public runAggregationQuery(request: google.firestore.v1.IRunAggregationQueryRequest): Promise; /** * Calls PartitionQuery. * @param request PartitionQueryRequest message or plain object * @param callback Node-style callback called with the error, if any, and PartitionQueryResponse */ public partitionQuery(request: google.firestore.v1.IPartitionQueryRequest, callback: google.firestore.v1.Firestore.PartitionQueryCallback): void; /** * Calls PartitionQuery. * @param request PartitionQueryRequest message or plain object * @returns Promise */ public partitionQuery(request: google.firestore.v1.IPartitionQueryRequest): Promise; /** * Calls Write. * @param request WriteRequest message or plain object * @param callback Node-style callback called with the error, if any, and WriteResponse */ public write(request: google.firestore.v1.IWriteRequest, callback: google.firestore.v1.Firestore.WriteCallback): void; /** * Calls Write. * @param request WriteRequest message or plain object * @returns Promise */ public write(request: google.firestore.v1.IWriteRequest): Promise; /** * Calls Listen. * @param request ListenRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListenResponse */ public listen(request: google.firestore.v1.IListenRequest, callback: google.firestore.v1.Firestore.ListenCallback): void; /** * Calls Listen. * @param request ListenRequest message or plain object * @returns Promise */ public listen(request: google.firestore.v1.IListenRequest): Promise; /** * Calls ListCollectionIds. * @param request ListCollectionIdsRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListCollectionIdsResponse */ public listCollectionIds(request: google.firestore.v1.IListCollectionIdsRequest, callback: google.firestore.v1.Firestore.ListCollectionIdsCallback): void; /** * Calls ListCollectionIds. * @param request ListCollectionIdsRequest message or plain object * @returns Promise */ public listCollectionIds(request: google.firestore.v1.IListCollectionIdsRequest): Promise; /** * Calls BatchWrite. * @param request BatchWriteRequest message or plain object * @param callback Node-style callback called with the error, if any, and BatchWriteResponse */ public batchWrite(request: google.firestore.v1.IBatchWriteRequest, callback: google.firestore.v1.Firestore.BatchWriteCallback): void; /** * Calls BatchWrite. * @param request BatchWriteRequest message or plain object * @returns Promise */ public batchWrite(request: google.firestore.v1.IBatchWriteRequest): Promise; /** * Calls CreateDocument. * @param request CreateDocumentRequest message or plain object * @param callback Node-style callback called with the error, if any, and Document */ public createDocument(request: google.firestore.v1.ICreateDocumentRequest, callback: google.firestore.v1.Firestore.CreateDocumentCallback): void; /** * Calls CreateDocument. * @param request CreateDocumentRequest message or plain object * @returns Promise */ public createDocument(request: google.firestore.v1.ICreateDocumentRequest): Promise; } namespace Firestore { /** * Callback as used by {@link google.firestore.v1.Firestore#getDocument}. * @param error Error, if any * @param [response] Document */ type GetDocumentCallback = (error: (Error|null), response?: google.firestore.v1.Document) => void; /** * Callback as used by {@link google.firestore.v1.Firestore#listDocuments}. * @param error Error, if any * @param [response] ListDocumentsResponse */ type ListDocumentsCallback = (error: (Error|null), response?: google.firestore.v1.ListDocumentsResponse) => void; /** * Callback as used by {@link google.firestore.v1.Firestore#updateDocument}. * @param error Error, if any * @param [response] Document */ type UpdateDocumentCallback = (error: (Error|null), response?: google.firestore.v1.Document) => void; /** * Callback as used by {@link google.firestore.v1.Firestore#deleteDocument}. * @param error Error, if any * @param [response] Empty */ type DeleteDocumentCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** * Callback as used by {@link google.firestore.v1.Firestore#batchGetDocuments}. * @param error Error, if any * @param [response] BatchGetDocumentsResponse */ type BatchGetDocumentsCallback = (error: (Error|null), response?: google.firestore.v1.BatchGetDocumentsResponse) => void; /** * Callback as used by {@link google.firestore.v1.Firestore#beginTransaction}. * @param error Error, if any * @param [response] BeginTransactionResponse */ type BeginTransactionCallback = (error: (Error|null), response?: google.firestore.v1.BeginTransactionResponse) => void; /** * Callback as used by {@link google.firestore.v1.Firestore#commit}. * @param error Error, if any * @param [response] CommitResponse */ type CommitCallback = (error: (Error|null), response?: google.firestore.v1.CommitResponse) => void; /** * Callback as used by {@link google.firestore.v1.Firestore#rollback}. * @param error Error, if any * @param [response] Empty */ type RollbackCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** * Callback as used by {@link google.firestore.v1.Firestore#runQuery}. * @param error Error, if any * @param [response] RunQueryResponse */ type RunQueryCallback = (error: (Error|null), response?: google.firestore.v1.RunQueryResponse) => void; /** * Callback as used by {@link google.firestore.v1.Firestore#executePipeline}. * @param error Error, if any * @param [response] ExecutePipelineResponse */ type ExecutePipelineCallback = (error: (Error|null), response?: google.firestore.v1.ExecutePipelineResponse) => void; /** * Callback as used by {@link google.firestore.v1.Firestore#runAggregationQuery}. * @param error Error, if any * @param [response] RunAggregationQueryResponse */ type RunAggregationQueryCallback = (error: (Error|null), response?: google.firestore.v1.RunAggregationQueryResponse) => void; /** * Callback as used by {@link google.firestore.v1.Firestore#partitionQuery}. * @param error Error, if any * @param [response] PartitionQueryResponse */ type PartitionQueryCallback = (error: (Error|null), response?: google.firestore.v1.PartitionQueryResponse) => void; /** * Callback as used by {@link google.firestore.v1.Firestore#write}. * @param error Error, if any * @param [response] WriteResponse */ type WriteCallback = (error: (Error|null), response?: google.firestore.v1.WriteResponse) => void; /** * Callback as used by {@link google.firestore.v1.Firestore#listen}. * @param error Error, if any * @param [response] ListenResponse */ type ListenCallback = (error: (Error|null), response?: google.firestore.v1.ListenResponse) => void; /** * Callback as used by {@link google.firestore.v1.Firestore#listCollectionIds}. * @param error Error, if any * @param [response] ListCollectionIdsResponse */ type ListCollectionIdsCallback = (error: (Error|null), response?: google.firestore.v1.ListCollectionIdsResponse) => void; /** * Callback as used by {@link google.firestore.v1.Firestore#batchWrite}. * @param error Error, if any * @param [response] BatchWriteResponse */ type BatchWriteCallback = (error: (Error|null), response?: google.firestore.v1.BatchWriteResponse) => void; /** * Callback as used by {@link google.firestore.v1.Firestore#createDocument}. * @param error Error, if any * @param [response] Document */ type CreateDocumentCallback = (error: (Error|null), response?: google.firestore.v1.Document) => void; } /** Properties of a GetDocumentRequest. */ interface IGetDocumentRequest { /** GetDocumentRequest name */ name?: (string|null); /** GetDocumentRequest mask */ mask?: (google.firestore.v1.IDocumentMask|null); /** GetDocumentRequest transaction */ transaction?: (Uint8Array|null); /** GetDocumentRequest readTime */ readTime?: (google.protobuf.ITimestamp|null); } /** Represents a GetDocumentRequest. */ class GetDocumentRequest implements IGetDocumentRequest { /** * Constructs a new GetDocumentRequest. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IGetDocumentRequest); /** GetDocumentRequest name. */ public name: string; /** GetDocumentRequest mask. */ public mask?: (google.firestore.v1.IDocumentMask|null); /** GetDocumentRequest transaction. */ public transaction?: (Uint8Array|null); /** GetDocumentRequest readTime. */ public readTime?: (google.protobuf.ITimestamp|null); /** GetDocumentRequest consistencySelector. */ public consistencySelector?: ("transaction"|"readTime"); /** * Creates a GetDocumentRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetDocumentRequest */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.GetDocumentRequest; /** * Creates a plain object from a GetDocumentRequest message. Also converts values to other types if specified. * @param message GetDocumentRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.GetDocumentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetDocumentRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GetDocumentRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListDocumentsRequest. */ interface IListDocumentsRequest { /** ListDocumentsRequest parent */ parent?: (string|null); /** ListDocumentsRequest collectionId */ collectionId?: (string|null); /** ListDocumentsRequest pageSize */ pageSize?: (number|null); /** ListDocumentsRequest pageToken */ pageToken?: (string|null); /** ListDocumentsRequest orderBy */ orderBy?: (string|null); /** ListDocumentsRequest mask */ mask?: (google.firestore.v1.IDocumentMask|null); /** ListDocumentsRequest transaction */ transaction?: (Uint8Array|null); /** ListDocumentsRequest readTime */ readTime?: (google.protobuf.ITimestamp|null); /** ListDocumentsRequest showMissing */ showMissing?: (boolean|null); } /** Represents a ListDocumentsRequest. */ class ListDocumentsRequest implements IListDocumentsRequest { /** * Constructs a new ListDocumentsRequest. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IListDocumentsRequest); /** ListDocumentsRequest parent. */ public parent: string; /** ListDocumentsRequest collectionId. */ public collectionId: string; /** ListDocumentsRequest pageSize. */ public pageSize: number; /** ListDocumentsRequest pageToken. */ public pageToken: string; /** ListDocumentsRequest orderBy. */ public orderBy: string; /** ListDocumentsRequest mask. */ public mask?: (google.firestore.v1.IDocumentMask|null); /** ListDocumentsRequest transaction. */ public transaction?: (Uint8Array|null); /** ListDocumentsRequest readTime. */ public readTime?: (google.protobuf.ITimestamp|null); /** ListDocumentsRequest showMissing. */ public showMissing: boolean; /** ListDocumentsRequest consistencySelector. */ public consistencySelector?: ("transaction"|"readTime"); /** * Creates a ListDocumentsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListDocumentsRequest */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.ListDocumentsRequest; /** * Creates a plain object from a ListDocumentsRequest message. Also converts values to other types if specified. * @param message ListDocumentsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.ListDocumentsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListDocumentsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListDocumentsRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListDocumentsResponse. */ interface IListDocumentsResponse { /** ListDocumentsResponse documents */ documents?: (google.firestore.v1.IDocument[]|null); /** ListDocumentsResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents a ListDocumentsResponse. */ class ListDocumentsResponse implements IListDocumentsResponse { /** * Constructs a new ListDocumentsResponse. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IListDocumentsResponse); /** ListDocumentsResponse documents. */ public documents: google.firestore.v1.IDocument[]; /** ListDocumentsResponse nextPageToken. */ public nextPageToken: string; /** * Creates a ListDocumentsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListDocumentsResponse */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.ListDocumentsResponse; /** * Creates a plain object from a ListDocumentsResponse message. Also converts values to other types if specified. * @param message ListDocumentsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.ListDocumentsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListDocumentsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListDocumentsResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateDocumentRequest. */ interface ICreateDocumentRequest { /** CreateDocumentRequest parent */ parent?: (string|null); /** CreateDocumentRequest collectionId */ collectionId?: (string|null); /** CreateDocumentRequest documentId */ documentId?: (string|null); /** CreateDocumentRequest document */ document?: (google.firestore.v1.IDocument|null); /** CreateDocumentRequest mask */ mask?: (google.firestore.v1.IDocumentMask|null); } /** Represents a CreateDocumentRequest. */ class CreateDocumentRequest implements ICreateDocumentRequest { /** * Constructs a new CreateDocumentRequest. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.ICreateDocumentRequest); /** CreateDocumentRequest parent. */ public parent: string; /** CreateDocumentRequest collectionId. */ public collectionId: string; /** CreateDocumentRequest documentId. */ public documentId: string; /** CreateDocumentRequest document. */ public document?: (google.firestore.v1.IDocument|null); /** CreateDocumentRequest mask. */ public mask?: (google.firestore.v1.IDocumentMask|null); /** * Creates a CreateDocumentRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CreateDocumentRequest */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.CreateDocumentRequest; /** * Creates a plain object from a CreateDocumentRequest message. Also converts values to other types if specified. * @param message CreateDocumentRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.CreateDocumentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CreateDocumentRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CreateDocumentRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UpdateDocumentRequest. */ interface IUpdateDocumentRequest { /** UpdateDocumentRequest document */ document?: (google.firestore.v1.IDocument|null); /** UpdateDocumentRequest updateMask */ updateMask?: (google.firestore.v1.IDocumentMask|null); /** UpdateDocumentRequest mask */ mask?: (google.firestore.v1.IDocumentMask|null); /** UpdateDocumentRequest currentDocument */ currentDocument?: (google.firestore.v1.IPrecondition|null); } /** Represents an UpdateDocumentRequest. */ class UpdateDocumentRequest implements IUpdateDocumentRequest { /** * Constructs a new UpdateDocumentRequest. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IUpdateDocumentRequest); /** UpdateDocumentRequest document. */ public document?: (google.firestore.v1.IDocument|null); /** UpdateDocumentRequest updateMask. */ public updateMask?: (google.firestore.v1.IDocumentMask|null); /** UpdateDocumentRequest mask. */ public mask?: (google.firestore.v1.IDocumentMask|null); /** UpdateDocumentRequest currentDocument. */ public currentDocument?: (google.firestore.v1.IPrecondition|null); /** * Creates an UpdateDocumentRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UpdateDocumentRequest */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.UpdateDocumentRequest; /** * Creates a plain object from an UpdateDocumentRequest message. Also converts values to other types if specified. * @param message UpdateDocumentRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.UpdateDocumentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UpdateDocumentRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UpdateDocumentRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteDocumentRequest. */ interface IDeleteDocumentRequest { /** DeleteDocumentRequest name */ name?: (string|null); /** DeleteDocumentRequest currentDocument */ currentDocument?: (google.firestore.v1.IPrecondition|null); } /** Represents a DeleteDocumentRequest. */ class DeleteDocumentRequest implements IDeleteDocumentRequest { /** * Constructs a new DeleteDocumentRequest. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IDeleteDocumentRequest); /** DeleteDocumentRequest name. */ public name: string; /** DeleteDocumentRequest currentDocument. */ public currentDocument?: (google.firestore.v1.IPrecondition|null); /** * Creates a DeleteDocumentRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteDocumentRequest */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.DeleteDocumentRequest; /** * Creates a plain object from a DeleteDocumentRequest message. Also converts values to other types if specified. * @param message DeleteDocumentRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.DeleteDocumentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteDocumentRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeleteDocumentRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchGetDocumentsRequest. */ interface IBatchGetDocumentsRequest { /** BatchGetDocumentsRequest database */ database?: (string|null); /** BatchGetDocumentsRequest documents */ documents?: (string[]|null); /** BatchGetDocumentsRequest mask */ mask?: (google.firestore.v1.IDocumentMask|null); /** BatchGetDocumentsRequest transaction */ transaction?: (Uint8Array|null); /** BatchGetDocumentsRequest newTransaction */ newTransaction?: (google.firestore.v1.ITransactionOptions|null); /** BatchGetDocumentsRequest readTime */ readTime?: (google.protobuf.ITimestamp|null); } /** Represents a BatchGetDocumentsRequest. */ class BatchGetDocumentsRequest implements IBatchGetDocumentsRequest { /** * Constructs a new BatchGetDocumentsRequest. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IBatchGetDocumentsRequest); /** BatchGetDocumentsRequest database. */ public database: string; /** BatchGetDocumentsRequest documents. */ public documents: string[]; /** BatchGetDocumentsRequest mask. */ public mask?: (google.firestore.v1.IDocumentMask|null); /** BatchGetDocumentsRequest transaction. */ public transaction?: (Uint8Array|null); /** BatchGetDocumentsRequest newTransaction. */ public newTransaction?: (google.firestore.v1.ITransactionOptions|null); /** BatchGetDocumentsRequest readTime. */ public readTime?: (google.protobuf.ITimestamp|null); /** BatchGetDocumentsRequest consistencySelector. */ public consistencySelector?: ("transaction"|"newTransaction"|"readTime"); /** * Creates a BatchGetDocumentsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BatchGetDocumentsRequest */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.BatchGetDocumentsRequest; /** * Creates a plain object from a BatchGetDocumentsRequest message. Also converts values to other types if specified. * @param message BatchGetDocumentsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.BatchGetDocumentsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BatchGetDocumentsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BatchGetDocumentsRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchGetDocumentsResponse. */ interface IBatchGetDocumentsResponse { /** BatchGetDocumentsResponse found */ found?: (google.firestore.v1.IDocument|null); /** BatchGetDocumentsResponse missing */ missing?: (string|null); /** BatchGetDocumentsResponse transaction */ transaction?: (Uint8Array|null); /** BatchGetDocumentsResponse readTime */ readTime?: (google.protobuf.ITimestamp|null); } /** Represents a BatchGetDocumentsResponse. */ class BatchGetDocumentsResponse implements IBatchGetDocumentsResponse { /** * Constructs a new BatchGetDocumentsResponse. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IBatchGetDocumentsResponse); /** BatchGetDocumentsResponse found. */ public found?: (google.firestore.v1.IDocument|null); /** BatchGetDocumentsResponse missing. */ public missing?: (string|null); /** BatchGetDocumentsResponse transaction. */ public transaction: Uint8Array; /** BatchGetDocumentsResponse readTime. */ public readTime?: (google.protobuf.ITimestamp|null); /** BatchGetDocumentsResponse result. */ public result?: ("found"|"missing"); /** * Creates a BatchGetDocumentsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BatchGetDocumentsResponse */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.BatchGetDocumentsResponse; /** * Creates a plain object from a BatchGetDocumentsResponse message. Also converts values to other types if specified. * @param message BatchGetDocumentsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.BatchGetDocumentsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BatchGetDocumentsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BatchGetDocumentsResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BeginTransactionRequest. */ interface IBeginTransactionRequest { /** BeginTransactionRequest database */ database?: (string|null); /** BeginTransactionRequest options */ options?: (google.firestore.v1.ITransactionOptions|null); } /** Represents a BeginTransactionRequest. */ class BeginTransactionRequest implements IBeginTransactionRequest { /** * Constructs a new BeginTransactionRequest. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IBeginTransactionRequest); /** BeginTransactionRequest database. */ public database: string; /** BeginTransactionRequest options. */ public options?: (google.firestore.v1.ITransactionOptions|null); /** * Creates a BeginTransactionRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BeginTransactionRequest */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.BeginTransactionRequest; /** * Creates a plain object from a BeginTransactionRequest message. Also converts values to other types if specified. * @param message BeginTransactionRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.BeginTransactionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BeginTransactionRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BeginTransactionRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BeginTransactionResponse. */ interface IBeginTransactionResponse { /** BeginTransactionResponse transaction */ transaction?: (Uint8Array|null); } /** Represents a BeginTransactionResponse. */ class BeginTransactionResponse implements IBeginTransactionResponse { /** * Constructs a new BeginTransactionResponse. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IBeginTransactionResponse); /** BeginTransactionResponse transaction. */ public transaction: Uint8Array; /** * Creates a BeginTransactionResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BeginTransactionResponse */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.BeginTransactionResponse; /** * Creates a plain object from a BeginTransactionResponse message. Also converts values to other types if specified. * @param message BeginTransactionResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.BeginTransactionResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BeginTransactionResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BeginTransactionResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CommitRequest. */ interface ICommitRequest { /** CommitRequest database */ database?: (string|null); /** CommitRequest writes */ writes?: (google.firestore.v1.IWrite[]|null); /** CommitRequest transaction */ transaction?: (Uint8Array|null); } /** Represents a CommitRequest. */ class CommitRequest implements ICommitRequest { /** * Constructs a new CommitRequest. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.ICommitRequest); /** CommitRequest database. */ public database: string; /** CommitRequest writes. */ public writes: google.firestore.v1.IWrite[]; /** CommitRequest transaction. */ public transaction: Uint8Array; /** * Creates a CommitRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommitRequest */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.CommitRequest; /** * Creates a plain object from a CommitRequest message. Also converts values to other types if specified. * @param message CommitRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.CommitRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommitRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CommitRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CommitResponse. */ interface ICommitResponse { /** CommitResponse writeResults */ writeResults?: (google.firestore.v1.IWriteResult[]|null); /** CommitResponse commitTime */ commitTime?: (google.protobuf.ITimestamp|null); } /** Represents a CommitResponse. */ class CommitResponse implements ICommitResponse { /** * Constructs a new CommitResponse. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.ICommitResponse); /** CommitResponse writeResults. */ public writeResults: google.firestore.v1.IWriteResult[]; /** CommitResponse commitTime. */ public commitTime?: (google.protobuf.ITimestamp|null); /** * Creates a CommitResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommitResponse */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.CommitResponse; /** * Creates a plain object from a CommitResponse message. Also converts values to other types if specified. * @param message CommitResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.CommitResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommitResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CommitResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RollbackRequest. */ interface IRollbackRequest { /** RollbackRequest database */ database?: (string|null); /** RollbackRequest transaction */ transaction?: (Uint8Array|null); } /** Represents a RollbackRequest. */ class RollbackRequest implements IRollbackRequest { /** * Constructs a new RollbackRequest. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IRollbackRequest); /** RollbackRequest database. */ public database: string; /** RollbackRequest transaction. */ public transaction: Uint8Array; /** * Creates a RollbackRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RollbackRequest */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.RollbackRequest; /** * Creates a plain object from a RollbackRequest message. Also converts values to other types if specified. * @param message RollbackRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.RollbackRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RollbackRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RollbackRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RunQueryRequest. */ interface IRunQueryRequest { /** RunQueryRequest parent */ parent?: (string|null); /** RunQueryRequest structuredQuery */ structuredQuery?: (google.firestore.v1.IStructuredQuery|null); /** RunQueryRequest transaction */ transaction?: (Uint8Array|null); /** RunQueryRequest newTransaction */ newTransaction?: (google.firestore.v1.ITransactionOptions|null); /** RunQueryRequest readTime */ readTime?: (google.protobuf.ITimestamp|null); /** RunQueryRequest explainOptions */ explainOptions?: (google.firestore.v1.IExplainOptions|null); } /** Represents a RunQueryRequest. */ class RunQueryRequest implements IRunQueryRequest { /** * Constructs a new RunQueryRequest. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IRunQueryRequest); /** RunQueryRequest parent. */ public parent: string; /** RunQueryRequest structuredQuery. */ public structuredQuery?: (google.firestore.v1.IStructuredQuery|null); /** RunQueryRequest transaction. */ public transaction?: (Uint8Array|null); /** RunQueryRequest newTransaction. */ public newTransaction?: (google.firestore.v1.ITransactionOptions|null); /** RunQueryRequest readTime. */ public readTime?: (google.protobuf.ITimestamp|null); /** RunQueryRequest explainOptions. */ public explainOptions?: (google.firestore.v1.IExplainOptions|null); /** RunQueryRequest queryType. */ public queryType?: "structuredQuery"; /** RunQueryRequest consistencySelector. */ public consistencySelector?: ("transaction"|"newTransaction"|"readTime"); /** * Creates a RunQueryRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RunQueryRequest */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.RunQueryRequest; /** * Creates a plain object from a RunQueryRequest message. Also converts values to other types if specified. * @param message RunQueryRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.RunQueryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RunQueryRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RunQueryRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RunQueryResponse. */ interface IRunQueryResponse { /** RunQueryResponse transaction */ transaction?: (Uint8Array|null); /** RunQueryResponse document */ document?: (google.firestore.v1.IDocument|null); /** RunQueryResponse readTime */ readTime?: (google.protobuf.ITimestamp|null); /** RunQueryResponse skippedResults */ skippedResults?: (number|null); /** RunQueryResponse done */ done?: (boolean|null); /** RunQueryResponse explainMetrics */ explainMetrics?: (google.firestore.v1.IExplainMetrics|null); } /** Represents a RunQueryResponse. */ class RunQueryResponse implements IRunQueryResponse { /** * Constructs a new RunQueryResponse. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IRunQueryResponse); /** RunQueryResponse transaction. */ public transaction: Uint8Array; /** RunQueryResponse document. */ public document?: (google.firestore.v1.IDocument|null); /** RunQueryResponse readTime. */ public readTime?: (google.protobuf.ITimestamp|null); /** RunQueryResponse skippedResults. */ public skippedResults: number; /** RunQueryResponse done. */ public done?: (boolean|null); /** RunQueryResponse explainMetrics. */ public explainMetrics?: (google.firestore.v1.IExplainMetrics|null); /** RunQueryResponse continuationSelector. */ public continuationSelector?: "done"; /** * Creates a RunQueryResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RunQueryResponse */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.RunQueryResponse; /** * Creates a plain object from a RunQueryResponse message. Also converts values to other types if specified. * @param message RunQueryResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.RunQueryResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RunQueryResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RunQueryResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ExecutePipelineRequest. */ interface IExecutePipelineRequest { /** ExecutePipelineRequest database */ database?: (string|null); /** ExecutePipelineRequest structuredPipeline */ structuredPipeline?: (google.firestore.v1.IStructuredPipeline|null); /** ExecutePipelineRequest transaction */ transaction?: (Uint8Array|null); /** ExecutePipelineRequest newTransaction */ newTransaction?: (google.firestore.v1.ITransactionOptions|null); /** ExecutePipelineRequest readTime */ readTime?: (google.protobuf.ITimestamp|null); } /** Represents an ExecutePipelineRequest. */ class ExecutePipelineRequest implements IExecutePipelineRequest { /** * Constructs a new ExecutePipelineRequest. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IExecutePipelineRequest); /** ExecutePipelineRequest database. */ public database: string; /** ExecutePipelineRequest structuredPipeline. */ public structuredPipeline?: (google.firestore.v1.IStructuredPipeline|null); /** ExecutePipelineRequest transaction. */ public transaction?: (Uint8Array|null); /** ExecutePipelineRequest newTransaction. */ public newTransaction?: (google.firestore.v1.ITransactionOptions|null); /** ExecutePipelineRequest readTime. */ public readTime?: (google.protobuf.ITimestamp|null); /** ExecutePipelineRequest pipelineType. */ public pipelineType?: "structuredPipeline"; /** ExecutePipelineRequest consistencySelector. */ public consistencySelector?: ("transaction"|"newTransaction"|"readTime"); /** * Creates an ExecutePipelineRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExecutePipelineRequest */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.ExecutePipelineRequest; /** * Creates a plain object from an ExecutePipelineRequest message. Also converts values to other types if specified. * @param message ExecutePipelineRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.ExecutePipelineRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExecutePipelineRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ExecutePipelineRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ExecutePipelineResponse. */ interface IExecutePipelineResponse { /** ExecutePipelineResponse transaction */ transaction?: (Uint8Array|null); /** ExecutePipelineResponse results */ results?: (google.firestore.v1.IDocument[]|null); /** ExecutePipelineResponse executionTime */ executionTime?: (google.protobuf.ITimestamp|null); /** ExecutePipelineResponse explainStats */ explainStats?: (google.firestore.v1.IExplainStats|null); } /** Represents an ExecutePipelineResponse. */ class ExecutePipelineResponse implements IExecutePipelineResponse { /** * Constructs a new ExecutePipelineResponse. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IExecutePipelineResponse); /** ExecutePipelineResponse transaction. */ public transaction: Uint8Array; /** ExecutePipelineResponse results. */ public results: google.firestore.v1.IDocument[]; /** ExecutePipelineResponse executionTime. */ public executionTime?: (google.protobuf.ITimestamp|null); /** ExecutePipelineResponse explainStats. */ public explainStats?: (google.firestore.v1.IExplainStats|null); /** * Creates an ExecutePipelineResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExecutePipelineResponse */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.ExecutePipelineResponse; /** * Creates a plain object from an ExecutePipelineResponse message. Also converts values to other types if specified. * @param message ExecutePipelineResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.ExecutePipelineResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExecutePipelineResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ExecutePipelineResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RunAggregationQueryRequest. */ interface IRunAggregationQueryRequest { /** RunAggregationQueryRequest parent */ parent?: (string|null); /** RunAggregationQueryRequest structuredAggregationQuery */ structuredAggregationQuery?: (google.firestore.v1.IStructuredAggregationQuery|null); /** RunAggregationQueryRequest transaction */ transaction?: (Uint8Array|null); /** RunAggregationQueryRequest newTransaction */ newTransaction?: (google.firestore.v1.ITransactionOptions|null); /** RunAggregationQueryRequest readTime */ readTime?: (google.protobuf.ITimestamp|null); /** RunAggregationQueryRequest explainOptions */ explainOptions?: (google.firestore.v1.IExplainOptions|null); } /** Represents a RunAggregationQueryRequest. */ class RunAggregationQueryRequest implements IRunAggregationQueryRequest { /** * Constructs a new RunAggregationQueryRequest. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IRunAggregationQueryRequest); /** RunAggregationQueryRequest parent. */ public parent: string; /** RunAggregationQueryRequest structuredAggregationQuery. */ public structuredAggregationQuery?: (google.firestore.v1.IStructuredAggregationQuery|null); /** RunAggregationQueryRequest transaction. */ public transaction?: (Uint8Array|null); /** RunAggregationQueryRequest newTransaction. */ public newTransaction?: (google.firestore.v1.ITransactionOptions|null); /** RunAggregationQueryRequest readTime. */ public readTime?: (google.protobuf.ITimestamp|null); /** RunAggregationQueryRequest explainOptions. */ public explainOptions?: (google.firestore.v1.IExplainOptions|null); /** RunAggregationQueryRequest queryType. */ public queryType?: "structuredAggregationQuery"; /** RunAggregationQueryRequest consistencySelector. */ public consistencySelector?: ("transaction"|"newTransaction"|"readTime"); /** * Creates a RunAggregationQueryRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RunAggregationQueryRequest */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.RunAggregationQueryRequest; /** * Creates a plain object from a RunAggregationQueryRequest message. Also converts values to other types if specified. * @param message RunAggregationQueryRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.RunAggregationQueryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RunAggregationQueryRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RunAggregationQueryRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RunAggregationQueryResponse. */ interface IRunAggregationQueryResponse { /** RunAggregationQueryResponse result */ result?: (google.firestore.v1.IAggregationResult|null); /** RunAggregationQueryResponse transaction */ transaction?: (Uint8Array|null); /** RunAggregationQueryResponse readTime */ readTime?: (google.protobuf.ITimestamp|null); /** RunAggregationQueryResponse explainMetrics */ explainMetrics?: (google.firestore.v1.IExplainMetrics|null); } /** Represents a RunAggregationQueryResponse. */ class RunAggregationQueryResponse implements IRunAggregationQueryResponse { /** * Constructs a new RunAggregationQueryResponse. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IRunAggregationQueryResponse); /** RunAggregationQueryResponse result. */ public result?: (google.firestore.v1.IAggregationResult|null); /** RunAggregationQueryResponse transaction. */ public transaction: Uint8Array; /** RunAggregationQueryResponse readTime. */ public readTime?: (google.protobuf.ITimestamp|null); /** RunAggregationQueryResponse explainMetrics. */ public explainMetrics?: (google.firestore.v1.IExplainMetrics|null); /** * Creates a RunAggregationQueryResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RunAggregationQueryResponse */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.RunAggregationQueryResponse; /** * Creates a plain object from a RunAggregationQueryResponse message. Also converts values to other types if specified. * @param message RunAggregationQueryResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.RunAggregationQueryResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RunAggregationQueryResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RunAggregationQueryResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PartitionQueryRequest. */ interface IPartitionQueryRequest { /** PartitionQueryRequest parent */ parent?: (string|null); /** PartitionQueryRequest structuredQuery */ structuredQuery?: (google.firestore.v1.IStructuredQuery|null); /** PartitionQueryRequest partitionCount */ partitionCount?: (number|string|null); /** PartitionQueryRequest pageToken */ pageToken?: (string|null); /** PartitionQueryRequest pageSize */ pageSize?: (number|null); /** PartitionQueryRequest readTime */ readTime?: (google.protobuf.ITimestamp|null); } /** Represents a PartitionQueryRequest. */ class PartitionQueryRequest implements IPartitionQueryRequest { /** * Constructs a new PartitionQueryRequest. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IPartitionQueryRequest); /** PartitionQueryRequest parent. */ public parent: string; /** PartitionQueryRequest structuredQuery. */ public structuredQuery?: (google.firestore.v1.IStructuredQuery|null); /** PartitionQueryRequest partitionCount. */ public partitionCount: (number|string); /** PartitionQueryRequest pageToken. */ public pageToken: string; /** PartitionQueryRequest pageSize. */ public pageSize: number; /** PartitionQueryRequest readTime. */ public readTime?: (google.protobuf.ITimestamp|null); /** PartitionQueryRequest queryType. */ public queryType?: "structuredQuery"; /** PartitionQueryRequest consistencySelector. */ public consistencySelector?: "readTime"; /** * Creates a PartitionQueryRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PartitionQueryRequest */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.PartitionQueryRequest; /** * Creates a plain object from a PartitionQueryRequest message. Also converts values to other types if specified. * @param message PartitionQueryRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.PartitionQueryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PartitionQueryRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PartitionQueryRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PartitionQueryResponse. */ interface IPartitionQueryResponse { /** PartitionQueryResponse partitions */ partitions?: (google.firestore.v1.ICursor[]|null); /** PartitionQueryResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents a PartitionQueryResponse. */ class PartitionQueryResponse implements IPartitionQueryResponse { /** * Constructs a new PartitionQueryResponse. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IPartitionQueryResponse); /** PartitionQueryResponse partitions. */ public partitions: google.firestore.v1.ICursor[]; /** PartitionQueryResponse nextPageToken. */ public nextPageToken: string; /** * Creates a PartitionQueryResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PartitionQueryResponse */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.PartitionQueryResponse; /** * Creates a plain object from a PartitionQueryResponse message. Also converts values to other types if specified. * @param message PartitionQueryResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.PartitionQueryResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PartitionQueryResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PartitionQueryResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a WriteRequest. */ interface IWriteRequest { /** WriteRequest database */ database?: (string|null); /** WriteRequest streamId */ streamId?: (string|null); /** WriteRequest writes */ writes?: (google.firestore.v1.IWrite[]|null); /** WriteRequest streamToken */ streamToken?: (Uint8Array|null); /** WriteRequest labels */ labels?: ({ [k: string]: string }|null); } /** Represents a WriteRequest. */ class WriteRequest implements IWriteRequest { /** * Constructs a new WriteRequest. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IWriteRequest); /** WriteRequest database. */ public database: string; /** WriteRequest streamId. */ public streamId: string; /** WriteRequest writes. */ public writes: google.firestore.v1.IWrite[]; /** WriteRequest streamToken. */ public streamToken: Uint8Array; /** WriteRequest labels. */ public labels: { [k: string]: string }; /** * Creates a WriteRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns WriteRequest */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.WriteRequest; /** * Creates a plain object from a WriteRequest message. Also converts values to other types if specified. * @param message WriteRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.WriteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this WriteRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for WriteRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a WriteResponse. */ interface IWriteResponse { /** WriteResponse streamId */ streamId?: (string|null); /** WriteResponse streamToken */ streamToken?: (Uint8Array|null); /** WriteResponse writeResults */ writeResults?: (google.firestore.v1.IWriteResult[]|null); /** WriteResponse commitTime */ commitTime?: (google.protobuf.ITimestamp|null); } /** Represents a WriteResponse. */ class WriteResponse implements IWriteResponse { /** * Constructs a new WriteResponse. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IWriteResponse); /** WriteResponse streamId. */ public streamId: string; /** WriteResponse streamToken. */ public streamToken: Uint8Array; /** WriteResponse writeResults. */ public writeResults: google.firestore.v1.IWriteResult[]; /** WriteResponse commitTime. */ public commitTime?: (google.protobuf.ITimestamp|null); /** * Creates a WriteResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns WriteResponse */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.WriteResponse; /** * Creates a plain object from a WriteResponse message. Also converts values to other types if specified. * @param message WriteResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.WriteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this WriteResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for WriteResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListenRequest. */ interface IListenRequest { /** ListenRequest database */ database?: (string|null); /** ListenRequest addTarget */ addTarget?: (google.firestore.v1.ITarget|null); /** ListenRequest removeTarget */ removeTarget?: (number|null); /** ListenRequest labels */ labels?: ({ [k: string]: string }|null); } /** Represents a ListenRequest. */ class ListenRequest implements IListenRequest { /** * Constructs a new ListenRequest. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IListenRequest); /** ListenRequest database. */ public database: string; /** ListenRequest addTarget. */ public addTarget?: (google.firestore.v1.ITarget|null); /** ListenRequest removeTarget. */ public removeTarget?: (number|null); /** ListenRequest labels. */ public labels: { [k: string]: string }; /** ListenRequest targetChange. */ public targetChange?: ("addTarget"|"removeTarget"); /** * Creates a ListenRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListenRequest */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.ListenRequest; /** * Creates a plain object from a ListenRequest message. Also converts values to other types if specified. * @param message ListenRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.ListenRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListenRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListenRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListenResponse. */ interface IListenResponse { /** ListenResponse targetChange */ targetChange?: (google.firestore.v1.ITargetChange|null); /** ListenResponse documentChange */ documentChange?: (google.firestore.v1.IDocumentChange|null); /** ListenResponse documentDelete */ documentDelete?: (google.firestore.v1.IDocumentDelete|null); /** ListenResponse documentRemove */ documentRemove?: (google.firestore.v1.IDocumentRemove|null); /** ListenResponse filter */ filter?: (google.firestore.v1.IExistenceFilter|null); } /** Represents a ListenResponse. */ class ListenResponse implements IListenResponse { /** * Constructs a new ListenResponse. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IListenResponse); /** ListenResponse targetChange. */ public targetChange?: (google.firestore.v1.ITargetChange|null); /** ListenResponse documentChange. */ public documentChange?: (google.firestore.v1.IDocumentChange|null); /** ListenResponse documentDelete. */ public documentDelete?: (google.firestore.v1.IDocumentDelete|null); /** ListenResponse documentRemove. */ public documentRemove?: (google.firestore.v1.IDocumentRemove|null); /** ListenResponse filter. */ public filter?: (google.firestore.v1.IExistenceFilter|null); /** ListenResponse responseType. */ public responseType?: ("targetChange"|"documentChange"|"documentDelete"|"documentRemove"|"filter"); /** * Creates a ListenResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListenResponse */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.ListenResponse; /** * Creates a plain object from a ListenResponse message. Also converts values to other types if specified. * @param message ListenResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.ListenResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListenResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListenResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Target. */ interface ITarget { /** Target query */ query?: (google.firestore.v1.Target.IQueryTarget|null); /** Target documents */ documents?: (google.firestore.v1.Target.IDocumentsTarget|null); /** Target resumeToken */ resumeToken?: (Uint8Array|null); /** Target readTime */ readTime?: (google.protobuf.ITimestamp|null); /** Target targetId */ targetId?: (number|null); /** Target once */ once?: (boolean|null); /** Target expectedCount */ expectedCount?: (google.protobuf.IInt32Value|null); } /** Represents a Target. */ class Target implements ITarget { /** * Constructs a new Target. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.ITarget); /** Target query. */ public query?: (google.firestore.v1.Target.IQueryTarget|null); /** Target documents. */ public documents?: (google.firestore.v1.Target.IDocumentsTarget|null); /** Target resumeToken. */ public resumeToken?: (Uint8Array|null); /** Target readTime. */ public readTime?: (google.protobuf.ITimestamp|null); /** Target targetId. */ public targetId: number; /** Target once. */ public once: boolean; /** Target expectedCount. */ public expectedCount?: (google.protobuf.IInt32Value|null); /** Target targetType. */ public targetType?: ("query"|"documents"); /** Target resumeType. */ public resumeType?: ("resumeToken"|"readTime"); /** * Creates a Target message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Target */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.Target; /** * Creates a plain object from a Target message. Also converts values to other types if specified. * @param message Target * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.Target, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Target to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Target * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Target { /** Properties of a DocumentsTarget. */ interface IDocumentsTarget { /** DocumentsTarget documents */ documents?: (string[]|null); } /** Represents a DocumentsTarget. */ class DocumentsTarget implements IDocumentsTarget { /** * Constructs a new DocumentsTarget. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.Target.IDocumentsTarget); /** DocumentsTarget documents. */ public documents: string[]; /** * Creates a DocumentsTarget message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DocumentsTarget */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.Target.DocumentsTarget; /** * Creates a plain object from a DocumentsTarget message. Also converts values to other types if specified. * @param message DocumentsTarget * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.Target.DocumentsTarget, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DocumentsTarget to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DocumentsTarget * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a QueryTarget. */ interface IQueryTarget { /** QueryTarget parent */ parent?: (string|null); /** QueryTarget structuredQuery */ structuredQuery?: (google.firestore.v1.IStructuredQuery|null); } /** Represents a QueryTarget. */ class QueryTarget implements IQueryTarget { /** * Constructs a new QueryTarget. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.Target.IQueryTarget); /** QueryTarget parent. */ public parent: string; /** QueryTarget structuredQuery. */ public structuredQuery?: (google.firestore.v1.IStructuredQuery|null); /** QueryTarget queryType. */ public queryType?: "structuredQuery"; /** * Creates a QueryTarget message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QueryTarget */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.Target.QueryTarget; /** * Creates a plain object from a QueryTarget message. Also converts values to other types if specified. * @param message QueryTarget * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.Target.QueryTarget, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QueryTarget to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for QueryTarget * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a TargetChange. */ interface ITargetChange { /** TargetChange targetChangeType */ targetChangeType?: (google.firestore.v1.TargetChange.TargetChangeType|null); /** TargetChange targetIds */ targetIds?: (number[]|null); /** TargetChange cause */ cause?: (google.rpc.IStatus|null); /** TargetChange resumeToken */ resumeToken?: (Uint8Array|null); /** TargetChange readTime */ readTime?: (google.protobuf.ITimestamp|null); } /** Represents a TargetChange. */ class TargetChange implements ITargetChange { /** * Constructs a new TargetChange. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.ITargetChange); /** TargetChange targetChangeType. */ public targetChangeType: google.firestore.v1.TargetChange.TargetChangeType; /** TargetChange targetIds. */ public targetIds: number[]; /** TargetChange cause. */ public cause?: (google.rpc.IStatus|null); /** TargetChange resumeToken. */ public resumeToken: Uint8Array; /** TargetChange readTime. */ public readTime?: (google.protobuf.ITimestamp|null); /** * Creates a TargetChange message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TargetChange */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.TargetChange; /** * Creates a plain object from a TargetChange message. Also converts values to other types if specified. * @param message TargetChange * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.TargetChange, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TargetChange to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for TargetChange * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace TargetChange { /** TargetChangeType enum. */ type TargetChangeType = "NO_CHANGE"| "ADD"| "REMOVE"| "CURRENT"| "RESET"; } /** Properties of a ListCollectionIdsRequest. */ interface IListCollectionIdsRequest { /** ListCollectionIdsRequest parent */ parent?: (string|null); /** ListCollectionIdsRequest pageSize */ pageSize?: (number|null); /** ListCollectionIdsRequest pageToken */ pageToken?: (string|null); /** ListCollectionIdsRequest readTime */ readTime?: (google.protobuf.ITimestamp|null); } /** Represents a ListCollectionIdsRequest. */ class ListCollectionIdsRequest implements IListCollectionIdsRequest { /** * Constructs a new ListCollectionIdsRequest. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IListCollectionIdsRequest); /** ListCollectionIdsRequest parent. */ public parent: string; /** ListCollectionIdsRequest pageSize. */ public pageSize: number; /** ListCollectionIdsRequest pageToken. */ public pageToken: string; /** ListCollectionIdsRequest readTime. */ public readTime?: (google.protobuf.ITimestamp|null); /** ListCollectionIdsRequest consistencySelector. */ public consistencySelector?: "readTime"; /** * Creates a ListCollectionIdsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListCollectionIdsRequest */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.ListCollectionIdsRequest; /** * Creates a plain object from a ListCollectionIdsRequest message. Also converts values to other types if specified. * @param message ListCollectionIdsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.ListCollectionIdsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListCollectionIdsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListCollectionIdsRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListCollectionIdsResponse. */ interface IListCollectionIdsResponse { /** ListCollectionIdsResponse collectionIds */ collectionIds?: (string[]|null); /** ListCollectionIdsResponse nextPageToken */ nextPageToken?: (string|null); } /** Represents a ListCollectionIdsResponse. */ class ListCollectionIdsResponse implements IListCollectionIdsResponse { /** * Constructs a new ListCollectionIdsResponse. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IListCollectionIdsResponse); /** ListCollectionIdsResponse collectionIds. */ public collectionIds: string[]; /** ListCollectionIdsResponse nextPageToken. */ public nextPageToken: string; /** * Creates a ListCollectionIdsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListCollectionIdsResponse */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.ListCollectionIdsResponse; /** * Creates a plain object from a ListCollectionIdsResponse message. Also converts values to other types if specified. * @param message ListCollectionIdsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.ListCollectionIdsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListCollectionIdsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListCollectionIdsResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchWriteRequest. */ interface IBatchWriteRequest { /** BatchWriteRequest database */ database?: (string|null); /** BatchWriteRequest writes */ writes?: (google.firestore.v1.IWrite[]|null); /** BatchWriteRequest labels */ labels?: ({ [k: string]: string }|null); } /** Represents a BatchWriteRequest. */ class BatchWriteRequest implements IBatchWriteRequest { /** * Constructs a new BatchWriteRequest. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IBatchWriteRequest); /** BatchWriteRequest database. */ public database: string; /** BatchWriteRequest writes. */ public writes: google.firestore.v1.IWrite[]; /** BatchWriteRequest labels. */ public labels: { [k: string]: string }; /** * Creates a BatchWriteRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BatchWriteRequest */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.BatchWriteRequest; /** * Creates a plain object from a BatchWriteRequest message. Also converts values to other types if specified. * @param message BatchWriteRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.BatchWriteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BatchWriteRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BatchWriteRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BatchWriteResponse. */ interface IBatchWriteResponse { /** BatchWriteResponse writeResults */ writeResults?: (google.firestore.v1.IWriteResult[]|null); /** BatchWriteResponse status */ status?: (google.rpc.IStatus[]|null); } /** Represents a BatchWriteResponse. */ class BatchWriteResponse implements IBatchWriteResponse { /** * Constructs a new BatchWriteResponse. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IBatchWriteResponse); /** BatchWriteResponse writeResults. */ public writeResults: google.firestore.v1.IWriteResult[]; /** BatchWriteResponse status. */ public status: google.rpc.IStatus[]; /** * Creates a BatchWriteResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BatchWriteResponse */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.BatchWriteResponse; /** * Creates a plain object from a BatchWriteResponse message. Also converts values to other types if specified. * @param message BatchWriteResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.BatchWriteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BatchWriteResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BatchWriteResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a StructuredPipeline. */ interface IStructuredPipeline { /** StructuredPipeline pipeline */ pipeline?: (google.firestore.v1.IPipeline|null); /** StructuredPipeline options */ options?: ({ [k: string]: google.firestore.v1.IValue }|null); } /** Represents a StructuredPipeline. */ class StructuredPipeline implements IStructuredPipeline { /** * Constructs a new StructuredPipeline. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IStructuredPipeline); /** StructuredPipeline pipeline. */ public pipeline?: (google.firestore.v1.IPipeline|null); /** StructuredPipeline options. */ public options: { [k: string]: google.firestore.v1.IValue }; /** * Creates a StructuredPipeline message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StructuredPipeline */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.StructuredPipeline; /** * Creates a plain object from a StructuredPipeline message. Also converts values to other types if specified. * @param message StructuredPipeline * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.StructuredPipeline, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StructuredPipeline to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StructuredPipeline * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a StructuredQuery. */ interface IStructuredQuery { /** StructuredQuery select */ select?: (google.firestore.v1.StructuredQuery.IProjection|null); /** StructuredQuery from */ from?: (google.firestore.v1.StructuredQuery.ICollectionSelector[]|null); /** StructuredQuery where */ where?: (google.firestore.v1.StructuredQuery.IFilter|null); /** StructuredQuery orderBy */ orderBy?: (google.firestore.v1.StructuredQuery.IOrder[]|null); /** StructuredQuery startAt */ startAt?: (google.firestore.v1.ICursor|null); /** StructuredQuery endAt */ endAt?: (google.firestore.v1.ICursor|null); /** StructuredQuery offset */ offset?: (number|null); /** StructuredQuery limit */ limit?: (google.protobuf.IInt32Value|null); /** StructuredQuery findNearest */ findNearest?: (google.firestore.v1.StructuredQuery.IFindNearest|null); } /** Represents a StructuredQuery. */ class StructuredQuery implements IStructuredQuery { /** * Constructs a new StructuredQuery. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IStructuredQuery); /** StructuredQuery select. */ public select?: (google.firestore.v1.StructuredQuery.IProjection|null); /** StructuredQuery from. */ public from: google.firestore.v1.StructuredQuery.ICollectionSelector[]; /** StructuredQuery where. */ public where?: (google.firestore.v1.StructuredQuery.IFilter|null); /** StructuredQuery orderBy. */ public orderBy: google.firestore.v1.StructuredQuery.IOrder[]; /** StructuredQuery startAt. */ public startAt?: (google.firestore.v1.ICursor|null); /** StructuredQuery endAt. */ public endAt?: (google.firestore.v1.ICursor|null); /** StructuredQuery offset. */ public offset: number; /** StructuredQuery limit. */ public limit?: (google.protobuf.IInt32Value|null); /** StructuredQuery findNearest. */ public findNearest?: (google.firestore.v1.StructuredQuery.IFindNearest|null); /** * Creates a StructuredQuery message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StructuredQuery */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.StructuredQuery; /** * Creates a plain object from a StructuredQuery message. Also converts values to other types if specified. * @param message StructuredQuery * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.StructuredQuery, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StructuredQuery to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StructuredQuery * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace StructuredQuery { /** Properties of a CollectionSelector. */ interface ICollectionSelector { /** CollectionSelector collectionId */ collectionId?: (string|null); /** CollectionSelector allDescendants */ allDescendants?: (boolean|null); } /** Represents a CollectionSelector. */ class CollectionSelector implements ICollectionSelector { /** * Constructs a new CollectionSelector. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.StructuredQuery.ICollectionSelector); /** CollectionSelector collectionId. */ public collectionId: string; /** CollectionSelector allDescendants. */ public allDescendants: boolean; /** * Creates a CollectionSelector message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CollectionSelector */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.StructuredQuery.CollectionSelector; /** * Creates a plain object from a CollectionSelector message. Also converts values to other types if specified. * @param message CollectionSelector * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.StructuredQuery.CollectionSelector, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CollectionSelector to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CollectionSelector * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Filter. */ interface IFilter { /** Filter compositeFilter */ compositeFilter?: (google.firestore.v1.StructuredQuery.ICompositeFilter|null); /** Filter fieldFilter */ fieldFilter?: (google.firestore.v1.StructuredQuery.IFieldFilter|null); /** Filter unaryFilter */ unaryFilter?: (google.firestore.v1.StructuredQuery.IUnaryFilter|null); } /** Represents a Filter. */ class Filter implements IFilter { /** * Constructs a new Filter. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.StructuredQuery.IFilter); /** Filter compositeFilter. */ public compositeFilter?: (google.firestore.v1.StructuredQuery.ICompositeFilter|null); /** Filter fieldFilter. */ public fieldFilter?: (google.firestore.v1.StructuredQuery.IFieldFilter|null); /** Filter unaryFilter. */ public unaryFilter?: (google.firestore.v1.StructuredQuery.IUnaryFilter|null); /** Filter filterType. */ public filterType?: ("compositeFilter"|"fieldFilter"|"unaryFilter"); /** * Creates a Filter message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Filter */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.StructuredQuery.Filter; /** * Creates a plain object from a Filter message. Also converts values to other types if specified. * @param message Filter * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.StructuredQuery.Filter, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Filter to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Filter * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CompositeFilter. */ interface ICompositeFilter { /** CompositeFilter op */ op?: (google.firestore.v1.StructuredQuery.CompositeFilter.Operator|null); /** CompositeFilter filters */ filters?: (google.firestore.v1.StructuredQuery.IFilter[]|null); } /** Represents a CompositeFilter. */ class CompositeFilter implements ICompositeFilter { /** * Constructs a new CompositeFilter. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.StructuredQuery.ICompositeFilter); /** CompositeFilter op. */ public op: google.firestore.v1.StructuredQuery.CompositeFilter.Operator; /** CompositeFilter filters. */ public filters: google.firestore.v1.StructuredQuery.IFilter[]; /** * Creates a CompositeFilter message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CompositeFilter */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.StructuredQuery.CompositeFilter; /** * Creates a plain object from a CompositeFilter message. Also converts values to other types if specified. * @param message CompositeFilter * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.StructuredQuery.CompositeFilter, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CompositeFilter to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CompositeFilter * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace CompositeFilter { /** Operator enum. */ type Operator = "OPERATOR_UNSPECIFIED"| "AND"| "OR"; } /** Properties of a FieldFilter. */ interface IFieldFilter { /** FieldFilter field */ field?: (google.firestore.v1.StructuredQuery.IFieldReference|null); /** FieldFilter op */ op?: (google.firestore.v1.StructuredQuery.FieldFilter.Operator|null); /** FieldFilter value */ value?: (google.firestore.v1.IValue|null); } /** Represents a FieldFilter. */ class FieldFilter implements IFieldFilter { /** * Constructs a new FieldFilter. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.StructuredQuery.IFieldFilter); /** FieldFilter field. */ public field?: (google.firestore.v1.StructuredQuery.IFieldReference|null); /** FieldFilter op. */ public op: google.firestore.v1.StructuredQuery.FieldFilter.Operator; /** FieldFilter value. */ public value?: (google.firestore.v1.IValue|null); /** * Creates a FieldFilter message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FieldFilter */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.StructuredQuery.FieldFilter; /** * Creates a plain object from a FieldFilter message. Also converts values to other types if specified. * @param message FieldFilter * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.StructuredQuery.FieldFilter, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FieldFilter to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FieldFilter * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace FieldFilter { /** Operator enum. */ type Operator = "OPERATOR_UNSPECIFIED"| "LESS_THAN"| "LESS_THAN_OR_EQUAL"| "GREATER_THAN"| "GREATER_THAN_OR_EQUAL"| "EQUAL"| "NOT_EQUAL"| "ARRAY_CONTAINS"| "IN"| "ARRAY_CONTAINS_ANY"| "NOT_IN"; } /** Properties of an UnaryFilter. */ interface IUnaryFilter { /** UnaryFilter op */ op?: (google.firestore.v1.StructuredQuery.UnaryFilter.Operator|null); /** UnaryFilter field */ field?: (google.firestore.v1.StructuredQuery.IFieldReference|null); } /** Represents an UnaryFilter. */ class UnaryFilter implements IUnaryFilter { /** * Constructs a new UnaryFilter. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.StructuredQuery.IUnaryFilter); /** UnaryFilter op. */ public op: google.firestore.v1.StructuredQuery.UnaryFilter.Operator; /** UnaryFilter field. */ public field?: (google.firestore.v1.StructuredQuery.IFieldReference|null); /** UnaryFilter operandType. */ public operandType?: "field"; /** * Creates an UnaryFilter message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UnaryFilter */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.StructuredQuery.UnaryFilter; /** * Creates a plain object from an UnaryFilter message. Also converts values to other types if specified. * @param message UnaryFilter * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.StructuredQuery.UnaryFilter, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UnaryFilter to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UnaryFilter * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace UnaryFilter { /** Operator enum. */ type Operator = "OPERATOR_UNSPECIFIED"| "IS_NAN"| "IS_NULL"| "IS_NOT_NAN"| "IS_NOT_NULL"; } /** Properties of an Order. */ interface IOrder { /** Order field */ field?: (google.firestore.v1.StructuredQuery.IFieldReference|null); /** Order direction */ direction?: (google.firestore.v1.StructuredQuery.Direction|null); } /** Represents an Order. */ class Order implements IOrder { /** * Constructs a new Order. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.StructuredQuery.IOrder); /** Order field. */ public field?: (google.firestore.v1.StructuredQuery.IFieldReference|null); /** Order direction. */ public direction: google.firestore.v1.StructuredQuery.Direction; /** * Creates an Order message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Order */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.StructuredQuery.Order; /** * Creates a plain object from an Order message. Also converts values to other types if specified. * @param message Order * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.StructuredQuery.Order, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Order to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Order * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Direction enum. */ type Direction = "DIRECTION_UNSPECIFIED"| "ASCENDING"| "DESCENDING"; /** Properties of a FieldReference. */ interface IFieldReference { /** FieldReference fieldPath */ fieldPath?: (string|null); } /** Represents a FieldReference. */ class FieldReference implements IFieldReference { /** * Constructs a new FieldReference. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.StructuredQuery.IFieldReference); /** FieldReference fieldPath. */ public fieldPath: string; /** * Creates a FieldReference message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FieldReference */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.StructuredQuery.FieldReference; /** * Creates a plain object from a FieldReference message. Also converts values to other types if specified. * @param message FieldReference * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.StructuredQuery.FieldReference, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FieldReference to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FieldReference * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Projection. */ interface IProjection { /** Projection fields */ fields?: (google.firestore.v1.StructuredQuery.IFieldReference[]|null); } /** Represents a Projection. */ class Projection implements IProjection { /** * Constructs a new Projection. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.StructuredQuery.IProjection); /** Projection fields. */ public fields: google.firestore.v1.StructuredQuery.IFieldReference[]; /** * Creates a Projection message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Projection */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.StructuredQuery.Projection; /** * Creates a plain object from a Projection message. Also converts values to other types if specified. * @param message Projection * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.StructuredQuery.Projection, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Projection to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Projection * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FindNearest. */ interface IFindNearest { /** FindNearest vectorField */ vectorField?: (google.firestore.v1.StructuredQuery.IFieldReference|null); /** FindNearest queryVector */ queryVector?: (google.firestore.v1.IValue|null); /** FindNearest distanceMeasure */ distanceMeasure?: (google.firestore.v1.StructuredQuery.FindNearest.DistanceMeasure|null); /** FindNearest limit */ limit?: (google.protobuf.IInt32Value|null); /** FindNearest distanceResultField */ distanceResultField?: (string|null); /** FindNearest distanceThreshold */ distanceThreshold?: (google.protobuf.IDoubleValue|null); } /** Represents a FindNearest. */ class FindNearest implements IFindNearest { /** * Constructs a new FindNearest. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.StructuredQuery.IFindNearest); /** FindNearest vectorField. */ public vectorField?: (google.firestore.v1.StructuredQuery.IFieldReference|null); /** FindNearest queryVector. */ public queryVector?: (google.firestore.v1.IValue|null); /** FindNearest distanceMeasure. */ public distanceMeasure: google.firestore.v1.StructuredQuery.FindNearest.DistanceMeasure; /** FindNearest limit. */ public limit?: (google.protobuf.IInt32Value|null); /** FindNearest distanceResultField. */ public distanceResultField: string; /** FindNearest distanceThreshold. */ public distanceThreshold?: (google.protobuf.IDoubleValue|null); /** * Creates a FindNearest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FindNearest */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.StructuredQuery.FindNearest; /** * Creates a plain object from a FindNearest message. Also converts values to other types if specified. * @param message FindNearest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.StructuredQuery.FindNearest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FindNearest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FindNearest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace FindNearest { /** DistanceMeasure enum. */ type DistanceMeasure = "DISTANCE_MEASURE_UNSPECIFIED"| "EUCLIDEAN"| "COSINE"| "DOT_PRODUCT"; } } /** Properties of a StructuredAggregationQuery. */ interface IStructuredAggregationQuery { /** StructuredAggregationQuery structuredQuery */ structuredQuery?: (google.firestore.v1.IStructuredQuery|null); /** StructuredAggregationQuery aggregations */ aggregations?: (google.firestore.v1.StructuredAggregationQuery.IAggregation[]|null); } /** Represents a StructuredAggregationQuery. */ class StructuredAggregationQuery implements IStructuredAggregationQuery { /** * Constructs a new StructuredAggregationQuery. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IStructuredAggregationQuery); /** StructuredAggregationQuery structuredQuery. */ public structuredQuery?: (google.firestore.v1.IStructuredQuery|null); /** StructuredAggregationQuery aggregations. */ public aggregations: google.firestore.v1.StructuredAggregationQuery.IAggregation[]; /** StructuredAggregationQuery queryType. */ public queryType?: "structuredQuery"; /** * Creates a StructuredAggregationQuery message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StructuredAggregationQuery */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.StructuredAggregationQuery; /** * Creates a plain object from a StructuredAggregationQuery message. Also converts values to other types if specified. * @param message StructuredAggregationQuery * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.StructuredAggregationQuery, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StructuredAggregationQuery to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StructuredAggregationQuery * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace StructuredAggregationQuery { /** Properties of an Aggregation. */ interface IAggregation { /** Aggregation count */ count?: (google.firestore.v1.StructuredAggregationQuery.Aggregation.ICount|null); /** Aggregation sum */ sum?: (google.firestore.v1.StructuredAggregationQuery.Aggregation.ISum|null); /** Aggregation avg */ avg?: (google.firestore.v1.StructuredAggregationQuery.Aggregation.IAvg|null); /** Aggregation alias */ alias?: (string|null); } /** Represents an Aggregation. */ class Aggregation implements IAggregation { /** * Constructs a new Aggregation. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.StructuredAggregationQuery.IAggregation); /** Aggregation count. */ public count?: (google.firestore.v1.StructuredAggregationQuery.Aggregation.ICount|null); /** Aggregation sum. */ public sum?: (google.firestore.v1.StructuredAggregationQuery.Aggregation.ISum|null); /** Aggregation avg. */ public avg?: (google.firestore.v1.StructuredAggregationQuery.Aggregation.IAvg|null); /** Aggregation alias. */ public alias: string; /** Aggregation operator. */ public operator?: ("count"|"sum"|"avg"); /** * Creates an Aggregation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Aggregation */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.StructuredAggregationQuery.Aggregation; /** * Creates a plain object from an Aggregation message. Also converts values to other types if specified. * @param message Aggregation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.StructuredAggregationQuery.Aggregation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Aggregation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Aggregation * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Aggregation { /** Properties of a Count. */ interface ICount { /** Count upTo */ upTo?: (google.protobuf.IInt64Value|null); } /** Represents a Count. */ class Count implements ICount { /** * Constructs a new Count. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.StructuredAggregationQuery.Aggregation.ICount); /** Count upTo. */ public upTo?: (google.protobuf.IInt64Value|null); /** * Creates a Count message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Count */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.StructuredAggregationQuery.Aggregation.Count; /** * Creates a plain object from a Count message. Also converts values to other types if specified. * @param message Count * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.StructuredAggregationQuery.Aggregation.Count, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Count to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Count * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Sum. */ interface ISum { /** Sum field */ field?: (google.firestore.v1.StructuredQuery.IFieldReference|null); } /** Represents a Sum. */ class Sum implements ISum { /** * Constructs a new Sum. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.StructuredAggregationQuery.Aggregation.ISum); /** Sum field. */ public field?: (google.firestore.v1.StructuredQuery.IFieldReference|null); /** * Creates a Sum message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Sum */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.StructuredAggregationQuery.Aggregation.Sum; /** * Creates a plain object from a Sum message. Also converts values to other types if specified. * @param message Sum * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.StructuredAggregationQuery.Aggregation.Sum, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Sum to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Sum * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Avg. */ interface IAvg { /** Avg field */ field?: (google.firestore.v1.StructuredQuery.IFieldReference|null); } /** Represents an Avg. */ class Avg implements IAvg { /** * Constructs a new Avg. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.StructuredAggregationQuery.Aggregation.IAvg); /** Avg field. */ public field?: (google.firestore.v1.StructuredQuery.IFieldReference|null); /** * Creates an Avg message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Avg */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.StructuredAggregationQuery.Aggregation.Avg; /** * Creates a plain object from an Avg message. Also converts values to other types if specified. * @param message Avg * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.StructuredAggregationQuery.Aggregation.Avg, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Avg to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Avg * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } } /** Properties of a Cursor. */ interface ICursor { /** Cursor values */ values?: (google.firestore.v1.IValue[]|null); /** Cursor before */ before?: (boolean|null); } /** Represents a Cursor. */ class Cursor implements ICursor { /** * Constructs a new Cursor. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.ICursor); /** Cursor values. */ public values: google.firestore.v1.IValue[]; /** Cursor before. */ public before: boolean; /** * Creates a Cursor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Cursor */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.Cursor; /** * Creates a plain object from a Cursor message. Also converts values to other types if specified. * @param message Cursor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.Cursor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Cursor to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Cursor * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ExplainOptions. */ interface IExplainOptions { /** ExplainOptions analyze */ analyze?: (boolean|null); } /** Represents an ExplainOptions. */ class ExplainOptions implements IExplainOptions { /** * Constructs a new ExplainOptions. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IExplainOptions); /** ExplainOptions analyze. */ public analyze: boolean; /** * Creates an ExplainOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExplainOptions */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.ExplainOptions; /** * Creates a plain object from an ExplainOptions message. Also converts values to other types if specified. * @param message ExplainOptions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.ExplainOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExplainOptions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ExplainOptions * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ExplainMetrics. */ interface IExplainMetrics { /** ExplainMetrics planSummary */ planSummary?: (google.firestore.v1.IPlanSummary|null); /** ExplainMetrics executionStats */ executionStats?: (google.firestore.v1.IExecutionStats|null); } /** Represents an ExplainMetrics. */ class ExplainMetrics implements IExplainMetrics { /** * Constructs a new ExplainMetrics. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IExplainMetrics); /** ExplainMetrics planSummary. */ public planSummary?: (google.firestore.v1.IPlanSummary|null); /** ExplainMetrics executionStats. */ public executionStats?: (google.firestore.v1.IExecutionStats|null); /** * Creates an ExplainMetrics message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExplainMetrics */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.ExplainMetrics; /** * Creates a plain object from an ExplainMetrics message. Also converts values to other types if specified. * @param message ExplainMetrics * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.ExplainMetrics, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExplainMetrics to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ExplainMetrics * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PlanSummary. */ interface IPlanSummary { /** PlanSummary indexesUsed */ indexesUsed?: (google.protobuf.IStruct[]|null); } /** Represents a PlanSummary. */ class PlanSummary implements IPlanSummary { /** * Constructs a new PlanSummary. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IPlanSummary); /** PlanSummary indexesUsed. */ public indexesUsed: google.protobuf.IStruct[]; /** * Creates a PlanSummary message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PlanSummary */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.PlanSummary; /** * Creates a plain object from a PlanSummary message. Also converts values to other types if specified. * @param message PlanSummary * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.PlanSummary, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PlanSummary to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PlanSummary * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ExecutionStats. */ interface IExecutionStats { /** ExecutionStats resultsReturned */ resultsReturned?: (number|string|null); /** ExecutionStats executionDuration */ executionDuration?: (google.protobuf.IDuration|null); /** ExecutionStats readOperations */ readOperations?: (number|string|null); /** ExecutionStats debugStats */ debugStats?: (google.protobuf.IStruct|null); } /** Represents an ExecutionStats. */ class ExecutionStats implements IExecutionStats { /** * Constructs a new ExecutionStats. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IExecutionStats); /** ExecutionStats resultsReturned. */ public resultsReturned: (number|string); /** ExecutionStats executionDuration. */ public executionDuration?: (google.protobuf.IDuration|null); /** ExecutionStats readOperations. */ public readOperations: (number|string); /** ExecutionStats debugStats. */ public debugStats?: (google.protobuf.IStruct|null); /** * Creates an ExecutionStats message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExecutionStats */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.ExecutionStats; /** * Creates a plain object from an ExecutionStats message. Also converts values to other types if specified. * @param message ExecutionStats * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.ExecutionStats, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExecutionStats to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ExecutionStats * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Write. */ interface IWrite { /** Write update */ update?: (google.firestore.v1.IDocument|null); /** Write delete */ "delete"?: (string|null); /** Write transform */ transform?: (google.firestore.v1.IDocumentTransform|null); /** Write updateMask */ updateMask?: (google.firestore.v1.IDocumentMask|null); /** Write updateTransforms */ updateTransforms?: (google.firestore.v1.DocumentTransform.IFieldTransform[]|null); /** Write currentDocument */ currentDocument?: (google.firestore.v1.IPrecondition|null); } /** Represents a Write. */ class Write implements IWrite { /** * Constructs a new Write. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IWrite); /** Write update. */ public update?: (google.firestore.v1.IDocument|null); /** Write delete. */ public delete?: (string|null); /** Write transform. */ public transform?: (google.firestore.v1.IDocumentTransform|null); /** Write updateMask. */ public updateMask?: (google.firestore.v1.IDocumentMask|null); /** Write updateTransforms. */ public updateTransforms: google.firestore.v1.DocumentTransform.IFieldTransform[]; /** Write currentDocument. */ public currentDocument?: (google.firestore.v1.IPrecondition|null); /** Write operation. */ public operation?: ("update"|"delete"|"transform"); /** * Creates a Write message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Write */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.Write; /** * Creates a plain object from a Write message. Also converts values to other types if specified. * @param message Write * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.Write, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Write to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Write * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DocumentTransform. */ interface IDocumentTransform { /** DocumentTransform document */ document?: (string|null); /** DocumentTransform fieldTransforms */ fieldTransforms?: (google.firestore.v1.DocumentTransform.IFieldTransform[]|null); } /** Represents a DocumentTransform. */ class DocumentTransform implements IDocumentTransform { /** * Constructs a new DocumentTransform. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IDocumentTransform); /** DocumentTransform document. */ public document: string; /** DocumentTransform fieldTransforms. */ public fieldTransforms: google.firestore.v1.DocumentTransform.IFieldTransform[]; /** * Creates a DocumentTransform message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DocumentTransform */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.DocumentTransform; /** * Creates a plain object from a DocumentTransform message. Also converts values to other types if specified. * @param message DocumentTransform * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.DocumentTransform, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DocumentTransform to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DocumentTransform * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace DocumentTransform { /** Properties of a FieldTransform. */ interface IFieldTransform { /** FieldTransform fieldPath */ fieldPath?: (string|null); /** FieldTransform setToServerValue */ setToServerValue?: (google.firestore.v1.DocumentTransform.FieldTransform.ServerValue|null); /** FieldTransform increment */ increment?: (google.firestore.v1.IValue|null); /** FieldTransform maximum */ maximum?: (google.firestore.v1.IValue|null); /** FieldTransform minimum */ minimum?: (google.firestore.v1.IValue|null); /** FieldTransform appendMissingElements */ appendMissingElements?: (google.firestore.v1.IArrayValue|null); /** FieldTransform removeAllFromArray */ removeAllFromArray?: (google.firestore.v1.IArrayValue|null); } /** Represents a FieldTransform. */ class FieldTransform implements IFieldTransform { /** * Constructs a new FieldTransform. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.DocumentTransform.IFieldTransform); /** FieldTransform fieldPath. */ public fieldPath: string; /** FieldTransform setToServerValue. */ public setToServerValue?: (google.firestore.v1.DocumentTransform.FieldTransform.ServerValue|null); /** FieldTransform increment. */ public increment?: (google.firestore.v1.IValue|null); /** FieldTransform maximum. */ public maximum?: (google.firestore.v1.IValue|null); /** FieldTransform minimum. */ public minimum?: (google.firestore.v1.IValue|null); /** FieldTransform appendMissingElements. */ public appendMissingElements?: (google.firestore.v1.IArrayValue|null); /** FieldTransform removeAllFromArray. */ public removeAllFromArray?: (google.firestore.v1.IArrayValue|null); /** FieldTransform transformType. */ public transformType?: ("setToServerValue"|"increment"|"maximum"|"minimum"|"appendMissingElements"|"removeAllFromArray"); /** * Creates a FieldTransform message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FieldTransform */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.DocumentTransform.FieldTransform; /** * Creates a plain object from a FieldTransform message. Also converts values to other types if specified. * @param message FieldTransform * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.DocumentTransform.FieldTransform, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FieldTransform to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FieldTransform * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace FieldTransform { /** ServerValue enum. */ type ServerValue = "SERVER_VALUE_UNSPECIFIED"| "REQUEST_TIME"; } } /** Properties of a WriteResult. */ interface IWriteResult { /** WriteResult updateTime */ updateTime?: (google.protobuf.ITimestamp|null); /** WriteResult transformResults */ transformResults?: (google.firestore.v1.IValue[]|null); } /** Represents a WriteResult. */ class WriteResult implements IWriteResult { /** * Constructs a new WriteResult. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IWriteResult); /** WriteResult updateTime. */ public updateTime?: (google.protobuf.ITimestamp|null); /** WriteResult transformResults. */ public transformResults: google.firestore.v1.IValue[]; /** * Creates a WriteResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns WriteResult */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.WriteResult; /** * Creates a plain object from a WriteResult message. Also converts values to other types if specified. * @param message WriteResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.WriteResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this WriteResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for WriteResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DocumentChange. */ interface IDocumentChange { /** DocumentChange document */ document?: (google.firestore.v1.IDocument|null); /** DocumentChange targetIds */ targetIds?: (number[]|null); /** DocumentChange removedTargetIds */ removedTargetIds?: (number[]|null); } /** Represents a DocumentChange. */ class DocumentChange implements IDocumentChange { /** * Constructs a new DocumentChange. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IDocumentChange); /** DocumentChange document. */ public document?: (google.firestore.v1.IDocument|null); /** DocumentChange targetIds. */ public targetIds: number[]; /** DocumentChange removedTargetIds. */ public removedTargetIds: number[]; /** * Creates a DocumentChange message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DocumentChange */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.DocumentChange; /** * Creates a plain object from a DocumentChange message. Also converts values to other types if specified. * @param message DocumentChange * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.DocumentChange, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DocumentChange to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DocumentChange * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DocumentDelete. */ interface IDocumentDelete { /** DocumentDelete document */ document?: (string|null); /** DocumentDelete removedTargetIds */ removedTargetIds?: (number[]|null); /** DocumentDelete readTime */ readTime?: (google.protobuf.ITimestamp|null); } /** Represents a DocumentDelete. */ class DocumentDelete implements IDocumentDelete { /** * Constructs a new DocumentDelete. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IDocumentDelete); /** DocumentDelete document. */ public document: string; /** DocumentDelete removedTargetIds. */ public removedTargetIds: number[]; /** DocumentDelete readTime. */ public readTime?: (google.protobuf.ITimestamp|null); /** * Creates a DocumentDelete message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DocumentDelete */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.DocumentDelete; /** * Creates a plain object from a DocumentDelete message. Also converts values to other types if specified. * @param message DocumentDelete * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.DocumentDelete, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DocumentDelete to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DocumentDelete * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DocumentRemove. */ interface IDocumentRemove { /** DocumentRemove document */ document?: (string|null); /** DocumentRemove removedTargetIds */ removedTargetIds?: (number[]|null); /** DocumentRemove readTime */ readTime?: (google.protobuf.ITimestamp|null); } /** Represents a DocumentRemove. */ class DocumentRemove implements IDocumentRemove { /** * Constructs a new DocumentRemove. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IDocumentRemove); /** DocumentRemove document. */ public document: string; /** DocumentRemove removedTargetIds. */ public removedTargetIds: number[]; /** DocumentRemove readTime. */ public readTime?: (google.protobuf.ITimestamp|null); /** * Creates a DocumentRemove message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DocumentRemove */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.DocumentRemove; /** * Creates a plain object from a DocumentRemove message. Also converts values to other types if specified. * @param message DocumentRemove * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.DocumentRemove, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DocumentRemove to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DocumentRemove * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ExistenceFilter. */ interface IExistenceFilter { /** ExistenceFilter targetId */ targetId?: (number|null); /** ExistenceFilter count */ count?: (number|null); /** ExistenceFilter unchangedNames */ unchangedNames?: (google.firestore.v1.IBloomFilter|null); } /** Represents an ExistenceFilter. */ class ExistenceFilter implements IExistenceFilter { /** * Constructs a new ExistenceFilter. * @param [properties] Properties to set */ constructor(properties?: google.firestore.v1.IExistenceFilter); /** ExistenceFilter targetId. */ public targetId: number; /** ExistenceFilter count. */ public count: number; /** ExistenceFilter unchangedNames. */ public unchangedNames?: (google.firestore.v1.IBloomFilter|null); /** * Creates an ExistenceFilter message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExistenceFilter */ public static fromObject(object: { [k: string]: any }): google.firestore.v1.ExistenceFilter; /** * Creates a plain object from an ExistenceFilter message. Also converts values to other types if specified. * @param message ExistenceFilter * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.firestore.v1.ExistenceFilter, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExistenceFilter to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ExistenceFilter * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } } /** Namespace api. */ namespace api { /** FieldBehavior enum. */ type FieldBehavior = "FIELD_BEHAVIOR_UNSPECIFIED"| "OPTIONAL"| "REQUIRED"| "OUTPUT_ONLY"| "INPUT_ONLY"| "IMMUTABLE"| "UNORDERED_LIST"| "NON_EMPTY_DEFAULT"| "IDENTIFIER"; /** 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 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 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 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 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|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; /** 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 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|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; /** Publishing librarySettings. */ public librarySettings: google.api.IClientLibrarySettings[]; /** Publishing protoReferenceDocumentationUri. */ public protoReferenceDocumentationUri: string; /** Publishing restReferenceDocumentationUri. */ public restReferenceDocumentationUri: string; /** * 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 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 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); } /** 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); /** * 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 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 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 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 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 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 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); } /** 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[]; /** * 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 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. */ type ClientLibraryOrganization = "CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED"| "CLOUD"| "ADS"| "PHOTOS"| "STREET_VIEW"| "SHOPPING"| "GEO"| "GENERATIVE_AI"; /** ClientLibraryDestination enum. */ type ClientLibraryDestination = "CLIENT_LIBRARY_DESTINATION_UNSPECIFIED"| "GITHUB"| "PACKAGE_MANAGER"; /** 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 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; } /** LaunchStage enum. */ type LaunchStage = "LAUNCH_STAGE_UNSPECIFIED"| "UNIMPLEMENTED"| "PRELAUNCH"| "EARLY_ACCESS"| "ALPHA"| "BETA"| "GA"| "DEPRECATED"; /** Properties of a RoutingRule. */ interface IRoutingRule { /** RoutingRule routingParameters */ routingParameters?: (google.api.IRoutingParameter[]|null); } /** Represents a RoutingRule. */ class RoutingRule implements IRoutingRule { /** * Constructs a new RoutingRule. * @param [properties] Properties to set */ constructor(properties?: google.api.IRoutingRule); /** RoutingRule routingParameters. */ public routingParameters: google.api.IRoutingParameter[]; /** * Creates a RoutingRule message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RoutingRule */ public static fromObject(object: { [k: string]: any }): google.api.RoutingRule; /** * Creates a plain object from a RoutingRule message. Also converts values to other types if specified. * @param message RoutingRule * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.RoutingRule, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RoutingRule to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RoutingRule * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RoutingParameter. */ interface IRoutingParameter { /** RoutingParameter field */ field?: (string|null); /** RoutingParameter pathTemplate */ pathTemplate?: (string|null); } /** Represents a RoutingParameter. */ class RoutingParameter implements IRoutingParameter { /** * Constructs a new RoutingParameter. * @param [properties] Properties to set */ constructor(properties?: google.api.IRoutingParameter); /** RoutingParameter field. */ public field: string; /** RoutingParameter pathTemplate. */ public pathTemplate: string; /** * Creates a RoutingParameter message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RoutingParameter */ public static fromObject(object: { [k: string]: any }): google.api.RoutingParameter; /** * Creates a plain object from a RoutingParameter message. Also converts values to other types if specified. * @param message RoutingParameter * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.api.RoutingParameter, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RoutingParameter to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RoutingParameter * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** 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|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; /** ResourceDescriptor plural. */ public plural: string; /** ResourceDescriptor singular. */ public singular: string; /** ResourceDescriptor style. */ public style: google.api.ResourceDescriptor.Style[]; /** * 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. */ type History = "HISTORY_UNSPECIFIED"| "ORIGINALLY_SINGLE_PATTERN"| "FUTURE_MULTI_PATTERN"; /** Style enum. */ type Style = "STYLE_UNSPECIFIED"| "DECLARATIVE_FRIENDLY"; } /** 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 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 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. */ type Edition = "EDITION_UNKNOWN"| "EDITION_PROTO2"| "EDITION_PROTO3"| "EDITION_2023"| "EDITION_2024"| "EDITION_1_TEST_ONLY"| "EDITION_2_TEST_ONLY"| "EDITION_99997_TEST_ONLY"| "EDITION_99998_TEST_ONLY"| "EDITION_99999_TEST_ONLY"| "EDITION_MAX"; /** 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 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|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 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; /** * 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); } /** 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[]; /** * 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 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 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|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; /** * 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 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. */ type VerificationState = "DECLARATION"| "UNVERIFIED"; } /** Properties of a FieldDescriptorProto. */ interface IFieldDescriptorProto { /** FieldDescriptorProto name */ name?: (string|null); /** FieldDescriptorProto number */ number?: (number|null); /** FieldDescriptorProto label */ label?: (google.protobuf.FieldDescriptorProto.Label|null); /** FieldDescriptorProto type */ type?: (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; /** FieldDescriptorProto type. */ public type: 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 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. */ type Type = "TYPE_DOUBLE"| "TYPE_FLOAT"| "TYPE_INT64"| "TYPE_UINT64"| "TYPE_INT32"| "TYPE_FIXED64"| "TYPE_FIXED32"| "TYPE_BOOL"| "TYPE_STRING"| "TYPE_GROUP"| "TYPE_MESSAGE"| "TYPE_BYTES"| "TYPE_UINT32"| "TYPE_ENUM"| "TYPE_SFIXED32"| "TYPE_SFIXED64"| "TYPE_SINT32"| "TYPE_SINT64"; /** Label enum. */ type Label = "LABEL_OPTIONAL"| "LABEL_REPEATED"| "LABEL_REQUIRED"; } /** 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 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); } /** 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[]; /** * 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 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 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 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 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|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; /** 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 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. */ type OptimizeMode = "SPEED"| "CODE_SIZE"| "LITE_RUNTIME"; } /** 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 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|null); /** FieldOptions packed */ packed?: (boolean|null); /** FieldOptions jstype */ jstype?: (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|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 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; /** FieldOptions packed. */ public packed: boolean; /** FieldOptions jstype. */ public jstype: 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; /** 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 uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; /** * 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. */ type CType = "STRING"| "CORD"| "STRING_PIECE"; /** JSType enum. */ type JSType = "JS_NORMAL"| "JS_STRING"| "JS_NUMBER"; /** OptionRetention enum. */ type OptionRetention = "RETENTION_UNKNOWN"| "RETENTION_RUNTIME"| "RETENTION_SOURCE"; /** OptionTargetType enum. */ type OptionTargetType = "TARGET_TYPE_UNKNOWN"| "TARGET_TYPE_FILE"| "TARGET_TYPE_EXTENSION_RANGE"| "TARGET_TYPE_MESSAGE"| "TARGET_TYPE_FIELD"| "TARGET_TYPE_ONEOF"| "TARGET_TYPE_ENUM"| "TARGET_TYPE_ENUM_ENTRY"| "TARGET_TYPE_SERVICE"| "TARGET_TYPE_METHOD"; /** Properties of an EditionDefault. */ interface IEditionDefault { /** EditionDefault edition */ edition?: (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; /** EditionDefault value. */ public value: string; /** * 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 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 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 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 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 uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; /** * 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 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|null); /** MethodOptions features */ features?: (google.protobuf.IFeatureSet|null); /** MethodOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); /** MethodOptions .google.api.http */ ".google.api.http"?: (google.api.IHttpRule|null); /** MethodOptions .google.api.methodSignature */ ".google.api.methodSignature"?: (string[]|null); /** MethodOptions .google.api.routing */ ".google.api.routing"?: (google.api.IRoutingRule|null); /** MethodOptions .google.longrunning.operationInfo */ ".google.longrunning.operationInfo"?: (google.longrunning.IOperationInfo|null); } /** Represents a MethodOptions. */ class MethodOptions implements IMethodOptions { /** * Constructs a new MethodOptions. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IMethodOptions); /** MethodOptions deprecated. */ public deprecated: boolean; /** MethodOptions idempotencyLevel. */ public idempotencyLevel: google.protobuf.MethodOptions.IdempotencyLevel; /** MethodOptions features. */ public features?: (google.protobuf.IFeatureSet|null); /** MethodOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; /** * 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. */ type IdempotencyLevel = "IDEMPOTENCY_UNKNOWN"| "NO_SIDE_EFFECTS"| "IDEMPOTENT"; } /** Properties of an UninterpretedOption. */ interface IUninterpretedOption { /** UninterpretedOption name */ name?: (google.protobuf.UninterpretedOption.INamePart[]|null); /** UninterpretedOption identifierValue */ identifierValue?: (string|null); /** UninterpretedOption positiveIntValue */ positiveIntValue?: (number|string|null); /** UninterpretedOption negativeIntValue */ negativeIntValue?: (number|string|null); /** UninterpretedOption doubleValue */ doubleValue?: (number|null); /** UninterpretedOption stringValue */ stringValue?: (Uint8Array|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|string); /** UninterpretedOption negativeIntValue. */ public negativeIntValue: (number|string); /** UninterpretedOption doubleValue. */ public doubleValue: number; /** UninterpretedOption stringValue. */ public stringValue: Uint8Array; /** UninterpretedOption aggregateValue. */ public aggregateValue: string; /** * 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 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|null); /** FeatureSet enumType */ enumType?: (google.protobuf.FeatureSet.EnumType|null); /** FeatureSet repeatedFieldEncoding */ repeatedFieldEncoding?: (google.protobuf.FeatureSet.RepeatedFieldEncoding|null); /** FeatureSet utf8Validation */ utf8Validation?: (google.protobuf.FeatureSet.Utf8Validation|null); /** FeatureSet messageEncoding */ messageEncoding?: (google.protobuf.FeatureSet.MessageEncoding|null); /** FeatureSet jsonFormat */ jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|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; /** FeatureSet enumType. */ public enumType: google.protobuf.FeatureSet.EnumType; /** FeatureSet repeatedFieldEncoding. */ public repeatedFieldEncoding: google.protobuf.FeatureSet.RepeatedFieldEncoding; /** FeatureSet utf8Validation. */ public utf8Validation: google.protobuf.FeatureSet.Utf8Validation; /** FeatureSet messageEncoding. */ public messageEncoding: google.protobuf.FeatureSet.MessageEncoding; /** FeatureSet jsonFormat. */ public jsonFormat: google.protobuf.FeatureSet.JsonFormat; /** * 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. */ type FieldPresence = "FIELD_PRESENCE_UNKNOWN"| "EXPLICIT"| "IMPLICIT"| "LEGACY_REQUIRED"; /** EnumType enum. */ type EnumType = "ENUM_TYPE_UNKNOWN"| "OPEN"| "CLOSED"; /** RepeatedFieldEncoding enum. */ type RepeatedFieldEncoding = "REPEATED_FIELD_ENCODING_UNKNOWN"| "PACKED"| "EXPANDED"; /** Utf8Validation enum. */ type Utf8Validation = "UTF8_VALIDATION_UNKNOWN"| "VERIFY"| "NONE"; /** MessageEncoding enum. */ type MessageEncoding = "MESSAGE_ENCODING_UNKNOWN"| "LENGTH_PREFIXED"| "DELIMITED"; /** JsonFormat enum. */ type JsonFormat = "JSON_FORMAT_UNKNOWN"| "ALLOW"| "LEGACY_BEST_EFFORT"; } /** Properties of a FeatureSetDefaults. */ interface IFeatureSetDefaults { /** FeatureSetDefaults defaults */ defaults?: (google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault[]|null); /** FeatureSetDefaults minimumEdition */ minimumEdition?: (google.protobuf.Edition|null); /** FeatureSetDefaults maximumEdition */ maximumEdition?: (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; /** FeatureSetDefaults maximumEdition. */ public maximumEdition: google.protobuf.Edition; /** * 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|null); /** FeatureSetEditionDefault features */ features?: (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; /** FeatureSetEditionDefault features. */ public features?: (google.protobuf.IFeatureSet|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 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 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 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|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; /** * 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. */ type Semantic = "NONE"| "SET"| "ALIAS"; } } /** 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 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|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|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 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. */ type NullValue = "NULL_VALUE"; /** 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 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|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|string); /** Timestamp nanos. */ public nanos: number; /** * Creates a Timestamp message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Timestamp */ public static fromObject(object: { [k: string]: any }): google.protobuf.Timestamp; /** * Creates a plain object from a Timestamp message. Also converts values to other types if specified. * @param message Timestamp * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.Timestamp, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Timestamp to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Timestamp * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Any. */ interface IAny { /** Any type_url */ type_url?: (string|null); /** Any value */ value?: (Uint8Array|null); } /** Represents an Any. */ class Any implements IAny { /** * Constructs a new Any. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IAny); /** Any type_url. */ public type_url: string; /** Any value. */ public value: Uint8Array; /** * Creates an Any message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Any */ public static fromObject(object: { [k: string]: any }): google.protobuf.Any; /** * Creates a plain object from an Any message. Also converts values to other types if specified. * @param message Any * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.Any, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Any to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Any * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Duration. */ interface IDuration { /** Duration seconds */ seconds?: (number|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|string); /** Duration nanos. */ public nanos: number; /** * Creates a Duration message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Duration */ public static fromObject(object: { [k: string]: any }): google.protobuf.Duration; /** * Creates a plain object from a Duration message. Also converts values to other types if specified. * @param message Duration * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.Duration, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Duration to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Duration * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DoubleValue. */ interface IDoubleValue { /** DoubleValue value */ value?: (number|null); } /** Represents a DoubleValue. */ class DoubleValue implements IDoubleValue { /** * Constructs a new DoubleValue. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IDoubleValue); /** DoubleValue value. */ public value: number; /** * Creates a DoubleValue message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DoubleValue */ public static fromObject(object: { [k: string]: any }): google.protobuf.DoubleValue; /** * Creates a plain object from a DoubleValue message. Also converts values to other types if specified. * @param message DoubleValue * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.DoubleValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DoubleValue to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DoubleValue * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FloatValue. */ interface IFloatValue { /** FloatValue value */ value?: (number|null); } /** Represents a FloatValue. */ class FloatValue implements IFloatValue { /** * Constructs a new FloatValue. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IFloatValue); /** FloatValue value. */ public value: number; /** * Creates a FloatValue message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FloatValue */ public static fromObject(object: { [k: string]: any }): google.protobuf.FloatValue; /** * Creates a plain object from a FloatValue message. Also converts values to other types if specified. * @param message FloatValue * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FloatValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FloatValue to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FloatValue * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Int64Value. */ interface IInt64Value { /** Int64Value value */ value?: (number|string|null); } /** Represents an Int64Value. */ class Int64Value implements IInt64Value { /** * Constructs a new Int64Value. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IInt64Value); /** Int64Value value. */ public value: (number|string); /** * Creates an Int64Value message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Int64Value */ public static fromObject(object: { [k: string]: any }): google.protobuf.Int64Value; /** * Creates a plain object from an Int64Value message. Also converts values to other types if specified. * @param message Int64Value * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.Int64Value, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Int64Value to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Int64Value * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a UInt64Value. */ interface IUInt64Value { /** UInt64Value value */ value?: (number|string|null); } /** Represents a UInt64Value. */ class UInt64Value implements IUInt64Value { /** * Constructs a new UInt64Value. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IUInt64Value); /** UInt64Value value. */ public value: (number|string); /** * Creates a UInt64Value message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UInt64Value */ public static fromObject(object: { [k: string]: any }): google.protobuf.UInt64Value; /** * Creates a plain object from a UInt64Value message. Also converts values to other types if specified. * @param message UInt64Value * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.UInt64Value, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UInt64Value to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UInt64Value * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Int32Value. */ interface IInt32Value { /** Int32Value value */ value?: (number|null); } /** Represents an Int32Value. */ class Int32Value implements IInt32Value { /** * Constructs a new Int32Value. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IInt32Value); /** Int32Value value. */ public value: number; /** * Creates an Int32Value message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Int32Value */ public static fromObject(object: { [k: string]: any }): google.protobuf.Int32Value; /** * Creates a plain object from an Int32Value message. Also converts values to other types if specified. * @param message Int32Value * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.Int32Value, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Int32Value to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Int32Value * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a UInt32Value. */ interface IUInt32Value { /** UInt32Value value */ value?: (number|null); } /** Represents a UInt32Value. */ class UInt32Value implements IUInt32Value { /** * Constructs a new UInt32Value. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IUInt32Value); /** UInt32Value value. */ public value: number; /** * Creates a UInt32Value message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UInt32Value */ public static fromObject(object: { [k: string]: any }): google.protobuf.UInt32Value; /** * Creates a plain object from a UInt32Value message. Also converts values to other types if specified. * @param message UInt32Value * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.UInt32Value, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UInt32Value to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UInt32Value * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BoolValue. */ interface IBoolValue { /** BoolValue value */ value?: (boolean|null); } /** Represents a BoolValue. */ class BoolValue implements IBoolValue { /** * Constructs a new BoolValue. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IBoolValue); /** BoolValue value. */ public value: boolean; /** * Creates a BoolValue message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BoolValue */ public static fromObject(object: { [k: string]: any }): google.protobuf.BoolValue; /** * Creates a plain object from a BoolValue message. Also converts values to other types if specified. * @param message BoolValue * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.BoolValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BoolValue to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BoolValue * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a StringValue. */ interface IStringValue { /** StringValue value */ value?: (string|null); } /** Represents a StringValue. */ class StringValue implements IStringValue { /** * Constructs a new StringValue. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IStringValue); /** StringValue value. */ public value: string; /** * Creates a StringValue message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StringValue */ public static fromObject(object: { [k: string]: any }): google.protobuf.StringValue; /** * Creates a plain object from a StringValue message. Also converts values to other types if specified. * @param message StringValue * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.StringValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StringValue to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StringValue * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BytesValue. */ interface IBytesValue { /** BytesValue value */ value?: (Uint8Array|null); } /** Represents a BytesValue. */ class BytesValue implements IBytesValue { /** * Constructs a new BytesValue. * @param [properties] Properties to set */ constructor(properties?: google.protobuf.IBytesValue); /** BytesValue value. */ public value: Uint8Array; /** * Creates a BytesValue message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BytesValue */ public static fromObject(object: { [k: string]: any }): google.protobuf.BytesValue; /** * Creates a plain object from a BytesValue message. Also converts values to other types if specified. * @param message BytesValue * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.BytesValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BytesValue to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BytesValue * @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 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 FieldMask message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FieldMask */ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldMask; /** * Creates a plain object from a FieldMask message. Also converts values to other types if specified. * @param message FieldMask * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.protobuf.FieldMask, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FieldMask to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FieldMask * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Namespace type. */ namespace type { /** Properties of a LatLng. */ interface ILatLng { /** LatLng latitude */ latitude?: (number|null); /** LatLng longitude */ longitude?: (number|null); } /** Represents a LatLng. */ class LatLng implements ILatLng { /** * Constructs a new LatLng. * @param [properties] Properties to set */ constructor(properties?: google.type.ILatLng); /** LatLng latitude. */ public latitude: number; /** LatLng longitude. */ public longitude: number; /** * Creates a LatLng message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LatLng */ public static fromObject(object: { [k: string]: any }): google.type.LatLng; /** * Creates a plain object from a LatLng message. Also converts values to other types if specified. * @param message LatLng * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.type.LatLng, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LatLng to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for LatLng * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** DayOfWeek enum. */ type DayOfWeek = "DAY_OF_WEEK_UNSPECIFIED"| "MONDAY"| "TUESDAY"| "WEDNESDAY"| "THURSDAY"| "FRIDAY"| "SATURDAY"| "SUNDAY"; } /** Namespace rpc. */ namespace rpc { /** Properties of a Status. */ interface IStatus { /** Status code */ code?: (number|null); /** Status message */ message?: (string|null); /** Status details */ details?: (google.protobuf.IAny[]|null); } /** Represents a Status. */ class Status implements IStatus { /** * Constructs a new Status. * @param [properties] Properties to set */ constructor(properties?: google.rpc.IStatus); /** Status code. */ public code: number; /** Status message. */ public message: string; /** Status details. */ public details: google.protobuf.IAny[]; /** * Creates a Status message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Status */ public static fromObject(object: { [k: string]: any }): google.rpc.Status; /** * Creates a plain object from a Status message. Also converts values to other types if specified. * @param message Status * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.rpc.Status, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Status to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Status * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Namespace longrunning. */ namespace longrunning { /** Represents an Operations */ class Operations extends $protobuf.rpc.Service { /** * Constructs a new Operations service. * @param rpcImpl RPC implementation * @param [requestDelimited=false] Whether requests are length-delimited * @param [responseDelimited=false] Whether responses are length-delimited */ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); /** * Calls ListOperations. * @param request ListOperationsRequest message or plain object * @param callback Node-style callback called with the error, if any, and ListOperationsResponse */ public listOperations(request: google.longrunning.IListOperationsRequest, callback: google.longrunning.Operations.ListOperationsCallback): void; /** * Calls ListOperations. * @param request ListOperationsRequest message or plain object * @returns Promise */ public listOperations(request: google.longrunning.IListOperationsRequest): Promise; /** * Calls GetOperation. * @param request GetOperationRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public getOperation(request: google.longrunning.IGetOperationRequest, callback: google.longrunning.Operations.GetOperationCallback): void; /** * Calls GetOperation. * @param request GetOperationRequest message or plain object * @returns Promise */ public getOperation(request: google.longrunning.IGetOperationRequest): Promise; /** * Calls DeleteOperation. * @param request DeleteOperationRequest message or plain object * @param callback Node-style callback called with the error, if any, and Empty */ public deleteOperation(request: google.longrunning.IDeleteOperationRequest, callback: google.longrunning.Operations.DeleteOperationCallback): void; /** * Calls DeleteOperation. * @param request DeleteOperationRequest message or plain object * @returns Promise */ public deleteOperation(request: google.longrunning.IDeleteOperationRequest): Promise; /** * Calls CancelOperation. * @param request CancelOperationRequest message or plain object * @param callback Node-style callback called with the error, if any, and Empty */ public cancelOperation(request: google.longrunning.ICancelOperationRequest, callback: google.longrunning.Operations.CancelOperationCallback): void; /** * Calls CancelOperation. * @param request CancelOperationRequest message or plain object * @returns Promise */ public cancelOperation(request: google.longrunning.ICancelOperationRequest): Promise; /** * Calls WaitOperation. * @param request WaitOperationRequest message or plain object * @param callback Node-style callback called with the error, if any, and Operation */ public waitOperation(request: google.longrunning.IWaitOperationRequest, callback: google.longrunning.Operations.WaitOperationCallback): void; /** * Calls WaitOperation. * @param request WaitOperationRequest message or plain object * @returns Promise */ public waitOperation(request: google.longrunning.IWaitOperationRequest): Promise; } namespace Operations { /** * Callback as used by {@link google.longrunning.Operations#listOperations}. * @param error Error, if any * @param [response] ListOperationsResponse */ type ListOperationsCallback = (error: (Error|null), response?: google.longrunning.ListOperationsResponse) => void; /** * Callback as used by {@link google.longrunning.Operations#getOperation}. * @param error Error, if any * @param [response] Operation */ type GetOperationCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** * Callback as used by {@link google.longrunning.Operations#deleteOperation}. * @param error Error, if any * @param [response] Empty */ type DeleteOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** * Callback as used by {@link google.longrunning.Operations#cancelOperation}. * @param error Error, if any * @param [response] Empty */ type CancelOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** * Callback as used by {@link google.longrunning.Operations#waitOperation}. * @param error Error, if any * @param [response] Operation */ type WaitOperationCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; } /** Properties of an Operation. */ interface IOperation { /** Operation name */ name?: (string|null); /** Operation metadata */ metadata?: (google.protobuf.IAny|null); /** Operation done */ done?: (boolean|null); /** Operation error */ error?: (google.rpc.IStatus|null); /** Operation response */ response?: (google.protobuf.IAny|null); } /** Represents an Operation. */ class Operation implements IOperation { /** * Constructs a new Operation. * @param [properties] Properties to set */ constructor(properties?: google.longrunning.IOperation); /** Operation name. */ public name: string; /** Operation metadata. */ public metadata?: (google.protobuf.IAny|null); /** Operation done. */ public done: boolean; /** Operation error. */ public error?: (google.rpc.IStatus|null); /** Operation response. */ public response?: (google.protobuf.IAny|null); /** Operation result. */ public result?: ("error"|"response"); /** * Creates an Operation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Operation */ public static fromObject(object: { [k: string]: any }): google.longrunning.Operation; /** * Creates a plain object from an Operation message. Also converts values to other types if specified. * @param message Operation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.longrunning.Operation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Operation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Operation * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetOperationRequest. */ interface IGetOperationRequest { /** GetOperationRequest name */ name?: (string|null); } /** Represents a GetOperationRequest. */ class GetOperationRequest implements IGetOperationRequest { /** * Constructs a new GetOperationRequest. * @param [properties] Properties to set */ constructor(properties?: google.longrunning.IGetOperationRequest); /** GetOperationRequest name. */ public name: string; /** * Creates a GetOperationRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetOperationRequest */ public static fromObject(object: { [k: string]: any }): google.longrunning.GetOperationRequest; /** * Creates a plain object from a GetOperationRequest message. Also converts values to other types if specified. * @param message GetOperationRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.longrunning.GetOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetOperationRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GetOperationRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListOperationsRequest. */ interface IListOperationsRequest { /** ListOperationsRequest name */ name?: (string|null); /** ListOperationsRequest filter */ filter?: (string|null); /** ListOperationsRequest pageSize */ pageSize?: (number|null); /** ListOperationsRequest pageToken */ pageToken?: (string|null); /** ListOperationsRequest returnPartialSuccess */ returnPartialSuccess?: (boolean|null); } /** Represents a ListOperationsRequest. */ class ListOperationsRequest implements IListOperationsRequest { /** * Constructs a new ListOperationsRequest. * @param [properties] Properties to set */ constructor(properties?: google.longrunning.IListOperationsRequest); /** ListOperationsRequest name. */ public name: string; /** ListOperationsRequest filter. */ public filter: string; /** ListOperationsRequest pageSize. */ public pageSize: number; /** ListOperationsRequest pageToken. */ public pageToken: string; /** ListOperationsRequest returnPartialSuccess. */ public returnPartialSuccess: boolean; /** * Creates a ListOperationsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListOperationsRequest */ public static fromObject(object: { [k: string]: any }): google.longrunning.ListOperationsRequest; /** * Creates a plain object from a ListOperationsRequest message. Also converts values to other types if specified. * @param message ListOperationsRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.longrunning.ListOperationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListOperationsRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListOperationsRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListOperationsResponse. */ interface IListOperationsResponse { /** ListOperationsResponse operations */ operations?: (google.longrunning.IOperation[]|null); /** ListOperationsResponse nextPageToken */ nextPageToken?: (string|null); /** ListOperationsResponse unreachable */ unreachable?: (string[]|null); } /** Represents a ListOperationsResponse. */ class ListOperationsResponse implements IListOperationsResponse { /** * Constructs a new ListOperationsResponse. * @param [properties] Properties to set */ constructor(properties?: google.longrunning.IListOperationsResponse); /** ListOperationsResponse operations. */ public operations: google.longrunning.IOperation[]; /** ListOperationsResponse nextPageToken. */ public nextPageToken: string; /** ListOperationsResponse unreachable. */ public unreachable: string[]; /** * Creates a ListOperationsResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListOperationsResponse */ public static fromObject(object: { [k: string]: any }): google.longrunning.ListOperationsResponse; /** * Creates a plain object from a ListOperationsResponse message. Also converts values to other types if specified. * @param message ListOperationsResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.longrunning.ListOperationsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListOperationsResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListOperationsResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CancelOperationRequest. */ interface ICancelOperationRequest { /** CancelOperationRequest name */ name?: (string|null); } /** Represents a CancelOperationRequest. */ class CancelOperationRequest implements ICancelOperationRequest { /** * Constructs a new CancelOperationRequest. * @param [properties] Properties to set */ constructor(properties?: google.longrunning.ICancelOperationRequest); /** CancelOperationRequest name. */ public name: string; /** * Creates a CancelOperationRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CancelOperationRequest */ public static fromObject(object: { [k: string]: any }): google.longrunning.CancelOperationRequest; /** * Creates a plain object from a CancelOperationRequest message. Also converts values to other types if specified. * @param message CancelOperationRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.longrunning.CancelOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CancelOperationRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CancelOperationRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteOperationRequest. */ interface IDeleteOperationRequest { /** DeleteOperationRequest name */ name?: (string|null); } /** Represents a DeleteOperationRequest. */ class DeleteOperationRequest implements IDeleteOperationRequest { /** * Constructs a new DeleteOperationRequest. * @param [properties] Properties to set */ constructor(properties?: google.longrunning.IDeleteOperationRequest); /** DeleteOperationRequest name. */ public name: string; /** * Creates a DeleteOperationRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteOperationRequest */ public static fromObject(object: { [k: string]: any }): google.longrunning.DeleteOperationRequest; /** * Creates a plain object from a DeleteOperationRequest message. Also converts values to other types if specified. * @param message DeleteOperationRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.longrunning.DeleteOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteOperationRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeleteOperationRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a WaitOperationRequest. */ interface IWaitOperationRequest { /** WaitOperationRequest name */ name?: (string|null); /** WaitOperationRequest timeout */ timeout?: (google.protobuf.IDuration|null); } /** Represents a WaitOperationRequest. */ class WaitOperationRequest implements IWaitOperationRequest { /** * Constructs a new WaitOperationRequest. * @param [properties] Properties to set */ constructor(properties?: google.longrunning.IWaitOperationRequest); /** WaitOperationRequest name. */ public name: string; /** WaitOperationRequest timeout. */ public timeout?: (google.protobuf.IDuration|null); /** * Creates a WaitOperationRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns WaitOperationRequest */ public static fromObject(object: { [k: string]: any }): google.longrunning.WaitOperationRequest; /** * Creates a plain object from a WaitOperationRequest message. Also converts values to other types if specified. * @param message WaitOperationRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.longrunning.WaitOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this WaitOperationRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for WaitOperationRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an OperationInfo. */ interface IOperationInfo { /** OperationInfo responseType */ responseType?: (string|null); /** OperationInfo metadataType */ metadataType?: (string|null); } /** Represents an OperationInfo. */ class OperationInfo implements IOperationInfo { /** * Constructs a new OperationInfo. * @param [properties] Properties to set */ constructor(properties?: google.longrunning.IOperationInfo); /** OperationInfo responseType. */ public responseType: string; /** OperationInfo metadataType. */ public metadataType: string; /** * Creates an OperationInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns OperationInfo */ public static fromObject(object: { [k: string]: any }): google.longrunning.OperationInfo; /** * Creates a plain object from an OperationInfo message. Also converts values to other types if specified. * @param message OperationInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.longrunning.OperationInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this OperationInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for OperationInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } }