Home

google.protobuf.ServiceDescriptorProto

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.ServiceDescriptorProto
.withMethod([ types.google.protobuf.MethodDescriptorProto ])
.withName('string')
.withOptions(types.google.protobuf.ServiceOptions)
._validate()

Fields

Name Type One-of group Required Constraints
method [] google.protobuf.MethodDescriptorProto  
name string  
options google.protobuf.ServiceOptions