deprecated.pb.go 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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. prototype "google.golang.org/protobuf/reflect/prototype"
  7. protoiface "google.golang.org/protobuf/runtime/protoiface"
  8. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  9. sync "sync"
  10. )
  11. const (
  12. // Verify that runtime/protoimpl is sufficiently up-to-date.
  13. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 0)
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(0 - protoimpl.MinVersion)
  16. )
  17. type DeprecatedEnum int32 // Deprecated: Do not use.
  18. const (
  19. DeprecatedEnum_DEPRECATED DeprecatedEnum = 0 // Deprecated: Do not use.
  20. )
  21. var DeprecatedEnum_name = map[int32]string{
  22. 0: "DEPRECATED",
  23. }
  24. var DeprecatedEnum_value = map[string]int32{
  25. "DEPRECATED": 0,
  26. }
  27. func (x DeprecatedEnum) Enum() *DeprecatedEnum {
  28. p := new(DeprecatedEnum)
  29. *p = x
  30. return p
  31. }
  32. func (x DeprecatedEnum) String() string {
  33. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  34. }
  35. func (DeprecatedEnum) Descriptor() protoreflect.EnumDescriptor {
  36. return file_comments_deprecated_proto_enumTypes[0].EnumDescriptor
  37. }
  38. func (x DeprecatedEnum) Number() protoreflect.EnumNumber {
  39. return protoreflect.EnumNumber(x)
  40. }
  41. // Deprecated: Use DeprecatedEnum.Type instead.
  42. func (DeprecatedEnum) EnumDescriptor() ([]byte, []int) {
  43. return file_comments_deprecated_proto_rawDescGZIP(), []int{0}
  44. }
  45. // Deprecated: Do not use.
  46. type DeprecatedMessage struct {
  47. DeprecatedField string `protobuf:"bytes,1,opt,name=deprecated_field,json=deprecatedField,proto3" json:"deprecated_field,omitempty"` // Deprecated: Do not use.
  48. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  49. XXX_unrecognized protoimpl.UnknownFields `json:"-"`
  50. XXX_sizecache protoimpl.SizeCache `json:"-"`
  51. }
  52. func (x *DeprecatedMessage) Reset() {
  53. *x = DeprecatedMessage{}
  54. }
  55. func (x *DeprecatedMessage) String() string {
  56. return protoimpl.X.MessageStringOf(x)
  57. }
  58. func (*DeprecatedMessage) ProtoMessage() {}
  59. func (x *DeprecatedMessage) ProtoReflect() protoreflect.Message {
  60. return file_comments_deprecated_proto_msgTypes[0].MessageOf(x)
  61. }
  62. func (m *DeprecatedMessage) XXX_Methods() *protoiface.Methods {
  63. return file_comments_deprecated_proto_msgTypes[0].Methods()
  64. }
  65. // Deprecated: Use DeprecatedMessage.ProtoReflect.Type instead.
  66. func (*DeprecatedMessage) Descriptor() ([]byte, []int) {
  67. return file_comments_deprecated_proto_rawDescGZIP(), []int{0}
  68. }
  69. // Deprecated: Do not use.
  70. func (x *DeprecatedMessage) GetDeprecatedField() string {
  71. if x != nil {
  72. return x.DeprecatedField
  73. }
  74. return ""
  75. }
  76. var File_comments_deprecated_proto protoreflect.FileDescriptor
  77. var file_comments_deprecated_proto_rawDesc = []byte{
  78. 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x64, 0x65, 0x70, 0x72, 0x65,
  79. 0x63, 0x61, 0x74, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x67, 0x6f, 0x70,
  80. 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
  81. 0x65, 0x6e, 0x74, 0x73, 0x22, 0x46, 0x0a, 0x11, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74,
  82. 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2d, 0x0a, 0x10, 0x64, 0x65, 0x70,
  83. 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, 0x20,
  84. 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61,
  85. 0x74, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x3a, 0x02, 0x18, 0x01, 0x2a, 0x28, 0x0a, 0x0e,
  86. 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x12,
  87. 0x0a, 0x0a, 0x44, 0x45, 0x50, 0x52, 0x45, 0x43, 0x41, 0x54, 0x45, 0x44, 0x10, 0x00, 0x1a, 0x02,
  88. 0x08, 0x01, 0x1a, 0x02, 0x18, 0x01, 0x42, 0x43, 0x5a, 0x3e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  89. 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74,
  90. 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x63, 0x6d, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d,
  91. 0x67, 0x65, 0x6e, 0x2d, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f,
  92. 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0xb8, 0x01, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f,
  93. 0x74, 0x6f, 0x33,
  94. }
  95. var (
  96. file_comments_deprecated_proto_rawDescOnce sync.Once
  97. file_comments_deprecated_proto_rawDescData = file_comments_deprecated_proto_rawDesc
  98. )
  99. func file_comments_deprecated_proto_rawDescGZIP() []byte {
  100. file_comments_deprecated_proto_rawDescOnce.Do(func() {
  101. file_comments_deprecated_proto_rawDescData = protoimpl.X.CompressGZIP(file_comments_deprecated_proto_rawDescData)
  102. })
  103. return file_comments_deprecated_proto_rawDescData
  104. }
  105. var file_comments_deprecated_proto_enumTypes = make([]prototype.Enum, 1)
  106. var file_comments_deprecated_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  107. var file_comments_deprecated_proto_goTypes = []interface{}{
  108. (DeprecatedEnum)(0), // 0: goproto.protoc.comments.DeprecatedEnum
  109. (*DeprecatedMessage)(nil), // 1: goproto.protoc.comments.DeprecatedMessage
  110. }
  111. var file_comments_deprecated_proto_depIdxs = []int32{
  112. 0, // starting offset of method output_type sub-list
  113. 0, // starting offset of method input_type sub-list
  114. 0, // starting offset of extension type_name sub-list
  115. 0, // starting offset of extension extendee sub-list
  116. 0, // starting offset of field type_name sub-list
  117. }
  118. func init() { file_comments_deprecated_proto_init() }
  119. func file_comments_deprecated_proto_init() {
  120. if File_comments_deprecated_proto != nil {
  121. return
  122. }
  123. out := protoimpl.TypeBuilder{
  124. File: protoimpl.DescBuilder{
  125. RawDescriptor: file_comments_deprecated_proto_rawDesc,
  126. NumEnums: 1,
  127. NumMessages: 1,
  128. NumExtensions: 0,
  129. NumServices: 0,
  130. },
  131. GoTypes: file_comments_deprecated_proto_goTypes,
  132. DependencyIndexes: file_comments_deprecated_proto_depIdxs,
  133. MessageInfos: file_comments_deprecated_proto_msgTypes,
  134. }.Build()
  135. File_comments_deprecated_proto = out.File
  136. file_comments_deprecated_proto_enumTypes = out.Enums
  137. file_comments_deprecated_proto_rawDesc = nil
  138. file_comments_deprecated_proto_goTypes = nil
  139. file_comments_deprecated_proto_depIdxs = nil
  140. }