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/filter/network/kafka_broker/v2alpha1/kafka_broker.proto 6 7package envoy_config_filter_network_kafka_broker_v2alpha1 8 9import ( 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 19const ( 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. 28const _ = proto.ProtoPackageIsVersion4 29 30type KafkaBroker struct { 31 state protoimpl.MessageState 32 sizeCache protoimpl.SizeCache 33 unknownFields protoimpl.UnknownFields 34 35 // The prefix to use when emitting :ref:`statistics <config_network_filters_kafka_broker_stats>`. 36 StatPrefix string `protobuf:"bytes,1,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"` 37} 38 39func (x *KafkaBroker) Reset() { 40 *x = KafkaBroker{} 41 if protoimpl.UnsafeEnabled { 42 mi := &file_envoy_config_filter_network_kafka_broker_v2alpha1_kafka_broker_proto_msgTypes[0] 43 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 44 ms.StoreMessageInfo(mi) 45 } 46} 47 48func (x *KafkaBroker) String() string { 49 return protoimpl.X.MessageStringOf(x) 50} 51 52func (*KafkaBroker) ProtoMessage() {} 53 54func (x *KafkaBroker) ProtoReflect() protoreflect.Message { 55 mi := &file_envoy_config_filter_network_kafka_broker_v2alpha1_kafka_broker_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 KafkaBroker.ProtoReflect.Descriptor instead. 67func (*KafkaBroker) Descriptor() ([]byte, []int) { 68 return file_envoy_config_filter_network_kafka_broker_v2alpha1_kafka_broker_proto_rawDescGZIP(), []int{0} 69} 70 71func (x *KafkaBroker) GetStatPrefix() string { 72 if x != nil { 73 return x.StatPrefix 74 } 75 return "" 76} 77 78var File_envoy_config_filter_network_kafka_broker_v2alpha1_kafka_broker_proto protoreflect.FileDescriptor 79 80var file_envoy_config_filter_network_kafka_broker_v2alpha1_kafka_broker_proto_rawDesc = []byte{ 81 0x0a, 0x44, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x66, 82 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x6b, 0x61, 83 0x66, 0x6b, 0x61, 0x5f, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 84 0x68, 0x61, 0x31, 0x2f, 0x6b, 0x61, 0x66, 0x6b, 0x61, 0x5f, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 85 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x31, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 86 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x6e, 0x65, 0x74, 0x77, 87 0x6f, 0x72, 0x6b, 0x2e, 0x6b, 0x61, 0x66, 0x6b, 0x61, 0x5f, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 88 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x1e, 0x75, 0x64, 0x70, 0x61, 0x2f, 89 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x69, 0x67, 0x72, 90 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 91 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 92 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 93 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 94 0x6f, 0x22, 0x37, 0x0a, 0x0b, 0x4b, 0x61, 0x66, 0x6b, 0x61, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 95 0x12, 0x28, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 96 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x52, 0x0a, 97 0x73, 0x74, 0x61, 0x74, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x42, 0x95, 0x01, 0x0a, 0x3f, 0x69, 98 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 99 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 100 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x6b, 0x61, 0x66, 0x6b, 0x61, 0x5f, 0x62, 101 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x10, 102 0x4b, 0x61, 0x66, 0x6b, 0x61, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 103 0x50, 0x01, 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x32, 0x12, 0x30, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 104 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x66, 0x69, 0x6c, 0x74, 0x65, 105 0x72, 0x73, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x6b, 0x61, 0x66, 0x6b, 0x61, 106 0x5f, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x2e, 0x76, 0x33, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 107 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 108} 109 110var ( 111 file_envoy_config_filter_network_kafka_broker_v2alpha1_kafka_broker_proto_rawDescOnce sync.Once 112 file_envoy_config_filter_network_kafka_broker_v2alpha1_kafka_broker_proto_rawDescData = file_envoy_config_filter_network_kafka_broker_v2alpha1_kafka_broker_proto_rawDesc 113) 114 115func file_envoy_config_filter_network_kafka_broker_v2alpha1_kafka_broker_proto_rawDescGZIP() []byte { 116 file_envoy_config_filter_network_kafka_broker_v2alpha1_kafka_broker_proto_rawDescOnce.Do(func() { 117 file_envoy_config_filter_network_kafka_broker_v2alpha1_kafka_broker_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_filter_network_kafka_broker_v2alpha1_kafka_broker_proto_rawDescData) 118 }) 119 return file_envoy_config_filter_network_kafka_broker_v2alpha1_kafka_broker_proto_rawDescData 120} 121 122var file_envoy_config_filter_network_kafka_broker_v2alpha1_kafka_broker_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 123var file_envoy_config_filter_network_kafka_broker_v2alpha1_kafka_broker_proto_goTypes = []interface{}{ 124 (*KafkaBroker)(nil), // 0: envoy.config.filter.network.kafka_broker.v2alpha1.KafkaBroker 125} 126var file_envoy_config_filter_network_kafka_broker_v2alpha1_kafka_broker_proto_depIdxs = []int32{ 127 0, // [0:0] is the sub-list for method output_type 128 0, // [0:0] is the sub-list for method input_type 129 0, // [0:0] is the sub-list for extension type_name 130 0, // [0:0] is the sub-list for extension extendee 131 0, // [0:0] is the sub-list for field type_name 132} 133 134func init() { file_envoy_config_filter_network_kafka_broker_v2alpha1_kafka_broker_proto_init() } 135func file_envoy_config_filter_network_kafka_broker_v2alpha1_kafka_broker_proto_init() { 136 if File_envoy_config_filter_network_kafka_broker_v2alpha1_kafka_broker_proto != nil { 137 return 138 } 139 if !protoimpl.UnsafeEnabled { 140 file_envoy_config_filter_network_kafka_broker_v2alpha1_kafka_broker_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 141 switch v := v.(*KafkaBroker); i { 142 case 0: 143 return &v.state 144 case 1: 145 return &v.sizeCache 146 case 2: 147 return &v.unknownFields 148 default: 149 return nil 150 } 151 } 152 } 153 type x struct{} 154 out := protoimpl.TypeBuilder{ 155 File: protoimpl.DescBuilder{ 156 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 157 RawDescriptor: file_envoy_config_filter_network_kafka_broker_v2alpha1_kafka_broker_proto_rawDesc, 158 NumEnums: 0, 159 NumMessages: 1, 160 NumExtensions: 0, 161 NumServices: 0, 162 }, 163 GoTypes: file_envoy_config_filter_network_kafka_broker_v2alpha1_kafka_broker_proto_goTypes, 164 DependencyIndexes: file_envoy_config_filter_network_kafka_broker_v2alpha1_kafka_broker_proto_depIdxs, 165 MessageInfos: file_envoy_config_filter_network_kafka_broker_v2alpha1_kafka_broker_proto_msgTypes, 166 }.Build() 167 File_envoy_config_filter_network_kafka_broker_v2alpha1_kafka_broker_proto = out.File 168 file_envoy_config_filter_network_kafka_broker_v2alpha1_kafka_broker_proto_rawDesc = nil 169 file_envoy_config_filter_network_kafka_broker_v2alpha1_kafka_broker_proto_goTypes = nil 170 file_envoy_config_filter_network_kafka_broker_v2alpha1_kafka_broker_proto_depIdxs = nil 171} 172