| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
package opts |
| 10 |
|
| 11 |
import ( |
| 12 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 13 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 14 |
descriptorpb "google.golang.org/protobuf/types/descriptorpb" |
| 15 |
reflect "reflect" |
| 16 |
sync "sync" |
| 17 |
) |
| 18 |
|
| 19 |
const ( |
| 20 |
|
| 21 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 22 |
|
| 23 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 24 |
) |
| 25 |
|
| 26 |
type CRIU_Opts struct { |
| 27 |
state protoimpl.MessageState |
| 28 |
sizeCache protoimpl.SizeCache |
| 29 |
unknownFields protoimpl.UnknownFields |
| 30 |
|
| 31 |
Hex *bool `protobuf:"varint,1,opt,name=hex" json:"hex,omitempty"` |
| 32 |
Ipadd *bool `protobuf:"varint,2,opt,name=ipadd" json:"ipadd,omitempty"` |
| 33 |
Flags *string `protobuf:"bytes,3,opt,name=flags" json:"flags,omitempty"` |
| 34 |
Dev *bool `protobuf:"varint,4,opt,name=dev" json:"dev,omitempty"` |
| 35 |
Odev *bool `protobuf:"varint,5,opt,name=odev" json:"odev,omitempty"` |
| 36 |
Dict *string `protobuf:"bytes,6,opt,name=dict" json:"dict,omitempty"` |
| 37 |
Conv *string `protobuf:"bytes,7,opt,name=conv" json:"conv,omitempty"` |
| 38 |
} |
| 39 |
|
| 40 |
func (x *CRIU_Opts) Reset() { |
| 41 |
*x = CRIU_Opts{} |
| 42 |
if protoimpl.UnsafeEnabled { |
| 43 |
mi := &file_opts_proto_msgTypes[0] |
| 44 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 45 |
ms.StoreMessageInfo(mi) |
| 46 |
} |
| 47 |
} |
| 48 |
|
| 49 |
func (x *CRIU_Opts) String() string { |
| 50 |
return protoimpl.X.MessageStringOf(x) |
| 51 |
} |
| 52 |
|
| 53 |
func (*CRIU_Opts) ProtoMessage() {} |
| 54 |
|
| 55 |
func (x *CRIU_Opts) ProtoReflect() protoreflect.Message { |
| 56 |
mi := &file_opts_proto_msgTypes[0] |
| 57 |
if protoimpl.UnsafeEnabled && x != nil { |
| 58 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 59 |
if ms.LoadMessageInfo() == nil { |
| 60 |
ms.StoreMessageInfo(mi) |
| 61 |
} |
| 62 |
return ms |
| 63 |
} |
| 64 |
return mi.MessageOf(x) |
| 65 |
} |
| 66 |
|
| 67 |
|
| 68 |
func (*CRIU_Opts) Descriptor() ([]byte, []int) { |
| 69 |
return file_opts_proto_rawDescGZIP(), []int{0} |
| 70 |
} |
| 71 |
|
| 72 |
func (x *CRIU_Opts) GetHex() bool { |
| 73 |
if x != nil && x.Hex != nil { |
| 74 |
return *x.Hex |
| 75 |
} |
| 76 |
return false |
| 77 |
} |
| 78 |
|
| 79 |
func (x *CRIU_Opts) GetIpadd() bool { |
| 80 |
if x != nil && x.Ipadd != nil { |
| 81 |
return *x.Ipadd |
| 82 |
} |
| 83 |
return false |
| 84 |
} |
| 85 |
|
| 86 |
func (x *CRIU_Opts) GetFlags() string { |
| 87 |
if x != nil && x.Flags != nil { |
| 88 |
return *x.Flags |
| 89 |
} |
| 90 |
return "" |
| 91 |
} |
| 92 |
|
| 93 |
func (x *CRIU_Opts) GetDev() bool { |
| 94 |
if x != nil && x.Dev != nil { |
| 95 |
return *x.Dev |
| 96 |
} |
| 97 |
return false |
| 98 |
} |
| 99 |
|
| 100 |
func (x *CRIU_Opts) GetOdev() bool { |
| 101 |
if x != nil && x.Odev != nil { |
| 102 |
return *x.Odev |
| 103 |
} |
| 104 |
return false |
| 105 |
} |
| 106 |
|
| 107 |
func (x *CRIU_Opts) GetDict() string { |
| 108 |
if x != nil && x.Dict != nil { |
| 109 |
return *x.Dict |
| 110 |
} |
| 111 |
return "" |
| 112 |
} |
| 113 |
|
| 114 |
func (x *CRIU_Opts) GetConv() string { |
| 115 |
if x != nil && x.Conv != nil { |
| 116 |
return *x.Conv |
| 117 |
} |
| 118 |
return "" |
| 119 |
} |
| 120 |
|
| 121 |
var file_opts_proto_extTypes = []protoimpl.ExtensionInfo{ |
| 122 |
{ |
| 123 |
ExtendedType: (*descriptorpb.FieldOptions)(nil), |
| 124 |
ExtensionType: (*CRIU_Opts)(nil), |
| 125 |
Field: 1018, |
| 126 |
Name: "criu", |
| 127 |
Tag: "bytes,1018,opt,name=criu", |
| 128 |
Filename: "opts.proto", |
| 129 |
}, |
| 130 |
} |
| 131 |
|
| 132 |
|
| 133 |
var ( |
| 134 |
|
| 135 |
|
| 136 |
|
| 137 |
E_Criu = &file_opts_proto_extTypes[0] |
| 138 |
) |
| 139 |
|
| 140 |
var File_opts_proto protoreflect.FileDescriptor |
| 141 |
|
| 142 |
var file_opts_proto_rawDesc = []byte{ |
| 143 |
0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, |
| 144 |
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, |
| 145 |
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, |
| 146 |
0x01, 0x0a, 0x09, 0x43, 0x52, 0x49, 0x55, 0x5f, 0x4f, 0x70, 0x74, 0x73, 0x12, 0x10, 0x0a, 0x03, |
| 147 |
0x68, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x68, 0x65, 0x78, 0x12, 0x14, |
| 148 |
0x0a, 0x05, 0x69, 0x70, 0x61, 0x64, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, |
| 149 |
0x70, 0x61, 0x64, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x03, 0x20, |
| 150 |
0x01, 0x28, 0x09, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x65, |
| 151 |
0x76, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x64, 0x65, 0x76, 0x12, 0x12, 0x0a, 0x04, |
| 152 |
0x6f, 0x64, 0x65, 0x76, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x6f, 0x64, 0x65, 0x76, |
| 153 |
0x12, 0x12, 0x0a, 0x04, 0x64, 0x69, 0x63, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, |
| 154 |
0x64, 0x69, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x6e, 0x76, 0x18, 0x07, 0x20, 0x01, |
| 155 |
0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x6e, 0x76, 0x3a, 0x3e, 0x0a, 0x04, 0x63, 0x72, 0x69, 0x75, |
| 156 |
0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
| 157 |
0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, |
| 158 |
0xfa, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x43, 0x52, 0x49, 0x55, 0x5f, 0x4f, 0x70, |
| 159 |
0x74, 0x73, 0x52, 0x04, 0x63, 0x72, 0x69, 0x75, |
| 160 |
} |
| 161 |
|
| 162 |
var ( |
| 163 |
file_opts_proto_rawDescOnce sync.Once |
| 164 |
file_opts_proto_rawDescData = file_opts_proto_rawDesc |
| 165 |
) |
| 166 |
|
| 167 |
func file_opts_proto_rawDescGZIP() []byte { |
| 168 |
file_opts_proto_rawDescOnce.Do(func() { |
| 169 |
file_opts_proto_rawDescData = protoimpl.X.CompressGZIP(file_opts_proto_rawDescData) |
| 170 |
}) |
| 171 |
return file_opts_proto_rawDescData |
| 172 |
} |
| 173 |
|
| 174 |
var file_opts_proto_msgTypes = make([]protoimpl.MessageInfo, 1) |
| 175 |
var file_opts_proto_goTypes = []interface{}{ |
| 176 |
(*CRIU_Opts)(nil), |
| 177 |
(*descriptorpb.FieldOptions)(nil), |
| 178 |
} |
| 179 |
var file_opts_proto_depIdxs = []int32{ |
| 180 |
1, |
| 181 |
0, |
| 182 |
2, |
| 183 |
2, |
| 184 |
1, |
| 185 |
0, |
| 186 |
0, |
| 187 |
} |
| 188 |
|
| 189 |
func init() { file_opts_proto_init() } |
| 190 |
func file_opts_proto_init() { |
| 191 |
if File_opts_proto != nil { |
| 192 |
return |
| 193 |
} |
| 194 |
if !protoimpl.UnsafeEnabled { |
| 195 |
file_opts_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 196 |
switch v := v.(*CRIU_Opts); i { |
| 197 |
case 0: |
| 198 |
return &v.state |
| 199 |
case 1: |
| 200 |
return &v.sizeCache |
| 201 |
case 2: |
| 202 |
return &v.unknownFields |
| 203 |
default: |
| 204 |
return nil |
| 205 |
} |
| 206 |
} |
| 207 |
} |
| 208 |
type x struct{} |
| 209 |
out := protoimpl.TypeBuilder{ |
| 210 |
File: protoimpl.DescBuilder{ |
| 211 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 212 |
RawDescriptor: file_opts_proto_rawDesc, |
| 213 |
NumEnums: 0, |
| 214 |
NumMessages: 1, |
| 215 |
NumExtensions: 1, |
| 216 |
NumServices: 0, |
| 217 |
}, |
| 218 |
GoTypes: file_opts_proto_goTypes, |
| 219 |
DependencyIndexes: file_opts_proto_depIdxs, |
| 220 |
MessageInfos: file_opts_proto_msgTypes, |
| 221 |
ExtensionInfos: file_opts_proto_extTypes, |
| 222 |
}.Build() |
| 223 |
File_opts_proto = out.File |
| 224 |
file_opts_proto_rawDesc = nil |
| 225 |
file_opts_proto_goTypes = nil |
| 226 |
file_opts_proto_depIdxs = nil |
| 227 |
} |