github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/grpc/profiling/proto/service.pb.go (about)

     1  // Copyright 2019 gRPC authors.
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.25.0
    18  // 	protoc        v3.14.0
    19  // source: profiling/proto/service.proto
    20  
    21  package proto
    22  
    23  import (
    24  	proto "github.com/golang/protobuf/proto"
    25  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    26  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    27  	reflect "reflect"
    28  	sync "sync"
    29  )
    30  
    31  const (
    32  	// Verify that this generated code is sufficiently up-to-date.
    33  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    34  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    35  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    36  )
    37  
    38  // This is a compile-time assertion that a sufficiently up-to-date version
    39  // of the legacy proto package is being used.
    40  const _ = proto.ProtoPackageIsVersion4
    41  
    42  // EnableRequest defines the fields in a /Profiling/Enable method request to
    43  // toggle profiling on and off within a gRPC program.
    44  type EnableRequest struct {
    45  	state         protoimpl.MessageState
    46  	sizeCache     protoimpl.SizeCache
    47  	unknownFields protoimpl.UnknownFields
    48  
    49  	// Setting this to true will enable profiling. Setting this to false will
    50  	// disable profiling.
    51  	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
    52  }
    53  
    54  func (x *EnableRequest) Reset() {
    55  	*x = EnableRequest{}
    56  	if protoimpl.UnsafeEnabled {
    57  		mi := &file_profiling_proto_service_proto_msgTypes[0]
    58  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    59  		ms.StoreMessageInfo(mi)
    60  	}
    61  }
    62  
    63  func (x *EnableRequest) String() string {
    64  	return protoimpl.X.MessageStringOf(x)
    65  }
    66  
    67  func (*EnableRequest) ProtoMessage() {}
    68  
    69  func (x *EnableRequest) ProtoReflect() protoreflect.Message {
    70  	mi := &file_profiling_proto_service_proto_msgTypes[0]
    71  	if protoimpl.UnsafeEnabled && x != nil {
    72  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    73  		if ms.LoadMessageInfo() == nil {
    74  			ms.StoreMessageInfo(mi)
    75  		}
    76  		return ms
    77  	}
    78  	return mi.MessageOf(x)
    79  }
    80  
    81  // Deprecated: Use EnableRequest.ProtoReflect.Descriptor instead.
    82  func (*EnableRequest) Descriptor() ([]byte, []int) {
    83  	return file_profiling_proto_service_proto_rawDescGZIP(), []int{0}
    84  }
    85  
    86  func (x *EnableRequest) GetEnabled() bool {
    87  	if x != nil {
    88  		return x.Enabled
    89  	}
    90  	return false
    91  }
    92  
    93  // EnableResponse defines the fields in a /Profiling/Enable method response.
    94  type EnableResponse struct {
    95  	state         protoimpl.MessageState
    96  	sizeCache     protoimpl.SizeCache
    97  	unknownFields protoimpl.UnknownFields
    98  }
    99  
   100  func (x *EnableResponse) Reset() {
   101  	*x = EnableResponse{}
   102  	if protoimpl.UnsafeEnabled {
   103  		mi := &file_profiling_proto_service_proto_msgTypes[1]
   104  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   105  		ms.StoreMessageInfo(mi)
   106  	}
   107  }
   108  
   109  func (x *EnableResponse) String() string {
   110  	return protoimpl.X.MessageStringOf(x)
   111  }
   112  
   113  func (*EnableResponse) ProtoMessage() {}
   114  
   115  func (x *EnableResponse) ProtoReflect() protoreflect.Message {
   116  	mi := &file_profiling_proto_service_proto_msgTypes[1]
   117  	if protoimpl.UnsafeEnabled && x != nil {
   118  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   119  		if ms.LoadMessageInfo() == nil {
   120  			ms.StoreMessageInfo(mi)
   121  		}
   122  		return ms
   123  	}
   124  	return mi.MessageOf(x)
   125  }
   126  
   127  // Deprecated: Use EnableResponse.ProtoReflect.Descriptor instead.
   128  func (*EnableResponse) Descriptor() ([]byte, []int) {
   129  	return file_profiling_proto_service_proto_rawDescGZIP(), []int{1}
   130  }
   131  
   132  // GetStreamStatsRequest defines the fields in a /Profiling/GetStreamStats
   133  // method request to retrieve stream-level stats in a gRPC client/server.
   134  type GetStreamStatsRequest struct {
   135  	state         protoimpl.MessageState
   136  	sizeCache     protoimpl.SizeCache
   137  	unknownFields protoimpl.UnknownFields
   138  }
   139  
   140  func (x *GetStreamStatsRequest) Reset() {
   141  	*x = GetStreamStatsRequest{}
   142  	if protoimpl.UnsafeEnabled {
   143  		mi := &file_profiling_proto_service_proto_msgTypes[2]
   144  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   145  		ms.StoreMessageInfo(mi)
   146  	}
   147  }
   148  
   149  func (x *GetStreamStatsRequest) String() string {
   150  	return protoimpl.X.MessageStringOf(x)
   151  }
   152  
   153  func (*GetStreamStatsRequest) ProtoMessage() {}
   154  
   155  func (x *GetStreamStatsRequest) ProtoReflect() protoreflect.Message {
   156  	mi := &file_profiling_proto_service_proto_msgTypes[2]
   157  	if protoimpl.UnsafeEnabled && x != nil {
   158  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   159  		if ms.LoadMessageInfo() == nil {
   160  			ms.StoreMessageInfo(mi)
   161  		}
   162  		return ms
   163  	}
   164  	return mi.MessageOf(x)
   165  }
   166  
   167  // Deprecated: Use GetStreamStatsRequest.ProtoReflect.Descriptor instead.
   168  func (*GetStreamStatsRequest) Descriptor() ([]byte, []int) {
   169  	return file_profiling_proto_service_proto_rawDescGZIP(), []int{2}
   170  }
   171  
   172  // GetStreamStatsResponse defines the fields in a /Profiling/GetStreamStats
   173  // method response.
   174  type GetStreamStatsResponse struct {
   175  	state         protoimpl.MessageState
   176  	sizeCache     protoimpl.SizeCache
   177  	unknownFields protoimpl.UnknownFields
   178  
   179  	StreamStats []*Stat `protobuf:"bytes,1,rep,name=stream_stats,json=streamStats,proto3" json:"stream_stats,omitempty"`
   180  }
   181  
   182  func (x *GetStreamStatsResponse) Reset() {
   183  	*x = GetStreamStatsResponse{}
   184  	if protoimpl.UnsafeEnabled {
   185  		mi := &file_profiling_proto_service_proto_msgTypes[3]
   186  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   187  		ms.StoreMessageInfo(mi)
   188  	}
   189  }
   190  
   191  func (x *GetStreamStatsResponse) String() string {
   192  	return protoimpl.X.MessageStringOf(x)
   193  }
   194  
   195  func (*GetStreamStatsResponse) ProtoMessage() {}
   196  
   197  func (x *GetStreamStatsResponse) ProtoReflect() protoreflect.Message {
   198  	mi := &file_profiling_proto_service_proto_msgTypes[3]
   199  	if protoimpl.UnsafeEnabled && 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 GetStreamStatsResponse.ProtoReflect.Descriptor instead.
   210  func (*GetStreamStatsResponse) Descriptor() ([]byte, []int) {
   211  	return file_profiling_proto_service_proto_rawDescGZIP(), []int{3}
   212  }
   213  
   214  func (x *GetStreamStatsResponse) GetStreamStats() []*Stat {
   215  	if x != nil {
   216  		return x.StreamStats
   217  	}
   218  	return nil
   219  }
   220  
   221  // A Timer measures the start and end of execution of a component within
   222  // gRPC that's being profiled. It includes a tag and some additional metadata
   223  // to identify itself.
   224  type Timer struct {
   225  	state         protoimpl.MessageState
   226  	sizeCache     protoimpl.SizeCache
   227  	unknownFields protoimpl.UnknownFields
   228  
   229  	// tags is a comma-separated list of strings used to tag a timer.
   230  	Tags string `protobuf:"bytes,1,opt,name=tags,proto3" json:"tags,omitempty"`
   231  	// begin_sec and begin_nsec are the start epoch second and nanosecond,
   232  	// respectively, of the component profiled by this timer in UTC. begin_nsec
   233  	// must be a non-negative integer.
   234  	BeginSec  int64 `protobuf:"varint,2,opt,name=begin_sec,json=beginSec,proto3" json:"begin_sec,omitempty"`
   235  	BeginNsec int32 `protobuf:"varint,3,opt,name=begin_nsec,json=beginNsec,proto3" json:"begin_nsec,omitempty"`
   236  	// end_sec and end_nsec are the end epoch second and nanosecond,
   237  	// respectively, of the component profiled by this timer in UTC. end_nsec
   238  	// must be a non-negative integer.
   239  	EndSec  int64 `protobuf:"varint,4,opt,name=end_sec,json=endSec,proto3" json:"end_sec,omitempty"`
   240  	EndNsec int32 `protobuf:"varint,5,opt,name=end_nsec,json=endNsec,proto3" json:"end_nsec,omitempty"`
   241  	// go_id is the goroutine ID of the component being profiled.
   242  	GoId int64 `protobuf:"varint,6,opt,name=go_id,json=goId,proto3" json:"go_id,omitempty"`
   243  }
   244  
   245  func (x *Timer) Reset() {
   246  	*x = Timer{}
   247  	if protoimpl.UnsafeEnabled {
   248  		mi := &file_profiling_proto_service_proto_msgTypes[4]
   249  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   250  		ms.StoreMessageInfo(mi)
   251  	}
   252  }
   253  
   254  func (x *Timer) String() string {
   255  	return protoimpl.X.MessageStringOf(x)
   256  }
   257  
   258  func (*Timer) ProtoMessage() {}
   259  
   260  func (x *Timer) ProtoReflect() protoreflect.Message {
   261  	mi := &file_profiling_proto_service_proto_msgTypes[4]
   262  	if protoimpl.UnsafeEnabled && x != nil {
   263  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   264  		if ms.LoadMessageInfo() == nil {
   265  			ms.StoreMessageInfo(mi)
   266  		}
   267  		return ms
   268  	}
   269  	return mi.MessageOf(x)
   270  }
   271  
   272  // Deprecated: Use Timer.ProtoReflect.Descriptor instead.
   273  func (*Timer) Descriptor() ([]byte, []int) {
   274  	return file_profiling_proto_service_proto_rawDescGZIP(), []int{4}
   275  }
   276  
   277  func (x *Timer) GetTags() string {
   278  	if x != nil {
   279  		return x.Tags
   280  	}
   281  	return ""
   282  }
   283  
   284  func (x *Timer) GetBeginSec() int64 {
   285  	if x != nil {
   286  		return x.BeginSec
   287  	}
   288  	return 0
   289  }
   290  
   291  func (x *Timer) GetBeginNsec() int32 {
   292  	if x != nil {
   293  		return x.BeginNsec
   294  	}
   295  	return 0
   296  }
   297  
   298  func (x *Timer) GetEndSec() int64 {
   299  	if x != nil {
   300  		return x.EndSec
   301  	}
   302  	return 0
   303  }
   304  
   305  func (x *Timer) GetEndNsec() int32 {
   306  	if x != nil {
   307  		return x.EndNsec
   308  	}
   309  	return 0
   310  }
   311  
   312  func (x *Timer) GetGoId() int64 {
   313  	if x != nil {
   314  		return x.GoId
   315  	}
   316  	return 0
   317  }
   318  
   319  // A Stat is a collection of Timers along with some additional
   320  // metadata to tag and identify itself.
   321  type Stat struct {
   322  	state         protoimpl.MessageState
   323  	sizeCache     protoimpl.SizeCache
   324  	unknownFields protoimpl.UnknownFields
   325  
   326  	// tags is a comma-separated list of strings used to categorize a stat.
   327  	Tags string `protobuf:"bytes,1,opt,name=tags,proto3" json:"tags,omitempty"`
   328  	// timers is an array of Timers, each representing a different
   329  	// (but possibly overlapping) component within this stat.
   330  	Timers []*Timer `protobuf:"bytes,2,rep,name=timers,proto3" json:"timers,omitempty"`
   331  	// metadata is an array of bytes used to uniquely identify a stat with an
   332  	// undefined encoding format. For example, the Stats returned by the
   333  	// /Profiling/GetStreamStats service use the metadata field to encode the
   334  	// connection ID and the stream ID of each query.
   335  	Metadata []byte `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
   336  }
   337  
   338  func (x *Stat) Reset() {
   339  	*x = Stat{}
   340  	if protoimpl.UnsafeEnabled {
   341  		mi := &file_profiling_proto_service_proto_msgTypes[5]
   342  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   343  		ms.StoreMessageInfo(mi)
   344  	}
   345  }
   346  
   347  func (x *Stat) String() string {
   348  	return protoimpl.X.MessageStringOf(x)
   349  }
   350  
   351  func (*Stat) ProtoMessage() {}
   352  
   353  func (x *Stat) ProtoReflect() protoreflect.Message {
   354  	mi := &file_profiling_proto_service_proto_msgTypes[5]
   355  	if protoimpl.UnsafeEnabled && x != nil {
   356  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   357  		if ms.LoadMessageInfo() == nil {
   358  			ms.StoreMessageInfo(mi)
   359  		}
   360  		return ms
   361  	}
   362  	return mi.MessageOf(x)
   363  }
   364  
   365  // Deprecated: Use Stat.ProtoReflect.Descriptor instead.
   366  func (*Stat) Descriptor() ([]byte, []int) {
   367  	return file_profiling_proto_service_proto_rawDescGZIP(), []int{5}
   368  }
   369  
   370  func (x *Stat) GetTags() string {
   371  	if x != nil {
   372  		return x.Tags
   373  	}
   374  	return ""
   375  }
   376  
   377  func (x *Stat) GetTimers() []*Timer {
   378  	if x != nil {
   379  		return x.Timers
   380  	}
   381  	return nil
   382  }
   383  
   384  func (x *Stat) GetMetadata() []byte {
   385  	if x != nil {
   386  		return x.Metadata
   387  	}
   388  	return nil
   389  }
   390  
   391  var File_profiling_proto_service_proto protoreflect.FileDescriptor
   392  
   393  var file_profiling_proto_service_proto_rawDesc = []byte{
   394  	0x0a, 0x1d, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74,
   395  	0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
   396  	0x19, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x69,
   397  	0x6e, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x22, 0x29, 0x0a, 0x0d, 0x45, 0x6e,
   398  	0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x65,
   399  	0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e,
   400  	0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 0x10, 0x0a, 0x0e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x52,
   401  	0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x53, 0x74,
   402  	0x72, 0x65, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
   403  	0x22, 0x5c, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x74, 0x61,
   404  	0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0c, 0x73, 0x74,
   405  	0x72, 0x65, 0x61, 0x6d, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
   406  	0x32, 0x1f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x66, 0x69,
   407  	0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x74, 0x61,
   408  	0x74, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x73, 0x22, 0xa0,
   409  	0x01, 0x0a, 0x05, 0x54, 0x69, 0x6d, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73,
   410  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x1b, 0x0a, 0x09,
   411  	0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
   412  	0x08, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x63, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x65, 0x67,
   413  	0x69, 0x6e, 0x5f, 0x6e, 0x73, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x62,
   414  	0x65, 0x67, 0x69, 0x6e, 0x4e, 0x73, 0x65, 0x63, 0x12, 0x17, 0x0a, 0x07, 0x65, 0x6e, 0x64, 0x5f,
   415  	0x73, 0x65, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x65, 0x6e, 0x64, 0x53, 0x65,
   416  	0x63, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x6e, 0x73, 0x65, 0x63, 0x18, 0x05, 0x20,
   417  	0x01, 0x28, 0x05, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x4e, 0x73, 0x65, 0x63, 0x12, 0x13, 0x0a, 0x05,
   418  	0x67, 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x67, 0x6f, 0x49,
   419  	0x64, 0x22, 0x70, 0x0a, 0x04, 0x53, 0x74, 0x61, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67,
   420  	0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x38, 0x0a,
   421  	0x06, 0x74, 0x69, 0x6d, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e,
   422  	0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x69, 0x6e,
   423  	0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x72, 0x52,
   424  	0x06, 0x74, 0x69, 0x6d, 0x65, 0x72, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64,
   425  	0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64,
   426  	0x61, 0x74, 0x61, 0x32, 0xe1, 0x01, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x69, 0x6e,
   427  	0x67, 0x12, 0x5d, 0x0a, 0x06, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x28, 0x2e, 0x67, 0x72,
   428  	0x70, 0x63, 0x2e, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x2e,
   429  	0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65,
   430  	0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x6f, 0x2e,
   431  	0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
   432  	0x61, 0x2e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
   433  	0x12, 0x75, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x74, 0x61,
   434  	0x74, 0x73, 0x12, 0x30, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
   435  	0x66, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x47,
   436  	0x65, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71,
   437  	0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x6f, 0x2e, 0x70,
   438  	0x72, 0x6f, 0x66, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
   439  	0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52,
   440  	0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x28, 0x5a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   441  	0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x72, 0x70,
   442  	0x63, 0x2f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74,
   443  	0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   444  }
   445  
   446  var (
   447  	file_profiling_proto_service_proto_rawDescOnce sync.Once
   448  	file_profiling_proto_service_proto_rawDescData = file_profiling_proto_service_proto_rawDesc
   449  )
   450  
   451  func file_profiling_proto_service_proto_rawDescGZIP() []byte {
   452  	file_profiling_proto_service_proto_rawDescOnce.Do(func() {
   453  		file_profiling_proto_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_profiling_proto_service_proto_rawDescData)
   454  	})
   455  	return file_profiling_proto_service_proto_rawDescData
   456  }
   457  
   458  var file_profiling_proto_service_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
   459  var file_profiling_proto_service_proto_goTypes = []interface{}{
   460  	(*EnableRequest)(nil),          // 0: grpc.go.profiling.v1alpha.EnableRequest
   461  	(*EnableResponse)(nil),         // 1: grpc.go.profiling.v1alpha.EnableResponse
   462  	(*GetStreamStatsRequest)(nil),  // 2: grpc.go.profiling.v1alpha.GetStreamStatsRequest
   463  	(*GetStreamStatsResponse)(nil), // 3: grpc.go.profiling.v1alpha.GetStreamStatsResponse
   464  	(*Timer)(nil),                  // 4: grpc.go.profiling.v1alpha.Timer
   465  	(*Stat)(nil),                   // 5: grpc.go.profiling.v1alpha.Stat
   466  }
   467  var file_profiling_proto_service_proto_depIdxs = []int32{
   468  	5, // 0: grpc.go.profiling.v1alpha.GetStreamStatsResponse.stream_stats:type_name -> grpc.go.profiling.v1alpha.Stat
   469  	4, // 1: grpc.go.profiling.v1alpha.Stat.timers:type_name -> grpc.go.profiling.v1alpha.Timer
   470  	0, // 2: grpc.go.profiling.v1alpha.Profiling.Enable:input_type -> grpc.go.profiling.v1alpha.EnableRequest
   471  	2, // 3: grpc.go.profiling.v1alpha.Profiling.GetStreamStats:input_type -> grpc.go.profiling.v1alpha.GetStreamStatsRequest
   472  	1, // 4: grpc.go.profiling.v1alpha.Profiling.Enable:output_type -> grpc.go.profiling.v1alpha.EnableResponse
   473  	3, // 5: grpc.go.profiling.v1alpha.Profiling.GetStreamStats:output_type -> grpc.go.profiling.v1alpha.GetStreamStatsResponse
   474  	4, // [4:6] is the sub-list for method output_type
   475  	2, // [2:4] is the sub-list for method input_type
   476  	2, // [2:2] is the sub-list for extension type_name
   477  	2, // [2:2] is the sub-list for extension extendee
   478  	0, // [0:2] is the sub-list for field type_name
   479  }
   480  
   481  func init() { file_profiling_proto_service_proto_init() }
   482  func file_profiling_proto_service_proto_init() {
   483  	if File_profiling_proto_service_proto != nil {
   484  		return
   485  	}
   486  	if !protoimpl.UnsafeEnabled {
   487  		file_profiling_proto_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   488  			switch v := v.(*EnableRequest); i {
   489  			case 0:
   490  				return &v.state
   491  			case 1:
   492  				return &v.sizeCache
   493  			case 2:
   494  				return &v.unknownFields
   495  			default:
   496  				return nil
   497  			}
   498  		}
   499  		file_profiling_proto_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   500  			switch v := v.(*EnableResponse); i {
   501  			case 0:
   502  				return &v.state
   503  			case 1:
   504  				return &v.sizeCache
   505  			case 2:
   506  				return &v.unknownFields
   507  			default:
   508  				return nil
   509  			}
   510  		}
   511  		file_profiling_proto_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   512  			switch v := v.(*GetStreamStatsRequest); i {
   513  			case 0:
   514  				return &v.state
   515  			case 1:
   516  				return &v.sizeCache
   517  			case 2:
   518  				return &v.unknownFields
   519  			default:
   520  				return nil
   521  			}
   522  		}
   523  		file_profiling_proto_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   524  			switch v := v.(*GetStreamStatsResponse); i {
   525  			case 0:
   526  				return &v.state
   527  			case 1:
   528  				return &v.sizeCache
   529  			case 2:
   530  				return &v.unknownFields
   531  			default:
   532  				return nil
   533  			}
   534  		}
   535  		file_profiling_proto_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   536  			switch v := v.(*Timer); i {
   537  			case 0:
   538  				return &v.state
   539  			case 1:
   540  				return &v.sizeCache
   541  			case 2:
   542  				return &v.unknownFields
   543  			default:
   544  				return nil
   545  			}
   546  		}
   547  		file_profiling_proto_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   548  			switch v := v.(*Stat); i {
   549  			case 0:
   550  				return &v.state
   551  			case 1:
   552  				return &v.sizeCache
   553  			case 2:
   554  				return &v.unknownFields
   555  			default:
   556  				return nil
   557  			}
   558  		}
   559  	}
   560  	type x struct{}
   561  	out := protoimpl.TypeBuilder{
   562  		File: protoimpl.DescBuilder{
   563  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   564  			RawDescriptor: file_profiling_proto_service_proto_rawDesc,
   565  			NumEnums:      0,
   566  			NumMessages:   6,
   567  			NumExtensions: 0,
   568  			NumServices:   1,
   569  		},
   570  		GoTypes:           file_profiling_proto_service_proto_goTypes,
   571  		DependencyIndexes: file_profiling_proto_service_proto_depIdxs,
   572  		MessageInfos:      file_profiling_proto_service_proto_msgTypes,
   573  	}.Build()
   574  	File_profiling_proto_service_proto = out.File
   575  	file_profiling_proto_service_proto_rawDesc = nil
   576  	file_profiling_proto_service_proto_goTypes = nil
   577  	file_profiling_proto_service_proto_depIdxs = nil
   578  }