annotations.pb.go 6.4 KB

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