github.com/grafana/pyroscope@v1.18.0/pkg/frontend/frontendpb/frontend.pb.go (about)

     1  // SPDX-License-Identifier: AGPL-3.0-only
     2  // Provenance-includes-location: https://github.com/cortexproject/cortex/blob/master/pkg/frontend/v2/frontendv2pb/frontend.proto
     3  // Provenance-includes-license: Apache-2.0
     4  // Provenance-includes-copyright: The Cortex Authors.
     5  
     6  // Code generated by protoc-gen-go. DO NOT EDIT.
     7  // versions:
     8  // 	protoc-gen-go v1.36.10
     9  // 	protoc        (unknown)
    10  // source: frontend/frontendpb/frontend.proto
    11  
    12  package frontendpb
    13  
    14  import (
    15  	stats "github.com/grafana/pyroscope/pkg/querier/stats"
    16  	httpgrpc "github.com/grafana/pyroscope/pkg/util/httpgrpc"
    17  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    18  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    19  	reflect "reflect"
    20  	sync "sync"
    21  	unsafe "unsafe"
    22  )
    23  
    24  const (
    25  	// Verify that this generated code is sufficiently up-to-date.
    26  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    27  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    28  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    29  )
    30  
    31  type QueryResultRequest struct {
    32  	state         protoimpl.MessageState `protogen:"open.v1"`
    33  	QueryID       uint64                 `protobuf:"varint,1,opt,name=queryID,proto3" json:"queryID,omitempty"`
    34  	HttpResponse  *httpgrpc.HTTPResponse `protobuf:"bytes,2,opt,name=httpResponse,proto3" json:"httpResponse,omitempty"`
    35  	Stats         *stats.Stats           `protobuf:"bytes,3,opt,name=stats,proto3" json:"stats,omitempty"`
    36  	unknownFields protoimpl.UnknownFields
    37  	sizeCache     protoimpl.SizeCache
    38  }
    39  
    40  func (x *QueryResultRequest) Reset() {
    41  	*x = QueryResultRequest{}
    42  	mi := &file_frontend_frontendpb_frontend_proto_msgTypes[0]
    43  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    44  	ms.StoreMessageInfo(mi)
    45  }
    46  
    47  func (x *QueryResultRequest) String() string {
    48  	return protoimpl.X.MessageStringOf(x)
    49  }
    50  
    51  func (*QueryResultRequest) ProtoMessage() {}
    52  
    53  func (x *QueryResultRequest) ProtoReflect() protoreflect.Message {
    54  	mi := &file_frontend_frontendpb_frontend_proto_msgTypes[0]
    55  	if x != nil {
    56  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    57  		if ms.LoadMessageInfo() == nil {
    58  			ms.StoreMessageInfo(mi)
    59  		}
    60  		return ms
    61  	}
    62  	return mi.MessageOf(x)
    63  }
    64  
    65  // Deprecated: Use QueryResultRequest.ProtoReflect.Descriptor instead.
    66  func (*QueryResultRequest) Descriptor() ([]byte, []int) {
    67  	return file_frontend_frontendpb_frontend_proto_rawDescGZIP(), []int{0}
    68  }
    69  
    70  func (x *QueryResultRequest) GetQueryID() uint64 {
    71  	if x != nil {
    72  		return x.QueryID
    73  	}
    74  	return 0
    75  }
    76  
    77  func (x *QueryResultRequest) GetHttpResponse() *httpgrpc.HTTPResponse {
    78  	if x != nil {
    79  		return x.HttpResponse
    80  	}
    81  	return nil
    82  }
    83  
    84  func (x *QueryResultRequest) GetStats() *stats.Stats {
    85  	if x != nil {
    86  		return x.Stats
    87  	}
    88  	return nil
    89  }
    90  
    91  type QueryResultResponse struct {
    92  	state         protoimpl.MessageState `protogen:"open.v1"`
    93  	unknownFields protoimpl.UnknownFields
    94  	sizeCache     protoimpl.SizeCache
    95  }
    96  
    97  func (x *QueryResultResponse) Reset() {
    98  	*x = QueryResultResponse{}
    99  	mi := &file_frontend_frontendpb_frontend_proto_msgTypes[1]
   100  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   101  	ms.StoreMessageInfo(mi)
   102  }
   103  
   104  func (x *QueryResultResponse) String() string {
   105  	return protoimpl.X.MessageStringOf(x)
   106  }
   107  
   108  func (*QueryResultResponse) ProtoMessage() {}
   109  
   110  func (x *QueryResultResponse) ProtoReflect() protoreflect.Message {
   111  	mi := &file_frontend_frontendpb_frontend_proto_msgTypes[1]
   112  	if x != nil {
   113  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   114  		if ms.LoadMessageInfo() == nil {
   115  			ms.StoreMessageInfo(mi)
   116  		}
   117  		return ms
   118  	}
   119  	return mi.MessageOf(x)
   120  }
   121  
   122  // Deprecated: Use QueryResultResponse.ProtoReflect.Descriptor instead.
   123  func (*QueryResultResponse) Descriptor() ([]byte, []int) {
   124  	return file_frontend_frontendpb_frontend_proto_rawDescGZIP(), []int{1}
   125  }
   126  
   127  var File_frontend_frontendpb_frontend_proto protoreflect.FileDescriptor
   128  
   129  const file_frontend_frontendpb_frontend_proto_rawDesc = "" +
   130  	"\n" +
   131  	"\"frontend/frontendpb/frontend.proto\x12\n" +
   132  	"frontendpb\x1a\x19querier/stats/stats.proto\x1a\x1cutil/httpgrpc/httpgrpc.proto\"\x8e\x01\n" +
   133  	"\x12QueryResultRequest\x12\x18\n" +
   134  	"\aqueryID\x18\x01 \x01(\x04R\aqueryID\x12:\n" +
   135  	"\fhttpResponse\x18\x02 \x01(\v2\x16.httpgrpc.HTTPResponseR\fhttpResponse\x12\"\n" +
   136  	"\x05stats\x18\x03 \x01(\v2\f.stats.StatsR\x05stats\"\x15\n" +
   137  	"\x13QueryResultResponse2f\n" +
   138  	"\x12FrontendForQuerier\x12P\n" +
   139  	"\vQueryResult\x12\x1e.frontendpb.QueryResultRequest\x1a\x1f.frontendpb.QueryResultResponse\"\x00B\x9d\x01\n" +
   140  	"\x0ecom.frontendpbB\rFrontendProtoP\x01Z4github.com/grafana/pyroscope/pkg/frontend/frontendpb\xa2\x02\x03FXX\xaa\x02\n" +
   141  	"Frontendpb\xca\x02\n" +
   142  	"Frontendpb\xe2\x02\x16Frontendpb\\GPBMetadata\xea\x02\n" +
   143  	"Frontendpbb\x06proto3"
   144  
   145  var (
   146  	file_frontend_frontendpb_frontend_proto_rawDescOnce sync.Once
   147  	file_frontend_frontendpb_frontend_proto_rawDescData []byte
   148  )
   149  
   150  func file_frontend_frontendpb_frontend_proto_rawDescGZIP() []byte {
   151  	file_frontend_frontendpb_frontend_proto_rawDescOnce.Do(func() {
   152  		file_frontend_frontendpb_frontend_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_frontend_frontendpb_frontend_proto_rawDesc), len(file_frontend_frontendpb_frontend_proto_rawDesc)))
   153  	})
   154  	return file_frontend_frontendpb_frontend_proto_rawDescData
   155  }
   156  
   157  var file_frontend_frontendpb_frontend_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   158  var file_frontend_frontendpb_frontend_proto_goTypes = []any{
   159  	(*QueryResultRequest)(nil),    // 0: frontendpb.QueryResultRequest
   160  	(*QueryResultResponse)(nil),   // 1: frontendpb.QueryResultResponse
   161  	(*httpgrpc.HTTPResponse)(nil), // 2: httpgrpc.HTTPResponse
   162  	(*stats.Stats)(nil),           // 3: stats.Stats
   163  }
   164  var file_frontend_frontendpb_frontend_proto_depIdxs = []int32{
   165  	2, // 0: frontendpb.QueryResultRequest.httpResponse:type_name -> httpgrpc.HTTPResponse
   166  	3, // 1: frontendpb.QueryResultRequest.stats:type_name -> stats.Stats
   167  	0, // 2: frontendpb.FrontendForQuerier.QueryResult:input_type -> frontendpb.QueryResultRequest
   168  	1, // 3: frontendpb.FrontendForQuerier.QueryResult:output_type -> frontendpb.QueryResultResponse
   169  	3, // [3:4] is the sub-list for method output_type
   170  	2, // [2:3] is the sub-list for method input_type
   171  	2, // [2:2] is the sub-list for extension type_name
   172  	2, // [2:2] is the sub-list for extension extendee
   173  	0, // [0:2] is the sub-list for field type_name
   174  }
   175  
   176  func init() { file_frontend_frontendpb_frontend_proto_init() }
   177  func file_frontend_frontendpb_frontend_proto_init() {
   178  	if File_frontend_frontendpb_frontend_proto != nil {
   179  		return
   180  	}
   181  	type x struct{}
   182  	out := protoimpl.TypeBuilder{
   183  		File: protoimpl.DescBuilder{
   184  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   185  			RawDescriptor: unsafe.Slice(unsafe.StringData(file_frontend_frontendpb_frontend_proto_rawDesc), len(file_frontend_frontendpb_frontend_proto_rawDesc)),
   186  			NumEnums:      0,
   187  			NumMessages:   2,
   188  			NumExtensions: 0,
   189  			NumServices:   1,
   190  		},
   191  		GoTypes:           file_frontend_frontendpb_frontend_proto_goTypes,
   192  		DependencyIndexes: file_frontend_frontendpb_frontend_proto_depIdxs,
   193  		MessageInfos:      file_frontend_frontendpb_frontend_proto_msgTypes,
   194  	}.Build()
   195  	File_frontend_frontendpb_frontend_proto = out.File
   196  	file_frontend_frontendpb_frontend_proto_goTypes = nil
   197  	file_frontend_frontendpb_frontend_proto_depIdxs = nil
   198  }