empty.pb.go 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/protobuf/empty.proto
  3. package empty // import "github.com/golang/protobuf/ptypes/empty"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. // Reference imports to suppress errors if they are not otherwise used.
  8. var _ = proto.Marshal
  9. var _ = fmt.Errorf
  10. var _ = math.Inf
  11. // This is a compile-time assertion to ensure that this generated file
  12. // is compatible with the proto package it is being compiled against.
  13. // A compilation error at this line likely means your copy of the
  14. // proto package needs to be updated.
  15. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  16. // A generic empty message that you can re-use to avoid defining duplicated
  17. // empty messages in your APIs. A typical example is to use it as the request
  18. // or the response type of an API method. For instance:
  19. //
  20. // service Foo {
  21. // rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
  22. // }
  23. //
  24. // The JSON representation for `Empty` is empty JSON object `{}`.
  25. type Empty struct {
  26. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  27. XXX_unrecognized []byte `json:"-"`
  28. XXX_sizecache int32 `json:"-"`
  29. }
  30. func (m *Empty) Reset() { *m = Empty{} }
  31. func (m *Empty) String() string { return proto.CompactTextString(m) }
  32. func (*Empty) ProtoMessage() {}
  33. func (*Empty) Descriptor() ([]byte, []int) {
  34. return fileDescriptor_900544acb223d5b8, []int{0}
  35. }
  36. func (*Empty) XXX_WellKnownType() string { return "Empty" }
  37. func (m *Empty) XXX_Unmarshal(b []byte) error {
  38. return xxx_messageInfo_Empty.Unmarshal(m, b)
  39. }
  40. func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  41. return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
  42. }
  43. func (m *Empty) XXX_Merge(src proto.Message) {
  44. xxx_messageInfo_Empty.Merge(m, src)
  45. }
  46. func (m *Empty) XXX_Size() int {
  47. return xxx_messageInfo_Empty.Size(m)
  48. }
  49. func (m *Empty) XXX_DiscardUnknown() {
  50. xxx_messageInfo_Empty.DiscardUnknown(m)
  51. }
  52. var xxx_messageInfo_Empty proto.InternalMessageInfo
  53. func init() {
  54. proto.RegisterType((*Empty)(nil), "google.protobuf.Empty")
  55. }
  56. func init() { proto.RegisterFile("google/protobuf/empty.proto", fileDescriptor_900544acb223d5b8) }
  57. var fileDescriptor_900544acb223d5b8 = []byte{
  58. // 148 bytes of a gzipped FileDescriptorProto
  59. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4e, 0xcf, 0xcf, 0x4f,
  60. 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x4f, 0xcd, 0x2d, 0x28,
  61. 0xa9, 0xd4, 0x03, 0x73, 0x85, 0xf8, 0x21, 0x92, 0x7a, 0x30, 0x49, 0x25, 0x76, 0x2e, 0x56, 0x57,
  62. 0x90, 0xbc, 0x53, 0x19, 0x97, 0x70, 0x72, 0x7e, 0xae, 0x1e, 0x9a, 0xbc, 0x13, 0x17, 0x58, 0x36,
  63. 0x00, 0xc4, 0x0d, 0x60, 0x8c, 0x52, 0x4f, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf,
  64. 0xd5, 0x4f, 0xcf, 0xcf, 0x49, 0xcc, 0x4b, 0x47, 0x58, 0x53, 0x50, 0x52, 0x59, 0x90, 0x5a, 0x0c,
  65. 0xb1, 0xed, 0x07, 0x23, 0xe3, 0x22, 0x26, 0x66, 0xf7, 0x00, 0xa7, 0x55, 0x4c, 0x72, 0xee, 0x10,
  66. 0x13, 0x03, 0xa0, 0xea, 0xf4, 0xc2, 0x53, 0x73, 0x72, 0xbc, 0xf3, 0xf2, 0xcb, 0xf3, 0x42, 0x40,
  67. 0xea, 0x93, 0xd8, 0xc0, 0x06, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x64, 0xd4, 0xb3, 0xa6,
  68. 0xb7, 0x00, 0x00, 0x00,
  69. }