kubelatte-ce
Форк от sbertech/kubelatte-ce
482 строки · 14.6 Кб
1// Code generated by protoc-gen-go. DO NOT EDIT.
2// versions:
3// protoc-gen-go v1.31.0
4// protoc v5.26.1
5// source: Executor.proto
6
7package proto
8
9import (
10protoreflect "google.golang.org/protobuf/reflect/protoreflect"
11protoimpl "google.golang.org/protobuf/runtime/protoimpl"
12reflect "reflect"
13sync "sync"
14)
15
16const (
17// Verify that this generated code is sufficiently up-to-date.
18_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
19// Verify that runtime/protoimpl is sufficiently up-to-date.
20_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
21)
22
23type EmptyMes struct {
24state protoimpl.MessageState
25sizeCache protoimpl.SizeCache
26unknownFields protoimpl.UnknownFields
27}
28
29func (x *EmptyMes) Reset() {
30*x = EmptyMes{}
31if protoimpl.UnsafeEnabled {
32mi := &file_Executor_proto_msgTypes[0]
33ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
34ms.StoreMessageInfo(mi)
35}
36}
37
38func (x *EmptyMes) String() string {
39return protoimpl.X.MessageStringOf(x)
40}
41
42func (*EmptyMes) ProtoMessage() {}
43
44func (x *EmptyMes) ProtoReflect() protoreflect.Message {
45mi := &file_Executor_proto_msgTypes[0]
46if protoimpl.UnsafeEnabled && x != nil {
47ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
48if ms.LoadMessageInfo() == nil {
49ms.StoreMessageInfo(mi)
50}
51return ms
52}
53return mi.MessageOf(x)
54}
55
56// Deprecated: Use EmptyMes.ProtoReflect.Descriptor instead.
57func (*EmptyMes) Descriptor() ([]byte, []int) {
58return file_Executor_proto_rawDescGZIP(), []int{0}
59}
60
61type SideEffectInfo struct {
62state protoimpl.MessageState
63sizeCache protoimpl.SizeCache
64unknownFields protoimpl.UnknownFields
65
66Configs *Configs `protobuf:"bytes,1,opt,name=configs,proto3" json:"configs,omitempty"`
67SeMode int32 `protobuf:"varint,2,opt,name=seMode,proto3" json:"seMode,omitempty"`
68}
69
70func (x *SideEffectInfo) Reset() {
71*x = SideEffectInfo{}
72if protoimpl.UnsafeEnabled {
73mi := &file_Executor_proto_msgTypes[1]
74ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
75ms.StoreMessageInfo(mi)
76}
77}
78
79func (x *SideEffectInfo) String() string {
80return protoimpl.X.MessageStringOf(x)
81}
82
83func (*SideEffectInfo) ProtoMessage() {}
84
85func (x *SideEffectInfo) ProtoReflect() protoreflect.Message {
86mi := &file_Executor_proto_msgTypes[1]
87if protoimpl.UnsafeEnabled && x != nil {
88ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
89if ms.LoadMessageInfo() == nil {
90ms.StoreMessageInfo(mi)
91}
92return ms
93}
94return mi.MessageOf(x)
95}
96
97// Deprecated: Use SideEffectInfo.ProtoReflect.Descriptor instead.
98func (*SideEffectInfo) Descriptor() ([]byte, []int) {
99return file_Executor_proto_rawDescGZIP(), []int{1}
100}
101
102func (x *SideEffectInfo) GetConfigs() *Configs {
103if x != nil {
104return x.Configs
105}
106return nil
107}
108
109func (x *SideEffectInfo) GetSeMode() int32 {
110if x != nil {
111return x.SeMode
112}
113return 0
114}
115
116type Configs struct {
117state protoimpl.MessageState
118sizeCache protoimpl.SizeCache
119unknownFields protoimpl.UnknownFields
120
121Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
122ApiVersion string `protobuf:"bytes,2,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"`
123ParentTag int64 `protobuf:"varint,3,opt,name=parentTag,proto3" json:"parentTag,omitempty"`
124Metadata *Metadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
125TriggerRef *TriggerRef `protobuf:"bytes,5,opt,name=triggerRef,proto3" json:"triggerRef,omitempty"`
126TemplateRefs []string `protobuf:"bytes,6,rep,name=templateRefs,proto3" json:"templateRefs,omitempty"`
127}
128
129func (x *Configs) Reset() {
130*x = Configs{}
131if protoimpl.UnsafeEnabled {
132mi := &file_Executor_proto_msgTypes[2]
133ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
134ms.StoreMessageInfo(mi)
135}
136}
137
138func (x *Configs) String() string {
139return protoimpl.X.MessageStringOf(x)
140}
141
142func (*Configs) ProtoMessage() {}
143
144func (x *Configs) ProtoReflect() protoreflect.Message {
145mi := &file_Executor_proto_msgTypes[2]
146if protoimpl.UnsafeEnabled && x != nil {
147ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
148if ms.LoadMessageInfo() == nil {
149ms.StoreMessageInfo(mi)
150}
151return ms
152}
153return mi.MessageOf(x)
154}
155
156// Deprecated: Use Configs.ProtoReflect.Descriptor instead.
157func (*Configs) Descriptor() ([]byte, []int) {
158return file_Executor_proto_rawDescGZIP(), []int{2}
159}
160
161func (x *Configs) GetKind() string {
162if x != nil {
163return x.Kind
164}
165return ""
166}
167
168func (x *Configs) GetApiVersion() string {
169if x != nil {
170return x.ApiVersion
171}
172return ""
173}
174
175func (x *Configs) GetParentTag() int64 {
176if x != nil {
177return x.ParentTag
178}
179return 0
180}
181
182func (x *Configs) GetMetadata() *Metadata {
183if x != nil {
184return x.Metadata
185}
186return nil
187}
188
189func (x *Configs) GetTriggerRef() *TriggerRef {
190if x != nil {
191return x.TriggerRef
192}
193return nil
194}
195
196func (x *Configs) GetTemplateRefs() []string {
197if x != nil {
198return x.TemplateRefs
199}
200return nil
201}
202
203type Metadata struct {
204state protoimpl.MessageState
205sizeCache protoimpl.SizeCache
206unknownFields protoimpl.UnknownFields
207
208Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
209Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
210}
211
212func (x *Metadata) Reset() {
213*x = Metadata{}
214if protoimpl.UnsafeEnabled {
215mi := &file_Executor_proto_msgTypes[3]
216ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
217ms.StoreMessageInfo(mi)
218}
219}
220
221func (x *Metadata) String() string {
222return protoimpl.X.MessageStringOf(x)
223}
224
225func (*Metadata) ProtoMessage() {}
226
227func (x *Metadata) ProtoReflect() protoreflect.Message {
228mi := &file_Executor_proto_msgTypes[3]
229if protoimpl.UnsafeEnabled && x != nil {
230ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
231if ms.LoadMessageInfo() == nil {
232ms.StoreMessageInfo(mi)
233}
234return ms
235}
236return mi.MessageOf(x)
237}
238
239// Deprecated: Use Metadata.ProtoReflect.Descriptor instead.
240func (*Metadata) Descriptor() ([]byte, []int) {
241return file_Executor_proto_rawDescGZIP(), []int{3}
242}
243
244func (x *Metadata) GetNamespace() string {
245if x != nil {
246return x.Namespace
247}
248return ""
249}
250
251func (x *Metadata) GetName() string {
252if x != nil {
253return x.Name
254}
255return ""
256}
257
258type TriggerRef struct {
259state protoimpl.MessageState
260sizeCache protoimpl.SizeCache
261unknownFields protoimpl.UnknownFields
262
263Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
264Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
265SideEffectConfig string `protobuf:"bytes,3,opt,name=sideEffectConfig,proto3" json:"sideEffectConfig,omitempty"`
266}
267
268func (x *TriggerRef) Reset() {
269*x = TriggerRef{}
270if protoimpl.UnsafeEnabled {
271mi := &file_Executor_proto_msgTypes[4]
272ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
273ms.StoreMessageInfo(mi)
274}
275}
276
277func (x *TriggerRef) String() string {
278return protoimpl.X.MessageStringOf(x)
279}
280
281func (*TriggerRef) ProtoMessage() {}
282
283func (x *TriggerRef) ProtoReflect() protoreflect.Message {
284mi := &file_Executor_proto_msgTypes[4]
285if protoimpl.UnsafeEnabled && x != nil {
286ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
287if ms.LoadMessageInfo() == nil {
288ms.StoreMessageInfo(mi)
289}
290return ms
291}
292return mi.MessageOf(x)
293}
294
295// Deprecated: Use TriggerRef.ProtoReflect.Descriptor instead.
296func (*TriggerRef) Descriptor() ([]byte, []int) {
297return file_Executor_proto_rawDescGZIP(), []int{4}
298}
299
300func (x *TriggerRef) GetName() string {
301if x != nil {
302return x.Name
303}
304return ""
305}
306
307func (x *TriggerRef) GetNamespace() string {
308if x != nil {
309return x.Namespace
310}
311return ""
312}
313
314func (x *TriggerRef) GetSideEffectConfig() string {
315if x != nil {
316return x.SideEffectConfig
317}
318return ""
319}
320
321var File_Executor_proto protoreflect.FileDescriptor
322
323var file_Executor_proto_rawDesc = []byte{
3240x0a, 0x0e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
3250x12, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x0a, 0x0a, 0x08, 0x45, 0x6d, 0x70, 0x74, 0x79,
3260x4d, 0x65, 0x73, 0x22, 0x52, 0x0a, 0x0e, 0x53, 0x69, 0x64, 0x65, 0x45, 0x66, 0x66, 0x65, 0x63,
3270x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73,
3280x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43,
3290x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12,
3300x16, 0x0a, 0x06, 0x73, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
3310x06, 0x73, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0xdf, 0x01, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x66,
3320x69, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
3330x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65,
3340x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x70, 0x69,
3350x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e,
3360x74, 0x54, 0x61, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x70, 0x61, 0x72, 0x65,
3370x6e, 0x74, 0x54, 0x61, 0x67, 0x12, 0x2b, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
3380x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
3390x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,
3400x74, 0x61, 0x12, 0x31, 0x0a, 0x0a, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x65, 0x66,
3410x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54,
3420x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x65, 0x66, 0x52, 0x0a, 0x74, 0x72, 0x69, 0x67, 0x67,
3430x65, 0x72, 0x52, 0x65, 0x66, 0x12, 0x22, 0x0a, 0x0c, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
3440x65, 0x52, 0x65, 0x66, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x65, 0x6d,
3450x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x66, 0x73, 0x22, 0x3c, 0x0a, 0x08, 0x4d, 0x65, 0x74,
3460x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61,
3470x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70,
3480x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
3490x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x6a, 0x0a, 0x0a, 0x54, 0x72, 0x69, 0x67, 0x67,
3500x65, 0x72, 0x52, 0x65, 0x66, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
3510x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d,
3520x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61,
3530x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x73, 0x69, 0x64, 0x65, 0x45,
3540x66, 0x66, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28,
3550x09, 0x52, 0x10, 0x73, 0x69, 0x64, 0x65, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e,
3560x66, 0x69, 0x67, 0x32, 0x44, 0x0a, 0x08, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x12,
3570x38, 0x0a, 0x0c, 0x44, 0x6f, 0x53, 0x69, 0x64, 0x65, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x12,
3580x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x69, 0x64, 0x65, 0x45, 0x66, 0x66, 0x65,
3590x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45,
3600x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x22, 0x00, 0x42, 0x09, 0x5a, 0x07, 0x2e, 0x3b, 0x70,
3610x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
362}
363
364var (
365file_Executor_proto_rawDescOnce sync.Once
366file_Executor_proto_rawDescData = file_Executor_proto_rawDesc
367)
368
369func file_Executor_proto_rawDescGZIP() []byte {
370file_Executor_proto_rawDescOnce.Do(func() {
371file_Executor_proto_rawDescData = protoimpl.X.CompressGZIP(file_Executor_proto_rawDescData)
372})
373return file_Executor_proto_rawDescData
374}
375
376var file_Executor_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
377var file_Executor_proto_goTypes = []interface{}{
378(*EmptyMes)(nil), // 0: proto.EmptyMes
379(*SideEffectInfo)(nil), // 1: proto.SideEffectInfo
380(*Configs)(nil), // 2: proto.Configs
381(*Metadata)(nil), // 3: proto.Metadata
382(*TriggerRef)(nil), // 4: proto.TriggerRef
383}
384var file_Executor_proto_depIdxs = []int32{
3852, // 0: proto.SideEffectInfo.configs:type_name -> proto.Configs
3863, // 1: proto.Configs.metadata:type_name -> proto.Metadata
3874, // 2: proto.Configs.triggerRef:type_name -> proto.TriggerRef
3881, // 3: proto.Executor.DoSideEffect:input_type -> proto.SideEffectInfo
3890, // 4: proto.Executor.DoSideEffect:output_type -> proto.EmptyMes
3904, // [4:5] is the sub-list for method output_type
3913, // [3:4] is the sub-list for method input_type
3923, // [3:3] is the sub-list for extension type_name
3933, // [3:3] is the sub-list for extension extendee
3940, // [0:3] is the sub-list for field type_name
395}
396
397func init() { file_Executor_proto_init() }
398func file_Executor_proto_init() {
399if File_Executor_proto != nil {
400return
401}
402if !protoimpl.UnsafeEnabled {
403file_Executor_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
404switch v := v.(*EmptyMes); i {
405case 0:
406return &v.state
407case 1:
408return &v.sizeCache
409case 2:
410return &v.unknownFields
411default:
412return nil
413}
414}
415file_Executor_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
416switch v := v.(*SideEffectInfo); i {
417case 0:
418return &v.state
419case 1:
420return &v.sizeCache
421case 2:
422return &v.unknownFields
423default:
424return nil
425}
426}
427file_Executor_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
428switch v := v.(*Configs); i {
429case 0:
430return &v.state
431case 1:
432return &v.sizeCache
433case 2:
434return &v.unknownFields
435default:
436return nil
437}
438}
439file_Executor_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
440switch v := v.(*Metadata); i {
441case 0:
442return &v.state
443case 1:
444return &v.sizeCache
445case 2:
446return &v.unknownFields
447default:
448return nil
449}
450}
451file_Executor_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
452switch v := v.(*TriggerRef); i {
453case 0:
454return &v.state
455case 1:
456return &v.sizeCache
457case 2:
458return &v.unknownFields
459default:
460return nil
461}
462}
463}
464type x struct{}
465out := protoimpl.TypeBuilder{
466File: protoimpl.DescBuilder{
467GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
468RawDescriptor: file_Executor_proto_rawDesc,
469NumEnums: 0,
470NumMessages: 5,
471NumExtensions: 0,
472NumServices: 1,
473},
474GoTypes: file_Executor_proto_goTypes,
475DependencyIndexes: file_Executor_proto_depIdxs,
476MessageInfos: file_Executor_proto_msgTypes,
477}.Build()
478File_Executor_proto = out.File
479file_Executor_proto_rawDesc = nil
480file_Executor_proto_goTypes = nil
481file_Executor_proto_depIdxs = nil
482}
483