// Auto-generated to Go types and interfaces using avdl-compiler v1.4.10 (https://github.com/keybase/node-avdl-compiler)
//   Input file: avdl/keybase1/os.avdl

package keybase1

import (
	"fmt"
	"github.com/keybase/go-framed-msgpack-rpc/rpc"
)

type RuntimeGroup int

const (
	RuntimeGroup_UNKNOWN     RuntimeGroup = 0
	RuntimeGroup_LINUXLIKE   RuntimeGroup = 1
	RuntimeGroup_DARWINLIKE  RuntimeGroup = 2
	RuntimeGroup_WINDOWSLIKE RuntimeGroup = 3
)

func (o RuntimeGroup) DeepCopy() RuntimeGroup { return o }

var RuntimeGroupMap = map[string]RuntimeGroup{
	"UNKNOWN":     0,
	"LINUXLIKE":   1,
	"DARWINLIKE":  2,
	"WINDOWSLIKE": 3,
}

var RuntimeGroupRevMap = map[RuntimeGroup]string{
	0: "UNKNOWN",
	1: "LINUXLIKE",
	2: "DARWINLIKE",
	3: "WINDOWSLIKE",
}

func (e RuntimeGroup) String() string {
	if v, ok := RuntimeGroupRevMap[e]; ok {
		return v
	}
	return fmt.Sprintf("%v", int(e))
}

type RuntimeInterface interface {
}

func RuntimeProtocol(i RuntimeInterface) rpc.Protocol {
	return rpc.Protocol{
		Name:    "keybase.1.runtime",
		Methods: map[string]rpc.ServeHandlerDescription{},
	}
}

type RuntimeClient struct {
	Cli rpc.GenericClient
}
