github.com/MetalBlockchain/metalgo@v1.11.9/proto/pb/net/conn/conn.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.33.0 4 // protoc (unknown) 5 // source: net/conn/conn.proto 6 7 package conn 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 emptypb "google.golang.org/protobuf/types/known/emptypb" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 type ReadRequest struct { 25 state protoimpl.MessageState 26 sizeCache protoimpl.SizeCache 27 unknownFields protoimpl.UnknownFields 28 29 // length of the request in bytes 30 Length int32 `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"` 31 } 32 33 func (x *ReadRequest) Reset() { 34 *x = ReadRequest{} 35 if protoimpl.UnsafeEnabled { 36 mi := &file_net_conn_conn_proto_msgTypes[0] 37 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 38 ms.StoreMessageInfo(mi) 39 } 40 } 41 42 func (x *ReadRequest) String() string { 43 return protoimpl.X.MessageStringOf(x) 44 } 45 46 func (*ReadRequest) ProtoMessage() {} 47 48 func (x *ReadRequest) ProtoReflect() protoreflect.Message { 49 mi := &file_net_conn_conn_proto_msgTypes[0] 50 if protoimpl.UnsafeEnabled && x != nil { 51 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 52 if ms.LoadMessageInfo() == nil { 53 ms.StoreMessageInfo(mi) 54 } 55 return ms 56 } 57 return mi.MessageOf(x) 58 } 59 60 // Deprecated: Use ReadRequest.ProtoReflect.Descriptor instead. 61 func (*ReadRequest) Descriptor() ([]byte, []int) { 62 return file_net_conn_conn_proto_rawDescGZIP(), []int{0} 63 } 64 65 func (x *ReadRequest) GetLength() int32 { 66 if x != nil { 67 return x.Length 68 } 69 return 0 70 } 71 72 type ReadResponse struct { 73 state protoimpl.MessageState 74 sizeCache protoimpl.SizeCache 75 unknownFields protoimpl.UnknownFields 76 77 // read is the payload in bytes 78 Read []byte `protobuf:"bytes,1,opt,name=read,proto3" json:"read,omitempty"` 79 // error is an error message 80 Error *string `protobuf:"bytes,2,opt,name=error,proto3,oneof" json:"error,omitempty"` 81 } 82 83 func (x *ReadResponse) Reset() { 84 *x = ReadResponse{} 85 if protoimpl.UnsafeEnabled { 86 mi := &file_net_conn_conn_proto_msgTypes[1] 87 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 88 ms.StoreMessageInfo(mi) 89 } 90 } 91 92 func (x *ReadResponse) String() string { 93 return protoimpl.X.MessageStringOf(x) 94 } 95 96 func (*ReadResponse) ProtoMessage() {} 97 98 func (x *ReadResponse) ProtoReflect() protoreflect.Message { 99 mi := &file_net_conn_conn_proto_msgTypes[1] 100 if protoimpl.UnsafeEnabled && x != nil { 101 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 102 if ms.LoadMessageInfo() == nil { 103 ms.StoreMessageInfo(mi) 104 } 105 return ms 106 } 107 return mi.MessageOf(x) 108 } 109 110 // Deprecated: Use ReadResponse.ProtoReflect.Descriptor instead. 111 func (*ReadResponse) Descriptor() ([]byte, []int) { 112 return file_net_conn_conn_proto_rawDescGZIP(), []int{1} 113 } 114 115 func (x *ReadResponse) GetRead() []byte { 116 if x != nil { 117 return x.Read 118 } 119 return nil 120 } 121 122 func (x *ReadResponse) GetError() string { 123 if x != nil && x.Error != nil { 124 return *x.Error 125 } 126 return "" 127 } 128 129 type WriteRequest struct { 130 state protoimpl.MessageState 131 sizeCache protoimpl.SizeCache 132 unknownFields protoimpl.UnknownFields 133 134 // payload is the write request in bytes 135 Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` 136 } 137 138 func (x *WriteRequest) Reset() { 139 *x = WriteRequest{} 140 if protoimpl.UnsafeEnabled { 141 mi := &file_net_conn_conn_proto_msgTypes[2] 142 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 143 ms.StoreMessageInfo(mi) 144 } 145 } 146 147 func (x *WriteRequest) String() string { 148 return protoimpl.X.MessageStringOf(x) 149 } 150 151 func (*WriteRequest) ProtoMessage() {} 152 153 func (x *WriteRequest) ProtoReflect() protoreflect.Message { 154 mi := &file_net_conn_conn_proto_msgTypes[2] 155 if protoimpl.UnsafeEnabled && x != nil { 156 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 157 if ms.LoadMessageInfo() == nil { 158 ms.StoreMessageInfo(mi) 159 } 160 return ms 161 } 162 return mi.MessageOf(x) 163 } 164 165 // Deprecated: Use WriteRequest.ProtoReflect.Descriptor instead. 166 func (*WriteRequest) Descriptor() ([]byte, []int) { 167 return file_net_conn_conn_proto_rawDescGZIP(), []int{2} 168 } 169 170 func (x *WriteRequest) GetPayload() []byte { 171 if x != nil { 172 return x.Payload 173 } 174 return nil 175 } 176 177 type WriteResponse struct { 178 state protoimpl.MessageState 179 sizeCache protoimpl.SizeCache 180 unknownFields protoimpl.UnknownFields 181 182 // length of the response in bytes 183 Length int32 `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"` 184 // error is an error message 185 Error *string `protobuf:"bytes,2,opt,name=error,proto3,oneof" json:"error,omitempty"` 186 } 187 188 func (x *WriteResponse) Reset() { 189 *x = WriteResponse{} 190 if protoimpl.UnsafeEnabled { 191 mi := &file_net_conn_conn_proto_msgTypes[3] 192 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 193 ms.StoreMessageInfo(mi) 194 } 195 } 196 197 func (x *WriteResponse) String() string { 198 return protoimpl.X.MessageStringOf(x) 199 } 200 201 func (*WriteResponse) ProtoMessage() {} 202 203 func (x *WriteResponse) ProtoReflect() protoreflect.Message { 204 mi := &file_net_conn_conn_proto_msgTypes[3] 205 if protoimpl.UnsafeEnabled && x != nil { 206 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 207 if ms.LoadMessageInfo() == nil { 208 ms.StoreMessageInfo(mi) 209 } 210 return ms 211 } 212 return mi.MessageOf(x) 213 } 214 215 // Deprecated: Use WriteResponse.ProtoReflect.Descriptor instead. 216 func (*WriteResponse) Descriptor() ([]byte, []int) { 217 return file_net_conn_conn_proto_rawDescGZIP(), []int{3} 218 } 219 220 func (x *WriteResponse) GetLength() int32 { 221 if x != nil { 222 return x.Length 223 } 224 return 0 225 } 226 227 func (x *WriteResponse) GetError() string { 228 if x != nil && x.Error != nil { 229 return *x.Error 230 } 231 return "" 232 } 233 234 type SetDeadlineRequest struct { 235 state protoimpl.MessageState 236 sizeCache protoimpl.SizeCache 237 unknownFields protoimpl.UnknownFields 238 239 // time represents an instant in time in bytes 240 Time []byte `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` 241 } 242 243 func (x *SetDeadlineRequest) Reset() { 244 *x = SetDeadlineRequest{} 245 if protoimpl.UnsafeEnabled { 246 mi := &file_net_conn_conn_proto_msgTypes[4] 247 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 248 ms.StoreMessageInfo(mi) 249 } 250 } 251 252 func (x *SetDeadlineRequest) String() string { 253 return protoimpl.X.MessageStringOf(x) 254 } 255 256 func (*SetDeadlineRequest) ProtoMessage() {} 257 258 func (x *SetDeadlineRequest) ProtoReflect() protoreflect.Message { 259 mi := &file_net_conn_conn_proto_msgTypes[4] 260 if protoimpl.UnsafeEnabled && x != nil { 261 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 262 if ms.LoadMessageInfo() == nil { 263 ms.StoreMessageInfo(mi) 264 } 265 return ms 266 } 267 return mi.MessageOf(x) 268 } 269 270 // Deprecated: Use SetDeadlineRequest.ProtoReflect.Descriptor instead. 271 func (*SetDeadlineRequest) Descriptor() ([]byte, []int) { 272 return file_net_conn_conn_proto_rawDescGZIP(), []int{4} 273 } 274 275 func (x *SetDeadlineRequest) GetTime() []byte { 276 if x != nil { 277 return x.Time 278 } 279 return nil 280 } 281 282 var File_net_conn_conn_proto protoreflect.FileDescriptor 283 284 var file_net_conn_conn_proto_rawDesc = []byte{ 285 0x0a, 0x13, 0x6e, 0x65, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x2e, 286 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x6e, 0x65, 0x74, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x1a, 287 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 288 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x25, 0x0a, 0x0b, 289 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6c, 290 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6c, 0x65, 0x6e, 291 0x67, 0x74, 0x68, 0x22, 0x47, 0x0a, 0x0c, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 292 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x65, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 293 0x0c, 0x52, 0x04, 0x72, 0x65, 0x61, 0x64, 0x12, 0x19, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 294 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x88, 295 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x28, 0x0a, 0x0c, 296 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 297 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 298 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x4c, 0x0a, 0x0d, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 299 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 300 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 301 0x19, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 302 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x65, 303 0x72, 0x72, 0x6f, 0x72, 0x22, 0x28, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x44, 0x65, 0x61, 0x64, 0x6c, 304 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 305 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x32, 0x88, 306 0x03, 0x0a, 0x04, 0x43, 0x6f, 0x6e, 0x6e, 0x12, 0x35, 0x0a, 0x04, 0x52, 0x65, 0x61, 0x64, 0x12, 307 0x15, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x52, 308 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x63, 0x6f, 0x6e, 309 0x6e, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 310 0x0a, 0x05, 0x57, 0x72, 0x69, 0x74, 0x65, 0x12, 0x16, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x63, 0x6f, 311 0x6e, 0x6e, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 312 0x17, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 313 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x05, 0x43, 0x6c, 0x6f, 0x73, 314 0x65, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 315 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 316 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 317 0x79, 0x12, 0x43, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x44, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 318 0x12, 0x1c, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x2e, 0x53, 0x65, 0x74, 0x44, 319 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 320 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 321 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x47, 0x0a, 0x0f, 0x53, 0x65, 0x74, 0x52, 0x65, 0x61, 322 0x64, 0x44, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x1c, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 323 0x63, 0x6f, 0x6e, 0x6e, 0x2e, 0x53, 0x65, 0x74, 0x44, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 324 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 325 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 326 0x48, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x57, 0x72, 0x69, 0x74, 0x65, 0x44, 0x65, 0x61, 0x64, 0x6c, 327 0x69, 0x6e, 0x65, 0x12, 0x1c, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x2e, 0x53, 328 0x65, 0x74, 0x44, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 329 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 330 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x33, 0x5a, 0x31, 0x67, 0x69, 0x74, 331 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x76, 0x61, 0x2d, 0x6c, 0x61, 0x62, 0x73, 332 0x2f, 0x61, 0x76, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 333 0x74, 0x6f, 0x2f, 0x70, 0x62, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x62, 0x06, 334 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 335 } 336 337 var ( 338 file_net_conn_conn_proto_rawDescOnce sync.Once 339 file_net_conn_conn_proto_rawDescData = file_net_conn_conn_proto_rawDesc 340 ) 341 342 func file_net_conn_conn_proto_rawDescGZIP() []byte { 343 file_net_conn_conn_proto_rawDescOnce.Do(func() { 344 file_net_conn_conn_proto_rawDescData = protoimpl.X.CompressGZIP(file_net_conn_conn_proto_rawDescData) 345 }) 346 return file_net_conn_conn_proto_rawDescData 347 } 348 349 var file_net_conn_conn_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 350 var file_net_conn_conn_proto_goTypes = []interface{}{ 351 (*ReadRequest)(nil), // 0: net.conn.ReadRequest 352 (*ReadResponse)(nil), // 1: net.conn.ReadResponse 353 (*WriteRequest)(nil), // 2: net.conn.WriteRequest 354 (*WriteResponse)(nil), // 3: net.conn.WriteResponse 355 (*SetDeadlineRequest)(nil), // 4: net.conn.SetDeadlineRequest 356 (*emptypb.Empty)(nil), // 5: google.protobuf.Empty 357 } 358 var file_net_conn_conn_proto_depIdxs = []int32{ 359 0, // 0: net.conn.Conn.Read:input_type -> net.conn.ReadRequest 360 2, // 1: net.conn.Conn.Write:input_type -> net.conn.WriteRequest 361 5, // 2: net.conn.Conn.Close:input_type -> google.protobuf.Empty 362 4, // 3: net.conn.Conn.SetDeadline:input_type -> net.conn.SetDeadlineRequest 363 4, // 4: net.conn.Conn.SetReadDeadline:input_type -> net.conn.SetDeadlineRequest 364 4, // 5: net.conn.Conn.SetWriteDeadline:input_type -> net.conn.SetDeadlineRequest 365 1, // 6: net.conn.Conn.Read:output_type -> net.conn.ReadResponse 366 3, // 7: net.conn.Conn.Write:output_type -> net.conn.WriteResponse 367 5, // 8: net.conn.Conn.Close:output_type -> google.protobuf.Empty 368 5, // 9: net.conn.Conn.SetDeadline:output_type -> google.protobuf.Empty 369 5, // 10: net.conn.Conn.SetReadDeadline:output_type -> google.protobuf.Empty 370 5, // 11: net.conn.Conn.SetWriteDeadline:output_type -> google.protobuf.Empty 371 6, // [6:12] is the sub-list for method output_type 372 0, // [0:6] is the sub-list for method input_type 373 0, // [0:0] is the sub-list for extension type_name 374 0, // [0:0] is the sub-list for extension extendee 375 0, // [0:0] is the sub-list for field type_name 376 } 377 378 func init() { file_net_conn_conn_proto_init() } 379 func file_net_conn_conn_proto_init() { 380 if File_net_conn_conn_proto != nil { 381 return 382 } 383 if !protoimpl.UnsafeEnabled { 384 file_net_conn_conn_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 385 switch v := v.(*ReadRequest); i { 386 case 0: 387 return &v.state 388 case 1: 389 return &v.sizeCache 390 case 2: 391 return &v.unknownFields 392 default: 393 return nil 394 } 395 } 396 file_net_conn_conn_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 397 switch v := v.(*ReadResponse); i { 398 case 0: 399 return &v.state 400 case 1: 401 return &v.sizeCache 402 case 2: 403 return &v.unknownFields 404 default: 405 return nil 406 } 407 } 408 file_net_conn_conn_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 409 switch v := v.(*WriteRequest); i { 410 case 0: 411 return &v.state 412 case 1: 413 return &v.sizeCache 414 case 2: 415 return &v.unknownFields 416 default: 417 return nil 418 } 419 } 420 file_net_conn_conn_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 421 switch v := v.(*WriteResponse); i { 422 case 0: 423 return &v.state 424 case 1: 425 return &v.sizeCache 426 case 2: 427 return &v.unknownFields 428 default: 429 return nil 430 } 431 } 432 file_net_conn_conn_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 433 switch v := v.(*SetDeadlineRequest); i { 434 case 0: 435 return &v.state 436 case 1: 437 return &v.sizeCache 438 case 2: 439 return &v.unknownFields 440 default: 441 return nil 442 } 443 } 444 } 445 file_net_conn_conn_proto_msgTypes[1].OneofWrappers = []interface{}{} 446 file_net_conn_conn_proto_msgTypes[3].OneofWrappers = []interface{}{} 447 type x struct{} 448 out := protoimpl.TypeBuilder{ 449 File: protoimpl.DescBuilder{ 450 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 451 RawDescriptor: file_net_conn_conn_proto_rawDesc, 452 NumEnums: 0, 453 NumMessages: 5, 454 NumExtensions: 0, 455 NumServices: 1, 456 }, 457 GoTypes: file_net_conn_conn_proto_goTypes, 458 DependencyIndexes: file_net_conn_conn_proto_depIdxs, 459 MessageInfos: file_net_conn_conn_proto_msgTypes, 460 }.Build() 461 File_net_conn_conn_proto = out.File 462 file_net_conn_conn_proto_rawDesc = nil 463 file_net_conn_conn_proto_goTypes = nil 464 file_net_conn_conn_proto_depIdxs = nil 465 }