empty.pb.go 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/protobuf/empty.proto
  3. package known_proto
  4. import (
  5. protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect"
  6. protoregistry "github.com/golang/protobuf/v2/reflect/protoregistry"
  7. protoiface "github.com/golang/protobuf/v2/runtime/protoiface"
  8. protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl"
  9. sync "sync"
  10. )
  11. const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
  12. // A generic empty message that you can re-use to avoid defining duplicated
  13. // empty messages in your APIs. A typical example is to use it as the request
  14. // or the response type of an API method. For instance:
  15. //
  16. // service Foo {
  17. // rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
  18. // }
  19. //
  20. // The JSON representation for `Empty` is empty JSON object `{}`.
  21. type Empty struct {
  22. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  23. XXX_unrecognized protoimpl.UnknownFields `json:"-"`
  24. XXX_sizecache protoimpl.SizeCache `json:"-"`
  25. }
  26. func (x *Empty) Reset() {
  27. *x = Empty{}
  28. }
  29. func (x *Empty) String() string {
  30. return protoimpl.X.MessageStringOf(x)
  31. }
  32. func (*Empty) ProtoMessage() {}
  33. func (x *Empty) ProtoReflect() protoreflect.Message {
  34. return file_google_protobuf_empty_proto_msgTypes[0].MessageOf(x)
  35. }
  36. func (m *Empty) XXX_Methods() *protoiface.Methods {
  37. return file_google_protobuf_empty_proto_msgTypes[0].Methods()
  38. }
  39. // Deprecated: Use Empty.ProtoReflect.Type instead.
  40. func (*Empty) Descriptor() ([]byte, []int) {
  41. return file_google_protobuf_empty_proto_rawDescGZIP(), []int{0}
  42. }
  43. func (*Empty) XXX_WellKnownType() string { return "Empty" }
  44. var File_google_protobuf_empty_proto protoreflect.FileDescriptor
  45. var file_google_protobuf_empty_proto_rawDesc = []byte{
  46. 0x0a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  47. 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x67,
  48. 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22, 0x07,
  49. 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x84, 0x01, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e,
  50. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x42,
  51. 0x0a, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x67,
  52. 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67,
  53. 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x79, 0x70,
  54. 0x65, 0x73, 0x2f, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x3b, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x70,
  55. 0x72, 0x6f, 0x74, 0x6f, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x03, 0x47, 0x50, 0x42, 0xaa, 0x02, 0x1e,
  56. 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
  57. 0x57, 0x65, 0x6c, 0x6c, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x62, 0x06,
  58. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  59. }
  60. var (
  61. file_google_protobuf_empty_proto_rawDescOnce sync.Once
  62. file_google_protobuf_empty_proto_rawDescData = file_google_protobuf_empty_proto_rawDesc
  63. )
  64. func file_google_protobuf_empty_proto_rawDescGZIP() []byte {
  65. file_google_protobuf_empty_proto_rawDescOnce.Do(func() {
  66. file_google_protobuf_empty_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_protobuf_empty_proto_rawDescData)
  67. })
  68. return file_google_protobuf_empty_proto_rawDescData
  69. }
  70. var file_google_protobuf_empty_proto_msgTypes = make([]protoimpl.MessageType, 1)
  71. var file_google_protobuf_empty_proto_goTypes = []interface{}{
  72. (*Empty)(nil), // 0: google.protobuf.Empty
  73. }
  74. var file_google_protobuf_empty_proto_depIdxs = []int32{}
  75. func init() { file_google_protobuf_empty_proto_init() }
  76. func file_google_protobuf_empty_proto_init() {
  77. if File_google_protobuf_empty_proto != nil {
  78. return
  79. }
  80. File_google_protobuf_empty_proto = protoimpl.FileBuilder{
  81. RawDescriptor: file_google_protobuf_empty_proto_rawDesc,
  82. GoTypes: file_google_protobuf_empty_proto_goTypes,
  83. DependencyIndexes: file_google_protobuf_empty_proto_depIdxs,
  84. MessageOutputTypes: file_google_protobuf_empty_proto_msgTypes,
  85. FilesRegistry: protoregistry.GlobalFiles,
  86. TypesRegistry: protoregistry.GlobalTypes,
  87. }.Init()
  88. file_google_protobuf_empty_proto_rawDesc = nil
  89. file_google_protobuf_empty_proto_goTypes = nil
  90. file_google_protobuf_empty_proto_depIdxs = nil
  91. }