protobuf: {
    FieldDescriptorProto_Label: any;
    FieldDescriptorProto_Type: any;
    FieldOptions_CType: any;
    FieldOptions_JSType: any;
    FileOptions_OptimizeMode: any;
    MethodOptions_IdempotencyLevel: any;
    Any: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): Any;
        encode(message: Any, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: AnyAmino): Any;
        fromAminoMsg(object: AnyAminoMsg): Any;
        fromPartial(object: {
            $typeUrl?: string;
            typeUrl?: string;
            value?: Uint8Array;
        }): Any;
        fromProtoMsg(message: AnyProtoMsg): Any;
        toAmino(message: Any): AnyAmino;
        toProto(message: Any): Uint8Array;
        toProtoMsg(message: Any): AnyProtoMsg;
    };
    DescriptorProto: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): DescriptorProto;
        encode(message: DescriptorProto, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: DescriptorProtoAmino): DescriptorProto;
        fromAminoMsg(object: DescriptorProtoAminoMsg): DescriptorProto;
        fromPartial(object: {
            enumType?: {
                name?: string;
                options?: {
                    allowAlias?: boolean;
                    deprecated?: boolean;
                    uninterpretedOption?: {
                        aggregateValue?: ...;
                        doubleValue?: ...;
                        identifierValue?: ...;
                        name?: ...;
                        negativeIntValue?: ...;
                        positiveIntValue?: ...;
                        stringValue?: ...;
                    }[];
                };
                reservedName?: string[];
                reservedRange?: {
                    end?: number;
                    start?: number;
                }[];
                value?: {
                    name?: string;
                    number?: number;
                    options?: {
                        deprecated?: ...;
                        uninterpretedOption?: ...;
                    };
                }[];
            }[];
            extension?: {
                defaultValue?: string;
                extendee?: string;
                jsonName?: string;
                label?: FieldDescriptorProto_Label;
                name?: string;
                number?: number;
                oneofIndex?: number;
                options?: {
                    ctype?: FieldOptions_CType;
                    deprecated?: boolean;
                    jstype?: FieldOptions_JSType;
                    lazy?: boolean;
                    packed?: boolean;
                    uninterpretedOption?: {
                        aggregateValue?: ...;
                        doubleValue?: ...;
                        identifierValue?: ...;
                        name?: ...;
                        negativeIntValue?: ...;
                        positiveIntValue?: ...;
                        stringValue?: ...;
                    }[];
                    weak?: boolean;
                };
                type?: FieldDescriptorProto_Type;
                typeName?: string;
            }[];
            extensionRange?: {
                end?: number;
                options?: {
                    uninterpretedOption?: {
                        aggregateValue?: ...;
                        doubleValue?: ...;
                        identifierValue?: ...;
                        name?: ...;
                        negativeIntValue?: ...;
                        positiveIntValue?: ...;
                        stringValue?: ...;
                    }[];
                };
                start?: number;
            }[];
            field?: {
                defaultValue?: string;
                extendee?: string;
                jsonName?: string;
                label?: FieldDescriptorProto_Label;
                name?: string;
                number?: number;
                oneofIndex?: number;
                options?: {
                    ctype?: FieldOptions_CType;
                    deprecated?: boolean;
                    jstype?: FieldOptions_JSType;
                    lazy?: boolean;
                    packed?: boolean;
                    uninterpretedOption?: {
                        aggregateValue?: ...;
                        doubleValue?: ...;
                        identifierValue?: ...;
                        name?: ...;
                        negativeIntValue?: ...;
                        positiveIntValue?: ...;
                        stringValue?: ...;
                    }[];
                    weak?: boolean;
                };
                type?: FieldDescriptorProto_Type;
                typeName?: string;
            }[];
            name?: string;
            nestedType?: ({ name?: string | undefined; field?: { name?: string | undefined; number?: number | undefined; label?: FieldDescriptorProto_Label | undefined; type?: FieldDescriptorProto_Type | undefined; ... 5 more ...; options?: { ...; } | undefined; }[] | undefined; ... 7 more ...; reservedName?: string[] | undefined; })[];
            oneofDecl?: {
                name?: string;
                options?: {
                    uninterpretedOption?: {
                        aggregateValue?: ...;
                        doubleValue?: ...;
                        identifierValue?: ...;
                        name?: ...;
                        negativeIntValue?: ...;
                        positiveIntValue?: ...;
                        stringValue?: ...;
                    }[];
                };
            }[];
            options?: {
                deprecated?: boolean;
                mapEntry?: boolean;
                messageSetWireFormat?: boolean;
                noStandardDescriptorAccessor?: boolean;
                uninterpretedOption?: {
                    aggregateValue?: string;
                    doubleValue?: number;
                    identifierValue?: string;
                    name?: {
                        isExtension?: ...;
                        namePart?: ...;
                    }[];
                    negativeIntValue?: bigint;
                    positiveIntValue?: bigint;
                    stringValue?: Uint8Array;
                }[];
            };
            reservedName?: string[];
            reservedRange?: {
                end?: number;
                start?: number;
            }[];
        }): DescriptorProto;
        fromProtoMsg(message: DescriptorProtoProtoMsg): DescriptorProto;
        toAmino(message: DescriptorProto): DescriptorProtoAmino;
        toProto(message: DescriptorProto): Uint8Array;
        toProtoMsg(message: DescriptorProto): DescriptorProtoProtoMsg;
    };
    DescriptorProto_ExtensionRange: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): DescriptorProto_ExtensionRange;
        encode(message: DescriptorProto_ExtensionRange, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: DescriptorProto_ExtensionRangeAmino): DescriptorProto_ExtensionRange;
        fromAminoMsg(object: DescriptorProto_ExtensionRangeAminoMsg): DescriptorProto_ExtensionRange;
        fromPartial(object: {
            end?: number;
            options?: {
                uninterpretedOption?: {
                    aggregateValue?: string;
                    doubleValue?: number;
                    identifierValue?: string;
                    name?: {
                        isExtension?: ...;
                        namePart?: ...;
                    }[];
                    negativeIntValue?: bigint;
                    positiveIntValue?: bigint;
                    stringValue?: Uint8Array;
                }[];
            };
            start?: number;
        }): DescriptorProto_ExtensionRange;
        fromProtoMsg(message: DescriptorProto_ExtensionRangeProtoMsg): DescriptorProto_ExtensionRange;
        toAmino(message: DescriptorProto_ExtensionRange): DescriptorProto_ExtensionRangeAmino;
        toProto(message: DescriptorProto_ExtensionRange): Uint8Array;
        toProtoMsg(message: DescriptorProto_ExtensionRange): DescriptorProto_ExtensionRangeProtoMsg;
    };
    DescriptorProto_ReservedRange: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): DescriptorProto_ReservedRange;
        encode(message: DescriptorProto_ReservedRange, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: DescriptorProto_ReservedRangeAmino): DescriptorProto_ReservedRange;
        fromAminoMsg(object: DescriptorProto_ReservedRangeAminoMsg): DescriptorProto_ReservedRange;
        fromPartial(object: {
            end?: number;
            start?: number;
        }): DescriptorProto_ReservedRange;
        fromProtoMsg(message: DescriptorProto_ReservedRangeProtoMsg): DescriptorProto_ReservedRange;
        toAmino(message: DescriptorProto_ReservedRange): DescriptorProto_ReservedRangeAmino;
        toProto(message: DescriptorProto_ReservedRange): Uint8Array;
        toProtoMsg(message: DescriptorProto_ReservedRange): DescriptorProto_ReservedRangeProtoMsg;
    };
    Duration: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): Duration;
        encode(message: Duration, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: string): Duration;
        fromAminoMsg(object: DurationAminoMsg): Duration;
        fromPartial(object: {
            nanos?: number;
            seconds?: bigint;
        }): Duration;
        fromProtoMsg(message: DurationProtoMsg): Duration;
        toAmino(message: Duration): string;
        toProto(message: Duration): Uint8Array;
        toProtoMsg(message: Duration): DurationProtoMsg;
    };
    Empty: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): Empty;
        encode(_: Empty, writer?: BinaryWriter): BinaryWriter;
        fromAmino(_: EmptyAmino): Empty;
        fromAminoMsg(object: EmptyAminoMsg): Empty;
        fromPartial(_: {}): Empty;
        fromProtoMsg(message: EmptyProtoMsg): Empty;
        toAmino(_: Empty): EmptyAmino;
        toProto(message: Empty): Uint8Array;
        toProtoMsg(message: Empty): EmptyProtoMsg;
    };
    EnumDescriptorProto: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): EnumDescriptorProto;
        encode(message: EnumDescriptorProto, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: EnumDescriptorProtoAmino): EnumDescriptorProto;
        fromAminoMsg(object: EnumDescriptorProtoAminoMsg): EnumDescriptorProto;
        fromPartial(object: {
            name?: string;
            options?: {
                allowAlias?: boolean;
                deprecated?: boolean;
                uninterpretedOption?: {
                    aggregateValue?: string;
                    doubleValue?: number;
                    identifierValue?: string;
                    name?: {
                        isExtension?: ...;
                        namePart?: ...;
                    }[];
                    negativeIntValue?: bigint;
                    positiveIntValue?: bigint;
                    stringValue?: Uint8Array;
                }[];
            };
            reservedName?: string[];
            reservedRange?: {
                end?: number;
                start?: number;
            }[];
            value?: {
                name?: string;
                number?: number;
                options?: {
                    deprecated?: boolean;
                    uninterpretedOption?: {
                        aggregateValue?: ...;
                        doubleValue?: ...;
                        identifierValue?: ...;
                        name?: ...;
                        negativeIntValue?: ...;
                        positiveIntValue?: ...;
                        stringValue?: ...;
                    }[];
                };
            }[];
        }): EnumDescriptorProto;
        fromProtoMsg(message: EnumDescriptorProtoProtoMsg): EnumDescriptorProto;
        toAmino(message: EnumDescriptorProto): EnumDescriptorProtoAmino;
        toProto(message: EnumDescriptorProto): Uint8Array;
        toProtoMsg(message: EnumDescriptorProto): EnumDescriptorProtoProtoMsg;
    };
    EnumDescriptorProto_EnumReservedRange: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): EnumDescriptorProto_EnumReservedRange;
        encode(message: EnumDescriptorProto_EnumReservedRange, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: EnumDescriptorProto_EnumReservedRangeAmino): EnumDescriptorProto_EnumReservedRange;
        fromAminoMsg(object: EnumDescriptorProto_EnumReservedRangeAminoMsg): EnumDescriptorProto_EnumReservedRange;
        fromPartial(object: {
            end?: number;
            start?: number;
        }): EnumDescriptorProto_EnumReservedRange;
        fromProtoMsg(message: EnumDescriptorProto_EnumReservedRangeProtoMsg): EnumDescriptorProto_EnumReservedRange;
        toAmino(message: EnumDescriptorProto_EnumReservedRange): EnumDescriptorProto_EnumReservedRangeAmino;
        toProto(message: EnumDescriptorProto_EnumReservedRange): Uint8Array;
        toProtoMsg(message: EnumDescriptorProto_EnumReservedRange): EnumDescriptorProto_EnumReservedRangeProtoMsg;
    };
    EnumOptions: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): EnumOptions;
        encode(message: EnumOptions, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: EnumOptionsAmino): EnumOptions;
        fromAminoMsg(object: EnumOptionsAminoMsg): EnumOptions;
        fromPartial(object: {
            allowAlias?: boolean;
            deprecated?: boolean;
            uninterpretedOption?: {
                aggregateValue?: string;
                doubleValue?: number;
                identifierValue?: string;
                name?: {
                    isExtension?: boolean;
                    namePart?: string;
                }[];
                negativeIntValue?: bigint;
                positiveIntValue?: bigint;
                stringValue?: Uint8Array;
            }[];
        }): EnumOptions;
        fromProtoMsg(message: EnumOptionsProtoMsg): EnumOptions;
        toAmino(message: EnumOptions): EnumOptionsAmino;
        toProto(message: EnumOptions): Uint8Array;
        toProtoMsg(message: EnumOptions): EnumOptionsProtoMsg;
    };
    EnumValueDescriptorProto: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): EnumValueDescriptorProto;
        encode(message: EnumValueDescriptorProto, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: EnumValueDescriptorProtoAmino): EnumValueDescriptorProto;
        fromAminoMsg(object: EnumValueDescriptorProtoAminoMsg): EnumValueDescriptorProto;
        fromPartial(object: {
            name?: string;
            number?: number;
            options?: {
                deprecated?: boolean;
                uninterpretedOption?: {
                    aggregateValue?: string;
                    doubleValue?: number;
                    identifierValue?: string;
                    name?: {
                        isExtension?: ...;
                        namePart?: ...;
                    }[];
                    negativeIntValue?: bigint;
                    positiveIntValue?: bigint;
                    stringValue?: Uint8Array;
                }[];
            };
        }): EnumValueDescriptorProto;
        fromProtoMsg(message: EnumValueDescriptorProtoProtoMsg): EnumValueDescriptorProto;
        toAmino(message: EnumValueDescriptorProto): EnumValueDescriptorProtoAmino;
        toProto(message: EnumValueDescriptorProto): Uint8Array;
        toProtoMsg(message: EnumValueDescriptorProto): EnumValueDescriptorProtoProtoMsg;
    };
    EnumValueOptions: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): EnumValueOptions;
        encode(message: EnumValueOptions, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: EnumValueOptionsAmino): EnumValueOptions;
        fromAminoMsg(object: EnumValueOptionsAminoMsg): EnumValueOptions;
        fromPartial(object: {
            deprecated?: boolean;
            uninterpretedOption?: {
                aggregateValue?: string;
                doubleValue?: number;
                identifierValue?: string;
                name?: {
                    isExtension?: boolean;
                    namePart?: string;
                }[];
                negativeIntValue?: bigint;
                positiveIntValue?: bigint;
                stringValue?: Uint8Array;
            }[];
        }): EnumValueOptions;
        fromProtoMsg(message: EnumValueOptionsProtoMsg): EnumValueOptions;
        toAmino(message: EnumValueOptions): EnumValueOptionsAmino;
        toProto(message: EnumValueOptions): Uint8Array;
        toProtoMsg(message: EnumValueOptions): EnumValueOptionsProtoMsg;
    };
    ExtensionRangeOptions: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): ExtensionRangeOptions;
        encode(message: ExtensionRangeOptions, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: ExtensionRangeOptionsAmino): ExtensionRangeOptions;
        fromAminoMsg(object: ExtensionRangeOptionsAminoMsg): ExtensionRangeOptions;
        fromPartial(object: {
            uninterpretedOption?: {
                aggregateValue?: string;
                doubleValue?: number;
                identifierValue?: string;
                name?: {
                    isExtension?: boolean;
                    namePart?: string;
                }[];
                negativeIntValue?: bigint;
                positiveIntValue?: bigint;
                stringValue?: Uint8Array;
            }[];
        }): ExtensionRangeOptions;
        fromProtoMsg(message: ExtensionRangeOptionsProtoMsg): ExtensionRangeOptions;
        toAmino(message: ExtensionRangeOptions): ExtensionRangeOptionsAmino;
        toProto(message: ExtensionRangeOptions): Uint8Array;
        toProtoMsg(message: ExtensionRangeOptions): ExtensionRangeOptionsProtoMsg;
    };
    FieldDescriptorProto: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): FieldDescriptorProto;
        encode(message: FieldDescriptorProto, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: FieldDescriptorProtoAmino): FieldDescriptorProto;
        fromAminoMsg(object: FieldDescriptorProtoAminoMsg): FieldDescriptorProto;
        fromPartial(object: {
            defaultValue?: string;
            extendee?: string;
            jsonName?: string;
            label?: FieldDescriptorProto_Label;
            name?: string;
            number?: number;
            oneofIndex?: number;
            options?: {
                ctype?: FieldOptions_CType;
                deprecated?: boolean;
                jstype?: FieldOptions_JSType;
                lazy?: boolean;
                packed?: boolean;
                uninterpretedOption?: {
                    aggregateValue?: string;
                    doubleValue?: number;
                    identifierValue?: string;
                    name?: {
                        isExtension?: ...;
                        namePart?: ...;
                    }[];
                    negativeIntValue?: bigint;
                    positiveIntValue?: bigint;
                    stringValue?: Uint8Array;
                }[];
                weak?: boolean;
            };
            type?: FieldDescriptorProto_Type;
            typeName?: string;
        }): FieldDescriptorProto;
        fromProtoMsg(message: FieldDescriptorProtoProtoMsg): FieldDescriptorProto;
        toAmino(message: FieldDescriptorProto): FieldDescriptorProtoAmino;
        toProto(message: FieldDescriptorProto): Uint8Array;
        toProtoMsg(message: FieldDescriptorProto): FieldDescriptorProtoProtoMsg;
    };
    FieldDescriptorProto_LabelAmino: typeof FieldDescriptorProto_Label;
    FieldDescriptorProto_LabelSDKType: typeof FieldDescriptorProto_Label;
    FieldDescriptorProto_TypeAmino: typeof FieldDescriptorProto_Type;
    FieldDescriptorProto_TypeSDKType: typeof FieldDescriptorProto_Type;
    FieldOptions: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): FieldOptions;
        encode(message: FieldOptions, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: FieldOptionsAmino): FieldOptions;
        fromAminoMsg(object: FieldOptionsAminoMsg): FieldOptions;
        fromPartial(object: {
            ctype?: FieldOptions_CType;
            deprecated?: boolean;
            jstype?: FieldOptions_JSType;
            lazy?: boolean;
            packed?: boolean;
            uninterpretedOption?: {
                aggregateValue?: string;
                doubleValue?: number;
                identifierValue?: string;
                name?: {
                    isExtension?: boolean;
                    namePart?: string;
                }[];
                negativeIntValue?: bigint;
                positiveIntValue?: bigint;
                stringValue?: Uint8Array;
            }[];
            weak?: boolean;
        }): FieldOptions;
        fromProtoMsg(message: FieldOptionsProtoMsg): FieldOptions;
        toAmino(message: FieldOptions): FieldOptionsAmino;
        toProto(message: FieldOptions): Uint8Array;
        toProtoMsg(message: FieldOptions): FieldOptionsProtoMsg;
    };
    FieldOptions_CTypeAmino: typeof FieldOptions_CType;
    FieldOptions_CTypeSDKType: typeof FieldOptions_CType;
    FieldOptions_JSTypeAmino: typeof FieldOptions_JSType;
    FieldOptions_JSTypeSDKType: typeof FieldOptions_JSType;
    FileDescriptorProto: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): FileDescriptorProto;
        encode(message: FileDescriptorProto, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: FileDescriptorProtoAmino): FileDescriptorProto;
        fromAminoMsg(object: FileDescriptorProtoAminoMsg): FileDescriptorProto;
        fromPartial(object: {
            dependency?: string[];
            enumType?: {
                name?: string;
                options?: {
                    allowAlias?: boolean;
                    deprecated?: boolean;
                    uninterpretedOption?: {
                        aggregateValue?: ...;
                        doubleValue?: ...;
                        identifierValue?: ...;
                        name?: ...;
                        negativeIntValue?: ...;
                        positiveIntValue?: ...;
                        stringValue?: ...;
                    }[];
                };
                reservedName?: string[];
                reservedRange?: {
                    end?: number;
                    start?: number;
                }[];
                value?: {
                    name?: string;
                    number?: number;
                    options?: {
                        deprecated?: ...;
                        uninterpretedOption?: ...;
                    };
                }[];
            }[];
            extension?: {
                defaultValue?: string;
                extendee?: string;
                jsonName?: string;
                label?: FieldDescriptorProto_Label;
                name?: string;
                number?: number;
                oneofIndex?: number;
                options?: {
                    ctype?: FieldOptions_CType;
                    deprecated?: boolean;
                    jstype?: FieldOptions_JSType;
                    lazy?: boolean;
                    packed?: boolean;
                    uninterpretedOption?: {
                        aggregateValue?: ...;
                        doubleValue?: ...;
                        identifierValue?: ...;
                        name?: ...;
                        negativeIntValue?: ...;
                        positiveIntValue?: ...;
                        stringValue?: ...;
                    }[];
                    weak?: boolean;
                };
                type?: FieldDescriptorProto_Type;
                typeName?: string;
            }[];
            messageType?: {
                enumType?: {
                    name?: string;
                    options?: {
                        allowAlias?: ...;
                        deprecated?: ...;
                        uninterpretedOption?: ...;
                    };
                    reservedName?: (...)[];
                    reservedRange?: (...)[];
                    value?: (...)[];
                }[];
                extension?: {
                    defaultValue?: string;
                    extendee?: string;
                    jsonName?: string;
                    label?: FieldDescriptorProto_Label;
                    name?: string;
                    number?: number;
                    oneofIndex?: number;
                    options?: {
                        ctype?: ...;
                        deprecated?: ...;
                        jstype?: ...;
                        lazy?: ...;
                        packed?: ...;
                        uninterpretedOption?: ...;
                        weak?: ...;
                    };
                    type?: FieldDescriptorProto_Type;
                    typeName?: string;
                }[];
                extensionRange?: {
                    end?: number;
                    options?: {
                        uninterpretedOption?: ...;
                    };
                    start?: number;
                }[];
                field?: {
                    defaultValue?: string;
                    extendee?: string;
                    jsonName?: string;
                    label?: FieldDescriptorProto_Label;
                    name?: string;
                    number?: number;
                    oneofIndex?: number;
                    options?: {
                        ctype?: ...;
                        deprecated?: ...;
                        jstype?: ...;
                        lazy?: ...;
                        packed?: ...;
                        uninterpretedOption?: ...;
                        weak?: ...;
                    };
                    type?: FieldDescriptorProto_Type;
                    typeName?: string;
                }[];
                name?: string;
                nestedType?: { name?: string | undefined; field?: { name?: string | undefined; number?: number | undefined; label?: FieldDescriptorProto_Label | undefined; type?: FieldDescriptorProto_Type | undefined; ... 5 more ...; options?: { ...; } | undefined; }[] | undefined; ... 7 more ...; reservedName?: string[] | undefined; }[] | unde...;
                oneofDecl?: {
                    name?: string;
                    options?: {
                        uninterpretedOption?: ...;
                    };
                }[];
                options?: {
                    deprecated?: boolean;
                    mapEntry?: boolean;
                    messageSetWireFormat?: boolean;
                    noStandardDescriptorAccessor?: boolean;
                    uninterpretedOption?: {
                        aggregateValue?: ...;
                        doubleValue?: ...;
                        identifierValue?: ...;
                        name?: ...;
                        negativeIntValue?: ...;
                        positiveIntValue?: ...;
                        stringValue?: ...;
                    }[];
                };
                reservedName?: string[];
                reservedRange?: {
                    end?: number;
                    start?: number;
                }[];
            }[];
            name?: string;
            options?: {
                ccEnableArenas?: boolean;
                ccGenericServices?: boolean;
                csharpNamespace?: string;
                deprecated?: boolean;
                goPackage?: string;
                javaGenerateEqualsAndHash?: boolean;
                javaGenericServices?: boolean;
                javaMultipleFiles?: boolean;
                javaOuterClassname?: string;
                javaPackage?: string;
                javaStringCheckUtf8?: boolean;
                objcClassPrefix?: string;
                optimizeFor?: FileOptions_OptimizeMode;
                phpClassPrefix?: string;
                phpGenericServices?: boolean;
                phpMetadataNamespace?: string;
                phpNamespace?: string;
                pyGenericServices?: boolean;
                rubyPackage?: string;
                swiftPrefix?: string;
                uninterpretedOption?: {
                    aggregateValue?: string;
                    doubleValue?: number;
                    identifierValue?: string;
                    name?: {
                        isExtension?: ...;
                        namePart?: ...;
                    }[];
                    negativeIntValue?: bigint;
                    positiveIntValue?: bigint;
                    stringValue?: Uint8Array;
                }[];
            };
            package?: string;
            publicDependency?: number[];
            service?: {
                method?: {
                    clientStreaming?: boolean;
                    inputType?: string;
                    name?: string;
                    options?: {
                        deprecated?: ...;
                        idempotencyLevel?: ...;
                        uninterpretedOption?: ...;
                    };
                    outputType?: string;
                    serverStreaming?: boolean;
                }[];
                name?: string;
                options?: {
                    deprecated?: boolean;
                    uninterpretedOption?: {
                        aggregateValue?: ...;
                        doubleValue?: ...;
                        identifierValue?: ...;
                        name?: ...;
                        negativeIntValue?: ...;
                        positiveIntValue?: ...;
                        stringValue?: ...;
                    }[];
                };
            }[];
            sourceCodeInfo?: {
                location?: {
                    leadingComments?: string;
                    leadingDetachedComments?: string[];
                    path?: number[];
                    span?: number[];
                    trailingComments?: string;
                }[];
            };
            syntax?: string;
            weakDependency?: number[];
        }): FileDescriptorProto;
        fromProtoMsg(message: FileDescriptorProtoProtoMsg): FileDescriptorProto;
        toAmino(message: FileDescriptorProto): FileDescriptorProtoAmino;
        toProto(message: FileDescriptorProto): Uint8Array;
        toProtoMsg(message: FileDescriptorProto): FileDescriptorProtoProtoMsg;
    };
    FileDescriptorSet: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): FileDescriptorSet;
        encode(message: FileDescriptorSet, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: FileDescriptorSetAmino): FileDescriptorSet;
        fromAminoMsg(object: FileDescriptorSetAminoMsg): FileDescriptorSet;
        fromPartial(object: {
            file?: {
                dependency?: string[];
                enumType?: {
                    name?: string;
                    options?: {
                        allowAlias?: ...;
                        deprecated?: ...;
                        uninterpretedOption?: ...;
                    };
                    reservedName?: (...)[];
                    reservedRange?: (...)[];
                    value?: (...)[];
                }[];
                extension?: {
                    defaultValue?: string;
                    extendee?: string;
                    jsonName?: string;
                    label?: FieldDescriptorProto_Label;
                    name?: string;
                    number?: number;
                    oneofIndex?: number;
                    options?: {
                        ctype?: ...;
                        deprecated?: ...;
                        jstype?: ...;
                        lazy?: ...;
                        packed?: ...;
                        uninterpretedOption?: ...;
                        weak?: ...;
                    };
                    type?: FieldDescriptorProto_Type;
                    typeName?: string;
                }[];
                messageType?: {
                    enumType?: (...)[];
                    extension?: (...)[];
                    extensionRange?: (...)[];
                    field?: (...)[];
                    name?: string;
                    nestedType?: { name?: string | undefined; field?: { name?: string | undefined; number?: number | undefined; label?: FieldDescriptorProto_Label | undefined; type?: FieldDescriptorProto_Type | undefined; ... 5 more ...; options?: { ...; } | undefined; }[] | undefined; ... 7 more ...; reservedName?: string[] | undefined; }[] | unde...;
                    oneofDecl?: (...)[];
                    options?: {
                        deprecated?: ...;
                        mapEntry?: ...;
                        messageSetWireFormat?: ...;
                        noStandardDescriptorAccessor?: ...;
                        uninterpretedOption?: ...;
                    };
                    reservedName?: (...)[];
                    reservedRange?: (...)[];
                }[];
                name?: string;
                options?: {
                    ccEnableArenas?: boolean;
                    ccGenericServices?: boolean;
                    csharpNamespace?: string;
                    deprecated?: boolean;
                    goPackage?: string;
                    javaGenerateEqualsAndHash?: boolean;
                    javaGenericServices?: boolean;
                    javaMultipleFiles?: boolean;
                    javaOuterClassname?: string;
                    javaPackage?: string;
                    javaStringCheckUtf8?: boolean;
                    objcClassPrefix?: string;
                    optimizeFor?: FileOptions_OptimizeMode;
                    phpClassPrefix?: string;
                    phpGenericServices?: boolean;
                    phpMetadataNamespace?: string;
                    phpNamespace?: string;
                    pyGenericServices?: boolean;
                    rubyPackage?: string;
                    swiftPrefix?: string;
                    uninterpretedOption?: {
                        aggregateValue?: ...;
                        doubleValue?: ...;
                        identifierValue?: ...;
                        name?: ...;
                        negativeIntValue?: ...;
                        positiveIntValue?: ...;
                        stringValue?: ...;
                    }[];
                };
                package?: string;
                publicDependency?: number[];
                service?: {
                    method?: (...)[];
                    name?: string;
                    options?: {
                        deprecated?: ...;
                        uninterpretedOption?: ...;
                    };
                }[];
                sourceCodeInfo?: {
                    location?: {
                        leadingComments?: ...;
                        leadingDetachedComments?: ...;
                        path?: ...;
                        span?: ...;
                        trailingComments?: ...;
                    }[];
                };
                syntax?: string;
                weakDependency?: number[];
            }[];
        }): FileDescriptorSet;
        fromProtoMsg(message: FileDescriptorSetProtoMsg): FileDescriptorSet;
        toAmino(message: FileDescriptorSet): FileDescriptorSetAmino;
        toProto(message: FileDescriptorSet): Uint8Array;
        toProtoMsg(message: FileDescriptorSet): FileDescriptorSetProtoMsg;
    };
    FileOptions: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): FileOptions;
        encode(message: FileOptions, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: FileOptionsAmino): FileOptions;
        fromAminoMsg(object: FileOptionsAminoMsg): FileOptions;
        fromPartial(object: {
            ccEnableArenas?: boolean;
            ccGenericServices?: boolean;
            csharpNamespace?: string;
            deprecated?: boolean;
            goPackage?: string;
            javaGenerateEqualsAndHash?: boolean;
            javaGenericServices?: boolean;
            javaMultipleFiles?: boolean;
            javaOuterClassname?: string;
            javaPackage?: string;
            javaStringCheckUtf8?: boolean;
            objcClassPrefix?: string;
            optimizeFor?: FileOptions_OptimizeMode;
            phpClassPrefix?: string;
            phpGenericServices?: boolean;
            phpMetadataNamespace?: string;
            phpNamespace?: string;
            pyGenericServices?: boolean;
            rubyPackage?: string;
            swiftPrefix?: string;
            uninterpretedOption?: {
                aggregateValue?: string;
                doubleValue?: number;
                identifierValue?: string;
                name?: {
                    isExtension?: boolean;
                    namePart?: string;
                }[];
                negativeIntValue?: bigint;
                positiveIntValue?: bigint;
                stringValue?: Uint8Array;
            }[];
        }): FileOptions;
        fromProtoMsg(message: FileOptionsProtoMsg): FileOptions;
        toAmino(message: FileOptions): FileOptionsAmino;
        toProto(message: FileOptions): Uint8Array;
        toProtoMsg(message: FileOptions): FileOptionsProtoMsg;
    };
    FileOptions_OptimizeModeAmino: typeof FileOptions_OptimizeMode;
    FileOptions_OptimizeModeSDKType: typeof FileOptions_OptimizeMode;
    GeneratedCodeInfo: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): GeneratedCodeInfo;
        encode(message: GeneratedCodeInfo, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: GeneratedCodeInfoAmino): GeneratedCodeInfo;
        fromAminoMsg(object: GeneratedCodeInfoAminoMsg): GeneratedCodeInfo;
        fromPartial(object: {
            annotation?: {
                begin?: number;
                end?: number;
                path?: number[];
                sourceFile?: string;
            }[];
        }): GeneratedCodeInfo;
        fromProtoMsg(message: GeneratedCodeInfoProtoMsg): GeneratedCodeInfo;
        toAmino(message: GeneratedCodeInfo): GeneratedCodeInfoAmino;
        toProto(message: GeneratedCodeInfo): Uint8Array;
        toProtoMsg(message: GeneratedCodeInfo): GeneratedCodeInfoProtoMsg;
    };
    GeneratedCodeInfo_Annotation: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): GeneratedCodeInfo_Annotation;
        encode(message: GeneratedCodeInfo_Annotation, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: GeneratedCodeInfo_AnnotationAmino): GeneratedCodeInfo_Annotation;
        fromAminoMsg(object: GeneratedCodeInfo_AnnotationAminoMsg): GeneratedCodeInfo_Annotation;
        fromPartial(object: {
            begin?: number;
            end?: number;
            path?: number[];
            sourceFile?: string;
        }): GeneratedCodeInfo_Annotation;
        fromProtoMsg(message: GeneratedCodeInfo_AnnotationProtoMsg): GeneratedCodeInfo_Annotation;
        toAmino(message: GeneratedCodeInfo_Annotation): GeneratedCodeInfo_AnnotationAmino;
        toProto(message: GeneratedCodeInfo_Annotation): Uint8Array;
        toProtoMsg(message: GeneratedCodeInfo_Annotation): GeneratedCodeInfo_AnnotationProtoMsg;
    };
    MessageOptions: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): MessageOptions;
        encode(message: MessageOptions, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: MessageOptionsAmino): MessageOptions;
        fromAminoMsg(object: MessageOptionsAminoMsg): MessageOptions;
        fromPartial(object: {
            deprecated?: boolean;
            mapEntry?: boolean;
            messageSetWireFormat?: boolean;
            noStandardDescriptorAccessor?: boolean;
            uninterpretedOption?: {
                aggregateValue?: string;
                doubleValue?: number;
                identifierValue?: string;
                name?: {
                    isExtension?: boolean;
                    namePart?: string;
                }[];
                negativeIntValue?: bigint;
                positiveIntValue?: bigint;
                stringValue?: Uint8Array;
            }[];
        }): MessageOptions;
        fromProtoMsg(message: MessageOptionsProtoMsg): MessageOptions;
        toAmino(message: MessageOptions): MessageOptionsAmino;
        toProto(message: MessageOptions): Uint8Array;
        toProtoMsg(message: MessageOptions): MessageOptionsProtoMsg;
    };
    MethodDescriptorProto: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): MethodDescriptorProto;
        encode(message: MethodDescriptorProto, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: MethodDescriptorProtoAmino): MethodDescriptorProto;
        fromAminoMsg(object: MethodDescriptorProtoAminoMsg): MethodDescriptorProto;
        fromPartial(object: {
            clientStreaming?: boolean;
            inputType?: string;
            name?: string;
            options?: {
                deprecated?: boolean;
                idempotencyLevel?: MethodOptions_IdempotencyLevel;
                uninterpretedOption?: {
                    aggregateValue?: string;
                    doubleValue?: number;
                    identifierValue?: string;
                    name?: {
                        isExtension?: ...;
                        namePart?: ...;
                    }[];
                    negativeIntValue?: bigint;
                    positiveIntValue?: bigint;
                    stringValue?: Uint8Array;
                }[];
            };
            outputType?: string;
            serverStreaming?: boolean;
        }): MethodDescriptorProto;
        fromProtoMsg(message: MethodDescriptorProtoProtoMsg): MethodDescriptorProto;
        toAmino(message: MethodDescriptorProto): MethodDescriptorProtoAmino;
        toProto(message: MethodDescriptorProto): Uint8Array;
        toProtoMsg(message: MethodDescriptorProto): MethodDescriptorProtoProtoMsg;
    };
    MethodOptions: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): MethodOptions;
        encode(message: MethodOptions, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: MethodOptionsAmino): MethodOptions;
        fromAminoMsg(object: MethodOptionsAminoMsg): MethodOptions;
        fromPartial(object: {
            deprecated?: boolean;
            idempotencyLevel?: MethodOptions_IdempotencyLevel;
            uninterpretedOption?: {
                aggregateValue?: string;
                doubleValue?: number;
                identifierValue?: string;
                name?: {
                    isExtension?: boolean;
                    namePart?: string;
                }[];
                negativeIntValue?: bigint;
                positiveIntValue?: bigint;
                stringValue?: Uint8Array;
            }[];
        }): MethodOptions;
        fromProtoMsg(message: MethodOptionsProtoMsg): MethodOptions;
        toAmino(message: MethodOptions): MethodOptionsAmino;
        toProto(message: MethodOptions): Uint8Array;
        toProtoMsg(message: MethodOptions): MethodOptionsProtoMsg;
    };
    MethodOptions_IdempotencyLevelAmino: typeof MethodOptions_IdempotencyLevel;
    MethodOptions_IdempotencyLevelSDKType: typeof MethodOptions_IdempotencyLevel;
    OneofDescriptorProto: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): OneofDescriptorProto;
        encode(message: OneofDescriptorProto, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: OneofDescriptorProtoAmino): OneofDescriptorProto;
        fromAminoMsg(object: OneofDescriptorProtoAminoMsg): OneofDescriptorProto;
        fromPartial(object: {
            name?: string;
            options?: {
                uninterpretedOption?: {
                    aggregateValue?: string;
                    doubleValue?: number;
                    identifierValue?: string;
                    name?: {
                        isExtension?: ...;
                        namePart?: ...;
                    }[];
                    negativeIntValue?: bigint;
                    positiveIntValue?: bigint;
                    stringValue?: Uint8Array;
                }[];
            };
        }): OneofDescriptorProto;
        fromProtoMsg(message: OneofDescriptorProtoProtoMsg): OneofDescriptorProto;
        toAmino(message: OneofDescriptorProto): OneofDescriptorProtoAmino;
        toProto(message: OneofDescriptorProto): Uint8Array;
        toProtoMsg(message: OneofDescriptorProto): OneofDescriptorProtoProtoMsg;
    };
    OneofOptions: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): OneofOptions;
        encode(message: OneofOptions, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: OneofOptionsAmino): OneofOptions;
        fromAminoMsg(object: OneofOptionsAminoMsg): OneofOptions;
        fromPartial(object: {
            uninterpretedOption?: {
                aggregateValue?: string;
                doubleValue?: number;
                identifierValue?: string;
                name?: {
                    isExtension?: boolean;
                    namePart?: string;
                }[];
                negativeIntValue?: bigint;
                positiveIntValue?: bigint;
                stringValue?: Uint8Array;
            }[];
        }): OneofOptions;
        fromProtoMsg(message: OneofOptionsProtoMsg): OneofOptions;
        toAmino(message: OneofOptions): OneofOptionsAmino;
        toProto(message: OneofOptions): Uint8Array;
        toProtoMsg(message: OneofOptions): OneofOptionsProtoMsg;
    };
    ServiceDescriptorProto: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): ServiceDescriptorProto;
        encode(message: ServiceDescriptorProto, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: ServiceDescriptorProtoAmino): ServiceDescriptorProto;
        fromAminoMsg(object: ServiceDescriptorProtoAminoMsg): ServiceDescriptorProto;
        fromPartial(object: {
            method?: {
                clientStreaming?: boolean;
                inputType?: string;
                name?: string;
                options?: {
                    deprecated?: boolean;
                    idempotencyLevel?: MethodOptions_IdempotencyLevel;
                    uninterpretedOption?: {
                        aggregateValue?: ...;
                        doubleValue?: ...;
                        identifierValue?: ...;
                        name?: ...;
                        negativeIntValue?: ...;
                        positiveIntValue?: ...;
                        stringValue?: ...;
                    }[];
                };
                outputType?: string;
                serverStreaming?: boolean;
            }[];
            name?: string;
            options?: {
                deprecated?: boolean;
                uninterpretedOption?: {
                    aggregateValue?: string;
                    doubleValue?: number;
                    identifierValue?: string;
                    name?: {
                        isExtension?: ...;
                        namePart?: ...;
                    }[];
                    negativeIntValue?: bigint;
                    positiveIntValue?: bigint;
                    stringValue?: Uint8Array;
                }[];
            };
        }): ServiceDescriptorProto;
        fromProtoMsg(message: ServiceDescriptorProtoProtoMsg): ServiceDescriptorProto;
        toAmino(message: ServiceDescriptorProto): ServiceDescriptorProtoAmino;
        toProto(message: ServiceDescriptorProto): Uint8Array;
        toProtoMsg(message: ServiceDescriptorProto): ServiceDescriptorProtoProtoMsg;
    };
    ServiceOptions: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): ServiceOptions;
        encode(message: ServiceOptions, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: ServiceOptionsAmino): ServiceOptions;
        fromAminoMsg(object: ServiceOptionsAminoMsg): ServiceOptions;
        fromPartial(object: {
            deprecated?: boolean;
            uninterpretedOption?: {
                aggregateValue?: string;
                doubleValue?: number;
                identifierValue?: string;
                name?: {
                    isExtension?: boolean;
                    namePart?: string;
                }[];
                negativeIntValue?: bigint;
                positiveIntValue?: bigint;
                stringValue?: Uint8Array;
            }[];
        }): ServiceOptions;
        fromProtoMsg(message: ServiceOptionsProtoMsg): ServiceOptions;
        toAmino(message: ServiceOptions): ServiceOptionsAmino;
        toProto(message: ServiceOptions): Uint8Array;
        toProtoMsg(message: ServiceOptions): ServiceOptionsProtoMsg;
    };
    SourceCodeInfo: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): SourceCodeInfo;
        encode(message: SourceCodeInfo, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: SourceCodeInfoAmino): SourceCodeInfo;
        fromAminoMsg(object: SourceCodeInfoAminoMsg): SourceCodeInfo;
        fromPartial(object: {
            location?: {
                leadingComments?: string;
                leadingDetachedComments?: string[];
                path?: number[];
                span?: number[];
                trailingComments?: string;
            }[];
        }): SourceCodeInfo;
        fromProtoMsg(message: SourceCodeInfoProtoMsg): SourceCodeInfo;
        toAmino(message: SourceCodeInfo): SourceCodeInfoAmino;
        toProto(message: SourceCodeInfo): Uint8Array;
        toProtoMsg(message: SourceCodeInfo): SourceCodeInfoProtoMsg;
    };
    SourceCodeInfo_Location: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): SourceCodeInfo_Location;
        encode(message: SourceCodeInfo_Location, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: SourceCodeInfo_LocationAmino): SourceCodeInfo_Location;
        fromAminoMsg(object: SourceCodeInfo_LocationAminoMsg): SourceCodeInfo_Location;
        fromPartial(object: {
            leadingComments?: string;
            leadingDetachedComments?: string[];
            path?: number[];
            span?: number[];
            trailingComments?: string;
        }): SourceCodeInfo_Location;
        fromProtoMsg(message: SourceCodeInfo_LocationProtoMsg): SourceCodeInfo_Location;
        toAmino(message: SourceCodeInfo_Location): SourceCodeInfo_LocationAmino;
        toProto(message: SourceCodeInfo_Location): Uint8Array;
        toProtoMsg(message: SourceCodeInfo_Location): SourceCodeInfo_LocationProtoMsg;
    };
    Timestamp: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): Timestamp;
        encode(message: Timestamp, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: string): Timestamp;
        fromAminoMsg(object: TimestampAminoMsg): Timestamp;
        fromPartial(object: {
            nanos?: number;
            seconds?: bigint;
        }): Timestamp;
        fromProtoMsg(message: TimestampProtoMsg): Timestamp;
        toAmino(message: Timestamp): string;
        toProto(message: Timestamp): Uint8Array;
        toProtoMsg(message: Timestamp): TimestampProtoMsg;
    };
    UninterpretedOption: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): UninterpretedOption;
        encode(message: UninterpretedOption, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: UninterpretedOptionAmino): UninterpretedOption;
        fromAminoMsg(object: UninterpretedOptionAminoMsg): UninterpretedOption;
        fromPartial(object: {
            aggregateValue?: string;
            doubleValue?: number;
            identifierValue?: string;
            name?: {
                isExtension?: boolean;
                namePart?: string;
            }[];
            negativeIntValue?: bigint;
            positiveIntValue?: bigint;
            stringValue?: Uint8Array;
        }): UninterpretedOption;
        fromProtoMsg(message: UninterpretedOptionProtoMsg): UninterpretedOption;
        toAmino(message: UninterpretedOption): UninterpretedOptionAmino;
        toProto(message: UninterpretedOption): Uint8Array;
        toProtoMsg(message: UninterpretedOption): UninterpretedOptionProtoMsg;
    };
    UninterpretedOption_NamePart: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): UninterpretedOption_NamePart;
        encode(message: UninterpretedOption_NamePart, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: UninterpretedOption_NamePartAmino): UninterpretedOption_NamePart;
        fromAminoMsg(object: UninterpretedOption_NamePartAminoMsg): UninterpretedOption_NamePart;
        fromPartial(object: {
            isExtension?: boolean;
            namePart?: string;
        }): UninterpretedOption_NamePart;
        fromProtoMsg(message: UninterpretedOption_NamePartProtoMsg): UninterpretedOption_NamePart;
        toAmino(message: UninterpretedOption_NamePart): UninterpretedOption_NamePartAmino;
        toProto(message: UninterpretedOption_NamePart): Uint8Array;
        toProtoMsg(message: UninterpretedOption_NamePart): UninterpretedOption_NamePartProtoMsg;
    };
    fieldDescriptorProto_LabelFromJSON(object: any): FieldDescriptorProto_Label;
    fieldDescriptorProto_LabelToJSON(object: FieldDescriptorProto_Label): string;
    fieldDescriptorProto_TypeFromJSON(object: any): FieldDescriptorProto_Type;
    fieldDescriptorProto_TypeToJSON(object: FieldDescriptorProto_Type): string;
    fieldOptions_CTypeFromJSON(object: any): FieldOptions_CType;
    fieldOptions_CTypeToJSON(object: FieldOptions_CType): string;
    fieldOptions_JSTypeFromJSON(object: any): FieldOptions_JSType;
    fieldOptions_JSTypeToJSON(object: FieldOptions_JSType): string;
    fileOptions_OptimizeModeFromJSON(object: any): FileOptions_OptimizeMode;
    fileOptions_OptimizeModeToJSON(object: FileOptions_OptimizeMode): string;
    methodOptions_IdempotencyLevelFromJSON(object: any): MethodOptions_IdempotencyLevel;
    methodOptions_IdempotencyLevelToJSON(object: MethodOptions_IdempotencyLevel): string;
} = ...

Type declaration

  • Any: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): Any;
        encode(message: Any, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: AnyAmino): Any;
        fromAminoMsg(object: AnyAminoMsg): Any;
        fromPartial(object: {
            $typeUrl?: string;
            typeUrl?: string;
            value?: Uint8Array;
        }): Any;
        fromProtoMsg(message: AnyProtoMsg): Any;
        toAmino(message: Any): AnyAmino;
        toProto(message: Any): Uint8Array;
        toProtoMsg(message: Any): AnyProtoMsg;
    }
    • typeUrl: string
    • decode:function
      • Parameters

        Returns Any

    • encode:function
    • fromAmino:function
      • Parameters

        Returns Any

    • fromAminoMsg:function
      • Parameters

        Returns Any

    • fromPartial:function
      • Parameters

        • object: {
              $typeUrl?: string;
              typeUrl?: string;
              value?: Uint8Array;
          }
          • Optional$typeUrl?: string
          • OptionaltypeUrl?: string

            A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in path/google.protobuf.Duration). The name should be in a canonical form (e.g., leading "." is not accepted).

            In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme http, https, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows:

            • If no scheme is provided, https is assumed.
            • An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error.
            • Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.)

            Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com.

            Schemes other than http, https (or the empty scheme) might be used with implementation specific semantics.

          • Optionalvalue?: Uint8Array

            Must be a valid serialized protocol buffer of the above specified type.

        Returns Any

    • fromProtoMsg:function
      • Parameters

        Returns Any

    • toAmino:function
      • Parameters

        Returns AnyAmino

    • toProto:function
      • Parameters

        Returns Uint8Array

    • toProtoMsg:function
      • Parameters

        Returns AnyProtoMsg

  • DescriptorProto: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): DescriptorProto;
        encode(message: DescriptorProto, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: DescriptorProtoAmino): DescriptorProto;
        fromAminoMsg(object: DescriptorProtoAminoMsg): DescriptorProto;
        fromPartial(object: {
            enumType?: {
                name?: string;
                options?: {
                    allowAlias?: boolean;
                    deprecated?: boolean;
                    uninterpretedOption?: {
                        aggregateValue?: ...;
                        doubleValue?: ...;
                        identifierValue?: ...;
                        name?: ...;
                        negativeIntValue?: ...;
                        positiveIntValue?: ...;
                        stringValue?: ...;
                    }[];
                };
                reservedName?: string[];
                reservedRange?: {
                    end?: number;
                    start?: number;
                }[];
                value?: {
                    name?: string;
                    number?: number;
                    options?: {
                        deprecated?: ...;
                        uninterpretedOption?: ...;
                    };
                }[];
            }[];
            extension?: {
                defaultValue?: string;
                extendee?: string;
                jsonName?: string;
                label?: FieldDescriptorProto_Label;
                name?: string;
                number?: number;
                oneofIndex?: number;
                options?: {
                    ctype?: FieldOptions_CType;
                    deprecated?: boolean;
                    jstype?: FieldOptions_JSType;
                    lazy?: boolean;
                    packed?: boolean;
                    uninterpretedOption?: {
                        aggregateValue?: ...;
                        doubleValue?: ...;
                        identifierValue?: ...;
                        name?: ...;
                        negativeIntValue?: ...;
                        positiveIntValue?: ...;
                        stringValue?: ...;
                    }[];
                    weak?: boolean;
                };
                type?: FieldDescriptorProto_Type;
                typeName?: string;
            }[];
            extensionRange?: {
                end?: number;
                options?: {
                    uninterpretedOption?: {
                        aggregateValue?: ...;
                        doubleValue?: ...;
                        identifierValue?: ...;
                        name?: ...;
                        negativeIntValue?: ...;
                        positiveIntValue?: ...;
                        stringValue?: ...;
                    }[];
                };
                start?: number;
            }[];
            field?: {
                defaultValue?: string;
                extendee?: string;
                jsonName?: string;
                label?: FieldDescriptorProto_Label;
                name?: string;
                number?: number;
                oneofIndex?: number;
                options?: {
                    ctype?: FieldOptions_CType;
                    deprecated?: boolean;
                    jstype?: FieldOptions_JSType;
                    lazy?: boolean;
                    packed?: boolean;
                    uninterpretedOption?: {
                        aggregateValue?: ...;
                        doubleValue?: ...;
                        identifierValue?: ...;
                        name?: ...;
                        negativeIntValue?: ...;
                        positiveIntValue?: ...;
                        stringValue?: ...;
                    }[];
                    weak?: boolean;
                };
                type?: FieldDescriptorProto_Type;
                typeName?: string;
            }[];
            name?: string;
            nestedType?: ({ name?: string | undefined; field?: { name?: string | undefined; number?: number | undefined; label?: FieldDescriptorProto_Label | undefined; type?: FieldDescriptorProto_Type | undefined; ... 5 more ...; options?: { ...; } | undefined; }[] | undefined; ... 7 more ...; reservedName?: string[] | undefined; })[];
            oneofDecl?: {
                name?: string;
                options?: {
                    uninterpretedOption?: {
                        aggregateValue?: ...;
                        doubleValue?: ...;
                        identifierValue?: ...;
                        name?: ...;
                        negativeIntValue?: ...;
                        positiveIntValue?: ...;
                        stringValue?: ...;
                    }[];
                };
            }[];
            options?: {
                deprecated?: boolean;
                mapEntry?: boolean;
                messageSetWireFormat?: boolean;
                noStandardDescriptorAccessor?: boolean;
                uninterpretedOption?: {
                    aggregateValue?: string;
                    doubleValue?: number;
                    identifierValue?: string;
                    name?: {
                        isExtension?: ...;
                        namePart?: ...;
                    }[];
                    negativeIntValue?: bigint;
                    positiveIntValue?: bigint;
                    stringValue?: Uint8Array;
                }[];
            };
            reservedName?: string[];
            reservedRange?: {
                end?: number;
                start?: number;
            }[];
        }): DescriptorProto;
        fromProtoMsg(message: DescriptorProtoProtoMsg): DescriptorProto;
        toAmino(message: DescriptorProto): DescriptorProtoAmino;
        toProto(message: DescriptorProto): Uint8Array;
        toProtoMsg(message: DescriptorProto): DescriptorProtoProtoMsg;
    }
    • typeUrl: string
    • decode:function
    • encode:function
    • fromAmino:function
    • fromAminoMsg:function
    • fromPartial:function
      • Parameters

        • object: {
              enumType?: {
                  name?: string;
                  options?: {
                      allowAlias?: boolean;
                      deprecated?: boolean;
                      uninterpretedOption?: {
                          aggregateValue?: ...;
                          doubleValue?: ...;
                          identifierValue?: ...;
                          name?: ...;
                          negativeIntValue?: ...;
                          positiveIntValue?: ...;
                          stringValue?: ...;
                      }[];
                  };
                  reservedName?: string[];
                  reservedRange?: {
                      end?: number;
                      start?: number;
                  }[];
                  value?: {
                      name?: string;
                      number?: number;
                      options?: {
                          deprecated?: ...;
                          uninterpretedOption?: ...;
                      };
                  }[];
              }[];
              extension?: {
                  defaultValue?: string;
                  extendee?: string;
                  jsonName?: string;
                  label?: FieldDescriptorProto_Label;
                  name?: string;
                  number?: number;
                  oneofIndex?: number;
                  options?: {
                      ctype?: FieldOptions_CType;
                      deprecated?: boolean;
                      jstype?: FieldOptions_JSType;
                      lazy?: boolean;
                      packed?: boolean;
                      uninterpretedOption?: {
                          aggregateValue?: ...;
                          doubleValue?: ...;
                          identifierValue?: ...;
                          name?: ...;
                          negativeIntValue?: ...;
                          positiveIntValue?: ...;
                          stringValue?: ...;
                      }[];
                      weak?: boolean;
                  };
                  type?: FieldDescriptorProto_Type;
                  typeName?: string;
              }[];
              extensionRange?: {
                  end?: number;
                  options?: {
                      uninterpretedOption?: {
                          aggregateValue?: ...;
                          doubleValue?: ...;
                          identifierValue?: ...;
                          name?: ...;
                          negativeIntValue?: ...;
                          positiveIntValue?: ...;
                          stringValue?: ...;
                      }[];
                  };
                  start?: number;
              }[];
              field?: {
                  defaultValue?: string;
                  extendee?: string;
                  jsonName?: string;
                  label?: FieldDescriptorProto_Label;
                  name?: string;
                  number?: number;
                  oneofIndex?: number;
                  options?: {
                      ctype?: FieldOptions_CType;
                      deprecated?: boolean;
                      jstype?: FieldOptions_JSType;
                      lazy?: boolean;
                      packed?: boolean;
                      uninterpretedOption?: {
                          aggregateValue?: ...;
                          doubleValue?: ...;
                          identifierValue?: ...;
                          name?: ...;
                          negativeIntValue?: ...;
                          positiveIntValue?: ...;
                          stringValue?: ...;
                      }[];
                      weak?: boolean;
                  };
                  type?: FieldDescriptorProto_Type;
                  typeName?: string;
              }[];
              name?: string;
              nestedType?: ({ name?: string | undefined; field?: { name?: string | undefined; number?: number | undefined; label?: FieldDescriptorProto_Label | undefined; type?: FieldDescriptorProto_Type | undefined; ... 5 more ...; options?: { ...; } | undefined; }[] | undefined; ... 7 more ...; reservedName?: string[] | undefined; })[];
              oneofDecl?: {
                  name?: string;
                  options?: {
                      uninterpretedOption?: {
                          aggregateValue?: ...;
                          doubleValue?: ...;
                          identifierValue?: ...;
                          name?: ...;
                          negativeIntValue?: ...;
                          positiveIntValue?: ...;
                          stringValue?: ...;
                      }[];
                  };
              }[];
              options?: {
                  deprecated?: boolean;
                  mapEntry?: boolean;
                  messageSetWireFormat?: boolean;
                  noStandardDescriptorAccessor?: boolean;
                  uninterpretedOption?: {
                      aggregateValue?: string;
                      doubleValue?: number;
                      identifierValue?: string;
                      name?: {
                          isExtension?: ...;
                          namePart?: ...;
                      }[];
                      negativeIntValue?: bigint;
                      positiveIntValue?: bigint;
                      stringValue?: Uint8Array;
                  }[];
              };
              reservedName?: string[];
              reservedRange?: {
                  end?: number;
                  start?: number;
              }[];
          }
          • OptionalenumType?: {
                name?: string;
                options?: {
                    allowAlias?: boolean;
                    deprecated?: boolean;
                    uninterpretedOption?: {
                        aggregateValue?: ...;
                        doubleValue?: ...;
                        identifierValue?: ...;
                        name?: ...;
                        negativeIntValue?: ...;
                        positiveIntValue?: ...;
                        stringValue?: ...;
                    }[];
                };
                reservedName?: string[];
                reservedRange?: {
                    end?: number;
                    start?: number;
                }[];
                value?: {
                    name?: string;
                    number?: number;
                    options?: {
                        deprecated?: ...;
                        uninterpretedOption?: ...;
                    };
                }[];
            }[]
          • Optionalextension?: {
                defaultValue?: string;
                extendee?: string;
                jsonName?: string;
                label?: FieldDescriptorProto_Label;
                name?: string;
                number?: number;
                oneofIndex?: number;
                options?: {
                    ctype?: FieldOptions_CType;
                    deprecated?: boolean;
                    jstype?: FieldOptions_JSType;
                    lazy?: boolean;
                    packed?: boolean;
                    uninterpretedOption?: {
                        aggregateValue?: ...;
                        doubleValue?: ...;
                        identifierValue?: ...;
                        name?: ...;
                        negativeIntValue?: ...;
                        positiveIntValue?: ...;
                        stringValue?: ...;
                    }[];
                    weak?: boolean;
                };
                type?: FieldDescriptorProto_Type;
                typeName?: string;
            }[]
          • OptionalextensionRange?: {
                end?: number;
                options?: {
                    uninterpretedOption?: {
                        aggregateValue?: ...;
                        doubleValue?: ...;
                        identifierValue?: ...;
                        name?: ...;
                        negativeIntValue?: ...;
                        positiveIntValue?: ...;
                        stringValue?: ...;
                    }[];
                };
                start?: number;
            }[]
          • Optionalfield?: {
                defaultValue?: string;
                extendee?: string;
                jsonName?: string;
                label?: FieldDescriptorProto_Label;
                name?: string;
                number?: number;
                oneofIndex?: number;
                options?: {
                    ctype?: FieldOptions_CType;
                    deprecated?: boolean;
                    jstype?: FieldOptions_JSType;
                    lazy?: boolean;
                    packed?: boolean;
                    uninterpretedOption?: {
                        aggregateValue?: ...;
                        doubleValue?: ...;
                        identifierValue?: ...;
                        name?: ...;
                        negativeIntValue?: ...;
                        positiveIntValue?: ...;
                        stringValue?: ...;
                    }[];
                    weak?: boolean;
                };
                type?: FieldDescriptorProto_Type;
                typeName?: string;
            }[]
          • Optionalname?: string
          • OptionalnestedType?: ({ name?: string | undefined; field?: { name?: string | undefined; number?: number | undefined; label?: FieldDescriptorProto_Label | undefined; type?: FieldDescriptorProto_Type | undefined; ... 5 more ...; options?: { ...; } | undefined; }[] | undefined; ... 7 more ...; reservedName?: string[] | undefined; })[]
          • OptionaloneofDecl?: {
                name?: string;
                options?: {
                    uninterpretedOption?: {
                        aggregateValue?: ...;
                        doubleValue?: ...;
                        identifierValue?: ...;
                        name?: ...;
                        negativeIntValue?: ...;
                        positiveIntValue?: ...;
                        stringValue?: ...;
                    }[];
                };
            }[]
          • Optionaloptions?: {
                deprecated?: boolean;
                mapEntry?: boolean;
                messageSetWireFormat?: boolean;
                noStandardDescriptorAccessor?: boolean;
                uninterpretedOption?: {
                    aggregateValue?: string;
                    doubleValue?: number;
                    identifierValue?: string;
                    name?: {
                        isExtension?: ...;
                        namePart?: ...;
                    }[];
                    negativeIntValue?: bigint;
                    positiveIntValue?: bigint;
                    stringValue?: Uint8Array;
                }[];
            }
            • Optionaldeprecated?: boolean

              Is this message deprecated? Depending on the target platform, this can emit Deprecated annotations for the message, or it will be completely ignored; in the very least, this is a formalization for deprecating messages.

            • OptionalmapEntry?: boolean

              Whether the message is an automatically generated map entry type for the maps field.

              For maps fields: map<KeyType, ValueType> map_field = 1; The parsed descriptor looks like: message MapFieldEntry { option map_entry = true; optional KeyType key = 1; optional ValueType value = 2; } repeated MapFieldEntry map_field = 1;

              Implementations may choose not to generate the map_entry=true message, but use a native map in the target language to hold the keys and values. The reflection APIs in such implementations still need to work as if the field is a repeated message field.

              NOTE: Do not set the option in .proto files. Always use the maps syntax instead. The option should only be implicitly set by the proto compiler parser.

            • OptionalmessageSetWireFormat?: boolean

              Set true to use the old proto1 MessageSet wire format for extensions. This is provided for backwards-compatibility with the MessageSet wire format. You should not use this for any other reason: It's less efficient, has fewer features, and is more complicated.

              The message must be defined exactly as follows: message Foo { option message_set_wire_format = true; extensions 4 to max; } Note that the message cannot have any defined fields; MessageSets only have extensions.

              All extensions of your type must be singular messages; e.g. they cannot be int32s, enums, or repeated messages.

              Because this is an option, the above two restrictions are not enforced by the protocol compiler.

            • OptionalnoStandardDescriptorAccessor?: boolean

              Disables the generation of the standard "descriptor()" accessor, which can conflict with a field of the same name. This is meant to make migration from proto1 easier; new code should avoid fields named "descriptor".

            • OptionaluninterpretedOption?: {
                  aggregateValue?: string;
                  doubleValue?: number;
                  identifierValue?: string;
                  name?: {
                      isExtension?: ...;
                      namePart?: ...;
                  }[];
                  negativeIntValue?: bigint;
                  positiveIntValue?: bigint;
                  stringValue?: Uint8Array;
              }[]

              The parser stores options it doesn't recognize here. See above.

          • OptionalreservedName?: string[]

            Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.

          • OptionalreservedRange?: {
                end?: number;
                start?: number;
            }[]

        Returns DescriptorProto

    • fromProtoMsg:function
    • toAmino:function
    • toProto:function
      • Parameters

        Returns Uint8Array

    • toProtoMsg:function
  • DescriptorProto_ExtensionRange: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): DescriptorProto_ExtensionRange;
        encode(message: DescriptorProto_ExtensionRange, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: DescriptorProto_ExtensionRangeAmino): DescriptorProto_ExtensionRange;
        fromAminoMsg(object: DescriptorProto_ExtensionRangeAminoMsg): DescriptorProto_ExtensionRange;
        fromPartial(object: {
            end?: number;
            options?: {
                uninterpretedOption?: {
                    aggregateValue?: string;
                    doubleValue?: number;
                    identifierValue?: string;
                    name?: {
                        isExtension?: ...;
                        namePart?: ...;
                    }[];
                    negativeIntValue?: bigint;
                    positiveIntValue?: bigint;
                    stringValue?: Uint8Array;
                }[];
            };
            start?: number;
        }): DescriptorProto_ExtensionRange;
        fromProtoMsg(message: DescriptorProto_ExtensionRangeProtoMsg): DescriptorProto_ExtensionRange;
        toAmino(message: DescriptorProto_ExtensionRange): DescriptorProto_ExtensionRangeAmino;
        toProto(message: DescriptorProto_ExtensionRange): Uint8Array;
        toProtoMsg(message: DescriptorProto_ExtensionRange): DescriptorProto_ExtensionRangeProtoMsg;
    }
  • DescriptorProto_ReservedRange: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): DescriptorProto_ReservedRange;
        encode(message: DescriptorProto_ReservedRange, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: DescriptorProto_ReservedRangeAmino): DescriptorProto_ReservedRange;
        fromAminoMsg(object: DescriptorProto_ReservedRangeAminoMsg): DescriptorProto_ReservedRange;
        fromPartial(object: {
            end?: number;
            start?: number;
        }): DescriptorProto_ReservedRange;
        fromProtoMsg(message: DescriptorProto_ReservedRangeProtoMsg): DescriptorProto_ReservedRange;
        toAmino(message: DescriptorProto_ReservedRange): DescriptorProto_ReservedRangeAmino;
        toProto(message: DescriptorProto_ReservedRange): Uint8Array;
        toProtoMsg(message: DescriptorProto_ReservedRange): DescriptorProto_ReservedRangeProtoMsg;
    }
  • Duration: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): Duration;
        encode(message: Duration, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: string): Duration;
        fromAminoMsg(object: DurationAminoMsg): Duration;
        fromPartial(object: {
            nanos?: number;
            seconds?: bigint;
        }): Duration;
        fromProtoMsg(message: DurationProtoMsg): Duration;
        toAmino(message: Duration): string;
        toProto(message: Duration): Uint8Array;
        toProtoMsg(message: Duration): DurationProtoMsg;
    }
    • typeUrl: string
    • decode:function
      • Parameters

        Returns Duration

    • encode:function
    • fromAmino:function
      • Parameters

        • object: string

        Returns Duration

    • fromAminoMsg:function
    • fromPartial:function
      • Parameters

        • object: {
              nanos?: number;
              seconds?: bigint;
          }
          • Optionalnanos?: number

            Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 seconds field and a positive or negative nanos field. For durations of one second or more, a non-zero value for the nanos field must be of the same sign as the seconds field. Must be from -999,999,999 to +999,999,999 inclusive.

          • Optionalseconds?: bigint

            Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years

        Returns Duration

    • fromProtoMsg:function
    • toAmino:function
      • Parameters

        Returns string

    • toProto:function
      • Parameters

        Returns Uint8Array

    • toProtoMsg:function
  • Empty: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): Empty;
        encode(_: Empty, writer?: BinaryWriter): BinaryWriter;
        fromAmino(_: EmptyAmino): Empty;
        fromAminoMsg(object: EmptyAminoMsg): Empty;
        fromPartial(_: {}): Empty;
        fromProtoMsg(message: EmptyProtoMsg): Empty;
        toAmino(_: Empty): EmptyAmino;
        toProto(message: Empty): Uint8Array;
        toProtoMsg(message: Empty): EmptyProtoMsg;
    }
    • typeUrl: string
    • decode:function
      • Parameters

        Returns Empty

    • encode:function
    • fromAmino:function
      • Parameters

        Returns Empty

    • fromAminoMsg:function
      • Parameters

        Returns Empty

    • fromPartial:function
      • Parameters

        • _: {}

          Returns Empty

      • fromProtoMsg:function
        • Parameters

          Returns Empty

      • toAmino:function
      • toProto:function
        • Parameters

          Returns Uint8Array

      • toProtoMsg:function
    • EnumDescriptorProto: {
          typeUrl: string;
          decode(input: Uint8Array | BinaryReader, length?: number): EnumDescriptorProto;
          encode(message: EnumDescriptorProto, writer?: BinaryWriter): BinaryWriter;
          fromAmino(object: EnumDescriptorProtoAmino): EnumDescriptorProto;
          fromAminoMsg(object: EnumDescriptorProtoAminoMsg): EnumDescriptorProto;
          fromPartial(object: {
              name?: string;
              options?: {
                  allowAlias?: boolean;
                  deprecated?: boolean;
                  uninterpretedOption?: {
                      aggregateValue?: string;
                      doubleValue?: number;
                      identifierValue?: string;
                      name?: {
                          isExtension?: ...;
                          namePart?: ...;
                      }[];
                      negativeIntValue?: bigint;
                      positiveIntValue?: bigint;
                      stringValue?: Uint8Array;
                  }[];
              };
              reservedName?: string[];
              reservedRange?: {
                  end?: number;
                  start?: number;
              }[];
              value?: {
                  name?: string;
                  number?: number;
                  options?: {
                      deprecated?: boolean;
                      uninterpretedOption?: {
                          aggregateValue?: ...;
                          doubleValue?: ...;
                          identifierValue?: ...;
                          name?: ...;
                          negativeIntValue?: ...;
                          positiveIntValue?: ...;
                          stringValue?: ...;
                      }[];
                  };
              }[];
          }): EnumDescriptorProto;
          fromProtoMsg(message: EnumDescriptorProtoProtoMsg): EnumDescriptorProto;
          toAmino(message: EnumDescriptorProto): EnumDescriptorProtoAmino;
          toProto(message: EnumDescriptorProto): Uint8Array;
          toProtoMsg(message: EnumDescriptorProto): EnumDescriptorProtoProtoMsg;
      }
      • typeUrl: string
      • decode:function
      • encode:function
      • fromAmino:function
      • fromAminoMsg:function
      • fromPartial:function
        • Parameters

          • object: {
                name?: string;
                options?: {
                    allowAlias?: boolean;
                    deprecated?: boolean;
                    uninterpretedOption?: {
                        aggregateValue?: string;
                        doubleValue?: number;
                        identifierValue?: string;
                        name?: {
                            isExtension?: ...;
                            namePart?: ...;
                        }[];
                        negativeIntValue?: bigint;
                        positiveIntValue?: bigint;
                        stringValue?: Uint8Array;
                    }[];
                };
                reservedName?: string[];
                reservedRange?: {
                    end?: number;
                    start?: number;
                }[];
                value?: {
                    name?: string;
                    number?: number;
                    options?: {
                        deprecated?: boolean;
                        uninterpretedOption?: {
                            aggregateValue?: ...;
                            doubleValue?: ...;
                            identifierValue?: ...;
                            name?: ...;
                            negativeIntValue?: ...;
                            positiveIntValue?: ...;
                            stringValue?: ...;
                        }[];
                    };
                }[];
            }
            • Optionalname?: string
            • Optionaloptions?: {
                  allowAlias?: boolean;
                  deprecated?: boolean;
                  uninterpretedOption?: {
                      aggregateValue?: string;
                      doubleValue?: number;
                      identifierValue?: string;
                      name?: {
                          isExtension?: ...;
                          namePart?: ...;
                      }[];
                      negativeIntValue?: bigint;
                      positiveIntValue?: bigint;
                      stringValue?: Uint8Array;
                  }[];
              }
              • OptionalallowAlias?: boolean

                Set this option to true to allow mapping different tag names to the same value.

              • Optionaldeprecated?: boolean

                Is this enum deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum, or it will be completely ignored; in the very least, this is a formalization for deprecating enums.

              • OptionaluninterpretedOption?: {
                    aggregateValue?: string;
                    doubleValue?: number;
                    identifierValue?: string;
                    name?: {
                        isExtension?: ...;
                        namePart?: ...;
                    }[];
                    negativeIntValue?: bigint;
                    positiveIntValue?: bigint;
                    stringValue?: Uint8Array;
                }[]

                The parser stores options it doesn't recognize here. See above.

            • OptionalreservedName?: string[]

              Reserved enum value names, which may not be reused. A given name may only be reserved once.

            • OptionalreservedRange?: {
                  end?: number;
                  start?: number;
              }[]

              Range of reserved numeric values. Reserved numeric values may not be used by enum values in the same enum declaration. Reserved ranges may not overlap.

            • Optionalvalue?: {
                  name?: string;
                  number?: number;
                  options?: {
                      deprecated?: boolean;
                      uninterpretedOption?: {
                          aggregateValue?: ...;
                          doubleValue?: ...;
                          identifierValue?: ...;
                          name?: ...;
                          negativeIntValue?: ...;
                          positiveIntValue?: ...;
                          stringValue?: ...;
                      }[];
                  };
              }[]

          Returns EnumDescriptorProto

      • fromProtoMsg:function
      • toAmino:function
      • toProto:function
        • Parameters

          Returns Uint8Array

      • toProtoMsg:function
    • EnumDescriptorProto_EnumReservedRange: {
          typeUrl: string;
          decode(input: Uint8Array | BinaryReader, length?: number): EnumDescriptorProto_EnumReservedRange;
          encode(message: EnumDescriptorProto_EnumReservedRange, writer?: BinaryWriter): BinaryWriter;
          fromAmino(object: EnumDescriptorProto_EnumReservedRangeAmino): EnumDescriptorProto_EnumReservedRange;
          fromAminoMsg(object: EnumDescriptorProto_EnumReservedRangeAminoMsg): EnumDescriptorProto_EnumReservedRange;
          fromPartial(object: {
              end?: number;
              start?: number;
          }): EnumDescriptorProto_EnumReservedRange;
          fromProtoMsg(message: EnumDescriptorProto_EnumReservedRangeProtoMsg): EnumDescriptorProto_EnumReservedRange;
          toAmino(message: EnumDescriptorProto_EnumReservedRange): EnumDescriptorProto_EnumReservedRangeAmino;
          toProto(message: EnumDescriptorProto_EnumReservedRange): Uint8Array;
          toProtoMsg(message: EnumDescriptorProto_EnumReservedRange): EnumDescriptorProto_EnumReservedRangeProtoMsg;
      }
    • EnumOptions: {
          typeUrl: string;
          decode(input: Uint8Array | BinaryReader, length?: number): EnumOptions;
          encode(message: EnumOptions, writer?: BinaryWriter): BinaryWriter;
          fromAmino(object: EnumOptionsAmino): EnumOptions;
          fromAminoMsg(object: EnumOptionsAminoMsg): EnumOptions;
          fromPartial(object: {
              allowAlias?: boolean;
              deprecated?: boolean;
              uninterpretedOption?: {
                  aggregateValue?: string;
                  doubleValue?: number;
                  identifierValue?: string;
                  name?: {
                      isExtension?: boolean;
                      namePart?: string;
                  }[];
                  negativeIntValue?: bigint;
                  positiveIntValue?: bigint;
                  stringValue?: Uint8Array;
              }[];
          }): EnumOptions;
          fromProtoMsg(message: EnumOptionsProtoMsg): EnumOptions;
          toAmino(message: EnumOptions): EnumOptionsAmino;
          toProto(message: EnumOptions): Uint8Array;
          toProtoMsg(message: EnumOptions): EnumOptionsProtoMsg;
      }
      • typeUrl: string
      • decode:function
        • Parameters

          Returns EnumOptions

      • encode:function
      • fromAmino:function
      • fromAminoMsg:function
      • fromPartial:function
        • Parameters

          • object: {
                allowAlias?: boolean;
                deprecated?: boolean;
                uninterpretedOption?: {
                    aggregateValue?: string;
                    doubleValue?: number;
                    identifierValue?: string;
                    name?: {
                        isExtension?: boolean;
                        namePart?: string;
                    }[];
                    negativeIntValue?: bigint;
                    positiveIntValue?: bigint;
                    stringValue?: Uint8Array;
                }[];
            }
            • OptionalallowAlias?: boolean

              Set this option to true to allow mapping different tag names to the same value.

            • Optionaldeprecated?: boolean

              Is this enum deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum, or it will be completely ignored; in the very least, this is a formalization for deprecating enums.

            • OptionaluninterpretedOption?: {
                  aggregateValue?: string;
                  doubleValue?: number;
                  identifierValue?: string;
                  name?: {
                      isExtension?: boolean;
                      namePart?: string;
                  }[];
                  negativeIntValue?: bigint;
                  positiveIntValue?: bigint;
                  stringValue?: Uint8Array;
              }[]

              The parser stores options it doesn't recognize here. See above.

          Returns EnumOptions

      • fromProtoMsg:function
      • toAmino:function
      • toProto:function
        • Parameters

          Returns Uint8Array

      • toProtoMsg:function
    • EnumValueDescriptorProto: {
          typeUrl: string;
          decode(input: Uint8Array | BinaryReader, length?: number): EnumValueDescriptorProto;
          encode(message: EnumValueDescriptorProto, writer?: BinaryWriter): BinaryWriter;
          fromAmino(object: EnumValueDescriptorProtoAmino): EnumValueDescriptorProto;
          fromAminoMsg(object: EnumValueDescriptorProtoAminoMsg): EnumValueDescriptorProto;
          fromPartial(object: {
              name?: string;
              number?: number;
              options?: {
                  deprecated?: boolean;
                  uninterpretedOption?: {
                      aggregateValue?: string;
                      doubleValue?: number;
                      identifierValue?: string;
                      name?: {
                          isExtension?: ...;
                          namePart?: ...;
                      }[];
                      negativeIntValue?: bigint;
                      positiveIntValue?: bigint;
                      stringValue?: Uint8Array;
                  }[];
              };
          }): EnumValueDescriptorProto;
          fromProtoMsg(message: EnumValueDescriptorProtoProtoMsg): EnumValueDescriptorProto;
          toAmino(message: EnumValueDescriptorProto): EnumValueDescriptorProtoAmino;
          toProto(message: EnumValueDescriptorProto): Uint8Array;
          toProtoMsg(message: EnumValueDescriptorProto): EnumValueDescriptorProtoProtoMsg;
      }
      • typeUrl: string
      • decode:function
      • encode:function
      • fromAmino:function
      • fromAminoMsg:function
      • fromPartial:function
        • Parameters

          • object: {
                name?: string;
                number?: number;
                options?: {
                    deprecated?: boolean;
                    uninterpretedOption?: {
                        aggregateValue?: string;
                        doubleValue?: number;
                        identifierValue?: string;
                        name?: {
                            isExtension?: ...;
                            namePart?: ...;
                        }[];
                        negativeIntValue?: bigint;
                        positiveIntValue?: bigint;
                        stringValue?: Uint8Array;
                    }[];
                };
            }
            • Optionalname?: string
            • Optionalnumber?: number
            • Optionaloptions?: {
                  deprecated?: boolean;
                  uninterpretedOption?: {
                      aggregateValue?: string;
                      doubleValue?: number;
                      identifierValue?: string;
                      name?: {
                          isExtension?: ...;
                          namePart?: ...;
                      }[];
                      negativeIntValue?: bigint;
                      positiveIntValue?: bigint;
                      stringValue?: Uint8Array;
                  }[];
              }
              • Optionaldeprecated?: boolean

                Is this enum value deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum value, or it will be completely ignored; in the very least, this is a formalization for deprecating enum values.

              • OptionaluninterpretedOption?: {
                    aggregateValue?: string;
                    doubleValue?: number;
                    identifierValue?: string;
                    name?: {
                        isExtension?: ...;
                        namePart?: ...;
                    }[];
                    negativeIntValue?: bigint;
                    positiveIntValue?: bigint;
                    stringValue?: Uint8Array;
                }[]

                The parser stores options it doesn't recognize here. See above.

          Returns EnumValueDescriptorProto

      • fromProtoMsg:function
      • toAmino:function
      • toProto:function
        • Parameters

          Returns Uint8Array

      • toProtoMsg:function
    • EnumValueOptions: {
          typeUrl: string;
          decode(input: Uint8Array | BinaryReader, length?: number): EnumValueOptions;
          encode(message: EnumValueOptions, writer?: BinaryWriter): BinaryWriter;
          fromAmino(object: EnumValueOptionsAmino): EnumValueOptions;
          fromAminoMsg(object: EnumValueOptionsAminoMsg): EnumValueOptions;
          fromPartial(object: {
              deprecated?: boolean;
              uninterpretedOption?: {
                  aggregateValue?: string;
                  doubleValue?: number;
                  identifierValue?: string;
                  name?: {
                      isExtension?: boolean;
                      namePart?: string;
                  }[];
                  negativeIntValue?: bigint;
                  positiveIntValue?: bigint;
                  stringValue?: Uint8Array;
              }[];
          }): EnumValueOptions;
          fromProtoMsg(message: EnumValueOptionsProtoMsg): EnumValueOptions;
          toAmino(message: EnumValueOptions): EnumValueOptionsAmino;
          toProto(message: EnumValueOptions): Uint8Array;
          toProtoMsg(message: EnumValueOptions): EnumValueOptionsProtoMsg;
      }
      • typeUrl: string
      • decode:function
      • encode:function
      • fromAmino:function
      • fromAminoMsg:function
      • fromPartial:function
        • Parameters

          • object: {
                deprecated?: boolean;
                uninterpretedOption?: {
                    aggregateValue?: string;
                    doubleValue?: number;
                    identifierValue?: string;
                    name?: {
                        isExtension?: boolean;
                        namePart?: string;
                    }[];
                    negativeIntValue?: bigint;
                    positiveIntValue?: bigint;
                    stringValue?: Uint8Array;
                }[];
            }
            • Optionaldeprecated?: boolean

              Is this enum value deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum value, or it will be completely ignored; in the very least, this is a formalization for deprecating enum values.

            • OptionaluninterpretedOption?: {
                  aggregateValue?: string;
                  doubleValue?: number;
                  identifierValue?: string;
                  name?: {
                      isExtension?: boolean;
                      namePart?: string;
                  }[];
                  negativeIntValue?: bigint;
                  positiveIntValue?: bigint;
                  stringValue?: Uint8Array;
              }[]

              The parser stores options it doesn't recognize here. See above.

          Returns EnumValueOptions

      • fromProtoMsg:function
      • toAmino:function
      • toProto:function
        • Parameters

          Returns Uint8Array

      • toProtoMsg:function
    • ExtensionRangeOptions: {
          typeUrl: string;
          decode(input: Uint8Array | BinaryReader, length?: number): ExtensionRangeOptions;
          encode(message: ExtensionRangeOptions, writer?: BinaryWriter): BinaryWriter;
          fromAmino(object: ExtensionRangeOptionsAmino): ExtensionRangeOptions;
          fromAminoMsg(object: ExtensionRangeOptionsAminoMsg): ExtensionRangeOptions;
          fromPartial(object: {
              uninterpretedOption?: {
                  aggregateValue?: string;
                  doubleValue?: number;
                  identifierValue?: string;
                  name?: {
                      isExtension?: boolean;
                      namePart?: string;
                  }[];
                  negativeIntValue?: bigint;
                  positiveIntValue?: bigint;
                  stringValue?: Uint8Array;
              }[];
          }): ExtensionRangeOptions;
          fromProtoMsg(message: ExtensionRangeOptionsProtoMsg): ExtensionRangeOptions;
          toAmino(message: ExtensionRangeOptions): ExtensionRangeOptionsAmino;
          toProto(message: ExtensionRangeOptions): Uint8Array;
          toProtoMsg(message: ExtensionRangeOptions): ExtensionRangeOptionsProtoMsg;
      }
      • typeUrl: string
      • decode:function
      • encode:function
      • fromAmino:function
      • fromAminoMsg:function
      • fromPartial:function
        • Parameters

          • object: {
                uninterpretedOption?: {
                    aggregateValue?: string;
                    doubleValue?: number;
                    identifierValue?: string;
                    name?: {
                        isExtension?: boolean;
                        namePart?: string;
                    }[];
                    negativeIntValue?: bigint;
                    positiveIntValue?: bigint;
                    stringValue?: Uint8Array;
                }[];
            }
            • OptionaluninterpretedOption?: {
                  aggregateValue?: string;
                  doubleValue?: number;
                  identifierValue?: string;
                  name?: {
                      isExtension?: boolean;
                      namePart?: string;
                  }[];
                  negativeIntValue?: bigint;
                  positiveIntValue?: bigint;
                  stringValue?: Uint8Array;
              }[]

              The parser stores options it doesn't recognize here. See above.

          Returns ExtensionRangeOptions

      • fromProtoMsg:function
      • toAmino:function
      • toProto:function
        • Parameters

          Returns Uint8Array

      • toProtoMsg:function
    • FieldDescriptorProto: {
          typeUrl: string;
          decode(input: Uint8Array | BinaryReader, length?: number): FieldDescriptorProto;
          encode(message: FieldDescriptorProto, writer?: BinaryWriter): BinaryWriter;
          fromAmino(object: FieldDescriptorProtoAmino): FieldDescriptorProto;
          fromAminoMsg(object: FieldDescriptorProtoAminoMsg): FieldDescriptorProto;
          fromPartial(object: {
              defaultValue?: string;
              extendee?: string;
              jsonName?: string;
              label?: FieldDescriptorProto_Label;
              name?: string;
              number?: number;
              oneofIndex?: number;
              options?: {
                  ctype?: FieldOptions_CType;
                  deprecated?: boolean;
                  jstype?: FieldOptions_JSType;
                  lazy?: boolean;
                  packed?: boolean;
                  uninterpretedOption?: {
                      aggregateValue?: string;
                      doubleValue?: number;
                      identifierValue?: string;
                      name?: {
                          isExtension?: ...;
                          namePart?: ...;
                      }[];
                      negativeIntValue?: bigint;
                      positiveIntValue?: bigint;
                      stringValue?: Uint8Array;
                  }[];
                  weak?: boolean;
              };
              type?: FieldDescriptorProto_Type;
              typeName?: string;
          }): FieldDescriptorProto;
          fromProtoMsg(message: FieldDescriptorProtoProtoMsg): FieldDescriptorProto;
          toAmino(message: FieldDescriptorProto): FieldDescriptorProtoAmino;
          toProto(message: FieldDescriptorProto): Uint8Array;
          toProtoMsg(message: FieldDescriptorProto): FieldDescriptorProtoProtoMsg;
      }
      • typeUrl: string
      • decode:function
      • encode:function
      • fromAmino:function
      • fromAminoMsg:function
      • fromPartial:function
        • Parameters

          • object: {
                defaultValue?: string;
                extendee?: string;
                jsonName?: string;
                label?: FieldDescriptorProto_Label;
                name?: string;
                number?: number;
                oneofIndex?: number;
                options?: {
                    ctype?: FieldOptions_CType;
                    deprecated?: boolean;
                    jstype?: FieldOptions_JSType;
                    lazy?: boolean;
                    packed?: boolean;
                    uninterpretedOption?: {
                        aggregateValue?: string;
                        doubleValue?: number;
                        identifierValue?: string;
                        name?: {
                            isExtension?: ...;
                            namePart?: ...;
                        }[];
                        negativeIntValue?: bigint;
                        positiveIntValue?: bigint;
                        stringValue?: Uint8Array;
                    }[];
                    weak?: boolean;
                };
                type?: FieldDescriptorProto_Type;
                typeName?: string;
            }
            • OptionaldefaultValue?: string

              For numeric types, contains the original text representation of the value. For booleans, "true" or "false". For strings, contains the default text contents (not escaped in any way). For bytes, contains the C escaped value. All bytes >= 128 are escaped. TODO(kenton): Base-64 encode?

            • Optionalextendee?: string

              For extensions, this is the name of the type being extended. It is resolved in the same manner as type_name.

            • OptionaljsonName?: string

              JSON name of this field. The value is set by protocol compiler. If the user has set a "json_name" option on this field, that option's value will be used. Otherwise, it's deduced from the field's name by converting it to camelCase.

            • Optionallabel?: FieldDescriptorProto_Label
            • Optionalname?: string
            • Optionalnumber?: number
            • OptionaloneofIndex?: number

              If set, gives the index of a oneof in the containing type's oneof_decl list. This field is a member of that oneof.

            • Optionaloptions?: {
                  ctype?: FieldOptions_CType;
                  deprecated?: boolean;
                  jstype?: FieldOptions_JSType;
                  lazy?: boolean;
                  packed?: boolean;
                  uninterpretedOption?: {
                      aggregateValue?: string;
                      doubleValue?: number;
                      identifierValue?: string;
                      name?: {
                          isExtension?: ...;
                          namePart?: ...;
                      }[];
                      negativeIntValue?: bigint;
                      positiveIntValue?: bigint;
                      stringValue?: Uint8Array;
                  }[];
                  weak?: boolean;
              }
              • Optionalctype?: FieldOptions_CType

                The ctype option instructs the C++ code generator to use a different representation of the field than it normally would. See the specific options below. This option is not yet implemented in the open source release -- sorry, we'll try to include it in a future version!

              • Optionaldeprecated?: boolean

                Is this field deprecated? Depending on the target platform, this can emit Deprecated annotations for accessors, or it will be completely ignored; in the very least, this is a formalization for deprecating fields.

              • Optionaljstype?: FieldOptions_JSType

                The jstype option determines the JavaScript type used for values of the field. The option is permitted only for 64 bit integral and fixed types (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING is represented as JavaScript string, which avoids loss of precision that can happen when a large value is converted to a floating point JavaScript. Specifying JS_NUMBER for the jstype causes the generated JavaScript code to use the JavaScript "number" type. The behavior of the default option JS_NORMAL is implementation dependent.

                This option is an enum to permit additional types to be added, e.g. goog.math.Integer.

              • Optionallazy?: boolean

                Should this field be parsed lazily? Lazy applies only to message-type fields. It means that when the outer message is initially parsed, the inner message's contents will not be parsed but instead stored in encoded form. The inner message will actually be parsed when it is first accessed.

                This is only a hint. Implementations are free to choose whether to use eager or lazy parsing regardless of the value of this option. However, setting this option true suggests that the protocol author believes that using lazy parsing on this field is worth the additional bookkeeping overhead typically needed to implement it.

                This option does not affect the public interface of any generated code; all method signatures remain the same. Furthermore, thread-safety of the interface is not affected by this option; const methods remain safe to call from multiple threads concurrently, while non-const methods continue to require exclusive access.

                Note that implementations may choose not to check required fields within a lazy sub-message. That is, calling IsInitialized() on the outer message may return true even if the inner message has missing required fields. This is necessary because otherwise the inner message would have to be parsed in order to perform the check, defeating the purpose of lazy parsing. An implementation which chooses not to check required fields must be consistent about it. That is, for any particular sub-message, the implementation must either always check its required fields, or never check its required fields, regardless of whether or not the message has been parsed.

              • Optionalpacked?: boolean

                The packed option can be enabled for repeated primitive fields to enable a more efficient representation on the wire. Rather than repeatedly writing the tag and type for each element, the entire array is encoded as a single length-delimited blob. In proto3, only explicit setting it to false will avoid using packed encoding.

              • OptionaluninterpretedOption?: {
                    aggregateValue?: string;
                    doubleValue?: number;
                    identifierValue?: string;
                    name?: {
                        isExtension?: ...;
                        namePart?: ...;
                    }[];
                    negativeIntValue?: bigint;
                    positiveIntValue?: bigint;
                    stringValue?: Uint8Array;
                }[]

                The parser stores options it doesn't recognize here. See above.

              • Optionalweak?: boolean

                For Google-internal migration only. Do not use.

            • Optionaltype?: FieldDescriptorProto_Type

              If type_name is set, this need not be set. If both this and type_name are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.

            • OptionaltypeName?: string

              For message and enum types, this is the name of the type. If the name starts with a '.', it is fully-qualified. Otherwise, C++-like scoping rules are used to find the type (i.e. first the nested types within this message are searched, then within the parent, on up to the root namespace).

          Returns FieldDescriptorProto

      • fromProtoMsg:function
      • toAmino:function
      • toProto:function
        • Parameters

          Returns Uint8Array

      • toProtoMsg:function
    • FieldDescriptorProto_LabelAmino: typeof FieldDescriptorProto_Label
    • FieldDescriptorProto_LabelSDKType: typeof FieldDescriptorProto_Label
    • FieldDescriptorProto_TypeAmino: typeof FieldDescriptorProto_Type
    • FieldDescriptorProto_TypeSDKType: typeof FieldDescriptorProto_Type
    • FieldOptions: {
          typeUrl: string;
          decode(input: Uint8Array | BinaryReader, length?: number): FieldOptions;
          encode(message: FieldOptions, writer?: BinaryWriter): BinaryWriter;
          fromAmino(object: FieldOptionsAmino): FieldOptions;
          fromAminoMsg(object: FieldOptionsAminoMsg): FieldOptions;
          fromPartial(object: {
              ctype?: FieldOptions_CType;
              deprecated?: boolean;
              jstype?: FieldOptions_JSType;
              lazy?: boolean;
              packed?: boolean;
              uninterpretedOption?: {
                  aggregateValue?: string;
                  doubleValue?: number;
                  identifierValue?: string;
                  name?: {
                      isExtension?: boolean;
                      namePart?: string;
                  }[];
                  negativeIntValue?: bigint;
                  positiveIntValue?: bigint;
                  stringValue?: Uint8Array;
              }[];
              weak?: boolean;
          }): FieldOptions;
          fromProtoMsg(message: FieldOptionsProtoMsg): FieldOptions;
          toAmino(message: FieldOptions): FieldOptionsAmino;
          toProto(message: FieldOptions): Uint8Array;
          toProtoMsg(message: FieldOptions): FieldOptionsProtoMsg;
      }
      • typeUrl: string
      • decode:function
        • Parameters

          Returns FieldOptions

      • encode:function
      • fromAmino:function
      • fromAminoMsg:function
      • fromPartial:function
        • Parameters

          • object: {
                ctype?: FieldOptions_CType;
                deprecated?: boolean;
                jstype?: FieldOptions_JSType;
                lazy?: boolean;
                packed?: boolean;
                uninterpretedOption?: {
                    aggregateValue?: string;
                    doubleValue?: number;
                    identifierValue?: string;
                    name?: {
                        isExtension?: boolean;
                        namePart?: string;
                    }[];
                    negativeIntValue?: bigint;
                    positiveIntValue?: bigint;
                    stringValue?: Uint8Array;
                }[];
                weak?: boolean;
            }
            • Optionalctype?: FieldOptions_CType

              The ctype option instructs the C++ code generator to use a different representation of the field than it normally would. See the specific options below. This option is not yet implemented in the open source release -- sorry, we'll try to include it in a future version!

            • Optionaldeprecated?: boolean

              Is this field deprecated? Depending on the target platform, this can emit Deprecated annotations for accessors, or it will be completely ignored; in the very least, this is a formalization for deprecating fields.

            • Optionaljstype?: FieldOptions_JSType

              The jstype option determines the JavaScript type used for values of the field. The option is permitted only for 64 bit integral and fixed types (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING is represented as JavaScript string, which avoids loss of precision that can happen when a large value is converted to a floating point JavaScript. Specifying JS_NUMBER for the jstype causes the generated JavaScript code to use the JavaScript "number" type. The behavior of the default option JS_NORMAL is implementation dependent.

              This option is an enum to permit additional types to be added, e.g. goog.math.Integer.

            • Optionallazy?: boolean

              Should this field be parsed lazily? Lazy applies only to message-type fields. It means that when the outer message is initially parsed, the inner message's contents will not be parsed but instead stored in encoded form. The inner message will actually be parsed when it is first accessed.

              This is only a hint. Implementations are free to choose whether to use eager or lazy parsing regardless of the value of this option. However, setting this option true suggests that the protocol author believes that using lazy parsing on this field is worth the additional bookkeeping overhead typically needed to implement it.

              This option does not affect the public interface of any generated code; all method signatures remain the same. Furthermore, thread-safety of the interface is not affected by this option; const methods remain safe to call from multiple threads concurrently, while non-const methods continue to require exclusive access.

              Note that implementations may choose not to check required fields within a lazy sub-message. That is, calling IsInitialized() on the outer message may return true even if the inner message has missing required fields. This is necessary because otherwise the inner message would have to be parsed in order to perform the check, defeating the purpose of lazy parsing. An implementation which chooses not to check required fields must be consistent about it. That is, for any particular sub-message, the implementation must either always check its required fields, or never check its required fields, regardless of whether or not the message has been parsed.

            • Optionalpacked?: boolean

              The packed option can be enabled for repeated primitive fields to enable a more efficient representation on the wire. Rather than repeatedly writing the tag and type for each element, the entire array is encoded as a single length-delimited blob. In proto3, only explicit setting it to false will avoid using packed encoding.

            • OptionaluninterpretedOption?: {
                  aggregateValue?: string;
                  doubleValue?: number;
                  identifierValue?: string;
                  name?: {
                      isExtension?: boolean;
                      namePart?: string;
                  }[];
                  negativeIntValue?: bigint;
                  positiveIntValue?: bigint;
                  stringValue?: Uint8Array;
              }[]

              The parser stores options it doesn't recognize here. See above.

            • Optionalweak?: boolean

              For Google-internal migration only. Do not use.

          Returns FieldOptions

      • fromProtoMsg:function
      • toAmino:function
      • toProto:function
        • Parameters

          Returns Uint8Array

      • toProtoMsg:function
    • FieldOptions_CTypeAmino: typeof FieldOptions_CType
    • FieldOptions_CTypeSDKType: typeof FieldOptions_CType
    • FieldOptions_JSTypeAmino: typeof FieldOptions_JSType
    • FieldOptions_JSTypeSDKType: typeof FieldOptions_JSType
    • FileDescriptorProto: {
          typeUrl: string;
          decode(input: Uint8Array | BinaryReader, length?: number): FileDescriptorProto;
          encode(message: FileDescriptorProto, writer?: BinaryWriter): BinaryWriter;
          fromAmino(object: FileDescriptorProtoAmino): FileDescriptorProto;
          fromAminoMsg(object: FileDescriptorProtoAminoMsg): FileDescriptorProto;
          fromPartial(object: {
              dependency?: string[];
              enumType?: {
                  name?: string;
                  options?: {
                      allowAlias?: boolean;
                      deprecated?: boolean;
                      uninterpretedOption?: {
                          aggregateValue?: ...;
                          doubleValue?: ...;
                          identifierValue?: ...;
                          name?: ...;
                          negativeIntValue?: ...;
                          positiveIntValue?: ...;
                          stringValue?: ...;
                      }[];
                  };
                  reservedName?: string[];
                  reservedRange?: {
                      end?: number;
                      start?: number;
                  }[];
                  value?: {
                      name?: string;
                      number?: number;
                      options?: {
                          deprecated?: ...;
                          uninterpretedOption?: ...;
                      };
                  }[];
              }[];
              extension?: {
                  defaultValue?: string;
                  extendee?: string;
                  jsonName?: string;
                  label?: FieldDescriptorProto_Label;
                  name?: string;
                  number?: number;
                  oneofIndex?: number;
                  options?: {
                      ctype?: FieldOptions_CType;
                      deprecated?: boolean;
                      jstype?: FieldOptions_JSType;
                      lazy?: boolean;
                      packed?: boolean;
                      uninterpretedOption?: {
                          aggregateValue?: ...;
                          doubleValue?: ...;
                          identifierValue?: ...;
                          name?: ...;
                          negativeIntValue?: ...;
                          positiveIntValue?: ...;
                          stringValue?: ...;
                      }[];
                      weak?: boolean;
                  };
                  type?: FieldDescriptorProto_Type;
                  typeName?: string;
              }[];
              messageType?: {
                  enumType?: {
                      name?: string;
                      options?: {
                          allowAlias?: ...;
                          deprecated?: ...;
                          uninterpretedOption?: ...;
                      };
                      reservedName?: (...)[];
                      reservedRange?: (...)[];
                      value?: (...)[];
                  }[];
                  extension?: {
                      defaultValue?: string;
                      extendee?: string;
                      jsonName?: string;
                      label?: FieldDescriptorProto_Label;
                      name?: string;
                      number?: number;
                      oneofIndex?: number;
                      options?: {
                          ctype?: ...;
                          deprecated?: ...;
                          jstype?: ...;
                          lazy?: ...;
                          packed?: ...;
                          uninterpretedOption?: ...;
                          weak?: ...;
                      };
                      type?: FieldDescriptorProto_Type;
                      typeName?: string;
                  }[];
                  extensionRange?: {
                      end?: number;
                      options?: {
                          uninterpretedOption?: ...;
                      };
                      start?: number;
                  }[];
                  field?: {
                      defaultValue?: string;
                      extendee?: string;
                      jsonName?: string;
                      label?: FieldDescriptorProto_Label;
                      name?: string;
                      number?: number;
                      oneofIndex?: number;
                      options?: {
                          ctype?: ...;
                          deprecated?: ...;
                          jstype?: ...;
                          lazy?: ...;
                          packed?: ...;
                          uninterpretedOption?: ...;
                          weak?: ...;
                      };
                      type?: FieldDescriptorProto_Type;
                      typeName?: string;
                  }[];
                  name?: string;
                  nestedType?: { name?: string | undefined; field?: { name?: string | undefined; number?: number | undefined; label?: FieldDescriptorProto_Label | undefined; type?: FieldDescriptorProto_Type | undefined; ... 5 more ...; options?: { ...; } | undefined; }[] | undefined; ... 7 more ...; reservedName?: string[] | undefined; }[] | unde...;
                  oneofDecl?: {
                      name?: string;
                      options?: {
                          uninterpretedOption?: ...;
                      };
                  }[];
                  options?: {
                      deprecated?: boolean;
                      mapEntry?: boolean;
                      messageSetWireFormat?: boolean;
                      noStandardDescriptorAccessor?: boolean;
                      uninterpretedOption?: {
                          aggregateValue?: ...;
                          doubleValue?: ...;
                          identifierValue?: ...;
                          name?: ...;
                          negativeIntValue?: ...;
                          positiveIntValue?: ...;
                          stringValue?: ...;
                      }[];
                  };
                  reservedName?: string[];
                  reservedRange?: {
                      end?: number;
                      start?: number;
                  }[];
              }[];
              name?: string;
              options?: {
                  ccEnableArenas?: boolean;
                  ccGenericServices?: boolean;
                  csharpNamespace?: string;
                  deprecated?: boolean;
                  goPackage?: string;
                  javaGenerateEqualsAndHash?: boolean;
                  javaGenericServices?: boolean;
                  javaMultipleFiles?: boolean;
                  javaOuterClassname?: string;
                  javaPackage?: string;
                  javaStringCheckUtf8?: boolean;
                  objcClassPrefix?: string;
                  optimizeFor?: FileOptions_OptimizeMode;
                  phpClassPrefix?: string;
                  phpGenericServices?: boolean;
                  phpMetadataNamespace?: string;
                  phpNamespace?: string;
                  pyGenericServices?: boolean;
                  rubyPackage?: string;
                  swiftPrefix?: string;
                  uninterpretedOption?: {
                      aggregateValue?: string;
                      doubleValue?: number;
                      identifierValue?: string;
                      name?: {
                          isExtension?: ...;
                          namePart?: ...;
                      }[];
                      negativeIntValue?: bigint;
                      positiveIntValue?: bigint;
                      stringValue?: Uint8Array;
                  }[];
              };
              package?: string;
              publicDependency?: number[];
              service?: {
                  method?: {
                      clientStreaming?: boolean;
                      inputType?: string;
                      name?: string;
                      options?: {
                          deprecated?: ...;
                          idempotencyLevel?: ...;
                          uninterpretedOption?: ...;
                      };
                      outputType?: string;
                      serverStreaming?: boolean;
                  }[];
                  name?: string;
                  options?: {
                      deprecated?: boolean;
                      uninterpretedOption?: {
                          aggregateValue?: ...;
                          doubleValue?: ...;
                          identifierValue?: ...;
                          name?: ...;
                          negativeIntValue?: ...;
                          positiveIntValue?: ...;
                          stringValue?: ...;
                      }[];
                  };
              }[];
              sourceCodeInfo?: {
                  location?: {
                      leadingComments?: string;
                      leadingDetachedComments?: string[];
                      path?: number[];
                      span?: number[];
                      trailingComments?: string;
                  }[];
              };
              syntax?: string;
              weakDependency?: number[];
          }): FileDescriptorProto;
          fromProtoMsg(message: FileDescriptorProtoProtoMsg): FileDescriptorProto;
          toAmino(message: FileDescriptorProto): FileDescriptorProtoAmino;
          toProto(message: FileDescriptorProto): Uint8Array;
          toProtoMsg(message: FileDescriptorProto): FileDescriptorProtoProtoMsg;
      }
      • typeUrl: string
      • decode:function
      • encode:function
      • fromAmino:function
      • fromAminoMsg:function
      • fromPartial:function
        • Parameters

          • object: {
                dependency?: string[];
                enumType?: {
                    name?: string;
                    options?: {
                        allowAlias?: boolean;
                        deprecated?: boolean;
                        uninterpretedOption?: {
                            aggregateValue?: ...;
                            doubleValue?: ...;
                            identifierValue?: ...;
                            name?: ...;
                            negativeIntValue?: ...;
                            positiveIntValue?: ...;
                            stringValue?: ...;
                        }[];
                    };
                    reservedName?: string[];
                    reservedRange?: {
                        end?: number;
                        start?: number;
                    }[];
                    value?: {
                        name?: string;
                        number?: number;
                        options?: {
                            deprecated?: ...;
                            uninterpretedOption?: ...;
                        };
                    }[];
                }[];
                extension?: {
                    defaultValue?: string;
                    extendee?: string;
                    jsonName?: string;
                    label?: FieldDescriptorProto_Label;
                    name?: string;
                    number?: number;
                    oneofIndex?: number;
                    options?: {
                        ctype?: FieldOptions_CType;
                        deprecated?: boolean;
                        jstype?: FieldOptions_JSType;
                        lazy?: boolean;
                        packed?: boolean;
                        uninterpretedOption?: {
                            aggregateValue?: ...;
                            doubleValue?: ...;
                            identifierValue?: ...;
                            name?: ...;
                            negativeIntValue?: ...;
                            positiveIntValue?: ...;
                            stringValue?: ...;
                        }[];
                        weak?: boolean;
                    };
                    type?: FieldDescriptorProto_Type;
                    typeName?: string;
                }[];
                messageType?: {
                    enumType?: {
                        name?: string;
                        options?: {
                            allowAlias?: ...;
                            deprecated?: ...;
                            uninterpretedOption?: ...;
                        };
                        reservedName?: (...)[];
                        reservedRange?: (...)[];
                        value?: (...)[];
                    }[];
                    extension?: {
                        defaultValue?: string;
                        extendee?: string;
                        jsonName?: string;
                        label?: FieldDescriptorProto_Label;
                        name?: string;
                        number?: number;
                        oneofIndex?: number;
                        options?: {
                            ctype?: ...;
                            deprecated?: ...;
                            jstype?: ...;
                            lazy?: ...;
                            packed?: ...;
                            uninterpretedOption?: ...;
                            weak?: ...;
                        };
                        type?: FieldDescriptorProto_Type;
                        typeName?: string;
                    }[];
                    extensionRange?: {
                        end?: number;
                        options?: {
                            uninterpretedOption?: ...;
                        };
                        start?: number;
                    }[];
                    field?: {
                        defaultValue?: string;
                        extendee?: string;
                        jsonName?: string;
                        label?: FieldDescriptorProto_Label;
                        name?: string;
                        number?: number;
                        oneofIndex?: number;
                        options?: {
                            ctype?: ...;
                            deprecated?: ...;
                            jstype?: ...;
                            lazy?: ...;
                            packed?: ...;
                            uninterpretedOption?: ...;
                            weak?: ...;
                        };
                        type?: FieldDescriptorProto_Type;
                        typeName?: string;
                    }[];
                    name?: string;
                    nestedType?: { name?: string | undefined; field?: { name?: string | undefined; number?: number | undefined; label?: FieldDescriptorProto_Label | undefined; type?: FieldDescriptorProto_Type | undefined; ... 5 more ...; options?: { ...; } | undefined; }[] | undefined; ... 7 more ...; reservedName?: string[] | undefined; }[] | unde...;
                    oneofDecl?: {
                        name?: string;
                        options?: {
                            uninterpretedOption?: ...;
                        };
                    }[];
                    options?: {
                        deprecated?: boolean;
                        mapEntry?: boolean;
                        messageSetWireFormat?: boolean;
                        noStandardDescriptorAccessor?: boolean;
                        uninterpretedOption?: {
                            aggregateValue?: ...;
                            doubleValue?: ...;
                            identifierValue?: ...;
                            name?: ...;
                            negativeIntValue?: ...;
                            positiveIntValue?: ...;
                            stringValue?: ...;
                        }[];
                    };
                    reservedName?: string[];
                    reservedRange?: {
                        end?: number;
                        start?: number;
                    }[];
                }[];
                name?: string;
                options?: {
                    ccEnableArenas?: boolean;
                    ccGenericServices?: boolean;
                    csharpNamespace?: string;
                    deprecated?: boolean;
                    goPackage?: string;
                    javaGenerateEqualsAndHash?: boolean;
                    javaGenericServices?: boolean;
                    javaMultipleFiles?: boolean;
                    javaOuterClassname?: string;
                    javaPackage?: string;
                    javaStringCheckUtf8?: boolean;
                    objcClassPrefix?: string;
                    optimizeFor?: FileOptions_OptimizeMode;
                    phpClassPrefix?: string;
                    phpGenericServices?: boolean;
                    phpMetadataNamespace?: string;
                    phpNamespace?: string;
                    pyGenericServices?: boolean;
                    rubyPackage?: string;
                    swiftPrefix?: string;
                    uninterpretedOption?: {
                        aggregateValue?: string;
                        doubleValue?: number;
                        identifierValue?: string;
                        name?: {
                            isExtension?: ...;
                            namePart?: ...;
                        }[];
                        negativeIntValue?: bigint;
                        positiveIntValue?: bigint;
                        stringValue?: Uint8Array;
                    }[];
                };
                package?: string;
                publicDependency?: number[];
                service?: {
                    method?: {
                        clientStreaming?: boolean;
                        inputType?: string;
                        name?: string;
                        options?: {
                            deprecated?: ...;
                            idempotencyLevel?: ...;
                            uninterpretedOption?: ...;
                        };
                        outputType?: string;
                        serverStreaming?: boolean;
                    }[];
                    name?: string;
                    options?: {
                        deprecated?: boolean;
                        uninterpretedOption?: {
                            aggregateValue?: ...;
                            doubleValue?: ...;
                            identifierValue?: ...;
                            name?: ...;
                            negativeIntValue?: ...;
                            positiveIntValue?: ...;
                            stringValue?: ...;
                        }[];
                    };
                }[];
                sourceCodeInfo?: {
                    location?: {
                        leadingComments?: string;
                        leadingDetachedComments?: string[];
                        path?: number[];
                        span?: number[];
                        trailingComments?: string;
                    }[];
                };
                syntax?: string;
                weakDependency?: number[];
            }
            • Optionaldependency?: string[]

              Names of files imported by this file.

            • OptionalenumType?: {
                  name?: string;
                  options?: {
                      allowAlias?: boolean;
                      deprecated?: boolean;
                      uninterpretedOption?: {
                          aggregateValue?: ...;
                          doubleValue?: ...;
                          identifierValue?: ...;
                          name?: ...;
                          negativeIntValue?: ...;
                          positiveIntValue?: ...;
                          stringValue?: ...;
                      }[];
                  };
                  reservedName?: string[];
                  reservedRange?: {
                      end?: number;
                      start?: number;
                  }[];
                  value?: {
                      name?: string;
                      number?: number;
                      options?: {
                          deprecated?: ...;
                          uninterpretedOption?: ...;
                      };
                  }[];
              }[]
            • Optionalextension?: {
                  defaultValue?: string;
                  extendee?: string;
                  jsonName?: string;
                  label?: FieldDescriptorProto_Label;
                  name?: string;
                  number?: number;
                  oneofIndex?: number;
                  options?: {
                      ctype?: FieldOptions_CType;
                      deprecated?: boolean;
                      jstype?: FieldOptions_JSType;
                      lazy?: boolean;
                      packed?: boolean;
                      uninterpretedOption?: {
                          aggregateValue?: ...;
                          doubleValue?: ...;
                          identifierValue?: ...;
                          name?: ...;
                          negativeIntValue?: ...;
                          positiveIntValue?: ...;
                          stringValue?: ...;
                      }[];
                      weak?: boolean;
                  };
                  type?: FieldDescriptorProto_Type;
                  typeName?: string;
              }[]
            • OptionalmessageType?: {
                  enumType?: {
                      name?: string;
                      options?: {
                          allowAlias?: ...;
                          deprecated?: ...;
                          uninterpretedOption?: ...;
                      };
                      reservedName?: (...)[];
                      reservedRange?: (...)[];
                      value?: (...)[];
                  }[];
                  extension?: {
                      defaultValue?: string;
                      extendee?: string;
                      jsonName?: string;
                      label?: FieldDescriptorProto_Label;
                      name?: string;
                      number?: number;
                      oneofIndex?: number;
                      options?: {
                          ctype?: ...;
                          deprecated?: ...;
                          jstype?: ...;
                          lazy?: ...;
                          packed?: ...;
                          uninterpretedOption?: ...;
                          weak?: ...;
                      };
                      type?: FieldDescriptorProto_Type;
                      typeName?: string;
                  }[];
                  extensionRange?: {
                      end?: number;
                      options?: {
                          uninterpretedOption?: ...;
                      };
                      start?: number;
                  }[];
                  field?: {
                      defaultValue?: string;
                      extendee?: string;
                      jsonName?: string;
                      label?: FieldDescriptorProto_Label;
                      name?: string;
                      number?: number;
                      oneofIndex?: number;
                      options?: {
                          ctype?: ...;
                          deprecated?: ...;
                          jstype?: ...;
                          lazy?: ...;
                          packed?: ...;
                          uninterpretedOption?: ...;
                          weak?: ...;
                      };
                      type?: FieldDescriptorProto_Type;
                      typeName?: string;
                  }[];
                  name?: string;
                  nestedType?: { name?: string | undefined; field?: { name?: string | undefined; number?: number | undefined; label?: FieldDescriptorProto_Label | undefined; type?: FieldDescriptorProto_Type | undefined; ... 5 more ...; options?: { ...; } | undefined; }[] | undefined; ... 7 more ...; reservedName?: string[] | undefined; }[] | unde...;
                  oneofDecl?: {
                      name?: string;
                      options?: {
                          uninterpretedOption?: ...;
                      };
                  }[];
                  options?: {
                      deprecated?: boolean;
                      mapEntry?: boolean;
                      messageSetWireFormat?: boolean;
                      noStandardDescriptorAccessor?: boolean;
                      uninterpretedOption?: {
                          aggregateValue?: ...;
                          doubleValue?: ...;
                          identifierValue?: ...;
                          name?: ...;
                          negativeIntValue?: ...;
                          positiveIntValue?: ...;
                          stringValue?: ...;
                      }[];
                  };
                  reservedName?: string[];
                  reservedRange?: {
                      end?: number;
                      start?: number;
                  }[];
              }[]

              All top-level definitions in this file.

            • Optionalname?: string

              file name, relative to root of source tree

            • Optionaloptions?: {
                  ccEnableArenas?: boolean;
                  ccGenericServices?: boolean;
                  csharpNamespace?: string;
                  deprecated?: boolean;
                  goPackage?: string;
                  javaGenerateEqualsAndHash?: boolean;
                  javaGenericServices?: boolean;
                  javaMultipleFiles?: boolean;
                  javaOuterClassname?: string;
                  javaPackage?: string;
                  javaStringCheckUtf8?: boolean;
                  objcClassPrefix?: string;
                  optimizeFor?: FileOptions_OptimizeMode;
                  phpClassPrefix?: string;
                  phpGenericServices?: boolean;
                  phpMetadataNamespace?: string;
                  phpNamespace?: string;
                  pyGenericServices?: boolean;
                  rubyPackage?: string;
                  swiftPrefix?: string;
                  uninterpretedOption?: {
                      aggregateValue?: string;
                      doubleValue?: number;
                      identifierValue?: string;
                      name?: {
                          isExtension?: ...;
                          namePart?: ...;
                      }[];
                      negativeIntValue?: bigint;
                      positiveIntValue?: bigint;
                      stringValue?: Uint8Array;
                  }[];
              }
              • OptionalccEnableArenas?: boolean

                Enables the use of arenas for the proto messages in this file. This applies only to generated classes for C++.

              • OptionalccGenericServices?: boolean

                Should generic services be generated in each language? "Generic" services are not specific to any particular RPC system. They are generated by the main code generators in each language (without additional plugins). Generic services were the only kind of service generation supported by early versions of google.protobuf.

                Generic services are now considered deprecated in favor of using plugins that generate code specific to your particular RPC system. Therefore, these default to false. Old code which depends on generic services should explicitly set them to true.

              • OptionalcsharpNamespace?: string

                Namespace for generated classes; defaults to the package.

              • Optionaldeprecated?: boolean

                Is this file deprecated? Depending on the target platform, this can emit Deprecated annotations for everything in the file, or it will be completely ignored; in the very least, this is a formalization for deprecating files.

              • OptionalgoPackage?: string

                Sets the Go package where structs generated from this .proto will be placed. If omitted, the Go package will be derived from the following:

                • The basename of the package import path, if provided.
                • Otherwise, the package statement in the .proto file, if present.
                • Otherwise, the basename of the .proto file, without extension.
              • OptionaljavaGenerateEqualsAndHash?: boolean
              • OptionaljavaGenericServices?: boolean
              • OptionaljavaMultipleFiles?: boolean

                If set true, then the Java code generator will generate a separate .java file for each top-level message, enum, and service defined in the .proto file. Thus, these types will not be nested inside the outer class named by java_outer_classname. However, the outer class will still be generated to contain the file's getDescriptor() method as well as any top-level extensions defined in the file.

              • OptionaljavaOuterClassname?: string

                If set, all the classes from the .proto file are wrapped in a single outer class with the given name. This applies to both Proto1 (equivalent to the old "--one_java_file" option) and Proto2 (where a .proto always translates to a single class, but you may want to explicitly choose the class name).

              • OptionaljavaPackage?: string

                Sets the Java package where classes generated from this .proto will be placed. By default, the proto package is used, but this is often inappropriate because proto packages do not normally start with backwards domain names.

              • OptionaljavaStringCheckUtf8?: boolean

                If set true, then the Java2 code generator will generate code that throws an exception whenever an attempt is made to assign a non-UTF-8 byte sequence to a string field. Message reflection will do the same. However, an extension field still accepts non-UTF-8 byte sequences. This option has no effect on when used with the lite runtime.

              • OptionalobjcClassPrefix?: string

                Sets the objective c class prefix which is prepended to all objective c generated classes from this .proto. There is no default.

              • OptionaloptimizeFor?: FileOptions_OptimizeMode
              • OptionalphpClassPrefix?: string

                Sets the php class prefix which is prepended to all php generated classes from this .proto. Default is empty.

              • OptionalphpGenericServices?: boolean
              • OptionalphpMetadataNamespace?: string

                Use this option to change the namespace of php generated metadata classes. Default is empty. When this option is empty, the proto file name will be used for determining the namespace.

              • OptionalphpNamespace?: string

                Use this option to change the namespace of php generated classes. Default is empty. When this option is empty, the package name will be used for determining the namespace.

              • OptionalpyGenericServices?: boolean
              • OptionalrubyPackage?: string

                Use this option to change the package of ruby generated classes. Default is empty. When this option is not set, the package name will be used for determining the ruby package.

              • OptionalswiftPrefix?: string

                By default Swift generators will take the proto package and CamelCase it replacing '.' with underscore and use that to prefix the types/symbols defined. When this options is provided, they will use this value instead to prefix the types/symbols defined.

              • OptionaluninterpretedOption?: {
                    aggregateValue?: string;
                    doubleValue?: number;
                    identifierValue?: string;
                    name?: {
                        isExtension?: ...;
                        namePart?: ...;
                    }[];
                    negativeIntValue?: bigint;
                    positiveIntValue?: bigint;
                    stringValue?: Uint8Array;
                }[]

                The parser stores options it doesn't recognize here. See the documentation for the "Options" section above.

            • Optionalpackage?: string
            • OptionalpublicDependency?: number[]

              Indexes of the public imported files in the dependency list above.

            • Optionalservice?: {
                  method?: {
                      clientStreaming?: boolean;
                      inputType?: string;
                      name?: string;
                      options?: {
                          deprecated?: ...;
                          idempotencyLevel?: ...;
                          uninterpretedOption?: ...;
                      };
                      outputType?: string;
                      serverStreaming?: boolean;
                  }[];
                  name?: string;
                  options?: {
                      deprecated?: boolean;
                      uninterpretedOption?: {
                          aggregateValue?: ...;
                          doubleValue?: ...;
                          identifierValue?: ...;
                          name?: ...;
                          negativeIntValue?: ...;
                          positiveIntValue?: ...;
                          stringValue?: ...;
                      }[];
                  };
              }[]
            • OptionalsourceCodeInfo?: {
                  location?: {
                      leadingComments?: string;
                      leadingDetachedComments?: string[];
                      path?: number[];
                      span?: number[];
                      trailingComments?: string;
                  }[];
              }

              This field contains optional information about the original source code. You may safely remove this entire field without harming runtime functionality of the descriptors -- the information is needed only by development tools.

              • Optionallocation?: {
                    leadingComments?: string;
                    leadingDetachedComments?: string[];
                    path?: number[];
                    span?: number[];
                    trailingComments?: string;
                }[]

                A Location identifies a piece of source code in a .proto file which corresponds to a particular definition. This information is intended to be useful to IDEs, code indexers, documentation generators, and similar tools.

                For example, say we have a file like: message Foo { optional string foo = 1; } Let's look at just the field definition: optional string foo = 1; ^ ^^ ^^ ^ ^^^ a bc de f ghi We have the following locations: span path represents [a,i) [ 4, 0, 2, 0 ] The whole field definition. [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). [c,d) [ 4, 0, 2, 0, 5 ] The type (string). [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). [g,h) [ 4, 0, 2, 0, 3 ] The number (1).

                Notes:

                • A location may refer to a repeated field itself (i.e. not to any particular index within it). This is used whenever a set of elements are logically enclosed in a single code segment. For example, an entire extend block (possibly containing multiple extension definitions) will have an outer location whose path refers to the "extensions" repeated field without an index.
                • Multiple locations may have the same path. This happens when a single logical declaration is spread out across multiple places. The most obvious example is the "extend" block again -- there may be multiple extend blocks in the same scope, each of which will have the same path.
                • A location's span is not always a subset of its parent's span. For example, the "extendee" of an extension declaration appears at the beginning of the "extend" block and is shared by all extensions within the block.
                • Just because a location's span is a subset of some other location's span does not mean that it is a descendant. For example, a "group" defines both a type and a field in a single declaration. Thus, the locations corresponding to the type and field and their components will overlap.
                • Code which tries to interpret locations should probably be designed to ignore those that it doesn't understand, as more types of locations could be recorded in the future.
            • Optionalsyntax?: string

              The syntax of the proto file. The supported values are "proto2" and "proto3".

            • OptionalweakDependency?: number[]

              Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.

          Returns FileDescriptorProto

      • fromProtoMsg:function
      • toAmino:function
      • toProto:function
        • Parameters

          Returns Uint8Array

      • toProtoMsg:function
    • FileDescriptorSet: {
          typeUrl: string;
          decode(input: Uint8Array | BinaryReader, length?: number): FileDescriptorSet;
          encode(message: FileDescriptorSet, writer?: BinaryWriter): BinaryWriter;
          fromAmino(object: FileDescriptorSetAmino): FileDescriptorSet;
          fromAminoMsg(object: FileDescriptorSetAminoMsg): FileDescriptorSet;
          fromPartial(object: {
              file?: {
                  dependency?: string[];
                  enumType?: {
                      name?: string;
                      options?: {
                          allowAlias?: ...;
                          deprecated?: ...;
                          uninterpretedOption?: ...;
                      };
                      reservedName?: (...)[];
                      reservedRange?: (...)[];
                      value?: (...)[];
                  }[];
                  extension?: {
                      defaultValue?: string;
                      extendee?: string;
                      jsonName?: string;
                      label?: FieldDescriptorProto_Label;
                      name?: string;
                      number?: number;
                      oneofIndex?: number;
                      options?: {
                          ctype?: ...;
                          deprecated?: ...;
                          jstype?: ...;
                          lazy?: ...;
                          packed?: ...;
                          uninterpretedOption?: ...;
                          weak?: ...;
                      };
                      type?: FieldDescriptorProto_Type;
                      typeName?: string;
                  }[];
                  messageType?: {
                      enumType?: (...)[];
                      extension?: (...)[];
                      extensionRange?: (...)[];
                      field?: (...)[];
                      name?: string;
                      nestedType?: { name?: string | undefined; field?: { name?: string | undefined; number?: number | undefined; label?: FieldDescriptorProto_Label | undefined; type?: FieldDescriptorProto_Type | undefined; ... 5 more ...; options?: { ...; } | undefined; }[] | undefined; ... 7 more ...; reservedName?: string[] | undefined; }[] | unde...;
                      oneofDecl?: (...)[];
                      options?: {
                          deprecated?: ...;
                          mapEntry?: ...;
                          messageSetWireFormat?: ...;
                          noStandardDescriptorAccessor?: ...;
                          uninterpretedOption?: ...;
                      };
                      reservedName?: (...)[];
                      reservedRange?: (...)[];
                  }[];
                  name?: string;
                  options?: {
                      ccEnableArenas?: boolean;
                      ccGenericServices?: boolean;
                      csharpNamespace?: string;
                      deprecated?: boolean;
                      goPackage?: string;
                      javaGenerateEqualsAndHash?: boolean;
                      javaGenericServices?: boolean;
                      javaMultipleFiles?: boolean;
                      javaOuterClassname?: string;
                      javaPackage?: string;
                      javaStringCheckUtf8?: boolean;
                      objcClassPrefix?: string;
                      optimizeFor?: FileOptions_OptimizeMode;
                      phpClassPrefix?: string;
                      phpGenericServices?: boolean;
                      phpMetadataNamespace?: string;
                      phpNamespace?: string;
                      pyGenericServices?: boolean;
                      rubyPackage?: string;
                      swiftPrefix?: string;
                      uninterpretedOption?: {
                          aggregateValue?: ...;
                          doubleValue?: ...;
                          identifierValue?: ...;
                          name?: ...;
                          negativeIntValue?: ...;
                          positiveIntValue?: ...;
                          stringValue?: ...;
                      }[];
                  };
                  package?: string;
                  publicDependency?: number[];
                  service?: {
                      method?: (...)[];
                      name?: string;
                      options?: {
                          deprecated?: ...;
                          uninterpretedOption?: ...;
                      };
                  }[];
                  sourceCodeInfo?: {
                      location?: {
                          leadingComments?: ...;
                          leadingDetachedComments?: ...;
                          path?: ...;
                          span?: ...;
                          trailingComments?: ...;
                      }[];
                  };
                  syntax?: string;
                  weakDependency?: number[];
              }[];
          }): FileDescriptorSet;
          fromProtoMsg(message: FileDescriptorSetProtoMsg): FileDescriptorSet;
          toAmino(message: FileDescriptorSet): FileDescriptorSetAmino;
          toProto(message: FileDescriptorSet): Uint8Array;
          toProtoMsg(message: FileDescriptorSet): FileDescriptorSetProtoMsg;
      }
      • typeUrl: string
      • decode:function
      • encode:function
      • fromAmino:function
      • fromAminoMsg:function
      • fromPartial:function
        • Parameters

          • object: {
                file?: {
                    dependency?: string[];
                    enumType?: {
                        name?: string;
                        options?: {
                            allowAlias?: ...;
                            deprecated?: ...;
                            uninterpretedOption?: ...;
                        };
                        reservedName?: (...)[];
                        reservedRange?: (...)[];
                        value?: (...)[];
                    }[];
                    extension?: {
                        defaultValue?: string;
                        extendee?: string;
                        jsonName?: string;
                        label?: FieldDescriptorProto_Label;
                        name?: string;
                        number?: number;
                        oneofIndex?: number;
                        options?: {
                            ctype?: ...;
                            deprecated?: ...;
                            jstype?: ...;
                            lazy?: ...;
                            packed?: ...;
                            uninterpretedOption?: ...;
                            weak?: ...;
                        };
                        type?: FieldDescriptorProto_Type;
                        typeName?: string;
                    }[];
                    messageType?: {
                        enumType?: (...)[];
                        extension?: (...)[];
                        extensionRange?: (...)[];
                        field?: (...)[];
                        name?: string;
                        nestedType?: { name?: string | undefined; field?: { name?: string | undefined; number?: number | undefined; label?: FieldDescriptorProto_Label | undefined; type?: FieldDescriptorProto_Type | undefined; ... 5 more ...; options?: { ...; } | undefined; }[] | undefined; ... 7 more ...; reservedName?: string[] | undefined; }[] | unde...;
                        oneofDecl?: (...)[];
                        options?: {
                            deprecated?: ...;
                            mapEntry?: ...;
                            messageSetWireFormat?: ...;
                            noStandardDescriptorAccessor?: ...;
                            uninterpretedOption?: ...;
                        };
                        reservedName?: (...)[];
                        reservedRange?: (...)[];
                    }[];
                    name?: string;
                    options?: {
                        ccEnableArenas?: boolean;
                        ccGenericServices?: boolean;
                        csharpNamespace?: string;
                        deprecated?: boolean;
                        goPackage?: string;
                        javaGenerateEqualsAndHash?: boolean;
                        javaGenericServices?: boolean;
                        javaMultipleFiles?: boolean;
                        javaOuterClassname?: string;
                        javaPackage?: string;
                        javaStringCheckUtf8?: boolean;
                        objcClassPrefix?: string;
                        optimizeFor?: FileOptions_OptimizeMode;
                        phpClassPrefix?: string;
                        phpGenericServices?: boolean;
                        phpMetadataNamespace?: string;
                        phpNamespace?: string;
                        pyGenericServices?: boolean;
                        rubyPackage?: string;
                        swiftPrefix?: string;
                        uninterpretedOption?: {
                            aggregateValue?: ...;
                            doubleValue?: ...;
                            identifierValue?: ...;
                            name?: ...;
                            negativeIntValue?: ...;
                            positiveIntValue?: ...;
                            stringValue?: ...;
                        }[];
                    };
                    package?: string;
                    publicDependency?: number[];
                    service?: {
                        method?: (...)[];
                        name?: string;
                        options?: {
                            deprecated?: ...;
                            uninterpretedOption?: ...;
                        };
                    }[];
                    sourceCodeInfo?: {
                        location?: {
                            leadingComments?: ...;
                            leadingDetachedComments?: ...;
                            path?: ...;
                            span?: ...;
                            trailingComments?: ...;
                        }[];
                    };
                    syntax?: string;
                    weakDependency?: number[];
                }[];
            }
            • Optionalfile?: {
                  dependency?: string[];
                  enumType?: {
                      name?: string;
                      options?: {
                          allowAlias?: ...;
                          deprecated?: ...;
                          uninterpretedOption?: ...;
                      };
                      reservedName?: (...)[];
                      reservedRange?: (...)[];
                      value?: (...)[];
                  }[];
                  extension?: {
                      defaultValue?: string;
                      extendee?: string;
                      jsonName?: string;
                      label?: FieldDescriptorProto_Label;
                      name?: string;
                      number?: number;
                      oneofIndex?: number;
                      options?: {
                          ctype?: ...;
                          deprecated?: ...;
                          jstype?: ...;
                          lazy?: ...;
                          packed?: ...;
                          uninterpretedOption?: ...;
                          weak?: ...;
                      };
                      type?: FieldDescriptorProto_Type;
                      typeName?: string;
                  }[];
                  messageType?: {
                      enumType?: (...)[];
                      extension?: (...)[];
                      extensionRange?: (...)[];
                      field?: (...)[];
                      name?: string;
                      nestedType?: { name?: string | undefined; field?: { name?: string | undefined; number?: number | undefined; label?: FieldDescriptorProto_Label | undefined; type?: FieldDescriptorProto_Type | undefined; ... 5 more ...; options?: { ...; } | undefined; }[] | undefined; ... 7 more ...; reservedName?: string[] | undefined; }[] | unde...;
                      oneofDecl?: (...)[];
                      options?: {
                          deprecated?: ...;
                          mapEntry?: ...;
                          messageSetWireFormat?: ...;
                          noStandardDescriptorAccessor?: ...;
                          uninterpretedOption?: ...;
                      };
                      reservedName?: (...)[];
                      reservedRange?: (...)[];
                  }[];
                  name?: string;
                  options?: {
                      ccEnableArenas?: boolean;
                      ccGenericServices?: boolean;
                      csharpNamespace?: string;
                      deprecated?: boolean;
                      goPackage?: string;
                      javaGenerateEqualsAndHash?: boolean;
                      javaGenericServices?: boolean;
                      javaMultipleFiles?: boolean;
                      javaOuterClassname?: string;
                      javaPackage?: string;
                      javaStringCheckUtf8?: boolean;
                      objcClassPrefix?: string;
                      optimizeFor?: FileOptions_OptimizeMode;
                      phpClassPrefix?: string;
                      phpGenericServices?: boolean;
                      phpMetadataNamespace?: string;
                      phpNamespace?: string;
                      pyGenericServices?: boolean;
                      rubyPackage?: string;
                      swiftPrefix?: string;
                      uninterpretedOption?: {
                          aggregateValue?: ...;
                          doubleValue?: ...;
                          identifierValue?: ...;
                          name?: ...;
                          negativeIntValue?: ...;
                          positiveIntValue?: ...;
                          stringValue?: ...;
                      }[];
                  };
                  package?: string;
                  publicDependency?: number[];
                  service?: {
                      method?: (...)[];
                      name?: string;
                      options?: {
                          deprecated?: ...;
                          uninterpretedOption?: ...;
                      };
                  }[];
                  sourceCodeInfo?: {
                      location?: {
                          leadingComments?: ...;
                          leadingDetachedComments?: ...;
                          path?: ...;
                          span?: ...;
                          trailingComments?: ...;
                      }[];
                  };
                  syntax?: string;
                  weakDependency?: number[];
              }[]

          Returns FileDescriptorSet

      • fromProtoMsg:function
      • toAmino:function
      • toProto:function
        • Parameters

          Returns Uint8Array

      • toProtoMsg:function
    • FileOptions: {
          typeUrl: string;
          decode(input: Uint8Array | BinaryReader, length?: number): FileOptions;
          encode(message: FileOptions, writer?: BinaryWriter): BinaryWriter;
          fromAmino(object: FileOptionsAmino): FileOptions;
          fromAminoMsg(object: FileOptionsAminoMsg): FileOptions;
          fromPartial(object: {
              ccEnableArenas?: boolean;
              ccGenericServices?: boolean;
              csharpNamespace?: string;
              deprecated?: boolean;
              goPackage?: string;
              javaGenerateEqualsAndHash?: boolean;
              javaGenericServices?: boolean;
              javaMultipleFiles?: boolean;
              javaOuterClassname?: string;
              javaPackage?: string;
              javaStringCheckUtf8?: boolean;
              objcClassPrefix?: string;
              optimizeFor?: FileOptions_OptimizeMode;
              phpClassPrefix?: string;
              phpGenericServices?: boolean;
              phpMetadataNamespace?: string;
              phpNamespace?: string;
              pyGenericServices?: boolean;
              rubyPackage?: string;
              swiftPrefix?: string;
              uninterpretedOption?: {
                  aggregateValue?: string;
                  doubleValue?: number;
                  identifierValue?: string;
                  name?: {
                      isExtension?: boolean;
                      namePart?: string;
                  }[];
                  negativeIntValue?: bigint;
                  positiveIntValue?: bigint;
                  stringValue?: Uint8Array;
              }[];
          }): FileOptions;
          fromProtoMsg(message: FileOptionsProtoMsg): FileOptions;
          toAmino(message: FileOptions): FileOptionsAmino;
          toProto(message: FileOptions): Uint8Array;
          toProtoMsg(message: FileOptions): FileOptionsProtoMsg;
      }
      • typeUrl: string
      • decode:function
        • Parameters

          Returns FileOptions

      • encode:function
      • fromAmino:function
      • fromAminoMsg:function
      • fromPartial:function
        • Parameters

          • object: {
                ccEnableArenas?: boolean;
                ccGenericServices?: boolean;
                csharpNamespace?: string;
                deprecated?: boolean;
                goPackage?: string;
                javaGenerateEqualsAndHash?: boolean;
                javaGenericServices?: boolean;
                javaMultipleFiles?: boolean;
                javaOuterClassname?: string;
                javaPackage?: string;
                javaStringCheckUtf8?: boolean;
                objcClassPrefix?: string;
                optimizeFor?: FileOptions_OptimizeMode;
                phpClassPrefix?: string;
                phpGenericServices?: boolean;
                phpMetadataNamespace?: string;
                phpNamespace?: string;
                pyGenericServices?: boolean;
                rubyPackage?: string;
                swiftPrefix?: string;
                uninterpretedOption?: {
                    aggregateValue?: string;
                    doubleValue?: number;
                    identifierValue?: string;
                    name?: {
                        isExtension?: boolean;
                        namePart?: string;
                    }[];
                    negativeIntValue?: bigint;
                    positiveIntValue?: bigint;
                    stringValue?: Uint8Array;
                }[];
            }
            • OptionalccEnableArenas?: boolean

              Enables the use of arenas for the proto messages in this file. This applies only to generated classes for C++.

            • OptionalccGenericServices?: boolean

              Should generic services be generated in each language? "Generic" services are not specific to any particular RPC system. They are generated by the main code generators in each language (without additional plugins). Generic services were the only kind of service generation supported by early versions of google.protobuf.

              Generic services are now considered deprecated in favor of using plugins that generate code specific to your particular RPC system. Therefore, these default to false. Old code which depends on generic services should explicitly set them to true.

            • OptionalcsharpNamespace?: string

              Namespace for generated classes; defaults to the package.

            • Optionaldeprecated?: boolean

              Is this file deprecated? Depending on the target platform, this can emit Deprecated annotations for everything in the file, or it will be completely ignored; in the very least, this is a formalization for deprecating files.

            • OptionalgoPackage?: string

              Sets the Go package where structs generated from this .proto will be placed. If omitted, the Go package will be derived from the following:

              • The basename of the package import path, if provided.
              • Otherwise, the package statement in the .proto file, if present.
              • Otherwise, the basename of the .proto file, without extension.
            • OptionaljavaGenerateEqualsAndHash?: boolean
            • OptionaljavaGenericServices?: boolean
            • OptionaljavaMultipleFiles?: boolean

              If set true, then the Java code generator will generate a separate .java file for each top-level message, enum, and service defined in the .proto file. Thus, these types will not be nested inside the outer class named by java_outer_classname. However, the outer class will still be generated to contain the file's getDescriptor() method as well as any top-level extensions defined in the file.

            • OptionaljavaOuterClassname?: string

              If set, all the classes from the .proto file are wrapped in a single outer class with the given name. This applies to both Proto1 (equivalent to the old "--one_java_file" option) and Proto2 (where a .proto always translates to a single class, but you may want to explicitly choose the class name).

            • OptionaljavaPackage?: string

              Sets the Java package where classes generated from this .proto will be placed. By default, the proto package is used, but this is often inappropriate because proto packages do not normally start with backwards domain names.

            • OptionaljavaStringCheckUtf8?: boolean

              If set true, then the Java2 code generator will generate code that throws an exception whenever an attempt is made to assign a non-UTF-8 byte sequence to a string field. Message reflection will do the same. However, an extension field still accepts non-UTF-8 byte sequences. This option has no effect on when used with the lite runtime.

            • OptionalobjcClassPrefix?: string

              Sets the objective c class prefix which is prepended to all objective c generated classes from this .proto. There is no default.

            • OptionaloptimizeFor?: FileOptions_OptimizeMode
            • OptionalphpClassPrefix?: string

              Sets the php class prefix which is prepended to all php generated classes from this .proto. Default is empty.

            • OptionalphpGenericServices?: boolean
            • OptionalphpMetadataNamespace?: string

              Use this option to change the namespace of php generated metadata classes. Default is empty. When this option is empty, the proto file name will be used for determining the namespace.

            • OptionalphpNamespace?: string

              Use this option to change the namespace of php generated classes. Default is empty. When this option is empty, the package name will be used for determining the namespace.

            • OptionalpyGenericServices?: boolean
            • OptionalrubyPackage?: string

              Use this option to change the package of ruby generated classes. Default is empty. When this option is not set, the package name will be used for determining the ruby package.

            • OptionalswiftPrefix?: string

              By default Swift generators will take the proto package and CamelCase it replacing '.' with underscore and use that to prefix the types/symbols defined. When this options is provided, they will use this value instead to prefix the types/symbols defined.

            • OptionaluninterpretedOption?: {
                  aggregateValue?: string;
                  doubleValue?: number;
                  identifierValue?: string;
                  name?: {
                      isExtension?: boolean;
                      namePart?: string;
                  }[];
                  negativeIntValue?: bigint;
                  positiveIntValue?: bigint;
                  stringValue?: Uint8Array;
              }[]

              The parser stores options it doesn't recognize here. See the documentation for the "Options" section above.

          Returns FileOptions

      • fromProtoMsg:function
      • toAmino:function
      • toProto:function
        • Parameters

          Returns Uint8Array

      • toProtoMsg:function
    • FileOptions_OptimizeModeAmino: typeof FileOptions_OptimizeMode
    • FileOptions_OptimizeModeSDKType: typeof FileOptions_OptimizeMode
    • GeneratedCodeInfo: {
          typeUrl: string;
          decode(input: Uint8Array | BinaryReader, length?: number): GeneratedCodeInfo;
          encode(message: GeneratedCodeInfo, writer?: BinaryWriter): BinaryWriter;
          fromAmino(object: GeneratedCodeInfoAmino): GeneratedCodeInfo;
          fromAminoMsg(object: GeneratedCodeInfoAminoMsg): GeneratedCodeInfo;
          fromPartial(object: {
              annotation?: {
                  begin?: number;
                  end?: number;
                  path?: number[];
                  sourceFile?: string;
              }[];
          }): GeneratedCodeInfo;
          fromProtoMsg(message: GeneratedCodeInfoProtoMsg): GeneratedCodeInfo;
          toAmino(message: GeneratedCodeInfo): GeneratedCodeInfoAmino;
          toProto(message: GeneratedCodeInfo): Uint8Array;
          toProtoMsg(message: GeneratedCodeInfo): GeneratedCodeInfoProtoMsg;
      }
    • GeneratedCodeInfo_Annotation: {
          typeUrl: string;
          decode(input: Uint8Array | BinaryReader, length?: number): GeneratedCodeInfo_Annotation;
          encode(message: GeneratedCodeInfo_Annotation, writer?: BinaryWriter): BinaryWriter;
          fromAmino(object: GeneratedCodeInfo_AnnotationAmino): GeneratedCodeInfo_Annotation;
          fromAminoMsg(object: GeneratedCodeInfo_AnnotationAminoMsg): GeneratedCodeInfo_Annotation;
          fromPartial(object: {
              begin?: number;
              end?: number;
              path?: number[];
              sourceFile?: string;
          }): GeneratedCodeInfo_Annotation;
          fromProtoMsg(message: GeneratedCodeInfo_AnnotationProtoMsg): GeneratedCodeInfo_Annotation;
          toAmino(message: GeneratedCodeInfo_Annotation): GeneratedCodeInfo_AnnotationAmino;
          toProto(message: GeneratedCodeInfo_Annotation): Uint8Array;
          toProtoMsg(message: GeneratedCodeInfo_Annotation): GeneratedCodeInfo_AnnotationProtoMsg;
      }
    • MessageOptions: {
          typeUrl: string;
          decode(input: Uint8Array | BinaryReader, length?: number): MessageOptions;
          encode(message: MessageOptions, writer?: BinaryWriter): BinaryWriter;
          fromAmino(object: MessageOptionsAmino): MessageOptions;
          fromAminoMsg(object: MessageOptionsAminoMsg): MessageOptions;
          fromPartial(object: {
              deprecated?: boolean;
              mapEntry?: boolean;
              messageSetWireFormat?: boolean;
              noStandardDescriptorAccessor?: boolean;
              uninterpretedOption?: {
                  aggregateValue?: string;
                  doubleValue?: number;
                  identifierValue?: string;
                  name?: {
                      isExtension?: boolean;
                      namePart?: string;
                  }[];
                  negativeIntValue?: bigint;
                  positiveIntValue?: bigint;
                  stringValue?: Uint8Array;
              }[];
          }): MessageOptions;
          fromProtoMsg(message: MessageOptionsProtoMsg): MessageOptions;
          toAmino(message: MessageOptions): MessageOptionsAmino;
          toProto(message: MessageOptions): Uint8Array;
          toProtoMsg(message: MessageOptions): MessageOptionsProtoMsg;
      }
      • typeUrl: string
      • decode:function
      • encode:function
      • fromAmino:function
      • fromAminoMsg:function
      • fromPartial:function
        • Parameters

          • object: {
                deprecated?: boolean;
                mapEntry?: boolean;
                messageSetWireFormat?: boolean;
                noStandardDescriptorAccessor?: boolean;
                uninterpretedOption?: {
                    aggregateValue?: string;
                    doubleValue?: number;
                    identifierValue?: string;
                    name?: {
                        isExtension?: boolean;
                        namePart?: string;
                    }[];
                    negativeIntValue?: bigint;
                    positiveIntValue?: bigint;
                    stringValue?: Uint8Array;
                }[];
            }
            • Optionaldeprecated?: boolean

              Is this message deprecated? Depending on the target platform, this can emit Deprecated annotations for the message, or it will be completely ignored; in the very least, this is a formalization for deprecating messages.

            • OptionalmapEntry?: boolean

              Whether the message is an automatically generated map entry type for the maps field.

              For maps fields: map<KeyType, ValueType> map_field = 1; The parsed descriptor looks like: message MapFieldEntry { option map_entry = true; optional KeyType key = 1; optional ValueType value = 2; } repeated MapFieldEntry map_field = 1;

              Implementations may choose not to generate the map_entry=true message, but use a native map in the target language to hold the keys and values. The reflection APIs in such implementations still need to work as if the field is a repeated message field.

              NOTE: Do not set the option in .proto files. Always use the maps syntax instead. The option should only be implicitly set by the proto compiler parser.

            • OptionalmessageSetWireFormat?: boolean

              Set true to use the old proto1 MessageSet wire format for extensions. This is provided for backwards-compatibility with the MessageSet wire format. You should not use this for any other reason: It's less efficient, has fewer features, and is more complicated.

              The message must be defined exactly as follows: message Foo { option message_set_wire_format = true; extensions 4 to max; } Note that the message cannot have any defined fields; MessageSets only have extensions.

              All extensions of your type must be singular messages; e.g. they cannot be int32s, enums, or repeated messages.

              Because this is an option, the above two restrictions are not enforced by the protocol compiler.

            • OptionalnoStandardDescriptorAccessor?: boolean

              Disables the generation of the standard "descriptor()" accessor, which can conflict with a field of the same name. This is meant to make migration from proto1 easier; new code should avoid fields named "descriptor".

            • OptionaluninterpretedOption?: {
                  aggregateValue?: string;
                  doubleValue?: number;
                  identifierValue?: string;
                  name?: {
                      isExtension?: boolean;
                      namePart?: string;
                  }[];
                  negativeIntValue?: bigint;
                  positiveIntValue?: bigint;
                  stringValue?: Uint8Array;
              }[]

              The parser stores options it doesn't recognize here. See above.

          Returns MessageOptions

      • fromProtoMsg:function
      • toAmino:function
      • toProto:function
        • Parameters

          Returns Uint8Array

      • toProtoMsg:function
    • MethodDescriptorProto: {
          typeUrl: string;
          decode(input: Uint8Array | BinaryReader, length?: number): MethodDescriptorProto;
          encode(message: MethodDescriptorProto, writer?: BinaryWriter): BinaryWriter;
          fromAmino(object: MethodDescriptorProtoAmino): MethodDescriptorProto;
          fromAminoMsg(object: MethodDescriptorProtoAminoMsg): MethodDescriptorProto;
          fromPartial(object: {
              clientStreaming?: boolean;
              inputType?: string;
              name?: string;
              options?: {
                  deprecated?: boolean;
                  idempotencyLevel?: MethodOptions_IdempotencyLevel;
                  uninterpretedOption?: {
                      aggregateValue?: string;
                      doubleValue?: number;
                      identifierValue?: string;
                      name?: {
                          isExtension?: ...;
                          namePart?: ...;
                      }[];
                      negativeIntValue?: bigint;
                      positiveIntValue?: bigint;
                      stringValue?: Uint8Array;
                  }[];
              };
              outputType?: string;
              serverStreaming?: boolean;
          }): MethodDescriptorProto;
          fromProtoMsg(message: MethodDescriptorProtoProtoMsg): MethodDescriptorProto;
          toAmino(message: MethodDescriptorProto): MethodDescriptorProtoAmino;
          toProto(message: MethodDescriptorProto): Uint8Array;
          toProtoMsg(message: MethodDescriptorProto): MethodDescriptorProtoProtoMsg;
      }
      • typeUrl: string
      • decode:function
      • encode:function
      • fromAmino:function
      • fromAminoMsg:function
      • fromPartial:function
        • Parameters

          • object: {
                clientStreaming?: boolean;
                inputType?: string;
                name?: string;
                options?: {
                    deprecated?: boolean;
                    idempotencyLevel?: MethodOptions_IdempotencyLevel;
                    uninterpretedOption?: {
                        aggregateValue?: string;
                        doubleValue?: number;
                        identifierValue?: string;
                        name?: {
                            isExtension?: ...;
                            namePart?: ...;
                        }[];
                        negativeIntValue?: bigint;
                        positiveIntValue?: bigint;
                        stringValue?: Uint8Array;
                    }[];
                };
                outputType?: string;
                serverStreaming?: boolean;
            }
            • OptionalclientStreaming?: boolean

              Identifies if client streams multiple client messages

            • OptionalinputType?: string

              Input and output type names. These are resolved in the same way as FieldDescriptorProto.type_name, but must refer to a message type.

            • Optionalname?: string
            • Optionaloptions?: {
                  deprecated?: boolean;
                  idempotencyLevel?: MethodOptions_IdempotencyLevel;
                  uninterpretedOption?: {
                      aggregateValue?: string;
                      doubleValue?: number;
                      identifierValue?: string;
                      name?: {
                          isExtension?: ...;
                          namePart?: ...;
                      }[];
                      negativeIntValue?: bigint;
                      positiveIntValue?: bigint;
                      stringValue?: Uint8Array;
                  }[];
              }
              • Optionaldeprecated?: boolean

                Is this method deprecated? Depending on the target platform, this can emit Deprecated annotations for the method, or it will be completely ignored; in the very least, this is a formalization for deprecating methods.

              • OptionalidempotencyLevel?: MethodOptions_IdempotencyLevel
              • OptionaluninterpretedOption?: {
                    aggregateValue?: string;
                    doubleValue?: number;
                    identifierValue?: string;
                    name?: {
                        isExtension?: ...;
                        namePart?: ...;
                    }[];
                    negativeIntValue?: bigint;
                    positiveIntValue?: bigint;
                    stringValue?: Uint8Array;
                }[]

                The parser stores options it doesn't recognize here. See above.

            • OptionaloutputType?: string
            • OptionalserverStreaming?: boolean

              Identifies if server streams multiple server messages

          Returns MethodDescriptorProto

      • fromProtoMsg:function
      • toAmino:function
      • toProto:function
        • Parameters

          Returns Uint8Array

      • toProtoMsg:function
    • MethodOptions: {
          typeUrl: string;
          decode(input: Uint8Array | BinaryReader, length?: number): MethodOptions;
          encode(message: MethodOptions, writer?: BinaryWriter): BinaryWriter;
          fromAmino(object: MethodOptionsAmino): MethodOptions;
          fromAminoMsg(object: MethodOptionsAminoMsg): MethodOptions;
          fromPartial(object: {
              deprecated?: boolean;
              idempotencyLevel?: MethodOptions_IdempotencyLevel;
              uninterpretedOption?: {
                  aggregateValue?: string;
                  doubleValue?: number;
                  identifierValue?: string;
                  name?: {
                      isExtension?: boolean;
                      namePart?: string;
                  }[];
                  negativeIntValue?: bigint;
                  positiveIntValue?: bigint;
                  stringValue?: Uint8Array;
              }[];
          }): MethodOptions;
          fromProtoMsg(message: MethodOptionsProtoMsg): MethodOptions;
          toAmino(message: MethodOptions): MethodOptionsAmino;
          toProto(message: MethodOptions): Uint8Array;
          toProtoMsg(message: MethodOptions): MethodOptionsProtoMsg;
      }
      • typeUrl: string
      • decode:function
        • Parameters

          Returns MethodOptions

      • encode:function
      • fromAmino:function
      • fromAminoMsg:function
      • fromPartial:function
        • Parameters

          • object: {
                deprecated?: boolean;
                idempotencyLevel?: MethodOptions_IdempotencyLevel;
                uninterpretedOption?: {
                    aggregateValue?: string;
                    doubleValue?: number;
                    identifierValue?: string;
                    name?: {
                        isExtension?: boolean;
                        namePart?: string;
                    }[];
                    negativeIntValue?: bigint;
                    positiveIntValue?: bigint;
                    stringValue?: Uint8Array;
                }[];
            }
            • Optionaldeprecated?: boolean

              Is this method deprecated? Depending on the target platform, this can emit Deprecated annotations for the method, or it will be completely ignored; in the very least, this is a formalization for deprecating methods.

            • OptionalidempotencyLevel?: MethodOptions_IdempotencyLevel
            • OptionaluninterpretedOption?: {
                  aggregateValue?: string;
                  doubleValue?: number;
                  identifierValue?: string;
                  name?: {
                      isExtension?: boolean;
                      namePart?: string;
                  }[];
                  negativeIntValue?: bigint;
                  positiveIntValue?: bigint;
                  stringValue?: Uint8Array;
              }[]

              The parser stores options it doesn't recognize here. See above.

          Returns MethodOptions

      • fromProtoMsg:function
      • toAmino:function
      • toProto:function
        • Parameters

          Returns Uint8Array

      • toProtoMsg:function
    • MethodOptions_IdempotencyLevelAmino: typeof MethodOptions_IdempotencyLevel
    • MethodOptions_IdempotencyLevelSDKType: typeof MethodOptions_IdempotencyLevel
    • OneofDescriptorProto: {
          typeUrl: string;
          decode(input: Uint8Array | BinaryReader, length?: number): OneofDescriptorProto;
          encode(message: OneofDescriptorProto, writer?: BinaryWriter): BinaryWriter;
          fromAmino(object: OneofDescriptorProtoAmino): OneofDescriptorProto;
          fromAminoMsg(object: OneofDescriptorProtoAminoMsg): OneofDescriptorProto;
          fromPartial(object: {
              name?: string;
              options?: {
                  uninterpretedOption?: {
                      aggregateValue?: string;
                      doubleValue?: number;
                      identifierValue?: string;
                      name?: {
                          isExtension?: ...;
                          namePart?: ...;
                      }[];
                      negativeIntValue?: bigint;
                      positiveIntValue?: bigint;
                      stringValue?: Uint8Array;
                  }[];
              };
          }): OneofDescriptorProto;
          fromProtoMsg(message: OneofDescriptorProtoProtoMsg): OneofDescriptorProto;
          toAmino(message: OneofDescriptorProto): OneofDescriptorProtoAmino;
          toProto(message: OneofDescriptorProto): Uint8Array;
          toProtoMsg(message: OneofDescriptorProto): OneofDescriptorProtoProtoMsg;
      }
      • typeUrl: string
      • decode:function
      • encode:function
      • fromAmino:function
      • fromAminoMsg:function
      • fromPartial:function
        • Parameters

          • object: {
                name?: string;
                options?: {
                    uninterpretedOption?: {
                        aggregateValue?: string;
                        doubleValue?: number;
                        identifierValue?: string;
                        name?: {
                            isExtension?: ...;
                            namePart?: ...;
                        }[];
                        negativeIntValue?: bigint;
                        positiveIntValue?: bigint;
                        stringValue?: Uint8Array;
                    }[];
                };
            }
            • Optionalname?: string
            • Optionaloptions?: {
                  uninterpretedOption?: {
                      aggregateValue?: string;
                      doubleValue?: number;
                      identifierValue?: string;
                      name?: {
                          isExtension?: ...;
                          namePart?: ...;
                      }[];
                      negativeIntValue?: bigint;
                      positiveIntValue?: bigint;
                      stringValue?: Uint8Array;
                  }[];
              }
              • OptionaluninterpretedOption?: {
                    aggregateValue?: string;
                    doubleValue?: number;
                    identifierValue?: string;
                    name?: {
                        isExtension?: ...;
                        namePart?: ...;
                    }[];
                    negativeIntValue?: bigint;
                    positiveIntValue?: bigint;
                    stringValue?: Uint8Array;
                }[]

                The parser stores options it doesn't recognize here. See above.

          Returns OneofDescriptorProto

      • fromProtoMsg:function
      • toAmino:function
      • toProto:function
        • Parameters

          Returns Uint8Array

      • toProtoMsg:function
    • OneofOptions: {
          typeUrl: string;
          decode(input: Uint8Array | BinaryReader, length?: number): OneofOptions;
          encode(message: OneofOptions, writer?: BinaryWriter): BinaryWriter;
          fromAmino(object: OneofOptionsAmino): OneofOptions;
          fromAminoMsg(object: OneofOptionsAminoMsg): OneofOptions;
          fromPartial(object: {
              uninterpretedOption?: {
                  aggregateValue?: string;
                  doubleValue?: number;
                  identifierValue?: string;
                  name?: {
                      isExtension?: boolean;
                      namePart?: string;
                  }[];
                  negativeIntValue?: bigint;
                  positiveIntValue?: bigint;
                  stringValue?: Uint8Array;
              }[];
          }): OneofOptions;
          fromProtoMsg(message: OneofOptionsProtoMsg): OneofOptions;
          toAmino(message: OneofOptions): OneofOptionsAmino;
          toProto(message: OneofOptions): Uint8Array;
          toProtoMsg(message: OneofOptions): OneofOptionsProtoMsg;
      }
      • typeUrl: string
      • decode:function
        • Parameters

          Returns OneofOptions

      • encode:function
      • fromAmino:function
      • fromAminoMsg:function
      • fromPartial:function
        • Parameters

          • object: {
                uninterpretedOption?: {
                    aggregateValue?: string;
                    doubleValue?: number;
                    identifierValue?: string;
                    name?: {
                        isExtension?: boolean;
                        namePart?: string;
                    }[];
                    negativeIntValue?: bigint;
                    positiveIntValue?: bigint;
                    stringValue?: Uint8Array;
                }[];
            }
            • OptionaluninterpretedOption?: {
                  aggregateValue?: string;
                  doubleValue?: number;
                  identifierValue?: string;
                  name?: {
                      isExtension?: boolean;
                      namePart?: string;
                  }[];
                  negativeIntValue?: bigint;
                  positiveIntValue?: bigint;
                  stringValue?: Uint8Array;
              }[]

              The parser stores options it doesn't recognize here. See above.

          Returns OneofOptions

      • fromProtoMsg:function
      • toAmino:function
      • toProto:function
        • Parameters

          Returns Uint8Array

      • toProtoMsg:function
    • ServiceDescriptorProto: {
          typeUrl: string;
          decode(input: Uint8Array | BinaryReader, length?: number): ServiceDescriptorProto;
          encode(message: ServiceDescriptorProto, writer?: BinaryWriter): BinaryWriter;
          fromAmino(object: ServiceDescriptorProtoAmino): ServiceDescriptorProto;
          fromAminoMsg(object: ServiceDescriptorProtoAminoMsg): ServiceDescriptorProto;
          fromPartial(object: {
              method?: {
                  clientStreaming?: boolean;
                  inputType?: string;
                  name?: string;
                  options?: {
                      deprecated?: boolean;
                      idempotencyLevel?: MethodOptions_IdempotencyLevel;
                      uninterpretedOption?: {
                          aggregateValue?: ...;
                          doubleValue?: ...;
                          identifierValue?: ...;
                          name?: ...;
                          negativeIntValue?: ...;
                          positiveIntValue?: ...;
                          stringValue?: ...;
                      }[];
                  };
                  outputType?: string;
                  serverStreaming?: boolean;
              }[];
              name?: string;
              options?: {
                  deprecated?: boolean;
                  uninterpretedOption?: {
                      aggregateValue?: string;
                      doubleValue?: number;
                      identifierValue?: string;
                      name?: {
                          isExtension?: ...;
                          namePart?: ...;
                      }[];
                      negativeIntValue?: bigint;
                      positiveIntValue?: bigint;
                      stringValue?: Uint8Array;
                  }[];
              };
          }): ServiceDescriptorProto;
          fromProtoMsg(message: ServiceDescriptorProtoProtoMsg): ServiceDescriptorProto;
          toAmino(message: ServiceDescriptorProto): ServiceDescriptorProtoAmino;
          toProto(message: ServiceDescriptorProto): Uint8Array;
          toProtoMsg(message: ServiceDescriptorProto): ServiceDescriptorProtoProtoMsg;
      }
      • typeUrl: string
      • decode:function
      • encode:function
      • fromAmino:function
      • fromAminoMsg:function
      • fromPartial:function
        • Parameters

          • object: {
                method?: {
                    clientStreaming?: boolean;
                    inputType?: string;
                    name?: string;
                    options?: {
                        deprecated?: boolean;
                        idempotencyLevel?: MethodOptions_IdempotencyLevel;
                        uninterpretedOption?: {
                            aggregateValue?: ...;
                            doubleValue?: ...;
                            identifierValue?: ...;
                            name?: ...;
                            negativeIntValue?: ...;
                            positiveIntValue?: ...;
                            stringValue?: ...;
                        }[];
                    };
                    outputType?: string;
                    serverStreaming?: boolean;
                }[];
                name?: string;
                options?: {
                    deprecated?: boolean;
                    uninterpretedOption?: {
                        aggregateValue?: string;
                        doubleValue?: number;
                        identifierValue?: string;
                        name?: {
                            isExtension?: ...;
                            namePart?: ...;
                        }[];
                        negativeIntValue?: bigint;
                        positiveIntValue?: bigint;
                        stringValue?: Uint8Array;
                    }[];
                };
            }
            • Optionalmethod?: {
                  clientStreaming?: boolean;
                  inputType?: string;
                  name?: string;
                  options?: {
                      deprecated?: boolean;
                      idempotencyLevel?: MethodOptions_IdempotencyLevel;
                      uninterpretedOption?: {
                          aggregateValue?: ...;
                          doubleValue?: ...;
                          identifierValue?: ...;
                          name?: ...;
                          negativeIntValue?: ...;
                          positiveIntValue?: ...;
                          stringValue?: ...;
                      }[];
                  };
                  outputType?: string;
                  serverStreaming?: boolean;
              }[]
            • Optionalname?: string
            • Optionaloptions?: {
                  deprecated?: boolean;
                  uninterpretedOption?: {
                      aggregateValue?: string;
                      doubleValue?: number;
                      identifierValue?: string;
                      name?: {
                          isExtension?: ...;
                          namePart?: ...;
                      }[];
                      negativeIntValue?: bigint;
                      positiveIntValue?: bigint;
                      stringValue?: Uint8Array;
                  }[];
              }
              • Optionaldeprecated?: boolean

                Is this service deprecated? Depending on the target platform, this can emit Deprecated annotations for the service, or it will be completely ignored; in the very least, this is a formalization for deprecating services.

              • OptionaluninterpretedOption?: {
                    aggregateValue?: string;
                    doubleValue?: number;
                    identifierValue?: string;
                    name?: {
                        isExtension?: ...;
                        namePart?: ...;
                    }[];
                    negativeIntValue?: bigint;
                    positiveIntValue?: bigint;
                    stringValue?: Uint8Array;
                }[]

                The parser stores options it doesn't recognize here. See above.

          Returns ServiceDescriptorProto

      • fromProtoMsg:function
      • toAmino:function
      • toProto:function
        • Parameters

          Returns Uint8Array

      • toProtoMsg:function
    • ServiceOptions: {
          typeUrl: string;
          decode(input: Uint8Array | BinaryReader, length?: number): ServiceOptions;
          encode(message: ServiceOptions, writer?: BinaryWriter): BinaryWriter;
          fromAmino(object: ServiceOptionsAmino): ServiceOptions;
          fromAminoMsg(object: ServiceOptionsAminoMsg): ServiceOptions;
          fromPartial(object: {
              deprecated?: boolean;
              uninterpretedOption?: {
                  aggregateValue?: string;
                  doubleValue?: number;
                  identifierValue?: string;
                  name?: {
                      isExtension?: boolean;
                      namePart?: string;
                  }[];
                  negativeIntValue?: bigint;
                  positiveIntValue?: bigint;
                  stringValue?: Uint8Array;
              }[];
          }): ServiceOptions;
          fromProtoMsg(message: ServiceOptionsProtoMsg): ServiceOptions;
          toAmino(message: ServiceOptions): ServiceOptionsAmino;
          toProto(message: ServiceOptions): Uint8Array;
          toProtoMsg(message: ServiceOptions): ServiceOptionsProtoMsg;
      }
      • typeUrl: string
      • decode:function
      • encode:function
      • fromAmino:function
      • fromAminoMsg:function
      • fromPartial:function
        • Parameters

          • object: {
                deprecated?: boolean;
                uninterpretedOption?: {
                    aggregateValue?: string;
                    doubleValue?: number;
                    identifierValue?: string;
                    name?: {
                        isExtension?: boolean;
                        namePart?: string;
                    }[];
                    negativeIntValue?: bigint;
                    positiveIntValue?: bigint;
                    stringValue?: Uint8Array;
                }[];
            }
            • Optionaldeprecated?: boolean

              Is this service deprecated? Depending on the target platform, this can emit Deprecated annotations for the service, or it will be completely ignored; in the very least, this is a formalization for deprecating services.

            • OptionaluninterpretedOption?: {
                  aggregateValue?: string;
                  doubleValue?: number;
                  identifierValue?: string;
                  name?: {
                      isExtension?: boolean;
                      namePart?: string;
                  }[];
                  negativeIntValue?: bigint;
                  positiveIntValue?: bigint;
                  stringValue?: Uint8Array;
              }[]

              The parser stores options it doesn't recognize here. See above.

          Returns ServiceOptions

      • fromProtoMsg:function
      • toAmino:function
      • toProto:function
        • Parameters

          Returns Uint8Array

      • toProtoMsg:function
    • SourceCodeInfo: {
          typeUrl: string;
          decode(input: Uint8Array | BinaryReader, length?: number): SourceCodeInfo;
          encode(message: SourceCodeInfo, writer?: BinaryWriter): BinaryWriter;
          fromAmino(object: SourceCodeInfoAmino): SourceCodeInfo;
          fromAminoMsg(object: SourceCodeInfoAminoMsg): SourceCodeInfo;
          fromPartial(object: {
              location?: {
                  leadingComments?: string;
                  leadingDetachedComments?: string[];
                  path?: number[];
                  span?: number[];
                  trailingComments?: string;
              }[];
          }): SourceCodeInfo;
          fromProtoMsg(message: SourceCodeInfoProtoMsg): SourceCodeInfo;
          toAmino(message: SourceCodeInfo): SourceCodeInfoAmino;
          toProto(message: SourceCodeInfo): Uint8Array;
          toProtoMsg(message: SourceCodeInfo): SourceCodeInfoProtoMsg;
      }
      • typeUrl: string
      • decode:function
      • encode:function
      • fromAmino:function
      • fromAminoMsg:function
      • fromPartial:function
        • Parameters

          • object: {
                location?: {
                    leadingComments?: string;
                    leadingDetachedComments?: string[];
                    path?: number[];
                    span?: number[];
                    trailingComments?: string;
                }[];
            }
            • Optionallocation?: {
                  leadingComments?: string;
                  leadingDetachedComments?: string[];
                  path?: number[];
                  span?: number[];
                  trailingComments?: string;
              }[]

              A Location identifies a piece of source code in a .proto file which corresponds to a particular definition. This information is intended to be useful to IDEs, code indexers, documentation generators, and similar tools.

              For example, say we have a file like: message Foo { optional string foo = 1; } Let's look at just the field definition: optional string foo = 1; ^ ^^ ^^ ^ ^^^ a bc de f ghi We have the following locations: span path represents [a,i) [ 4, 0, 2, 0 ] The whole field definition. [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). [c,d) [ 4, 0, 2, 0, 5 ] The type (string). [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). [g,h) [ 4, 0, 2, 0, 3 ] The number (1).

              Notes:

              • A location may refer to a repeated field itself (i.e. not to any particular index within it). This is used whenever a set of elements are logically enclosed in a single code segment. For example, an entire extend block (possibly containing multiple extension definitions) will have an outer location whose path refers to the "extensions" repeated field without an index.
              • Multiple locations may have the same path. This happens when a single logical declaration is spread out across multiple places. The most obvious example is the "extend" block again -- there may be multiple extend blocks in the same scope, each of which will have the same path.
              • A location's span is not always a subset of its parent's span. For example, the "extendee" of an extension declaration appears at the beginning of the "extend" block and is shared by all extensions within the block.
              • Just because a location's span is a subset of some other location's span does not mean that it is a descendant. For example, a "group" defines both a type and a field in a single declaration. Thus, the locations corresponding to the type and field and their components will overlap.
              • Code which tries to interpret locations should probably be designed to ignore those that it doesn't understand, as more types of locations could be recorded in the future.

          Returns SourceCodeInfo

      • fromProtoMsg:function
      • toAmino:function
      • toProto:function
        • Parameters

          Returns Uint8Array

      • toProtoMsg:function
    • SourceCodeInfo_Location: {
          typeUrl: string;
          decode(input: Uint8Array | BinaryReader, length?: number): SourceCodeInfo_Location;
          encode(message: SourceCodeInfo_Location, writer?: BinaryWriter): BinaryWriter;
          fromAmino(object: SourceCodeInfo_LocationAmino): SourceCodeInfo_Location;
          fromAminoMsg(object: SourceCodeInfo_LocationAminoMsg): SourceCodeInfo_Location;
          fromPartial(object: {
              leadingComments?: string;
              leadingDetachedComments?: string[];
              path?: number[];
              span?: number[];
              trailingComments?: string;
          }): SourceCodeInfo_Location;
          fromProtoMsg(message: SourceCodeInfo_LocationProtoMsg): SourceCodeInfo_Location;
          toAmino(message: SourceCodeInfo_Location): SourceCodeInfo_LocationAmino;
          toProto(message: SourceCodeInfo_Location): Uint8Array;
          toProtoMsg(message: SourceCodeInfo_Location): SourceCodeInfo_LocationProtoMsg;
      }
      • typeUrl: string
      • decode:function
      • encode:function
      • fromAmino:function
      • fromAminoMsg:function
      • fromPartial:function
        • Parameters

          • object: {
                leadingComments?: string;
                leadingDetachedComments?: string[];
                path?: number[];
                span?: number[];
                trailingComments?: string;
            }
            • OptionalleadingComments?: string

              If this SourceCodeInfo represents a complete declaration, these are any comments appearing before and after the declaration which appear to be attached to the declaration.

              A series of line comments appearing on consecutive lines, with no other tokens appearing on those lines, will be treated as a single comment.

              leading_detached_comments will keep paragraphs of comments that appear before (but not connected to) the current element. Each paragraph, separated by empty lines, will be one comment element in the repeated field.

              Only the comment content is provided; comment markers (e.g. //) are stripped out. For block comments, leading whitespace and an asterisk will be stripped from the beginning of each line other than the first. Newlines are included in the output.

              Examples:

              optional int32 foo = 1; // Comment attached to foo. // Comment attached to bar. optional int32 bar = 2;

              optional string baz = 3; // Comment attached to baz. // Another line attached to baz.

              // Comment attached to qux. // // Another line attached to qux. optional double qux = 4;

              // Detached comment for corge. This is not leading or trailing comments // to qux or corge because there are blank lines separating it from // both.

              // Detached comment for corge paragraph 2.

              optional string corge = 5; /* Block comment attached

              • to corge. Leading asterisks
              • will be removed. / / Block comment attached to
              • grault. */ optional int32 grault = 6;

              // ignored detached comments.

            • OptionalleadingDetachedComments?: string[]
            • Optionalpath?: number[]

              Identifies which part of the FileDescriptorProto was defined at this location.

              Each element is a field number or an index. They form a path from the root FileDescriptorProto to the place where the definition. For example, this path: [ 4, 3, 2, 7, 1 ] refers to: file.message_type(3) // 4, 3 .field(7) // 2, 7 .name() // 1 This is because FileDescriptorProto.message_type has field number 4: repeated DescriptorProto message_type = 4; and DescriptorProto.field has field number 2: repeated FieldDescriptorProto field = 2; and FieldDescriptorProto.name has field number 1: optional string name = 1;

              Thus, the above path gives the location of a field name. If we removed the last element: [ 4, 3, 2, 7 ] this path refers to the whole field declaration (from the beginning of the label to the terminating semicolon).

            • Optionalspan?: number[]

              Always has exactly three or four elements: start line, start column, end line (optional, otherwise assumed same as start line), end column. These are packed into a single field for efficiency. Note that line and column numbers are zero-based -- typically you will want to add 1 to each before displaying to a user.

            • OptionaltrailingComments?: string

          Returns SourceCodeInfo_Location

      • fromProtoMsg:function
      • toAmino:function
      • toProto:function
        • Parameters

          Returns Uint8Array

      • toProtoMsg:function
    • Timestamp: {
          typeUrl: string;
          decode(input: Uint8Array | BinaryReader, length?: number): Timestamp;
          encode(message: Timestamp, writer?: BinaryWriter): BinaryWriter;
          fromAmino(object: string): Timestamp;
          fromAminoMsg(object: TimestampAminoMsg): Timestamp;
          fromPartial(object: {
              nanos?: number;
              seconds?: bigint;
          }): Timestamp;
          fromProtoMsg(message: TimestampProtoMsg): Timestamp;
          toAmino(message: Timestamp): string;
          toProto(message: Timestamp): Uint8Array;
          toProtoMsg(message: Timestamp): TimestampProtoMsg;
      }
      • typeUrl: string
      • decode:function
        • Parameters

          Returns Timestamp

      • encode:function
      • fromAmino:function
        • Parameters

          • object: string

          Returns Timestamp

      • fromAminoMsg:function
      • fromPartial:function
        • Parameters

          • object: {
                nanos?: number;
                seconds?: bigint;
            }
            • Optionalnanos?: number

              Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive.

            • Optionalseconds?: bigint

              Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.

          Returns Timestamp

      • fromProtoMsg:function
      • toAmino:function
        • Parameters

          Returns string

      • toProto:function
        • Parameters

          Returns Uint8Array

      • toProtoMsg:function
    • UninterpretedOption: {
          typeUrl: string;
          decode(input: Uint8Array | BinaryReader, length?: number): UninterpretedOption;
          encode(message: UninterpretedOption, writer?: BinaryWriter): BinaryWriter;
          fromAmino(object: UninterpretedOptionAmino): UninterpretedOption;
          fromAminoMsg(object: UninterpretedOptionAminoMsg): UninterpretedOption;
          fromPartial(object: {
              aggregateValue?: string;
              doubleValue?: number;
              identifierValue?: string;
              name?: {
                  isExtension?: boolean;
                  namePart?: string;
              }[];
              negativeIntValue?: bigint;
              positiveIntValue?: bigint;
              stringValue?: Uint8Array;
          }): UninterpretedOption;
          fromProtoMsg(message: UninterpretedOptionProtoMsg): UninterpretedOption;
          toAmino(message: UninterpretedOption): UninterpretedOptionAmino;
          toProto(message: UninterpretedOption): Uint8Array;
          toProtoMsg(message: UninterpretedOption): UninterpretedOptionProtoMsg;
      }
      • typeUrl: string
      • decode:function
      • encode:function
      • fromAmino:function
      • fromAminoMsg:function
      • fromPartial:function
        • Parameters

          • object: {
                aggregateValue?: string;
                doubleValue?: number;
                identifierValue?: string;
                name?: {
                    isExtension?: boolean;
                    namePart?: string;
                }[];
                negativeIntValue?: bigint;
                positiveIntValue?: bigint;
                stringValue?: Uint8Array;
            }
            • OptionalaggregateValue?: string
            • OptionaldoubleValue?: number
            • OptionalidentifierValue?: string

              The value of the uninterpreted option, in whatever type the tokenizer identified it as during parsing. Exactly one of these should be set.

            • Optionalname?: {
                  isExtension?: boolean;
                  namePart?: string;
              }[]
            • OptionalnegativeIntValue?: bigint
            • OptionalpositiveIntValue?: bigint
            • OptionalstringValue?: Uint8Array

          Returns UninterpretedOption

      • fromProtoMsg:function
      • toAmino:function
      • toProto:function
        • Parameters

          Returns Uint8Array

      • toProtoMsg:function
    • UninterpretedOption_NamePart: {
          typeUrl: string;
          decode(input: Uint8Array | BinaryReader, length?: number): UninterpretedOption_NamePart;
          encode(message: UninterpretedOption_NamePart, writer?: BinaryWriter): BinaryWriter;
          fromAmino(object: UninterpretedOption_NamePartAmino): UninterpretedOption_NamePart;
          fromAminoMsg(object: UninterpretedOption_NamePartAminoMsg): UninterpretedOption_NamePart;
          fromPartial(object: {
              isExtension?: boolean;
              namePart?: string;
          }): UninterpretedOption_NamePart;
          fromProtoMsg(message: UninterpretedOption_NamePartProtoMsg): UninterpretedOption_NamePart;
          toAmino(message: UninterpretedOption_NamePart): UninterpretedOption_NamePartAmino;
          toProto(message: UninterpretedOption_NamePart): Uint8Array;
          toProtoMsg(message: UninterpretedOption_NamePart): UninterpretedOption_NamePartProtoMsg;
      }
    • fieldDescriptorProto_LabelFromJSON:function
    • fieldDescriptorProto_LabelToJSON:function
      • Parameters

        Returns string

    • fieldDescriptorProto_TypeFromJSON:function
    • fieldDescriptorProto_TypeToJSON:function
      • Parameters

        Returns string

    • fieldOptions_CTypeFromJSON:function
    • fieldOptions_CTypeToJSON:function
      • Parameters

        Returns string

    • fieldOptions_JSTypeFromJSON:function
    • fieldOptions_JSTypeToJSON:function
      • Parameters

        Returns string

    • fileOptions_OptimizeModeFromJSON:function
    • fileOptions_OptimizeModeToJSON:function
      • Parameters

        Returns string

    • methodOptions_IdempotencyLevelFromJSON:function
    • methodOptions_IdempotencyLevelToJSON:function
      • Returns string