mount.pb.go 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.6
  4. // protoc v5.29.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. unsafe "unsafe"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type ConfigureRequest struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. CollectionCapacity int64 `protobuf:"varint,1,opt,name=collection_capacity,json=collectionCapacity,proto3" json:"collection_capacity,omitempty"`
  23. unknownFields protoimpl.UnknownFields
  24. sizeCache protoimpl.SizeCache
  25. }
  26. func (x *ConfigureRequest) Reset() {
  27. *x = ConfigureRequest{}
  28. mi := &file_mount_proto_msgTypes[0]
  29. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  30. ms.StoreMessageInfo(mi)
  31. }
  32. func (x *ConfigureRequest) String() string {
  33. return protoimpl.X.MessageStringOf(x)
  34. }
  35. func (*ConfigureRequest) ProtoMessage() {}
  36. func (x *ConfigureRequest) ProtoReflect() protoreflect.Message {
  37. mi := &file_mount_proto_msgTypes[0]
  38. if x != nil {
  39. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  40. if ms.LoadMessageInfo() == nil {
  41. ms.StoreMessageInfo(mi)
  42. }
  43. return ms
  44. }
  45. return mi.MessageOf(x)
  46. }
  47. // Deprecated: Use ConfigureRequest.ProtoReflect.Descriptor instead.
  48. func (*ConfigureRequest) Descriptor() ([]byte, []int) {
  49. return file_mount_proto_rawDescGZIP(), []int{0}
  50. }
  51. func (x *ConfigureRequest) GetCollectionCapacity() int64 {
  52. if x != nil {
  53. return x.CollectionCapacity
  54. }
  55. return 0
  56. }
  57. type ConfigureResponse struct {
  58. state protoimpl.MessageState `protogen:"open.v1"`
  59. unknownFields protoimpl.UnknownFields
  60. sizeCache protoimpl.SizeCache
  61. }
  62. func (x *ConfigureResponse) Reset() {
  63. *x = ConfigureResponse{}
  64. mi := &file_mount_proto_msgTypes[1]
  65. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  66. ms.StoreMessageInfo(mi)
  67. }
  68. func (x *ConfigureResponse) String() string {
  69. return protoimpl.X.MessageStringOf(x)
  70. }
  71. func (*ConfigureResponse) ProtoMessage() {}
  72. func (x *ConfigureResponse) ProtoReflect() protoreflect.Message {
  73. mi := &file_mount_proto_msgTypes[1]
  74. if x != nil {
  75. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  76. if ms.LoadMessageInfo() == nil {
  77. ms.StoreMessageInfo(mi)
  78. }
  79. return ms
  80. }
  81. return mi.MessageOf(x)
  82. }
  83. // Deprecated: Use ConfigureResponse.ProtoReflect.Descriptor instead.
  84. func (*ConfigureResponse) Descriptor() ([]byte, []int) {
  85. return file_mount_proto_rawDescGZIP(), []int{1}
  86. }
  87. var File_mount_proto protoreflect.FileDescriptor
  88. const file_mount_proto_rawDesc = "" +
  89. "\n" +
  90. "\vmount.proto\x12\fmessaging_pb\"C\n" +
  91. "\x10ConfigureRequest\x12/\n" +
  92. "\x13collection_capacity\x18\x01 \x01(\x03R\x12collectionCapacity\"\x13\n" +
  93. "\x11ConfigureResponse2^\n" +
  94. "\fSeaweedMount\x12N\n" +
  95. "\tConfigure\x12\x1e.messaging_pb.ConfigureRequest\x1a\x1f.messaging_pb.ConfigureResponse\"\x00BO\n" +
  96. "\x10seaweedfs.clientB\n" +
  97. "MountProtoZ/github.com/seaweedfs/seaweedfs/weed/pb/mount_pbb\x06proto3"
  98. var (
  99. file_mount_proto_rawDescOnce sync.Once
  100. file_mount_proto_rawDescData []byte
  101. )
  102. func file_mount_proto_rawDescGZIP() []byte {
  103. file_mount_proto_rawDescOnce.Do(func() {
  104. file_mount_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_mount_proto_rawDesc), len(file_mount_proto_rawDesc)))
  105. })
  106. return file_mount_proto_rawDescData
  107. }
  108. var file_mount_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  109. var file_mount_proto_goTypes = []any{
  110. (*ConfigureRequest)(nil), // 0: messaging_pb.ConfigureRequest
  111. (*ConfigureResponse)(nil), // 1: messaging_pb.ConfigureResponse
  112. }
  113. var file_mount_proto_depIdxs = []int32{
  114. 0, // 0: messaging_pb.SeaweedMount.Configure:input_type -> messaging_pb.ConfigureRequest
  115. 1, // 1: messaging_pb.SeaweedMount.Configure:output_type -> messaging_pb.ConfigureResponse
  116. 1, // [1:2] is the sub-list for method output_type
  117. 0, // [0:1] is the sub-list for method input_type
  118. 0, // [0:0] is the sub-list for extension type_name
  119. 0, // [0:0] is the sub-list for extension extendee
  120. 0, // [0:0] is the sub-list for field type_name
  121. }
  122. func init() { file_mount_proto_init() }
  123. func file_mount_proto_init() {
  124. if File_mount_proto != nil {
  125. return
  126. }
  127. type x struct{}
  128. out := protoimpl.TypeBuilder{
  129. File: protoimpl.DescBuilder{
  130. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  131. RawDescriptor: unsafe.Slice(unsafe.StringData(file_mount_proto_rawDesc), len(file_mount_proto_rawDesc)),
  132. NumEnums: 0,
  133. NumMessages: 2,
  134. NumExtensions: 0,
  135. NumServices: 1,
  136. },
  137. GoTypes: file_mount_proto_goTypes,
  138. DependencyIndexes: file_mount_proto_depIdxs,
  139. MessageInfos: file_mount_proto_msgTypes,
  140. }.Build()
  141. File_mount_proto = out.File
  142. file_mount_proto_goTypes = nil
  143. file_mount_proto_depIdxs = nil
  144. }