Home

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

Name Type One-of group Required Constraints
name string  
options google.protobuf.EnumOptions  
reserved_name [] string  
reserved_range [] google.protobuf.EnumDescriptorProto.EnumReservedRange  
value [] google.protobuf.EnumValueDescriptorProto