// Code generated by protoc-gen-go. DO NOT EDIT.
// source: PluginLister.proto

package generated

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"

import (
	context "golang.org/x/net/context"
	grpc "google.golang.org/grpc"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

type PluginIdentifier struct {
	Command string `protobuf:"bytes,1,opt,name=command" json:"command,omitempty"`
	Kind    string `protobuf:"bytes,2,opt,name=kind" json:"kind,omitempty"`
	Name    string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
}

func (m *PluginIdentifier) Reset()                    { *m = PluginIdentifier{} }
func (m *PluginIdentifier) String() string            { return proto.CompactTextString(m) }
func (*PluginIdentifier) ProtoMessage()               {}
func (*PluginIdentifier) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0} }

func (m *PluginIdentifier) GetCommand() string {
	if m != nil {
		return m.Command
	}
	return ""
}

func (m *PluginIdentifier) GetKind() string {
	if m != nil {
		return m.Kind
	}
	return ""
}

func (m *PluginIdentifier) GetName() string {
	if m != nil {
		return m.Name
	}
	return ""
}

type ListPluginsResponse struct {
	Plugins []*PluginIdentifier `protobuf:"bytes,1,rep,name=plugins" json:"plugins,omitempty"`
}

func (m *ListPluginsResponse) Reset()                    { *m = ListPluginsResponse{} }
func (m *ListPluginsResponse) String() string            { return proto.CompactTextString(m) }
func (*ListPluginsResponse) ProtoMessage()               {}
func (*ListPluginsResponse) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{1} }

func (m *ListPluginsResponse) GetPlugins() []*PluginIdentifier {
	if m != nil {
		return m.Plugins
	}
	return nil
}

func init() {
	proto.RegisterType((*PluginIdentifier)(nil), "generated.PluginIdentifier")
	proto.RegisterType((*ListPluginsResponse)(nil), "generated.ListPluginsResponse")
}

// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn

// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4

// Client API for PluginLister service

type PluginListerClient interface {
	ListPlugins(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ListPluginsResponse, error)
}

type pluginListerClient struct {
	cc *grpc.ClientConn
}

func NewPluginListerClient(cc *grpc.ClientConn) PluginListerClient {
	return &pluginListerClient{cc}
}

func (c *pluginListerClient) ListPlugins(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ListPluginsResponse, error) {
	out := new(ListPluginsResponse)
	err := grpc.Invoke(ctx, "/generated.PluginLister/ListPlugins", in, out, c.cc, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// Server API for PluginLister service

type PluginListerServer interface {
	ListPlugins(context.Context, *Empty) (*ListPluginsResponse, error)
}

func RegisterPluginListerServer(s *grpc.Server, srv PluginListerServer) {
	s.RegisterService(&_PluginLister_serviceDesc, srv)
}

func _PluginLister_ListPlugins_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(Empty)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(PluginListerServer).ListPlugins(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/generated.PluginLister/ListPlugins",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(PluginListerServer).ListPlugins(ctx, req.(*Empty))
	}
	return interceptor(ctx, in, info, handler)
}

var _PluginLister_serviceDesc = grpc.ServiceDesc{
	ServiceName: "generated.PluginLister",
	HandlerType: (*PluginListerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListPlugins",
			Handler:    _PluginLister_ListPlugins_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "PluginLister.proto",
}

func init() { proto.RegisterFile("PluginLister.proto", fileDescriptor3) }

var fileDescriptor3 = []byte{
	// 201 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00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