Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: common/tsmon/ts_mon_proto/acquisition_network_device.pb.go

Issue 1857643003: Revert of Migrate tsmon protos to proto3 (Closed) Base URL: git@github.com:luci/luci-go.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Code generated by protoc-gen-go. 1 // Code generated by protoc-gen-go.
2 // source: acquisition_network_device.proto 2 // source: acquisition_network_device.proto
3 // DO NOT EDIT! 3 // DO NOT EDIT!
4 4
5 /* 5 /*
6 Package ts_mon_proto is a generated protocol buffer package. 6 Package ts_mon_proto is a generated protocol buffer package.
7 7
8 It is generated from these files: 8 It is generated from these files:
9 acquisition_network_device.proto 9 acquisition_network_device.proto
10 acquisition_task.proto 10 acquisition_task.proto
(...skipping 11 matching lines...) Expand all
22 22
23 import proto "github.com/golang/protobuf/proto" 23 import proto "github.com/golang/protobuf/proto"
24 import fmt "fmt" 24 import fmt "fmt"
25 import math "math" 25 import math "math"
26 26
27 // Reference imports to suppress errors if they are not otherwise used. 27 // Reference imports to suppress errors if they are not otherwise used.
28 var _ = proto.Marshal 28 var _ = proto.Marshal
29 var _ = fmt.Errorf 29 var _ = fmt.Errorf
30 var _ = math.Inf 30 var _ = math.Inf
31 31
32 type NetworkDevice struct { 32 // This is a compile-time assertion to ensure that this generated file
33 » Alertable bool `protobuf:"varint,101,opt,name=alertable" json:"alertab le,omitempty"` 33 // is compatible with the proto package it is being compiled against.
34 » Realm string `protobuf:"bytes,102,opt,name=realm" json:"realm,omitem pty"` 34 const _ = proto.ProtoPackageIsVersion1
35 » Metro string `protobuf:"bytes,104,opt,name=metro" json:"metro,omitem pty"` 35
36 » Role string `protobuf:"bytes,105,opt,name=role" json:"role,omitempt y"` 36 type NetworkDevice_TypeId int32
37 » Hostname string `protobuf:"bytes,106,opt,name=hostname" json:"hostname, omitempty"` 37
38 » Hostgroup string `protobuf:"bytes,108,opt,name=hostgroup" json:"hostgrou p,omitempty"` 38 const (
39 » NetworkDevice_MESSAGE_TYPE_ID NetworkDevice_TypeId = 34049749
40 )
41
42 var NetworkDevice_TypeId_name = map[int32]string{
43 » 34049749: "MESSAGE_TYPE_ID",
44 }
45 var NetworkDevice_TypeId_value = map[string]int32{
46 » "MESSAGE_TYPE_ID": 34049749,
39 } 47 }
40 48
41 func (m *NetworkDevice) Reset() { *m = NetworkDevice{} } 49 func (x NetworkDevice_TypeId) Enum() *NetworkDevice_TypeId {
42 func (m *NetworkDevice) String() string { return proto.CompactTextString(m) } 50 » p := new(NetworkDevice_TypeId)
43 func (*NetworkDevice) ProtoMessage() {} 51 » *p = x
52 » return p
53 }
54 func (x NetworkDevice_TypeId) String() string {
55 » return proto.EnumName(NetworkDevice_TypeId_name, int32(x))
56 }
57 func (x *NetworkDevice_TypeId) UnmarshalJSON(data []byte) error {
58 » value, err := proto.UnmarshalJSONEnum(NetworkDevice_TypeId_value, data, "NetworkDevice_TypeId")
59 » if err != nil {
60 » » return err
61 » }
62 » *x = NetworkDevice_TypeId(value)
63 » return nil
64 }
65 func (NetworkDevice_TypeId) EnumDescriptor() ([]byte, []int) { return fileDescri ptor0, []int{0, 0} }
66
67 type NetworkDevice struct {
68 » Alertable *bool `protobuf:"varint,101,opt,name=alertable" json: "alertable,omitempty"`
69 » Realm *string `protobuf:"bytes,102,opt,name=realm" json:"real m,omitempty"`
70 » Metro *string `protobuf:"bytes,104,opt,name=metro" json:"metr o,omitempty"`
71 » Role *string `protobuf:"bytes,105,opt,name=role" json:"role, omitempty"`
72 » Hostname *string `protobuf:"bytes,106,opt,name=hostname" json:"h ostname,omitempty"`
73 » Hostgroup *string `protobuf:"bytes,108,opt,name=hostgroup" json:" hostgroup,omitempty"`
74 » XXX_unrecognized []byte `json:"-"`
75 }
76
77 func (m *NetworkDevice) Reset() { *m = NetworkDevice{} }
78 func (m *NetworkDevice) String() string { return proto.CompactTextStr ing(m) }
79 func (*NetworkDevice) ProtoMessage() {}
80 func (*NetworkDevice) Descriptor() ([]byte, []int) { return fileDescriptor0, []i nt{0} }
81
82 func (m *NetworkDevice) GetAlertable() bool {
83 » if m != nil && m.Alertable != nil {
84 » » return *m.Alertable
85 » }
86 » return false
87 }
88
89 func (m *NetworkDevice) GetRealm() string {
90 » if m != nil && m.Realm != nil {
91 » » return *m.Realm
92 » }
93 » return ""
94 }
95
96 func (m *NetworkDevice) GetMetro() string {
97 » if m != nil && m.Metro != nil {
98 » » return *m.Metro
99 » }
100 » return ""
101 }
102
103 func (m *NetworkDevice) GetRole() string {
104 » if m != nil && m.Role != nil {
105 » » return *m.Role
106 » }
107 » return ""
108 }
109
110 func (m *NetworkDevice) GetHostname() string {
111 » if m != nil && m.Hostname != nil {
112 » » return *m.Hostname
113 » }
114 » return ""
115 }
116
117 func (m *NetworkDevice) GetHostgroup() string {
118 » if m != nil && m.Hostgroup != nil {
119 » » return *m.Hostgroup
120 » }
121 » return ""
122 }
123
124 func init() {
125 » proto.RegisterType((*NetworkDevice)(nil), "ts_mon.proto.NetworkDevice")
126 » proto.RegisterEnum("ts_mon.proto.NetworkDevice_TypeId", NetworkDevice_Ty peId_name, NetworkDevice_TypeId_value)
127 }
128
129 var fileDescriptor0 = []byte{
130 » // 194 bytes of a gzipped FileDescriptorProto
131 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0x52, 0x48, 0x4c, 0x2e, 0x2c,
132 » 0xcd, 0x2c, 0xce, 0x2c, 0xc9, 0xcc, 0xcf, 0x8b, 0xcf, 0x4b, 0x2d, 0x29, 0xcf, 0x2f, 0xca, 0x8e,
133 » 0x4f, 0x49, 0x2d, 0xcb, 0x4c, 0x4e, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x29, 0x29,
134 » 0x8e, 0xcf, 0xcd, 0xcf, 0x83, 0xf0, 0x94, 0xa6, 0x32, 0x72, 0xf1, 0xfa, 0x41, 0x94, 0xb9, 0x80,
135 » 0x55, 0x09, 0x09, 0x72, 0x71, 0x26, 0xe6, 0xa4, 0x16, 0x95, 0x24, 0x26, 0xe5, 0xa4, 0x4a, 0xa4,
136 » 0x2a, 0x30, 0x6a, 0x70, 0x08, 0xf1, 0x72, 0xb1, 0x16, 0xa5, 0x26, 0xe6, 0xe4, 0x4a, 0xa4, 0x01,
137 » 0xb9, 0x9c, 0x20, 0x6e, 0x6e, 0x6a, 0x49, 0x51, 0xbe, 0x44, 0x06, 0x98, 0xcb, 0xc3, 0xc5, 0x52,
138 » 0x94, 0x0f, 0x54, 0x9b, 0x09, 0xe6, 0x09, 0x70, 0x71, 0x64, 0xe4, 0x17, 0x97, 0xe4, 0x25, 0xe6,
139 » 0xa6, 0x4a, 0x64, 0x81, 0x45, 0x80, 0x06, 0x82, 0x44, 0xd2, 0x8b, 0xf2, 0x4b, 0x0b, 0x24, 0x72,
140 » 0x40, 0x42, 0x4a, 0x0a, 0x5c, 0x6c, 0x21, 0x95, 0x05, 0xa9, 0x9e, 0x29, 0x42, 0x62, 0x5c, 0xfc,
141 » 0xbe, 0xae, 0xc1, 0xc1, 0x8e, 0xee, 0xae, 0xf1, 0x21, 0x91, 0x01, 0xae, 0xf1, 0x9e, 0x2e, 0x02,
142 » 0x57, 0xe7, 0xce, 0x13, 0x00, 0x04, 0x00, 0x00, 0xff, 0xff, 0x7b, 0x02, 0xd9, 0xa7, 0xc8, 0x00,
143 » 0x00, 0x00,
144 }
OLDNEW
« no previous file with comments | « common/tsmon/ts_mon_proto/acquisition_network_device.proto ('k') | common/tsmon/ts_mon_proto/acquisition_task.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698