apiconfig

package
v1.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_cherry_protobuf_utils_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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL