config.pb.go 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.35.1
  4. // protoc v5.28.2
  5. // source: app/version/config.proto
  6. package version
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type Config struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. CoreVersion string `protobuf:"bytes,1,opt,name=core_version,json=coreVersion,proto3" json:"core_version,omitempty"`
  24. MinVersion string `protobuf:"bytes,2,opt,name=min_version,json=minVersion,proto3" json:"min_version,omitempty"`
  25. MaxVersion string `protobuf:"bytes,3,opt,name=max_version,json=maxVersion,proto3" json:"max_version,omitempty"`
  26. }
  27. func (x *Config) Reset() {
  28. *x = Config{}
  29. mi := &file_app_version_config_proto_msgTypes[0]
  30. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  31. ms.StoreMessageInfo(mi)
  32. }
  33. func (x *Config) String() string {
  34. return protoimpl.X.MessageStringOf(x)
  35. }
  36. func (*Config) ProtoMessage() {}
  37. func (x *Config) ProtoReflect() protoreflect.Message {
  38. mi := &file_app_version_config_proto_msgTypes[0]
  39. if x != nil {
  40. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  41. if ms.LoadMessageInfo() == nil {
  42. ms.StoreMessageInfo(mi)
  43. }
  44. return ms
  45. }
  46. return mi.MessageOf(x)
  47. }
  48. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  49. func (*Config) Descriptor() ([]byte, []int) {
  50. return file_app_version_config_proto_rawDescGZIP(), []int{0}
  51. }
  52. func (x *Config) GetCoreVersion() string {
  53. if x != nil {
  54. return x.CoreVersion
  55. }
  56. return ""
  57. }
  58. func (x *Config) GetMinVersion() string {
  59. if x != nil {
  60. return x.MinVersion
  61. }
  62. return ""
  63. }
  64. func (x *Config) GetMaxVersion() string {
  65. if x != nil {
  66. return x.MaxVersion
  67. }
  68. return ""
  69. }
  70. var File_app_version_config_proto protoreflect.FileDescriptor
  71. var file_app_version_config_proto_rawDesc = []byte{
  72. 0x0a, 0x18, 0x61, 0x70, 0x70, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x63, 0x6f,
  73. 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x78, 0x72, 0x61, 0x79,
  74. 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x6d, 0x0a, 0x06,
  75. 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x76,
  76. 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f,
  77. 0x72, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x69, 0x6e,
  78. 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
  79. 0x6d, 0x69, 0x6e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61,
  80. 0x78, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  81. 0x0a, 0x6d, 0x61, 0x78, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x52, 0x0a, 0x14, 0x63,
  82. 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x65, 0x72, 0x73,
  83. 0x69, 0x6f, 0x6e, 0x50, 0x01, 0x5a, 0x25, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
  84. 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65,
  85. 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0xaa, 0x02, 0x10, 0x58,
  86. 0x72, 0x61, 0x79, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x62,
  87. 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  88. }
  89. var (
  90. file_app_version_config_proto_rawDescOnce sync.Once
  91. file_app_version_config_proto_rawDescData = file_app_version_config_proto_rawDesc
  92. )
  93. func file_app_version_config_proto_rawDescGZIP() []byte {
  94. file_app_version_config_proto_rawDescOnce.Do(func() {
  95. file_app_version_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_version_config_proto_rawDescData)
  96. })
  97. return file_app_version_config_proto_rawDescData
  98. }
  99. var file_app_version_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  100. var file_app_version_config_proto_goTypes = []any{
  101. (*Config)(nil), // 0: xray.app.version.Config
  102. }
  103. var file_app_version_config_proto_depIdxs = []int32{
  104. 0, // [0:0] is the sub-list for method output_type
  105. 0, // [0:0] is the sub-list for method input_type
  106. 0, // [0:0] is the sub-list for extension type_name
  107. 0, // [0:0] is the sub-list for extension extendee
  108. 0, // [0:0] is the sub-list for field type_name
  109. }
  110. func init() { file_app_version_config_proto_init() }
  111. func file_app_version_config_proto_init() {
  112. if File_app_version_config_proto != nil {
  113. return
  114. }
  115. type x struct{}
  116. out := protoimpl.TypeBuilder{
  117. File: protoimpl.DescBuilder{
  118. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  119. RawDescriptor: file_app_version_config_proto_rawDesc,
  120. NumEnums: 0,
  121. NumMessages: 1,
  122. NumExtensions: 0,
  123. NumServices: 0,
  124. },
  125. GoTypes: file_app_version_config_proto_goTypes,
  126. DependencyIndexes: file_app_version_config_proto_depIdxs,
  127. MessageInfos: file_app_version_config_proto_msgTypes,
  128. }.Build()
  129. File_app_version_config_proto = out.File
  130. file_app_version_config_proto_rawDesc = nil
  131. file_app_version_config_proto_goTypes = nil
  132. file_app_version_config_proto_depIdxs = nil
  133. }