annotations.pb.go 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: annotations/annotations.proto
  3. package annotations
  4. import (
  5. proto "github.com/golang/protobuf/proto"
  6. protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect"
  7. protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl"
  8. reflect "reflect"
  9. )
  10. type AnnotationsTestEnum int32
  11. const (
  12. AnnotationsTestEnum_ANNOTATIONS_TEST_ENUM_VALUE AnnotationsTestEnum = 0
  13. )
  14. func (e AnnotationsTestEnum) Type() protoreflect.EnumType {
  15. return xxx_File_annotations_annotations_proto_enumTypes[0]
  16. }
  17. func (e AnnotationsTestEnum) Number() protoreflect.EnumNumber {
  18. return protoreflect.EnumNumber(e)
  19. }
  20. // Deprecated: Use AnnotationsTestEnum.Type.Values instead.
  21. var AnnotationsTestEnum_name = map[int32]string{
  22. 0: "ANNOTATIONS_TEST_ENUM_VALUE",
  23. }
  24. // Deprecated: Use AnnotationsTestEnum.Type.Values instead.
  25. var AnnotationsTestEnum_value = map[string]int32{
  26. "ANNOTATIONS_TEST_ENUM_VALUE": 0,
  27. }
  28. func (x AnnotationsTestEnum) Enum() *AnnotationsTestEnum {
  29. return &x
  30. }
  31. func (x AnnotationsTestEnum) String() string {
  32. return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x))
  33. }
  34. // Deprecated: Do not use.
  35. func (x *AnnotationsTestEnum) UnmarshalJSON(b []byte) error {
  36. num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b)
  37. if err != nil {
  38. return err
  39. }
  40. *x = AnnotationsTestEnum(num)
  41. return nil
  42. }
  43. // Deprecated: Use AnnotationsTestEnum.Type instead.
  44. func (AnnotationsTestEnum) EnumDescriptor() ([]byte, []int) {
  45. return xxx_File_annotations_annotations_proto_rawdesc_gzipped, []int{0}
  46. }
  47. type AnnotationsTestMessage struct {
  48. AnnotationsTestField *string `protobuf:"bytes,1,opt,name=AnnotationsTestField" json:"AnnotationsTestField,omitempty"`
  49. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  50. XXX_unrecognized []byte `json:"-"`
  51. XXX_sizecache int32 `json:"-"`
  52. }
  53. func (m *AnnotationsTestMessage) ProtoReflect() protoreflect.Message {
  54. return xxx_File_annotations_annotations_proto_messageTypes[0].MessageOf(m)
  55. }
  56. func (m *AnnotationsTestMessage) Reset() { *m = AnnotationsTestMessage{} }
  57. func (m *AnnotationsTestMessage) String() string { return proto.CompactTextString(m) }
  58. func (*AnnotationsTestMessage) ProtoMessage() {}
  59. // Deprecated: Use AnnotationsTestMessage.ProtoReflect.Type instead.
  60. func (*AnnotationsTestMessage) Descriptor() ([]byte, []int) {
  61. return xxx_File_annotations_annotations_proto_rawdesc_gzipped, []int{0}
  62. }
  63. func (m *AnnotationsTestMessage) XXX_Unmarshal(b []byte) error {
  64. return xxx_messageInfo_AnnotationsTestMessage.Unmarshal(m, b)
  65. }
  66. func (m *AnnotationsTestMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  67. return xxx_messageInfo_AnnotationsTestMessage.Marshal(b, m, deterministic)
  68. }
  69. func (m *AnnotationsTestMessage) XXX_Merge(src proto.Message) {
  70. xxx_messageInfo_AnnotationsTestMessage.Merge(m, src)
  71. }
  72. func (m *AnnotationsTestMessage) XXX_Size() int {
  73. return xxx_messageInfo_AnnotationsTestMessage.Size(m)
  74. }
  75. func (m *AnnotationsTestMessage) XXX_DiscardUnknown() {
  76. xxx_messageInfo_AnnotationsTestMessage.DiscardUnknown(m)
  77. }
  78. var xxx_messageInfo_AnnotationsTestMessage proto.InternalMessageInfo
  79. func (m *AnnotationsTestMessage) GetAnnotationsTestField() string {
  80. if m != nil && m.AnnotationsTestField != nil {
  81. return *m.AnnotationsTestField
  82. }
  83. return ""
  84. }
  85. var xxx_File_annotations_annotations_proto_rawdesc = []byte{
  86. // 265 bytes of the wire-encoded FileDescriptorProto
  87. 0x0a, 0x1d, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e,
  88. 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
  89. 0x1a, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e,
  90. 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x4c, 0x0a, 0x16, 0x41,
  91. 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65,
  92. 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x32, 0x0a, 0x14, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
  93. 0x69, 0x6f, 0x6e, 0x73, 0x54, 0x65, 0x73, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, 0x20,
  94. 0x01, 0x28, 0x09, 0x52, 0x14, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  95. 0x54, 0x65, 0x73, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x2a, 0x36, 0x0a, 0x13, 0x41, 0x6e, 0x6e,
  96. 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x54, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x75, 0x6d,
  97. 0x12, 0x1f, 0x0a, 0x1b, 0x41, 0x4e, 0x4e, 0x4f, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x5f,
  98. 0x54, 0x45, 0x53, 0x54, 0x5f, 0x45, 0x4e, 0x55, 0x4d, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10,
  99. 0x00, 0x42, 0x46, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
  100. 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
  101. 0x76, 0x32, 0x2f, 0x63, 0x6d, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65,
  102. 0x6e, 0x2d, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x61, 0x6e,
  103. 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  104. }
  105. var xxx_File_annotations_annotations_proto_rawdesc_gzipped = protoimpl.X.CompressGZIP(xxx_File_annotations_annotations_proto_rawdesc)
  106. const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
  107. var File_annotations_annotations_proto protoreflect.FileDescriptor
  108. var xxx_File_annotations_annotations_proto_enumTypes = make([]protoreflect.EnumType, 1)
  109. var xxx_File_annotations_annotations_proto_messageTypes = make([]protoimpl.MessageType, 1)
  110. var xxx_File_annotations_annotations_proto_goTypes = []interface{}{
  111. (AnnotationsTestEnum)(0), // 0: goproto.protoc.annotations.AnnotationsTestEnum
  112. (*AnnotationsTestMessage)(nil), // 1: goproto.protoc.annotations.AnnotationsTestMessage
  113. }
  114. var xxx_File_annotations_annotations_proto_depIdxs = []int32{}
  115. func init() { xxx_File_annotations_annotations_proto_init() }
  116. func xxx_File_annotations_annotations_proto_init() {
  117. if File_annotations_annotations_proto != nil {
  118. return
  119. }
  120. messageTypes := make([]protoreflect.MessageType, 1)
  121. File_annotations_annotations_proto = protoimpl.FileBuilder{
  122. RawDescriptor: xxx_File_annotations_annotations_proto_rawdesc,
  123. GoTypes: xxx_File_annotations_annotations_proto_goTypes,
  124. DependencyIndexes: xxx_File_annotations_annotations_proto_depIdxs,
  125. EnumOutputTypes: xxx_File_annotations_annotations_proto_enumTypes,
  126. MessageOutputTypes: messageTypes,
  127. }.Init()
  128. messageGoTypes := xxx_File_annotations_annotations_proto_goTypes[1:][:1]
  129. for i, mt := range messageTypes {
  130. xxx_File_annotations_annotations_proto_messageTypes[i].GoType = reflect.TypeOf(messageGoTypes[i])
  131. xxx_File_annotations_annotations_proto_messageTypes[i].PBType = mt
  132. }
  133. proto.RegisterFile("annotations/annotations.proto", xxx_File_annotations_annotations_proto_rawdesc_gzipped)
  134. proto.RegisterEnum("goproto.protoc.annotations.AnnotationsTestEnum", AnnotationsTestEnum_name, AnnotationsTestEnum_value)
  135. proto.RegisterType((*AnnotationsTestMessage)(nil), "goproto.protoc.annotations.AnnotationsTestMessage")
  136. xxx_File_annotations_annotations_proto_goTypes = nil
  137. xxx_File_annotations_annotations_proto_depIdxs = nil
  138. }