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

Enum

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

Enum type definition. New usages of this message as an alternative to EnumDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.

interface Enum {
edition?: string;
enumvalue?: EnumValue[];
name?: string;
options?: Option[];
sourceContext?: SourceContext;
syntax?: "SYNTAX_PROTO2" | "SYNTAX_PROTO3" | "SYNTAX_EDITIONS";
}

§Properties

§
edition?: string
[src]

The source edition string, only valid when syntax is SYNTAX_EDITIONS.

§
enumvalue?: EnumValue[]
[src]

Enum value definitions.

§
name?: string
[src]

Enum type name.

§
options?: Option[]
[src]

Protocol buffer options.

§
sourceContext?: SourceContext
[src]

The source context.

§
syntax?: "SYNTAX_PROTO2" | "SYNTAX_PROTO3" | "SYNTAX_EDITIONS"
[src]

The source syntax.