mount.pb.go 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.30.0
  4. // protoc v4.23.3
  5. // source: mount.proto
  6. package mount_pb
  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 ConfigureRequest struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. CollectionCapacity int64 `protobuf:"varint,1,opt,name=collection_capacity,json=collectionCapacity,proto3" json:"collection_capacity,omitempty"`
  24. }
  25. func (x *ConfigureRequest) Reset() {
  26. *x = ConfigureRequest{}
  27. if protoimpl.UnsafeEnabled {
  28. mi := &file_mount_proto_msgTypes[0]
  29. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  30. ms.StoreMessageInfo(mi)
  31. }
  32. }
  33. func (x *ConfigureRequest) String() string {
  34. return protoimpl.X.MessageStringOf(x)
  35. }
  36. func (*ConfigureRequest) ProtoMessage() {}
  37. func (x *ConfigureRequest) ProtoReflect() protoreflect.Message {
  38. mi := &file_mount_proto_msgTypes[0]
  39. if protoimpl.UnsafeEnabled && 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 ConfigureRequest.ProtoReflect.Descriptor instead.
  49. func (*ConfigureRequest) Descriptor() ([]byte, []int) {
  50. return file_mount_proto_rawDescGZIP(), []int{0}
  51. }
  52. func (x *ConfigureRequest) GetCollectionCapacity() int64 {
  53. if x != nil {
  54. return x.CollectionCapacity
  55. }
  56. return 0
  57. }
  58. type ConfigureResponse struct {
  59. state protoimpl.MessageState
  60. sizeCache protoimpl.SizeCache
  61. unknownFields protoimpl.UnknownFields
  62. }
  63. func (x *ConfigureResponse) Reset() {
  64. *x = ConfigureResponse{}
  65. if protoimpl.UnsafeEnabled {
  66. mi := &file_mount_proto_msgTypes[1]
  67. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  68. ms.StoreMessageInfo(mi)
  69. }
  70. }
  71. func (x *ConfigureResponse) String() string {
  72. return protoimpl.X.MessageStringOf(x)
  73. }
  74. func (*ConfigureResponse) ProtoMessage() {}
  75. func (x *ConfigureResponse) ProtoReflect() protoreflect.Message {
  76. mi := &file_mount_proto_msgTypes[1]
  77. if protoimpl.UnsafeEnabled && x != nil {
  78. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  79. if ms.LoadMessageInfo() == nil {
  80. ms.StoreMessageInfo(mi)
  81. }
  82. return ms
  83. }
  84. return mi.MessageOf(x)
  85. }
  86. // Deprecated: Use ConfigureResponse.ProtoReflect.Descriptor instead.
  87. func (*ConfigureResponse) Descriptor() ([]byte, []int) {
  88. return file_mount_proto_rawDescGZIP(), []int{1}
  89. }
  90. var File_mount_proto protoreflect.FileDescriptor
  91. var file_mount_proto_rawDesc = []byte{
  92. 0x0a, 0x0b, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x6d,
  93. 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x22, 0x43, 0x0a, 0x10, 0x43,
  94. 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  95. 0x2f, 0x0a, 0x13, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x61,
  96. 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x63, 0x6f,
  97. 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79,
  98. 0x22, 0x13, 0x0a, 0x11, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x52, 0x65, 0x73,
  99. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x5e, 0x0a, 0x0c, 0x53, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64,
  100. 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x4e, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75,
  101. 0x72, 0x65, 0x12, 0x1e, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70,
  102. 0x62, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
  103. 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70,
  104. 0x62, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
  105. 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x4f, 0x0a, 0x10, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64,
  106. 0x66, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x0a, 0x4d, 0x6f, 0x75, 0x6e, 0x74,
  107. 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
  108. 0x6d, 0x2f, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2f, 0x73, 0x65, 0x61, 0x77,
  109. 0x65, 0x65, 0x64, 0x66, 0x73, 0x2f, 0x77, 0x65, 0x65, 0x64, 0x2f, 0x70, 0x62, 0x2f, 0x6d, 0x6f,
  110. 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  111. }
  112. var (
  113. file_mount_proto_rawDescOnce sync.Once
  114. file_mount_proto_rawDescData = file_mount_proto_rawDesc
  115. )
  116. func file_mount_proto_rawDescGZIP() []byte {
  117. file_mount_proto_rawDescOnce.Do(func() {
  118. file_mount_proto_rawDescData = protoimpl.X.CompressGZIP(file_mount_proto_rawDescData)
  119. })
  120. return file_mount_proto_rawDescData
  121. }
  122. var file_mount_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  123. var file_mount_proto_goTypes = []interface{}{
  124. (*ConfigureRequest)(nil), // 0: messaging_pb.ConfigureRequest
  125. (*ConfigureResponse)(nil), // 1: messaging_pb.ConfigureResponse
  126. }
  127. var file_mount_proto_depIdxs = []int32{
  128. 0, // 0: messaging_pb.SeaweedMount.Configure:input_type -> messaging_pb.ConfigureRequest
  129. 1, // 1: messaging_pb.SeaweedMount.Configure:output_type -> messaging_pb.ConfigureResponse
  130. 1, // [1:2] is the sub-list for method output_type
  131. 0, // [0:1] is the sub-list for method input_type
  132. 0, // [0:0] is the sub-list for extension type_name
  133. 0, // [0:0] is the sub-list for extension extendee
  134. 0, // [0:0] is the sub-list for field type_name
  135. }
  136. func init() { file_mount_proto_init() }
  137. func file_mount_proto_init() {
  138. if File_mount_proto != nil {
  139. return
  140. }
  141. if !protoimpl.UnsafeEnabled {
  142. file_mount_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  143. switch v := v.(*ConfigureRequest); i {
  144. case 0:
  145. return &v.state
  146. case 1:
  147. return &v.sizeCache
  148. case 2:
  149. return &v.unknownFields
  150. default:
  151. return nil
  152. }
  153. }
  154. file_mount_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  155. switch v := v.(*ConfigureResponse); i {
  156. case 0:
  157. return &v.state
  158. case 1:
  159. return &v.sizeCache
  160. case 2:
  161. return &v.unknownFields
  162. default:
  163. return nil
  164. }
  165. }
  166. }
  167. type x struct{}
  168. out := protoimpl.TypeBuilder{
  169. File: protoimpl.DescBuilder{
  170. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  171. RawDescriptor: file_mount_proto_rawDesc,
  172. NumEnums: 0,
  173. NumMessages: 2,
  174. NumExtensions: 0,
  175. NumServices: 1,
  176. },
  177. GoTypes: file_mount_proto_goTypes,
  178. DependencyIndexes: file_mount_proto_depIdxs,
  179. MessageInfos: file_mount_proto_msgTypes,
  180. }.Build()
  181. File_mount_proto = out.File
  182. file_mount_proto_rawDesc = nil
  183. file_mount_proto_goTypes = nil
  184. file_mount_proto_depIdxs = nil
  185. }