// Code generated by protoc-gen-go. DO NOT EDIT.
// source: github.com/appcelerator/amp/api/rpc/version/version.proto

/*
Package version is a generated protocol buffer package.

It is generated from these files:
	github.com/appcelerator/amp/api/rpc/version/version.proto

It has these top-level messages:
	Info
	GetRequest
	GetReply
*/
package version

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "google.golang.org/genproto/googleapis/api/annotations"

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

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package

type Info struct {
	Version       string `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"`
	Build         string `protobuf:"bytes,2,opt,name=build" json:"build,omitempty"`
	GoVersion     string `protobuf:"bytes,3,opt,name=go_version,json=goVersion" json:"go_version,omitempty"`
	Os            string `protobuf:"bytes,4,opt,name=os" json:"os,omitempty"`
	Arch          string `protobuf:"bytes,5,opt,name=arch" json:"arch,omitempty"`
	Registration  string `protobuf:"bytes,6,opt,name=registration" json:"registration,omitempty"`
	Notifications bool   `protobuf:"varint,7,opt,name=notifications" json:"notifications,omitempty"`
}

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

func (m *Info) GetVersion() string {
	if m != nil {
		return m.Version
	}
	return ""
}

func (m *Info) GetBuild() string {
	if m != nil {
		return m.Build
	}
	return ""
}

func (m *Info) GetGoVersion() string {
	if m != nil {
		return m.GoVersion
	}
	return ""
}

func (m *Info) GetOs() string {
	if m != nil {
		return m.Os
	}
	return ""
}

func (m *Info) GetArch() string {
	if m != nil {
		return m.Arch
	}
	return ""
}

func (m *Info) GetRegistration() string {
	if m != nil {
		return m.Registration
	}
	return ""
}

func (m *Info) GetNotifications() bool {
	if m != nil {
		return m.Notifications
	}
	return false
}

type GetRequest struct {
}

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

type GetReply struct {
	Info *Info `protobuf:"bytes,1,opt,name=info" json:"info,omitempty"`
}

func (m *GetReply) Reset()                    { *m = GetReply{} }
func (m *GetReply) String() string            { return proto.CompactTextString(m) }
func (*GetReply) ProtoMessage()               {}
func (*GetReply) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }

func (m *GetReply) GetInfo() *Info {
	if m != nil {
		return m.Info
	}
	return nil
}

func init() {
	proto.RegisterType((*Info)(nil), "version.Info")
	proto.RegisterType((*GetRequest)(nil), "version.GetRequest")
	proto.RegisterType((*GetReply)(nil), "version.GetReply")
}

// 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 Version service

type VersionClient interface {
	VersionGet(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetReply, error)
}

type versionClient struct {
	cc *grpc.ClientConn
}

func NewVersionClient(cc *grpc.ClientConn) VersionClient {
	return &versionClient{cc}
}

func (c *versionClient) VersionGet(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetReply, error) {
	out := new(GetReply)
	err := grpc.Invoke(ctx, "/version.Version/VersionGet", in, out, c.cc, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// Server API for Version service

type VersionServer interface {
	VersionGet(context.Context, *GetRequest) (*GetReply, error)
}

func RegisterVersionServer(s *grpc.Server, srv VersionServer) {
	s.RegisterService(&_Version_serviceDesc, srv)
}

func _Version_VersionGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(VersionServer).VersionGet(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/version.Version/VersionGet",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(VersionServer).VersionGet(ctx, req.(*GetRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var _Version_serviceDesc = grpc.ServiceDesc{
	ServiceName: "version.Version",
	HandlerType: (*VersionServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "VersionGet",
			Handler:    _Version_VersionGet_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "github.com/appcelerator/amp/api/rpc/version/version.proto",
}

func init() {
	proto.RegisterFile("github.com/appcelerator/amp/api/rpc/version/version.proto", fileDescriptor0)
}

var fileDescriptor0 = []byte{
	// 302 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x91, 0x4d, 0x4e, 0xc3, 0x30,
	0x10, 0x85, 0x95, 0x90, 0xfe, 0x4d, 0x5b, 0x24, 0x5c, 0x16, 0x56, 0x05, 0x52, 0x89, 0x58, 0x74,
	0x43, 0x23, 0xca, 0x8a, 0x13, 0x54, 0xdd, 0x46, 0x88, 0x2d, 0x72, 0x83, 0xeb, 0x5a, 0x4a, 0x3d,
	0xc6, 0x76, 0x2b, 0x75, 0xcb, 0x15, 0x38, 0x12, 0x47, 0xe0, 0x0a, 0x1c, 0x04, 0x31, 0xad, 0x41,
	0x59, 0x65, 0xde, 0x37, 0xf3, 0xa2, 0x37, 0x63, 0x78, 0x54, 0x3a, 0x6c, 0x76, 0xab, 0x59, 0x85,
	0xdb, 0x42, 0x58, 0x5b, 0xc9, 0x5a, 0x3a, 0x11, 0xd0, 0x15, 0x62, 0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