You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
166 lines
4.9 KiB
166 lines
4.9 KiB
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.6
|
|
// protoc v5.29.3
|
|
// source: mount.proto
|
|
|
|
package mount_pb
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type ConfigureRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
CollectionCapacity int64 `protobuf:"varint,1,opt,name=collection_capacity,json=collectionCapacity,proto3" json:"collection_capacity,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ConfigureRequest) Reset() {
|
|
*x = ConfigureRequest{}
|
|
mi := &file_mount_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ConfigureRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConfigureRequest) ProtoMessage() {}
|
|
|
|
func (x *ConfigureRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mount_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ConfigureRequest.ProtoReflect.Descriptor instead.
|
|
func (*ConfigureRequest) Descriptor() ([]byte, []int) {
|
|
return file_mount_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *ConfigureRequest) GetCollectionCapacity() int64 {
|
|
if x != nil {
|
|
return x.CollectionCapacity
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ConfigureResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ConfigureResponse) Reset() {
|
|
*x = ConfigureResponse{}
|
|
mi := &file_mount_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ConfigureResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConfigureResponse) ProtoMessage() {}
|
|
|
|
func (x *ConfigureResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mount_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ConfigureResponse.ProtoReflect.Descriptor instead.
|
|
func (*ConfigureResponse) Descriptor() ([]byte, []int) {
|
|
return file_mount_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
var File_mount_proto protoreflect.FileDescriptor
|
|
|
|
const file_mount_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\vmount.proto\x12\fmessaging_pb\"C\n" +
|
|
"\x10ConfigureRequest\x12/\n" +
|
|
"\x13collection_capacity\x18\x01 \x01(\x03R\x12collectionCapacity\"\x13\n" +
|
|
"\x11ConfigureResponse2^\n" +
|
|
"\fSeaweedMount\x12N\n" +
|
|
"\tConfigure\x12\x1e.messaging_pb.ConfigureRequest\x1a\x1f.messaging_pb.ConfigureResponse\"\x00BO\n" +
|
|
"\x10seaweedfs.clientB\n" +
|
|
"MountProtoZ/github.com/seaweedfs/seaweedfs/weed/pb/mount_pbb\x06proto3"
|
|
|
|
var (
|
|
file_mount_proto_rawDescOnce sync.Once
|
|
file_mount_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_mount_proto_rawDescGZIP() []byte {
|
|
file_mount_proto_rawDescOnce.Do(func() {
|
|
file_mount_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_mount_proto_rawDesc), len(file_mount_proto_rawDesc)))
|
|
})
|
|
return file_mount_proto_rawDescData
|
|
}
|
|
|
|
var file_mount_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
|
var file_mount_proto_goTypes = []any{
|
|
(*ConfigureRequest)(nil), // 0: messaging_pb.ConfigureRequest
|
|
(*ConfigureResponse)(nil), // 1: messaging_pb.ConfigureResponse
|
|
}
|
|
var file_mount_proto_depIdxs = []int32{
|
|
0, // 0: messaging_pb.SeaweedMount.Configure:input_type -> messaging_pb.ConfigureRequest
|
|
1, // 1: messaging_pb.SeaweedMount.Configure:output_type -> messaging_pb.ConfigureResponse
|
|
1, // [1:2] is the sub-list for method output_type
|
|
0, // [0:1] is the sub-list for method input_type
|
|
0, // [0:0] is the sub-list for extension type_name
|
|
0, // [0:0] is the sub-list for extension extendee
|
|
0, // [0:0] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_mount_proto_init() }
|
|
func file_mount_proto_init() {
|
|
if File_mount_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_mount_proto_rawDesc), len(file_mount_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 2,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_mount_proto_goTypes,
|
|
DependencyIndexes: file_mount_proto_depIdxs,
|
|
MessageInfos: file_mount_proto_msgTypes,
|
|
}.Build()
|
|
File_mount_proto = out.File
|
|
file_mount_proto_goTypes = nil
|
|
file_mount_proto_depIdxs = nil
|
|
}
|