google.protobuf.FileDescriptorProto
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.FileDescriptorProto
.withDependency([ 'string' ])
.withEnumType([ types.google.protobuf.EnumDescriptorProto ])
.withExtension([ types.google.protobuf.FieldDescriptorProto ])
.withMessageType([ types.google.protobuf.DescriptorProto ])
.withName('string')
.withOptions(types.google.protobuf.FileOptions)
.withPackage('string')
.withPublicDependency([ 1 ])
.withService([ types.google.protobuf.ServiceDescriptorProto ])
.withSourceCodeInfo(types.google.protobuf.SourceCodeInfo)
.withSyntax('string')
.withWeakDependency([ 1 ])
._validate()
Fields