Proto2FileDescriptorProto
import type { Proto2FileDescriptorProto } from "https://googleapis.deno.dev/v1/chromepolicy:v1.ts";
Describes a complete .proto file.
interface Proto2FileDescriptorProto {
editionDeprecated?: string;
enumType?: Proto2EnumDescriptorProto[];
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
§
enumType?: Proto2EnumDescriptorProto[]
[src]§
messageType?: Proto2DescriptorProto[]
[src]All top-level definitions in this file.
§
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.
§
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.