// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.12 // protoc (unknown) // source: transport/internet/finalmask/xmc/config.proto package xmc 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 Profile struct { state protoimpl.MessageState `protogen:"open.v1"` // Resolve the UUID from https://api.mojang.com/users/profiles/minecraft/{username}. Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Uuid []byte `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` // Copy the signed textures property returned by // https://sessionserver.mojang.com/session/minecraft/profile/{uuid}?unsigned=false. TexturesValue string `protobuf:"bytes,3,opt,name=textures_value,json=texturesValue,proto3" json:"textures_value,omitempty"` TexturesSignature string `protobuf:"bytes,4,opt,name=textures_signature,json=texturesSignature,proto3" json:"textures_signature,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Profile) Reset() { *x = Profile{} mi := &file_transport_internet_finalmask_xmc_config_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Profile) String() string { return protoimpl.X.MessageStringOf(x) } func (*Profile) ProtoMessage() {} func (x *Profile) ProtoReflect() protoreflect.Message { mi := &file_transport_internet_finalmask_xmc_config_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 Profile.ProtoReflect.Descriptor instead. func (*Profile) Descriptor() ([]byte, []int) { return file_transport_internet_finalmask_xmc_config_proto_rawDescGZIP(), []int{0} } func (x *Profile) GetUsername() string { if x != nil { return x.Username } return "" } func (x *Profile) GetUuid() []byte { if x != nil { return x.Uuid } return nil } func (x *Profile) GetTexturesValue() string { if x != nil { return x.TexturesValue } return "" } func (x *Profile) GetTexturesSignature() string { if x != nil { return x.TexturesSignature } return "" } type Config struct { state protoimpl.MessageState `protogen:"open.v1"` Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` RsaPrivateKey []byte `protobuf:"bytes,8,opt,name=rsa_private_key,json=rsaPrivateKey,proto3" json:"rsa_private_key,omitempty"` RsaPublicKey []byte `protobuf:"bytes,9,opt,name=rsa_public_key,json=rsaPublicKey,proto3" json:"rsa_public_key,omitempty"` Hostname string `protobuf:"bytes,10,opt,name=hostname,proto3" json:"hostname,omitempty"` Profiles []*Profile `protobuf:"bytes,11,rep,name=profiles,proto3" json:"profiles,omitempty"` // Startup padding turns. Empty uses the built-in preset. Paddings []*Padding `protobuf:"bytes,12,rep,name=paddings,proto3" json:"paddings,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Config) Reset() { *x = Config{} mi := &file_transport_internet_finalmask_xmc_config_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Config) String() string { return protoimpl.X.MessageStringOf(x) } func (*Config) ProtoMessage() {} func (x *Config) ProtoReflect() protoreflect.Message { mi := &file_transport_internet_finalmask_xmc_config_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 Config.ProtoReflect.Descriptor instead. func (*Config) Descriptor() ([]byte, []int) { return file_transport_internet_finalmask_xmc_config_proto_rawDescGZIP(), []int{1} } func (x *Config) GetPassword() string { if x != nil { return x.Password } return "" } func (x *Config) GetRsaPrivateKey() []byte { if x != nil { return x.RsaPrivateKey } return nil } func (x *Config) GetRsaPublicKey() []byte { if x != nil { return x.RsaPublicKey } return nil } func (x *Config) GetHostname() string { if x != nil { return x.Hostname } return "" } func (x *Config) GetProfiles() []*Profile { if x != nil { return x.Profiles } return nil } func (x *Config) GetPaddings() []*Padding { if x != nil { return x.Paddings } return nil } type Padding struct { state protoimpl.MessageState `protogen:"open.v1"` LengthMin int64 `protobuf:"varint,1,opt,name=length_min,json=lengthMin,proto3" json:"length_min,omitempty"` LengthMax int64 `protobuf:"varint,2,opt,name=length_max,json=lengthMax,proto3" json:"length_max,omitempty"` // 1 = client to server, 2 = server to client Direction int32 `protobuf:"varint,3,opt,name=direction,proto3" json:"direction,omitempty"` // Millisecond pause after this turn, including the last one. The sender // waits for a uniformly selected value in [delay_min, delay_max]; the // receiver waits at least delay_min. Zero means no delay. DelayMin int64 `protobuf:"varint,4,opt,name=delay_min,json=delayMin,proto3" json:"delay_min,omitempty"` DelayMax int64 `protobuf:"varint,5,opt,name=delay_max,json=delayMax,proto3" json:"delay_max,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Padding) Reset() { *x = Padding{} mi := &file_transport_internet_finalmask_xmc_config_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Padding) String() string { return protoimpl.X.MessageStringOf(x) } func (*Padding) ProtoMessage() {} func (x *Padding) ProtoReflect() protoreflect.Message { mi := &file_transport_internet_finalmask_xmc_config_proto_msgTypes[2] 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 Padding.ProtoReflect.Descriptor instead. func (*Padding) Descriptor() ([]byte, []int) { return file_transport_internet_finalmask_xmc_config_proto_rawDescGZIP(), []int{2} } func (x *Padding) GetLengthMin() int64 { if x != nil { return x.LengthMin } return 0 } func (x *Padding) GetLengthMax() int64 { if x != nil { return x.LengthMax } return 0 } func (x *Padding) GetDirection() int32 { if x != nil { return x.Direction } return 0 } func (x *Padding) GetDelayMin() int64 { if x != nil { return x.DelayMin } return 0 } func (x *Padding) GetDelayMax() int64 { if x != nil { return x.DelayMax } return 0 } var File_transport_internet_finalmask_xmc_config_proto protoreflect.FileDescriptor const file_transport_internet_finalmask_xmc_config_proto_rawDesc = "" + "\n" + "-transport/internet/finalmask/xmc/config.proto\x12%xray.transport.internet.finalmask.xmc\"\x8f\x01\n" + "\aProfile\x12\x1a\n" + "\busername\x18\x01 \x01(\tR\busername\x12\x12\n" + "\x04uuid\x18\x02 \x01(\fR\x04uuid\x12%\n" + "\x0etextures_value\x18\x03 \x01(\tR\rtexturesValue\x12-\n" + "\x12textures_signature\x18\x04 \x01(\tR\x11texturesSignature\"\xac\x02\n" + "\x06Config\x12\x1a\n" + "\bpassword\x18\x01 \x01(\tR\bpassword\x12&\n" + "\x0frsa_private_key\x18\b \x01(\fR\rrsaPrivateKey\x12$\n" + "\x0ersa_public_key\x18\t \x01(\fR\frsaPublicKey\x12\x1a\n" + "\bhostname\x18\n" + " \x01(\tR\bhostname\x12J\n" + "\bprofiles\x18\v \x03(\v2..xray.transport.internet.finalmask.xmc.ProfileR\bprofiles\x12J\n" + "\bpaddings\x18\f \x03(\v2..xray.transport.internet.finalmask.xmc.PaddingR\bpaddingsJ\x04\b\x02\x10\x03\"\x9f\x01\n" + "\aPadding\x12\x1d\n" + "\n" + "length_min\x18\x01 \x01(\x03R\tlengthMin\x12\x1d\n" + "\n" + "length_max\x18\x02 \x01(\x03R\tlengthMax\x12\x1c\n" + "\tdirection\x18\x03 \x01(\x05R\tdirection\x12\x1b\n" + "\tdelay_min\x18\x04 \x01(\x03R\bdelayMin\x12\x1b\n" + "\tdelay_max\x18\x05 \x01(\x03R\bdelayMaxB\x91\x01\n" + ")com.xray.transport.internet.finalmask.xmcP\x01Z:github.com/xtls/xray-core/transport/internet/finalmask/xmc\xaa\x02%Xray.Transport.Internet.Finalmask.XMCb\x06proto3" var ( file_transport_internet_finalmask_xmc_config_proto_rawDescOnce sync.Once file_transport_internet_finalmask_xmc_config_proto_rawDescData []byte ) func file_transport_internet_finalmask_xmc_config_proto_rawDescGZIP() []byte { file_transport_internet_finalmask_xmc_config_proto_rawDescOnce.Do(func() { file_transport_internet_finalmask_xmc_config_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_transport_internet_finalmask_xmc_config_proto_rawDesc), len(file_transport_internet_finalmask_xmc_config_proto_rawDesc))) }) return file_transport_internet_finalmask_xmc_config_proto_rawDescData } var file_transport_internet_finalmask_xmc_config_proto_msgTypes = make([]protoimpl.MessageInfo, 3) var file_transport_internet_finalmask_xmc_config_proto_goTypes = []any{ (*Profile)(nil), // 0: xray.transport.internet.finalmask.xmc.Profile (*Config)(nil), // 1: xray.transport.internet.finalmask.xmc.Config (*Padding)(nil), // 2: xray.transport.internet.finalmask.xmc.Padding } var file_transport_internet_finalmask_xmc_config_proto_depIdxs = []int32{ 0, // 0: xray.transport.internet.finalmask.xmc.Config.profiles:type_name -> xray.transport.internet.finalmask.xmc.Profile 2, // 1: xray.transport.internet.finalmask.xmc.Config.paddings:type_name -> xray.transport.internet.finalmask.xmc.Padding 2, // [2:2] is the sub-list for method output_type 2, // [2:2] is the sub-list for method input_type 2, // [2:2] is the sub-list for extension type_name 2, // [2:2] is the sub-list for extension extendee 0, // [0:2] is the sub-list for field type_name } func init() { file_transport_internet_finalmask_xmc_config_proto_init() } func file_transport_internet_finalmask_xmc_config_proto_init() { if File_transport_internet_finalmask_xmc_config_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_transport_internet_finalmask_xmc_config_proto_rawDesc), len(file_transport_internet_finalmask_xmc_config_proto_rawDesc)), NumEnums: 0, NumMessages: 3, NumExtensions: 0, NumServices: 0, }, GoTypes: file_transport_internet_finalmask_xmc_config_proto_goTypes, DependencyIndexes: file_transport_internet_finalmask_xmc_config_proto_depIdxs, MessageInfos: file_transport_internet_finalmask_xmc_config_proto_msgTypes, }.Build() File_transport_internet_finalmask_xmc_config_proto = out.File file_transport_internet_finalmask_xmc_config_proto_goTypes = nil file_transport_internet_finalmask_xmc_config_proto_depIdxs = nil }