github.com/alibaba/ilogtail/pkg@v0.0.0-20250526110833-c53b480d046c/helper/profile/pyroscope/jfr/jfr_labels.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.28.0
     4  // 	protoc        v3.19.4
     5  // source: jfr_labels.proto
     6  
     7  package jfr
     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 Context struct {
    24  	state         protoimpl.MessageState
    25  	sizeCache     protoimpl.SizeCache
    26  	unknownFields protoimpl.UnknownFields
    27  
    28  	Labels map[int64]int64 `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
    29  }
    30  
    31  func (x *Context) Reset() {
    32  	*x = Context{}
    33  	if protoimpl.UnsafeEnabled {
    34  		mi := &file_jfr_labels_proto_msgTypes[0]
    35  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    36  		ms.StoreMessageInfo(mi)
    37  	}
    38  }
    39  
    40  func (x *Context) String() string {
    41  	return protoimpl.X.MessageStringOf(x)
    42  }
    43  
    44  func (*Context) ProtoMessage() {}
    45  
    46  func (x *Context) ProtoReflect() protoreflect.Message {
    47  	mi := &file_jfr_labels_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 Context.ProtoReflect.Descriptor instead.
    59  func (*Context) Descriptor() ([]byte, []int) {
    60  	return file_jfr_labels_proto_rawDescGZIP(), []int{0}
    61  }
    62  
    63  func (x *Context) GetLabels() map[int64]int64 {
    64  	if x != nil {
    65  		return x.Labels
    66  	}
    67  	return nil
    68  }
    69  
    70  type LabelsSnapshot struct {
    71  	state         protoimpl.MessageState
    72  	sizeCache     protoimpl.SizeCache
    73  	unknownFields protoimpl.UnknownFields
    74  
    75  	Contexts map[int64]*Context `protobuf:"bytes,1,rep,name=contexts,proto3" json:"contexts,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    76  	Strings  map[int64]string   `protobuf:"bytes,2,rep,name=strings,proto3" json:"strings,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    77  }
    78  
    79  func (x *LabelsSnapshot) Reset() {
    80  	*x = LabelsSnapshot{}
    81  	if protoimpl.UnsafeEnabled {
    82  		mi := &file_jfr_labels_proto_msgTypes[1]
    83  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    84  		ms.StoreMessageInfo(mi)
    85  	}
    86  }
    87  
    88  func (x *LabelsSnapshot) String() string {
    89  	return protoimpl.X.MessageStringOf(x)
    90  }
    91  
    92  func (*LabelsSnapshot) ProtoMessage() {}
    93  
    94  func (x *LabelsSnapshot) ProtoReflect() protoreflect.Message {
    95  	mi := &file_jfr_labels_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 LabelsSnapshot.ProtoReflect.Descriptor instead.
   107  func (*LabelsSnapshot) Descriptor() ([]byte, []int) {
   108  	return file_jfr_labels_proto_rawDescGZIP(), []int{1}
   109  }
   110  
   111  func (x *LabelsSnapshot) GetContexts() map[int64]*Context {
   112  	if x != nil {
   113  		return x.Contexts
   114  	}
   115  	return nil
   116  }
   117  
   118  func (x *LabelsSnapshot) GetStrings() map[int64]string {
   119  	if x != nil {
   120  		return x.Strings
   121  	}
   122  	return nil
   123  }
   124  
   125  var File_jfr_labels_proto protoreflect.FileDescriptor
   126  
   127  var file_jfr_labels_proto_rawDesc = []byte{
   128  	0x0a, 0x10, 0x6a, 0x66, 0x72, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f,
   129  	0x74, 0x6f, 0x22, 0x72, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x2c, 0x0a,
   130  	0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e,
   131  	0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e,
   132  	0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c,
   133  	0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
   134  	0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
   135  	0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c,
   136  	0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x86, 0x02, 0x0a, 0x0e, 0x4c, 0x61, 0x62, 0x65, 0x6c,
   137  	0x73, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x39, 0x0a, 0x08, 0x63, 0x6f, 0x6e,
   138  	0x74, 0x65, 0x78, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x4c, 0x61,
   139  	0x62, 0x65, 0x6c, 0x73, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x43, 0x6f, 0x6e,
   140  	0x74, 0x65, 0x78, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74,
   141  	0x65, 0x78, 0x74, 0x73, 0x12, 0x36, 0x0a, 0x07, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x73, 0x18,
   142  	0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x53, 0x6e,
   143  	0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x6e,
   144  	0x74, 0x72, 0x79, 0x52, 0x07, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x73, 0x1a, 0x45, 0x0a, 0x0d,
   145  	0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
   146  	0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
   147  	0x1e, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08,
   148  	0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
   149  	0x02, 0x38, 0x01, 0x1a, 0x3a, 0x0a, 0x0c, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x6e,
   150  	0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
   151  	0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
   152  	0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42,
   153  	0x33, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x79,
   154  	0x72, 0x6f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x2d, 0x69, 0x6f, 0x2f, 0x70, 0x79, 0x72, 0x6f, 0x73,
   155  	0x63, 0x6f, 0x70, 0x65, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74,
   156  	0x2f, 0x6a, 0x66, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   157  }
   158  
   159  var (
   160  	file_jfr_labels_proto_rawDescOnce sync.Once
   161  	file_jfr_labels_proto_rawDescData = file_jfr_labels_proto_rawDesc
   162  )
   163  
   164  func file_jfr_labels_proto_rawDescGZIP() []byte {
   165  	file_jfr_labels_proto_rawDescOnce.Do(func() {
   166  		file_jfr_labels_proto_rawDescData = protoimpl.X.CompressGZIP(file_jfr_labels_proto_rawDescData)
   167  	})
   168  	return file_jfr_labels_proto_rawDescData
   169  }
   170  
   171  var file_jfr_labels_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
   172  var file_jfr_labels_proto_goTypes = []interface{}{
   173  	(*Context)(nil),        // 0: Context
   174  	(*LabelsSnapshot)(nil), // 1: LabelsSnapshot
   175  	nil,                    // 2: Context.LabelsEntry
   176  	nil,                    // 3: LabelsSnapshot.ContextsEntry
   177  	nil,                    // 4: LabelsSnapshot.StringsEntry
   178  }
   179  var file_jfr_labels_proto_depIdxs = []int32{
   180  	2, // 0: Context.labels:type_name -> Context.LabelsEntry
   181  	3, // 1: LabelsSnapshot.contexts:type_name -> LabelsSnapshot.ContextsEntry
   182  	4, // 2: LabelsSnapshot.strings:type_name -> LabelsSnapshot.StringsEntry
   183  	0, // 3: LabelsSnapshot.ContextsEntry.value:type_name -> Context
   184  	4, // [4:4] is the sub-list for method output_type
   185  	4, // [4:4] is the sub-list for method input_type
   186  	4, // [4:4] is the sub-list for extension type_name
   187  	4, // [4:4] is the sub-list for extension extendee
   188  	0, // [0:4] is the sub-list for field type_name
   189  }
   190  
   191  func init() { file_jfr_labels_proto_init() }
   192  func file_jfr_labels_proto_init() {
   193  	if File_jfr_labels_proto != nil {
   194  		return
   195  	}
   196  	if !protoimpl.UnsafeEnabled {
   197  		file_jfr_labels_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   198  			switch v := v.(*Context); i {
   199  			case 0:
   200  				return &v.state
   201  			case 1:
   202  				return &v.sizeCache
   203  			case 2:
   204  				return &v.unknownFields
   205  			default:
   206  				return nil
   207  			}
   208  		}
   209  		file_jfr_labels_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   210  			switch v := v.(*LabelsSnapshot); i {
   211  			case 0:
   212  				return &v.state
   213  			case 1:
   214  				return &v.sizeCache
   215  			case 2:
   216  				return &v.unknownFields
   217  			default:
   218  				return nil
   219  			}
   220  		}
   221  	}
   222  	type x struct{}
   223  	out := protoimpl.TypeBuilder{
   224  		File: protoimpl.DescBuilder{
   225  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   226  			RawDescriptor: file_jfr_labels_proto_rawDesc,
   227  			NumEnums:      0,
   228  			NumMessages:   5,
   229  			NumExtensions: 0,
   230  			NumServices:   0,
   231  		},
   232  		GoTypes:           file_jfr_labels_proto_goTypes,
   233  		DependencyIndexes: file_jfr_labels_proto_depIdxs,
   234  		MessageInfos:      file_jfr_labels_proto_msgTypes,
   235  	}.Build()
   236  	File_jfr_labels_proto = out.File
   237  	file_jfr_labels_proto_rawDesc = nil
   238  	file_jfr_labels_proto_goTypes = nil
   239  	file_jfr_labels_proto_depIdxs = nil
   240  }