1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: envoy/admin/v2alpha/listeners.proto 3 4package envoy_admin_v2alpha 5 6import ( 7 fmt "fmt" 8 _ "github.com/cncf/udpa/go/udpa/annotations" 9 core "github.com/envoyproxy/go-control-plane/envoy/api/v2/core" 10 proto "github.com/golang/protobuf/proto" 11 math "math" 12) 13 14// Reference imports to suppress errors if they are not otherwise used. 15var _ = proto.Marshal 16var _ = fmt.Errorf 17var _ = math.Inf 18 19// This is a compile-time assertion to ensure that this generated file 20// is compatible with the proto package it is being compiled against. 21// A compilation error at this line likely means your copy of the 22// proto package needs to be updated. 23const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 24 25type Listeners struct { 26 ListenerStatuses []*ListenerStatus `protobuf:"bytes,1,rep,name=listener_statuses,json=listenerStatuses,proto3" json:"listener_statuses,omitempty"` 27 XXX_NoUnkeyedLiteral struct{} `json:"-"` 28 XXX_unrecognized []byte `json:"-"` 29 XXX_sizecache int32 `json:"-"` 30} 31 32func (m *Listeners) Reset() { *m = Listeners{} } 33func (m *Listeners) String() string { return proto.CompactTextString(m) } 34func (*Listeners) ProtoMessage() {} 35func (*Listeners) Descriptor() ([]byte, []int) { 36 return fileDescriptor_cd3cc5a2daffd3f5, []int{0} 37} 38 39func (m *Listeners) XXX_Unmarshal(b []byte) error { 40 return xxx_messageInfo_Listeners.Unmarshal(m, b) 41} 42func (m *Listeners) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 43 return xxx_messageInfo_Listeners.Marshal(b, m, deterministic) 44} 45func (m *Listeners) XXX_Merge(src proto.Message) { 46 xxx_messageInfo_Listeners.Merge(m, src) 47} 48func (m *Listeners) XXX_Size() int { 49 return xxx_messageInfo_Listeners.Size(m) 50} 51func (m *Listeners) XXX_DiscardUnknown() { 52 xxx_messageInfo_Listeners.DiscardUnknown(m) 53} 54 55var xxx_messageInfo_Listeners proto.InternalMessageInfo 56 57func (m *Listeners) GetListenerStatuses() []*ListenerStatus { 58 if m != nil { 59 return m.ListenerStatuses 60 } 61 return nil 62} 63 64type ListenerStatus struct { 65 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 66 LocalAddress *core.Address `protobuf:"bytes,2,opt,name=local_address,json=localAddress,proto3" json:"local_address,omitempty"` 67 XXX_NoUnkeyedLiteral struct{} `json:"-"` 68 XXX_unrecognized []byte `json:"-"` 69 XXX_sizecache int32 `json:"-"` 70} 71 72func (m *ListenerStatus) Reset() { *m = ListenerStatus{} } 73func (m *ListenerStatus) String() string { return proto.CompactTextString(m) } 74func (*ListenerStatus) ProtoMessage() {} 75func (*ListenerStatus) Descriptor() ([]byte, []int) { 76 return fileDescriptor_cd3cc5a2daffd3f5, []int{1} 77} 78 79func (m *ListenerStatus) XXX_Unmarshal(b []byte) error { 80 return xxx_messageInfo_ListenerStatus.Unmarshal(m, b) 81} 82func (m *ListenerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 83 return xxx_messageInfo_ListenerStatus.Marshal(b, m, deterministic) 84} 85func (m *ListenerStatus) XXX_Merge(src proto.Message) { 86 xxx_messageInfo_ListenerStatus.Merge(m, src) 87} 88func (m *ListenerStatus) XXX_Size() int { 89 return xxx_messageInfo_ListenerStatus.Size(m) 90} 91func (m *ListenerStatus) XXX_DiscardUnknown() { 92 xxx_messageInfo_ListenerStatus.DiscardUnknown(m) 93} 94 95var xxx_messageInfo_ListenerStatus proto.InternalMessageInfo 96 97func (m *ListenerStatus) GetName() string { 98 if m != nil { 99 return m.Name 100 } 101 return "" 102} 103 104func (m *ListenerStatus) GetLocalAddress() *core.Address { 105 if m != nil { 106 return m.LocalAddress 107 } 108 return nil 109} 110 111func init() { 112 proto.RegisterType((*Listeners)(nil), "envoy.admin.v2alpha.Listeners") 113 proto.RegisterType((*ListenerStatus)(nil), "envoy.admin.v2alpha.ListenerStatus") 114} 115 116func init() { 117 proto.RegisterFile("envoy/admin/v2alpha/listeners.proto", fileDescriptor_cd3cc5a2daffd3f5) 118} 119 120var fileDescriptor_cd3cc5a2daffd3f5 = []byte{ 121 // 259 bytes of a gzipped FileDescriptorProto 122 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0xc1, 0x4a, 0x03, 0x31, 123 0x10, 0x86, 0x49, 0x95, 0x42, 0x53, 0x95, 0x1a, 0x2f, 0x65, 0x41, 0x5c, 0xdb, 0xcb, 0x9e, 0x12, 124 0x88, 0x67, 0x11, 0x7b, 0xf6, 0xb0, 0xac, 0x67, 0x29, 0x63, 0x37, 0x60, 0x20, 0xcd, 0x84, 0x24, 125 0x5d, 0xec, 0xcd, 0xe7, 0xf2, 0x09, 0xbc, 0xfa, 0x46, 0xd2, 0x6c, 0x56, 0x28, 0xf4, 0x96, 0x21, 126 0xdf, 0xc7, 0xff, 0xcf, 0xd0, 0xa5, 0xb2, 0x1d, 0xee, 0x05, 0xb4, 0x5b, 0x6d, 0x45, 0x27, 0xc1, 127 0xb8, 0x0f, 0x10, 0x46, 0x87, 0xa8, 0xac, 0xf2, 0x81, 0x3b, 0x8f, 0x11, 0xd9, 0x4d, 0x82, 0x78, 128 0x82, 0x78, 0x86, 0x8a, 0xbb, 0x6c, 0x3a, 0x2d, 0x3a, 0x29, 0x36, 0xe8, 0x95, 0x80, 0xb6, 0xf5, 129 0x2a, 0x64, 0xab, 0xb8, 0xdd, 0xb5, 0x0e, 0x04, 0x58, 0x8b, 0x11, 0xa2, 0x46, 0x1b, 0x44, 0x88, 130 0x10, 0x77, 0xf9, 0x7b, 0xf1, 0x46, 0x27, 0x2f, 0x43, 0x0e, 0xab, 0xe9, 0xf5, 0x10, 0xba, 0xee, 131 0x29, 0x15, 0xe6, 0xa4, 0x3c, 0xab, 0xa6, 0x72, 0xc9, 0x4f, 0xa4, 0xf3, 0x41, 0x7d, 0x4d, 0x70, 132 0x33, 0x33, 0x47, 0xb3, 0x0a, 0x0b, 0x45, 0xaf, 0x8e, 0x19, 0xc6, 0xe8, 0xb9, 0x85, 0xad, 0x9a, 133 0x93, 0x92, 0x54, 0x93, 0x26, 0xbd, 0xd9, 0x13, 0xbd, 0x34, 0xb8, 0x01, 0xb3, 0xce, 0xd5, 0xe7, 134 0xa3, 0x92, 0x54, 0x53, 0x59, 0x0c, 0x99, 0x4e, 0xf3, 0x4e, 0xf2, 0xc3, 0x72, 0xfc, 0xb9, 0x27, 135 0x9a, 0x8b, 0x24, 0xe4, 0x69, 0xf5, 0xf8, 0xfd, 0xf5, 0xf3, 0x3b, 0x1e, 0xcd, 0x08, 0xbd, 0xd7, 136 0xd8, 0x5b, 0xce, 0xe3, 0xe7, 0xfe, 0x54, 0xe9, 0xd5, 0x7f, 0xa3, 0x50, 0x1f, 0x4e, 0x50, 0x93, 137 0xf7, 0x71, 0xba, 0xc5, 0xc3, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa1, 0x8e, 0xf4, 0x35, 0x87, 138 0x01, 0x00, 0x00, 139} 140