github.com/tsuna/gohbase@v0.0.0-20250731002811-4ffcadfba63e/pb/RPC.pb.go (about) 1 //* 2 // Licensed to the Apache Software Foundation (ASF) under one 3 // or more contributor license agreements. See the NOTICE file 4 // distributed with this work for additional information 5 // regarding copyright ownership. The ASF licenses this file 6 // to you under the Apache License, Version 2.0 (the 7 // "License"); you may not use this file except in compliance 8 // with the License. You may obtain a copy of the License at 9 // 10 // http://www.apache.org/licenses/LICENSE-2.0 11 // 12 // Unless required by applicable law or agreed to in writing, software 13 // distributed under the License is distributed on an "AS IS" BASIS, 14 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 // See the License for the specific language governing permissions and 16 // limitations under the License. 17 18 // Code generated by protoc-gen-go. DO NOT EDIT. 19 // versions: 20 // protoc-gen-go v1.36.4 21 // protoc v5.28.3 22 // source: RPC.proto 23 24 package pb 25 26 import ( 27 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 28 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 29 reflect "reflect" 30 sync "sync" 31 unsafe "unsafe" 32 ) 33 34 const ( 35 // Verify that this generated code is sufficiently up-to-date. 36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 37 // Verify that runtime/protoimpl is sufficiently up-to-date. 38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 39 ) 40 41 // User Information proto. Included in ConnectionHeader on connection setup 42 type UserInformation struct { 43 state protoimpl.MessageState `protogen:"open.v1"` 44 EffectiveUser *string `protobuf:"bytes,1,req,name=effective_user,json=effectiveUser" json:"effective_user,omitempty"` 45 RealUser *string `protobuf:"bytes,2,opt,name=real_user,json=realUser" json:"real_user,omitempty"` 46 unknownFields protoimpl.UnknownFields 47 sizeCache protoimpl.SizeCache 48 } 49 50 func (x *UserInformation) Reset() { 51 *x = UserInformation{} 52 mi := &file_RPC_proto_msgTypes[0] 53 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 54 ms.StoreMessageInfo(mi) 55 } 56 57 func (x *UserInformation) String() string { 58 return protoimpl.X.MessageStringOf(x) 59 } 60 61 func (*UserInformation) ProtoMessage() {} 62 63 func (x *UserInformation) ProtoReflect() protoreflect.Message { 64 mi := &file_RPC_proto_msgTypes[0] 65 if 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 // Deprecated: Use UserInformation.ProtoReflect.Descriptor instead. 76 func (*UserInformation) Descriptor() ([]byte, []int) { 77 return file_RPC_proto_rawDescGZIP(), []int{0} 78 } 79 80 func (x *UserInformation) GetEffectiveUser() string { 81 if x != nil && x.EffectiveUser != nil { 82 return *x.EffectiveUser 83 } 84 return "" 85 } 86 87 func (x *UserInformation) GetRealUser() string { 88 if x != nil && x.RealUser != nil { 89 return *x.RealUser 90 } 91 return "" 92 } 93 94 // This is sent on connection setup after the connection preamble is sent. 95 type ConnectionHeader struct { 96 state protoimpl.MessageState `protogen:"open.v1"` 97 UserInfo *UserInformation `protobuf:"bytes,1,opt,name=user_info,json=userInfo" json:"user_info,omitempty"` 98 ServiceName *string `protobuf:"bytes,2,opt,name=service_name,json=serviceName" json:"service_name,omitempty"` 99 // Cell block codec we will use sending over optional cell blocks. Server throws exception 100 // if cannot deal. Null means no codec'ing going on so we are pb all the time (SLOW!!!) 101 CellBlockCodecClass *string `protobuf:"bytes,3,opt,name=cell_block_codec_class,json=cellBlockCodecClass" json:"cell_block_codec_class,omitempty"` 102 // Compressor we will use if cell block is compressed. Server will throw exception if not supported. 103 // Class must implement hadoop's CompressionCodec Interface. Can't compress if no codec. 104 CellBlockCompressorClass *string `protobuf:"bytes,4,opt,name=cell_block_compressor_class,json=cellBlockCompressorClass" json:"cell_block_compressor_class,omitempty"` 105 VersionInfo *VersionInfo `protobuf:"bytes,5,opt,name=version_info,json=versionInfo" json:"version_info,omitempty"` 106 unknownFields protoimpl.UnknownFields 107 sizeCache protoimpl.SizeCache 108 } 109 110 func (x *ConnectionHeader) Reset() { 111 *x = ConnectionHeader{} 112 mi := &file_RPC_proto_msgTypes[1] 113 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 114 ms.StoreMessageInfo(mi) 115 } 116 117 func (x *ConnectionHeader) String() string { 118 return protoimpl.X.MessageStringOf(x) 119 } 120 121 func (*ConnectionHeader) ProtoMessage() {} 122 123 func (x *ConnectionHeader) ProtoReflect() protoreflect.Message { 124 mi := &file_RPC_proto_msgTypes[1] 125 if x != nil { 126 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 127 if ms.LoadMessageInfo() == nil { 128 ms.StoreMessageInfo(mi) 129 } 130 return ms 131 } 132 return mi.MessageOf(x) 133 } 134 135 // Deprecated: Use ConnectionHeader.ProtoReflect.Descriptor instead. 136 func (*ConnectionHeader) Descriptor() ([]byte, []int) { 137 return file_RPC_proto_rawDescGZIP(), []int{1} 138 } 139 140 func (x *ConnectionHeader) GetUserInfo() *UserInformation { 141 if x != nil { 142 return x.UserInfo 143 } 144 return nil 145 } 146 147 func (x *ConnectionHeader) GetServiceName() string { 148 if x != nil && x.ServiceName != nil { 149 return *x.ServiceName 150 } 151 return "" 152 } 153 154 func (x *ConnectionHeader) GetCellBlockCodecClass() string { 155 if x != nil && x.CellBlockCodecClass != nil { 156 return *x.CellBlockCodecClass 157 } 158 return "" 159 } 160 161 func (x *ConnectionHeader) GetCellBlockCompressorClass() string { 162 if x != nil && x.CellBlockCompressorClass != nil { 163 return *x.CellBlockCompressorClass 164 } 165 return "" 166 } 167 168 func (x *ConnectionHeader) GetVersionInfo() *VersionInfo { 169 if x != nil { 170 return x.VersionInfo 171 } 172 return nil 173 } 174 175 // Optional Cell block Message. Included in client RequestHeader 176 type CellBlockMeta struct { 177 state protoimpl.MessageState `protogen:"open.v1"` 178 // Length of the following cell block. Could calculate it but convenient having it too hand. 179 Length *uint32 `protobuf:"varint,1,opt,name=length" json:"length,omitempty"` 180 unknownFields protoimpl.UnknownFields 181 sizeCache protoimpl.SizeCache 182 } 183 184 func (x *CellBlockMeta) Reset() { 185 *x = CellBlockMeta{} 186 mi := &file_RPC_proto_msgTypes[2] 187 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 188 ms.StoreMessageInfo(mi) 189 } 190 191 func (x *CellBlockMeta) String() string { 192 return protoimpl.X.MessageStringOf(x) 193 } 194 195 func (*CellBlockMeta) ProtoMessage() {} 196 197 func (x *CellBlockMeta) ProtoReflect() protoreflect.Message { 198 mi := &file_RPC_proto_msgTypes[2] 199 if x != nil { 200 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 201 if ms.LoadMessageInfo() == nil { 202 ms.StoreMessageInfo(mi) 203 } 204 return ms 205 } 206 return mi.MessageOf(x) 207 } 208 209 // Deprecated: Use CellBlockMeta.ProtoReflect.Descriptor instead. 210 func (*CellBlockMeta) Descriptor() ([]byte, []int) { 211 return file_RPC_proto_rawDescGZIP(), []int{2} 212 } 213 214 func (x *CellBlockMeta) GetLength() uint32 { 215 if x != nil && x.Length != nil { 216 return *x.Length 217 } 218 return 0 219 } 220 221 // At the RPC layer, this message is used to carry 222 // the server side exception to the RPC client. 223 type ExceptionResponse struct { 224 state protoimpl.MessageState `protogen:"open.v1"` 225 // Class name of the exception thrown from the server 226 ExceptionClassName *string `protobuf:"bytes,1,opt,name=exception_class_name,json=exceptionClassName" json:"exception_class_name,omitempty"` 227 // Exception stack trace from the server side 228 StackTrace *string `protobuf:"bytes,2,opt,name=stack_trace,json=stackTrace" json:"stack_trace,omitempty"` 229 // Optional hostname. Filled in for some exceptions such as region moved 230 // where exception gives clue on where the region may have moved. 231 Hostname *string `protobuf:"bytes,3,opt,name=hostname" json:"hostname,omitempty"` 232 Port *int32 `protobuf:"varint,4,opt,name=port" json:"port,omitempty"` 233 // Set if we are NOT to retry on receipt of this exception 234 DoNotRetry *bool `protobuf:"varint,5,opt,name=do_not_retry,json=doNotRetry" json:"do_not_retry,omitempty"` 235 unknownFields protoimpl.UnknownFields 236 sizeCache protoimpl.SizeCache 237 } 238 239 func (x *ExceptionResponse) Reset() { 240 *x = ExceptionResponse{} 241 mi := &file_RPC_proto_msgTypes[3] 242 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 243 ms.StoreMessageInfo(mi) 244 } 245 246 func (x *ExceptionResponse) String() string { 247 return protoimpl.X.MessageStringOf(x) 248 } 249 250 func (*ExceptionResponse) ProtoMessage() {} 251 252 func (x *ExceptionResponse) ProtoReflect() protoreflect.Message { 253 mi := &file_RPC_proto_msgTypes[3] 254 if x != nil { 255 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 256 if ms.LoadMessageInfo() == nil { 257 ms.StoreMessageInfo(mi) 258 } 259 return ms 260 } 261 return mi.MessageOf(x) 262 } 263 264 // Deprecated: Use ExceptionResponse.ProtoReflect.Descriptor instead. 265 func (*ExceptionResponse) Descriptor() ([]byte, []int) { 266 return file_RPC_proto_rawDescGZIP(), []int{3} 267 } 268 269 func (x *ExceptionResponse) GetExceptionClassName() string { 270 if x != nil && x.ExceptionClassName != nil { 271 return *x.ExceptionClassName 272 } 273 return "" 274 } 275 276 func (x *ExceptionResponse) GetStackTrace() string { 277 if x != nil && x.StackTrace != nil { 278 return *x.StackTrace 279 } 280 return "" 281 } 282 283 func (x *ExceptionResponse) GetHostname() string { 284 if x != nil && x.Hostname != nil { 285 return *x.Hostname 286 } 287 return "" 288 } 289 290 func (x *ExceptionResponse) GetPort() int32 { 291 if x != nil && x.Port != nil { 292 return *x.Port 293 } 294 return 0 295 } 296 297 func (x *ExceptionResponse) GetDoNotRetry() bool { 298 if x != nil && x.DoNotRetry != nil { 299 return *x.DoNotRetry 300 } 301 return false 302 } 303 304 // Header sent making a request. 305 type RequestHeader struct { 306 state protoimpl.MessageState `protogen:"open.v1"` 307 // Monotonically increasing call_id to keep track of RPC requests and their response 308 CallId *uint32 `protobuf:"varint,1,opt,name=call_id,json=callId" json:"call_id,omitempty"` 309 TraceInfo *RPCTInfo `protobuf:"bytes,2,opt,name=trace_info,json=traceInfo" json:"trace_info,omitempty"` 310 MethodName *string `protobuf:"bytes,3,opt,name=method_name,json=methodName" json:"method_name,omitempty"` 311 // If true, then a pb Message param follows. 312 RequestParam *bool `protobuf:"varint,4,opt,name=request_param,json=requestParam" json:"request_param,omitempty"` 313 // If present, then an encoded data block follows. 314 CellBlockMeta *CellBlockMeta `protobuf:"bytes,5,opt,name=cell_block_meta,json=cellBlockMeta" json:"cell_block_meta,omitempty"` 315 // 0 is NORMAL priority. 200 is HIGH. If no priority, treat it as NORMAL. 316 // See HConstants. 317 Priority *uint32 `protobuf:"varint,6,opt,name=priority" json:"priority,omitempty"` 318 Timeout *uint32 `protobuf:"varint,7,opt,name=timeout" json:"timeout,omitempty"` 319 unknownFields protoimpl.UnknownFields 320 sizeCache protoimpl.SizeCache 321 } 322 323 func (x *RequestHeader) Reset() { 324 *x = RequestHeader{} 325 mi := &file_RPC_proto_msgTypes[4] 326 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 327 ms.StoreMessageInfo(mi) 328 } 329 330 func (x *RequestHeader) String() string { 331 return protoimpl.X.MessageStringOf(x) 332 } 333 334 func (*RequestHeader) ProtoMessage() {} 335 336 func (x *RequestHeader) ProtoReflect() protoreflect.Message { 337 mi := &file_RPC_proto_msgTypes[4] 338 if x != nil { 339 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 340 if ms.LoadMessageInfo() == nil { 341 ms.StoreMessageInfo(mi) 342 } 343 return ms 344 } 345 return mi.MessageOf(x) 346 } 347 348 // Deprecated: Use RequestHeader.ProtoReflect.Descriptor instead. 349 func (*RequestHeader) Descriptor() ([]byte, []int) { 350 return file_RPC_proto_rawDescGZIP(), []int{4} 351 } 352 353 func (x *RequestHeader) GetCallId() uint32 { 354 if x != nil && x.CallId != nil { 355 return *x.CallId 356 } 357 return 0 358 } 359 360 func (x *RequestHeader) GetTraceInfo() *RPCTInfo { 361 if x != nil { 362 return x.TraceInfo 363 } 364 return nil 365 } 366 367 func (x *RequestHeader) GetMethodName() string { 368 if x != nil && x.MethodName != nil { 369 return *x.MethodName 370 } 371 return "" 372 } 373 374 func (x *RequestHeader) GetRequestParam() bool { 375 if x != nil && x.RequestParam != nil { 376 return *x.RequestParam 377 } 378 return false 379 } 380 381 func (x *RequestHeader) GetCellBlockMeta() *CellBlockMeta { 382 if x != nil { 383 return x.CellBlockMeta 384 } 385 return nil 386 } 387 388 func (x *RequestHeader) GetPriority() uint32 { 389 if x != nil && x.Priority != nil { 390 return *x.Priority 391 } 392 return 0 393 } 394 395 func (x *RequestHeader) GetTimeout() uint32 { 396 if x != nil && x.Timeout != nil { 397 return *x.Timeout 398 } 399 return 0 400 } 401 402 type ResponseHeader struct { 403 state protoimpl.MessageState `protogen:"open.v1"` 404 CallId *uint32 `protobuf:"varint,1,opt,name=call_id,json=callId" json:"call_id,omitempty"` 405 // If present, then request threw an exception and no response message (else we presume one) 406 Exception *ExceptionResponse `protobuf:"bytes,2,opt,name=exception" json:"exception,omitempty"` 407 // If present, then an encoded data block follows. 408 CellBlockMeta *CellBlockMeta `protobuf:"bytes,3,opt,name=cell_block_meta,json=cellBlockMeta" json:"cell_block_meta,omitempty"` 409 unknownFields protoimpl.UnknownFields 410 sizeCache protoimpl.SizeCache 411 } 412 413 func (x *ResponseHeader) Reset() { 414 *x = ResponseHeader{} 415 mi := &file_RPC_proto_msgTypes[5] 416 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 417 ms.StoreMessageInfo(mi) 418 } 419 420 func (x *ResponseHeader) String() string { 421 return protoimpl.X.MessageStringOf(x) 422 } 423 424 func (*ResponseHeader) ProtoMessage() {} 425 426 func (x *ResponseHeader) ProtoReflect() protoreflect.Message { 427 mi := &file_RPC_proto_msgTypes[5] 428 if x != nil { 429 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 430 if ms.LoadMessageInfo() == nil { 431 ms.StoreMessageInfo(mi) 432 } 433 return ms 434 } 435 return mi.MessageOf(x) 436 } 437 438 // Deprecated: Use ResponseHeader.ProtoReflect.Descriptor instead. 439 func (*ResponseHeader) Descriptor() ([]byte, []int) { 440 return file_RPC_proto_rawDescGZIP(), []int{5} 441 } 442 443 func (x *ResponseHeader) GetCallId() uint32 { 444 if x != nil && x.CallId != nil { 445 return *x.CallId 446 } 447 return 0 448 } 449 450 func (x *ResponseHeader) GetException() *ExceptionResponse { 451 if x != nil { 452 return x.Exception 453 } 454 return nil 455 } 456 457 func (x *ResponseHeader) GetCellBlockMeta() *CellBlockMeta { 458 if x != nil { 459 return x.CellBlockMeta 460 } 461 return nil 462 } 463 464 var File_RPC_proto protoreflect.FileDescriptor 465 466 var file_RPC_proto_rawDesc = string([]byte{ 467 0x0a, 0x09, 0x52, 0x50, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 468 0x0d, 0x54, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0b, 469 0x48, 0x42, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x0f, 0x55, 470 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 471 0x0a, 0x0e, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 472 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 473 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x6c, 0x5f, 0x75, 0x73, 474 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x61, 0x6c, 0x55, 0x73, 475 0x65, 0x72, 0x22, 0x8f, 0x02, 0x0a, 0x10, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 476 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x30, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 477 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x2e, 478 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 479 0x08, 0x75, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 480 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 481 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x16, 482 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x63, 483 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x63, 0x65, 484 0x6c, 0x6c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x43, 0x6c, 0x61, 0x73, 485 0x73, 0x12, 0x3d, 0x0a, 0x1b, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 486 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 487 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x18, 0x63, 0x65, 0x6c, 0x6c, 0x42, 0x6c, 0x6f, 0x63, 488 0x6b, 0x43, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x43, 0x6c, 0x61, 0x73, 0x73, 489 0x12, 0x32, 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 490 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x56, 0x65, 0x72, 0x73, 491 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 492 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x27, 0x0a, 0x0d, 0x43, 0x65, 0x6c, 0x6c, 0x42, 0x6c, 0x6f, 0x63, 493 0x6b, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 494 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x22, 0xb8, 0x01, 495 0x0a, 0x11, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 496 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 497 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 498 0x09, 0x52, 0x12, 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x61, 0x73, 499 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x74, 500 0x72, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x63, 501 0x6b, 0x54, 0x72, 0x61, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 502 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 503 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 504 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x20, 0x0a, 0x0c, 0x64, 0x6f, 0x5f, 0x6e, 0x6f, 0x74, 505 0x5f, 0x72, 0x65, 0x74, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x64, 0x6f, 506 0x4e, 0x6f, 0x74, 0x52, 0x65, 0x74, 0x72, 0x79, 0x22, 0x8c, 0x02, 0x0a, 0x0d, 0x52, 0x65, 0x71, 507 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61, 508 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x61, 0x6c, 509 0x6c, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x0a, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 510 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 511 0x54, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 512 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 513 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4e, 0x61, 0x6d, 514 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x72, 515 0x61, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 516 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x39, 0x0a, 0x0f, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x62, 517 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 518 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x65, 0x6c, 0x6c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4d, 0x65, 519 0x74, 0x61, 0x52, 0x0d, 0x63, 0x65, 0x6c, 0x6c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4d, 0x65, 0x74, 520 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 521 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x18, 0x0a, 522 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 523 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x99, 0x01, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x70, 524 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61, 525 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x61, 0x6c, 526 0x6c, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x09, 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 527 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x78, 0x63, 0x65, 528 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x09, 0x65, 529 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x0f, 0x63, 0x65, 0x6c, 0x6c, 530 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 531 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x65, 0x6c, 0x6c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 532 0x4d, 0x65, 0x74, 0x61, 0x52, 0x0d, 0x63, 0x65, 0x6c, 0x6c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4d, 533 0x65, 0x74, 0x61, 0x42, 0x43, 0x0a, 0x2a, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 534 0x65, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 535 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 536 0x64, 0x42, 0x09, 0x52, 0x50, 0x43, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x48, 0x01, 0x5a, 0x05, 537 0x2e, 0x2e, 0x2f, 0x70, 0x62, 0xa0, 0x01, 0x01, 538 }) 539 540 var ( 541 file_RPC_proto_rawDescOnce sync.Once 542 file_RPC_proto_rawDescData []byte 543 ) 544 545 func file_RPC_proto_rawDescGZIP() []byte { 546 file_RPC_proto_rawDescOnce.Do(func() { 547 file_RPC_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_RPC_proto_rawDesc), len(file_RPC_proto_rawDesc))) 548 }) 549 return file_RPC_proto_rawDescData 550 } 551 552 var file_RPC_proto_msgTypes = make([]protoimpl.MessageInfo, 6) 553 var file_RPC_proto_goTypes = []any{ 554 (*UserInformation)(nil), // 0: pb.UserInformation 555 (*ConnectionHeader)(nil), // 1: pb.ConnectionHeader 556 (*CellBlockMeta)(nil), // 2: pb.CellBlockMeta 557 (*ExceptionResponse)(nil), // 3: pb.ExceptionResponse 558 (*RequestHeader)(nil), // 4: pb.RequestHeader 559 (*ResponseHeader)(nil), // 5: pb.ResponseHeader 560 (*VersionInfo)(nil), // 6: pb.VersionInfo 561 (*RPCTInfo)(nil), // 7: pb.RPCTInfo 562 } 563 var file_RPC_proto_depIdxs = []int32{ 564 0, // 0: pb.ConnectionHeader.user_info:type_name -> pb.UserInformation 565 6, // 1: pb.ConnectionHeader.version_info:type_name -> pb.VersionInfo 566 7, // 2: pb.RequestHeader.trace_info:type_name -> pb.RPCTInfo 567 2, // 3: pb.RequestHeader.cell_block_meta:type_name -> pb.CellBlockMeta 568 3, // 4: pb.ResponseHeader.exception:type_name -> pb.ExceptionResponse 569 2, // 5: pb.ResponseHeader.cell_block_meta:type_name -> pb.CellBlockMeta 570 6, // [6:6] is the sub-list for method output_type 571 6, // [6:6] is the sub-list for method input_type 572 6, // [6:6] is the sub-list for extension type_name 573 6, // [6:6] is the sub-list for extension extendee 574 0, // [0:6] is the sub-list for field type_name 575 } 576 577 func init() { file_RPC_proto_init() } 578 func file_RPC_proto_init() { 579 if File_RPC_proto != nil { 580 return 581 } 582 file_Tracing_proto_init() 583 file_HBase_proto_init() 584 type x struct{} 585 out := protoimpl.TypeBuilder{ 586 File: protoimpl.DescBuilder{ 587 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 588 RawDescriptor: unsafe.Slice(unsafe.StringData(file_RPC_proto_rawDesc), len(file_RPC_proto_rawDesc)), 589 NumEnums: 0, 590 NumMessages: 6, 591 NumExtensions: 0, 592 NumServices: 0, 593 }, 594 GoTypes: file_RPC_proto_goTypes, 595 DependencyIndexes: file_RPC_proto_depIdxs, 596 MessageInfos: file_RPC_proto_msgTypes, 597 }.Build() 598 File_RPC_proto = out.File 599 file_RPC_proto_goTypes = nil 600 file_RPC_proto_depIdxs = nil 601 }