-
Notifications
You must be signed in to change notification settings - Fork 302
/
secrets.pb.go
109 lines (97 loc) · 4.72 KB
/
secrets.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
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: lorawan-stack/api/secrets.proto
package ttnpb
import (
fmt "fmt"
_ "github.com/TheThingsIndustries/protoc-gen-go-flags/annotations"
_ "github.com/envoyproxy/protoc-gen-validate/validate"
_ "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
// Secret contains a secret value. It also contains the ID of the Encryption key used to encrypt it.
type Secret struct {
// ID of the Key used to encrypt the secret.
KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Secret) Reset() { *m = Secret{} }
func (m *Secret) String() string { return proto.CompactTextString(m) }
func (*Secret) ProtoMessage() {}
func (*Secret) Descriptor() ([]byte, []int) {
return fileDescriptor_8c9d796b7f7ca235, []int{0}
}
func (m *Secret) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Secret.Unmarshal(m, b)
}
func (m *Secret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Secret.Marshal(b, m, deterministic)
}
func (m *Secret) XXX_Merge(src proto.Message) {
xxx_messageInfo_Secret.Merge(m, src)
}
func (m *Secret) XXX_Size() int {
return xxx_messageInfo_Secret.Size(m)
}
func (m *Secret) XXX_DiscardUnknown() {
xxx_messageInfo_Secret.DiscardUnknown(m)
}
var xxx_messageInfo_Secret proto.InternalMessageInfo
func (m *Secret) GetKeyId() string {
if m != nil {
return m.KeyId
}
return ""
}
func (m *Secret) GetValue() []byte {
if m != nil {
return m.Value
}
return nil
}
func init() {
proto.RegisterType((*Secret)(nil), "ttn.lorawan.v3.Secret")
golang_proto.RegisterType((*Secret)(nil), "ttn.lorawan.v3.Secret")
}
func init() { proto.RegisterFile("lorawan-stack/api/secrets.proto", fileDescriptor_8c9d796b7f7ca235) }
func init() {
golang_proto.RegisterFile("lorawan-stack/api/secrets.proto", fileDescriptor_8c9d796b7f7ca235)
}
var fileDescriptor_8c9d796b7f7ca235 = []byte{
// 333 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x91, 0xb1, 0x4a, 0x2b, 0x41,
0x14, 0x86, 0x99, 0x7b, 0x6f, 0x42, 0xee, 0x72, 0xb9, 0x84, 0x80, 0x90, 0xa4, 0xd0, 0x90, 0x2a,
0xcd, 0xce, 0x14, 0xc1, 0xc6, 0xce, 0x45, 0x8c, 0x69, 0x52, 0xc4, 0x54, 0x36, 0x32, 0xbb, 0x7b,
0x32, 0x3b, 0xec, 0x3a, 0x67, 0xd9, 0x39, 0xbb, 0xc9, 0x5a, 0xf9, 0x1a, 0xbe, 0x80, 0x45, 0xde,
0x41, 0xf0, 0x5d, 0xac, 0x6c, 0x53, 0x5a, 0x09, 0x93, 0x14, 0x11, 0x3b, 0x6d, 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