Documentation ¶
Overview ¶
Package proto is a generated protocol buffer package.
It is generated from these files:
annotations.proto endpoint.proto
It has these top-level messages:
API Endpoint
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var E_ActionPrefix = &proto1.ExtensionDesc{ ExtendedType: (*google_protobuf.FileOptions)(nil), ExtensionType: (*string)(nil), Field: 2131600, Name: "proto.action_prefix", Tag: "bytes,2131600,opt,name=action_prefix,json=actionPrefix", Filename: "annotations.proto", }
View Source
var E_Endpoint = &proto1.ExtensionDesc{ ExtendedType: (*google_protobuf.MethodOptions)(nil), ExtensionType: (*Endpoint)(nil), Field: 2131610, Name: "proto.endpoint", Tag: "bytes,2131610,opt,name=endpoint", Filename: "annotations.proto", }
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
Endpoint []*Endpoint `protobuf:"bytes,1,rep,name=endpoint" json:"endpoint,omitempty"`
}
API defines the API configuration for a service. It contains a list of Endpoints, each with specific information about the endpoint's action.
func (*API) Descriptor ¶
func (*API) GetEndpoint ¶
func (*API) ProtoMessage ¶
func (*API) ProtoMessage()
type Endpoint ¶
type Endpoint struct { // unauthenticated must be true if the Endpoint is open to the public. This // defaults to false. Unauthenticated bool `protobuf:"varint,1,opt,name=unauthenticated" json:"unauthenticated,omitempty"` }
Endpoint defines extra details about a google.api.http RPC mapping.
func (*Endpoint) Descriptor ¶
func (*Endpoint) GetUnauthenticated ¶
func (*Endpoint) ProtoMessage ¶
func (*Endpoint) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.