github.com/tsuna/gohbase@v0.0.0-20250731002811-4ffcadfba63e/pb/Tracing.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: Tracing.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 type RPCTInfo struct { 42 state protoimpl.MessageState `protogen:"open.v1"` 43 // Deprecated: Marked as deprecated in Tracing.proto. 44 TraceId *int64 `protobuf:"varint,1,opt,name=trace_id,json=traceId" json:"trace_id,omitempty"` 45 // Deprecated: Marked as deprecated in Tracing.proto. 46 ParentId *int64 `protobuf:"varint,2,opt,name=parent_id,json=parentId" json:"parent_id,omitempty"` 47 Headers map[string]string `protobuf:"bytes,3,rep,name=headers" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` 48 unknownFields protoimpl.UnknownFields 49 sizeCache protoimpl.SizeCache 50 } 51 52 func (x *RPCTInfo) Reset() { 53 *x = RPCTInfo{} 54 mi := &file_Tracing_proto_msgTypes[0] 55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 56 ms.StoreMessageInfo(mi) 57 } 58 59 func (x *RPCTInfo) String() string { 60 return protoimpl.X.MessageStringOf(x) 61 } 62 63 func (*RPCTInfo) ProtoMessage() {} 64 65 func (x *RPCTInfo) ProtoReflect() protoreflect.Message { 66 mi := &file_Tracing_proto_msgTypes[0] 67 if x != nil { 68 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 69 if ms.LoadMessageInfo() == nil { 70 ms.StoreMessageInfo(mi) 71 } 72 return ms 73 } 74 return mi.MessageOf(x) 75 } 76 77 // Deprecated: Use RPCTInfo.ProtoReflect.Descriptor instead. 78 func (*RPCTInfo) Descriptor() ([]byte, []int) { 79 return file_Tracing_proto_rawDescGZIP(), []int{0} 80 } 81 82 // Deprecated: Marked as deprecated in Tracing.proto. 83 func (x *RPCTInfo) GetTraceId() int64 { 84 if x != nil && x.TraceId != nil { 85 return *x.TraceId 86 } 87 return 0 88 } 89 90 // Deprecated: Marked as deprecated in Tracing.proto. 91 func (x *RPCTInfo) GetParentId() int64 { 92 if x != nil && x.ParentId != nil { 93 return *x.ParentId 94 } 95 return 0 96 } 97 98 func (x *RPCTInfo) GetHeaders() map[string]string { 99 if x != nil { 100 return x.Headers 101 } 102 return nil 103 } 104 105 var File_Tracing_proto protoreflect.FileDescriptor 106 107 var file_Tracing_proto_rawDesc = string([]byte{ 108 0x0a, 0x0d, 0x54, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 109 0x02, 0x70, 0x62, 0x22, 0xbb, 0x01, 0x0a, 0x08, 0x52, 0x50, 0x43, 0x54, 0x49, 0x6e, 0x66, 0x6f, 110 0x12, 0x1d, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 111 0x28, 0x03, 0x42, 0x02, 0x18, 0x01, 0x52, 0x07, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 112 0x1f, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 113 0x28, 0x03, 0x42, 0x02, 0x18, 0x01, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 114 0x12, 0x33, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 115 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x54, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 116 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 117 0x61, 0x64, 0x65, 0x72, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 118 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 119 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 120 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 121 0x01, 0x42, 0x47, 0x0a, 0x2a, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 122 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 123 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x42, 124 0x0d, 0x54, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x48, 0x01, 125 0x5a, 0x05, 0x2e, 0x2e, 0x2f, 0x70, 0x62, 0xa0, 0x01, 0x01, 126 }) 127 128 var ( 129 file_Tracing_proto_rawDescOnce sync.Once 130 file_Tracing_proto_rawDescData []byte 131 ) 132 133 func file_Tracing_proto_rawDescGZIP() []byte { 134 file_Tracing_proto_rawDescOnce.Do(func() { 135 file_Tracing_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_Tracing_proto_rawDesc), len(file_Tracing_proto_rawDesc))) 136 }) 137 return file_Tracing_proto_rawDescData 138 } 139 140 var file_Tracing_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 141 var file_Tracing_proto_goTypes = []any{ 142 (*RPCTInfo)(nil), // 0: pb.RPCTInfo 143 nil, // 1: pb.RPCTInfo.HeadersEntry 144 } 145 var file_Tracing_proto_depIdxs = []int32{ 146 1, // 0: pb.RPCTInfo.headers:type_name -> pb.RPCTInfo.HeadersEntry 147 1, // [1:1] is the sub-list for method output_type 148 1, // [1:1] is the sub-list for method input_type 149 1, // [1:1] is the sub-list for extension type_name 150 1, // [1:1] is the sub-list for extension extendee 151 0, // [0:1] is the sub-list for field type_name 152 } 153 154 func init() { file_Tracing_proto_init() } 155 func file_Tracing_proto_init() { 156 if File_Tracing_proto != nil { 157 return 158 } 159 type x struct{} 160 out := protoimpl.TypeBuilder{ 161 File: protoimpl.DescBuilder{ 162 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 163 RawDescriptor: unsafe.Slice(unsafe.StringData(file_Tracing_proto_rawDesc), len(file_Tracing_proto_rawDesc)), 164 NumEnums: 0, 165 NumMessages: 2, 166 NumExtensions: 0, 167 NumServices: 0, 168 }, 169 GoTypes: file_Tracing_proto_goTypes, 170 DependencyIndexes: file_Tracing_proto_depIdxs, 171 MessageInfos: file_Tracing_proto_msgTypes, 172 }.Build() 173 File_Tracing_proto = out.File 174 file_Tracing_proto_goTypes = nil 175 file_Tracing_proto_depIdxs = nil 176 }