github.com/hoveychen/protoreflect@v1.4.7-0.20221103114119-0b4b3385ec76/internal/testprotos/nopkg/desc_test_nopkg_new.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: nopkg/desc_test_nopkg_new.proto
     3  
     4  package nopkg
     5  
     6  import (
     7  	fmt "fmt"
     8  	proto "github.com/golang/protobuf/proto"
     9  	math "math"
    10  )
    11  
    12  // Reference imports to suppress errors if they are not otherwise used.
    13  var _ = proto.Marshal
    14  var _ = fmt.Errorf
    15  var _ = math.Inf
    16  
    17  // This is a compile-time assertion to ensure that this generated file
    18  // is compatible with the proto package it is being compiled against.
    19  // A compilation error at this line likely means your copy of the
    20  // proto package needs to be updated.
    21  const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
    22  
    23  type TopLevel struct {
    24  	I                            *int32   `protobuf:"varint,1,opt,name=i" json:"i,omitempty"`
    25  	J                            *int64   `protobuf:"varint,2,opt,name=j" json:"j,omitempty"`
    26  	K                            *int32   `protobuf:"zigzag32,3,opt,name=k" json:"k,omitempty"`
    27  	L                            *int64   `protobuf:"zigzag64,4,opt,name=l" json:"l,omitempty"`
    28  	M                            *uint32  `protobuf:"varint,5,opt,name=m" json:"m,omitempty"`
    29  	N                            *uint64  `protobuf:"varint,6,opt,name=n" json:"n,omitempty"`
    30  	O                            *uint32  `protobuf:"fixed32,7,opt,name=o" json:"o,omitempty"`
    31  	P                            *uint64  `protobuf:"fixed64,8,opt,name=p" json:"p,omitempty"`
    32  	Q                            *int32   `protobuf:"fixed32,9,opt,name=q" json:"q,omitempty"`
    33  	R                            *int64   `protobuf:"fixed64,10,opt,name=r" json:"r,omitempty"`
    34  	S                            *float32 `protobuf:"fixed32,11,opt,name=s" json:"s,omitempty"`
    35  	T                            *float64 `protobuf:"fixed64,12,opt,name=t" json:"t,omitempty"`
    36  	U                            []byte   `protobuf:"bytes,13,opt,name=u" json:"u,omitempty"`
    37  	V                            *string  `protobuf:"bytes,14,opt,name=v" json:"v,omitempty"`
    38  	W                            *bool    `protobuf:"varint,15,opt,name=w" json:"w,omitempty"`
    39  	XXX_NoUnkeyedLiteral         struct{} `json:"-"`
    40  	proto.XXX_InternalExtensions `json:"-"`
    41  	XXX_unrecognized             []byte `json:"-"`
    42  	XXX_sizecache                int32  `json:"-"`
    43  }
    44  
    45  func (m *TopLevel) Reset()         { *m = TopLevel{} }
    46  func (m *TopLevel) String() string { return proto.CompactTextString(m) }
    47  func (*TopLevel) ProtoMessage()    {}
    48  func (*TopLevel) Descriptor() ([]byte, []int) {
    49  	return fileDescriptor_0558a3eafacd3584, []int{0}
    50  }
    51  
    52  var extRange_TopLevel = []proto.ExtensionRange{
    53  	{Start: 100, End: 1000},
    54  }
    55  
    56  func (*TopLevel) ExtensionRangeArray() []proto.ExtensionRange {
    57  	return extRange_TopLevel
    58  }
    59  
    60  func (m *TopLevel) XXX_Unmarshal(b []byte) error {
    61  	return xxx_messageInfo_TopLevel.Unmarshal(m, b)
    62  }
    63  func (m *TopLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    64  	return xxx_messageInfo_TopLevel.Marshal(b, m, deterministic)
    65  }
    66  func (m *TopLevel) XXX_Merge(src proto.Message) {
    67  	xxx_messageInfo_TopLevel.Merge(m, src)
    68  }
    69  func (m *TopLevel) XXX_Size() int {
    70  	return xxx_messageInfo_TopLevel.Size(m)
    71  }
    72  func (m *TopLevel) XXX_DiscardUnknown() {
    73  	xxx_messageInfo_TopLevel.DiscardUnknown(m)
    74  }
    75  
    76  var xxx_messageInfo_TopLevel proto.InternalMessageInfo
    77  
    78  func (m *TopLevel) GetI() int32 {
    79  	if m != nil && m.I != nil {
    80  		return *m.I
    81  	}
    82  	return 0
    83  }
    84  
    85  func (m *TopLevel) GetJ() int64 {
    86  	if m != nil && m.J != nil {
    87  		return *m.J
    88  	}
    89  	return 0
    90  }
    91  
    92  func (m *TopLevel) GetK() int32 {
    93  	if m != nil && m.K != nil {
    94  		return *m.K
    95  	}
    96  	return 0
    97  }
    98  
    99  func (m *TopLevel) GetL() int64 {
   100  	if m != nil && m.L != nil {
   101  		return *m.L
   102  	}
   103  	return 0
   104  }
   105  
   106  func (m *TopLevel) GetM() uint32 {
   107  	if m != nil && m.M != nil {
   108  		return *m.M
   109  	}
   110  	return 0
   111  }
   112  
   113  func (m *TopLevel) GetN() uint64 {
   114  	if m != nil && m.N != nil {
   115  		return *m.N
   116  	}
   117  	return 0
   118  }
   119  
   120  func (m *TopLevel) GetO() uint32 {
   121  	if m != nil && m.O != nil {
   122  		return *m.O
   123  	}
   124  	return 0
   125  }
   126  
   127  func (m *TopLevel) GetP() uint64 {
   128  	if m != nil && m.P != nil {
   129  		return *m.P
   130  	}
   131  	return 0
   132  }
   133  
   134  func (m *TopLevel) GetQ() int32 {
   135  	if m != nil && m.Q != nil {
   136  		return *m.Q
   137  	}
   138  	return 0
   139  }
   140  
   141  func (m *TopLevel) GetR() int64 {
   142  	if m != nil && m.R != nil {
   143  		return *m.R
   144  	}
   145  	return 0
   146  }
   147  
   148  func (m *TopLevel) GetS() float32 {
   149  	if m != nil && m.S != nil {
   150  		return *m.S
   151  	}
   152  	return 0
   153  }
   154  
   155  func (m *TopLevel) GetT() float64 {
   156  	if m != nil && m.T != nil {
   157  		return *m.T
   158  	}
   159  	return 0
   160  }
   161  
   162  func (m *TopLevel) GetU() []byte {
   163  	if m != nil {
   164  		return m.U
   165  	}
   166  	return nil
   167  }
   168  
   169  func (m *TopLevel) GetV() string {
   170  	if m != nil && m.V != nil {
   171  		return *m.V
   172  	}
   173  	return ""
   174  }
   175  
   176  func (m *TopLevel) GetW() bool {
   177  	if m != nil && m.W != nil {
   178  		return *m.W
   179  	}
   180  	return false
   181  }
   182  
   183  func init() {
   184  	proto.RegisterType((*TopLevel)(nil), "TopLevel")
   185  }
   186  
   187  func init() { proto.RegisterFile("nopkg/desc_test_nopkg_new.proto", fileDescriptor_0558a3eafacd3584) }
   188  
   189  var fileDescriptor_0558a3eafacd3584 = []byte{
   190  	// 261 bytes of a gzipped FileDescriptorProto
   191  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x1c, 0xd0, 0x3f, 0x6f, 0xf2, 0x40,
   192  	0x0c, 0xc7, 0x71, 0xfd, 0xf8, 0x1b, 0xf2, 0xc0, 0x03, 0x65, 0xf2, 0x56, 0xab, 0x93, 0xd5, 0x81,
   193  	0xbc, 0x80, 0xaa, 0xaa, 0xd4, 0xb9, 0x93, 0xd5, 0xa9, 0x0b, 0x6a, 0xe1, 0x0a, 0x81, 0x24, 0x77,
   194  	0x24, 0x17, 0x78, 0xc1, 0x9d, 0xfa, 0x2e, 0x2a, 0xdf, 0x62, 0xe9, 0x23, 0xcb, 0x83, 0xbf, 0xf9,
   195  	0x7d, 0xe3, 0xc3, 0xf9, 0x50, 0xec, 0x5d, 0xb7, 0xdb, 0x46, 0xd7, 0xc5, 0x6d, 0xf2, 0xb6, 0x71,
   196  	0xb7, 0x4d, 0x68, 0x7d, 0xf4, 0x0f, 0x3f, 0xc8, 0xb3, 0x77, 0x1f, 0xde, 0xdc, 0xd5, 0x55, 0xeb,
   197  	0x79, 0x8e, 0x92, 0xc0, 0x90, 0xb1, 0xa2, 0x34, 0x9d, 0x68, 0xc0, 0x90, 0xa1, 0xe2, 0x64, 0x3a,
   198  	0xd3, 0x90, 0x21, 0x77, 0x8a, 0xb3, 0xa9, 0xa2, 0x11, 0x43, 0xd6, 0x8a, 0x74, 0x57, 0xd3, 0x98,
   199  	0x21, 0x0b, 0x45, 0x6d, 0x6a, 0x68, 0xc2, 0x90, 0x91, 0xa2, 0x31, 0x79, 0x9a, 0x32, 0x64, 0xaa,
   200  	0xf0, 0xa6, 0x40, 0x19, 0x43, 0x26, 0x8a, 0x60, 0xba, 0xd0, 0x8c, 0x21, 0x4b, 0xc5, 0xc5, 0xd4,
   201  	0x52, 0xce, 0x90, 0x95, 0xa2, 0x35, 0x75, 0xf4, 0x8f, 0x21, 0x03, 0x45, 0x67, 0x8a, 0x34, 0x67,
   202  	0x08, 0x14, 0xd1, 0xd4, 0xd3, 0x82, 0x21, 0x73, 0x45, 0x6f, 0xba, 0xd2, 0x7f, 0x86, 0xcc, 0x14,
   203  	0x57, 0xd3, 0x8d, 0x96, 0x0c, 0xc9, 0x14, 0xb7, 0xc7, 0x71, 0xb6, 0x5f, 0xfd, 0x4e, 0x5f, 0x5f,
   204  	0x3e, 0x9e, 0x0f, 0x65, 0x3c, 0xf6, 0x5f, 0x9b, 0x9d, 0xaf, 0x8b, 0xd3, 0xb1, 0xaf, 0x43, 0x91,
   205  	0xfe, 0x6f, 0xdd, 0x77, 0xe5, 0x76, 0xb1, 0x28, 0x9b, 0xe8, 0xda, 0xe6, 0xb3, 0x2a, 0x2c, 0x52,
   206  	0xda, 0x74, 0x45, 0x4a, 0xf5, 0x94, 0xe6, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xea, 0xe1, 0xaa,
   207  	0x0c, 0x48, 0x01, 0x00, 0x00,
   208  }