uid.pb.go 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.27.1
  4. // protoc v3.18.0
  5. // source: common/net/uid.proto
  6. package net
  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. // UidList represents a list of uid.
  20. type UidList struct {
  21. state protoimpl.MessageState
  22. sizeCache protoimpl.SizeCache
  23. unknownFields protoimpl.UnknownFields
  24. // The port that this range starts from.
  25. Uid []uint32 `protobuf:"varint,1,rep,packed,name=uid,proto3" json:"uid,omitempty"`
  26. }
  27. func (x *UidList) Reset() {
  28. *x = UidList{}
  29. if protoimpl.UnsafeEnabled {
  30. mi := &file_common_net_uid_proto_msgTypes[0]
  31. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  32. ms.StoreMessageInfo(mi)
  33. }
  34. }
  35. func (x *UidList) String() string {
  36. return protoimpl.X.MessageStringOf(x)
  37. }
  38. func (*UidList) ProtoMessage() {}
  39. func (x *UidList) ProtoReflect() protoreflect.Message {
  40. mi := &file_common_net_uid_proto_msgTypes[0]
  41. if protoimpl.UnsafeEnabled && x != nil {
  42. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  43. if ms.LoadMessageInfo() == nil {
  44. ms.StoreMessageInfo(mi)
  45. }
  46. return ms
  47. }
  48. return mi.MessageOf(x)
  49. }
  50. // Deprecated: Use UidList.ProtoReflect.Descriptor instead.
  51. func (*UidList) Descriptor() ([]byte, []int) {
  52. return file_common_net_uid_proto_rawDescGZIP(), []int{0}
  53. }
  54. func (x *UidList) GetUid() []uint32 {
  55. if x != nil {
  56. return x.Uid
  57. }
  58. return nil
  59. }
  60. var File_common_net_uid_proto protoreflect.FileDescriptor
  61. var file_common_net_uid_proto_rawDesc = []byte{
  62. 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x75, 0x69, 0x64,
  63. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d,
  64. 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x22, 0x1b, 0x0a, 0x07, 0x55, 0x69, 0x64, 0x4c, 0x69,
  65. 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0d, 0x52,
  66. 0x03, 0x75, 0x69, 0x64, 0x42, 0x4f, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79,
  67. 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x50, 0x01, 0x5a, 0x24, 0x67,
  68. 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78,
  69. 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f,
  70. 0x6e, 0x65, 0x74, 0xaa, 0x02, 0x0f, 0x58, 0x72, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f,
  71. 0x6e, 0x2e, 0x4e, 0x65, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  72. }
  73. var (
  74. file_common_net_uid_proto_rawDescOnce sync.Once
  75. file_common_net_uid_proto_rawDescData = file_common_net_uid_proto_rawDesc
  76. )
  77. func file_common_net_uid_proto_rawDescGZIP() []byte {
  78. file_common_net_uid_proto_rawDescOnce.Do(func() {
  79. file_common_net_uid_proto_rawDescData = protoimpl.X.CompressGZIP(file_common_net_uid_proto_rawDescData)
  80. })
  81. return file_common_net_uid_proto_rawDescData
  82. }
  83. var file_common_net_uid_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  84. var file_common_net_uid_proto_goTypes = []interface{}{
  85. (*UidList)(nil), // 0: xray.common.net.UidList
  86. }
  87. var file_common_net_uid_proto_depIdxs = []int32{
  88. 0, // [0:0] is the sub-list for method output_type
  89. 0, // [0:0] is the sub-list for method input_type
  90. 0, // [0:0] is the sub-list for extension type_name
  91. 0, // [0:0] is the sub-list for extension extendee
  92. 0, // [0:0] is the sub-list for field type_name
  93. }
  94. func init() { file_common_net_uid_proto_init() }
  95. func file_common_net_uid_proto_init() {
  96. if File_common_net_uid_proto != nil {
  97. return
  98. }
  99. if !protoimpl.UnsafeEnabled {
  100. file_common_net_uid_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  101. switch v := v.(*UidList); i {
  102. case 0:
  103. return &v.state
  104. case 1:
  105. return &v.sizeCache
  106. case 2:
  107. return &v.unknownFields
  108. default:
  109. return nil
  110. }
  111. }
  112. }
  113. type x struct{}
  114. out := protoimpl.TypeBuilder{
  115. File: protoimpl.DescBuilder{
  116. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  117. RawDescriptor: file_common_net_uid_proto_rawDesc,
  118. NumEnums: 0,
  119. NumMessages: 1,
  120. NumExtensions: 0,
  121. NumServices: 0,
  122. },
  123. GoTypes: file_common_net_uid_proto_goTypes,
  124. DependencyIndexes: file_common_net_uid_proto_depIdxs,
  125. MessageInfos: file_common_net_uid_proto_msgTypes,
  126. }.Build()
  127. File_common_net_uid_proto = out.File
  128. file_common_net_uid_proto_rawDesc = nil
  129. file_common_net_uid_proto_goTypes = nil
  130. file_common_net_uid_proto_depIdxs = nil
  131. }