...

Source file src/github.com/emissary-ingress/emissary/v3/pkg/api/envoy/config/metrics/v2/metrics_service.pb.go

Documentation: github.com/emissary-ingress/emissary/v3/pkg/api/envoy/config/metrics/v2

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.28.1
     4  // 	protoc        v3.21.12
     5  // source: envoy/config/metrics/v2/metrics_service.proto
     6  
     7  package metricsv2
     8  
     9  import (
    10  	_ "github.com/cncf/xds/go/udpa/annotations"
    11  	core "github.com/emissary-ingress/emissary/v3/pkg/api/envoy/api/v2/core"
    12  	_ "github.com/envoyproxy/protoc-gen-validate/validate"
    13  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    14  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    15  	reflect "reflect"
    16  	sync "sync"
    17  )
    18  
    19  const (
    20  	// Verify that this generated code is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    22  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    23  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    24  )
    25  
    26  // Metrics Service is configured as a built-in *envoy.stat_sinks.metrics_service* :ref:`StatsSink
    27  // <envoy_api_msg_config.metrics.v2.StatsSink>`. This opaque configuration will be used to create
    28  // Metrics Service.
    29  // [#extension: envoy.stat_sinks.metrics_service]
    30  type MetricsServiceConfig struct {
    31  	state         protoimpl.MessageState
    32  	sizeCache     protoimpl.SizeCache
    33  	unknownFields protoimpl.UnknownFields
    34  
    35  	// The upstream gRPC cluster that hosts the metrics service.
    36  	GrpcService *core.GrpcService `protobuf:"bytes,1,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"`
    37  }
    38  
    39  func (x *MetricsServiceConfig) Reset() {
    40  	*x = MetricsServiceConfig{}
    41  	if protoimpl.UnsafeEnabled {
    42  		mi := &file_envoy_config_metrics_v2_metrics_service_proto_msgTypes[0]
    43  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    44  		ms.StoreMessageInfo(mi)
    45  	}
    46  }
    47  
    48  func (x *MetricsServiceConfig) String() string {
    49  	return protoimpl.X.MessageStringOf(x)
    50  }
    51  
    52  func (*MetricsServiceConfig) ProtoMessage() {}
    53  
    54  func (x *MetricsServiceConfig) ProtoReflect() protoreflect.Message {
    55  	mi := &file_envoy_config_metrics_v2_metrics_service_proto_msgTypes[0]
    56  	if protoimpl.UnsafeEnabled && x != nil {
    57  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    58  		if ms.LoadMessageInfo() == nil {
    59  			ms.StoreMessageInfo(mi)
    60  		}
    61  		return ms
    62  	}
    63  	return mi.MessageOf(x)
    64  }
    65  
    66  // Deprecated: Use MetricsServiceConfig.ProtoReflect.Descriptor instead.
    67  func (*MetricsServiceConfig) Descriptor() ([]byte, []int) {
    68  	return file_envoy_config_metrics_v2_metrics_service_proto_rawDescGZIP(), []int{0}
    69  }
    70  
    71  func (x *MetricsServiceConfig) GetGrpcService() *core.GrpcService {
    72  	if x != nil {
    73  		return x.GrpcService
    74  	}
    75  	return nil
    76  }
    77  
    78  var File_envoy_config_metrics_v2_metrics_service_proto protoreflect.FileDescriptor
    79  
    80  var file_envoy_config_metrics_v2_metrics_service_proto_rawDesc = []byte{
    81  	0x0a, 0x2d, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x6d,
    82  	0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
    83  	0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
    84  	0x17, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6d, 0x65,
    85  	0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x1a, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f,
    86  	0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x67, 0x72, 0x70, 0x63,
    87  	0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d,
    88  	0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
    89  	0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76,
    90  	0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
    91  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x63, 0x0a, 0x14, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63,
    92  	0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4b,
    93  	0x0a, 0x0c, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01,
    94  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69,
    95  	0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72,
    96  	0x76, 0x69, 0x63, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0b,
    97  	0x67, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x90, 0x01, 0x0a, 0x25,
    98  	0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e,
    99  	0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69,
   100  	0x63, 0x73, 0x2e, 0x76, 0x32, 0x42, 0x13, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x65,
   101  	0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, 0x69,
   102  	0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72,
   103  	0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70,
   104  	0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
   105  	0x67, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x76, 0x32, 0x3b, 0x6d, 0x65, 0x74,
   106  	0x72, 0x69, 0x63, 0x73, 0x76, 0x32, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06,
   107  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   108  }
   109  
   110  var (
   111  	file_envoy_config_metrics_v2_metrics_service_proto_rawDescOnce sync.Once
   112  	file_envoy_config_metrics_v2_metrics_service_proto_rawDescData = file_envoy_config_metrics_v2_metrics_service_proto_rawDesc
   113  )
   114  
   115  func file_envoy_config_metrics_v2_metrics_service_proto_rawDescGZIP() []byte {
   116  	file_envoy_config_metrics_v2_metrics_service_proto_rawDescOnce.Do(func() {
   117  		file_envoy_config_metrics_v2_metrics_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_metrics_v2_metrics_service_proto_rawDescData)
   118  	})
   119  	return file_envoy_config_metrics_v2_metrics_service_proto_rawDescData
   120  }
   121  
   122  var file_envoy_config_metrics_v2_metrics_service_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   123  var file_envoy_config_metrics_v2_metrics_service_proto_goTypes = []interface{}{
   124  	(*MetricsServiceConfig)(nil), // 0: envoy.config.metrics.v2.MetricsServiceConfig
   125  	(*core.GrpcService)(nil),     // 1: envoy.api.v2.core.GrpcService
   126  }
   127  var file_envoy_config_metrics_v2_metrics_service_proto_depIdxs = []int32{
   128  	1, // 0: envoy.config.metrics.v2.MetricsServiceConfig.grpc_service:type_name -> envoy.api.v2.core.GrpcService
   129  	1, // [1:1] is the sub-list for method output_type
   130  	1, // [1:1] is the sub-list for method input_type
   131  	1, // [1:1] is the sub-list for extension type_name
   132  	1, // [1:1] is the sub-list for extension extendee
   133  	0, // [0:1] is the sub-list for field type_name
   134  }
   135  
   136  func init() { file_envoy_config_metrics_v2_metrics_service_proto_init() }
   137  func file_envoy_config_metrics_v2_metrics_service_proto_init() {
   138  	if File_envoy_config_metrics_v2_metrics_service_proto != nil {
   139  		return
   140  	}
   141  	if !protoimpl.UnsafeEnabled {
   142  		file_envoy_config_metrics_v2_metrics_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   143  			switch v := v.(*MetricsServiceConfig); i {
   144  			case 0:
   145  				return &v.state
   146  			case 1:
   147  				return &v.sizeCache
   148  			case 2:
   149  				return &v.unknownFields
   150  			default:
   151  				return nil
   152  			}
   153  		}
   154  	}
   155  	type x struct{}
   156  	out := protoimpl.TypeBuilder{
   157  		File: protoimpl.DescBuilder{
   158  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   159  			RawDescriptor: file_envoy_config_metrics_v2_metrics_service_proto_rawDesc,
   160  			NumEnums:      0,
   161  			NumMessages:   1,
   162  			NumExtensions: 0,
   163  			NumServices:   0,
   164  		},
   165  		GoTypes:           file_envoy_config_metrics_v2_metrics_service_proto_goTypes,
   166  		DependencyIndexes: file_envoy_config_metrics_v2_metrics_service_proto_depIdxs,
   167  		MessageInfos:      file_envoy_config_metrics_v2_metrics_service_proto_msgTypes,
   168  	}.Build()
   169  	File_envoy_config_metrics_v2_metrics_service_proto = out.File
   170  	file_envoy_config_metrics_v2_metrics_service_proto_rawDesc = nil
   171  	file_envoy_config_metrics_v2_metrics_service_proto_goTypes = nil
   172  	file_envoy_config_metrics_v2_metrics_service_proto_depIdxs = nil
   173  }
   174  

View as plain text