| 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // source: github.com/containerd/protobuild/examples/nogrpc/nogrpc.proto |
| 3 | |
| 4 | package nogrpc |
| 5 | |
| 6 | import ( |
| 7 | fmt "fmt" |
| 8 | proto "github.com/golang/protobuf/proto" |
| 9 | timestamp "github.com/golang/protobuf/ptypes/timestamp" |
| 10 | math "math" |
| 11 | ) |
| 12 | |
| 13 | // Reference imports to suppress errors if they are not otherwise used. |
| 14 | var _ = proto.Marshal |
| 15 | var _ = fmt.Errorf |
| 16 | var _ = math.Inf |
| 17 | |
| 18 | // This is a compile-time assertion to ensure that this generated file |
| 19 | // is compatible with the proto package it is being compiled against. |
| 20 | // A compilation error at this line likely means your copy of the |
| 21 | // proto package needs to be updated. |
| 22 | const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| 23 | |
| 24 | type Thing struct { |
| 25 | Timestamp *timestamp.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` |
| 26 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 27 | XXX_unrecognized []byte `json:"-"` |
| 28 | XXX_sizecache int32 `json:"-"` |
| 29 | } |
| 30 | |
| 31 | func (m *Thing) Reset() { *m = Thing{} } |
| 32 | func (m *Thing) String() string { return proto.CompactTextString(m) } |
| 33 | func (*Thing) ProtoMessage() {} |
| 34 | func (*Thing) Descriptor() ([]byte, []int) { |
| 35 | return fileDescriptor_cb990b4b37c93d36, []int{0} |
| 36 | } |
| 37 | |
| 38 | func (m *Thing) XXX_Unmarshal(b []byte) error { |
| 39 | return xxx_messageInfo_Thing.Unmarshal(m, b) |
| 40 | } |
| 41 | func (m *Thing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 42 | return xxx_messageInfo_Thing.Marshal(b, m, deterministic) |
| 43 | } |
| 44 | func (m *Thing) XXX_Merge(src proto.Message) { |
| 45 | xxx_messageInfo_Thing.Merge(m, src) |
| 46 | } |
| 47 | func (m *Thing) XXX_Size() int { |
| 48 | return xxx_messageInfo_Thing.Size(m) |
| 49 | } |
| 50 | func (m *Thing) XXX_DiscardUnknown() { |
| 51 | xxx_messageInfo_Thing.DiscardUnknown(m) |
| 52 | } |
| 53 | |
| 54 | var xxx_messageInfo_Thing proto.InternalMessageInfo |
| 55 | |
| 56 | func (m *Thing) GetTimestamp() *timestamp.Timestamp { |
| 57 | if m != nil { |
| 58 | return m.Timestamp |
| 59 | } |
| 60 | return nil |
| 61 | } |
| 62 | |
| 63 | func init() { |
| 64 | proto.RegisterType((*Thing)(nil), "protobuild.example.nogrpc.Thing") |
| 65 | } |
| 66 | |
| 67 | func init() { |
| 68 | proto.RegisterFile("github.com/containerd/protobuild/examples/nogrpc/nogrpc.proto", fileDescriptor_cb990b4b37c93d36) |
| 69 | } |
| 70 | |
| 71 | var fileDescriptor_cb990b4b37c93d36 = []byte{ |
| 72 | // 162 bytes of a gzipped FileDescriptorProto |
| 73 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x4d, 0xcf, 0x2c, 0xc9, |
| 74 | 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xce, 0xcf, 0x2b, 0x49, 0xcc, 0xcc, 0x4b, 0x2d, |
| 75 | 0x4a, 0xd1, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0xcd, 0xcc, 0x49, 0xd1, 0x4f, 0xad, 0x48, |
| 76 | 0xcc, 0x2d, 0xc8, 0x49, 0x2d, 0xd6, 0xcf, 0xcb, 0x4f, 0x2f, 0x2a, 0x48, 0x86, 0x52, 0x7a, 0x60, |
| 77 | 0x15, 0x42, 0x92, 0x08, 0x85, 0x7a, 0x50, 0x85, 0x7a, 0x10, 0x05, 0x52, 0xf2, 0xe9, 0xf9, 0xf9, |
| 78 | 0xe9, 0x39, 0xa9, 0x30, 0xa3, 0xd2, 0xf4, 0x4b, 0x32, 0x73, 0x53, 0x8b, 0x4b, 0x12, 0x73, 0x0b, |
| 79 | 0x20, 0x7a, 0x95, 0x1c, 0xb9, 0x58, 0x43, 0x32, 0x32, 0xf3, 0xd2, 0x85, 0x2c, 0xb8, 0x38, 0xe1, |
| 80 | 0x72, 0x12, 0xcc, 0x0a, 0x8c, 0x1a, 0xdc, 0x46, 0x52, 0x7a, 0x10, 0xdd, 0x7a, 0x30, 0xdd, 0x7a, |
| 81 | 0x21, 0x30, 0x15, 0x41, 0x08, 0xc5, 0x4e, 0x56, 0x51, 0x16, 0x24, 0xbb, 0xdf, 0x1a, 0x42, 0x27, |
| 82 | 0xb1, 0x81, 0xd5, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xfa, 0x5e, 0xce, 0x08, 0x02, 0x01, |
| 83 | 0x00, 0x00, |
| 84 | } |