github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/admin/v3/listeners.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/admin/v3/listeners.proto 6 7 package envoy_admin_v3 8 9 import ( 10 _ "github.com/cncf/xds/go/udpa/annotations" 11 v3 "github.com/hxx258456/ccgo/go-control-plane/envoy/config/core/v3" 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 // Admin endpoint uses this wrapper for `/listeners` to display listener status information. 31 // See :ref:`/listeners <operations_admin_interface_listeners>` for more information. 32 type Listeners struct { 33 state protoimpl.MessageState 34 sizeCache protoimpl.SizeCache 35 unknownFields protoimpl.UnknownFields 36 37 // List of listener statuses. 38 ListenerStatuses []*ListenerStatus `protobuf:"bytes,1,rep,name=listener_statuses,json=listenerStatuses,proto3" json:"listener_statuses,omitempty"` 39 } 40 41 func (x *Listeners) Reset() { 42 *x = Listeners{} 43 if protoimpl.UnsafeEnabled { 44 mi := &file_envoy_admin_v3_listeners_proto_msgTypes[0] 45 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 46 ms.StoreMessageInfo(mi) 47 } 48 } 49 50 func (x *Listeners) String() string { 51 return protoimpl.X.MessageStringOf(x) 52 } 53 54 func (*Listeners) ProtoMessage() {} 55 56 func (x *Listeners) ProtoReflect() protoreflect.Message { 57 mi := &file_envoy_admin_v3_listeners_proto_msgTypes[0] 58 if protoimpl.UnsafeEnabled && x != nil { 59 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 60 if ms.LoadMessageInfo() == nil { 61 ms.StoreMessageInfo(mi) 62 } 63 return ms 64 } 65 return mi.MessageOf(x) 66 } 67 68 // Deprecated: Use Listeners.ProtoReflect.Descriptor instead. 69 func (*Listeners) Descriptor() ([]byte, []int) { 70 return file_envoy_admin_v3_listeners_proto_rawDescGZIP(), []int{0} 71 } 72 73 func (x *Listeners) GetListenerStatuses() []*ListenerStatus { 74 if x != nil { 75 return x.ListenerStatuses 76 } 77 return nil 78 } 79 80 // Details an individual listener's current status. 81 type ListenerStatus struct { 82 state protoimpl.MessageState 83 sizeCache protoimpl.SizeCache 84 unknownFields protoimpl.UnknownFields 85 86 // Name of the listener 87 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 88 // The actual local address that the listener is listening on. If a listener was configured 89 // to listen on port 0, then this address has the port that was allocated by the OS. 90 LocalAddress *v3.Address `protobuf:"bytes,2,opt,name=local_address,json=localAddress,proto3" json:"local_address,omitempty"` 91 } 92 93 func (x *ListenerStatus) Reset() { 94 *x = ListenerStatus{} 95 if protoimpl.UnsafeEnabled { 96 mi := &file_envoy_admin_v3_listeners_proto_msgTypes[1] 97 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 98 ms.StoreMessageInfo(mi) 99 } 100 } 101 102 func (x *ListenerStatus) String() string { 103 return protoimpl.X.MessageStringOf(x) 104 } 105 106 func (*ListenerStatus) ProtoMessage() {} 107 108 func (x *ListenerStatus) ProtoReflect() protoreflect.Message { 109 mi := &file_envoy_admin_v3_listeners_proto_msgTypes[1] 110 if protoimpl.UnsafeEnabled && x != nil { 111 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 112 if ms.LoadMessageInfo() == nil { 113 ms.StoreMessageInfo(mi) 114 } 115 return ms 116 } 117 return mi.MessageOf(x) 118 } 119 120 // Deprecated: Use ListenerStatus.ProtoReflect.Descriptor instead. 121 func (*ListenerStatus) Descriptor() ([]byte, []int) { 122 return file_envoy_admin_v3_listeners_proto_rawDescGZIP(), []int{1} 123 } 124 125 func (x *ListenerStatus) GetName() string { 126 if x != nil { 127 return x.Name 128 } 129 return "" 130 } 131 132 func (x *ListenerStatus) GetLocalAddress() *v3.Address { 133 if x != nil { 134 return x.LocalAddress 135 } 136 return nil 137 } 138 139 var File_envoy_admin_v3_listeners_proto protoreflect.FileDescriptor 140 141 var file_envoy_admin_v3_listeners_proto_rawDesc = []byte{ 142 0x0a, 0x1e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x33, 143 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 144 0x12, 0x0e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 145 0x1a, 0x22, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 146 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 147 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 148 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 149 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 150 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 151 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7e, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 152 0x65, 0x72, 0x73, 0x12, 0x4b, 0x0a, 0x11, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x5f, 153 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 154 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 155 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x10, 156 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 157 0x3a, 0x24, 0x9a, 0xc5, 0x88, 0x1e, 0x1f, 0x0a, 0x1d, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 158 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4c, 0x69, 0x73, 159 0x74, 0x65, 0x6e, 0x65, 0x72, 0x73, 0x22, 0x93, 0x01, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x65, 160 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 161 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x42, 0x0a, 162 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 163 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 164 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x64, 0x64, 0x72, 165 0x65, 0x73, 0x73, 0x52, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 166 0x73, 0x3a, 0x29, 0x9a, 0xc5, 0x88, 0x1e, 0x24, 0x0a, 0x22, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 167 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4c, 0x69, 168 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x38, 0x0a, 0x1c, 169 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 170 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x42, 0x0e, 0x4c, 0x69, 171 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 172 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 173 } 174 175 var ( 176 file_envoy_admin_v3_listeners_proto_rawDescOnce sync.Once 177 file_envoy_admin_v3_listeners_proto_rawDescData = file_envoy_admin_v3_listeners_proto_rawDesc 178 ) 179 180 func file_envoy_admin_v3_listeners_proto_rawDescGZIP() []byte { 181 file_envoy_admin_v3_listeners_proto_rawDescOnce.Do(func() { 182 file_envoy_admin_v3_listeners_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_admin_v3_listeners_proto_rawDescData) 183 }) 184 return file_envoy_admin_v3_listeners_proto_rawDescData 185 } 186 187 var file_envoy_admin_v3_listeners_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 188 var file_envoy_admin_v3_listeners_proto_goTypes = []interface{}{ 189 (*Listeners)(nil), // 0: envoy.admin.v3.Listeners 190 (*ListenerStatus)(nil), // 1: envoy.admin.v3.ListenerStatus 191 (*v3.Address)(nil), // 2: envoy.config.core.v3.Address 192 } 193 var file_envoy_admin_v3_listeners_proto_depIdxs = []int32{ 194 1, // 0: envoy.admin.v3.Listeners.listener_statuses:type_name -> envoy.admin.v3.ListenerStatus 195 2, // 1: envoy.admin.v3.ListenerStatus.local_address:type_name -> envoy.config.core.v3.Address 196 2, // [2:2] is the sub-list for method output_type 197 2, // [2:2] is the sub-list for method input_type 198 2, // [2:2] is the sub-list for extension type_name 199 2, // [2:2] is the sub-list for extension extendee 200 0, // [0:2] is the sub-list for field type_name 201 } 202 203 func init() { file_envoy_admin_v3_listeners_proto_init() } 204 func file_envoy_admin_v3_listeners_proto_init() { 205 if File_envoy_admin_v3_listeners_proto != nil { 206 return 207 } 208 if !protoimpl.UnsafeEnabled { 209 file_envoy_admin_v3_listeners_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 210 switch v := v.(*Listeners); i { 211 case 0: 212 return &v.state 213 case 1: 214 return &v.sizeCache 215 case 2: 216 return &v.unknownFields 217 default: 218 return nil 219 } 220 } 221 file_envoy_admin_v3_listeners_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 222 switch v := v.(*ListenerStatus); i { 223 case 0: 224 return &v.state 225 case 1: 226 return &v.sizeCache 227 case 2: 228 return &v.unknownFields 229 default: 230 return nil 231 } 232 } 233 } 234 type x struct{} 235 out := protoimpl.TypeBuilder{ 236 File: protoimpl.DescBuilder{ 237 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 238 RawDescriptor: file_envoy_admin_v3_listeners_proto_rawDesc, 239 NumEnums: 0, 240 NumMessages: 2, 241 NumExtensions: 0, 242 NumServices: 0, 243 }, 244 GoTypes: file_envoy_admin_v3_listeners_proto_goTypes, 245 DependencyIndexes: file_envoy_admin_v3_listeners_proto_depIdxs, 246 MessageInfos: file_envoy_admin_v3_listeners_proto_msgTypes, 247 }.Build() 248 File_envoy_admin_v3_listeners_proto = out.File 249 file_envoy_admin_v3_listeners_proto_rawDesc = nil 250 file_envoy_admin_v3_listeners_proto_goTypes = nil 251 file_envoy_admin_v3_listeners_proto_depIdxs = nil 252 }