protobuf.js/tests/data/test.d.ts

1454 lines
85 KiB
TypeScript

import * as $protobuf from "../..";
export namespace jspb {
namespace test {
interface IEmpty {
}
class Empty {
constructor(properties?: jspb.test.IEmpty);
public static create(properties?: jspb.test.IEmpty): jspb.test.Empty;
public static encode(message: jspb.test.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.Empty;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.Empty;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.Empty;
public static toObject(message: jspb.test.Empty, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
enum OuterEnum {
FOO = 1,
BAR = 2
}
interface IEnumContainer {
outerEnum?: jspb.test.OuterEnum;
}
class EnumContainer {
constructor(properties?: jspb.test.IEnumContainer);
public outerEnum: jspb.test.OuterEnum;
public static create(properties?: jspb.test.IEnumContainer): jspb.test.EnumContainer;
public static encode(message: jspb.test.IEnumContainer, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.IEnumContainer, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.EnumContainer;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.EnumContainer;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.EnumContainer;
public static toObject(message: jspb.test.EnumContainer, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface ISimple1 {
aString: string;
aRepeatedString?: string[];
aBoolean?: boolean;
}
class Simple1 {
constructor(properties?: jspb.test.ISimple1);
public aString: string;
public aRepeatedString: string[];
public aBoolean: boolean;
public static create(properties?: jspb.test.ISimple1): jspb.test.Simple1;
public static encode(message: jspb.test.ISimple1, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.ISimple1, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.Simple1;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.Simple1;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.Simple1;
public static toObject(message: jspb.test.Simple1, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface ISimple2 {
aString: string;
aRepeatedString?: string[];
}
class Simple2 {
constructor(properties?: jspb.test.ISimple2);
public aString: string;
public aRepeatedString: string[];
public static create(properties?: jspb.test.ISimple2): jspb.test.Simple2;
public static encode(message: jspb.test.ISimple2, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.ISimple2, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.Simple2;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.Simple2;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.Simple2;
public static toObject(message: jspb.test.Simple2, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface ISpecialCases {
normal: string;
default: string;
function: string;
var: string;
}
class SpecialCases {
constructor(properties?: jspb.test.ISpecialCases);
public normal: string;
public ["default"]: string;
public ["function"]: string;
public ["var"]: string;
public static create(properties?: jspb.test.ISpecialCases): jspb.test.SpecialCases;
public static encode(message: jspb.test.ISpecialCases, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.ISpecialCases, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.SpecialCases;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.SpecialCases;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.SpecialCases;
public static toObject(message: jspb.test.SpecialCases, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface IOptionalFields {
aString?: string;
aBool: boolean;
aNestedMessage?: jspb.test.OptionalFields.INested;
aRepeatedMessage?: jspb.test.OptionalFields.INested[];
aRepeatedString?: string[];
}
class OptionalFields {
constructor(properties?: jspb.test.IOptionalFields);
public aString: string;
public aBool: boolean;
public aNestedMessage: (jspb.test.OptionalFields.INested|null);
public aRepeatedMessage: jspb.test.OptionalFields.INested[];
public aRepeatedString: string[];
public static create(properties?: jspb.test.IOptionalFields): jspb.test.OptionalFields;
public static encode(message: jspb.test.IOptionalFields, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.IOptionalFields, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.OptionalFields;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.OptionalFields;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.OptionalFields;
public static toObject(message: jspb.test.OptionalFields, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
namespace OptionalFields {
interface INested {
anInt?: number;
}
class Nested {
constructor(properties?: jspb.test.OptionalFields.INested);
public anInt: number;
public static create(properties?: jspb.test.OptionalFields.INested): jspb.test.OptionalFields.Nested;
public static encode(message: jspb.test.OptionalFields.INested, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.OptionalFields.INested, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.OptionalFields.Nested;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.OptionalFields.Nested;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.OptionalFields.Nested;
public static toObject(message: jspb.test.OptionalFields.Nested, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
}
interface IHasExtensions {
str1?: string;
str2?: string;
str3?: string;
".jspb.test.IsExtension.extField"?: jspb.test.IIsExtension;
".jspb.test.IndirectExtension.simple"?: jspb.test.ISimple1;
".jspb.test.IndirectExtension.str"?: string;
".jspb.test.IndirectExtension.repeatedStr"?: string[];
".jspb.test.IndirectExtension.repeatedSimple"?: jspb.test.ISimple1[];
".jspb.test.simple1"?: jspb.test.ISimple1;
}
class HasExtensions {
constructor(properties?: jspb.test.IHasExtensions);
public str1: string;
public str2: string;
public str3: string;
public [".jspb.test.IsExtension.extField"]: (jspb.test.IIsExtension|null);
public [".jspb.test.IndirectExtension.simple"]: (jspb.test.ISimple1|null);
public [".jspb.test.IndirectExtension.str"]: string;
public [".jspb.test.IndirectExtension.repeatedStr"]: string[];
public [".jspb.test.IndirectExtension.repeatedSimple"]: jspb.test.ISimple1[];
public [".jspb.test.simple1"]: (jspb.test.ISimple1|null);
public static create(properties?: jspb.test.IHasExtensions): jspb.test.HasExtensions;
public static encode(message: jspb.test.IHasExtensions, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.IHasExtensions, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.HasExtensions;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.HasExtensions;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.HasExtensions;
public static toObject(message: jspb.test.HasExtensions, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface IComplex {
aString: string;
anOutOfOrderBool: boolean;
aNestedMessage?: jspb.test.Complex.INested;
aRepeatedMessage?: jspb.test.Complex.INested[];
aRepeatedString?: string[];
}
class Complex {
constructor(properties?: jspb.test.IComplex);
public aString: string;
public anOutOfOrderBool: boolean;
public aNestedMessage: (jspb.test.Complex.INested|null);
public aRepeatedMessage: jspb.test.Complex.INested[];
public aRepeatedString: string[];
public static create(properties?: jspb.test.IComplex): jspb.test.Complex;
public static encode(message: jspb.test.IComplex, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.IComplex, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.Complex;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.Complex;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.Complex;
public static toObject(message: jspb.test.Complex, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
namespace Complex {
interface INested {
anInt: number;
}
class Nested {
constructor(properties?: jspb.test.Complex.INested);
public anInt: number;
public static create(properties?: jspb.test.Complex.INested): jspb.test.Complex.Nested;
public static encode(message: jspb.test.Complex.INested, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.Complex.INested, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.Complex.Nested;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.Complex.Nested;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.Complex.Nested;
public static toObject(message: jspb.test.Complex.Nested, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
}
interface IOuterMessage {
}
class OuterMessage {
constructor(properties?: jspb.test.IOuterMessage);
public static create(properties?: jspb.test.IOuterMessage): jspb.test.OuterMessage;
public static encode(message: jspb.test.IOuterMessage, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.IOuterMessage, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.OuterMessage;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.OuterMessage;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.OuterMessage;
public static toObject(message: jspb.test.OuterMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
namespace OuterMessage {
interface IComplex {
innerComplexField?: number;
}
class Complex {
constructor(properties?: jspb.test.OuterMessage.IComplex);
public innerComplexField: number;
public static create(properties?: jspb.test.OuterMessage.IComplex): jspb.test.OuterMessage.Complex;
public static encode(message: jspb.test.OuterMessage.IComplex, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.OuterMessage.IComplex, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.OuterMessage.Complex;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.OuterMessage.Complex;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.OuterMessage.Complex;
public static toObject(message: jspb.test.OuterMessage.Complex, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
}
interface IIsExtension {
ext1?: string;
}
class IsExtension {
constructor(properties?: jspb.test.IIsExtension);
public ext1: string;
public static create(properties?: jspb.test.IIsExtension): jspb.test.IsExtension;
public static encode(message: jspb.test.IIsExtension, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.IIsExtension, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.IsExtension;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.IsExtension;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.IsExtension;
public static toObject(message: jspb.test.IsExtension, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface IIndirectExtension {
}
class IndirectExtension {
constructor(properties?: jspb.test.IIndirectExtension);
public static create(properties?: jspb.test.IIndirectExtension): jspb.test.IndirectExtension;
public static encode(message: jspb.test.IIndirectExtension, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.IIndirectExtension, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.IndirectExtension;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.IndirectExtension;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.IndirectExtension;
public static toObject(message: jspb.test.IndirectExtension, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface IDefaultValues {
stringField?: string;
boolField?: boolean;
intField?: (number|Long);
enumField?: jspb.test.DefaultValues.Enum;
emptyField?: string;
bytesField?: Uint8Array;
}
class DefaultValues {
constructor(properties?: jspb.test.IDefaultValues);
public stringField: string;
public boolField: boolean;
public intField: (number|Long);
public enumField: jspb.test.DefaultValues.Enum;
public emptyField: string;
public bytesField: Uint8Array;
public static create(properties?: jspb.test.IDefaultValues): jspb.test.DefaultValues;
public static encode(message: jspb.test.IDefaultValues, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.IDefaultValues, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.DefaultValues;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.DefaultValues;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.DefaultValues;
public static toObject(message: jspb.test.DefaultValues, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
namespace DefaultValues {
enum Enum {
E1 = 13,
E2 = 77
}
}
interface IFloatingPointFields {
optionalFloatField?: number;
requiredFloatField: number;
repeatedFloatField?: number[];
defaultFloatField?: number;
optionalDoubleField?: number;
requiredDoubleField: number;
repeatedDoubleField?: number[];
defaultDoubleField?: number;
}
class FloatingPointFields {
constructor(properties?: jspb.test.IFloatingPointFields);
public optionalFloatField: number;
public requiredFloatField: number;
public repeatedFloatField: number[];
public defaultFloatField: number;
public optionalDoubleField: number;
public requiredDoubleField: number;
public repeatedDoubleField: number[];
public defaultDoubleField: number;
public static create(properties?: jspb.test.IFloatingPointFields): jspb.test.FloatingPointFields;
public static encode(message: jspb.test.IFloatingPointFields, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.IFloatingPointFields, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.FloatingPointFields;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.FloatingPointFields;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.FloatingPointFields;
public static toObject(message: jspb.test.FloatingPointFields, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface ITestClone {
str?: string;
simple1?: jspb.test.ISimple1;
simple2?: jspb.test.ISimple1[];
bytesField?: Uint8Array;
unused?: string;
".jspb.test.CloneExtension.extField"?: jspb.test.ICloneExtension;
}
class TestClone {
constructor(properties?: jspb.test.ITestClone);
public str: string;
public simple1: (jspb.test.ISimple1|null);
public simple2: jspb.test.ISimple1[];
public bytesField: Uint8Array;
public unused: string;
public [".jspb.test.CloneExtension.extField"]: (jspb.test.ICloneExtension|null);
public static create(properties?: jspb.test.ITestClone): jspb.test.TestClone;
public static encode(message: jspb.test.ITestClone, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.ITestClone, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.TestClone;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.TestClone;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.TestClone;
public static toObject(message: jspb.test.TestClone, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface ICloneExtension {
ext?: string;
}
class CloneExtension {
constructor(properties?: jspb.test.ICloneExtension);
public ext: string;
public static create(properties?: jspb.test.ICloneExtension): jspb.test.CloneExtension;
public static encode(message: jspb.test.ICloneExtension, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.ICloneExtension, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.CloneExtension;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.CloneExtension;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.CloneExtension;
public static toObject(message: jspb.test.CloneExtension, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface ITestGroup {
repeatedGroup?: jspb.test.TestGroup.IRepeatedGroup[];
requiredGroup: jspb.test.TestGroup.IRequiredGroup;
optionalGroup?: jspb.test.TestGroup.IOptionalGroup;
id?: string;
requiredSimple: jspb.test.ISimple2;
optionalSimple?: jspb.test.ISimple2;
}
class TestGroup {
constructor(properties?: jspb.test.ITestGroup);
public repeatedGroup: jspb.test.TestGroup.IRepeatedGroup[];
public requiredGroup: jspb.test.TestGroup.IRequiredGroup;
public optionalGroup: (jspb.test.TestGroup.IOptionalGroup|null);
public id: string;
public requiredSimple: jspb.test.ISimple2;
public optionalSimple: (jspb.test.ISimple2|null);
public static create(properties?: jspb.test.ITestGroup): jspb.test.TestGroup;
public static encode(message: jspb.test.ITestGroup, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.ITestGroup, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.TestGroup;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.TestGroup;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.TestGroup;
public static toObject(message: jspb.test.TestGroup, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
namespace TestGroup {
interface IRepeatedGroup {
id: string;
someBool?: boolean[];
}
class RepeatedGroup {
constructor(properties?: jspb.test.TestGroup.IRepeatedGroup);
public id: string;
public someBool: boolean[];
public static create(properties?: jspb.test.TestGroup.IRepeatedGroup): jspb.test.TestGroup.RepeatedGroup;
public static encode(message: jspb.test.TestGroup.IRepeatedGroup, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.TestGroup.IRepeatedGroup, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.TestGroup.RepeatedGroup;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.TestGroup.RepeatedGroup;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.TestGroup.RepeatedGroup;
public static toObject(message: jspb.test.TestGroup.RepeatedGroup, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface IRequiredGroup {
id: string;
}
class RequiredGroup {
constructor(properties?: jspb.test.TestGroup.IRequiredGroup);
public id: string;
public static create(properties?: jspb.test.TestGroup.IRequiredGroup): jspb.test.TestGroup.RequiredGroup;
public static encode(message: jspb.test.TestGroup.IRequiredGroup, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.TestGroup.IRequiredGroup, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.TestGroup.RequiredGroup;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.TestGroup.RequiredGroup;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.TestGroup.RequiredGroup;
public static toObject(message: jspb.test.TestGroup.RequiredGroup, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface IOptionalGroup {
id: string;
}
class OptionalGroup {
constructor(properties?: jspb.test.TestGroup.IOptionalGroup);
public id: string;
public static create(properties?: jspb.test.TestGroup.IOptionalGroup): jspb.test.TestGroup.OptionalGroup;
public static encode(message: jspb.test.TestGroup.IOptionalGroup, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.TestGroup.IOptionalGroup, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.TestGroup.OptionalGroup;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.TestGroup.OptionalGroup;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.TestGroup.OptionalGroup;
public static toObject(message: jspb.test.TestGroup.OptionalGroup, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
}
interface ITestGroup1 {
group?: jspb.test.TestGroup.IRepeatedGroup;
}
class TestGroup1 {
constructor(properties?: jspb.test.ITestGroup1);
public group: (jspb.test.TestGroup.IRepeatedGroup|null);
public static create(properties?: jspb.test.ITestGroup1): jspb.test.TestGroup1;
public static encode(message: jspb.test.ITestGroup1, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.ITestGroup1, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.TestGroup1;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.TestGroup1;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.TestGroup1;
public static toObject(message: jspb.test.TestGroup1, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface ITestReservedNames {
extension?: number;
".jspb.test.TestReservedNamesExtension.foo"?: number;
}
class TestReservedNames {
constructor(properties?: jspb.test.ITestReservedNames);
public extension: number;
public [".jspb.test.TestReservedNamesExtension.foo"]: number;
public static create(properties?: jspb.test.ITestReservedNames): jspb.test.TestReservedNames;
public static encode(message: jspb.test.ITestReservedNames, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.ITestReservedNames, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.TestReservedNames;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.TestReservedNames;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.TestReservedNames;
public static toObject(message: jspb.test.TestReservedNames, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface ITestReservedNamesExtension {
}
class TestReservedNamesExtension {
constructor(properties?: jspb.test.ITestReservedNamesExtension);
public static create(properties?: jspb.test.ITestReservedNamesExtension): jspb.test.TestReservedNamesExtension;
public static encode(message: jspb.test.ITestReservedNamesExtension, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.ITestReservedNamesExtension, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.TestReservedNamesExtension;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.TestReservedNamesExtension;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.TestReservedNamesExtension;
public static toObject(message: jspb.test.TestReservedNamesExtension, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface ITestMessageWithOneof {
pone?: string;
pthree?: string;
rone?: jspb.test.ITestMessageWithOneof;
rtwo?: string;
normalField?: boolean;
repeatedField?: string[];
aone?: number;
atwo?: number;
bone?: number;
btwo?: number;
}
class TestMessageWithOneof {
constructor(properties?: jspb.test.ITestMessageWithOneof);
public pone: string;
public pthree: string;
public rone: (jspb.test.ITestMessageWithOneof|null);
public rtwo: string;
public normalField: boolean;
public repeatedField: string[];
public aone: number;
public atwo: number;
public bone: number;
public btwo: number;
public partialOneof?: string;
public recursiveOneof?: string;
public defaultOneofA?: string;
public defaultOneofB?: string;
public static create(properties?: jspb.test.ITestMessageWithOneof): jspb.test.TestMessageWithOneof;
public static encode(message: jspb.test.ITestMessageWithOneof, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.ITestMessageWithOneof, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.TestMessageWithOneof;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.TestMessageWithOneof;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.TestMessageWithOneof;
public static toObject(message: jspb.test.TestMessageWithOneof, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface ITestEndsWithBytes {
value?: number;
data?: Uint8Array;
}
class TestEndsWithBytes {
constructor(properties?: jspb.test.ITestEndsWithBytes);
public value: number;
public data: Uint8Array;
public static create(properties?: jspb.test.ITestEndsWithBytes): jspb.test.TestEndsWithBytes;
public static encode(message: jspb.test.ITestEndsWithBytes, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.ITestEndsWithBytes, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.TestEndsWithBytes;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.TestEndsWithBytes;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.TestEndsWithBytes;
public static toObject(message: jspb.test.TestEndsWithBytes, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface ITestMapFieldsNoBinary {
mapStringString?: { [k: string]: string };
mapStringInt32?: { [k: string]: number };
mapStringInt64?: { [k: string]: (number|Long) };
mapStringBool?: { [k: string]: boolean };
mapStringDouble?: { [k: string]: number };
mapStringEnum?: { [k: string]: jspb.test.MapValueEnumNoBinary };
mapStringMsg?: { [k: string]: jspb.test.IMapValueMessageNoBinary };
mapInt32String?: { [k: string]: string };
mapInt64String?: { [k: string]: string };
mapBoolString?: { [k: string]: string };
testMapFields?: jspb.test.ITestMapFieldsNoBinary;
mapStringTestmapfields?: { [k: string]: jspb.test.ITestMapFieldsNoBinary };
}
class TestMapFieldsNoBinary {
constructor(properties?: jspb.test.ITestMapFieldsNoBinary);
public mapStringString: { [k: string]: string };
public mapStringInt32: { [k: string]: number };
public mapStringInt64: { [k: string]: (number|Long) };
public mapStringBool: { [k: string]: boolean };
public mapStringDouble: { [k: string]: number };
public mapStringEnum: { [k: string]: jspb.test.MapValueEnumNoBinary };
public mapStringMsg: { [k: string]: jspb.test.IMapValueMessageNoBinary };
public mapInt32String: { [k: string]: string };
public mapInt64String: { [k: string]: string };
public mapBoolString: { [k: string]: string };
public testMapFields: (jspb.test.ITestMapFieldsNoBinary|null);
public mapStringTestmapfields: { [k: string]: jspb.test.ITestMapFieldsNoBinary };
public static create(properties?: jspb.test.ITestMapFieldsNoBinary): jspb.test.TestMapFieldsNoBinary;
public static encode(message: jspb.test.ITestMapFieldsNoBinary, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.ITestMapFieldsNoBinary, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.TestMapFieldsNoBinary;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.TestMapFieldsNoBinary;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.TestMapFieldsNoBinary;
public static toObject(message: jspb.test.TestMapFieldsNoBinary, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
enum MapValueEnumNoBinary {
MAP_VALUE_FOO_NOBINARY = 0,
MAP_VALUE_BAR_NOBINARY = 1,
MAP_VALUE_BAZ_NOBINARY = 2
}
interface IMapValueMessageNoBinary {
foo?: number;
}
class MapValueMessageNoBinary {
constructor(properties?: jspb.test.IMapValueMessageNoBinary);
public foo: number;
public static create(properties?: jspb.test.IMapValueMessageNoBinary): jspb.test.MapValueMessageNoBinary;
public static encode(message: jspb.test.IMapValueMessageNoBinary, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.IMapValueMessageNoBinary, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.MapValueMessageNoBinary;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.MapValueMessageNoBinary;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.MapValueMessageNoBinary;
public static toObject(message: jspb.test.MapValueMessageNoBinary, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface IDeeply {
}
class Deeply {
constructor(properties?: jspb.test.IDeeply);
public static create(properties?: jspb.test.IDeeply): jspb.test.Deeply;
public static encode(message: jspb.test.IDeeply, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.IDeeply, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.Deeply;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.Deeply;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.Deeply;
public static toObject(message: jspb.test.Deeply, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
namespace Deeply {
interface INested {
}
class Nested {
constructor(properties?: jspb.test.Deeply.INested);
public static create(properties?: jspb.test.Deeply.INested): jspb.test.Deeply.Nested;
public static encode(message: jspb.test.Deeply.INested, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.Deeply.INested, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.Deeply.Nested;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.Deeply.Nested;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.Deeply.Nested;
public static toObject(message: jspb.test.Deeply.Nested, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
namespace Nested {
interface IMessage {
count?: number;
}
class Message {
constructor(properties?: jspb.test.Deeply.Nested.IMessage);
public count: number;
public static create(properties?: jspb.test.Deeply.Nested.IMessage): jspb.test.Deeply.Nested.Message;
public static encode(message: jspb.test.Deeply.Nested.IMessage, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: jspb.test.Deeply.Nested.IMessage, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): jspb.test.Deeply.Nested.Message;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): jspb.test.Deeply.Nested.Message;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): jspb.test.Deeply.Nested.Message;
public static toObject(message: jspb.test.Deeply.Nested.Message, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
}
}
}
}
export namespace google {
namespace protobuf {
interface IFileDescriptorSet {
file?: google.protobuf.IFileDescriptorProto[];
}
class FileDescriptorSet {
constructor(properties?: google.protobuf.IFileDescriptorSet);
public file: google.protobuf.IFileDescriptorProto[];
public static create(properties?: google.protobuf.IFileDescriptorSet): google.protobuf.FileDescriptorSet;
public static encode(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorSet;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorSet;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorSet;
public static toObject(message: google.protobuf.FileDescriptorSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface IFileDescriptorProto {
name?: string;
"package"?: string;
dependency?: string[];
publicDependency?: number[];
weakDependency?: number[];
messageType?: google.protobuf.IDescriptorProto[];
enumType?: google.protobuf.IEnumDescriptorProto[];
service?: google.protobuf.IServiceDescriptorProto[];
extension?: google.protobuf.IFieldDescriptorProto[];
options?: google.protobuf.IFileOptions;
sourceCodeInfo?: google.protobuf.ISourceCodeInfo;
syntax?: string;
}
class FileDescriptorProto {
constructor(properties?: google.protobuf.IFileDescriptorProto);
public name: string;
public ["package"]: string;
public dependency: string[];
public publicDependency: number[];
public weakDependency: number[];
public messageType: google.protobuf.IDescriptorProto[];
public enumType: google.protobuf.IEnumDescriptorProto[];
public service: google.protobuf.IServiceDescriptorProto[];
public extension: google.protobuf.IFieldDescriptorProto[];
public options: (google.protobuf.IFileOptions|null);
public sourceCodeInfo: (google.protobuf.ISourceCodeInfo|null);
public syntax: string;
public static create(properties?: google.protobuf.IFileDescriptorProto): google.protobuf.FileDescriptorProto;
public static encode(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorProto;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorProto;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorProto;
public static toObject(message: google.protobuf.FileDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface IDescriptorProto {
name?: string;
field?: google.protobuf.IFieldDescriptorProto[];
extension?: google.protobuf.IFieldDescriptorProto[];
nestedType?: google.protobuf.IDescriptorProto[];
enumType?: google.protobuf.IEnumDescriptorProto[];
extensionRange?: google.protobuf.DescriptorProto.IExtensionRange[];
oneofDecl?: google.protobuf.IOneofDescriptorProto[];
options?: google.protobuf.IMessageOptions;
reservedRange?: google.protobuf.DescriptorProto.IReservedRange[];
reservedName?: string[];
}
class DescriptorProto {
constructor(properties?: google.protobuf.IDescriptorProto);
public name: string;
public field: google.protobuf.IFieldDescriptorProto[];
public extension: google.protobuf.IFieldDescriptorProto[];
public nestedType: google.protobuf.IDescriptorProto[];
public enumType: google.protobuf.IEnumDescriptorProto[];
public extensionRange: google.protobuf.DescriptorProto.IExtensionRange[];
public oneofDecl: google.protobuf.IOneofDescriptorProto[];
public options: (google.protobuf.IMessageOptions|null);
public reservedRange: google.protobuf.DescriptorProto.IReservedRange[];
public reservedName: string[];
public static create(properties?: google.protobuf.IDescriptorProto): google.protobuf.DescriptorProto;
public static encode(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto;
public static toObject(message: google.protobuf.DescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
namespace DescriptorProto {
interface IExtensionRange {
start?: number;
end?: number;
}
class ExtensionRange {
constructor(properties?: google.protobuf.DescriptorProto.IExtensionRange);
public start: number;
public end: number;
public static create(properties?: google.protobuf.DescriptorProto.IExtensionRange): google.protobuf.DescriptorProto.ExtensionRange;
public static encode(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ExtensionRange;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ExtensionRange;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ExtensionRange;
public static toObject(message: google.protobuf.DescriptorProto.ExtensionRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface IReservedRange {
start?: number;
end?: number;
}
class ReservedRange {
constructor(properties?: google.protobuf.DescriptorProto.IReservedRange);
public start: number;
public end: number;
public static create(properties?: google.protobuf.DescriptorProto.IReservedRange): google.protobuf.DescriptorProto.ReservedRange;
public static encode(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ReservedRange;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ReservedRange;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ReservedRange;
public static toObject(message: google.protobuf.DescriptorProto.ReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
}
interface IFieldDescriptorProto {
name?: string;
number?: number;
label?: google.protobuf.FieldDescriptorProto.Label;
type?: google.protobuf.FieldDescriptorProto.Type;
typeName?: string;
extendee?: string;
defaultValue?: string;
oneofIndex?: number;
jsonName?: string;
options?: google.protobuf.IFieldOptions;
}
class FieldDescriptorProto {
constructor(properties?: google.protobuf.IFieldDescriptorProto);
public name: string;
public number: number;
public label: google.protobuf.FieldDescriptorProto.Label;
public type: google.protobuf.FieldDescriptorProto.Type;
public typeName: string;
public extendee: string;
public defaultValue: string;
public oneofIndex: number;
public jsonName: string;
public options: (google.protobuf.IFieldOptions|null);
public static create(properties?: google.protobuf.IFieldDescriptorProto): google.protobuf.FieldDescriptorProto;
public static encode(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldDescriptorProto;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldDescriptorProto;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): google.protobuf.FieldDescriptorProto;
public static toObject(message: google.protobuf.FieldDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
namespace FieldDescriptorProto {
enum Type {
TYPE_DOUBLE = 1,
TYPE_FLOAT = 2,
TYPE_INT64 = 3,
TYPE_UINT64 = 4,
TYPE_INT32 = 5,
TYPE_FIXED64 = 6,
TYPE_FIXED32 = 7,
TYPE_BOOL = 8,
TYPE_STRING = 9,
TYPE_GROUP = 10,
TYPE_MESSAGE = 11,
TYPE_BYTES = 12,
TYPE_UINT32 = 13,
TYPE_ENUM = 14,
TYPE_SFIXED32 = 15,
TYPE_SFIXED64 = 16,
TYPE_SINT32 = 17,
TYPE_SINT64 = 18
}
enum Label {
LABEL_OPTIONAL = 1,
LABEL_REQUIRED = 2,
LABEL_REPEATED = 3
}
}
interface IOneofDescriptorProto {
name?: string;
options?: google.protobuf.IOneofOptions;
}
class OneofDescriptorProto {
constructor(properties?: google.protobuf.IOneofDescriptorProto);
public name: string;
public options: (google.protobuf.IOneofOptions|null);
public static create(properties?: google.protobuf.IOneofDescriptorProto): google.protobuf.OneofDescriptorProto;
public static encode(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofDescriptorProto;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofDescriptorProto;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): google.protobuf.OneofDescriptorProto;
public static toObject(message: google.protobuf.OneofDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface IEnumDescriptorProto {
name?: string;
value?: google.protobuf.IEnumValueDescriptorProto[];
options?: google.protobuf.IEnumOptions;
}
class EnumDescriptorProto {
constructor(properties?: google.protobuf.IEnumDescriptorProto);
public name: string;
public value: google.protobuf.IEnumValueDescriptorProto[];
public options: (google.protobuf.IEnumOptions|null);
public static create(properties?: google.protobuf.IEnumDescriptorProto): google.protobuf.EnumDescriptorProto;
public static encode(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto;
public static toObject(message: google.protobuf.EnumDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface IEnumValueDescriptorProto {
name?: string;
number?: number;
options?: google.protobuf.IEnumValueOptions;
}
class EnumValueDescriptorProto {
constructor(properties?: google.protobuf.IEnumValueDescriptorProto);
public name: string;
public number: number;
public options: (google.protobuf.IEnumValueOptions|null);
public static create(properties?: google.protobuf.IEnumValueDescriptorProto): google.protobuf.EnumValueDescriptorProto;
public static encode(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueDescriptorProto;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueDescriptorProto;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueDescriptorProto;
public static toObject(message: google.protobuf.EnumValueDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface IServiceDescriptorProto {
name?: string;
method?: google.protobuf.IMethodDescriptorProto[];
options?: google.protobuf.IServiceOptions;
}
class ServiceDescriptorProto {
constructor(properties?: google.protobuf.IServiceDescriptorProto);
public name: string;
public method: google.protobuf.IMethodDescriptorProto[];
public options: (google.protobuf.IServiceOptions|null);
public static create(properties?: google.protobuf.IServiceDescriptorProto): google.protobuf.ServiceDescriptorProto;
public static encode(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceDescriptorProto;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceDescriptorProto;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceDescriptorProto;
public static toObject(message: google.protobuf.ServiceDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface IMethodDescriptorProto {
name?: string;
inputType?: string;
outputType?: string;
options?: google.protobuf.IMethodOptions;
clientStreaming?: boolean;
serverStreaming?: boolean;
}
class MethodDescriptorProto {
constructor(properties?: google.protobuf.IMethodDescriptorProto);
public name: string;
public inputType: string;
public outputType: string;
public options: (google.protobuf.IMethodOptions|null);
public clientStreaming: boolean;
public serverStreaming: boolean;
public static create(properties?: google.protobuf.IMethodDescriptorProto): google.protobuf.MethodDescriptorProto;
public static encode(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodDescriptorProto;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodDescriptorProto;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): google.protobuf.MethodDescriptorProto;
public static toObject(message: google.protobuf.MethodDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface IFileOptions {
javaPackage?: string;
javaOuterClassname?: string;
javaMultipleFiles?: boolean;
javaGenerateEqualsAndHash?: boolean;
javaStringCheckUtf8?: boolean;
optimizeFor?: google.protobuf.FileOptions.OptimizeMode;
goPackage?: string;
ccGenericServices?: boolean;
javaGenericServices?: boolean;
pyGenericServices?: boolean;
deprecated?: boolean;
ccEnableArenas?: boolean;
objcClassPrefix?: string;
csharpNamespace?: string;
uninterpretedOption?: google.protobuf.IUninterpretedOption[];
}
class FileOptions {
constructor(properties?: google.protobuf.IFileOptions);
public javaPackage: string;
public javaOuterClassname: string;
public javaMultipleFiles: boolean;
public javaGenerateEqualsAndHash: boolean;
public javaStringCheckUtf8: boolean;
public optimizeFor: google.protobuf.FileOptions.OptimizeMode;
public goPackage: string;
public ccGenericServices: boolean;
public javaGenericServices: boolean;
public pyGenericServices: boolean;
public deprecated: boolean;
public ccEnableArenas: boolean;
public objcClassPrefix: string;
public csharpNamespace: string;
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
public static create(properties?: google.protobuf.IFileOptions): google.protobuf.FileOptions;
public static encode(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileOptions;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileOptions;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): google.protobuf.FileOptions;
public static toObject(message: google.protobuf.FileOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
namespace FileOptions {
enum OptimizeMode {
SPEED = 1,
CODE_SIZE = 2,
LITE_RUNTIME = 3
}
}
interface IMessageOptions {
messageSetWireFormat?: boolean;
noStandardDescriptorAccessor?: boolean;
deprecated?: boolean;
mapEntry?: boolean;
uninterpretedOption?: google.protobuf.IUninterpretedOption[];
}
class MessageOptions {
constructor(properties?: google.protobuf.IMessageOptions);
public messageSetWireFormat: boolean;
public noStandardDescriptorAccessor: boolean;
public deprecated: boolean;
public mapEntry: boolean;
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
public static create(properties?: google.protobuf.IMessageOptions): google.protobuf.MessageOptions;
public static encode(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MessageOptions;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MessageOptions;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): google.protobuf.MessageOptions;
public static toObject(message: google.protobuf.MessageOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface IFieldOptions {
ctype?: google.protobuf.FieldOptions.CType;
packed?: boolean;
jstype?: google.protobuf.FieldOptions.JSType;
lazy?: boolean;
deprecated?: boolean;
weak?: boolean;
uninterpretedOption?: google.protobuf.IUninterpretedOption[];
}
class FieldOptions {
constructor(properties?: google.protobuf.IFieldOptions);
public ctype: google.protobuf.FieldOptions.CType;
public packed: boolean;
public jstype: google.protobuf.FieldOptions.JSType;
public lazy: boolean;
public deprecated: boolean;
public weak: boolean;
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
public static create(properties?: google.protobuf.IFieldOptions): google.protobuf.FieldOptions;
public static encode(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions;
public static toObject(message: google.protobuf.FieldOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
namespace FieldOptions {
enum CType {
STRING = 0,
CORD = 1,
STRING_PIECE = 2
}
enum JSType {
JS_NORMAL = 0,
JS_STRING = 1,
JS_NUMBER = 2
}
}
interface IOneofOptions {
uninterpretedOption?: google.protobuf.IUninterpretedOption[];
}
class OneofOptions {
constructor(properties?: google.protobuf.IOneofOptions);
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
public static create(properties?: google.protobuf.IOneofOptions): google.protobuf.OneofOptions;
public static encode(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofOptions;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofOptions;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): google.protobuf.OneofOptions;
public static toObject(message: google.protobuf.OneofOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface IEnumOptions {
allowAlias?: boolean;
deprecated?: boolean;
uninterpretedOption?: google.protobuf.IUninterpretedOption[];
".jspb.test.IsExtension.simpleOption"?: string;
}
class EnumOptions {
constructor(properties?: google.protobuf.IEnumOptions);
public allowAlias: boolean;
public deprecated: boolean;
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
public [".jspb.test.IsExtension.simpleOption"]: string;
public static create(properties?: google.protobuf.IEnumOptions): google.protobuf.EnumOptions;
public static encode(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumOptions;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumOptions;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): google.protobuf.EnumOptions;
public static toObject(message: google.protobuf.EnumOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface IEnumValueOptions {
deprecated?: boolean;
uninterpretedOption?: google.protobuf.IUninterpretedOption[];
}
class EnumValueOptions {
constructor(properties?: google.protobuf.IEnumValueOptions);
public deprecated: boolean;
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
public static create(properties?: google.protobuf.IEnumValueOptions): google.protobuf.EnumValueOptions;
public static encode(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueOptions;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueOptions;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueOptions;
public static toObject(message: google.protobuf.EnumValueOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface IServiceOptions {
deprecated?: boolean;
uninterpretedOption?: google.protobuf.IUninterpretedOption[];
}
class ServiceOptions {
constructor(properties?: google.protobuf.IServiceOptions);
public deprecated: boolean;
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
public static create(properties?: google.protobuf.IServiceOptions): google.protobuf.ServiceOptions;
public static encode(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceOptions;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceOptions;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceOptions;
public static toObject(message: google.protobuf.ServiceOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
interface IMethodOptions {
deprecated?: boolean;
idempotencyLevel?: google.protobuf.MethodOptions.IdempotencyLevel;
uninterpretedOption?: google.protobuf.IUninterpretedOption[];
}
class MethodOptions {
constructor(properties?: google.protobuf.IMethodOptions);
public deprecated: boolean;
public idempotencyLevel: google.protobuf.MethodOptions.IdempotencyLevel;
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
public static create(properties?: google.protobuf.IMethodOptions): google.protobuf.MethodOptions;
public static encode(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodOptions;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodOptions;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): google.protobuf.MethodOptions;
public static toObject(message: google.protobuf.MethodOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
namespace MethodOptions {
enum IdempotencyLevel {
IDEMPOTENCY_UNKNOWN = 0,
NO_SIDE_EFFECTS = 1,
IDEMPOTENT = 2
}
}
interface IUninterpretedOption {
name?: google.protobuf.UninterpretedOption.INamePart[];
identifierValue?: string;
positiveIntValue?: (number|Long);
negativeIntValue?: (number|Long);
doubleValue?: number;
stringValue?: Uint8Array;
aggregateValue?: string;
}
class UninterpretedOption {
constructor(properties?: google.protobuf.IUninterpretedOption);
public name: google.protobuf.UninterpretedOption.INamePart[];
public identifierValue: string;
public positiveIntValue: (number|Long);
public negativeIntValue: (number|Long);
public doubleValue: number;
public stringValue: Uint8Array;
public aggregateValue: string;
public static create(properties?: google.protobuf.IUninterpretedOption): google.protobuf.UninterpretedOption;
public static encode(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption;
public static toObject(message: google.protobuf.UninterpretedOption, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
namespace UninterpretedOption {
interface INamePart {
namePart: string;
isExtension: boolean;
}
class NamePart {
constructor(properties?: google.protobuf.UninterpretedOption.INamePart);
public namePart: string;
public isExtension: boolean;
public static create(properties?: google.protobuf.UninterpretedOption.INamePart): google.protobuf.UninterpretedOption.NamePart;
public static encode(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption.NamePart;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption.NamePart;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption.NamePart;
public static toObject(message: google.protobuf.UninterpretedOption.NamePart, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
}
interface ISourceCodeInfo {
location?: google.protobuf.SourceCodeInfo.ILocation[];
}
class SourceCodeInfo {
constructor(properties?: google.protobuf.ISourceCodeInfo);
public location: google.protobuf.SourceCodeInfo.ILocation[];
public static create(properties?: google.protobuf.ISourceCodeInfo): google.protobuf.SourceCodeInfo;
public static encode(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo;
public static toObject(message: google.protobuf.SourceCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
namespace SourceCodeInfo {
interface ILocation {
path?: number[];
span?: number[];
leadingComments?: string;
trailingComments?: string;
leadingDetachedComments?: string[];
}
class Location {
constructor(properties?: google.protobuf.SourceCodeInfo.ILocation);
public path: number[];
public span: number[];
public leadingComments: string;
public trailingComments: string;
public leadingDetachedComments: string[];
public static create(properties?: google.protobuf.SourceCodeInfo.ILocation): google.protobuf.SourceCodeInfo.Location;
public static encode(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo.Location;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo.Location;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo.Location;
public static toObject(message: google.protobuf.SourceCodeInfo.Location, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
}
interface IGeneratedCodeInfo {
annotation?: google.protobuf.GeneratedCodeInfo.IAnnotation[];
}
class GeneratedCodeInfo {
constructor(properties?: google.protobuf.IGeneratedCodeInfo);
public annotation: google.protobuf.GeneratedCodeInfo.IAnnotation[];
public static create(properties?: google.protobuf.IGeneratedCodeInfo): google.protobuf.GeneratedCodeInfo;
public static encode(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo;
public static toObject(message: google.protobuf.GeneratedCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
namespace GeneratedCodeInfo {
interface IAnnotation {
path?: number[];
sourceFile?: string;
begin?: number;
end?: number;
}
class Annotation {
constructor(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation);
public path: number[];
public sourceFile: string;
public begin: number;
public end: number;
public static create(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation): google.protobuf.GeneratedCodeInfo.Annotation;
public static encode(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo.Annotation;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo.Annotation;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo.Annotation;
public static toObject(message: google.protobuf.GeneratedCodeInfo.Annotation, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
}
}
}
}