github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/config/core/v3/event_service_config.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/core/v3/event_service_config.proto
     6  
     7  package envoy_config_core_v3
     8  
     9  import (
    10  	_ "github.com/cncf/xds/go/udpa/annotations"
    11  	_ "github.com/envoyproxy/protoc-gen-validate/validate"
    12  	proto "github.com/golang/protobuf/proto"
    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  // This is a compile-time assertion that a sufficiently up-to-date version
    27  // of the legacy proto package is being used.
    28  const _ = proto.ProtoPackageIsVersion4
    29  
    30  // [#not-implemented-hide:]
    31  // Configuration of the event reporting service endpoint.
    32  type EventServiceConfig struct {
    33  	state         protoimpl.MessageState
    34  	sizeCache     protoimpl.SizeCache
    35  	unknownFields protoimpl.UnknownFields
    36  
    37  	// Types that are assignable to ConfigSourceSpecifier:
    38  	//	*EventServiceConfig_GrpcService
    39  	ConfigSourceSpecifier isEventServiceConfig_ConfigSourceSpecifier `protobuf_oneof:"config_source_specifier"`
    40  }
    41  
    42  func (x *EventServiceConfig) Reset() {
    43  	*x = EventServiceConfig{}
    44  	if protoimpl.UnsafeEnabled {
    45  		mi := &file_envoy_config_core_v3_event_service_config_proto_msgTypes[0]
    46  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    47  		ms.StoreMessageInfo(mi)
    48  	}
    49  }
    50  
    51  func (x *EventServiceConfig) String() string {
    52  	return protoimpl.X.MessageStringOf(x)
    53  }
    54  
    55  func (*EventServiceConfig) ProtoMessage() {}
    56  
    57  func (x *EventServiceConfig) ProtoReflect() protoreflect.Message {
    58  	mi := &file_envoy_config_core_v3_event_service_config_proto_msgTypes[0]
    59  	if protoimpl.UnsafeEnabled && x != nil {
    60  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    61  		if ms.LoadMessageInfo() == nil {
    62  			ms.StoreMessageInfo(mi)
    63  		}
    64  		return ms
    65  	}
    66  	return mi.MessageOf(x)
    67  }
    68  
    69  // Deprecated: Use EventServiceConfig.ProtoReflect.Descriptor instead.
    70  func (*EventServiceConfig) Descriptor() ([]byte, []int) {
    71  	return file_envoy_config_core_v3_event_service_config_proto_rawDescGZIP(), []int{0}
    72  }
    73  
    74  func (m *EventServiceConfig) GetConfigSourceSpecifier() isEventServiceConfig_ConfigSourceSpecifier {
    75  	if m != nil {
    76  		return m.ConfigSourceSpecifier
    77  	}
    78  	return nil
    79  }
    80  
    81  func (x *EventServiceConfig) GetGrpcService() *GrpcService {
    82  	if x, ok := x.GetConfigSourceSpecifier().(*EventServiceConfig_GrpcService); ok {
    83  		return x.GrpcService
    84  	}
    85  	return nil
    86  }
    87  
    88  type isEventServiceConfig_ConfigSourceSpecifier interface {
    89  	isEventServiceConfig_ConfigSourceSpecifier()
    90  }
    91  
    92  type EventServiceConfig_GrpcService struct {
    93  	// Specifies the gRPC service that hosts the event reporting service.
    94  	GrpcService *GrpcService `protobuf:"bytes,1,opt,name=grpc_service,json=grpcService,proto3,oneof"`
    95  }
    96  
    97  func (*EventServiceConfig_GrpcService) isEventServiceConfig_ConfigSourceSpecifier() {}
    98  
    99  var File_envoy_config_core_v3_event_service_config_proto protoreflect.FileDescriptor
   100  
   101  var file_envoy_config_core_v3_event_service_config_proto_rawDesc = []byte{
   102  	0x0a, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63,
   103  	0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x72,
   104  	0x76, 0x69, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   105  	0x6f, 0x12, 0x14, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
   106  	0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x1a, 0x27, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63,
   107  	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x67, 0x72,
   108  	0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   109  	0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
   110  	0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
   111  	0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
   112  	0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f,
   113  	0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c,
   114  	0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa9, 0x01, 0x0a, 0x12,
   115  	0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66,
   116  	0x69, 0x67, 0x12, 0x46, 0x0a, 0x0c, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69,
   117  	0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
   118  	0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e,
   119  	0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x67,
   120  	0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x3a, 0x2b, 0x9a, 0xc5, 0x88, 0x1e,
   121  	0x26, 0x0a, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e,
   122  	0x63, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
   123  	0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x1e, 0x0a, 0x17, 0x63, 0x6f, 0x6e, 0x66, 0x69,
   124  	0x67, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69,
   125  	0x65, 0x72, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x42, 0x47, 0x0a, 0x22, 0x69, 0x6f, 0x2e, 0x65, 0x6e,
   126  	0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63,
   127  	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x17, 0x45,
   128  	0x76, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69,
   129  	0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02,
   130  	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   131  }
   132  
   133  var (
   134  	file_envoy_config_core_v3_event_service_config_proto_rawDescOnce sync.Once
   135  	file_envoy_config_core_v3_event_service_config_proto_rawDescData = file_envoy_config_core_v3_event_service_config_proto_rawDesc
   136  )
   137  
   138  func file_envoy_config_core_v3_event_service_config_proto_rawDescGZIP() []byte {
   139  	file_envoy_config_core_v3_event_service_config_proto_rawDescOnce.Do(func() {
   140  		file_envoy_config_core_v3_event_service_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_core_v3_event_service_config_proto_rawDescData)
   141  	})
   142  	return file_envoy_config_core_v3_event_service_config_proto_rawDescData
   143  }
   144  
   145  var file_envoy_config_core_v3_event_service_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   146  var file_envoy_config_core_v3_event_service_config_proto_goTypes = []interface{}{
   147  	(*EventServiceConfig)(nil), // 0: envoy.config.core.v3.EventServiceConfig
   148  	(*GrpcService)(nil),        // 1: envoy.config.core.v3.GrpcService
   149  }
   150  var file_envoy_config_core_v3_event_service_config_proto_depIdxs = []int32{
   151  	1, // 0: envoy.config.core.v3.EventServiceConfig.grpc_service:type_name -> envoy.config.core.v3.GrpcService
   152  	1, // [1:1] is the sub-list for method output_type
   153  	1, // [1:1] is the sub-list for method input_type
   154  	1, // [1:1] is the sub-list for extension type_name
   155  	1, // [1:1] is the sub-list for extension extendee
   156  	0, // [0:1] is the sub-list for field type_name
   157  }
   158  
   159  func init() { file_envoy_config_core_v3_event_service_config_proto_init() }
   160  func file_envoy_config_core_v3_event_service_config_proto_init() {
   161  	if File_envoy_config_core_v3_event_service_config_proto != nil {
   162  		return
   163  	}
   164  	file_envoy_config_core_v3_grpc_service_proto_init()
   165  	if !protoimpl.UnsafeEnabled {
   166  		file_envoy_config_core_v3_event_service_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   167  			switch v := v.(*EventServiceConfig); i {
   168  			case 0:
   169  				return &v.state
   170  			case 1:
   171  				return &v.sizeCache
   172  			case 2:
   173  				return &v.unknownFields
   174  			default:
   175  				return nil
   176  			}
   177  		}
   178  	}
   179  	file_envoy_config_core_v3_event_service_config_proto_msgTypes[0].OneofWrappers = []interface{}{
   180  		(*EventServiceConfig_GrpcService)(nil),
   181  	}
   182  	type x struct{}
   183  	out := protoimpl.TypeBuilder{
   184  		File: protoimpl.DescBuilder{
   185  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   186  			RawDescriptor: file_envoy_config_core_v3_event_service_config_proto_rawDesc,
   187  			NumEnums:      0,
   188  			NumMessages:   1,
   189  			NumExtensions: 0,
   190  			NumServices:   0,
   191  		},
   192  		GoTypes:           file_envoy_config_core_v3_event_service_config_proto_goTypes,
   193  		DependencyIndexes: file_envoy_config_core_v3_event_service_config_proto_depIdxs,
   194  		MessageInfos:      file_envoy_config_core_v3_event_service_config_proto_msgTypes,
   195  	}.Build()
   196  	File_envoy_config_core_v3_event_service_config_proto = out.File
   197  	file_envoy_config_core_v3_event_service_config_proto_rawDesc = nil
   198  	file_envoy_config_core_v3_event_service_config_proto_goTypes = nil
   199  	file_envoy_config_core_v3_event_service_config_proto_depIdxs = nil
   200  }