gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/go-control-plane/envoy/config/metrics/v2/metrics_service.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.25.0
     4  // 	protoc        v3.16.0
     5  // source: envoy/config/metrics/v2/metrics_service.proto
     6  
     7  package envoy_config_metrics_v2
     8  
     9  import (
    10  	_ "github.com/cncf/xds/go/udpa/annotations"
    11  	core "gitee.com/ks-custle/core-gm/go-control-plane/envoy/api/v2/core"
    12  	_ "github.com/envoyproxy/protoc-gen-validate/validate"
    13  	proto "github.com/golang/protobuf/proto"
    14  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    15  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    16  	reflect "reflect"
    17  	sync "sync"
    18  )
    19  
    20  const (
    21  	// Verify that this generated code is sufficiently up-to-date.
    22  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    23  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    24  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    25  )
    26  
    27  // This is a compile-time assertion that a sufficiently up-to-date version
    28  // of the legacy proto package is being used.
    29  const _ = proto.ProtoPackageIsVersion4
    30  
    31  // Metrics Service is configured as a built-in *envoy.stat_sinks.metrics_service* :ref:`StatsSink
    32  // <envoy_api_msg_config.metrics.v2.StatsSink>`. This opaque configuration will be used to create
    33  // Metrics Service.
    34  // [#extension: envoy.stat_sinks.metrics_service]
    35  type MetricsServiceConfig struct {
    36  	state         protoimpl.MessageState
    37  	sizeCache     protoimpl.SizeCache
    38  	unknownFields protoimpl.UnknownFields
    39  
    40  	// The upstream gRPC cluster that hosts the metrics service.
    41  	GrpcService *core.GrpcService `protobuf:"bytes,1,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"`
    42  }
    43  
    44  func (x *MetricsServiceConfig) Reset() {
    45  	*x = MetricsServiceConfig{}
    46  	if protoimpl.UnsafeEnabled {
    47  		mi := &file_envoy_config_metrics_v2_metrics_service_proto_msgTypes[0]
    48  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    49  		ms.StoreMessageInfo(mi)
    50  	}
    51  }
    52  
    53  func (x *MetricsServiceConfig) String() string {
    54  	return protoimpl.X.MessageStringOf(x)
    55  }
    56  
    57  func (*MetricsServiceConfig) ProtoMessage() {}
    58  
    59  func (x *MetricsServiceConfig) ProtoReflect() protoreflect.Message {
    60  	mi := &file_envoy_config_metrics_v2_metrics_service_proto_msgTypes[0]
    61  	if protoimpl.UnsafeEnabled && x != nil {
    62  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    63  		if ms.LoadMessageInfo() == nil {
    64  			ms.StoreMessageInfo(mi)
    65  		}
    66  		return ms
    67  	}
    68  	return mi.MessageOf(x)
    69  }
    70  
    71  // Deprecated: Use MetricsServiceConfig.ProtoReflect.Descriptor instead.
    72  func (*MetricsServiceConfig) Descriptor() ([]byte, []int) {
    73  	return file_envoy_config_metrics_v2_metrics_service_proto_rawDescGZIP(), []int{0}
    74  }
    75  
    76  func (x *MetricsServiceConfig) GetGrpcService() *core.GrpcService {
    77  	if x != nil {
    78  		return x.GrpcService
    79  	}
    80  	return nil
    81  }
    82  
    83  var File_envoy_config_metrics_v2_metrics_service_proto protoreflect.FileDescriptor
    84  
    85  var file_envoy_config_metrics_v2_metrics_service_proto_rawDesc = []byte{
    86  	0x0a, 0x2d, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x6d,
    87  	0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
    88  	0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
    89  	0x17, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6d, 0x65,
    90  	0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x1a, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f,
    91  	0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x67, 0x72, 0x70, 0x63,
    92  	0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d,
    93  	0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
    94  	0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76,
    95  	0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
    96  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x63, 0x0a, 0x14, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63,
    97  	0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4b,
    98  	0x0a, 0x0c, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01,
    99  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69,
   100  	0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72,
   101  	0x76, 0x69, 0x63, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0b,
   102  	0x67, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x46, 0x0a, 0x25, 0x69,
   103  	0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76,
   104  	0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
   105  	0x73, 0x2e, 0x76, 0x32, 0x42, 0x13, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x65, 0x72,
   106  	0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06,
   107  	0x02, 0x10, 0x01, 0x62, 0x06, 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  }