userspb

package
v0.0.0-...-26a0239 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Api_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "userspb.Api",
	HandlerType: (*ApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "FindOneCustomer",
			Handler:    _Api_FindOneCustomer_Handler,
		},
		{
			MethodName: "FindOneOwner",
			Handler:    _Api_FindOneOwner_Handler,
		},
		{
			MethodName: "FindOneCustomerCredentials",
			Handler:    _Api_FindOneCustomerCredentials_Handler,
		},
		{
			MethodName: "FindOneOwnerCredentials",
			Handler:    _Api_FindOneOwnerCredentials_Handler,
		},
		{
			MethodName: "AddCustomer",
			Handler:    _Api_AddCustomer_Handler,
		},
		{
			MethodName: "AddOwner",
			Handler:    _Api_AddOwner_Handler,
		},
		{
			MethodName: "AddOwnedCompany",
			Handler:    _Api_AddOwnedCompany_Handler,
		},
		{
			MethodName: "DeleteOwnedCompany",
			Handler:    _Api_DeleteOwnedCompany_Handler,
		},
		{
			MethodName: "UpdateCustomer",
			Handler:    _Api_UpdateCustomer_Handler,
		},
		{
			MethodName: "UpdateOwner",
			Handler:    _Api_UpdateOwner_Handler,
		},
		{
			MethodName: "DeleteCustomer",
			Handler:    _Api_DeleteCustomer_Handler,
		},
		{
			MethodName: "DeleteOwner",
			Handler:    _Api_DeleteOwner_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "userspb.proto",
}

Api_ServiceDesc is the grpc.ServiceDesc for Api service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_userspb_proto protoreflect.FileDescriptor

Functions

func RegisterApiServer

func RegisterApiServer(s grpc.ServiceRegistrar, srv ApiServer)

Types

type AddCustomerRequest

type AddCustomerRequest struct {
	Mail      *string `protobuf:"bytes,1,opt,name=mail,proto3,oneof" json:"mail,omitempty"`
	HashedPwd *string `protobuf:"bytes,2,opt,name=hashed_pwd,json=hashedPwd,proto3,oneof" json:"hashed_pwd,omitempty"`
	Name      *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Surname   *string `protobuf:"bytes,4,opt,name=surname,proto3,oneof" json:"surname,omitempty"`
	// contains filtered or unexported fields
}

func (*AddCustomerRequest) Descriptor deprecated

func (*AddCustomerRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddCustomerRequest.ProtoReflect.Descriptor instead.

func (*AddCustomerRequest) GetHashedPwd

func (x *AddCustomerRequest) GetHashedPwd() string

func (*AddCustomerRequest) GetMail

func (x *AddCustomerRequest) GetMail() string

func (*AddCustomerRequest) GetName

func (x *AddCustomerRequest) GetName() string

func (*AddCustomerRequest) GetSurname

func (x *AddCustomerRequest) GetSurname() string

func (*AddCustomerRequest) ProtoMessage

func (*AddCustomerRequest) ProtoMessage()

func (*AddCustomerRequest) ProtoReflect

func (x *AddCustomerRequest) ProtoReflect() protoreflect.Message

func (*AddCustomerRequest) Reset

func (x *AddCustomerRequest) Reset()

func (*AddCustomerRequest) String

func (x *AddCustomerRequest) String() string

type AddOwnedCompanyRequest

type AddOwnedCompanyRequest struct {
	Id        *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	CompanyId *string `protobuf:"bytes,2,opt,name=company_id,json=companyId,proto3,oneof" json:"company_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AddOwnedCompanyRequest) Descriptor deprecated

func (*AddOwnedCompanyRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddOwnedCompanyRequest.ProtoReflect.Descriptor instead.

func (*AddOwnedCompanyRequest) GetCompanyId

func (x *AddOwnedCompanyRequest) GetCompanyId() string

func (*AddOwnedCompanyRequest) GetId

func (x *AddOwnedCompanyRequest) GetId() string

func (*AddOwnedCompanyRequest) ProtoMessage

func (*AddOwnedCompanyRequest) ProtoMessage()

func (*AddOwnedCompanyRequest) ProtoReflect

func (x *AddOwnedCompanyRequest) ProtoReflect() protoreflect.Message

func (*AddOwnedCompanyRequest) Reset

func (x *AddOwnedCompanyRequest) Reset()

func (*AddOwnedCompanyRequest) String

func (x *AddOwnedCompanyRequest) String() string

type AddOwnerRequest

type AddOwnerRequest struct {
	Mail      *string `protobuf:"bytes,1,opt,name=mail,proto3,oneof" json:"mail,omitempty"`
	HashedPwd *string `protobuf:"bytes,2,opt,name=hashed_pwd,json=hashedPwd,proto3,oneof" json:"hashed_pwd,omitempty"`
	Name      *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Surname   *string `protobuf:"bytes,4,opt,name=surname,proto3,oneof" json:"surname,omitempty"`
	// contains filtered or unexported fields
}

func (*AddOwnerRequest) Descriptor deprecated

func (*AddOwnerRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddOwnerRequest.ProtoReflect.Descriptor instead.

func (*AddOwnerRequest) GetHashedPwd

func (x *AddOwnerRequest) GetHashedPwd() string

func (*AddOwnerRequest) GetMail

func (x *AddOwnerRequest) GetMail() string

func (*AddOwnerRequest) GetName

func (x *AddOwnerRequest) GetName() string

func (*AddOwnerRequest) GetSurname

func (x *AddOwnerRequest) GetSurname() string

func (*AddOwnerRequest) ProtoMessage

func (*AddOwnerRequest) ProtoMessage()

func (*AddOwnerRequest) ProtoReflect

func (x *AddOwnerRequest) ProtoReflect() protoreflect.Message

func (*AddOwnerRequest) Reset

func (x *AddOwnerRequest) Reset()

func (*AddOwnerRequest) String

func (x *AddOwnerRequest) String() string

type ApiClient

type ApiClient interface {
	FindOneCustomer(ctx context.Context, in *CustomerRequest, opts ...grpc.CallOption) (*CustomerReply, error)
	FindOneOwner(ctx context.Context, in *OwnerRequest, opts ...grpc.CallOption) (*OwnerReply, error)
	FindOneCustomerCredentials(ctx context.Context, in *CustomerCredentialsRequest, opts ...grpc.CallOption) (*CredentialsReply, error)
	FindOneOwnerCredentials(ctx context.Context, in *OwnerCredentialsRequest, opts ...grpc.CallOption) (*CredentialsReply, error)
	AddCustomer(ctx context.Context, in *AddCustomerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	AddOwner(ctx context.Context, in *AddOwnerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	AddOwnedCompany(ctx context.Context, in *AddOwnedCompanyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	DeleteOwnedCompany(ctx context.Context, in *DeleteOwnedCompanyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	UpdateCustomer(ctx context.Context, in *UpdateCustomerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	UpdateOwner(ctx context.Context, in *UpdateOwnerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	DeleteCustomer(ctx context.Context, in *DeleteCustomerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	DeleteOwner(ctx context.Context, in *DeleteOwnerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

ApiClient is the client API for Api service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewApiClient

func NewApiClient(cc grpc.ClientConnInterface) ApiClient

type ApiServer

type ApiServer interface {
	FindOneCustomer(context.Context, *CustomerRequest) (*CustomerReply, error)
	FindOneOwner(context.Context, *OwnerRequest) (*OwnerReply, error)
	FindOneCustomerCredentials(context.Context, *CustomerCredentialsRequest) (*CredentialsReply, error)
	FindOneOwnerCredentials(context.Context, *OwnerCredentialsRequest) (*CredentialsReply, error)
	AddCustomer(context.Context, *AddCustomerRequest) (*emptypb.Empty, error)
	AddOwner(context.Context, *AddOwnerRequest) (*emptypb.Empty, error)
	AddOwnedCompany(context.Context, *AddOwnedCompanyRequest) (*emptypb.Empty, error)
	DeleteOwnedCompany(context.Context, *DeleteOwnedCompanyRequest) (*emptypb.Empty, error)
	UpdateCustomer(context.Context, *UpdateCustomerRequest) (*emptypb.Empty, error)
	UpdateOwner(context.Context, *UpdateOwnerRequest) (*emptypb.Empty, error)
	DeleteCustomer(context.Context, *DeleteCustomerRequest) (*emptypb.Empty, error)
	DeleteOwner(context.Context, *DeleteOwnerRequest) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

ApiServer is the server API for Api service. All implementations must embed UnimplementedApiServer for forward compatibility

type Credentials

type Credentials struct {
	ID        primitive.ObjectID `bson:"_id,omitempty"`
	HashedPwd string             `bson:"pwd,omitempty"`
}

type CredentialsReply

type CredentialsReply struct {
	Id        *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	HashedPwd *string `protobuf:"bytes,2,opt,name=hashed_pwd,json=hashedPwd,proto3,oneof" json:"hashed_pwd,omitempty"`
	// contains filtered or unexported fields
}

func (*CredentialsReply) Descriptor deprecated

func (*CredentialsReply) Descriptor() ([]byte, []int)

Deprecated: Use CredentialsReply.ProtoReflect.Descriptor instead.

func (*CredentialsReply) GetHashedPwd

func (x *CredentialsReply) GetHashedPwd() string

func (*CredentialsReply) GetId

func (x *CredentialsReply) GetId() string

func (*CredentialsReply) ProtoMessage

func (*CredentialsReply) ProtoMessage()

func (*CredentialsReply) ProtoReflect

func (x *CredentialsReply) ProtoReflect() protoreflect.Message

func (*CredentialsReply) Reset

func (x *CredentialsReply) Reset()

func (*CredentialsReply) String

func (x *CredentialsReply) String() string

type CustomerCredentialsRequest

type CustomerCredentialsRequest struct {
	Mail *string `protobuf:"bytes,1,opt,name=mail,proto3,oneof" json:"mail,omitempty"`
	// contains filtered or unexported fields
}

func (*CustomerCredentialsRequest) Descriptor deprecated

func (*CustomerCredentialsRequest) Descriptor() ([]byte, []int)

Deprecated: Use CustomerCredentialsRequest.ProtoReflect.Descriptor instead.

func (*CustomerCredentialsRequest) GetMail

func (x *CustomerCredentialsRequest) GetMail() string

func (*CustomerCredentialsRequest) ProtoMessage

func (*CustomerCredentialsRequest) ProtoMessage()

func (*CustomerCredentialsRequest) ProtoReflect

func (*CustomerCredentialsRequest) Reset

func (x *CustomerCredentialsRequest) Reset()

func (*CustomerCredentialsRequest) String

func (x *CustomerCredentialsRequest) String() string

type CustomerReply

type CustomerReply struct {
	Mail    *string `protobuf:"bytes,1,opt,name=mail,proto3,oneof" json:"mail,omitempty"`
	Name    *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Surname *string `protobuf:"bytes,3,opt,name=surname,proto3,oneof" json:"surname,omitempty"`
	// contains filtered or unexported fields
}

func (*CustomerReply) Descriptor deprecated

func (*CustomerReply) Descriptor() ([]byte, []int)

Deprecated: Use CustomerReply.ProtoReflect.Descriptor instead.

func (*CustomerReply) GetMail

func (x *CustomerReply) GetMail() string

func (*CustomerReply) GetName

func (x *CustomerReply) GetName() string

func (*CustomerReply) GetSurname

func (x *CustomerReply) GetSurname() string

func (*CustomerReply) ProtoMessage

func (*CustomerReply) ProtoMessage()

func (*CustomerReply) ProtoReflect

func (x *CustomerReply) ProtoReflect() protoreflect.Message

func (*CustomerReply) Reset

func (x *CustomerReply) Reset()

func (*CustomerReply) String

func (x *CustomerReply) String() string

type CustomerRequest

type CustomerRequest struct {
	Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CustomerRequest) Descriptor deprecated

func (*CustomerRequest) Descriptor() ([]byte, []int)

Deprecated: Use CustomerRequest.ProtoReflect.Descriptor instead.

func (*CustomerRequest) GetId

func (x *CustomerRequest) GetId() string

func (*CustomerRequest) ProtoMessage

func (*CustomerRequest) ProtoMessage()

func (*CustomerRequest) ProtoReflect

func (x *CustomerRequest) ProtoReflect() protoreflect.Message

func (*CustomerRequest) Reset

func (x *CustomerRequest) Reset()

func (*CustomerRequest) String

func (x *CustomerRequest) String() string

type DeleteCustomerRequest

type DeleteCustomerRequest struct {
	Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteCustomerRequest) Descriptor deprecated

func (*DeleteCustomerRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteCustomerRequest.ProtoReflect.Descriptor instead.

func (*DeleteCustomerRequest) GetId

func (x *DeleteCustomerRequest) GetId() string

func (*DeleteCustomerRequest) ProtoMessage

func (*DeleteCustomerRequest) ProtoMessage()

func (*DeleteCustomerRequest) ProtoReflect

func (x *DeleteCustomerRequest) ProtoReflect() protoreflect.Message

func (*DeleteCustomerRequest) Reset

func (x *DeleteCustomerRequest) Reset()

func (*DeleteCustomerRequest) String

func (x *DeleteCustomerRequest) String() string

type DeleteOwnedCompanyRequest

type DeleteOwnedCompanyRequest struct {
	Id        *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	CompanyId *string `protobuf:"bytes,2,opt,name=company_id,json=companyId,proto3,oneof" json:"company_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteOwnedCompanyRequest) Descriptor deprecated

func (*DeleteOwnedCompanyRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteOwnedCompanyRequest.ProtoReflect.Descriptor instead.

func (*DeleteOwnedCompanyRequest) GetCompanyId

func (x *DeleteOwnedCompanyRequest) GetCompanyId() string

func (*DeleteOwnedCompanyRequest) GetId

func (x *DeleteOwnedCompanyRequest) GetId() string

func (*DeleteOwnedCompanyRequest) ProtoMessage

func (*DeleteOwnedCompanyRequest) ProtoMessage()

func (*DeleteOwnedCompanyRequest) ProtoReflect

func (*DeleteOwnedCompanyRequest) Reset

func (x *DeleteOwnedCompanyRequest) Reset()

func (*DeleteOwnedCompanyRequest) String

func (x *DeleteOwnedCompanyRequest) String() string

type DeleteOwnerRequest

type DeleteOwnerRequest struct {
	Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteOwnerRequest) Descriptor deprecated

func (*DeleteOwnerRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteOwnerRequest.ProtoReflect.Descriptor instead.

func (*DeleteOwnerRequest) GetId

func (x *DeleteOwnerRequest) GetId() string

func (*DeleteOwnerRequest) ProtoMessage

func (*DeleteOwnerRequest) ProtoMessage()

func (*DeleteOwnerRequest) ProtoReflect

func (x *DeleteOwnerRequest) ProtoReflect() protoreflect.Message

func (*DeleteOwnerRequest) Reset

func (x *DeleteOwnerRequest) Reset()

func (*DeleteOwnerRequest) String

func (x *DeleteOwnerRequest) String() string

type OwnerCredentialsRequest

type OwnerCredentialsRequest struct {
	Mail *string `protobuf:"bytes,1,opt,name=mail,proto3,oneof" json:"mail,omitempty"`
	// contains filtered or unexported fields
}

func (*OwnerCredentialsRequest) Descriptor deprecated

func (*OwnerCredentialsRequest) Descriptor() ([]byte, []int)

Deprecated: Use OwnerCredentialsRequest.ProtoReflect.Descriptor instead.

func (*OwnerCredentialsRequest) GetMail

func (x *OwnerCredentialsRequest) GetMail() string

func (*OwnerCredentialsRequest) ProtoMessage

func (*OwnerCredentialsRequest) ProtoMessage()

func (*OwnerCredentialsRequest) ProtoReflect

func (x *OwnerCredentialsRequest) ProtoReflect() protoreflect.Message

func (*OwnerCredentialsRequest) Reset

func (x *OwnerCredentialsRequest) Reset()

func (*OwnerCredentialsRequest) String

func (x *OwnerCredentialsRequest) String() string

type OwnerReply

type OwnerReply struct {
	Mail      *string  `protobuf:"bytes,1,opt,name=mail,proto3,oneof" json:"mail,omitempty"`
	Name      *string  `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Surname   *string  `protobuf:"bytes,3,opt,name=surname,proto3,oneof" json:"surname,omitempty"`
	Companies []string `protobuf:"bytes,4,rep,name=companies,proto3" json:"companies,omitempty"`
	// contains filtered or unexported fields
}

func (*OwnerReply) Descriptor deprecated

func (*OwnerReply) Descriptor() ([]byte, []int)

Deprecated: Use OwnerReply.ProtoReflect.Descriptor instead.

func (*OwnerReply) GetCompanies

func (x *OwnerReply) GetCompanies() []string

func (*OwnerReply) GetMail

func (x *OwnerReply) GetMail() string

func (*OwnerReply) GetName

func (x *OwnerReply) GetName() string

func (*OwnerReply) GetSurname

func (x *OwnerReply) GetSurname() string

func (*OwnerReply) ProtoMessage

func (*OwnerReply) ProtoMessage()

func (*OwnerReply) ProtoReflect

func (x *OwnerReply) ProtoReflect() protoreflect.Message

func (*OwnerReply) Reset

func (x *OwnerReply) Reset()

func (*OwnerReply) String

func (x *OwnerReply) String() string

type OwnerRequest

type OwnerRequest struct {
	Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*OwnerRequest) Descriptor deprecated

func (*OwnerRequest) Descriptor() ([]byte, []int)

Deprecated: Use OwnerRequest.ProtoReflect.Descriptor instead.

func (*OwnerRequest) GetId

func (x *OwnerRequest) GetId() string

func (*OwnerRequest) ProtoMessage

func (*OwnerRequest) ProtoMessage()

func (*OwnerRequest) ProtoReflect

func (x *OwnerRequest) ProtoReflect() protoreflect.Message

func (*OwnerRequest) Reset

func (x *OwnerRequest) Reset()

func (*OwnerRequest) String

func (x *OwnerRequest) String() string

type Server

type Server struct {
	UnimplementedApiServer
	Client *mongo.Client
}

func (*Server) AddCustomer

func (s *Server) AddCustomer(
	ctx context.Context,
	request *AddCustomerRequest,
) (*emptypb.Empty, error)

func (*Server) AddOwnedCompany

func (s *Server) AddOwnedCompany(
	ctx context.Context,
	request *AddOwnedCompanyRequest,
) (*emptypb.Empty, error)

func (*Server) AddOwner

func (s *Server) AddOwner(
	ctx context.Context,
	request *AddOwnerRequest,
) (*emptypb.Empty, error)

func (*Server) DeleteCustomer

func (s *Server) DeleteCustomer(
	ctx context.Context,
	request *DeleteCustomerRequest,
) (*emptypb.Empty, error)

func (*Server) DeleteOwnedCompany

func (s *Server) DeleteOwnedCompany(
	ctx context.Context,
	request *DeleteOwnedCompanyRequest,
) (*emptypb.Empty, error)

func (*Server) DeleteOwner

func (s *Server) DeleteOwner(
	ctx context.Context,
	request *DeleteOwnerRequest,
) (*emptypb.Empty, error)

func (*Server) FindOneCustomer

func (s *Server) FindOneCustomer(
	ctx context.Context,
	request *CustomerRequest,
) (*CustomerReply, error)

func (*Server) FindOneCustomerCredentials

func (s *Server) FindOneCustomerCredentials(
	ctx context.Context,
	request *CustomerCredentialsRequest,
) (*CredentialsReply, error)

func (*Server) FindOneOwner

func (s *Server) FindOneOwner(
	ctx context.Context,
	request *OwnerRequest,
) (*OwnerReply, error)

func (*Server) FindOneOwnerCredentials

func (s *Server) FindOneOwnerCredentials(
	ctx context.Context,
	request *OwnerCredentialsRequest,
) (*CredentialsReply, error)

func (*Server) UpdateCustomer

func (s *Server) UpdateCustomer(
	ctx context.Context,
	request *UpdateCustomerRequest,
) (*emptypb.Empty, error)

func (*Server) UpdateOwner

func (s *Server) UpdateOwner(
	ctx context.Context,
	request *UpdateOwnerRequest,
) (*emptypb.Empty, error)

type UnimplementedApiServer

type UnimplementedApiServer struct {
}

UnimplementedApiServer must be embedded to have forward compatible implementations.

func (UnimplementedApiServer) AddCustomer

func (UnimplementedApiServer) AddOwnedCompany

func (UnimplementedApiServer) AddOwner

func (UnimplementedApiServer) DeleteCustomer

func (UnimplementedApiServer) DeleteOwnedCompany

func (UnimplementedApiServer) DeleteOwner

func (UnimplementedApiServer) FindOneCustomer

func (UnimplementedApiServer) FindOneCustomerCredentials

func (UnimplementedApiServer) FindOneOwner

func (UnimplementedApiServer) FindOneOwnerCredentials

func (UnimplementedApiServer) UpdateCustomer

func (UnimplementedApiServer) UpdateOwner

type UnsafeApiServer

type UnsafeApiServer interface {
	// contains filtered or unexported methods
}

UnsafeApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ApiServer will result in compilation errors.

type UpdateCustomerRequest

type UpdateCustomerRequest struct {
	Id        *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	Mail      *string `protobuf:"bytes,2,opt,name=mail,proto3,oneof" json:"mail,omitempty"`
	HashedPwd *string `protobuf:"bytes,3,opt,name=hashed_pwd,json=hashedPwd,proto3,oneof" json:"hashed_pwd,omitempty"`
	Name      *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Surname   *string `protobuf:"bytes,5,opt,name=surname,proto3,oneof" json:"surname,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCustomerRequest) Descriptor deprecated

func (*UpdateCustomerRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCustomerRequest.ProtoReflect.Descriptor instead.

func (*UpdateCustomerRequest) GetHashedPwd

func (x *UpdateCustomerRequest) GetHashedPwd() string

func (*UpdateCustomerRequest) GetId

func (x *UpdateCustomerRequest) GetId() string

func (*UpdateCustomerRequest) GetMail

func (x *UpdateCustomerRequest) GetMail() string

func (*UpdateCustomerRequest) GetName

func (x *UpdateCustomerRequest) GetName() string

func (*UpdateCustomerRequest) GetSurname

func (x *UpdateCustomerRequest) GetSurname() string

func (*UpdateCustomerRequest) ProtoMessage

func (*UpdateCustomerRequest) ProtoMessage()

func (*UpdateCustomerRequest) ProtoReflect

func (x *UpdateCustomerRequest) ProtoReflect() protoreflect.Message

func (*UpdateCustomerRequest) Reset

func (x *UpdateCustomerRequest) Reset()

func (*UpdateCustomerRequest) String

func (x *UpdateCustomerRequest) String() string

type UpdateOwnerRequest

type UpdateOwnerRequest struct {
	Id        *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	Mail      *string `protobuf:"bytes,2,opt,name=mail,proto3,oneof" json:"mail,omitempty"`
	HashedPwd *string `protobuf:"bytes,3,opt,name=hashed_pwd,json=hashedPwd,proto3,oneof" json:"hashed_pwd,omitempty"`
	Name      *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Surname   *string `protobuf:"bytes,5,opt,name=surname,proto3,oneof" json:"surname,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateOwnerRequest) Descriptor deprecated

func (*UpdateOwnerRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateOwnerRequest.ProtoReflect.Descriptor instead.

func (*UpdateOwnerRequest) GetHashedPwd

func (x *UpdateOwnerRequest) GetHashedPwd() string

func (*UpdateOwnerRequest) GetId

func (x *UpdateOwnerRequest) GetId() string

func (*UpdateOwnerRequest) GetMail

func (x *UpdateOwnerRequest) GetMail() string

func (*UpdateOwnerRequest) GetName

func (x *UpdateOwnerRequest) GetName() string

func (*UpdateOwnerRequest) GetSurname

func (x *UpdateOwnerRequest) GetSurname() string

func (*UpdateOwnerRequest) ProtoMessage

func (*UpdateOwnerRequest) ProtoMessage()

func (*UpdateOwnerRequest) ProtoReflect

func (x *UpdateOwnerRequest) ProtoReflect() protoreflect.Message

func (*UpdateOwnerRequest) Reset

func (x *UpdateOwnerRequest) Reset()

func (*UpdateOwnerRequest) String

func (x *UpdateOwnerRequest) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL