Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Proto2FileDescriptorProto

import type { Proto2FileDescriptorProto } from "https://googleapis.deno.dev/v1/chromepolicy:v1.ts";

Describes a complete .proto file.

interface Proto2FileDescriptorProto {
editionDeprecated?: string;
messageType?: Proto2DescriptorProto[];
name?: string;
package?: string;
syntax?: string;
}

§Properties

§
editionDeprecated?: string
[src]

BEGIN GOOGLE-INTERNAL TODO(b/297898292) Deprecate and remove this field in favor of enums. END GOOGLE-INTERNAL

§

All top-level definitions in this file.

§
name?: string
[src]

file name, relative to root of source tree

§
package?: string
[src]

e.g. "foo", "foo.bar", etc.

§
syntax?: string
[src]

The syntax of the proto file. The supported values are "proto2", "proto3", and "editions". If edition is present, this value must be "editions".