github.com/aergoio/aergo@v1.3.1/types/node.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: node.proto
     3  
     4  package types
     5  
     6  import proto "github.com/golang/protobuf/proto"
     7  import fmt "fmt"
     8  import math "math"
     9  
    10  // Reference imports to suppress errors if they are not otherwise used.
    11  var _ = proto.Marshal
    12  var _ = fmt.Errorf
    13  var _ = math.Inf
    14  
    15  // This is a compile-time assertion to ensure that this generated file
    16  // is compatible with the proto package it is being compiled against.
    17  // A compilation error at this line likely means your copy of the
    18  // proto package needs to be updated.
    19  const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
    20  
    21  type PeerAddress struct {
    22  	// address is string representation of ip address or domain name.
    23  	Address              string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
    24  	Port                 uint32   `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
    25  	PeerID               []byte   `protobuf:"bytes,3,opt,name=peerID,proto3" json:"peerID,omitempty"`
    26  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
    27  	XXX_unrecognized     []byte   `json:"-"`
    28  	XXX_sizecache        int32    `json:"-"`
    29  }
    30  
    31  func (m *PeerAddress) Reset()         { *m = PeerAddress{} }
    32  func (m *PeerAddress) String() string { return proto.CompactTextString(m) }
    33  func (*PeerAddress) ProtoMessage()    {}
    34  func (*PeerAddress) Descriptor() ([]byte, []int) {
    35  	return fileDescriptor_0c843d59d2d938e7, []int{0}
    36  }
    37  func (m *PeerAddress) XXX_Unmarshal(b []byte) error {
    38  	return xxx_messageInfo_PeerAddress.Unmarshal(m, b)
    39  }
    40  func (m *PeerAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    41  	return xxx_messageInfo_PeerAddress.Marshal(b, m, deterministic)
    42  }
    43  func (m *PeerAddress) XXX_Merge(src proto.Message) {
    44  	xxx_messageInfo_PeerAddress.Merge(m, src)
    45  }
    46  func (m *PeerAddress) XXX_Size() int {
    47  	return xxx_messageInfo_PeerAddress.Size(m)
    48  }
    49  func (m *PeerAddress) XXX_DiscardUnknown() {
    50  	xxx_messageInfo_PeerAddress.DiscardUnknown(m)
    51  }
    52  
    53  var xxx_messageInfo_PeerAddress proto.InternalMessageInfo
    54  
    55  func (m *PeerAddress) GetAddress() string {
    56  	if m != nil {
    57  		return m.Address
    58  	}
    59  	return ""
    60  }
    61  
    62  func (m *PeerAddress) GetPort() uint32 {
    63  	if m != nil {
    64  		return m.Port
    65  	}
    66  	return 0
    67  }
    68  
    69  func (m *PeerAddress) GetPeerID() []byte {
    70  	if m != nil {
    71  		return m.PeerID
    72  	}
    73  	return nil
    74  }
    75  
    76  func init() {
    77  	proto.RegisterType((*PeerAddress)(nil), "types.PeerAddress")
    78  }
    79  
    80  func init() { proto.RegisterFile("node.proto", fileDescriptor_0c843d59d2d938e7) }
    81  
    82  var fileDescriptor_0c843d59d2d938e7 = []byte{
    83  	// 114 bytes of a gzipped FileDescriptorProto
    84  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0xca, 0xcb, 0x4f, 0x49,
    85  	0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x2d, 0xa9, 0x2c, 0x48, 0x2d, 0x56, 0x0a, 0xe6,
    86  	0xe2, 0x0e, 0x48, 0x4d, 0x2d, 0x72, 0x4c, 0x49, 0x29, 0x4a, 0x2d, 0x2e, 0x16, 0x92, 0xe0, 0x62,
    87  	0x4f, 0x84, 0x30, 0x25, 0x18, 0x15, 0x18, 0x35, 0x38, 0x83, 0x60, 0x5c, 0x21, 0x21, 0x2e, 0x96,
    88  	0x82, 0xfc, 0xa2, 0x12, 0x09, 0x26, 0x05, 0x46, 0x0d, 0xde, 0x20, 0x30, 0x5b, 0x48, 0x8c, 0x8b,
    89  	0xad, 0x20, 0x35, 0xb5, 0xc8, 0xd3, 0x45, 0x82, 0x59, 0x81, 0x51, 0x83, 0x27, 0x08, 0xca, 0x4b,
    90  	0x62, 0x03, 0x5b, 0x61, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x1c, 0x60, 0x84, 0x32, 0x70, 0x00,
    91  	0x00, 0x00,
    92  }