gitee.com/zhaochuninhefei/gmgo@v0.0.31-0.20240209061119-069254a02979/go-control-plane/envoy/api/v2/core/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/api/v2/core/event_service_config.proto 6 7 package envoy_api_v2_core 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_api_v2_core_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_api_v2_core_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_api_v2_core_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_api_v2_core_event_service_config_proto protoreflect.FileDescriptor 100 101 var file_envoy_api_v2_core_event_service_config_proto_rawDesc = []byte{ 102 0x0a, 0x2c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63, 103 0x6f, 0x72, 0x65, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 104 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 105 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 106 0x65, 0x1a, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 107 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 108 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 109 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 110 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 111 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 112 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 113 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 114 0x79, 0x0a, 0x12, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 115 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x43, 0x0a, 0x0c, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 116 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6e, 117 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 118 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x67, 119 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x1e, 0x0a, 0x17, 0x63, 0x6f, 120 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x73, 0x70, 0x65, 0x63, 121 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x42, 0x60, 0x0a, 0x1f, 0x69, 0x6f, 122 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 123 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x17, 0x45, 124 0x76, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 125 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x16, 0x12, 0x14, 126 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 127 0x65, 0x2e, 0x76, 0x33, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 128 0x6f, 0x74, 0x6f, 0x33, 129 } 130 131 var ( 132 file_envoy_api_v2_core_event_service_config_proto_rawDescOnce sync.Once 133 file_envoy_api_v2_core_event_service_config_proto_rawDescData = file_envoy_api_v2_core_event_service_config_proto_rawDesc 134 ) 135 136 func file_envoy_api_v2_core_event_service_config_proto_rawDescGZIP() []byte { 137 file_envoy_api_v2_core_event_service_config_proto_rawDescOnce.Do(func() { 138 file_envoy_api_v2_core_event_service_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_api_v2_core_event_service_config_proto_rawDescData) 139 }) 140 return file_envoy_api_v2_core_event_service_config_proto_rawDescData 141 } 142 143 var file_envoy_api_v2_core_event_service_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 144 var file_envoy_api_v2_core_event_service_config_proto_goTypes = []interface{}{ 145 (*EventServiceConfig)(nil), // 0: envoy.api.v2.core.EventServiceConfig 146 (*GrpcService)(nil), // 1: envoy.api.v2.core.GrpcService 147 } 148 var file_envoy_api_v2_core_event_service_config_proto_depIdxs = []int32{ 149 1, // 0: envoy.api.v2.core.EventServiceConfig.grpc_service:type_name -> envoy.api.v2.core.GrpcService 150 1, // [1:1] is the sub-list for method output_type 151 1, // [1:1] is the sub-list for method input_type 152 1, // [1:1] is the sub-list for extension type_name 153 1, // [1:1] is the sub-list for extension extendee 154 0, // [0:1] is the sub-list for field type_name 155 } 156 157 func init() { file_envoy_api_v2_core_event_service_config_proto_init() } 158 func file_envoy_api_v2_core_event_service_config_proto_init() { 159 if File_envoy_api_v2_core_event_service_config_proto != nil { 160 return 161 } 162 file_envoy_api_v2_core_grpc_service_proto_init() 163 if !protoimpl.UnsafeEnabled { 164 file_envoy_api_v2_core_event_service_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 165 switch v := v.(*EventServiceConfig); i { 166 case 0: 167 return &v.state 168 case 1: 169 return &v.sizeCache 170 case 2: 171 return &v.unknownFields 172 default: 173 return nil 174 } 175 } 176 } 177 file_envoy_api_v2_core_event_service_config_proto_msgTypes[0].OneofWrappers = []interface{}{ 178 (*EventServiceConfig_GrpcService)(nil), 179 } 180 type x struct{} 181 out := protoimpl.TypeBuilder{ 182 File: protoimpl.DescBuilder{ 183 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 184 RawDescriptor: file_envoy_api_v2_core_event_service_config_proto_rawDesc, 185 NumEnums: 0, 186 NumMessages: 1, 187 NumExtensions: 0, 188 NumServices: 0, 189 }, 190 GoTypes: file_envoy_api_v2_core_event_service_config_proto_goTypes, 191 DependencyIndexes: file_envoy_api_v2_core_event_service_config_proto_depIdxs, 192 MessageInfos: file_envoy_api_v2_core_event_service_config_proto_msgTypes, 193 }.Build() 194 File_envoy_api_v2_core_event_service_config_proto = out.File 195 file_envoy_api_v2_core_event_service_config_proto_rawDesc = nil 196 file_envoy_api_v2_core_event_service_config_proto_goTypes = nil 197 file_envoy_api_v2_core_event_service_config_proto_depIdxs = nil 198 }