| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: github.com/luci/luci-go/vpython/api/vpython/env.proto |
| |
| /* |
| Package vpython is a generated protocol buffer package. |
| |
| It is generated from these files: |
| github.com/luci/luci-go/vpython/api/vpython/env.proto |
| github.com/luci/luci-go/vpython/api/vpython/pep425.proto |
| github.com/luci/luci-go/vpython/api/vpython/spec.proto |
| |
| It has these top-level messages: |
| Environment |
| Runtime |
| PEP425Tag |
| Spec |
| */ |
| 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"` |
| } |
| |
| func (m *Environment) Reset() { *m = Environment{} } |
| func (m *Environment) String() string { return proto.CompactTextString(m) } |
| func (*Environment) ProtoMessage() {} |
| func (*Environment) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } |
| |
| 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. |
| 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"` |
| } |
| |
| func (m *Runtime) Reset() { *m = Runtime{} } |
| func (m *Runtime) String() string { return proto.CompactTextString(m) } |
| func (*Runtime) ProtoMessage() {} |
| func (*Runtime) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} } |
| |
| 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 init() { |
| proto.RegisterType((*Environment)(nil), "vpython.Environment") |
| proto.RegisterType((*Runtime)(nil), "vpython.Runtime") |
| } |
| |
| func init() { |
| proto.RegisterFile("github.com/luci/luci-go/vpython/api/vpython/env.proto", fileDescriptor0) |
| } |
| |
| var fileDescriptor0 = []byte{ |
| // 244 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x8f, 0x31, 0x6b, 0xc3, 0x30, |
| 0x10, 0x85, 0x71, 0x1d, 0x6a, 0x7c, 0xa6, 0x50, 0x34, 0x89, 0x4c, 0x69, 0xa6, 0x50, 0xa8, 0x4d, |
| 0xdd, 0xb8, 0xf4, 0x0f, 0x64, 0xea, 0x12, 0xd4, 0xec, 0x45, 0x31, 0x42, 0x12, 0xd4, 0xd2, 0x61, |
| 0xcb, 0x86, 0xfe, 0x8a, 0xfe, 0xe5, 0x92, 0x93, 0xe3, 0x3d, 0x8b,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