-
Notifications
You must be signed in to change notification settings - Fork 302
/
enums.pb.go
212 lines (187 loc) · 9.34 KB
/
enums.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: lorawan-stack/api/enums.proto
package ttnpb
import (
fmt "fmt"
_ "github.com/TheThingsIndustries/protoc-gen-go-json/annotations"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
golang_proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = golang_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.GoGoProtoPackageIsVersion3 // please upgrade the proto package
type DownlinkPathConstraint int32
const (
// Indicates that the gateway can be selected for downlink without constraints by the Network Server.
DownlinkPathConstraint_DOWNLINK_PATH_CONSTRAINT_NONE DownlinkPathConstraint = 0
// Indicates that the gateway can be selected for downlink only if no other or better gateway can be selected.
DownlinkPathConstraint_DOWNLINK_PATH_CONSTRAINT_PREFER_OTHER DownlinkPathConstraint = 1
// Indicates that this gateway will never be selected for downlink, even if that results in no available downlink path.
DownlinkPathConstraint_DOWNLINK_PATH_CONSTRAINT_NEVER DownlinkPathConstraint = 2
)
var DownlinkPathConstraint_name = map[int32]string{
0: "DOWNLINK_PATH_CONSTRAINT_NONE",
1: "DOWNLINK_PATH_CONSTRAINT_PREFER_OTHER",
2: "DOWNLINK_PATH_CONSTRAINT_NEVER",
}
var DownlinkPathConstraint_value = map[string]int32{
"DOWNLINK_PATH_CONSTRAINT_NONE": 0,
"DOWNLINK_PATH_CONSTRAINT_PREFER_OTHER": 1,
"DOWNLINK_PATH_CONSTRAINT_NEVER": 2,
}
func (x DownlinkPathConstraint) String() string {
return proto.EnumName(DownlinkPathConstraint_name, int32(x))
}
func (DownlinkPathConstraint) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_e36318a1e2f407cb, []int{0}
}
// State enum defines states that an entity can be in.
type State int32
const (
// Denotes that the entity has been requested and is pending review by an admin.
State_STATE_REQUESTED State = 0
// Denotes that the entity has been reviewed and approved by an admin.
State_STATE_APPROVED State = 1
// Denotes that the entity has been reviewed and rejected by an admin.
State_STATE_REJECTED State = 2
// Denotes that the entity has been flagged and is pending review by an admin.
State_STATE_FLAGGED State = 3
// Denotes that the entity has been reviewed and suspended by an admin.
State_STATE_SUSPENDED State = 4
)
var State_name = map[int32]string{
0: "STATE_REQUESTED",
1: "STATE_APPROVED",
2: "STATE_REJECTED",
3: "STATE_FLAGGED",
4: "STATE_SUSPENDED",
}
var State_value = map[string]int32{
"STATE_REQUESTED": 0,
"STATE_APPROVED": 1,
"STATE_REJECTED": 2,
"STATE_FLAGGED": 3,
"STATE_SUSPENDED": 4,
}
func (x State) String() string {
return proto.EnumName(State_name, int32(x))
}
func (State) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_e36318a1e2f407cb, []int{1}
}
type ClusterRole int32
const (
ClusterRole_NONE ClusterRole = 0
ClusterRole_ENTITY_REGISTRY ClusterRole = 1
ClusterRole_ACCESS ClusterRole = 2
ClusterRole_GATEWAY_SERVER ClusterRole = 3
ClusterRole_NETWORK_SERVER ClusterRole = 4
ClusterRole_APPLICATION_SERVER ClusterRole = 5
ClusterRole_JOIN_SERVER ClusterRole = 6
ClusterRole_CRYPTO_SERVER ClusterRole = 7
ClusterRole_DEVICE_TEMPLATE_CONVERTER ClusterRole = 8
ClusterRole_DEVICE_CLAIMING_SERVER ClusterRole = 9
ClusterRole_GATEWAY_CONFIGURATION_SERVER ClusterRole = 10
ClusterRole_QR_CODE_GENERATOR ClusterRole = 11
ClusterRole_PACKET_BROKER_AGENT ClusterRole = 12
ClusterRole_DEVICE_REPOSITORY ClusterRole = 13
)
var ClusterRole_name = map[int32]string{
0: "NONE",
1: "ENTITY_REGISTRY",
2: "ACCESS",
3: "GATEWAY_SERVER",
4: "NETWORK_SERVER",
5: "APPLICATION_SERVER",
6: "JOIN_SERVER",
7: "CRYPTO_SERVER",
8: "DEVICE_TEMPLATE_CONVERTER",
9: "DEVICE_CLAIMING_SERVER",
10: "GATEWAY_CONFIGURATION_SERVER",
11: "QR_CODE_GENERATOR",
12: "PACKET_BROKER_AGENT",
13: "DEVICE_REPOSITORY",
}
var ClusterRole_value = map[string]int32{
"NONE": 0,
"ENTITY_REGISTRY": 1,
"ACCESS": 2,
"GATEWAY_SERVER": 3,
"NETWORK_SERVER": 4,
"APPLICATION_SERVER": 5,
"JOIN_SERVER": 6,
"CRYPTO_SERVER": 7,
"DEVICE_TEMPLATE_CONVERTER": 8,
"DEVICE_CLAIMING_SERVER": 9,
"GATEWAY_CONFIGURATION_SERVER": 10,
"QR_CODE_GENERATOR": 11,
"PACKET_BROKER_AGENT": 12,
"DEVICE_REPOSITORY": 13,
}
func (x ClusterRole) String() string {
return proto.EnumName(ClusterRole_name, int32(x))
}
func (ClusterRole) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_e36318a1e2f407cb, []int{2}
}
func init() {
proto.RegisterEnum("ttn.lorawan.v3.DownlinkPathConstraint", DownlinkPathConstraint_name, DownlinkPathConstraint_value)
golang_proto.RegisterEnum("ttn.lorawan.v3.DownlinkPathConstraint", DownlinkPathConstraint_name, DownlinkPathConstraint_value)
proto.RegisterEnum("ttn.lorawan.v3.State", State_name, State_value)
golang_proto.RegisterEnum("ttn.lorawan.v3.State", State_name, State_value)
proto.RegisterEnum("ttn.lorawan.v3.ClusterRole", ClusterRole_name, ClusterRole_value)
golang_proto.RegisterEnum("ttn.lorawan.v3.ClusterRole", ClusterRole_name, ClusterRole_value)
}
func init() { proto.RegisterFile("lorawan-stack/api/enums.proto", fileDescriptor_e36318a1e2f407cb) }
func init() {
golang_proto.RegisterFile("lorawan-stack/api/enums.proto", fileDescriptor_e36318a1e2f407cb)
}
var fileDescriptor_e36318a1e2f407cb = []byte{
// 578 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x93, 0xdf, 0x4e, 0xdb, 0x3e,
0x14, 0xc7, 0x69, 0xf9, 0xf3, 0x03, 0xf3, 0x03, 0x82, 0xd1, 0x18, 0x54, 0x80, 0xd8, 0xa4, 0x5d,
0xac, 0x52, 0x9b, 0x0b, 0xb4, 0x07, 0x30, 0xce, 0x21, 0x98, 0x16, 0x3b, 0x38, 0xa6, 0xa8, 0xbb,
0x89, 0x52, 0x96, 0xa5, 0x59, 0x8b, 0x5d, 0x35, 0x2e, 0x5c, 0xec, 0x8d, 0xd0, 0x1e, 0x82, 0x77,
0xd9, 0x1d, 0x4f, 0x31, 0x25, 0x6d, 0xc7, 0xb8, 0xe0, 0xce, 0xe7, 0x73, 0xbe, 0xe7, 0xf8, 0x7b,
0xac, 0x63, 0x74, 0x38, 0x34, 0xe3, 0xf8, 0x21, 0xd6, 0x8d, 0xdc, 0xc6, 0xb7, 0x03, 0x37, 0x1e,
0x65, 0x6e, 0xa2, 0x27, 0x77, 0x79, 0x73, 0x34, 0x36, 0xd6, 0xe0, 0x4d, 0x6b, 0x75, 0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