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.

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.