Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var File_internal_descriptor_apiconfig_apiconfig_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type GrpcAPIService ¶
type GrpcAPIService struct { // Http Rule. Http *annotations.Http `protobuf:"bytes,1,opt,name=http,proto3" json:"http,omitempty"` // contains filtered or unexported fields }
GrpcAPIService represents a stripped down version of google.api.Service . Compare to https://github.com/googleapis/googleapis/blob/master/google/api/service.proto The original imports 23 other protobuf files we are not interested in. If a significant subset (>50%) of these start being reproduced in this file we should swap to using the full generated version instead.
For the purposes of the gateway generator we only consider a small subset of all available features google supports in their service descriptions. Thanks to backwards compatibility guarantees by protobuf it is safe for us to remove the other fields.
func (*GrpcAPIService) Descriptor
deprecated
func (*GrpcAPIService) Descriptor() ([]byte, []int)
Deprecated: Use GrpcAPIService.ProtoReflect.Descriptor instead.
func (*GrpcAPIService) GetHttp ¶
func (x *GrpcAPIService) GetHttp() *annotations.Http
func (*GrpcAPIService) ProtoMessage ¶
func (*GrpcAPIService) ProtoMessage()
func (*GrpcAPIService) ProtoReflect ¶
func (x *GrpcAPIService) ProtoReflect() protoreflect.Message
func (*GrpcAPIService) Reset ¶
func (x *GrpcAPIService) Reset()
func (*GrpcAPIService) String ¶
func (x *GrpcAPIService) String() string