Debian Codegraph @

crit/images/macvlan/macvlan.pb.go

raw symbols SCIP
1 // SPDX-License-Identifier: MIT
2
3 // Code generated by protoc-gen-go. DO NOT EDIT.
4 // versions:
5 // protoc-gen-go v1.30.0
6 // protoc v4.23.4
7 // source: macvlan.proto
8
9 package macvlan
10
11 import (
12 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
13 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
14 reflect "reflect"
15 sync "sync"
16 )
17
18 const (
19 // Verify that this generated code is sufficiently up-to-date.
20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21 // Verify that runtime/protoimpl is sufficiently up-to-date.
22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23 )
24
25 type MacvlanLinkEntry struct {
26 state protoimpl.MessageState
27 sizeCache protoimpl.SizeCache
28 unknownFields protoimpl.UnknownFields
29
30 Mode *uint32 `protobuf:"varint,1,req,name=mode" json:"mode,omitempty"`
31 Flags *uint32 `protobuf:"varint,2,opt,name=flags" json:"flags,omitempty"`
32 }
33
34 func (x *MacvlanLinkEntry) Reset() {
35 *x = MacvlanLinkEntry{}
36 if protoimpl.UnsafeEnabled {
37 mi := &file_macvlan_proto_msgTypes[0]
38 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
39 ms.StoreMessageInfo(mi)
40 }
41 }
42
43 func (x *MacvlanLinkEntry) String() string {
44 return protoimpl.X.MessageStringOf(x)
45 }
46
47 func (*MacvlanLinkEntry) ProtoMessage() {}
48
49 func (x *MacvlanLinkEntry) ProtoReflect() protoreflect.Message {
50 mi := &file_macvlan_proto_msgTypes[0]
51 if protoimpl.UnsafeEnabled && x != nil {
52 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
53 if ms.LoadMessageInfo() == nil {
54 ms.StoreMessageInfo(mi)
55 }
56 return ms
57 }
58 return mi.MessageOf(x)
59 }
60
61 // Deprecated: Use MacvlanLinkEntry.ProtoReflect.Descriptor instead.
62 func (*MacvlanLinkEntry) Descriptor() ([]byte, []int) {
63 return file_macvlan_proto_rawDescGZIP(), []int{0}
64 }
65
66 func (x *MacvlanLinkEntry) GetMode() uint32 {
67 if x != nil && x.Mode != nil {
68 return *x.Mode
69 }
70 return 0
71 }
72
73 func (x *MacvlanLinkEntry) GetFlags() uint32 {
74 if x != nil && x.Flags != nil {
75 return *x.Flags
76 }
77 return 0
78 }
79
80 var File_macvlan_proto protoreflect.FileDescriptor
81
82 var file_macvlan_proto_rawDesc = []byte{
83 0x0a, 0x0d, 0x6d, 0x61, 0x63, 0x76, 0x6c, 0x61, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
84 0x3e, 0x0a, 0x12, 0x6d, 0x61, 0x63, 0x76, 0x6c, 0x61, 0x6e, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x5f,
85 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,
86 0x02, 0x28, 0x0d, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61,
87 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73,
88 }
89
90 var (
91 file_macvlan_proto_rawDescOnce sync.Once
92 file_macvlan_proto_rawDescData = file_macvlan_proto_rawDesc
93 )
94
95 func file_macvlan_proto_rawDescGZIP() []byte {
96 file_macvlan_proto_rawDescOnce.Do(func() {
97 file_macvlan_proto_rawDescData = protoimpl.X.CompressGZIP(file_macvlan_proto_rawDescData)
98 })
99 return file_macvlan_proto_rawDescData
100 }
101
102 var file_macvlan_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
103 var file_macvlan_proto_goTypes = []interface{}{
104 (*MacvlanLinkEntry)(nil), // 0: macvlan_link_entry
105 }
106 var file_macvlan_proto_depIdxs = []int32{
107 0, // [0:0] is the sub-list for method output_type
108 0, // [0:0] is the sub-list for method input_type
109 0, // [0:0] is the sub-list for extension type_name
110 0, // [0:0] is the sub-list for extension extendee
111 0, // [0:0] is the sub-list for field type_name
112 }
113
114 func init() { file_macvlan_proto_init() }
115 func file_macvlan_proto_init() {
116 if File_macvlan_proto != nil {
117 return
118 }
119 if !protoimpl.UnsafeEnabled {
120 file_macvlan_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
121 switch v := v.(*MacvlanLinkEntry); i {
122 case 0:
123 return &v.state
124 case 1:
125 return &v.sizeCache
126 case 2:
127 return &v.unknownFields
128 default:
129 return nil
130 }
131 }
132 }
133 type x struct{}
134 out := protoimpl.TypeBuilder{
135 File: protoimpl.DescBuilder{
136 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
137 RawDescriptor: file_macvlan_proto_rawDesc,
138 NumEnums: 0,
139 NumMessages: 1,
140 NumExtensions: 0,
141 NumServices: 0,
142 },
143 GoTypes: file_macvlan_proto_goTypes,
144 DependencyIndexes: file_macvlan_proto_depIdxs,
145 MessageInfos: file_macvlan_proto_msgTypes,
146 }.Build()
147 File_macvlan_proto = out.File
148 file_macvlan_proto_rawDesc = nil
149 file_macvlan_proto_goTypes = nil
150 file_macvlan_proto_depIdxs = nil
151 }