annotations.pb.go 6.1 KB

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