empty.pb.go 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/protobuf/empty.proto
  3. package empty
  4. import (
  5. proto "github.com/golang/protobuf/proto"
  6. protoapi "github.com/golang/protobuf/protoapi"
  7. )
  8. // This is a compile-time assertion to ensure that this generated file
  9. // is compatible with the proto package it is being compiled against.
  10. // A compilation error at this line likely means your copy of the
  11. // proto package needs to be updated.
  12. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  13. // A generic empty message that you can re-use to avoid defining duplicated
  14. // empty messages in your APIs. A typical example is to use it as the request
  15. // or the response type of an API method. For instance:
  16. //
  17. // service Foo {
  18. // rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
  19. // }
  20. //
  21. // The JSON representation for `Empty` is empty JSON object `{}`.
  22. type Empty struct {
  23. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  24. XXX_unrecognized []byte `json:"-"`
  25. XXX_sizecache int32 `json:"-"`
  26. }
  27. func (m *Empty) Reset() { *m = Empty{} }
  28. func (m *Empty) String() string { return proto.CompactTextString(m) }
  29. func (*Empty) ProtoMessage() {}
  30. func (*Empty) Descriptor() ([]byte, []int) {
  31. return xxx_File_google_protobuf_empty_proto_rawdesc_gzipped, []int{0}
  32. }
  33. func (*Empty) XXX_WellKnownType() string { return "Empty" }
  34. func (m *Empty) XXX_Unmarshal(b []byte) error {
  35. return xxx_messageInfo_Empty.Unmarshal(m, b)
  36. }
  37. func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  38. return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
  39. }
  40. func (m *Empty) XXX_Merge(src proto.Message) {
  41. xxx_messageInfo_Empty.Merge(m, src)
  42. }
  43. func (m *Empty) XXX_Size() int {
  44. return xxx_messageInfo_Empty.Size(m)
  45. }
  46. func (m *Empty) XXX_DiscardUnknown() {
  47. xxx_messageInfo_Empty.DiscardUnknown(m)
  48. }
  49. var xxx_messageInfo_Empty proto.InternalMessageInfo
  50. func init() {
  51. proto.RegisterFile("google/protobuf/empty.proto", xxx_File_google_protobuf_empty_proto_rawdesc_gzipped)
  52. proto.RegisterType((*Empty)(nil), "google.protobuf.Empty")
  53. }
  54. var xxx_File_google_protobuf_empty_proto_rawdesc = []byte{
  55. // 183 bytes of the wire-encoded FileDescriptorProto
  56. 0x0a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  57. 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x67,
  58. 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22, 0x07,
  59. 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x76, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x67,
  60. 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x42, 0x0a,
  61. 0x45, 0x6d, 0x70, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x27, 0x67, 0x69,
  62. 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2f,
  63. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f,
  64. 0x65, 0x6d, 0x70, 0x74, 0x79, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x03, 0x47, 0x50, 0x42, 0xaa, 0x02,
  65. 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
  66. 0x2e, 0x57, 0x65, 0x6c, 0x6c, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x62,
  67. 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  68. }
  69. var xxx_File_google_protobuf_empty_proto_rawdesc_gzipped = protoapi.CompressGZIP(xxx_File_google_protobuf_empty_proto_rawdesc)