deprecated.pb.go 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // comments/deprecated.proto is a deprecated file.
  3. package comments
  4. import (
  5. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  6. protoregistry "google.golang.org/protobuf/reflect/protoregistry"
  7. protoiface "google.golang.org/protobuf/runtime/protoiface"
  8. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  9. sync "sync"
  10. )
  11. const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
  12. type DeprecatedEnum int32 // Deprecated: Do not use.
  13. const (
  14. DeprecatedEnum_DEPRECATED DeprecatedEnum = 0 // Deprecated: Do not use.
  15. )
  16. // Deprecated: Use DeprecatedEnum.Type.Values instead.
  17. var DeprecatedEnum_name = map[int32]string{
  18. 0: "DEPRECATED",
  19. }
  20. // Deprecated: Use DeprecatedEnum.Type.Values instead.
  21. var DeprecatedEnum_value = map[string]int32{
  22. "DEPRECATED": 0,
  23. }
  24. func (x DeprecatedEnum) String() string {
  25. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  26. }
  27. func (DeprecatedEnum) Descriptor() protoreflect.EnumDescriptor {
  28. return file_comments_deprecated_proto_enumTypes[0].Descriptor()
  29. }
  30. // Deprecated: Use Descriptor instead.
  31. func (DeprecatedEnum) Type() protoreflect.EnumType {
  32. return file_comments_deprecated_proto_enumTypes[0]
  33. }
  34. func (x DeprecatedEnum) Number() protoreflect.EnumNumber {
  35. return protoreflect.EnumNumber(x)
  36. }
  37. // Deprecated: Use DeprecatedEnum.Type instead.
  38. func (DeprecatedEnum) EnumDescriptor() ([]byte, []int) {
  39. return file_comments_deprecated_proto_rawDescGZIP(), []int{0}
  40. }
  41. // Deprecated: Do not use.
  42. type DeprecatedMessage struct {
  43. DeprecatedField string `protobuf:"bytes,1,opt,name=deprecated_field,json=deprecatedField,proto3" json:"deprecated_field,omitempty"` // Deprecated: Do not use.
  44. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  45. XXX_unrecognized protoimpl.UnknownFields `json:"-"`
  46. XXX_sizecache protoimpl.SizeCache `json:"-"`
  47. }
  48. func (x *DeprecatedMessage) Reset() {
  49. *x = DeprecatedMessage{}
  50. }
  51. func (x *DeprecatedMessage) String() string {
  52. return protoimpl.X.MessageStringOf(x)
  53. }
  54. func (*DeprecatedMessage) ProtoMessage() {}
  55. func (x *DeprecatedMessage) ProtoReflect() protoreflect.Message {
  56. return file_comments_deprecated_proto_msgTypes[0].MessageOf(x)
  57. }
  58. func (m *DeprecatedMessage) XXX_Methods() *protoiface.Methods {
  59. return file_comments_deprecated_proto_msgTypes[0].Methods()
  60. }
  61. // Deprecated: Use DeprecatedMessage.ProtoReflect.Type instead.
  62. func (*DeprecatedMessage) Descriptor() ([]byte, []int) {
  63. return file_comments_deprecated_proto_rawDescGZIP(), []int{0}
  64. }
  65. // Deprecated: Do not use.
  66. func (x *DeprecatedMessage) GetDeprecatedField() string {
  67. if x != nil {
  68. return x.DeprecatedField
  69. }
  70. return ""
  71. }
  72. var File_comments_deprecated_proto protoreflect.FileDescriptor
  73. var file_comments_deprecated_proto_rawDesc = []byte{
  74. 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x64, 0x65, 0x70, 0x72, 0x65,
  75. 0x63, 0x61, 0x74, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x67, 0x6f, 0x70,
  76. 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
  77. 0x65, 0x6e, 0x74, 0x73, 0x22, 0x46, 0x0a, 0x11, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74,
  78. 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2d, 0x0a, 0x10, 0x64, 0x65, 0x70,
  79. 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, 0x20,
  80. 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61,
  81. 0x74, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x3a, 0x02, 0x18, 0x01, 0x2a, 0x28, 0x0a, 0x0e,
  82. 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x12,
  83. 0x0a, 0x0a, 0x44, 0x45, 0x50, 0x52, 0x45, 0x43, 0x41, 0x54, 0x45, 0x44, 0x10, 0x00, 0x1a, 0x02,
  84. 0x08, 0x01, 0x1a, 0x02, 0x18, 0x01, 0x42, 0x43, 0x5a, 0x3e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  85. 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74,
  86. 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x63, 0x6d, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d,
  87. 0x67, 0x65, 0x6e, 0x2d, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f,
  88. 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0xb8, 0x01, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f,
  89. 0x74, 0x6f, 0x33,
  90. }
  91. var (
  92. file_comments_deprecated_proto_rawDescOnce sync.Once
  93. file_comments_deprecated_proto_rawDescData = file_comments_deprecated_proto_rawDesc
  94. )
  95. func file_comments_deprecated_proto_rawDescGZIP() []byte {
  96. file_comments_deprecated_proto_rawDescOnce.Do(func() {
  97. file_comments_deprecated_proto_rawDescData = protoimpl.X.CompressGZIP(file_comments_deprecated_proto_rawDescData)
  98. })
  99. return file_comments_deprecated_proto_rawDescData
  100. }
  101. var file_comments_deprecated_proto_enumTypes = make([]protoreflect.EnumType, 1)
  102. var file_comments_deprecated_proto_msgTypes = make([]protoimpl.MessageType, 1)
  103. var file_comments_deprecated_proto_goTypes = []interface{}{
  104. (DeprecatedEnum)(0), // 0: goproto.protoc.comments.DeprecatedEnum
  105. (*DeprecatedMessage)(nil), // 1: goproto.protoc.comments.DeprecatedMessage
  106. }
  107. var file_comments_deprecated_proto_depIdxs = []int32{}
  108. func init() { file_comments_deprecated_proto_init() }
  109. func file_comments_deprecated_proto_init() {
  110. if File_comments_deprecated_proto != nil {
  111. return
  112. }
  113. File_comments_deprecated_proto = protoimpl.FileBuilder{
  114. RawDescriptor: file_comments_deprecated_proto_rawDesc,
  115. GoTypes: file_comments_deprecated_proto_goTypes,
  116. DependencyIndexes: file_comments_deprecated_proto_depIdxs,
  117. EnumOutputTypes: file_comments_deprecated_proto_enumTypes,
  118. MessageOutputTypes: file_comments_deprecated_proto_msgTypes,
  119. FilesRegistry: protoregistry.GlobalFiles,
  120. TypesRegistry: protoregistry.GlobalTypes,
  121. }.Init()
  122. file_comments_deprecated_proto_rawDesc = nil
  123. file_comments_deprecated_proto_goTypes = nil
  124. file_comments_deprecated_proto_depIdxs = nil
  125. }