1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package logging
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 )
30
31 const (
32
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38
39 type Namespaces struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44
45 Namespaces []string `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
46 }
47
48 func (x *Namespaces) Reset() {
49 *x = Namespaces{}
50 if protoimpl.UnsafeEnabled {
51 mi := &file_google_cloud_gkebackup_logging_v1_logged_common_proto_msgTypes[0]
52 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
53 ms.StoreMessageInfo(mi)
54 }
55 }
56
57 func (x *Namespaces) String() string {
58 return protoimpl.X.MessageStringOf(x)
59 }
60
61 func (*Namespaces) ProtoMessage() {}
62
63 func (x *Namespaces) ProtoReflect() protoreflect.Message {
64 mi := &file_google_cloud_gkebackup_logging_v1_logged_common_proto_msgTypes[0]
65 if protoimpl.UnsafeEnabled && x != nil {
66 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
67 if ms.LoadMessageInfo() == nil {
68 ms.StoreMessageInfo(mi)
69 }
70 return ms
71 }
72 return mi.MessageOf(x)
73 }
74
75
76 func (*Namespaces) Descriptor() ([]byte, []int) {
77 return file_google_cloud_gkebackup_logging_v1_logged_common_proto_rawDescGZIP(), []int{0}
78 }
79
80 func (x *Namespaces) GetNamespaces() []string {
81 if x != nil {
82 return x.Namespaces
83 }
84 return nil
85 }
86
87
88 type NamespacedName struct {
89 state protoimpl.MessageState
90 sizeCache protoimpl.SizeCache
91 unknownFields protoimpl.UnknownFields
92
93
94 Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
95
96 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
97 }
98
99 func (x *NamespacedName) Reset() {
100 *x = NamespacedName{}
101 if protoimpl.UnsafeEnabled {
102 mi := &file_google_cloud_gkebackup_logging_v1_logged_common_proto_msgTypes[1]
103 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
104 ms.StoreMessageInfo(mi)
105 }
106 }
107
108 func (x *NamespacedName) String() string {
109 return protoimpl.X.MessageStringOf(x)
110 }
111
112 func (*NamespacedName) ProtoMessage() {}
113
114 func (x *NamespacedName) ProtoReflect() protoreflect.Message {
115 mi := &file_google_cloud_gkebackup_logging_v1_logged_common_proto_msgTypes[1]
116 if protoimpl.UnsafeEnabled && x != nil {
117 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
118 if ms.LoadMessageInfo() == nil {
119 ms.StoreMessageInfo(mi)
120 }
121 return ms
122 }
123 return mi.MessageOf(x)
124 }
125
126
127 func (*NamespacedName) Descriptor() ([]byte, []int) {
128 return file_google_cloud_gkebackup_logging_v1_logged_common_proto_rawDescGZIP(), []int{1}
129 }
130
131 func (x *NamespacedName) GetNamespace() string {
132 if x != nil {
133 return x.Namespace
134 }
135 return ""
136 }
137
138 func (x *NamespacedName) GetName() string {
139 if x != nil {
140 return x.Name
141 }
142 return ""
143 }
144
145
146 type NamespacedNames struct {
147 state protoimpl.MessageState
148 sizeCache protoimpl.SizeCache
149 unknownFields protoimpl.UnknownFields
150
151
152 NamespacedNames []*NamespacedName `protobuf:"bytes,1,rep,name=namespaced_names,json=namespacedNames,proto3" json:"namespaced_names,omitempty"`
153 }
154
155 func (x *NamespacedNames) Reset() {
156 *x = NamespacedNames{}
157 if protoimpl.UnsafeEnabled {
158 mi := &file_google_cloud_gkebackup_logging_v1_logged_common_proto_msgTypes[2]
159 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
160 ms.StoreMessageInfo(mi)
161 }
162 }
163
164 func (x *NamespacedNames) String() string {
165 return protoimpl.X.MessageStringOf(x)
166 }
167
168 func (*NamespacedNames) ProtoMessage() {}
169
170 func (x *NamespacedNames) ProtoReflect() protoreflect.Message {
171 mi := &file_google_cloud_gkebackup_logging_v1_logged_common_proto_msgTypes[2]
172 if protoimpl.UnsafeEnabled && x != nil {
173 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
174 if ms.LoadMessageInfo() == nil {
175 ms.StoreMessageInfo(mi)
176 }
177 return ms
178 }
179 return mi.MessageOf(x)
180 }
181
182
183 func (*NamespacedNames) Descriptor() ([]byte, []int) {
184 return file_google_cloud_gkebackup_logging_v1_logged_common_proto_rawDescGZIP(), []int{2}
185 }
186
187 func (x *NamespacedNames) GetNamespacedNames() []*NamespacedName {
188 if x != nil {
189 return x.NamespacedNames
190 }
191 return nil
192 }
193
194
195
196 type EncryptionKey struct {
197 state protoimpl.MessageState
198 sizeCache protoimpl.SizeCache
199 unknownFields protoimpl.UnknownFields
200
201
202
203 GcpKmsEncryptionKey string `protobuf:"bytes,1,opt,name=gcp_kms_encryption_key,json=gcpKmsEncryptionKey,proto3" json:"gcp_kms_encryption_key,omitempty"`
204 }
205
206 func (x *EncryptionKey) Reset() {
207 *x = EncryptionKey{}
208 if protoimpl.UnsafeEnabled {
209 mi := &file_google_cloud_gkebackup_logging_v1_logged_common_proto_msgTypes[3]
210 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
211 ms.StoreMessageInfo(mi)
212 }
213 }
214
215 func (x *EncryptionKey) String() string {
216 return protoimpl.X.MessageStringOf(x)
217 }
218
219 func (*EncryptionKey) ProtoMessage() {}
220
221 func (x *EncryptionKey) ProtoReflect() protoreflect.Message {
222 mi := &file_google_cloud_gkebackup_logging_v1_logged_common_proto_msgTypes[3]
223 if protoimpl.UnsafeEnabled && x != nil {
224 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
225 if ms.LoadMessageInfo() == nil {
226 ms.StoreMessageInfo(mi)
227 }
228 return ms
229 }
230 return mi.MessageOf(x)
231 }
232
233
234 func (*EncryptionKey) Descriptor() ([]byte, []int) {
235 return file_google_cloud_gkebackup_logging_v1_logged_common_proto_rawDescGZIP(), []int{3}
236 }
237
238 func (x *EncryptionKey) GetGcpKmsEncryptionKey() string {
239 if x != nil {
240 return x.GcpKmsEncryptionKey
241 }
242 return ""
243 }
244
245 var File_google_cloud_gkebackup_logging_v1_logged_common_proto protoreflect.FileDescriptor
246
247 var file_google_cloud_gkebackup_logging_v1_logged_common_proto_rawDesc = []byte{
248 0x0a, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67,
249 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67,
250 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
251 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
252 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e,
253 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x22, 0x2c, 0x0a, 0x0a, 0x4e, 0x61,
254 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65,
255 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x6e, 0x61,
256 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x22, 0x42, 0x0a, 0x0e, 0x4e, 0x61, 0x6d, 0x65,
257 0x73, 0x70, 0x61, 0x63, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61,
258 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e,
259 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
260 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x6f, 0x0a, 0x0f,
261 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12,
262 0x5c, 0x0a, 0x10, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x64, 0x5f, 0x6e, 0x61,
263 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
264 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b,
265 0x75, 0x70, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61,
266 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x0f, 0x6e, 0x61,
267 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x44, 0x0a,
268 0x0d, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x12, 0x33,
269 0x0a, 0x16, 0x67, 0x63, 0x70, 0x5f, 0x6b, 0x6d, 0x73, 0x5f, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70,
270 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13,
271 0x67, 0x63, 0x70, 0x4b, 0x6d, 0x73, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e,
272 0x4b, 0x65, 0x79, 0x42, 0xf2, 0x01, 0x0a, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
273 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x6c,
274 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x42, 0x11, 0x4c, 0x6f, 0x67, 0x67, 0x65,
275 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48,
276 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72,
277 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
278 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67, 0x6b, 0x65, 0x62,
279 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31,
280 0x3b, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0xaa, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
281 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x47, 0x6b, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75,
282 0x70, 0x2e, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x21, 0x47,
283 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x47, 0x6b, 0x65, 0x42,
284 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5c, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x31,
285 0xea, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64,
286 0x3a, 0x3a, 0x47, 0x6b, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x3a, 0x3a, 0x4c, 0x6f, 0x67,
287 0x67, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
288 }
289
290 var (
291 file_google_cloud_gkebackup_logging_v1_logged_common_proto_rawDescOnce sync.Once
292 file_google_cloud_gkebackup_logging_v1_logged_common_proto_rawDescData = file_google_cloud_gkebackup_logging_v1_logged_common_proto_rawDesc
293 )
294
295 func file_google_cloud_gkebackup_logging_v1_logged_common_proto_rawDescGZIP() []byte {
296 file_google_cloud_gkebackup_logging_v1_logged_common_proto_rawDescOnce.Do(func() {
297 file_google_cloud_gkebackup_logging_v1_logged_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_gkebackup_logging_v1_logged_common_proto_rawDescData)
298 })
299 return file_google_cloud_gkebackup_logging_v1_logged_common_proto_rawDescData
300 }
301
302 var file_google_cloud_gkebackup_logging_v1_logged_common_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
303 var file_google_cloud_gkebackup_logging_v1_logged_common_proto_goTypes = []interface{}{
304 (*Namespaces)(nil),
305 (*NamespacedName)(nil),
306 (*NamespacedNames)(nil),
307 (*EncryptionKey)(nil),
308 }
309 var file_google_cloud_gkebackup_logging_v1_logged_common_proto_depIdxs = []int32{
310 1,
311 1,
312 1,
313 1,
314 1,
315 0,
316 }
317
318 func init() { file_google_cloud_gkebackup_logging_v1_logged_common_proto_init() }
319 func file_google_cloud_gkebackup_logging_v1_logged_common_proto_init() {
320 if File_google_cloud_gkebackup_logging_v1_logged_common_proto != nil {
321 return
322 }
323 if !protoimpl.UnsafeEnabled {
324 file_google_cloud_gkebackup_logging_v1_logged_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
325 switch v := v.(*Namespaces); i {
326 case 0:
327 return &v.state
328 case 1:
329 return &v.sizeCache
330 case 2:
331 return &v.unknownFields
332 default:
333 return nil
334 }
335 }
336 file_google_cloud_gkebackup_logging_v1_logged_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
337 switch v := v.(*NamespacedName); i {
338 case 0:
339 return &v.state
340 case 1:
341 return &v.sizeCache
342 case 2:
343 return &v.unknownFields
344 default:
345 return nil
346 }
347 }
348 file_google_cloud_gkebackup_logging_v1_logged_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
349 switch v := v.(*NamespacedNames); i {
350 case 0:
351 return &v.state
352 case 1:
353 return &v.sizeCache
354 case 2:
355 return &v.unknownFields
356 default:
357 return nil
358 }
359 }
360 file_google_cloud_gkebackup_logging_v1_logged_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
361 switch v := v.(*EncryptionKey); i {
362 case 0:
363 return &v.state
364 case 1:
365 return &v.sizeCache
366 case 2:
367 return &v.unknownFields
368 default:
369 return nil
370 }
371 }
372 }
373 type x struct{}
374 out := protoimpl.TypeBuilder{
375 File: protoimpl.DescBuilder{
376 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
377 RawDescriptor: file_google_cloud_gkebackup_logging_v1_logged_common_proto_rawDesc,
378 NumEnums: 0,
379 NumMessages: 4,
380 NumExtensions: 0,
381 NumServices: 0,
382 },
383 GoTypes: file_google_cloud_gkebackup_logging_v1_logged_common_proto_goTypes,
384 DependencyIndexes: file_google_cloud_gkebackup_logging_v1_logged_common_proto_depIdxs,
385 MessageInfos: file_google_cloud_gkebackup_logging_v1_logged_common_proto_msgTypes,
386 }.Build()
387 File_google_cloud_gkebackup_logging_v1_logged_common_proto = out.File
388 file_google_cloud_gkebackup_logging_v1_logged_common_proto_rawDesc = nil
389 file_google_cloud_gkebackup_logging_v1_logged_common_proto_goTypes = nil
390 file_google_cloud_gkebackup_logging_v1_logged_common_proto_depIdxs = nil
391 }
392
View as plain text