package vpython

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

var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

const _ = proto.ProtoPackageIsVersion2 

type Environment struct {

	Spec *Spec `protobuf:"bytes,1,opt,name=spec" json:"spec,omitempty"`

	Runtime *Runtime `protobuf:"bytes,2,opt,name=runtime" json:"runtime,omitempty"`

	Pep425Tag            []*PEP425Tag `protobuf:"bytes,3,rep,name=pep425_tag,json=pep425Tag" json:"pep425_tag,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (m *Environment) Reset()         { *m = Environment{} }
func (m *Environment) String() string { return proto.CompactTextString(m) }
func (*Environment) ProtoMessage()    {}
func (*Environment) Descriptor() ([]byte, []int) {
	return fileDescriptor_env_0ce0676337b6794c, []int{0}
}
func (m *Environment) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Environment.Unmarshal(m, b)
}
func (m *Environment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Environment.Marshal(b, m, deterministic)
}
func (dst *Environment) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Environment.Merge(dst, src)
}
func (m *Environment) XXX_Size() int {
	return xxx_messageInfo_Environment.Size(m)
}
func (m *Environment) XXX_DiscardUnknown() {
	xxx_messageInfo_Environment.DiscardUnknown(m)
}

var xxx_messageInfo_Environment proto.InternalMessageInfo

func (m *Environment) GetSpec() *Spec {
	if m != nil {
		return m.Spec
	}
	return nil
}

func (m *Environment) GetRuntime() *Runtime {
	if m != nil {
		return m.Runtime
	}
	return nil
}

func (m *Environment) GetPep425Tag() []*PEP425Tag {
	if m != nil {
		return m.Pep425Tag
	}
	return nil
}

type Runtime struct {

	Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`

	Hash string `protobuf:"bytes,2,opt,name=hash" json:"hash,omitempty"`

	Version string `protobuf:"bytes,3,opt,name=version" json:"version,omitempty"`

	Prefix               string   `protobuf:"bytes,4,opt,name=prefix" json:"prefix,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *Runtime) Reset()         { *m = Runtime{} }
func (m *Runtime) String() string { return proto.CompactTextString(m) }
func (*Runtime) ProtoMessage()    {}
func (*Runtime) Descriptor() ([]byte, []int) {
	return fileDescriptor_env_0ce0676337b6794c, []int{1}
}
func (m *Runtime) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Runtime.Unmarshal(m, b)
}
func (m *Runtime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Runtime.Marshal(b, m, deterministic)
}
func (dst *Runtime) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Runtime.Merge(dst, src)
}
func (m *Runtime) XXX_Size() int {
	return xxx_messageInfo_Runtime.Size(m)
}
func (m *Runtime) XXX_DiscardUnknown() {
	xxx_messageInfo_Runtime.DiscardUnknown(m)
}

var xxx_messageInfo_Runtime proto.InternalMessageInfo

func (m *Runtime) GetPath() string {
	if m != nil {
		return m.Path
	}
	return ""
}

func (m *Runtime) GetHash() string {
	if m != nil {
		return m.Hash
	}
	return ""
}

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

func (m *Runtime) GetPrefix() string {
	if m != nil {
		return m.Prefix
	}
	return ""
}

func init() {
	proto.RegisterType((*Environment)(nil), "vpython.Environment")
	proto.RegisterType((*Runtime)(nil), "vpython.Runtime")
}

func init() {
	proto.RegisterFile("go.chromium.org/luci/vpython/api/vpython/env.proto", fileDescriptor_env_0ce0676337b6794c)
}

var fileDescriptor_env_0ce0676337b6794c = []byte{

	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x8f, 0xb1, 0x6e, 0xf3, 0x20,
	0x14, 0x85, 0xe5, 0xdf, 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0x4f, 0xf3, 0x51, 0xa7, 0xaf,
	0x1b, 0x96, 0x34, 0xc2, 0x50, 0xcf, 0x32, 0x8c, 0xc6, 0x59, 0x5c, 0x26, 0xfb, 0x3a, 0xa2, 0x47,
	0x58, 0xf9, 0x20, 0x3f, 0xcc, 0x17, 0xae, 0x52, 0xb0, 0x4c, 0xef, 0xab, 0x74, 0xfd, 0xfe, 0x37,
	0x00, 0x00, 0xff, 0xff, 0x47, 0x8e, 0x6d, 0xa6, 0xa8, 0x01, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: go.chromium.org/luci/vpython/api/vpython/env.proto

package vpython

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

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

// Environment describes a constructed VirtualEnv.
type Environment struct {
	// A constructed VirtualEnv.
	Spec *Spec `protobuf:"bytes,1,opt,name=spec" json:"spec,omitempty"`
	// The resolved runtime parameters.
	Runtime *Runtime `protobuf:"bytes,2,opt,name=runtime" json:"runtime,omitempty"`
	// The PEP425 tags that were probed for this Python environment.
	Pep425Tag            []*PEP425Tag `protobuf:"bytes,3,rep,name=pep425_tag,json=pep425Tag" json:"pep425_tag,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (m *Environment) Reset()         { *m = Environment{} }
func (m *Environment) String() string { return proto.CompactTextString(m) }
func (*Environment) ProtoMessage()    {}
func (*Environment) Descriptor() ([]byte, []int) {
	return fileDescriptor_env_0ce0676337b6794c, []int{0}
}
func (m *Environment) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Environment.Unmarshal(m, b)
}
func (m *Environment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Environment.Marshal(b, m, deterministic)
}
func (dst *Environment) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Environment.Merge(dst, src)
}
func (m *Environment) XXX_Size() int {
	return xxx_messageInfo_Environment.Size(m)
}
func (m *Environment) XXX_DiscardUnknown() {
	xxx_messageInfo_Environment.DiscardUnknown(m)
}

var xxx_messageInfo_Environment proto.InternalMessageInfo

func (m *Environment) GetSpec() *Spec {
	if m != nil {
		return m.Spec
	}
	return nil
}

func (m *Environment) GetRuntime() *Runtime {
	if m != nil {
		return m.Runtime
	}
	return nil
}

func (m *Environment) GetPep425Tag() []*PEP425Tag {
	if m != nil {
		return m.Pep425Tag
	}
	return nil
}

// Runtime is the set of resolved runtime parameters.
type Runtime struct {
	// The absolute path to the resolved interpreter (sys.executable).
	Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
	// The SHA256 hash of the resolved interpreter.
	Hash string `protobuf:"bytes,2,opt,name=hash" json:"hash,omitempty"`
	// The resolved Python interpreter version.
	Version string `protobuf:"bytes,3,opt,name=version" json:"version,omitempty"`
	// The prefix of the Python interpreter (sys.prefix).
	Prefix               string   `protobuf:"bytes,4,opt,name=prefix" json:"prefix,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *Runtime) Reset()         { *m = Runtime{} }
func (m *Runtime) String() string { return proto.CompactTextString(m) }
func (*Runtime) ProtoMessage()    {}
func (*Runtime) Descriptor() ([]byte, []int) {
	return fileDescriptor_env_0ce0676337b6794c, []int{1}
}
func (m *Runtime) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Runtime.Unmarshal(m, b)
}
func (m *Runtime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Runtime.Marshal(b, m, deterministic)
}
func (dst *Runtime) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Runtime.Merge(dst, src)
}
func (m *Runtime) XXX_Size() int {
	return xxx_messageInfo_Runtime.Size(m)
}
func (m *Runtime) XXX_DiscardUnknown() {
	xxx_messageInfo_Runtime.DiscardUnknown(m)
}

var xxx_messageInfo_Runtime proto.InternalMessageInfo

func (m *Runtime) GetPath() string {
	if m != nil {
		return m.Path
	}
	return ""
}

func (m *Runtime) GetHash() string {
	if m != nil {
		return m.Hash
	}
	return ""
}

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

func (m *Runtime) GetPrefix() string {
	if m != nil {
		return m.Prefix
	}
	return ""
}

func init() {
	proto.RegisterType((*Environment)(nil), "vpython.Environment")
	proto.RegisterType((*Runtime)(nil), "vpython.Runtime")
}

func init() {
	proto.RegisterFile("go.chromium.org/luci/vpython/api/vpython/env.proto", fileDescriptor_env_0ce0676337b6794c)
}

var fileDescriptor_env_0ce0676337b6794c = []byte{
	// 252 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x8f, 0xb1, 0x6e, 0xf3, 0x20,
	0x14, 0x85, 0xe5, 0xdf, 0x56, 0x2c, 0x5f, 0xeb, 0x97, 0x2a, 0x86, 0x0a, 0x65, 0x4a, 0x33, 0x45,
	0x1d, 0xb0, 0x4a, 0xe2, 0x47, 0xc8, 0x1e, 0xd1, 0xec, 0x15, 0x45, 0x14, 0x90, 0x6a, 0x40, 0x18,
	0x5b, 0xed, 0x53, 0xf4, 0x95, 0xab, 0x80, 0x93, 0xae, 0xd9, 0xce, 0x3d, 0xe7, 0x7c, 0x70, 0x2f,
	0x50, 0xe5, 0x88, 0xd0, 0xc1, 0x0d, 0x66, 0x1a, 0x88, 0x0b, 0xaa, 0xfb, 0x9c, 0x84, 0xe9, 0x66,
	0xff, 0x1d, 0xb5, 0xb3, 0x1d, 0xf7, 0x7f, 0x5a, 0xda, 0x99, 0xf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