google.protobuf.EnumDescriptorProto
Example
Disclaimer: The example is meant to show what methods are available on the object and does not necessarily constitute working
code.
local types = import 'types.libsonnet';
types.google.protobuf.EnumDescriptorProto
.withName('string')
.withOptions(types.google.protobuf.EnumOptions)
.withReservedName([ 'string' ])
.withReservedRange([ types.google.protobuf.EnumDescriptorProto.EnumReservedRange ])
.withValue([ types.google.protobuf.EnumValueDescriptorProto ])
._validate()
Nested Messages
Fields