annotations.pb.go 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  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. 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 AnnotationsTestEnum int32
  18. const (
  19. AnnotationsTestEnum_ANNOTATIONS_TEST_ENUM_VALUE AnnotationsTestEnum = 0
  20. )
  21. var AnnotationsTestEnum_name = map[int32]string{
  22. 0: "ANNOTATIONS_TEST_ENUM_VALUE",
  23. }
  24. var AnnotationsTestEnum_value = map[string]int32{
  25. "ANNOTATIONS_TEST_ENUM_VALUE": 0,
  26. }
  27. func (x AnnotationsTestEnum) Enum() *AnnotationsTestEnum {
  28. p := new(AnnotationsTestEnum)
  29. *p = x
  30. return p
  31. }
  32. func (x AnnotationsTestEnum) String() string {
  33. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  34. }
  35. func (AnnotationsTestEnum) Descriptor() protoreflect.EnumDescriptor {
  36. return file_annotations_annotations_proto_enumTypes[0].EnumDescriptor
  37. }
  38. func (x AnnotationsTestEnum) Number() protoreflect.EnumNumber {
  39. return protoreflect.EnumNumber(x)
  40. }
  41. // Deprecated: Do not use.
  42. func (x *AnnotationsTestEnum) UnmarshalJSON(b []byte) error {
  43. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  44. if err != nil {
  45. return err
  46. }
  47. *x = AnnotationsTestEnum(num)
  48. return nil
  49. }
  50. // Deprecated: Use AnnotationsTestEnum.Type instead.
  51. func (AnnotationsTestEnum) EnumDescriptor() ([]byte, []int) {
  52. return file_annotations_annotations_proto_rawDescGZIP(), []int{0}
  53. }
  54. type AnnotationsTestMessage struct {
  55. state protoimpl.MessageState
  56. AnnotationsTestField *string `protobuf:"bytes,1,opt,name=AnnotationsTestField" json:"AnnotationsTestField,omitempty"`
  57. sizeCache protoimpl.SizeCache
  58. unknownFields protoimpl.UnknownFields
  59. }
  60. func (x *AnnotationsTestMessage) Reset() {
  61. *x = AnnotationsTestMessage{}
  62. }
  63. func (x *AnnotationsTestMessage) String() string {
  64. return protoimpl.X.MessageStringOf(x)
  65. }
  66. func (*AnnotationsTestMessage) ProtoMessage() {}
  67. func (x *AnnotationsTestMessage) ProtoReflect() protoreflect.Message {
  68. mi := &file_annotations_annotations_proto_msgTypes[0]
  69. if protoimpl.UnsafeEnabled && x != nil {
  70. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  71. if ms.LoadMessageInfo() == nil {
  72. ms.StoreMessageInfo(mi)
  73. }
  74. return ms
  75. }
  76. return mi.MessageOf(x)
  77. }
  78. func (x *AnnotationsTestMessage) XXX_Methods() *protoiface.Methods {
  79. return file_annotations_annotations_proto_msgTypes[0].Methods()
  80. }
  81. // Deprecated: Use AnnotationsTestMessage.ProtoReflect.Type instead.
  82. func (*AnnotationsTestMessage) Descriptor() ([]byte, []int) {
  83. return file_annotations_annotations_proto_rawDescGZIP(), []int{0}
  84. }
  85. func (x *AnnotationsTestMessage) GetAnnotationsTestField() string {
  86. if x != nil && x.AnnotationsTestField != nil {
  87. return *x.AnnotationsTestField
  88. }
  89. return ""
  90. }
  91. var File_annotations_annotations_proto protoreflect.FileDescriptor
  92. var file_annotations_annotations_proto_rawDesc = []byte{
  93. 0x0a, 0x1d, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e,
  94. 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
  95. 0x1a, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e,
  96. 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x4c, 0x0a, 0x16, 0x41,
  97. 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65,
  98. 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x32, 0x0a, 0x14, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
  99. 0x69, 0x6f, 0x6e, 0x73, 0x54, 0x65, 0x73, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, 0x20,
  100. 0x01, 0x28, 0x09, 0x52, 0x14, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  101. 0x54, 0x65, 0x73, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x2a, 0x36, 0x0a, 0x13, 0x41, 0x6e, 0x6e,
  102. 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x54, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x75, 0x6d,
  103. 0x12, 0x1f, 0x0a, 0x1b, 0x41, 0x4e, 0x4e, 0x4f, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x5f,
  104. 0x54, 0x45, 0x53, 0x54, 0x5f, 0x45, 0x4e, 0x55, 0x4d, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10,
  105. 0x00, 0x42, 0x43, 0x5a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61,
  106. 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
  107. 0x63, 0x6d, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x67,
  108. 0x6f, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74,
  109. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  110. }
  111. var (
  112. file_annotations_annotations_proto_rawDescOnce sync.Once
  113. file_annotations_annotations_proto_rawDescData = file_annotations_annotations_proto_rawDesc
  114. )
  115. func file_annotations_annotations_proto_rawDescGZIP() []byte {
  116. file_annotations_annotations_proto_rawDescOnce.Do(func() {
  117. file_annotations_annotations_proto_rawDescData = protoimpl.X.CompressGZIP(file_annotations_annotations_proto_rawDescData)
  118. })
  119. return file_annotations_annotations_proto_rawDescData
  120. }
  121. var file_annotations_annotations_proto_enumTypes = make([]prototype.Enum, 1)
  122. var file_annotations_annotations_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  123. var file_annotations_annotations_proto_goTypes = []interface{}{
  124. (AnnotationsTestEnum)(0), // 0: goproto.protoc.annotations.AnnotationsTestEnum
  125. (*AnnotationsTestMessage)(nil), // 1: goproto.protoc.annotations.AnnotationsTestMessage
  126. }
  127. var file_annotations_annotations_proto_depIdxs = []int32{
  128. 0, // starting offset of method output_type sub-list
  129. 0, // starting offset of method input_type sub-list
  130. 0, // starting offset of extension type_name sub-list
  131. 0, // starting offset of extension extendee sub-list
  132. 0, // starting offset of field type_name sub-list
  133. }
  134. func init() { file_annotations_annotations_proto_init() }
  135. func file_annotations_annotations_proto_init() {
  136. if File_annotations_annotations_proto != nil {
  137. return
  138. }
  139. if !protoimpl.UnsafeEnabled {
  140. file_annotations_annotations_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  141. switch v := v.(*AnnotationsTestMessage); i {
  142. case 0:
  143. return &v.state
  144. case 2:
  145. return &v.sizeCache
  146. case 3:
  147. return &v.unknownFields
  148. default:
  149. return nil
  150. }
  151. }
  152. }
  153. out := protoimpl.TypeBuilder{
  154. File: protoimpl.DescBuilder{
  155. RawDescriptor: file_annotations_annotations_proto_rawDesc,
  156. NumEnums: 1,
  157. NumMessages: 1,
  158. NumExtensions: 0,
  159. NumServices: 0,
  160. },
  161. GoTypes: file_annotations_annotations_proto_goTypes,
  162. DependencyIndexes: file_annotations_annotations_proto_depIdxs,
  163. MessageInfos: file_annotations_annotations_proto_msgTypes,
  164. }.Build()
  165. File_annotations_annotations_proto = out.File
  166. file_annotations_annotations_proto_enumTypes = out.Enums
  167. file_annotations_annotations_proto_rawDesc = nil
  168. file_annotations_annotations_proto_goTypes = nil
  169. file_annotations_annotations_proto_depIdxs = nil
  170. }