Raw descriptor bytes in .pb.go files were corrupted by the sed-based module path rename (string length changed, breaking protobuf binary encoding). Regenerated with protoc to fix. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1110 lines
35 KiB
Go
1110 lines
35 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v6.32.1
|
|
// source: proto/metacrypt/v2/user.proto
|
|
|
|
package metacryptv2
|
|
|
|
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 UserRegisterRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserRegisterRequest) Reset() {
|
|
*x = UserRegisterRequest{}
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserRegisterRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserRegisterRequest) ProtoMessage() {}
|
|
|
|
func (x *UserRegisterRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_metacrypt_v2_user_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 UserRegisterRequest.ProtoReflect.Descriptor instead.
|
|
func (*UserRegisterRequest) Descriptor() ([]byte, []int) {
|
|
return file_proto_metacrypt_v2_user_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *UserRegisterRequest) GetMount() string {
|
|
if x != nil {
|
|
return x.Mount
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserRegisterResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
|
Algorithm string `protobuf:"bytes,3,opt,name=algorithm,proto3" json:"algorithm,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserRegisterResponse) Reset() {
|
|
*x = UserRegisterResponse{}
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserRegisterResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserRegisterResponse) ProtoMessage() {}
|
|
|
|
func (x *UserRegisterResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_metacrypt_v2_user_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 UserRegisterResponse.ProtoReflect.Descriptor instead.
|
|
func (*UserRegisterResponse) Descriptor() ([]byte, []int) {
|
|
return file_proto_metacrypt_v2_user_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *UserRegisterResponse) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserRegisterResponse) GetPublicKey() string {
|
|
if x != nil {
|
|
return x.PublicKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserRegisterResponse) GetAlgorithm() string {
|
|
if x != nil {
|
|
return x.Algorithm
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserProvisionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"`
|
|
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserProvisionRequest) Reset() {
|
|
*x = UserProvisionRequest{}
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserProvisionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserProvisionRequest) ProtoMessage() {}
|
|
|
|
func (x *UserProvisionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_metacrypt_v2_user_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 UserProvisionRequest.ProtoReflect.Descriptor instead.
|
|
func (*UserProvisionRequest) Descriptor() ([]byte, []int) {
|
|
return file_proto_metacrypt_v2_user_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *UserProvisionRequest) GetMount() string {
|
|
if x != nil {
|
|
return x.Mount
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserProvisionRequest) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserProvisionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
|
Algorithm string `protobuf:"bytes,3,opt,name=algorithm,proto3" json:"algorithm,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserProvisionResponse) Reset() {
|
|
*x = UserProvisionResponse{}
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserProvisionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserProvisionResponse) ProtoMessage() {}
|
|
|
|
func (x *UserProvisionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[3]
|
|
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 UserProvisionResponse.ProtoReflect.Descriptor instead.
|
|
func (*UserProvisionResponse) Descriptor() ([]byte, []int) {
|
|
return file_proto_metacrypt_v2_user_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *UserProvisionResponse) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserProvisionResponse) GetPublicKey() string {
|
|
if x != nil {
|
|
return x.PublicKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserProvisionResponse) GetAlgorithm() string {
|
|
if x != nil {
|
|
return x.Algorithm
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserGetPublicKeyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"`
|
|
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserGetPublicKeyRequest) Reset() {
|
|
*x = UserGetPublicKeyRequest{}
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserGetPublicKeyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserGetPublicKeyRequest) ProtoMessage() {}
|
|
|
|
func (x *UserGetPublicKeyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[4]
|
|
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 UserGetPublicKeyRequest.ProtoReflect.Descriptor instead.
|
|
func (*UserGetPublicKeyRequest) Descriptor() ([]byte, []int) {
|
|
return file_proto_metacrypt_v2_user_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *UserGetPublicKeyRequest) GetMount() string {
|
|
if x != nil {
|
|
return x.Mount
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserGetPublicKeyRequest) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserGetPublicKeyResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
|
Algorithm string `protobuf:"bytes,3,opt,name=algorithm,proto3" json:"algorithm,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserGetPublicKeyResponse) Reset() {
|
|
*x = UserGetPublicKeyResponse{}
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserGetPublicKeyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserGetPublicKeyResponse) ProtoMessage() {}
|
|
|
|
func (x *UserGetPublicKeyResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[5]
|
|
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 UserGetPublicKeyResponse.ProtoReflect.Descriptor instead.
|
|
func (*UserGetPublicKeyResponse) Descriptor() ([]byte, []int) {
|
|
return file_proto_metacrypt_v2_user_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *UserGetPublicKeyResponse) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserGetPublicKeyResponse) GetPublicKey() string {
|
|
if x != nil {
|
|
return x.PublicKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserGetPublicKeyResponse) GetAlgorithm() string {
|
|
if x != nil {
|
|
return x.Algorithm
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserListUsersRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserListUsersRequest) Reset() {
|
|
*x = UserListUsersRequest{}
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserListUsersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserListUsersRequest) ProtoMessage() {}
|
|
|
|
func (x *UserListUsersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[6]
|
|
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 UserListUsersRequest.ProtoReflect.Descriptor instead.
|
|
func (*UserListUsersRequest) Descriptor() ([]byte, []int) {
|
|
return file_proto_metacrypt_v2_user_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *UserListUsersRequest) GetMount() string {
|
|
if x != nil {
|
|
return x.Mount
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserListUsersResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Users []string `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserListUsersResponse) Reset() {
|
|
*x = UserListUsersResponse{}
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserListUsersResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserListUsersResponse) ProtoMessage() {}
|
|
|
|
func (x *UserListUsersResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[7]
|
|
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 UserListUsersResponse.ProtoReflect.Descriptor instead.
|
|
func (*UserListUsersResponse) Descriptor() ([]byte, []int) {
|
|
return file_proto_metacrypt_v2_user_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *UserListUsersResponse) GetUsers() []string {
|
|
if x != nil {
|
|
return x.Users
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UserEncryptRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"`
|
|
Plaintext string `protobuf:"bytes,2,opt,name=plaintext,proto3" json:"plaintext,omitempty"`
|
|
Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
|
|
Recipients []string `protobuf:"bytes,4,rep,name=recipients,proto3" json:"recipients,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserEncryptRequest) Reset() {
|
|
*x = UserEncryptRequest{}
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserEncryptRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserEncryptRequest) ProtoMessage() {}
|
|
|
|
func (x *UserEncryptRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[8]
|
|
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 UserEncryptRequest.ProtoReflect.Descriptor instead.
|
|
func (*UserEncryptRequest) Descriptor() ([]byte, []int) {
|
|
return file_proto_metacrypt_v2_user_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *UserEncryptRequest) GetMount() string {
|
|
if x != nil {
|
|
return x.Mount
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserEncryptRequest) GetPlaintext() string {
|
|
if x != nil {
|
|
return x.Plaintext
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserEncryptRequest) GetMetadata() string {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserEncryptRequest) GetRecipients() []string {
|
|
if x != nil {
|
|
return x.Recipients
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UserEncryptResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Envelope string `protobuf:"bytes,1,opt,name=envelope,proto3" json:"envelope,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserEncryptResponse) Reset() {
|
|
*x = UserEncryptResponse{}
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserEncryptResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserEncryptResponse) ProtoMessage() {}
|
|
|
|
func (x *UserEncryptResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[9]
|
|
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 UserEncryptResponse.ProtoReflect.Descriptor instead.
|
|
func (*UserEncryptResponse) Descriptor() ([]byte, []int) {
|
|
return file_proto_metacrypt_v2_user_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *UserEncryptResponse) GetEnvelope() string {
|
|
if x != nil {
|
|
return x.Envelope
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserDecryptRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"`
|
|
Envelope string `protobuf:"bytes,2,opt,name=envelope,proto3" json:"envelope,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserDecryptRequest) Reset() {
|
|
*x = UserDecryptRequest{}
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserDecryptRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserDecryptRequest) ProtoMessage() {}
|
|
|
|
func (x *UserDecryptRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[10]
|
|
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 UserDecryptRequest.ProtoReflect.Descriptor instead.
|
|
func (*UserDecryptRequest) Descriptor() ([]byte, []int) {
|
|
return file_proto_metacrypt_v2_user_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *UserDecryptRequest) GetMount() string {
|
|
if x != nil {
|
|
return x.Mount
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserDecryptRequest) GetEnvelope() string {
|
|
if x != nil {
|
|
return x.Envelope
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserDecryptResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plaintext string `protobuf:"bytes,1,opt,name=plaintext,proto3" json:"plaintext,omitempty"`
|
|
Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
|
|
Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserDecryptResponse) Reset() {
|
|
*x = UserDecryptResponse{}
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserDecryptResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserDecryptResponse) ProtoMessage() {}
|
|
|
|
func (x *UserDecryptResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[11]
|
|
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 UserDecryptResponse.ProtoReflect.Descriptor instead.
|
|
func (*UserDecryptResponse) Descriptor() ([]byte, []int) {
|
|
return file_proto_metacrypt_v2_user_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *UserDecryptResponse) GetPlaintext() string {
|
|
if x != nil {
|
|
return x.Plaintext
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserDecryptResponse) GetSender() string {
|
|
if x != nil {
|
|
return x.Sender
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserDecryptResponse) GetMetadata() string {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserReEncryptRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"`
|
|
Envelope string `protobuf:"bytes,2,opt,name=envelope,proto3" json:"envelope,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserReEncryptRequest) Reset() {
|
|
*x = UserReEncryptRequest{}
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserReEncryptRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserReEncryptRequest) ProtoMessage() {}
|
|
|
|
func (x *UserReEncryptRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[12]
|
|
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 UserReEncryptRequest.ProtoReflect.Descriptor instead.
|
|
func (*UserReEncryptRequest) Descriptor() ([]byte, []int) {
|
|
return file_proto_metacrypt_v2_user_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *UserReEncryptRequest) GetMount() string {
|
|
if x != nil {
|
|
return x.Mount
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserReEncryptRequest) GetEnvelope() string {
|
|
if x != nil {
|
|
return x.Envelope
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserReEncryptResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Envelope string `protobuf:"bytes,1,opt,name=envelope,proto3" json:"envelope,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserReEncryptResponse) Reset() {
|
|
*x = UserReEncryptResponse{}
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserReEncryptResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserReEncryptResponse) ProtoMessage() {}
|
|
|
|
func (x *UserReEncryptResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[13]
|
|
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 UserReEncryptResponse.ProtoReflect.Descriptor instead.
|
|
func (*UserReEncryptResponse) Descriptor() ([]byte, []int) {
|
|
return file_proto_metacrypt_v2_user_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *UserReEncryptResponse) GetEnvelope() string {
|
|
if x != nil {
|
|
return x.Envelope
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserRotateKeyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserRotateKeyRequest) Reset() {
|
|
*x = UserRotateKeyRequest{}
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserRotateKeyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserRotateKeyRequest) ProtoMessage() {}
|
|
|
|
func (x *UserRotateKeyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[14]
|
|
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 UserRotateKeyRequest.ProtoReflect.Descriptor instead.
|
|
func (*UserRotateKeyRequest) Descriptor() ([]byte, []int) {
|
|
return file_proto_metacrypt_v2_user_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *UserRotateKeyRequest) GetMount() string {
|
|
if x != nil {
|
|
return x.Mount
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserRotateKeyResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
|
Algorithm string `protobuf:"bytes,3,opt,name=algorithm,proto3" json:"algorithm,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserRotateKeyResponse) Reset() {
|
|
*x = UserRotateKeyResponse{}
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserRotateKeyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserRotateKeyResponse) ProtoMessage() {}
|
|
|
|
func (x *UserRotateKeyResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[15]
|
|
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 UserRotateKeyResponse.ProtoReflect.Descriptor instead.
|
|
func (*UserRotateKeyResponse) Descriptor() ([]byte, []int) {
|
|
return file_proto_metacrypt_v2_user_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *UserRotateKeyResponse) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserRotateKeyResponse) GetPublicKey() string {
|
|
if x != nil {
|
|
return x.PublicKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserRotateKeyResponse) GetAlgorithm() string {
|
|
if x != nil {
|
|
return x.Algorithm
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserDeleteUserRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"`
|
|
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserDeleteUserRequest) Reset() {
|
|
*x = UserDeleteUserRequest{}
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserDeleteUserRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserDeleteUserRequest) ProtoMessage() {}
|
|
|
|
func (x *UserDeleteUserRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[16]
|
|
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 UserDeleteUserRequest.ProtoReflect.Descriptor instead.
|
|
func (*UserDeleteUserRequest) Descriptor() ([]byte, []int) {
|
|
return file_proto_metacrypt_v2_user_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *UserDeleteUserRequest) GetMount() string {
|
|
if x != nil {
|
|
return x.Mount
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserDeleteUserRequest) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserDeleteUserResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserDeleteUserResponse) Reset() {
|
|
*x = UserDeleteUserResponse{}
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserDeleteUserResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserDeleteUserResponse) ProtoMessage() {}
|
|
|
|
func (x *UserDeleteUserResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_metacrypt_v2_user_proto_msgTypes[17]
|
|
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 UserDeleteUserResponse.ProtoReflect.Descriptor instead.
|
|
func (*UserDeleteUserResponse) Descriptor() ([]byte, []int) {
|
|
return file_proto_metacrypt_v2_user_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
var File_proto_metacrypt_v2_user_proto protoreflect.FileDescriptor
|
|
|
|
const file_proto_metacrypt_v2_user_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x1dproto/metacrypt/v2/user.proto\x12\fmetacrypt.v2\"+\n" +
|
|
"\x13UserRegisterRequest\x12\x14\n" +
|
|
"\x05mount\x18\x01 \x01(\tR\x05mount\"o\n" +
|
|
"\x14UserRegisterResponse\x12\x1a\n" +
|
|
"\busername\x18\x01 \x01(\tR\busername\x12\x1d\n" +
|
|
"\n" +
|
|
"public_key\x18\x02 \x01(\tR\tpublicKey\x12\x1c\n" +
|
|
"\talgorithm\x18\x03 \x01(\tR\talgorithm\"H\n" +
|
|
"\x14UserProvisionRequest\x12\x14\n" +
|
|
"\x05mount\x18\x01 \x01(\tR\x05mount\x12\x1a\n" +
|
|
"\busername\x18\x02 \x01(\tR\busername\"p\n" +
|
|
"\x15UserProvisionResponse\x12\x1a\n" +
|
|
"\busername\x18\x01 \x01(\tR\busername\x12\x1d\n" +
|
|
"\n" +
|
|
"public_key\x18\x02 \x01(\tR\tpublicKey\x12\x1c\n" +
|
|
"\talgorithm\x18\x03 \x01(\tR\talgorithm\"K\n" +
|
|
"\x17UserGetPublicKeyRequest\x12\x14\n" +
|
|
"\x05mount\x18\x01 \x01(\tR\x05mount\x12\x1a\n" +
|
|
"\busername\x18\x02 \x01(\tR\busername\"s\n" +
|
|
"\x18UserGetPublicKeyResponse\x12\x1a\n" +
|
|
"\busername\x18\x01 \x01(\tR\busername\x12\x1d\n" +
|
|
"\n" +
|
|
"public_key\x18\x02 \x01(\tR\tpublicKey\x12\x1c\n" +
|
|
"\talgorithm\x18\x03 \x01(\tR\talgorithm\",\n" +
|
|
"\x14UserListUsersRequest\x12\x14\n" +
|
|
"\x05mount\x18\x01 \x01(\tR\x05mount\"-\n" +
|
|
"\x15UserListUsersResponse\x12\x14\n" +
|
|
"\x05users\x18\x01 \x03(\tR\x05users\"\x84\x01\n" +
|
|
"\x12UserEncryptRequest\x12\x14\n" +
|
|
"\x05mount\x18\x01 \x01(\tR\x05mount\x12\x1c\n" +
|
|
"\tplaintext\x18\x02 \x01(\tR\tplaintext\x12\x1a\n" +
|
|
"\bmetadata\x18\x03 \x01(\tR\bmetadata\x12\x1e\n" +
|
|
"\n" +
|
|
"recipients\x18\x04 \x03(\tR\n" +
|
|
"recipients\"1\n" +
|
|
"\x13UserEncryptResponse\x12\x1a\n" +
|
|
"\benvelope\x18\x01 \x01(\tR\benvelope\"F\n" +
|
|
"\x12UserDecryptRequest\x12\x14\n" +
|
|
"\x05mount\x18\x01 \x01(\tR\x05mount\x12\x1a\n" +
|
|
"\benvelope\x18\x02 \x01(\tR\benvelope\"g\n" +
|
|
"\x13UserDecryptResponse\x12\x1c\n" +
|
|
"\tplaintext\x18\x01 \x01(\tR\tplaintext\x12\x16\n" +
|
|
"\x06sender\x18\x02 \x01(\tR\x06sender\x12\x1a\n" +
|
|
"\bmetadata\x18\x03 \x01(\tR\bmetadata\"H\n" +
|
|
"\x14UserReEncryptRequest\x12\x14\n" +
|
|
"\x05mount\x18\x01 \x01(\tR\x05mount\x12\x1a\n" +
|
|
"\benvelope\x18\x02 \x01(\tR\benvelope\"3\n" +
|
|
"\x15UserReEncryptResponse\x12\x1a\n" +
|
|
"\benvelope\x18\x01 \x01(\tR\benvelope\",\n" +
|
|
"\x14UserRotateKeyRequest\x12\x14\n" +
|
|
"\x05mount\x18\x01 \x01(\tR\x05mount\"p\n" +
|
|
"\x15UserRotateKeyResponse\x12\x1a\n" +
|
|
"\busername\x18\x01 \x01(\tR\busername\x12\x1d\n" +
|
|
"\n" +
|
|
"public_key\x18\x02 \x01(\tR\tpublicKey\x12\x1c\n" +
|
|
"\talgorithm\x18\x03 \x01(\tR\talgorithm\"I\n" +
|
|
"\x15UserDeleteUserRequest\x12\x14\n" +
|
|
"\x05mount\x18\x01 \x01(\tR\x05mount\x12\x1a\n" +
|
|
"\busername\x18\x02 \x01(\tR\busername\"\x18\n" +
|
|
"\x16UserDeleteUserResponse2\x90\x06\n" +
|
|
"\vUserService\x12Q\n" +
|
|
"\bRegister\x12!.metacrypt.v2.UserRegisterRequest\x1a\".metacrypt.v2.UserRegisterResponse\x12T\n" +
|
|
"\tProvision\x12\".metacrypt.v2.UserProvisionRequest\x1a#.metacrypt.v2.UserProvisionResponse\x12]\n" +
|
|
"\fGetPublicKey\x12%.metacrypt.v2.UserGetPublicKeyRequest\x1a&.metacrypt.v2.UserGetPublicKeyResponse\x12T\n" +
|
|
"\tListUsers\x12\".metacrypt.v2.UserListUsersRequest\x1a#.metacrypt.v2.UserListUsersResponse\x12N\n" +
|
|
"\aEncrypt\x12 .metacrypt.v2.UserEncryptRequest\x1a!.metacrypt.v2.UserEncryptResponse\x12N\n" +
|
|
"\aDecrypt\x12 .metacrypt.v2.UserDecryptRequest\x1a!.metacrypt.v2.UserDecryptResponse\x12T\n" +
|
|
"\tReEncrypt\x12\".metacrypt.v2.UserReEncryptRequest\x1a#.metacrypt.v2.UserReEncryptResponse\x12T\n" +
|
|
"\tRotateKey\x12\".metacrypt.v2.UserRotateKeyRequest\x1a#.metacrypt.v2.UserRotateKeyResponse\x12W\n" +
|
|
"\n" +
|
|
"DeleteUser\x12#.metacrypt.v2.UserDeleteUserRequest\x1a$.metacrypt.v2.UserDeleteUserResponseB<Z:git.wntrmute.dev/mc/metacrypt/gen/metacrypt/v2;metacryptv2b\x06proto3"
|
|
|
|
var (
|
|
file_proto_metacrypt_v2_user_proto_rawDescOnce sync.Once
|
|
file_proto_metacrypt_v2_user_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_proto_metacrypt_v2_user_proto_rawDescGZIP() []byte {
|
|
file_proto_metacrypt_v2_user_proto_rawDescOnce.Do(func() {
|
|
file_proto_metacrypt_v2_user_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_proto_metacrypt_v2_user_proto_rawDesc), len(file_proto_metacrypt_v2_user_proto_rawDesc)))
|
|
})
|
|
return file_proto_metacrypt_v2_user_proto_rawDescData
|
|
}
|
|
|
|
var file_proto_metacrypt_v2_user_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
|
|
var file_proto_metacrypt_v2_user_proto_goTypes = []any{
|
|
(*UserRegisterRequest)(nil), // 0: metacrypt.v2.UserRegisterRequest
|
|
(*UserRegisterResponse)(nil), // 1: metacrypt.v2.UserRegisterResponse
|
|
(*UserProvisionRequest)(nil), // 2: metacrypt.v2.UserProvisionRequest
|
|
(*UserProvisionResponse)(nil), // 3: metacrypt.v2.UserProvisionResponse
|
|
(*UserGetPublicKeyRequest)(nil), // 4: metacrypt.v2.UserGetPublicKeyRequest
|
|
(*UserGetPublicKeyResponse)(nil), // 5: metacrypt.v2.UserGetPublicKeyResponse
|
|
(*UserListUsersRequest)(nil), // 6: metacrypt.v2.UserListUsersRequest
|
|
(*UserListUsersResponse)(nil), // 7: metacrypt.v2.UserListUsersResponse
|
|
(*UserEncryptRequest)(nil), // 8: metacrypt.v2.UserEncryptRequest
|
|
(*UserEncryptResponse)(nil), // 9: metacrypt.v2.UserEncryptResponse
|
|
(*UserDecryptRequest)(nil), // 10: metacrypt.v2.UserDecryptRequest
|
|
(*UserDecryptResponse)(nil), // 11: metacrypt.v2.UserDecryptResponse
|
|
(*UserReEncryptRequest)(nil), // 12: metacrypt.v2.UserReEncryptRequest
|
|
(*UserReEncryptResponse)(nil), // 13: metacrypt.v2.UserReEncryptResponse
|
|
(*UserRotateKeyRequest)(nil), // 14: metacrypt.v2.UserRotateKeyRequest
|
|
(*UserRotateKeyResponse)(nil), // 15: metacrypt.v2.UserRotateKeyResponse
|
|
(*UserDeleteUserRequest)(nil), // 16: metacrypt.v2.UserDeleteUserRequest
|
|
(*UserDeleteUserResponse)(nil), // 17: metacrypt.v2.UserDeleteUserResponse
|
|
}
|
|
var file_proto_metacrypt_v2_user_proto_depIdxs = []int32{
|
|
0, // 0: metacrypt.v2.UserService.Register:input_type -> metacrypt.v2.UserRegisterRequest
|
|
2, // 1: metacrypt.v2.UserService.Provision:input_type -> metacrypt.v2.UserProvisionRequest
|
|
4, // 2: metacrypt.v2.UserService.GetPublicKey:input_type -> metacrypt.v2.UserGetPublicKeyRequest
|
|
6, // 3: metacrypt.v2.UserService.ListUsers:input_type -> metacrypt.v2.UserListUsersRequest
|
|
8, // 4: metacrypt.v2.UserService.Encrypt:input_type -> metacrypt.v2.UserEncryptRequest
|
|
10, // 5: metacrypt.v2.UserService.Decrypt:input_type -> metacrypt.v2.UserDecryptRequest
|
|
12, // 6: metacrypt.v2.UserService.ReEncrypt:input_type -> metacrypt.v2.UserReEncryptRequest
|
|
14, // 7: metacrypt.v2.UserService.RotateKey:input_type -> metacrypt.v2.UserRotateKeyRequest
|
|
16, // 8: metacrypt.v2.UserService.DeleteUser:input_type -> metacrypt.v2.UserDeleteUserRequest
|
|
1, // 9: metacrypt.v2.UserService.Register:output_type -> metacrypt.v2.UserRegisterResponse
|
|
3, // 10: metacrypt.v2.UserService.Provision:output_type -> metacrypt.v2.UserProvisionResponse
|
|
5, // 11: metacrypt.v2.UserService.GetPublicKey:output_type -> metacrypt.v2.UserGetPublicKeyResponse
|
|
7, // 12: metacrypt.v2.UserService.ListUsers:output_type -> metacrypt.v2.UserListUsersResponse
|
|
9, // 13: metacrypt.v2.UserService.Encrypt:output_type -> metacrypt.v2.UserEncryptResponse
|
|
11, // 14: metacrypt.v2.UserService.Decrypt:output_type -> metacrypt.v2.UserDecryptResponse
|
|
13, // 15: metacrypt.v2.UserService.ReEncrypt:output_type -> metacrypt.v2.UserReEncryptResponse
|
|
15, // 16: metacrypt.v2.UserService.RotateKey:output_type -> metacrypt.v2.UserRotateKeyResponse
|
|
17, // 17: metacrypt.v2.UserService.DeleteUser:output_type -> metacrypt.v2.UserDeleteUserResponse
|
|
9, // [9:18] is the sub-list for method output_type
|
|
0, // [0:9] 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_proto_metacrypt_v2_user_proto_init() }
|
|
func file_proto_metacrypt_v2_user_proto_init() {
|
|
if File_proto_metacrypt_v2_user_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_proto_metacrypt_v2_user_proto_rawDesc), len(file_proto_metacrypt_v2_user_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 18,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_proto_metacrypt_v2_user_proto_goTypes,
|
|
DependencyIndexes: file_proto_metacrypt_v2_user_proto_depIdxs,
|
|
MessageInfos: file_proto_metacrypt_v2_user_proto_msgTypes,
|
|
}.Build()
|
|
File_proto_metacrypt_v2_user_proto = out.File
|
|
file_proto_metacrypt_v2_user_proto_goTypes = nil
|
|
file_proto_metacrypt_v2_user_proto_depIdxs = nil
|
|
}
|