annotations.pb.go 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: annotations/annotations.proto
  3. package annotations
  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. type AnnotationsTestEnum int32
  13. const (
  14. AnnotationsTestEnum_ANNOTATIONS_TEST_ENUM_VALUE AnnotationsTestEnum = 0
  15. )
  16. // Deprecated: Use AnnotationsTestEnum.Type.Values instead.
  17. var AnnotationsTestEnum_name = map[int32]string{
  18. 0: "ANNOTATIONS_TEST_ENUM_VALUE",
  19. }
  20. // Deprecated: Use AnnotationsTestEnum.Type.Values instead.
  21. var AnnotationsTestEnum_value = map[string]int32{
  22. "ANNOTATIONS_TEST_ENUM_VALUE": 0,
  23. }
  24. func (x AnnotationsTestEnum) Enum() *AnnotationsTestEnum {
  25. p := new(AnnotationsTestEnum)
  26. *p = x
  27. return p
  28. }
  29. func (x AnnotationsTestEnum) String() string {
  30. return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x))
  31. }
  32. func (AnnotationsTestEnum) Type() protoreflect.EnumType {
  33. return file_annotations_annotations_proto_enumTypes[0]
  34. }
  35. func (x AnnotationsTestEnum) Number() protoreflect.EnumNumber {
  36. return protoreflect.EnumNumber(x)
  37. }
  38. // Deprecated: Do not use.
  39. func (x *AnnotationsTestEnum) UnmarshalJSON(b []byte) error {
  40. num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b)
  41. if err != nil {
  42. return err
  43. }
  44. *x = AnnotationsTestEnum(num)
  45. return nil
  46. }
  47. // Deprecated: Use AnnotationsTestEnum.Type instead.
  48. func (AnnotationsTestEnum) EnumDescriptor() ([]byte, []int) {
  49. return file_annotations_annotations_proto_rawDescGZIP(), []int{0}
  50. }
  51. type AnnotationsTestMessage struct {
  52. AnnotationsTestField *string `protobuf:"bytes,1,opt,name=AnnotationsTestField" json:"AnnotationsTestField,omitempty"`
  53. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  54. XXX_unrecognized protoimpl.UnknownFields `json:"-"`
  55. XXX_sizecache protoimpl.SizeCache `json:"-"`
  56. }
  57. func (x *AnnotationsTestMessage) Reset() {
  58. *x = AnnotationsTestMessage{}
  59. }
  60. func (x *AnnotationsTestMessage) String() string {
  61. return protoimpl.X.MessageStringOf(x)
  62. }
  63. func (*AnnotationsTestMessage) ProtoMessage() {}
  64. func (x *AnnotationsTestMessage) ProtoReflect() protoreflect.Message {
  65. return file_annotations_annotations_proto_msgTypes[0].MessageOf(x)
  66. }
  67. func (m *AnnotationsTestMessage) XXX_Methods() *protoiface.Methods {
  68. return file_annotations_annotations_proto_msgTypes[0].Methods()
  69. }
  70. // Deprecated: Use AnnotationsTestMessage.ProtoReflect.Type instead.
  71. func (*AnnotationsTestMessage) Descriptor() ([]byte, []int) {
  72. return file_annotations_annotations_proto_rawDescGZIP(), []int{0}
  73. }
  74. func (x *AnnotationsTestMessage) GetAnnotationsTestField() string {
  75. if x != nil && x.AnnotationsTestField != nil {
  76. return *x.AnnotationsTestField
  77. }
  78. return ""
  79. }
  80. var File_annotations_annotations_proto protoreflect.FileDescriptor
  81. var file_annotations_annotations_proto_rawDesc = []byte{
  82. 0x0a, 0x1d, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e,
  83. 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
  84. 0x1a, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e,
  85. 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x4c, 0x0a, 0x16, 0x41,
  86. 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65,
  87. 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x32, 0x0a, 0x14, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
  88. 0x69, 0x6f, 0x6e, 0x73, 0x54, 0x65, 0x73, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, 0x20,
  89. 0x01, 0x28, 0x09, 0x52, 0x14, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  90. 0x54, 0x65, 0x73, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x2a, 0x36, 0x0a, 0x13, 0x41, 0x6e, 0x6e,
  91. 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x54, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x75, 0x6d,
  92. 0x12, 0x1f, 0x0a, 0x1b, 0x41, 0x4e, 0x4e, 0x4f, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x5f,
  93. 0x54, 0x45, 0x53, 0x54, 0x5f, 0x45, 0x4e, 0x55, 0x4d, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10,
  94. 0x00, 0x42, 0x46, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
  95. 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
  96. 0x76, 0x32, 0x2f, 0x63, 0x6d, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65,
  97. 0x6e, 0x2d, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x61, 0x6e,
  98. 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  99. }
  100. var (
  101. file_annotations_annotations_proto_rawDescOnce sync.Once
  102. file_annotations_annotations_proto_rawDescData = file_annotations_annotations_proto_rawDesc
  103. )
  104. func file_annotations_annotations_proto_rawDescGZIP() []byte {
  105. file_annotations_annotations_proto_rawDescOnce.Do(func() {
  106. file_annotations_annotations_proto_rawDescData = protoimpl.X.CompressGZIP(file_annotations_annotations_proto_rawDescData)
  107. })
  108. return file_annotations_annotations_proto_rawDescData
  109. }
  110. var file_annotations_annotations_proto_enumTypes = make([]protoreflect.EnumType, 1)
  111. var file_annotations_annotations_proto_msgTypes = make([]protoimpl.MessageType, 1)
  112. var file_annotations_annotations_proto_goTypes = []interface{}{
  113. (AnnotationsTestEnum)(0), // 0: goproto.protoc.annotations.AnnotationsTestEnum
  114. (*AnnotationsTestMessage)(nil), // 1: goproto.protoc.annotations.AnnotationsTestMessage
  115. }
  116. var file_annotations_annotations_proto_depIdxs = []int32{}
  117. func init() { file_annotations_annotations_proto_init() }
  118. func file_annotations_annotations_proto_init() {
  119. if File_annotations_annotations_proto != nil {
  120. return
  121. }
  122. File_annotations_annotations_proto = protoimpl.FileBuilder{
  123. RawDescriptor: file_annotations_annotations_proto_rawDesc,
  124. GoTypes: file_annotations_annotations_proto_goTypes,
  125. DependencyIndexes: file_annotations_annotations_proto_depIdxs,
  126. EnumOutputTypes: file_annotations_annotations_proto_enumTypes,
  127. MessageOutputTypes: file_annotations_annotations_proto_msgTypes,
  128. FilesRegistry: protoregistry.GlobalFiles,
  129. TypesRegistry: protoregistry.GlobalTypes,
  130. }.Init()
  131. file_annotations_annotations_proto_rawDesc = nil
  132. file_annotations_annotations_proto_goTypes = nil
  133. file_annotations_annotations_proto_depIdxs = nil
  134. }