pb.pb.go 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: pb.proto
  3. /*
  4. Package render is a generated protocol buffer package.
  5. It is generated from these files:
  6. pb.proto
  7. It has these top-level messages:
  8. PB
  9. */
  10. package render
  11. import proto "github.com/gogo/protobuf/proto"
  12. import fmt "fmt"
  13. import math "math"
  14. import google_protobuf "github.com/gogo/protobuf/types"
  15. // Reference imports to suppress errors if they are not otherwise used.
  16. var _ = proto.Marshal
  17. var _ = fmt.Errorf
  18. var _ = math.Inf
  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.
  23. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  24. type PB struct {
  25. Code int64 `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"`
  26. Message string `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"`
  27. TTL uint64 `protobuf:"varint,3,opt,name=TTL,proto3" json:"TTL,omitempty"`
  28. Data *google_protobuf.Any `protobuf:"bytes,4,opt,name=Data" json:"Data,omitempty"`
  29. }
  30. func (m *PB) Reset() { *m = PB{} }
  31. func (m *PB) String() string { return proto.CompactTextString(m) }
  32. func (*PB) ProtoMessage() {}
  33. func (*PB) Descriptor() ([]byte, []int) { return fileDescriptorPb, []int{0} }
  34. func (m *PB) GetCode() int64 {
  35. if m != nil {
  36. return m.Code
  37. }
  38. return 0
  39. }
  40. func (m *PB) GetMessage() string {
  41. if m != nil {
  42. return m.Message
  43. }
  44. return ""
  45. }
  46. func (m *PB) GetTTL() uint64 {
  47. if m != nil {
  48. return m.TTL
  49. }
  50. return 0
  51. }
  52. func (m *PB) GetData() *google_protobuf.Any {
  53. if m != nil {
  54. return m.Data
  55. }
  56. return nil
  57. }
  58. func init() {
  59. proto.RegisterType((*PB)(nil), "render.PB")
  60. }
  61. func init() { proto.RegisterFile("pb.proto", fileDescriptorPb) }
  62. var fileDescriptorPb = []byte{
  63. // 154 bytes of a gzipped FileDescriptorProto
  64. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x28, 0x48, 0xd2, 0x2b,
  65. 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x2b, 0x4a, 0xcd, 0x4b, 0x49, 0x2d, 0x92, 0x92, 0x4c, 0xcf,
  66. 0xcf, 0x4f, 0xcf, 0x49, 0xd5, 0x07, 0x8b, 0x26, 0x95, 0xa6, 0xe9, 0x27, 0xe6, 0x55, 0x42, 0x94,
  67. 0x28, 0xe5, 0x71, 0x31, 0x05, 0x38, 0x09, 0x09, 0x71, 0xb1, 0x38, 0xe7, 0xa7, 0xa4, 0x4a, 0x30,
  68. 0x2a, 0x30, 0x6a, 0x30, 0x07, 0x81, 0xd9, 0x42, 0x12, 0x5c, 0xec, 0xbe, 0xa9, 0xc5, 0xc5, 0x89,
  69. 0xe9, 0xa9, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0x9c, 0x41, 0x30, 0xae, 0x90, 0x00, 0x17, 0x73, 0x48,
  70. 0x88, 0x8f, 0x04, 0xb3, 0x02, 0xa3, 0x06, 0x4b, 0x10, 0x88, 0x29, 0xa4, 0xc1, 0xc5, 0xe2, 0x92,
  71. 0x58, 0x92, 0x28, 0xc1, 0xa2, 0xc0, 0xa8, 0xc1, 0x6d, 0x24, 0xa2, 0x07, 0xb1, 0x4f, 0x0f, 0x66,
  72. 0x9f, 0x9e, 0x63, 0x5e, 0x65, 0x10, 0x58, 0x45, 0x12, 0x1b, 0x58, 0xcc, 0x18, 0x10, 0x00, 0x00,
  73. 0xff, 0xff, 0x7a, 0x92, 0x16, 0x71, 0xa5, 0x00, 0x00, 0x00,
  74. }