proto

package
v0.0.0-...-6194787 Latest Latest
Warning

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

Go to latest
Published: May 11, 2017 License: BSD-3-Clause Imports: 4 Imported by: 0

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) Descriptor() ([]byte, []int)

func (*API) GetEndpoint

func (m *API) GetEndpoint() []*Endpoint

func (*API) ProtoMessage

func (*API) ProtoMessage()

func (*API) Reset

func (m *API) Reset()

func (*API) String

func (m *API) String() string

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) Descriptor() ([]byte, []int)

func (*Endpoint) GetUnauthenticated

func (m *Endpoint) GetUnauthenticated() bool

func (*Endpoint) ProtoMessage

func (*Endpoint) ProtoMessage()

func (*Endpoint) Reset

func (m *Endpoint) Reset()

func (*Endpoint) String

func (m *Endpoint) String() string

Jump to

Keyboard shortcuts

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