empty.pb.go 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/protobuf/empty.proto
  3. package known_proto
  4. import (
  5. proto "github.com/golang/protobuf/proto"
  6. protoapi "github.com/golang/protobuf/protoapi"
  7. protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect"
  8. protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl"
  9. reflect "reflect"
  10. )
  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.ProtoPackageIsVersion3 // 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) ProtoReflect() protoreflect.Message {
  31. return xxx_File_google_protobuf_empty_proto_messageTypes[0].MessageOf(m)
  32. }
  33. func (m *Empty) Reset() { *m = Empty{} }
  34. func (m *Empty) String() string { return proto.CompactTextString(m) }
  35. func (*Empty) ProtoMessage() {}
  36. func (*Empty) Descriptor() ([]byte, []int) {
  37. return xxx_File_google_protobuf_empty_proto_rawdesc_gzipped, []int{0}
  38. }
  39. func (*Empty) XXX_WellKnownType() string { return "Empty" }
  40. func (m *Empty) XXX_Unmarshal(b []byte) error {
  41. return xxx_messageInfo_Empty.Unmarshal(m, b)
  42. }
  43. func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  44. return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
  45. }
  46. func (m *Empty) XXX_Merge(src proto.Message) {
  47. xxx_messageInfo_Empty.Merge(m, src)
  48. }
  49. func (m *Empty) XXX_Size() int {
  50. return xxx_messageInfo_Empty.Size(m)
  51. }
  52. func (m *Empty) XXX_DiscardUnknown() {
  53. xxx_messageInfo_Empty.DiscardUnknown(m)
  54. }
  55. var xxx_messageInfo_Empty proto.InternalMessageInfo
  56. func init() {
  57. proto.RegisterFile("google/protobuf/empty.proto", xxx_File_google_protobuf_empty_proto_rawdesc_gzipped)
  58. proto.RegisterType((*Empty)(nil), "google.protobuf.Empty")
  59. }
  60. var xxx_File_google_protobuf_empty_proto_rawdesc = []byte{
  61. // 198 bytes of the wire-encoded FileDescriptorProto
  62. 0x0a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  63. 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x67,
  64. 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22, 0x07,
  65. 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x84, 0x01, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e,
  66. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x42,
  67. 0x0a, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x67,
  68. 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67,
  69. 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x79, 0x70,
  70. 0x65, 0x73, 0x2f, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x3b, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x70,
  71. 0x72, 0x6f, 0x74, 0x6f, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x03, 0x47, 0x50, 0x42, 0xaa, 0x02, 0x1e,
  72. 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
  73. 0x57, 0x65, 0x6c, 0x6c, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x62, 0x06,
  74. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  75. }
  76. var xxx_File_google_protobuf_empty_proto_rawdesc_gzipped = protoapi.CompressGZIP(xxx_File_google_protobuf_empty_proto_rawdesc)
  77. const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
  78. var File_google_protobuf_empty_proto protoreflect.FileDescriptor
  79. var xxx_File_google_protobuf_empty_proto_messageTypes = make([]protoimpl.MessageType, 1)
  80. var xxx_File_google_protobuf_empty_proto_goTypes = []interface{}{
  81. (*Empty)(nil), // 0: google.protobuf.Empty
  82. }
  83. var xxx_File_google_protobuf_empty_proto_depIdxs = []int32{}
  84. func init() { xxx_File_google_protobuf_empty_proto_init() }
  85. func xxx_File_google_protobuf_empty_proto_init() {
  86. if File_google_protobuf_empty_proto != nil {
  87. return
  88. }
  89. messageTypes := make([]protoreflect.MessageType, 1)
  90. File_google_protobuf_empty_proto = protoimpl.FileBuilder{
  91. RawDescriptor: xxx_File_google_protobuf_empty_proto_rawdesc,
  92. GoTypes: xxx_File_google_protobuf_empty_proto_goTypes,
  93. DependencyIndexes: xxx_File_google_protobuf_empty_proto_depIdxs,
  94. MessageOutputTypes: messageTypes,
  95. }.Init()
  96. messageGoTypes := xxx_File_google_protobuf_empty_proto_goTypes[0:][:1]
  97. for i, mt := range messageTypes {
  98. xxx_File_google_protobuf_empty_proto_messageTypes[i].GoType = reflect.TypeOf(messageGoTypes[i])
  99. xxx_File_google_protobuf_empty_proto_messageTypes[i].PBType = mt
  100. }
  101. xxx_File_google_protobuf_empty_proto_goTypes = nil
  102. xxx_File_google_protobuf_empty_proto_depIdxs = nil
  103. }