task.pb.go 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: task.proto
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package v1
  5. import (
  6. fmt "fmt"
  7. proto "github.com/golang/protobuf/proto"
  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. // The request message containing the user's name.
  20. type HelloRequest struct {
  21. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name"`
  22. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  23. XXX_unrecognized []byte `json:"-"`
  24. XXX_sizecache int32 `json:"-"`
  25. }
  26. func (m *HelloRequest) Reset() { *m = HelloRequest{} }
  27. func (m *HelloRequest) String() string { return proto.CompactTextString(m) }
  28. func (*HelloRequest) ProtoMessage() {}
  29. func (*HelloRequest) Descriptor() ([]byte, []int) {
  30. return fileDescriptor_ce5d8dd45b4a91ff, []int{0}
  31. }
  32. func (m *HelloRequest) XXX_Unmarshal(b []byte) error {
  33. return xxx_messageInfo_HelloRequest.Unmarshal(m, b)
  34. }
  35. func (m *HelloRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  36. return xxx_messageInfo_HelloRequest.Marshal(b, m, deterministic)
  37. }
  38. func (m *HelloRequest) XXX_Merge(src proto.Message) {
  39. xxx_messageInfo_HelloRequest.Merge(m, src)
  40. }
  41. func (m *HelloRequest) XXX_Size() int {
  42. return xxx_messageInfo_HelloRequest.Size(m)
  43. }
  44. func (m *HelloRequest) XXX_DiscardUnknown() {
  45. xxx_messageInfo_HelloRequest.DiscardUnknown(m)
  46. }
  47. var xxx_messageInfo_HelloRequest proto.InternalMessageInfo
  48. func (m *HelloRequest) GetName() string {
  49. if m != nil {
  50. return m.Name
  51. }
  52. return ""
  53. }
  54. // The response message containing the greetings
  55. type HelloReply struct {
  56. Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message"`
  57. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  58. XXX_unrecognized []byte `json:"-"`
  59. XXX_sizecache int32 `json:"-"`
  60. }
  61. func (m *HelloReply) Reset() { *m = HelloReply{} }
  62. func (m *HelloReply) String() string { return proto.CompactTextString(m) }
  63. func (*HelloReply) ProtoMessage() {}
  64. func (*HelloReply) Descriptor() ([]byte, []int) {
  65. return fileDescriptor_ce5d8dd45b4a91ff, []int{1}
  66. }
  67. func (m *HelloReply) XXX_Unmarshal(b []byte) error {
  68. return xxx_messageInfo_HelloReply.Unmarshal(m, b)
  69. }
  70. func (m *HelloReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  71. return xxx_messageInfo_HelloReply.Marshal(b, m, deterministic)
  72. }
  73. func (m *HelloReply) XXX_Merge(src proto.Message) {
  74. xxx_messageInfo_HelloReply.Merge(m, src)
  75. }
  76. func (m *HelloReply) XXX_Size() int {
  77. return xxx_messageInfo_HelloReply.Size(m)
  78. }
  79. func (m *HelloReply) XXX_DiscardUnknown() {
  80. xxx_messageInfo_HelloReply.DiscardUnknown(m)
  81. }
  82. var xxx_messageInfo_HelloReply proto.InternalMessageInfo
  83. func (m *HelloReply) GetMessage() string {
  84. if m != nil {
  85. return m.Message
  86. }
  87. return ""
  88. }
  89. func init() {
  90. proto.RegisterType((*HelloRequest)(nil), "v1.HelloRequest")
  91. proto.RegisterType((*HelloReply)(nil), "v1.HelloReply")
  92. }
  93. func init() {
  94. proto.RegisterFile("task.proto", fileDescriptor_ce5d8dd45b4a91ff)
  95. }
  96. var fileDescriptor_ce5d8dd45b4a91ff = []byte{
  97. // 125 bytes of a gzipped FileDescriptorProto
  98. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2a, 0x49, 0x2c, 0xce,
  99. 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x2a, 0x33, 0x54, 0x52, 0xe2, 0xe2, 0xf1, 0x48,
  100. 0xcd, 0xc9, 0xc9, 0x0f, 0x4a, 0x2d, 0x2c, 0x4d, 0x2d, 0x2e, 0x11, 0x12, 0xe2, 0x62, 0xc9, 0x4b,
  101. 0xcc, 0x4d, 0x95, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x0c, 0x02, 0xb3, 0x95, 0xd4, 0xb8, 0xb8, 0xa0,
  102. 0x6a, 0x0a, 0x72, 0x2a, 0x85, 0x24, 0xb8, 0xd8, 0x73, 0x53, 0x8b, 0x8b, 0x13, 0xd3, 0x61, 0x8a,
  103. 0x60, 0x5c, 0x27, 0xb1, 0x28, 0x91, 0xc4, 0x94, 0x5c, 0xdd, 0xdc, 0xc4, 0xbc, 0xc4, 0xf4, 0xd4,
  104. 0xdc, 0xd4, 0xbc, 0x12, 0xfd, 0x82, 0x24, 0xfd, 0x32, 0xc3, 0x24, 0x36, 0xb0, 0x75, 0xc6, 0x80,
  105. 0x00, 0x00, 0x00, 0xff, 0xff, 0x86, 0x73, 0xcd, 0xd8, 0x7c, 0x00, 0x00, 0x00,
  106. }