kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/proto/filecontext_go_proto/filecontext.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.31.0 4 // protoc v4.25.2 5 // source: kythe/proto/filecontext.proto 6 7 package filecontext_go_proto 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 type ContextDependentVersion struct { 24 state protoimpl.MessageState 25 sizeCache protoimpl.SizeCache 26 unknownFields protoimpl.UnknownFields 27 28 Row []*ContextDependentVersion_Row `protobuf:"bytes,1,rep,name=row,proto3" json:"row,omitempty"` 29 } 30 31 func (x *ContextDependentVersion) Reset() { 32 *x = ContextDependentVersion{} 33 if protoimpl.UnsafeEnabled { 34 mi := &file_kythe_proto_filecontext_proto_msgTypes[0] 35 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 36 ms.StoreMessageInfo(mi) 37 } 38 } 39 40 func (x *ContextDependentVersion) String() string { 41 return protoimpl.X.MessageStringOf(x) 42 } 43 44 func (*ContextDependentVersion) ProtoMessage() {} 45 46 func (x *ContextDependentVersion) ProtoReflect() protoreflect.Message { 47 mi := &file_kythe_proto_filecontext_proto_msgTypes[0] 48 if protoimpl.UnsafeEnabled && x != nil { 49 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 50 if ms.LoadMessageInfo() == nil { 51 ms.StoreMessageInfo(mi) 52 } 53 return ms 54 } 55 return mi.MessageOf(x) 56 } 57 58 // Deprecated: Use ContextDependentVersion.ProtoReflect.Descriptor instead. 59 func (*ContextDependentVersion) Descriptor() ([]byte, []int) { 60 return file_kythe_proto_filecontext_proto_rawDescGZIP(), []int{0} 61 } 62 63 func (x *ContextDependentVersion) GetRow() []*ContextDependentVersion_Row { 64 if x != nil { 65 return x.Row 66 } 67 return nil 68 } 69 70 type ContextDependentVersion_Column struct { 71 state protoimpl.MessageState 72 sizeCache protoimpl.SizeCache 73 unknownFields protoimpl.UnknownFields 74 75 Offset int32 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` 76 LinkedContext string `protobuf:"bytes,2,opt,name=linked_context,json=linkedContext,proto3" json:"linked_context,omitempty"` 77 } 78 79 func (x *ContextDependentVersion_Column) Reset() { 80 *x = ContextDependentVersion_Column{} 81 if protoimpl.UnsafeEnabled { 82 mi := &file_kythe_proto_filecontext_proto_msgTypes[1] 83 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 84 ms.StoreMessageInfo(mi) 85 } 86 } 87 88 func (x *ContextDependentVersion_Column) String() string { 89 return protoimpl.X.MessageStringOf(x) 90 } 91 92 func (*ContextDependentVersion_Column) ProtoMessage() {} 93 94 func (x *ContextDependentVersion_Column) ProtoReflect() protoreflect.Message { 95 mi := &file_kythe_proto_filecontext_proto_msgTypes[1] 96 if protoimpl.UnsafeEnabled && x != nil { 97 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 98 if ms.LoadMessageInfo() == nil { 99 ms.StoreMessageInfo(mi) 100 } 101 return ms 102 } 103 return mi.MessageOf(x) 104 } 105 106 // Deprecated: Use ContextDependentVersion_Column.ProtoReflect.Descriptor instead. 107 func (*ContextDependentVersion_Column) Descriptor() ([]byte, []int) { 108 return file_kythe_proto_filecontext_proto_rawDescGZIP(), []int{0, 0} 109 } 110 111 func (x *ContextDependentVersion_Column) GetOffset() int32 { 112 if x != nil { 113 return x.Offset 114 } 115 return 0 116 } 117 118 func (x *ContextDependentVersion_Column) GetLinkedContext() string { 119 if x != nil { 120 return x.LinkedContext 121 } 122 return "" 123 } 124 125 type ContextDependentVersion_Row struct { 126 state protoimpl.MessageState 127 sizeCache protoimpl.SizeCache 128 unknownFields protoimpl.UnknownFields 129 130 SourceContext string `protobuf:"bytes,1,opt,name=source_context,json=sourceContext,proto3" json:"source_context,omitempty"` 131 Column []*ContextDependentVersion_Column `protobuf:"bytes,2,rep,name=column,proto3" json:"column,omitempty"` 132 AlwaysProcess bool `protobuf:"varint,3,opt,name=always_process,json=alwaysProcess,proto3" json:"always_process,omitempty"` 133 } 134 135 func (x *ContextDependentVersion_Row) Reset() { 136 *x = ContextDependentVersion_Row{} 137 if protoimpl.UnsafeEnabled { 138 mi := &file_kythe_proto_filecontext_proto_msgTypes[2] 139 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 140 ms.StoreMessageInfo(mi) 141 } 142 } 143 144 func (x *ContextDependentVersion_Row) String() string { 145 return protoimpl.X.MessageStringOf(x) 146 } 147 148 func (*ContextDependentVersion_Row) ProtoMessage() {} 149 150 func (x *ContextDependentVersion_Row) ProtoReflect() protoreflect.Message { 151 mi := &file_kythe_proto_filecontext_proto_msgTypes[2] 152 if protoimpl.UnsafeEnabled && x != nil { 153 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 154 if ms.LoadMessageInfo() == nil { 155 ms.StoreMessageInfo(mi) 156 } 157 return ms 158 } 159 return mi.MessageOf(x) 160 } 161 162 // Deprecated: Use ContextDependentVersion_Row.ProtoReflect.Descriptor instead. 163 func (*ContextDependentVersion_Row) Descriptor() ([]byte, []int) { 164 return file_kythe_proto_filecontext_proto_rawDescGZIP(), []int{0, 1} 165 } 166 167 func (x *ContextDependentVersion_Row) GetSourceContext() string { 168 if x != nil { 169 return x.SourceContext 170 } 171 return "" 172 } 173 174 func (x *ContextDependentVersion_Row) GetColumn() []*ContextDependentVersion_Column { 175 if x != nil { 176 return x.Column 177 } 178 return nil 179 } 180 181 func (x *ContextDependentVersion_Row) GetAlwaysProcess() bool { 182 if x != nil { 183 return x.AlwaysProcess 184 } 185 return false 186 } 187 188 var File_kythe_proto_filecontext_proto protoreflect.FileDescriptor 189 190 var file_kythe_proto_filecontext_proto_rawDesc = []byte{ 191 0x0a, 0x1d, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x66, 0x69, 192 0x6c, 0x65, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 193 0x0b, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb9, 0x02, 0x0a, 194 0x17, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 195 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x03, 0x72, 0x6f, 0x77, 0x18, 196 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 197 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x44, 0x65, 0x70, 0x65, 0x6e, 198 0x64, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x6f, 0x77, 0x52, 199 0x03, 0x72, 0x6f, 0x77, 0x1a, 0x47, 0x0a, 0x06, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x16, 200 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 201 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 202 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 203 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x1a, 0x98, 0x01, 204 0x0a, 0x03, 0x52, 0x6f, 0x77, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 205 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 206 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x43, 0x0a, 0x06, 207 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6b, 208 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 209 0x78, 0x74, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 210 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 211 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x6c, 0x77, 0x61, 0x79, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x63, 212 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x61, 0x6c, 0x77, 0x61, 0x79, 213 0x73, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x42, 0x4c, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 214 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 215 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x29, 0x6b, 0x79, 0x74, 216 0x68, 0x65, 0x2e, 0x69, 0x6f, 0x2f, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 217 0x6f, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x67, 0x6f, 218 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 219 } 220 221 var ( 222 file_kythe_proto_filecontext_proto_rawDescOnce sync.Once 223 file_kythe_proto_filecontext_proto_rawDescData = file_kythe_proto_filecontext_proto_rawDesc 224 ) 225 226 func file_kythe_proto_filecontext_proto_rawDescGZIP() []byte { 227 file_kythe_proto_filecontext_proto_rawDescOnce.Do(func() { 228 file_kythe_proto_filecontext_proto_rawDescData = protoimpl.X.CompressGZIP(file_kythe_proto_filecontext_proto_rawDescData) 229 }) 230 return file_kythe_proto_filecontext_proto_rawDescData 231 } 232 233 var file_kythe_proto_filecontext_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 234 var file_kythe_proto_filecontext_proto_goTypes = []interface{}{ 235 (*ContextDependentVersion)(nil), // 0: kythe.proto.ContextDependentVersion 236 (*ContextDependentVersion_Column)(nil), // 1: kythe.proto.ContextDependentVersion.Column 237 (*ContextDependentVersion_Row)(nil), // 2: kythe.proto.ContextDependentVersion.Row 238 } 239 var file_kythe_proto_filecontext_proto_depIdxs = []int32{ 240 2, // 0: kythe.proto.ContextDependentVersion.row:type_name -> kythe.proto.ContextDependentVersion.Row 241 1, // 1: kythe.proto.ContextDependentVersion.Row.column:type_name -> kythe.proto.ContextDependentVersion.Column 242 2, // [2:2] is the sub-list for method output_type 243 2, // [2:2] is the sub-list for method input_type 244 2, // [2:2] is the sub-list for extension type_name 245 2, // [2:2] is the sub-list for extension extendee 246 0, // [0:2] is the sub-list for field type_name 247 } 248 249 func init() { file_kythe_proto_filecontext_proto_init() } 250 func file_kythe_proto_filecontext_proto_init() { 251 if File_kythe_proto_filecontext_proto != nil { 252 return 253 } 254 if !protoimpl.UnsafeEnabled { 255 file_kythe_proto_filecontext_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 256 switch v := v.(*ContextDependentVersion); i { 257 case 0: 258 return &v.state 259 case 1: 260 return &v.sizeCache 261 case 2: 262 return &v.unknownFields 263 default: 264 return nil 265 } 266 } 267 file_kythe_proto_filecontext_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 268 switch v := v.(*ContextDependentVersion_Column); i { 269 case 0: 270 return &v.state 271 case 1: 272 return &v.sizeCache 273 case 2: 274 return &v.unknownFields 275 default: 276 return nil 277 } 278 } 279 file_kythe_proto_filecontext_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 280 switch v := v.(*ContextDependentVersion_Row); i { 281 case 0: 282 return &v.state 283 case 1: 284 return &v.sizeCache 285 case 2: 286 return &v.unknownFields 287 default: 288 return nil 289 } 290 } 291 } 292 type x struct{} 293 out := protoimpl.TypeBuilder{ 294 File: protoimpl.DescBuilder{ 295 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 296 RawDescriptor: file_kythe_proto_filecontext_proto_rawDesc, 297 NumEnums: 0, 298 NumMessages: 3, 299 NumExtensions: 0, 300 NumServices: 0, 301 }, 302 GoTypes: file_kythe_proto_filecontext_proto_goTypes, 303 DependencyIndexes: file_kythe_proto_filecontext_proto_depIdxs, 304 MessageInfos: file_kythe_proto_filecontext_proto_msgTypes, 305 }.Build() 306 File_kythe_proto_filecontext_proto = out.File 307 file_kythe_proto_filecontext_proto_rawDesc = nil 308 file_kythe_proto_filecontext_proto_goTypes = nil 309 file_kythe_proto_filecontext_proto_depIdxs = nil 310 }