test_import_a1m1.pb.go 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: imports/test_import_a1m1.proto
  3. package imports
  4. import (
  5. fmt "fmt"
  6. proto "github.com/golang/protobuf/proto"
  7. test_a_1 "github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_1"
  8. 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. // This is a compile-time assertion to ensure that this generated file
  15. // is compatible with the proto package it is being compiled against.
  16. // A compilation error at this line likely means your copy of the
  17. // proto package needs to be updated.
  18. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  19. type A1M1 struct {
  20. F *test_a_1.M1 `protobuf:"bytes,1,opt,name=f,proto3" json:"f,omitempty"`
  21. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  22. XXX_unrecognized []byte `json:"-"`
  23. XXX_sizecache int32 `json:"-"`
  24. }
  25. func (m *A1M1) Reset() { *m = A1M1{} }
  26. func (m *A1M1) String() string { return proto.CompactTextString(m) }
  27. func (*A1M1) ProtoMessage() {}
  28. func (*A1M1) Descriptor() ([]byte, []int) {
  29. return fileDescriptor_3b904a47327455f3, []int{0}
  30. }
  31. func (m *A1M1) XXX_Unmarshal(b []byte) error {
  32. return xxx_messageInfo_A1M1.Unmarshal(m, b)
  33. }
  34. func (m *A1M1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  35. return xxx_messageInfo_A1M1.Marshal(b, m, deterministic)
  36. }
  37. func (m *A1M1) XXX_Merge(src proto.Message) {
  38. xxx_messageInfo_A1M1.Merge(m, src)
  39. }
  40. func (m *A1M1) XXX_Size() int {
  41. return xxx_messageInfo_A1M1.Size(m)
  42. }
  43. func (m *A1M1) XXX_DiscardUnknown() {
  44. xxx_messageInfo_A1M1.DiscardUnknown(m)
  45. }
  46. var xxx_messageInfo_A1M1 proto.InternalMessageInfo
  47. func (m *A1M1) GetF() *test_a_1.M1 {
  48. if m != nil {
  49. return m.F
  50. }
  51. return nil
  52. }
  53. func init() {
  54. proto.RegisterType((*A1M1)(nil), "test.A1M1")
  55. }
  56. func init() { proto.RegisterFile("imports/test_import_a1m1.proto", fileDescriptor_3b904a47327455f3) }
  57. var fileDescriptor_3b904a47327455f3 = []byte{
  58. // 149 bytes of a gzipped FileDescriptorProto
  59. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xcb, 0xcc, 0x2d, 0xc8,
  60. 0x2f, 0x2a, 0x29, 0xd6, 0x2f, 0x49, 0x2d, 0x2e, 0x89, 0x87, 0x70, 0xe2, 0x13, 0x0d, 0x73, 0x0d,
  61. 0xf5, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0x58, 0x40, 0xe2, 0x52, 0x92, 0x28, 0xaa, 0x12, 0xe3,
  62. 0x0d, 0xf5, 0x61, 0x0a, 0x94, 0x14, 0xb8, 0x58, 0x1c, 0x0d, 0x7d, 0x0d, 0x85, 0x24, 0xb8, 0x18,
  63. 0xd3, 0x24, 0x18, 0x15, 0x18, 0x35, 0xb8, 0x8d, 0xb8, 0xf4, 0x40, 0xca, 0xf4, 0x12, 0xf5, 0x7c,
  64. 0x0d, 0x83, 0x18, 0xd3, 0x9c, 0xac, 0xa3, 0x2c, 0xd3, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92,
  65. 0xf3, 0x73, 0xf5, 0xd3, 0xf3, 0x73, 0x12, 0xf3, 0xd2, 0xf5, 0xc1, 0x9a, 0x93, 0x4a, 0xd3, 0x20,
  66. 0x8c, 0x64, 0xdd, 0xf4, 0xd4, 0x3c, 0xdd, 0xf4, 0x7c, 0xb0, 0xf9, 0x29, 0x89, 0x25, 0x89, 0xfa,
  67. 0x50, 0x0b, 0x93, 0xd8, 0xc0, 0xf2, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x84, 0x2f, 0x18,
  68. 0x23, 0xa8, 0x00, 0x00, 0x00,
  69. }