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;
optionDependency?: string[];
package?: string;
syntax?: string;
}

§Properties

§
editionDeprecated?: string
[src]

copybara:strip_begin TODO(b/297898292) Deprecate and remove this field in favor of enums. copybara:strip_end

§

All top-level definitions in this file.

§
name?: string
[src]

file name, relative to root of source tree

§
optionDependency?: string[]
[src]

Names of files imported by this file purely for the purpose of providing option extensions. These are excluded from the dependency list above.

§
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". WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language.