| OLD | NEW |
| 1 // Code generated by protoc-gen-go. | 1 // Code generated by protoc-gen-go. |
| 2 // source: github.com/luci/luci-go/vpython/api/vpython/pep425.proto | 2 // source: github.com/luci/luci-go/vpython/api/vpython/pep425.proto |
| 3 // DO NOT EDIT! | 3 // DO NOT EDIT! |
| 4 | 4 |
| 5 package vpython | 5 package vpython |
| 6 | 6 |
| 7 import proto "github.com/golang/protobuf/proto" | 7 import proto "github.com/golang/protobuf/proto" |
| 8 import fmt "fmt" | 8 import fmt "fmt" |
| 9 import math "math" | 9 import math "math" |
| 10 | 10 |
| 11 // Reference imports to suppress errors if they are not otherwise used. | 11 // Reference imports to suppress errors if they are not otherwise used. |
| 12 var _ = proto.Marshal | 12 var _ = proto.Marshal |
| 13 var _ = fmt.Errorf | 13 var _ = fmt.Errorf |
| 14 var _ = math.Inf | 14 var _ = math.Inf |
| 15 | 15 |
| 16 // Represnets a Python PEP425 tag. | 16 // Represents a Python PEP425 tag. |
| 17 type Pep425Tag struct { | 17 type PEP425Tag struct { |
| 18 » // Version is the PEP425 version tag (e.g., "cp27"). | 18 » // Python is the PEP425 python tag (e.g., "cp27"). |
| 19 » Version string `protobuf:"bytes,1,opt,name=version" json:"version,omitem
pty"` | 19 » Python string `protobuf:"bytes,1,opt,name=python" json:"python,omitempty
"` |
| 20 » // ABI is the PEP425 ABI tag (e.g., "cp27mu", "none"). | 20 » // ABI is the PEP425 "python ABI" tag (e.g., "cp27mu", "none"). |
| 21 Abi string `protobuf:"bytes,2,opt,name=abi" json:"abi,omitempty"` | 21 Abi string `protobuf:"bytes,2,opt,name=abi" json:"abi,omitempty"` |
| 22 » // Arch is the PEP425 architecture tag (e.g., "linux_x86_64", "armv7l", | 22 » // Platform is the PEP425 "python platform" tag (e.g., "linux_x86_64", |
| 23 » // "any"). | 23 » // "armv7l", "any"). |
| 24 » Arch string `protobuf:"bytes,3,opt,name=arch" json:"arch,omitempty"` | 24 » Platform string `protobuf:"bytes,3,opt,name=platform" json:"platform,omi
tempty"` |
| 25 } | 25 } |
| 26 | 26 |
| 27 func (m *Pep425Tag) Reset() { *m = Pep425Tag{} } | 27 func (m *PEP425Tag) Reset() { *m = PEP425Tag{} } |
| 28 func (m *Pep425Tag) String() string { return proto.CompactTextString(
m) } | 28 func (m *PEP425Tag) String() string { return proto.CompactTextString(
m) } |
| 29 func (*Pep425Tag) ProtoMessage() {} | 29 func (*PEP425Tag) ProtoMessage() {} |
| 30 func (*Pep425Tag) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0
} } | 30 func (*PEP425Tag) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0
} } |
| 31 | 31 |
| 32 func (m *Pep425Tag) GetVersion() string { | 32 func (m *PEP425Tag) GetPython() string { |
| 33 if m != nil { | 33 if m != nil { |
| 34 » » return m.Version | 34 » » return m.Python |
| 35 } | 35 } |
| 36 return "" | 36 return "" |
| 37 } | 37 } |
| 38 | 38 |
| 39 func (m *Pep425Tag) GetAbi() string { | 39 func (m *PEP425Tag) GetAbi() string { |
| 40 if m != nil { | 40 if m != nil { |
| 41 return m.Abi | 41 return m.Abi |
| 42 } | 42 } |
| 43 return "" | 43 return "" |
| 44 } | 44 } |
| 45 | 45 |
| 46 func (m *Pep425Tag) GetArch() string { | 46 func (m *PEP425Tag) GetPlatform() string { |
| 47 if m != nil { | 47 if m != nil { |
| 48 » » return m.Arch | 48 » » return m.Platform |
| 49 } | 49 } |
| 50 return "" | 50 return "" |
| 51 } | 51 } |
| 52 | 52 |
| 53 func init() { | 53 func init() { |
| 54 » proto.RegisterType((*Pep425Tag)(nil), "vpython.Pep425Tag") | 54 » proto.RegisterType((*PEP425Tag)(nil), "vpython.PEP425Tag") |
| 55 } | 55 } |
| 56 | 56 |
| 57 func init() { | 57 func init() { |
| 58 proto.RegisterFile("github.com/luci/luci-go/vpython/api/vpython/pep425.p
roto", fileDescriptor1) | 58 proto.RegisterFile("github.com/luci/luci-go/vpython/api/vpython/pep425.p
roto", fileDescriptor1) |
| 59 } | 59 } |
| 60 | 60 |
| 61 var fileDescriptor1 = []byte{ | 61 var fileDescriptor1 = []byte{ |
| 62 » // 136 bytes of a gzipped FileDescriptorProto | 62 » // 138 bytes of a gzipped FileDescriptorProto |
| 63 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2,
0x48, 0xcf, 0x2c, 0xc9, | 63 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2,
0x48, 0xcf, 0x2c, 0xc9, |
| 64 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0xcf, 0x29, 0x4d, 0xce, 0x04,
0x13, 0xba, 0xe9, 0xf9, | 64 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0xcf, 0x29, 0x4d, 0xce, 0x04,
0x13, 0xba, 0xe9, 0xf9, |
| 65 0xfa, 0x65, 0x05, 0x95, 0x25, 0x19, 0xf9, 0x79, 0xfa, 0x89, 0x05, 0x99,
0x70, 0x76, 0x41, 0x6a, | 65 0xfa, 0x65, 0x05, 0x95, 0x25, 0x19, 0xf9, 0x79, 0xfa, 0x89, 0x05, 0x99,
0x70, 0x76, 0x41, 0x6a, |
| 66 » 0x81, 0x89, 0x91, 0xa9, 0x5e, 0x41, 0x51, 0x7e, 0x49, 0xbe, 0x10, 0x3b,
0x54, 0x54, 0xc9, 0x9b, | 66 » 0x81, 0x89, 0x91, 0xa9, 0x5e, 0x41, 0x51, 0x7e, 0x49, 0xbe, 0x10, 0x3b,
0x54, 0x54, 0x29, 0x90, |
| 67 » 0x8b, 0x33, 0x00, 0x2c, 0x11, 0x92, 0x98, 0x2e, 0x24, 0xc1, 0xc5, 0x5e,
0x96, 0x5a, 0x54, 0x9c, | 67 » 0x8b, 0x33, 0xc0, 0x35, 0xc0, 0xc4, 0xc8, 0x34, 0x24, 0x31, 0x5d, 0x48,
0x8c, 0x8b, 0x0d, 0x22, |
| 68 » 0x99, 0x9f, 0x27, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0x19, 0x04, 0xe3, 0x0a,
0x09, 0x70, 0x31, 0x27, | 68 » 0x2c, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0x19, 0x04, 0xe5, 0x09, 0x09, 0x70,
0x31, 0x27, 0x26, 0x65, |
| 69 » 0x26, 0x65, 0x4a, 0x30, 0x81, 0x45, 0x41, 0x4c, 0x21, 0x21, 0x2e, 0x96,
0xc4, 0xa2, 0xe4, 0x0c, | 69 » 0x4a, 0x30, 0x81, 0x05, 0x41, 0x4c, 0x21, 0x29, 0x2e, 0x8e, 0x82, 0x9c,
0xc4, 0x92, 0xb4, 0xfc, |
| 70 » 0x09, 0x66, 0xb0, 0x10, 0x98, 0x9d, 0xc4, 0x06, 0x36, 0xdc, 0x18, 0x10,
0x00, 0x00, 0xff, 0xff, | 70 » 0xa2, 0x5c, 0x09, 0x66, 0xb0, 0x30, 0x9c, 0x9f, 0xc4, 0x06, 0xb6, 0xc2,
0x18, 0x10, 0x00, 0x00, |
| 71 » 0x17, 0x39, 0x2f, 0x5f, 0x98, 0x00, 0x00, 0x00, | 71 » 0xff, 0xff, 0x54, 0x7c, 0x40, 0x1b, 0x9e, 0x00, 0x00, 0x00, |
| 72 } | 72 } |
| OLD | NEW |