1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package configpb
22
23 import (
24 configpb "github.com/google/certificate-transparency-go/trillian/ctfe/configpb"
25 keyspb "github.com/google/trillian/crypto/keyspb"
26 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
27 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
28 reflect "reflect"
29 sync "sync"
30 )
31
32 const (
33
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39
40 type IdentityFunction int32
41
42 const (
43 IdentityFunction_UNKNOWN_IDENTITY_FUNCTION IdentityFunction = 0
44
45
46
47
48
49
50 IdentityFunction_SHA256_CERT_DATA IdentityFunction = 1
51
52
53
54
55
56
57
58 IdentityFunction_SHA256_LEAF_INDEX IdentityFunction = 2
59 )
60
61
62 var (
63 IdentityFunction_name = map[int32]string{
64 0: "UNKNOWN_IDENTITY_FUNCTION",
65 1: "SHA256_CERT_DATA",
66 2: "SHA256_LEAF_INDEX",
67 }
68 IdentityFunction_value = map[string]int32{
69 "UNKNOWN_IDENTITY_FUNCTION": 0,
70 "SHA256_CERT_DATA": 1,
71 "SHA256_LEAF_INDEX": 2,
72 }
73 )
74
75 func (x IdentityFunction) Enum() *IdentityFunction {
76 p := new(IdentityFunction)
77 *p = x
78 return p
79 }
80
81 func (x IdentityFunction) String() string {
82 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
83 }
84
85 func (IdentityFunction) Descriptor() protoreflect.EnumDescriptor {
86 return file_trillian_migrillian_configpb_config_proto_enumTypes[0].Descriptor()
87 }
88
89 func (IdentityFunction) Type() protoreflect.EnumType {
90 return &file_trillian_migrillian_configpb_config_proto_enumTypes[0]
91 }
92
93 func (x IdentityFunction) Number() protoreflect.EnumNumber {
94 return protoreflect.EnumNumber(x)
95 }
96
97
98 func (IdentityFunction) EnumDescriptor() ([]byte, []int) {
99 return file_trillian_migrillian_configpb_config_proto_rawDescGZIP(), []int{0}
100 }
101
102
103
104 type MigrationConfig struct {
105 state protoimpl.MessageState
106 sizeCache protoimpl.SizeCache
107 unknownFields protoimpl.UnknownFields
108
109
110 SourceUri string `protobuf:"bytes,1,opt,name=source_uri,json=sourceUri,proto3" json:"source_uri,omitempty"`
111
112 PublicKey *keyspb.PublicKey `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
113
114
115
116
117
118
119 LogBackendName string `protobuf:"bytes,3,opt,name=log_backend_name,json=logBackendName,proto3" json:"log_backend_name,omitempty"`
120
121 LogId int64 `protobuf:"varint,4,opt,name=log_id,json=logId,proto3" json:"log_id,omitempty"`
122
123 BatchSize int32 `protobuf:"varint,5,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"`
124
125
126
127 IsContinuous bool `protobuf:"varint,6,opt,name=is_continuous,json=isContinuous,proto3" json:"is_continuous,omitempty"`
128
129
130
131
132 StartIndex int64 `protobuf:"varint,7,opt,name=start_index,json=startIndex,proto3" json:"start_index,omitempty"`
133
134
135
136 EndIndex int64 `protobuf:"varint,8,opt,name=end_index,json=endIndex,proto3" json:"end_index,omitempty"`
137
138
139 NumFetchers int32 `protobuf:"varint,9,opt,name=num_fetchers,json=numFetchers,proto3" json:"num_fetchers,omitempty"`
140
141
142 NumSubmitters int32 `protobuf:"varint,10,opt,name=num_submitters,json=numSubmitters,proto3" json:"num_submitters,omitempty"`
143
144 ChannelSize int32 `protobuf:"varint,11,opt,name=channel_size,json=channelSize,proto3" json:"channel_size,omitempty"`
145
146 IdentityFunction IdentityFunction `protobuf:"varint,12,opt,name=identity_function,json=identityFunction,proto3,enum=configpb.IdentityFunction" json:"identity_function,omitempty"`
147
148
149
150
151 NoConsistencyCheck bool `protobuf:"varint,13,opt,name=no_consistency_check,json=noConsistencyCheck,proto3" json:"no_consistency_check,omitempty"`
152 }
153
154 func (x *MigrationConfig) Reset() {
155 *x = MigrationConfig{}
156 if protoimpl.UnsafeEnabled {
157 mi := &file_trillian_migrillian_configpb_config_proto_msgTypes[0]
158 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
159 ms.StoreMessageInfo(mi)
160 }
161 }
162
163 func (x *MigrationConfig) String() string {
164 return protoimpl.X.MessageStringOf(x)
165 }
166
167 func (*MigrationConfig) ProtoMessage() {}
168
169 func (x *MigrationConfig) ProtoReflect() protoreflect.Message {
170 mi := &file_trillian_migrillian_configpb_config_proto_msgTypes[0]
171 if protoimpl.UnsafeEnabled && x != nil {
172 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
173 if ms.LoadMessageInfo() == nil {
174 ms.StoreMessageInfo(mi)
175 }
176 return ms
177 }
178 return mi.MessageOf(x)
179 }
180
181
182 func (*MigrationConfig) Descriptor() ([]byte, []int) {
183 return file_trillian_migrillian_configpb_config_proto_rawDescGZIP(), []int{0}
184 }
185
186 func (x *MigrationConfig) GetSourceUri() string {
187 if x != nil {
188 return x.SourceUri
189 }
190 return ""
191 }
192
193 func (x *MigrationConfig) GetPublicKey() *keyspb.PublicKey {
194 if x != nil {
195 return x.PublicKey
196 }
197 return nil
198 }
199
200
201 func (x *MigrationConfig) GetLogBackendName() string {
202 if x != nil {
203 return x.LogBackendName
204 }
205 return ""
206 }
207
208 func (x *MigrationConfig) GetLogId() int64 {
209 if x != nil {
210 return x.LogId
211 }
212 return 0
213 }
214
215 func (x *MigrationConfig) GetBatchSize() int32 {
216 if x != nil {
217 return x.BatchSize
218 }
219 return 0
220 }
221
222 func (x *MigrationConfig) GetIsContinuous() bool {
223 if x != nil {
224 return x.IsContinuous
225 }
226 return false
227 }
228
229 func (x *MigrationConfig) GetStartIndex() int64 {
230 if x != nil {
231 return x.StartIndex
232 }
233 return 0
234 }
235
236 func (x *MigrationConfig) GetEndIndex() int64 {
237 if x != nil {
238 return x.EndIndex
239 }
240 return 0
241 }
242
243 func (x *MigrationConfig) GetNumFetchers() int32 {
244 if x != nil {
245 return x.NumFetchers
246 }
247 return 0
248 }
249
250 func (x *MigrationConfig) GetNumSubmitters() int32 {
251 if x != nil {
252 return x.NumSubmitters
253 }
254 return 0
255 }
256
257 func (x *MigrationConfig) GetChannelSize() int32 {
258 if x != nil {
259 return x.ChannelSize
260 }
261 return 0
262 }
263
264 func (x *MigrationConfig) GetIdentityFunction() IdentityFunction {
265 if x != nil {
266 return x.IdentityFunction
267 }
268 return IdentityFunction_UNKNOWN_IDENTITY_FUNCTION
269 }
270
271 func (x *MigrationConfig) GetNoConsistencyCheck() bool {
272 if x != nil {
273 return x.NoConsistencyCheck
274 }
275 return false
276 }
277
278
279 type MigrationConfigSet struct {
280 state protoimpl.MessageState
281 sizeCache protoimpl.SizeCache
282 unknownFields protoimpl.UnknownFields
283
284 Config []*MigrationConfig `protobuf:"bytes,1,rep,name=config,proto3" json:"config,omitempty"`
285 }
286
287 func (x *MigrationConfigSet) Reset() {
288 *x = MigrationConfigSet{}
289 if protoimpl.UnsafeEnabled {
290 mi := &file_trillian_migrillian_configpb_config_proto_msgTypes[1]
291 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
292 ms.StoreMessageInfo(mi)
293 }
294 }
295
296 func (x *MigrationConfigSet) String() string {
297 return protoimpl.X.MessageStringOf(x)
298 }
299
300 func (*MigrationConfigSet) ProtoMessage() {}
301
302 func (x *MigrationConfigSet) ProtoReflect() protoreflect.Message {
303 mi := &file_trillian_migrillian_configpb_config_proto_msgTypes[1]
304 if protoimpl.UnsafeEnabled && x != nil {
305 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
306 if ms.LoadMessageInfo() == nil {
307 ms.StoreMessageInfo(mi)
308 }
309 return ms
310 }
311 return mi.MessageOf(x)
312 }
313
314
315 func (*MigrationConfigSet) Descriptor() ([]byte, []int) {
316 return file_trillian_migrillian_configpb_config_proto_rawDescGZIP(), []int{1}
317 }
318
319 func (x *MigrationConfigSet) GetConfig() []*MigrationConfig {
320 if x != nil {
321 return x.Config
322 }
323 return nil
324 }
325
326
327 type MigrillianConfig struct {
328 state protoimpl.MessageState
329 sizeCache protoimpl.SizeCache
330 unknownFields protoimpl.UnknownFields
331
332
333
334
335
336
337
338 Backends *configpb.LogBackendSet `protobuf:"bytes,1,opt,name=backends,proto3" json:"backends,omitempty"`
339
340
341 MigrationConfigs *MigrationConfigSet `protobuf:"bytes,2,opt,name=migration_configs,json=migrationConfigs,proto3" json:"migration_configs,omitempty"`
342 }
343
344 func (x *MigrillianConfig) Reset() {
345 *x = MigrillianConfig{}
346 if protoimpl.UnsafeEnabled {
347 mi := &file_trillian_migrillian_configpb_config_proto_msgTypes[2]
348 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
349 ms.StoreMessageInfo(mi)
350 }
351 }
352
353 func (x *MigrillianConfig) String() string {
354 return protoimpl.X.MessageStringOf(x)
355 }
356
357 func (*MigrillianConfig) ProtoMessage() {}
358
359 func (x *MigrillianConfig) ProtoReflect() protoreflect.Message {
360 mi := &file_trillian_migrillian_configpb_config_proto_msgTypes[2]
361 if protoimpl.UnsafeEnabled && x != nil {
362 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
363 if ms.LoadMessageInfo() == nil {
364 ms.StoreMessageInfo(mi)
365 }
366 return ms
367 }
368 return mi.MessageOf(x)
369 }
370
371
372 func (*MigrillianConfig) Descriptor() ([]byte, []int) {
373 return file_trillian_migrillian_configpb_config_proto_rawDescGZIP(), []int{2}
374 }
375
376
377 func (x *MigrillianConfig) GetBackends() *configpb.LogBackendSet {
378 if x != nil {
379 return x.Backends
380 }
381 return nil
382 }
383
384 func (x *MigrillianConfig) GetMigrationConfigs() *MigrationConfigSet {
385 if x != nil {
386 return x.MigrationConfigs
387 }
388 return nil
389 }
390
391 var File_trillian_migrillian_configpb_config_proto protoreflect.FileDescriptor
392
393 var file_trillian_migrillian_configpb_config_proto_rawDesc = []byte{
394 0x0a, 0x29, 0x74, 0x72, 0x69, 0x6c, 0x6c, 0x69, 0x61, 0x6e, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x69,
395 0x6c, 0x6c, 0x69, 0x61, 0x6e, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x70, 0x62, 0x2f, 0x63,
396 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x63, 0x6f, 0x6e,
397 0x66, 0x69, 0x67, 0x70, 0x62, 0x1a, 0x23, 0x74, 0x72, 0x69, 0x6c, 0x6c, 0x69, 0x61, 0x6e, 0x2f,
398 0x63, 0x74, 0x66, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x70, 0x62, 0x2f, 0x63, 0x6f,
399 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x63, 0x72, 0x79, 0x70,
400 0x74, 0x6f, 0x2f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x62, 0x2f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x62,
401 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x91, 0x04, 0x0a, 0x0f, 0x4d, 0x69, 0x67, 0x72, 0x61,
402 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6f,
403 0x75, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
404 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x72, 0x69, 0x12, 0x30, 0x0a, 0x0a, 0x70, 0x75, 0x62,
405 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e,
406 0x6b, 0x65, 0x79, 0x73, 0x70, 0x62, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79,
407 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x10, 0x6c,
408 0x6f, 0x67, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
409 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0e, 0x6c, 0x6f, 0x67, 0x42, 0x61,
410 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x6c, 0x6f, 0x67,
411 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x6f, 0x67, 0x49, 0x64,
412 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05,
413 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x62, 0x61, 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x12,
414 0x23, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75, 0x73,
415 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e,
416 0x75, 0x6f, 0x75, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x6e,
417 0x64, 0x65, 0x78, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74,
418 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x64, 0x5f, 0x69, 0x6e, 0x64,
419 0x65, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x64,
420 0x65, 0x78, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x75, 0x6d, 0x5f, 0x66, 0x65, 0x74, 0x63, 0x68, 0x65,
421 0x72, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x6e, 0x75, 0x6d, 0x46, 0x65, 0x74,
422 0x63, 0x68, 0x65, 0x72, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x6e, 0x75, 0x6d, 0x5f, 0x73, 0x75, 0x62,
423 0x6d, 0x69, 0x74, 0x74, 0x65, 0x72, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x6e,
424 0x75, 0x6d, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x72, 0x73, 0x12, 0x21, 0x0a, 0x0c,
425 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x0b, 0x20, 0x01,
426 0x28, 0x05, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x12,
427 0x47, 0x0a, 0x11, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x66, 0x75, 0x6e, 0x63,
428 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x63, 0x6f, 0x6e,
429 0x66, 0x69, 0x67, 0x70, 0x62, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x46, 0x75,
430 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
431 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x14, 0x6e, 0x6f, 0x5f, 0x63,
432 0x6f, 0x6e, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b,
433 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x6e, 0x6f, 0x43, 0x6f, 0x6e, 0x73, 0x69, 0x73,
434 0x74, 0x65, 0x6e, 0x63, 0x79, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x22, 0x47, 0x0a, 0x12, 0x4d, 0x69,
435 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74,
436 0x12, 0x31, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
437 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x70, 0x62, 0x2e, 0x4d, 0x69, 0x67, 0x72,
438 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e,
439 0x66, 0x69, 0x67, 0x22, 0x96, 0x01, 0x0a, 0x10, 0x4d, 0x69, 0x67, 0x72, 0x69, 0x6c, 0x6c, 0x69,
440 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x37, 0x0a, 0x08, 0x62, 0x61, 0x63, 0x6b,
441 0x65, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x6f, 0x6e,
442 0x66, 0x69, 0x67, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x67, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64,
443 0x53, 0x65, 0x74, 0x42, 0x02, 0x18, 0x01, 0x52, 0x08, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64,
444 0x73, 0x12, 0x49, 0x0a, 0x11, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63,
445 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63,
446 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x70, 0x62, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f,
447 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x52, 0x10, 0x6d, 0x69, 0x67, 0x72,
448 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2a, 0x5e, 0x0a, 0x10,
449 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e,
450 0x12, 0x1d, 0x0a, 0x19, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x49, 0x44, 0x45, 0x4e,
451 0x54, 0x49, 0x54, 0x59, 0x5f, 0x46, 0x55, 0x4e, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x00, 0x12,
452 0x14, 0x0a, 0x10, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x5f, 0x43, 0x45, 0x52, 0x54, 0x5f, 0x44,
453 0x41, 0x54, 0x41, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x5f,
454 0x4c, 0x45, 0x41, 0x46, 0x5f, 0x49, 0x4e, 0x44, 0x45, 0x58, 0x10, 0x02, 0x42, 0x4c, 0x5a, 0x4a,
455 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
456 0x65, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x2d, 0x74, 0x72,
457 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x2d, 0x67, 0x6f, 0x2f, 0x74, 0x72,
458 0x69, 0x6c, 0x6c, 0x69, 0x61, 0x6e, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x69, 0x6c, 0x6c, 0x69, 0x61,
459 0x6e, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
460 0x6f, 0x33,
461 }
462
463 var (
464 file_trillian_migrillian_configpb_config_proto_rawDescOnce sync.Once
465 file_trillian_migrillian_configpb_config_proto_rawDescData = file_trillian_migrillian_configpb_config_proto_rawDesc
466 )
467
468 func file_trillian_migrillian_configpb_config_proto_rawDescGZIP() []byte {
469 file_trillian_migrillian_configpb_config_proto_rawDescOnce.Do(func() {
470 file_trillian_migrillian_configpb_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_trillian_migrillian_configpb_config_proto_rawDescData)
471 })
472 return file_trillian_migrillian_configpb_config_proto_rawDescData
473 }
474
475 var file_trillian_migrillian_configpb_config_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
476 var file_trillian_migrillian_configpb_config_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
477 var file_trillian_migrillian_configpb_config_proto_goTypes = []interface{}{
478 (IdentityFunction)(0),
479 (*MigrationConfig)(nil),
480 (*MigrationConfigSet)(nil),
481 (*MigrillianConfig)(nil),
482 (*keyspb.PublicKey)(nil),
483 (*configpb.LogBackendSet)(nil),
484 }
485 var file_trillian_migrillian_configpb_config_proto_depIdxs = []int32{
486 4,
487 0,
488 1,
489 5,
490 2,
491 5,
492 5,
493 5,
494 5,
495 0,
496 }
497
498 func init() { file_trillian_migrillian_configpb_config_proto_init() }
499 func file_trillian_migrillian_configpb_config_proto_init() {
500 if File_trillian_migrillian_configpb_config_proto != nil {
501 return
502 }
503 if !protoimpl.UnsafeEnabled {
504 file_trillian_migrillian_configpb_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
505 switch v := v.(*MigrationConfig); i {
506 case 0:
507 return &v.state
508 case 1:
509 return &v.sizeCache
510 case 2:
511 return &v.unknownFields
512 default:
513 return nil
514 }
515 }
516 file_trillian_migrillian_configpb_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
517 switch v := v.(*MigrationConfigSet); i {
518 case 0:
519 return &v.state
520 case 1:
521 return &v.sizeCache
522 case 2:
523 return &v.unknownFields
524 default:
525 return nil
526 }
527 }
528 file_trillian_migrillian_configpb_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
529 switch v := v.(*MigrillianConfig); i {
530 case 0:
531 return &v.state
532 case 1:
533 return &v.sizeCache
534 case 2:
535 return &v.unknownFields
536 default:
537 return nil
538 }
539 }
540 }
541 type x struct{}
542 out := protoimpl.TypeBuilder{
543 File: protoimpl.DescBuilder{
544 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
545 RawDescriptor: file_trillian_migrillian_configpb_config_proto_rawDesc,
546 NumEnums: 1,
547 NumMessages: 3,
548 NumExtensions: 0,
549 NumServices: 0,
550 },
551 GoTypes: file_trillian_migrillian_configpb_config_proto_goTypes,
552 DependencyIndexes: file_trillian_migrillian_configpb_config_proto_depIdxs,
553 EnumInfos: file_trillian_migrillian_configpb_config_proto_enumTypes,
554 MessageInfos: file_trillian_migrillian_configpb_config_proto_msgTypes,
555 }.Build()
556 File_trillian_migrillian_configpb_config_proto = out.File
557 file_trillian_migrillian_configpb_config_proto_rawDesc = nil
558 file_trillian_migrillian_configpb_config_proto_goTypes = nil
559 file_trillian_migrillian_configpb_config_proto_depIdxs = nil
560 }
561
View as plain text