protobufpb

package
v0.0.0-...-74a563b Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CareScheduleSrv_Create_FullMethodName             = "/protobuf.CareScheduleSrv/Create"
	CareScheduleSrv_Read_FullMethodName               = "/protobuf.CareScheduleSrv/Read"
	CareScheduleSrv_List_FullMethodName               = "/protobuf.CareScheduleSrv/List"
	CareScheduleSrv_Update_FullMethodName             = "/protobuf.CareScheduleSrv/Update"
	CareScheduleSrv_Delete_FullMethodName             = "/protobuf.CareScheduleSrv/Delete"
	CareScheduleSrv_ListForCareRemider_FullMethodName = "/protobuf.CareScheduleSrv/ListForCareRemider"
)
View Source
const (
	GardenSrv_Create_FullMethodName = "/protobuf.GardenSrv/Create"
	GardenSrv_Read_FullMethodName   = "/protobuf.GardenSrv/Read"
	GardenSrv_List_FullMethodName   = "/protobuf.GardenSrv/List"
	GardenSrv_Update_FullMethodName = "/protobuf.GardenSrv/Update"
	GardenSrv_Delete_FullMethodName = "/protobuf.GardenSrv/Delete"
)
View Source
const (
	OTPSrv_GetOTP_FullMethodName     = "/protobuf.OTPSrv/GetOTP"
	OTPSrv_ConfirmOTP_FullMethodName = "/protobuf.OTPSrv/ConfirmOTP"
	OTPSrv_SendOTP_FullMethodName    = "/protobuf.OTPSrv/SendOTP"
)
View Source
const (
	PermissionSrv_Create_FullMethodName = "/PermissionSrv/Create"
	PermissionSrv_Update_FullMethodName = "/PermissionSrv/Update"
	PermissionSrv_List_FullMethodName   = "/PermissionSrv/List"
	PermissionSrv_Read_FullMethodName   = "/PermissionSrv/Read"
	PermissionSrv_Delete_FullMethodName = "/PermissionSrv/Delete"
)
View Source
const (
	PlantSrv_Create_FullMethodName            = "/protobuf.PlantSrv/Create"
	PlantSrv_Read_FullMethodName              = "/protobuf.PlantSrv/Read"
	PlantSrv_List_FullMethodName              = "/protobuf.PlantSrv/List"
	PlantSrv_Update_FullMethodName            = "/protobuf.PlantSrv/Update"
	PlantSrv_Delete_FullMethodName            = "/protobuf.PlantSrv/Delete"
	PlantSrv_UpdateAvatarPlant_FullMethodName = "/protobuf.PlantSrv/UpdateAvatarPlant"
	PlantSrv_CheckPlantExist_FullMethodName   = "/protobuf.PlantSrv/CheckPlantExist"
	PlantSrv_GetPlantName_FullMethodName      = "/protobuf.PlantSrv/GetPlantName"
)
View Source
const (
	RoleSrv_Create_FullMethodName = "/RoleSrv/Create"
	RoleSrv_Update_FullMethodName = "/RoleSrv/Update"
	RoleSrv_List_FullMethodName   = "/RoleSrv/List"
	RoleSrv_Read_FullMethodName   = "/RoleSrv/Read"
	RoleSrv_Delete_FullMethodName = "/RoleSrv/Delete"
)
View Source
const (
	RolePermissionSrv_CreatePermissionForRole_FullMethodName = "/RolePermissionSrv/CreatePermissionForRole"
	RolePermissionSrv_UpdatePermissionForRole_FullMethodName = "/RolePermissionSrv/UpdatePermissionForRole"
	RolePermissionSrv_ListPermissionOfRole_FullMethodName    = "/RolePermissionSrv/ListPermissionOfRole"
	RolePermissionSrv_DeletePermissionOfRole_FullMethodName  = "/RolePermissionSrv/DeletePermissionOfRole"
)
View Source
const (
	StorageSrv_UploadAvatar_FullMethodName             = "/StorageSrv/UploadAvatar"
	StorageSrv_GetPresignedGetObjectURL_FullMethodName = "/StorageSrv/GetPresignedGetObjectURL"
	StorageSrv_CheckObjectExist_FullMethodName         = "/StorageSrv/CheckObjectExist"
)
View Source
const (
	UserSrv_Register_FullMethodName       = "/UserSrv/Register"
	UserSrv_Login_FullMethodName          = "/UserSrv/Login"
	UserSrv_Read_FullMethodName           = "/UserSrv/Read"
	UserSrv_List_FullMethodName           = "/UserSrv/List"
	UserSrv_Update_FullMethodName         = "/UserSrv/Update"
	UserSrv_Delete_FullMethodName         = "/UserSrv/Delete"
	UserSrv_ChangePassword_FullMethodName = "/UserSrv/ChangePassword"
	UserSrv_UpdateAvatar_FullMethodName   = "/UserSrv/UpdateAvatar"
)
View Source
const (
	UserRoleSrv_CreateRoleForUser_FullMethodName = "/UserRoleSrv/CreateRoleForUser"
	UserRoleSrv_UpdateRoleForUser_FullMethodName = "/UserRoleSrv/UpdateRoleForUser"
	UserRoleSrv_ListRoleOfUser_FullMethodName    = "/UserRoleSrv/ListRoleOfUser"
	UserRoleSrv_DeleteRoleOfUser_FullMethodName  = "/UserRoleSrv/DeleteRoleOfUser"
)
View Source
const (
	CareScheduleReminderSrv_SendCareScheduleReminder_FullMethodName = "/protobuf.CareScheduleReminderSrv/SendCareScheduleReminder"
)
View Source
const (
	WeatherSrv_GetWeather_FullMethodName = "/protobuf.WeatherSrv/GetWeather"
)

Variables

View Source
var CareScheduleReminderSrv_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "protobuf.CareScheduleReminderSrv",
	HandlerType: (*CareScheduleReminderSrvServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SendCareScheduleReminder",
			Handler:    _CareScheduleReminderSrv_SendCareScheduleReminder_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/carereminder.proto",
}

CareScheduleReminderSrv_ServiceDesc is the grpc.ServiceDesc for CareScheduleReminderSrv 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 CareScheduleSrv_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "protobuf.CareScheduleSrv",
	HandlerType: (*CareScheduleSrvServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _CareScheduleSrv_Create_Handler,
		},
		{
			MethodName: "Read",
			Handler:    _CareScheduleSrv_Read_Handler,
		},
		{
			MethodName: "List",
			Handler:    _CareScheduleSrv_List_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _CareScheduleSrv_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _CareScheduleSrv_Delete_Handler,
		},
		{
			MethodName: "ListForCareRemider",
			Handler:    _CareScheduleSrv_ListForCareRemider_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/careschedule.proto",
}

CareScheduleSrv_ServiceDesc is the grpc.ServiceDesc for CareScheduleSrv 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_proto_base_proto protoreflect.FileDescriptor
View Source
var File_proto_carereminder_proto protoreflect.FileDescriptor
View Source
var File_proto_careschedule_proto protoreflect.FileDescriptor
View Source
var File_proto_garden_proto protoreflect.FileDescriptor
View Source
var File_proto_otp_proto protoreflect.FileDescriptor
View Source
var File_proto_permission_proto protoreflect.FileDescriptor
View Source
var File_proto_plant_proto protoreflect.FileDescriptor
View Source
var File_proto_role_permission_proto protoreflect.FileDescriptor
View Source
var File_proto_role_proto protoreflect.FileDescriptor
View Source
var File_proto_storage_proto protoreflect.FileDescriptor
View Source
var File_proto_user_proto protoreflect.FileDescriptor
View Source
var File_proto_user_role_proto protoreflect.FileDescriptor
View Source
var File_proto_weather_proto protoreflect.FileDescriptor
View Source
var GardenSrv_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "protobuf.GardenSrv",
	HandlerType: (*GardenSrvServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _GardenSrv_Create_Handler,
		},
		{
			MethodName: "Read",
			Handler:    _GardenSrv_Read_Handler,
		},
		{
			MethodName: "List",
			Handler:    _GardenSrv_List_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _GardenSrv_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _GardenSrv_Delete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/garden.proto",
}

GardenSrv_ServiceDesc is the grpc.ServiceDesc for GardenSrv 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 OTPSrv_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "protobuf.OTPSrv",
	HandlerType: (*OTPSrvServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetOTP",
			Handler:    _OTPSrv_GetOTP_Handler,
		},
		{
			MethodName: "ConfirmOTP",
			Handler:    _OTPSrv_ConfirmOTP_Handler,
		},
		{
			MethodName: "SendOTP",
			Handler:    _OTPSrv_SendOTP_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/otp.proto",
}

OTPSrv_ServiceDesc is the grpc.ServiceDesc for OTPSrv 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 PermissionSrv_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "PermissionSrv",
	HandlerType: (*PermissionSrvServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _PermissionSrv_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _PermissionSrv_Update_Handler,
		},
		{
			MethodName: "List",
			Handler:    _PermissionSrv_List_Handler,
		},
		{
			MethodName: "Read",
			Handler:    _PermissionSrv_Read_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _PermissionSrv_Delete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/permission.proto",
}

PermissionSrv_ServiceDesc is the grpc.ServiceDesc for PermissionSrv 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 PlantSrv_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "protobuf.PlantSrv",
	HandlerType: (*PlantSrvServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _PlantSrv_Create_Handler,
		},
		{
			MethodName: "Read",
			Handler:    _PlantSrv_Read_Handler,
		},
		{
			MethodName: "List",
			Handler:    _PlantSrv_List_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _PlantSrv_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _PlantSrv_Delete_Handler,
		},
		{
			MethodName: "UpdateAvatarPlant",
			Handler:    _PlantSrv_UpdateAvatarPlant_Handler,
		},
		{
			MethodName: "CheckPlantExist",
			Handler:    _PlantSrv_CheckPlantExist_Handler,
		},
		{
			MethodName: "GetPlantName",
			Handler:    _PlantSrv_GetPlantName_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/plant.proto",
}

PlantSrv_ServiceDesc is the grpc.ServiceDesc for PlantSrv 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 RolePermissionSrv_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "RolePermissionSrv",
	HandlerType: (*RolePermissionSrvServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreatePermissionForRole",
			Handler:    _RolePermissionSrv_CreatePermissionForRole_Handler,
		},
		{
			MethodName: "UpdatePermissionForRole",
			Handler:    _RolePermissionSrv_UpdatePermissionForRole_Handler,
		},
		{
			MethodName: "ListPermissionOfRole",
			Handler:    _RolePermissionSrv_ListPermissionOfRole_Handler,
		},
		{
			MethodName: "DeletePermissionOfRole",
			Handler:    _RolePermissionSrv_DeletePermissionOfRole_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/role_permission.proto",
}

RolePermissionSrv_ServiceDesc is the grpc.ServiceDesc for RolePermissionSrv 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 RoleSrv_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "RoleSrv",
	HandlerType: (*RoleSrvServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _RoleSrv_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _RoleSrv_Update_Handler,
		},
		{
			MethodName: "List",
			Handler:    _RoleSrv_List_Handler,
		},
		{
			MethodName: "Read",
			Handler:    _RoleSrv_Read_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _RoleSrv_Delete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/role.proto",
}

RoleSrv_ServiceDesc is the grpc.ServiceDesc for RoleSrv 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 StorageSrv_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "StorageSrv",
	HandlerType: (*StorageSrvServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UploadAvatar",
			Handler:    _StorageSrv_UploadAvatar_Handler,
		},
		{
			MethodName: "GetPresignedGetObjectURL",
			Handler:    _StorageSrv_GetPresignedGetObjectURL_Handler,
		},
		{
			MethodName: "CheckObjectExist",
			Handler:    _StorageSrv_CheckObjectExist_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/storage.proto",
}

StorageSrv_ServiceDesc is the grpc.ServiceDesc for StorageSrv 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 UserRoleSrv_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "UserRoleSrv",
	HandlerType: (*UserRoleSrvServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateRoleForUser",
			Handler:    _UserRoleSrv_CreateRoleForUser_Handler,
		},
		{
			MethodName: "UpdateRoleForUser",
			Handler:    _UserRoleSrv_UpdateRoleForUser_Handler,
		},
		{
			MethodName: "ListRoleOfUser",
			Handler:    _UserRoleSrv_ListRoleOfUser_Handler,
		},
		{
			MethodName: "DeleteRoleOfUser",
			Handler:    _UserRoleSrv_DeleteRoleOfUser_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/user_role.proto",
}

UserRoleSrv_ServiceDesc is the grpc.ServiceDesc for UserRoleSrv 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 UserSrv_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "UserSrv",
	HandlerType: (*UserSrvServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Register",
			Handler:    _UserSrv_Register_Handler,
		},
		{
			MethodName: "Login",
			Handler:    _UserSrv_Login_Handler,
		},
		{
			MethodName: "Read",
			Handler:    _UserSrv_Read_Handler,
		},
		{
			MethodName: "List",
			Handler:    _UserSrv_List_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _UserSrv_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _UserSrv_Delete_Handler,
		},
		{
			MethodName: "ChangePassword",
			Handler:    _UserSrv_ChangePassword_Handler,
		},
		{
			MethodName: "UpdateAvatar",
			Handler:    _UserSrv_UpdateAvatar_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/user.proto",
}

UserSrv_ServiceDesc is the grpc.ServiceDesc for UserSrv 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 WeatherSrv_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "protobuf.WeatherSrv",
	HandlerType: (*WeatherSrvServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetWeather",
			Handler:    _WeatherSrv_GetWeather_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/weather.proto",
}

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

Functions

func RegisterCareScheduleReminderSrvServer

func RegisterCareScheduleReminderSrvServer(s grpc.ServiceRegistrar, srv CareScheduleReminderSrvServer)

func RegisterCareScheduleSrvServer

func RegisterCareScheduleSrvServer(s grpc.ServiceRegistrar, srv CareScheduleSrvServer)

func RegisterGardenSrvServer

func RegisterGardenSrvServer(s grpc.ServiceRegistrar, srv GardenSrvServer)

func RegisterOTPSrvServer

func RegisterOTPSrvServer(s grpc.ServiceRegistrar, srv OTPSrvServer)

func RegisterPermissionSrvServer

func RegisterPermissionSrvServer(s grpc.ServiceRegistrar, srv PermissionSrvServer)

func RegisterPlantSrvServer

func RegisterPlantSrvServer(s grpc.ServiceRegistrar, srv PlantSrvServer)

func RegisterRolePermissionSrvServer

func RegisterRolePermissionSrvServer(s grpc.ServiceRegistrar, srv RolePermissionSrvServer)

func RegisterRoleSrvServer

func RegisterRoleSrvServer(s grpc.ServiceRegistrar, srv RoleSrvServer)

func RegisterStorageSrvServer

func RegisterStorageSrvServer(s grpc.ServiceRegistrar, srv StorageSrvServer)

func RegisterUserRoleSrvServer

func RegisterUserRoleSrvServer(s grpc.ServiceRegistrar, srv UserRoleSrvServer)

func RegisterUserSrvServer

func RegisterUserSrvServer(s grpc.ServiceRegistrar, srv UserSrvServer)

func RegisterWeatherSrvServer

func RegisterWeatherSrvServer(s grpc.ServiceRegistrar, srv WeatherSrvServer)

Types

type ActionRes

type ActionRes struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*ActionRes) Descriptor deprecated

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

Deprecated: Use ActionRes.ProtoReflect.Descriptor instead.

func (*ActionRes) GetSuccess

func (x *ActionRes) GetSuccess() bool

func (*ActionRes) ProtoMessage

func (*ActionRes) ProtoMessage()

func (*ActionRes) ProtoReflect

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

func (*ActionRes) Reset

func (x *ActionRes) Reset()

func (*ActionRes) String

func (x *ActionRes) String() string

type CareScheduleInfo

type CareScheduleInfo struct {
	Id         string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID cây trồng
	PlantId    string                 `protobuf:"bytes,2,opt,name=plant_id,json=plantId,proto3" json:"plant_id,omitempty"`
	Task       string                 `protobuf:"bytes,3,opt,name=task,proto3" json:"task,omitempty"`
	Desciption string                 `protobuf:"bytes,4,opt,name=desciption,proto3" json:"desciption,omitempty"`
	DueDate    *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=due_date,json=dueDate,proto3" json:"due_date,omitempty"`
	CreatedBy  string                 `protobuf:"bytes,6,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// contains filtered or unexported fields
}

func (*CareScheduleInfo) Descriptor deprecated

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

Deprecated: Use CareScheduleInfo.ProtoReflect.Descriptor instead.

func (*CareScheduleInfo) GetCreatedBy

func (x *CareScheduleInfo) GetCreatedBy() string

func (*CareScheduleInfo) GetDesciption

func (x *CareScheduleInfo) GetDesciption() string

func (*CareScheduleInfo) GetDueDate

func (x *CareScheduleInfo) GetDueDate() *timestamppb.Timestamp

func (*CareScheduleInfo) GetId

func (x *CareScheduleInfo) GetId() string

func (*CareScheduleInfo) GetPlantId

func (x *CareScheduleInfo) GetPlantId() string

func (*CareScheduleInfo) GetTask

func (x *CareScheduleInfo) GetTask() string

func (*CareScheduleInfo) ProtoMessage

func (*CareScheduleInfo) ProtoMessage()

func (*CareScheduleInfo) ProtoReflect

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

func (*CareScheduleInfo) Reset

func (x *CareScheduleInfo) Reset()

func (*CareScheduleInfo) String

func (x *CareScheduleInfo) String() string

type CareScheduleReminderSrvClient

type CareScheduleReminderSrvClient interface {
	SendCareScheduleReminder(ctx context.Context, in *SendCareScheduleReminderReq, opts ...grpc.CallOption) (*SendCareScheduleReminderRes, error)
}

CareScheduleReminderSrvClient is the client API for CareScheduleReminderSrv 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.

type CareScheduleReminderSrvServer

type CareScheduleReminderSrvServer interface {
	SendCareScheduleReminder(context.Context, *SendCareScheduleReminderReq) (*SendCareScheduleReminderRes, error)
	// contains filtered or unexported methods
}

CareScheduleReminderSrvServer is the server API for CareScheduleReminderSrv service. All implementations must embed UnimplementedCareScheduleReminderSrvServer for forward compatibility.

type CareScheduleSrvClient

CareScheduleSrvClient is the client API for CareScheduleSrv 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.

type CareScheduleSrvServer

CareScheduleSrvServer is the server API for CareScheduleSrv service. All implementations must embed UnimplementedCareScheduleSrvServer for forward compatibility.

type Category

type Category struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Category) Descriptor deprecated

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

Deprecated: Use Category.ProtoReflect.Descriptor instead.

func (*Category) GetDescription

func (x *Category) GetDescription() string

func (*Category) GetId

func (x *Category) GetId() string

func (*Category) GetName

func (x *Category) GetName() string

func (*Category) ProtoMessage

func (*Category) ProtoMessage()

func (*Category) ProtoReflect

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

func (*Category) Reset

func (x *Category) Reset()

func (*Category) String

func (x *Category) String() string

type ChangePasswordReq

type ChangePasswordReq struct {
	Email              string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	NewPassword        string `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
	NewPasswordConfirm string `protobuf:"bytes,3,opt,name=new_password_confirm,json=newPasswordConfirm,proto3" json:"new_password_confirm,omitempty"`
	OldPassword        string `protobuf:"bytes,4,opt,name=old_password,json=oldPassword,proto3" json:"old_password,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangePasswordReq) Descriptor deprecated

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

Deprecated: Use ChangePasswordReq.ProtoReflect.Descriptor instead.

func (*ChangePasswordReq) GetEmail

func (x *ChangePasswordReq) GetEmail() string

func (*ChangePasswordReq) GetNewPassword

func (x *ChangePasswordReq) GetNewPassword() string

func (*ChangePasswordReq) GetNewPasswordConfirm

func (x *ChangePasswordReq) GetNewPasswordConfirm() string

func (*ChangePasswordReq) GetOldPassword

func (x *ChangePasswordReq) GetOldPassword() string

func (*ChangePasswordReq) ProtoMessage

func (*ChangePasswordReq) ProtoMessage()

func (*ChangePasswordReq) ProtoReflect

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

func (*ChangePasswordReq) Reset

func (x *ChangePasswordReq) Reset()

func (*ChangePasswordReq) String

func (x *ChangePasswordReq) String() string

type ChangePasswordRes

type ChangePasswordRes struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangePasswordRes) Descriptor deprecated

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

Deprecated: Use ChangePasswordRes.ProtoReflect.Descriptor instead.

func (*ChangePasswordRes) GetSuccess

func (x *ChangePasswordRes) GetSuccess() bool

func (*ChangePasswordRes) ProtoMessage

func (*ChangePasswordRes) ProtoMessage()

func (*ChangePasswordRes) ProtoReflect

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

func (*ChangePasswordRes) Reset

func (x *ChangePasswordRes) Reset()

func (*ChangePasswordRes) String

func (x *ChangePasswordRes) String() string

type CheckObjectExistResponse

type CheckObjectExistResponse struct {
	Exist bool `protobuf:"varint,1,opt,name=exist,proto3" json:"exist,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckObjectExistResponse) Descriptor deprecated

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

Deprecated: Use CheckObjectExistResponse.ProtoReflect.Descriptor instead.

func (*CheckObjectExistResponse) GetExist

func (x *CheckObjectExistResponse) GetExist() bool

func (*CheckObjectExistResponse) ProtoMessage

func (*CheckObjectExistResponse) ProtoMessage()

func (*CheckObjectExistResponse) ProtoReflect

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

func (*CheckObjectExistResponse) Reset

func (x *CheckObjectExistResponse) Reset()

func (*CheckObjectExistResponse) String

func (x *CheckObjectExistResponse) String() string

type CheckObjectExistResquest

type CheckObjectExistResquest struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckObjectExistResquest) Descriptor deprecated

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

Deprecated: Use CheckObjectExistResquest.ProtoReflect.Descriptor instead.

func (*CheckObjectExistResquest) GetPath

func (x *CheckObjectExistResquest) GetPath() string

func (*CheckObjectExistResquest) ProtoMessage

func (*CheckObjectExistResquest) ProtoMessage()

func (*CheckObjectExistResquest) ProtoReflect

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

func (*CheckObjectExistResquest) Reset

func (x *CheckObjectExistResquest) Reset()

func (*CheckObjectExistResquest) String

func (x *CheckObjectExistResquest) String() string

type CheckPlantExistReq

type CheckPlantExistReq struct {
	CreatedBy string `protobuf:"bytes,1,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	Id        string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckPlantExistReq) Descriptor deprecated

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

Deprecated: Use CheckPlantExistReq.ProtoReflect.Descriptor instead.

func (*CheckPlantExistReq) GetCreatedBy

func (x *CheckPlantExistReq) GetCreatedBy() string

func (*CheckPlantExistReq) GetId

func (x *CheckPlantExistReq) GetId() string

func (*CheckPlantExistReq) ProtoMessage

func (*CheckPlantExistReq) ProtoMessage()

func (*CheckPlantExistReq) ProtoReflect

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

func (*CheckPlantExistReq) Reset

func (x *CheckPlantExistReq) Reset()

func (*CheckPlantExistReq) String

func (x *CheckPlantExistReq) String() string

type CheckPlantExistRes

type CheckPlantExistRes struct {
	Exist bool `protobuf:"varint,1,opt,name=exist,proto3" json:"exist,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckPlantExistRes) Descriptor deprecated

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

Deprecated: Use CheckPlantExistRes.ProtoReflect.Descriptor instead.

func (*CheckPlantExistRes) GetExist

func (x *CheckPlantExistRes) GetExist() bool

func (*CheckPlantExistRes) ProtoMessage

func (*CheckPlantExistRes) ProtoMessage()

func (*CheckPlantExistRes) ProtoReflect

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

func (*CheckPlantExistRes) Reset

func (x *CheckPlantExistRes) Reset()

func (*CheckPlantExistRes) String

func (x *CheckPlantExistRes) String() string

type ConfirmOTPReq

type ConfirmOTPReq struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Otp   string `protobuf:"bytes,2,opt,name=otp,proto3" json:"otp,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfirmOTPReq) Descriptor deprecated

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

Deprecated: Use ConfirmOTPReq.ProtoReflect.Descriptor instead.

func (*ConfirmOTPReq) GetEmail

func (x *ConfirmOTPReq) GetEmail() string

func (*ConfirmOTPReq) GetOtp

func (x *ConfirmOTPReq) GetOtp() string

func (*ConfirmOTPReq) ProtoMessage

func (*ConfirmOTPReq) ProtoMessage()

func (*ConfirmOTPReq) ProtoReflect

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

func (*ConfirmOTPReq) Reset

func (x *ConfirmOTPReq) Reset()

func (*ConfirmOTPReq) String

func (x *ConfirmOTPReq) String() string

type ConfirmOTPRes

type ConfirmOTPRes struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfirmOTPRes) Descriptor deprecated

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

Deprecated: Use ConfirmOTPRes.ProtoReflect.Descriptor instead.

func (*ConfirmOTPRes) GetMessage

func (x *ConfirmOTPRes) GetMessage() string

func (*ConfirmOTPRes) ProtoMessage

func (*ConfirmOTPRes) ProtoMessage()

func (*ConfirmOTPRes) ProtoReflect

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

func (*ConfirmOTPRes) Reset

func (x *ConfirmOTPRes) Reset()

func (*ConfirmOTPRes) String

func (x *ConfirmOTPRes) String() string

type CreateCareScheduleReq

type CreateCareScheduleReq struct {
	PlantId    string                 `protobuf:"bytes,2,opt,name=plant_id,json=plantId,proto3" json:"plant_id,omitempty"`
	Task       string                 `protobuf:"bytes,3,opt,name=task,proto3" json:"task,omitempty"`
	Desciption string                 `protobuf:"bytes,4,opt,name=desciption,proto3" json:"desciption,omitempty"`
	DueDate    *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=due_date,json=dueDate,proto3" json:"due_date,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCareScheduleReq) Descriptor deprecated

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

Deprecated: Use CreateCareScheduleReq.ProtoReflect.Descriptor instead.

func (*CreateCareScheduleReq) GetDesciption

func (x *CreateCareScheduleReq) GetDesciption() string

func (*CreateCareScheduleReq) GetDueDate

func (x *CreateCareScheduleReq) GetDueDate() *timestamppb.Timestamp

func (*CreateCareScheduleReq) GetPlantId

func (x *CreateCareScheduleReq) GetPlantId() string

func (*CreateCareScheduleReq) GetTask

func (x *CreateCareScheduleReq) GetTask() string

func (*CreateCareScheduleReq) ProtoMessage

func (*CreateCareScheduleReq) ProtoMessage()

func (*CreateCareScheduleReq) ProtoReflect

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

func (*CreateCareScheduleReq) Reset

func (x *CreateCareScheduleReq) Reset()

func (*CreateCareScheduleReq) String

func (x *CreateCareScheduleReq) String() string

type CreateCareScheduleRes

type CreateCareScheduleRes struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCareScheduleRes) Descriptor deprecated

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

Deprecated: Use CreateCareScheduleRes.ProtoReflect.Descriptor instead.

func (*CreateCareScheduleRes) GetSuccess

func (x *CreateCareScheduleRes) GetSuccess() bool

func (*CreateCareScheduleRes) ProtoMessage

func (*CreateCareScheduleRes) ProtoMessage()

func (*CreateCareScheduleRes) ProtoReflect

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

func (*CreateCareScheduleRes) Reset

func (x *CreateCareScheduleRes) Reset()

func (*CreateCareScheduleRes) String

func (x *CreateCareScheduleRes) String() string

type CreateGardenReq

type CreateGardenReq struct {
	City     string  `protobuf:"bytes,2,opt,name=city,proto3" json:"city,omitempty"`
	District string  `protobuf:"bytes,3,opt,name=district,proto3" json:"district,omitempty"`
	Area     float32 `protobuf:"fixed32,4,opt,name=area,proto3" json:"area,omitempty"`
	OwnerId  string  `protobuf:"bytes,5,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateGardenReq) Descriptor deprecated

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

Deprecated: Use CreateGardenReq.ProtoReflect.Descriptor instead.

func (*CreateGardenReq) GetArea

func (x *CreateGardenReq) GetArea() float32

func (*CreateGardenReq) GetCity

func (x *CreateGardenReq) GetCity() string

func (*CreateGardenReq) GetDistrict

func (x *CreateGardenReq) GetDistrict() string

func (*CreateGardenReq) GetOwnerId

func (x *CreateGardenReq) GetOwnerId() string

func (*CreateGardenReq) ProtoMessage

func (*CreateGardenReq) ProtoMessage()

func (*CreateGardenReq) ProtoReflect

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

func (*CreateGardenReq) Reset

func (x *CreateGardenReq) Reset()

func (*CreateGardenReq) String

func (x *CreateGardenReq) String() string

type CreateGardenRes

type CreateGardenRes struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateGardenRes) Descriptor deprecated

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

Deprecated: Use CreateGardenRes.ProtoReflect.Descriptor instead.

func (*CreateGardenRes) GetSuccess

func (x *CreateGardenRes) GetSuccess() bool

func (*CreateGardenRes) ProtoMessage

func (*CreateGardenRes) ProtoMessage()

func (*CreateGardenRes) ProtoReflect

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

func (*CreateGardenRes) Reset

func (x *CreateGardenRes) Reset()

func (*CreateGardenRes) String

func (x *CreateGardenRes) String() string

type CreatePermissionReq

type CreatePermissionReq struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePermissionReq) Descriptor deprecated

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

Deprecated: Use CreatePermissionReq.ProtoReflect.Descriptor instead.

func (*CreatePermissionReq) GetName

func (x *CreatePermissionReq) GetName() string

func (*CreatePermissionReq) ProtoMessage

func (*CreatePermissionReq) ProtoMessage()

func (*CreatePermissionReq) ProtoReflect

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

func (*CreatePermissionReq) Reset

func (x *CreatePermissionReq) Reset()

func (*CreatePermissionReq) String

func (x *CreatePermissionReq) String() string

type CreatePermissionRes

type CreatePermissionRes struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePermissionRes) Descriptor deprecated

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

Deprecated: Use CreatePermissionRes.ProtoReflect.Descriptor instead.

func (*CreatePermissionRes) GetSuccess

func (x *CreatePermissionRes) GetSuccess() bool

func (*CreatePermissionRes) ProtoMessage

func (*CreatePermissionRes) ProtoMessage()

func (*CreatePermissionRes) ProtoReflect

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

func (*CreatePermissionRes) Reset

func (x *CreatePermissionRes) Reset()

func (*CreatePermissionRes) String

func (x *CreatePermissionRes) String() string

type CreatePlantReq

type CreatePlantReq struct {
	PlantName       string                 `protobuf:"bytes,2,opt,name=plant_name,json=plantName,proto3" json:"plant_name,omitempty"`                   // Tên cây
	Type            string                 `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`                                              // Loại cây
	PlantDate       *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=plant_date,json=plantDate,proto3" json:"plant_date,omitempty"`                   // Ngày trồng (epoch time)
	Height          float32                `protobuf:"fixed32,5,opt,name=height,proto3" json:"height,omitempty"`                                        // Chiều cao cây
	HealthStatus    string                 `protobuf:"bytes,6,opt,name=health_status,json=healthStatus,proto3" json:"health_status,omitempty"`          // Tình trạng sức khỏe cây (ví dụ: khỏe mạnh, bệnh tật, ...)
	ImagePlant      string                 `protobuf:"bytes,7,opt,name=image_plant,json=imagePlant,proto3" json:"image_plant,omitempty"`                // URL hình ảnh cây trồng
	ExpectedHarvest *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=expected_harvest,json=expectedHarvest,proto3" json:"expected_harvest,omitempty"` // Ngày dự kiến thu hoạch (epoch time)
	GardenId        string                 `protobuf:"bytes,9,opt,name=garden_id,json=gardenId,proto3" json:"garden_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePlantReq) Descriptor deprecated

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

Deprecated: Use CreatePlantReq.ProtoReflect.Descriptor instead.

func (*CreatePlantReq) GetExpectedHarvest

func (x *CreatePlantReq) GetExpectedHarvest() *timestamppb.Timestamp

func (*CreatePlantReq) GetGardenId

func (x *CreatePlantReq) GetGardenId() string

func (*CreatePlantReq) GetHealthStatus

func (x *CreatePlantReq) GetHealthStatus() string

func (*CreatePlantReq) GetHeight

func (x *CreatePlantReq) GetHeight() float32

func (*CreatePlantReq) GetImagePlant

func (x *CreatePlantReq) GetImagePlant() string

func (*CreatePlantReq) GetPlantDate

func (x *CreatePlantReq) GetPlantDate() *timestamppb.Timestamp

func (*CreatePlantReq) GetPlantName

func (x *CreatePlantReq) GetPlantName() string

func (*CreatePlantReq) GetType

func (x *CreatePlantReq) GetType() string

func (*CreatePlantReq) ProtoMessage

func (*CreatePlantReq) ProtoMessage()

func (*CreatePlantReq) ProtoReflect

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

func (*CreatePlantReq) Reset

func (x *CreatePlantReq) Reset()

func (*CreatePlantReq) String

func (x *CreatePlantReq) String() string

type CreatePlantRes

type CreatePlantRes struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePlantRes) Descriptor deprecated

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

Deprecated: Use CreatePlantRes.ProtoReflect.Descriptor instead.

func (*CreatePlantRes) GetSuccess

func (x *CreatePlantRes) GetSuccess() bool

func (*CreatePlantRes) ProtoMessage

func (*CreatePlantRes) ProtoMessage()

func (*CreatePlantRes) ProtoReflect

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

func (*CreatePlantRes) Reset

func (x *CreatePlantRes) Reset()

func (*CreatePlantRes) String

func (x *CreatePlantRes) String() string

type CreateRolePermissionReq

type CreateRolePermissionReq struct {
	PermissionId string `protobuf:"bytes,1,opt,name=permission_id,json=permissionId,proto3" json:"permission_id,omitempty"`
	RoleId       string `protobuf:"bytes,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRolePermissionReq) Descriptor deprecated

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

Deprecated: Use CreateRolePermissionReq.ProtoReflect.Descriptor instead.

func (*CreateRolePermissionReq) GetPermissionId

func (x *CreateRolePermissionReq) GetPermissionId() string

func (*CreateRolePermissionReq) GetRoleId

func (x *CreateRolePermissionReq) GetRoleId() string

func (*CreateRolePermissionReq) ProtoMessage

func (*CreateRolePermissionReq) ProtoMessage()

func (*CreateRolePermissionReq) ProtoReflect

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

func (*CreateRolePermissionReq) Reset

func (x *CreateRolePermissionReq) Reset()

func (*CreateRolePermissionReq) String

func (x *CreateRolePermissionReq) String() string

type CreateRolePermissionRes

type CreateRolePermissionRes struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRolePermissionRes) Descriptor deprecated

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

Deprecated: Use CreateRolePermissionRes.ProtoReflect.Descriptor instead.

func (*CreateRolePermissionRes) GetSuccess

func (x *CreateRolePermissionRes) GetSuccess() bool

func (*CreateRolePermissionRes) ProtoMessage

func (*CreateRolePermissionRes) ProtoMessage()

func (*CreateRolePermissionRes) ProtoReflect

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

func (*CreateRolePermissionRes) Reset

func (x *CreateRolePermissionRes) Reset()

func (*CreateRolePermissionRes) String

func (x *CreateRolePermissionRes) String() string

type CreateRoleReq

type CreateRoleReq struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRoleReq) Descriptor deprecated

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

Deprecated: Use CreateRoleReq.ProtoReflect.Descriptor instead.

func (*CreateRoleReq) GetName

func (x *CreateRoleReq) GetName() string

func (*CreateRoleReq) ProtoMessage

func (*CreateRoleReq) ProtoMessage()

func (*CreateRoleReq) ProtoReflect

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

func (*CreateRoleReq) Reset

func (x *CreateRoleReq) Reset()

func (*CreateRoleReq) String

func (x *CreateRoleReq) String() string

type CreateRoleRes

type CreateRoleRes struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRoleRes) Descriptor deprecated

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

Deprecated: Use CreateRoleRes.ProtoReflect.Descriptor instead.

func (*CreateRoleRes) GetSuccess

func (x *CreateRoleRes) GetSuccess() bool

func (*CreateRoleRes) ProtoMessage

func (*CreateRoleRes) ProtoMessage()

func (*CreateRoleRes) ProtoReflect

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

func (*CreateRoleRes) Reset

func (x *CreateRoleRes) Reset()

func (*CreateRoleRes) String

func (x *CreateRoleRes) String() string

type CreateUserRoleReq

type CreateUserRoleReq struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	RoleId string `protobuf:"bytes,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserRoleReq) Descriptor deprecated

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

Deprecated: Use CreateUserRoleReq.ProtoReflect.Descriptor instead.

func (*CreateUserRoleReq) GetRoleId

func (x *CreateUserRoleReq) GetRoleId() string

func (*CreateUserRoleReq) GetUserId

func (x *CreateUserRoleReq) GetUserId() string

func (*CreateUserRoleReq) ProtoMessage

func (*CreateUserRoleReq) ProtoMessage()

func (*CreateUserRoleReq) ProtoReflect

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

func (*CreateUserRoleReq) Reset

func (x *CreateUserRoleReq) Reset()

func (*CreateUserRoleReq) String

func (x *CreateUserRoleReq) String() string

type CreateUserRoleRes

type CreateUserRoleRes struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserRoleRes) Descriptor deprecated

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

Deprecated: Use CreateUserRoleRes.ProtoReflect.Descriptor instead.

func (*CreateUserRoleRes) GetSuccess

func (x *CreateUserRoleRes) GetSuccess() bool

func (*CreateUserRoleRes) ProtoMessage

func (*CreateUserRoleRes) ProtoMessage()

func (*CreateUserRoleRes) ProtoReflect

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

func (*CreateUserRoleRes) Reset

func (x *CreateUserRoleRes) Reset()

func (*CreateUserRoleRes) String

func (x *CreateUserRoleRes) String() string

type CurrentWeather

type CurrentWeather struct {
	ObservationTime    string   `protobuf:"bytes,1,opt,name=observation_time,json=observationTime,proto3" json:"observation_time,omitempty"`
	Temperature        float32  `protobuf:"fixed32,3,opt,name=temperature,proto3" json:"temperature,omitempty"`
	WeatherDescription []string `protobuf:"bytes,4,rep,name=weather_description,json=weatherDescription,proto3" json:"weather_description,omitempty"`
	WindSpeed          float32  `protobuf:"fixed32,5,opt,name=wind_speed,json=windSpeed,proto3" json:"wind_speed,omitempty"`
	Humidity           int32    `protobuf:"varint,6,opt,name=humidity,proto3" json:"humidity,omitempty"`
	Precipitation      float32  `protobuf:"fixed32,7,opt,name=precipitation,proto3" json:"precipitation,omitempty"`
	// contains filtered or unexported fields
}

func (*CurrentWeather) Descriptor deprecated

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

Deprecated: Use CurrentWeather.ProtoReflect.Descriptor instead.

func (*CurrentWeather) GetHumidity

func (x *CurrentWeather) GetHumidity() int32

func (*CurrentWeather) GetObservationTime

func (x *CurrentWeather) GetObservationTime() string

func (*CurrentWeather) GetPrecipitation

func (x *CurrentWeather) GetPrecipitation() float32

func (*CurrentWeather) GetTemperature

func (x *CurrentWeather) GetTemperature() float32

func (*CurrentWeather) GetWeatherDescription

func (x *CurrentWeather) GetWeatherDescription() []string

func (*CurrentWeather) GetWindSpeed

func (x *CurrentWeather) GetWindSpeed() float32

func (*CurrentWeather) ProtoMessage

func (*CurrentWeather) ProtoMessage()

func (*CurrentWeather) ProtoReflect

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

func (*CurrentWeather) Reset

func (x *CurrentWeather) Reset()

func (*CurrentWeather) String

func (x *CurrentWeather) String() string

type DeleteCareScheduleReq

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

func (*DeleteCareScheduleReq) Descriptor deprecated

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

Deprecated: Use DeleteCareScheduleReq.ProtoReflect.Descriptor instead.

func (*DeleteCareScheduleReq) GetId

func (x *DeleteCareScheduleReq) GetId() string

func (*DeleteCareScheduleReq) ProtoMessage

func (*DeleteCareScheduleReq) ProtoMessage()

func (*DeleteCareScheduleReq) ProtoReflect

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

func (*DeleteCareScheduleReq) Reset

func (x *DeleteCareScheduleReq) Reset()

func (*DeleteCareScheduleReq) String

func (x *DeleteCareScheduleReq) String() string

type DeleteCareScheduleRes

type DeleteCareScheduleRes struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteCareScheduleRes) Descriptor deprecated

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

Deprecated: Use DeleteCareScheduleRes.ProtoReflect.Descriptor instead.

func (*DeleteCareScheduleRes) GetSuccess

func (x *DeleteCareScheduleRes) GetSuccess() bool

func (*DeleteCareScheduleRes) ProtoMessage

func (*DeleteCareScheduleRes) ProtoMessage()

func (*DeleteCareScheduleRes) ProtoReflect

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

func (*DeleteCareScheduleRes) Reset

func (x *DeleteCareScheduleRes) Reset()

func (*DeleteCareScheduleRes) String

func (x *DeleteCareScheduleRes) String() string

type DeleteGardenReq

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

func (*DeleteGardenReq) Descriptor deprecated

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

Deprecated: Use DeleteGardenReq.ProtoReflect.Descriptor instead.

func (*DeleteGardenReq) GetId

func (x *DeleteGardenReq) GetId() string

func (*DeleteGardenReq) ProtoMessage

func (*DeleteGardenReq) ProtoMessage()

func (*DeleteGardenReq) ProtoReflect

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

func (*DeleteGardenReq) Reset

func (x *DeleteGardenReq) Reset()

func (*DeleteGardenReq) String

func (x *DeleteGardenReq) String() string

type DeleteGardenRes

type DeleteGardenRes struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteGardenRes) Descriptor deprecated

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

Deprecated: Use DeleteGardenRes.ProtoReflect.Descriptor instead.

func (*DeleteGardenRes) GetSuccess

func (x *DeleteGardenRes) GetSuccess() bool

func (*DeleteGardenRes) ProtoMessage

func (*DeleteGardenRes) ProtoMessage()

func (*DeleteGardenRes) ProtoReflect

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

func (*DeleteGardenRes) Reset

func (x *DeleteGardenRes) Reset()

func (*DeleteGardenRes) String

func (x *DeleteGardenRes) String() string

type DeletePermissionReq

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

func (*DeletePermissionReq) Descriptor deprecated

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

Deprecated: Use DeletePermissionReq.ProtoReflect.Descriptor instead.

func (*DeletePermissionReq) GetId

func (x *DeletePermissionReq) GetId() string

func (*DeletePermissionReq) GetName

func (x *DeletePermissionReq) GetName() string

func (*DeletePermissionReq) ProtoMessage

func (*DeletePermissionReq) ProtoMessage()

func (*DeletePermissionReq) ProtoReflect

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

func (*DeletePermissionReq) Reset

func (x *DeletePermissionReq) Reset()

func (*DeletePermissionReq) String

func (x *DeletePermissionReq) String() string

type DeletePermissionRes

type DeletePermissionRes struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePermissionRes) Descriptor deprecated

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

Deprecated: Use DeletePermissionRes.ProtoReflect.Descriptor instead.

func (*DeletePermissionRes) GetSuccess

func (x *DeletePermissionRes) GetSuccess() bool

func (*DeletePermissionRes) ProtoMessage

func (*DeletePermissionRes) ProtoMessage()

func (*DeletePermissionRes) ProtoReflect

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

func (*DeletePermissionRes) Reset

func (x *DeletePermissionRes) Reset()

func (*DeletePermissionRes) String

func (x *DeletePermissionRes) String() string

type DeletePlantReq

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

func (*DeletePlantReq) Descriptor deprecated

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

Deprecated: Use DeletePlantReq.ProtoReflect.Descriptor instead.

func (*DeletePlantReq) GetId

func (x *DeletePlantReq) GetId() string

func (*DeletePlantReq) ProtoMessage

func (*DeletePlantReq) ProtoMessage()

func (*DeletePlantReq) ProtoReflect

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

func (*DeletePlantReq) Reset

func (x *DeletePlantReq) Reset()

func (*DeletePlantReq) String

func (x *DeletePlantReq) String() string

type DeletePlantRes

type DeletePlantRes struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePlantRes) Descriptor deprecated

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

Deprecated: Use DeletePlantRes.ProtoReflect.Descriptor instead.

func (*DeletePlantRes) GetSuccess

func (x *DeletePlantRes) GetSuccess() bool

func (*DeletePlantRes) ProtoMessage

func (*DeletePlantRes) ProtoMessage()

func (*DeletePlantRes) ProtoReflect

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

func (*DeletePlantRes) Reset

func (x *DeletePlantRes) Reset()

func (*DeletePlantRes) String

func (x *DeletePlantRes) String() string

type DeleteRolePermissionReq

type DeleteRolePermissionReq struct {
	RoleId       string `protobuf:"bytes,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	PermissionId string `protobuf:"bytes,2,opt,name=permission_id,json=permissionId,proto3" json:"permission_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRolePermissionReq) Descriptor deprecated

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

Deprecated: Use DeleteRolePermissionReq.ProtoReflect.Descriptor instead.

func (*DeleteRolePermissionReq) GetPermissionId

func (x *DeleteRolePermissionReq) GetPermissionId() string

func (*DeleteRolePermissionReq) GetRoleId

func (x *DeleteRolePermissionReq) GetRoleId() string

func (*DeleteRolePermissionReq) ProtoMessage

func (*DeleteRolePermissionReq) ProtoMessage()

func (*DeleteRolePermissionReq) ProtoReflect

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

func (*DeleteRolePermissionReq) Reset

func (x *DeleteRolePermissionReq) Reset()

func (*DeleteRolePermissionReq) String

func (x *DeleteRolePermissionReq) String() string

type DeleteRolePermissionRes

type DeleteRolePermissionRes struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRolePermissionRes) Descriptor deprecated

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

Deprecated: Use DeleteRolePermissionRes.ProtoReflect.Descriptor instead.

func (*DeleteRolePermissionRes) GetSuccess

func (x *DeleteRolePermissionRes) GetSuccess() bool

func (*DeleteRolePermissionRes) ProtoMessage

func (*DeleteRolePermissionRes) ProtoMessage()

func (*DeleteRolePermissionRes) ProtoReflect

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

func (*DeleteRolePermissionRes) Reset

func (x *DeleteRolePermissionRes) Reset()

func (*DeleteRolePermissionRes) String

func (x *DeleteRolePermissionRes) String() string

type DeleteRoleReq

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

func (*DeleteRoleReq) Descriptor deprecated

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

Deprecated: Use DeleteRoleReq.ProtoReflect.Descriptor instead.

func (*DeleteRoleReq) GetId

func (x *DeleteRoleReq) GetId() string

func (*DeleteRoleReq) GetName

func (x *DeleteRoleReq) GetName() string

func (*DeleteRoleReq) ProtoMessage

func (*DeleteRoleReq) ProtoMessage()

func (*DeleteRoleReq) ProtoReflect

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

func (*DeleteRoleReq) Reset

func (x *DeleteRoleReq) Reset()

func (*DeleteRoleReq) String

func (x *DeleteRoleReq) String() string

type DeleteRoleRes

type DeleteRoleRes struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRoleRes) Descriptor deprecated

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

Deprecated: Use DeleteRoleRes.ProtoReflect.Descriptor instead.

func (*DeleteRoleRes) GetSuccess

func (x *DeleteRoleRes) GetSuccess() bool

func (*DeleteRoleRes) ProtoMessage

func (*DeleteRoleRes) ProtoMessage()

func (*DeleteRoleRes) ProtoReflect

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

func (*DeleteRoleRes) Reset

func (x *DeleteRoleRes) Reset()

func (*DeleteRoleRes) String

func (x *DeleteRoleRes) String() string

type DeleteUserReq

type DeleteUserReq struct {
	Id    string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserReq) Descriptor deprecated

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

Deprecated: Use DeleteUserReq.ProtoReflect.Descriptor instead.

func (*DeleteUserReq) GetEmail

func (x *DeleteUserReq) GetEmail() string

func (*DeleteUserReq) GetId

func (x *DeleteUserReq) GetId() string

func (*DeleteUserReq) ProtoMessage

func (*DeleteUserReq) ProtoMessage()

func (*DeleteUserReq) ProtoReflect

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

func (*DeleteUserReq) Reset

func (x *DeleteUserReq) Reset()

func (*DeleteUserReq) String

func (x *DeleteUserReq) String() string

type DeleteUserRes

type DeleteUserRes struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserRes) Descriptor deprecated

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

Deprecated: Use DeleteUserRes.ProtoReflect.Descriptor instead.

func (*DeleteUserRes) GetSuccess

func (x *DeleteUserRes) GetSuccess() bool

func (*DeleteUserRes) ProtoMessage

func (*DeleteUserRes) ProtoMessage()

func (*DeleteUserRes) ProtoReflect

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

func (*DeleteUserRes) Reset

func (x *DeleteUserRes) Reset()

func (*DeleteUserRes) String

func (x *DeleteUserRes) String() string

type DeleteUserRoleReq

type DeleteUserRoleReq struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	RoleId string `protobuf:"bytes,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserRoleReq) Descriptor deprecated

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

Deprecated: Use DeleteUserRoleReq.ProtoReflect.Descriptor instead.

func (*DeleteUserRoleReq) GetRoleId

func (x *DeleteUserRoleReq) GetRoleId() string

func (*DeleteUserRoleReq) GetUserId

func (x *DeleteUserRoleReq) GetUserId() string

func (*DeleteUserRoleReq) ProtoMessage

func (*DeleteUserRoleReq) ProtoMessage()

func (*DeleteUserRoleReq) ProtoReflect

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

func (*DeleteUserRoleReq) Reset

func (x *DeleteUserRoleReq) Reset()

func (*DeleteUserRoleReq) String

func (x *DeleteUserRoleReq) String() string

type DeleteUserRoleRes

type DeleteUserRoleRes struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserRoleRes) Descriptor deprecated

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

Deprecated: Use DeleteUserRoleRes.ProtoReflect.Descriptor instead.

func (*DeleteUserRoleRes) GetSuccess

func (x *DeleteUserRoleRes) GetSuccess() bool

func (*DeleteUserRoleRes) ProtoMessage

func (*DeleteUserRoleRes) ProtoMessage()

func (*DeleteUserRoleRes) ProtoReflect

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

func (*DeleteUserRoleRes) Reset

func (x *DeleteUserRoleRes) Reset()

func (*DeleteUserRoleRes) String

func (x *DeleteUserRoleRes) String() string

type GardenInfo

type GardenInfo struct {
	Id       string  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID cây trồng
	City     string  `protobuf:"bytes,2,opt,name=city,proto3" json:"city,omitempty"`
	District string  `protobuf:"bytes,3,opt,name=district,proto3" json:"district,omitempty"`
	Area     float32 `protobuf:"fixed32,4,opt,name=area,proto3" json:"area,omitempty"`
	OwnerId  string  `protobuf:"bytes,5,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GardenInfo) Descriptor deprecated

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

Deprecated: Use GardenInfo.ProtoReflect.Descriptor instead.

func (*GardenInfo) GetArea

func (x *GardenInfo) GetArea() float32

func (*GardenInfo) GetCity

func (x *GardenInfo) GetCity() string

func (*GardenInfo) GetDistrict

func (x *GardenInfo) GetDistrict() string

func (*GardenInfo) GetId

func (x *GardenInfo) GetId() string

func (*GardenInfo) GetOwnerId

func (x *GardenInfo) GetOwnerId() string

func (*GardenInfo) ProtoMessage

func (*GardenInfo) ProtoMessage()

func (*GardenInfo) ProtoReflect

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

func (*GardenInfo) Reset

func (x *GardenInfo) Reset()

func (*GardenInfo) String

func (x *GardenInfo) String() string

type GardenSrvClient

type GardenSrvClient interface {
	Create(ctx context.Context, in *CreateGardenReq, opts ...grpc.CallOption) (*CreateGardenRes, error)
	Read(ctx context.Context, in *ReadGardenReq, opts ...grpc.CallOption) (*ReadGardenRes, error)
	List(ctx context.Context, in *ListGardenReq, opts ...grpc.CallOption) (*ListGardenRes, error)
	Update(ctx context.Context, in *UpdateGardenReq, opts ...grpc.CallOption) (*UpdateGardenRes, error)
	Delete(ctx context.Context, in *DeleteGardenReq, opts ...grpc.CallOption) (*DeleteGardenRes, error)
}

GardenSrvClient is the client API for GardenSrv 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 NewGardenSrvClient

func NewGardenSrvClient(cc grpc.ClientConnInterface) GardenSrvClient

type GardenSrvServer

type GardenSrvServer interface {
	Create(context.Context, *CreateGardenReq) (*CreateGardenRes, error)
	Read(context.Context, *ReadGardenReq) (*ReadGardenRes, error)
	List(context.Context, *ListGardenReq) (*ListGardenRes, error)
	Update(context.Context, *UpdateGardenReq) (*UpdateGardenRes, error)
	Delete(context.Context, *DeleteGardenReq) (*DeleteGardenRes, error)
	// contains filtered or unexported methods
}

GardenSrvServer is the server API for GardenSrv service. All implementations must embed UnimplementedGardenSrvServer for forward compatibility.

type GetOTPReq

type GetOTPReq struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOTPReq) Descriptor deprecated

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

Deprecated: Use GetOTPReq.ProtoReflect.Descriptor instead.

func (*GetOTPReq) GetEmail

func (x *GetOTPReq) GetEmail() string

func (*GetOTPReq) ProtoMessage

func (*GetOTPReq) ProtoMessage()

func (*GetOTPReq) ProtoReflect

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

func (*GetOTPReq) Reset

func (x *GetOTPReq) Reset()

func (*GetOTPReq) String

func (x *GetOTPReq) String() string

type GetOTPRes

type GetOTPRes struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOTPRes) Descriptor deprecated

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

Deprecated: Use GetOTPRes.ProtoReflect.Descriptor instead.

func (*GetOTPRes) GetMessage

func (x *GetOTPRes) GetMessage() string

func (*GetOTPRes) ProtoMessage

func (*GetOTPRes) ProtoMessage()

func (*GetOTPRes) ProtoReflect

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

func (*GetOTPRes) Reset

func (x *GetOTPRes) Reset()

func (*GetOTPRes) String

func (x *GetOTPRes) String() string

type GetPlantNameReq

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

func (*GetPlantNameReq) Descriptor deprecated

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

Deprecated: Use GetPlantNameReq.ProtoReflect.Descriptor instead.

func (*GetPlantNameReq) GetId

func (x *GetPlantNameReq) GetId() string

func (*GetPlantNameReq) ProtoMessage

func (*GetPlantNameReq) ProtoMessage()

func (*GetPlantNameReq) ProtoReflect

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

func (*GetPlantNameReq) Reset

func (x *GetPlantNameReq) Reset()

func (*GetPlantNameReq) String

func (x *GetPlantNameReq) String() string

type GetPlantNameRes

type GetPlantNameRes struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPlantNameRes) Descriptor deprecated

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

Deprecated: Use GetPlantNameRes.ProtoReflect.Descriptor instead.

func (*GetPlantNameRes) GetName

func (x *GetPlantNameRes) GetName() string

func (*GetPlantNameRes) ProtoMessage

func (*GetPlantNameRes) ProtoMessage()

func (*GetPlantNameRes) ProtoReflect

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

func (*GetPlantNameRes) Reset

func (x *GetPlantNameRes) Reset()

func (*GetPlantNameRes) String

func (x *GetPlantNameRes) String() string

type GetPresignedGetObjectURLRequest

type GetPresignedGetObjectURLRequest struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // token_anhSinhVien1.png
	// contains filtered or unexported fields
}

func (*GetPresignedGetObjectURLRequest) Descriptor deprecated

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

Deprecated: Use GetPresignedGetObjectURLRequest.ProtoReflect.Descriptor instead.

func (*GetPresignedGetObjectURLRequest) GetPath

func (*GetPresignedGetObjectURLRequest) ProtoMessage

func (*GetPresignedGetObjectURLRequest) ProtoMessage()

func (*GetPresignedGetObjectURLRequest) ProtoReflect

func (*GetPresignedGetObjectURLRequest) Reset

func (*GetPresignedGetObjectURLRequest) String

type GetPresignedGetObjectURLResponse

type GetPresignedGetObjectURLResponse struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // https://localhost:9000/get
	// contains filtered or unexported fields
}

func (*GetPresignedGetObjectURLResponse) Descriptor deprecated

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

Deprecated: Use GetPresignedGetObjectURLResponse.ProtoReflect.Descriptor instead.

func (*GetPresignedGetObjectURLResponse) GetUrl

func (*GetPresignedGetObjectURLResponse) ProtoMessage

func (*GetPresignedGetObjectURLResponse) ProtoMessage()

func (*GetPresignedGetObjectURLResponse) ProtoReflect

func (*GetPresignedGetObjectURLResponse) Reset

func (*GetPresignedGetObjectURLResponse) String

type GetWeatherReq

type GetWeatherReq struct {
	Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Unit  string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"`
	// contains filtered or unexported fields
}

func (*GetWeatherReq) Descriptor deprecated

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

Deprecated: Use GetWeatherReq.ProtoReflect.Descriptor instead.

func (*GetWeatherReq) GetQuery

func (x *GetWeatherReq) GetQuery() string

func (*GetWeatherReq) GetUnit

func (x *GetWeatherReq) GetUnit() string

func (*GetWeatherReq) ProtoMessage

func (*GetWeatherReq) ProtoMessage()

func (*GetWeatherReq) ProtoReflect

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

func (*GetWeatherReq) Reset

func (x *GetWeatherReq) Reset()

func (*GetWeatherReq) String

func (x *GetWeatherReq) String() string

type GetWeatherRes

type GetWeatherRes struct {
	Location *Location       `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
	Current  *CurrentWeather `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"`
	// contains filtered or unexported fields
}

func (*GetWeatherRes) Descriptor deprecated

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

Deprecated: Use GetWeatherRes.ProtoReflect.Descriptor instead.

func (*GetWeatherRes) GetCurrent

func (x *GetWeatherRes) GetCurrent() *CurrentWeather

func (*GetWeatherRes) GetLocation

func (x *GetWeatherRes) GetLocation() *Location

func (*GetWeatherRes) ProtoMessage

func (*GetWeatherRes) ProtoMessage()

func (*GetWeatherRes) ProtoReflect

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

func (*GetWeatherRes) Reset

func (x *GetWeatherRes) Reset()

func (*GetWeatherRes) String

func (x *GetWeatherRes) String() string

type ListCareScheduleInfo

type ListCareScheduleInfo struct {
	PlantName   string `protobuf:"bytes,1,opt,name=plant_name,json=plantName,proto3" json:"plant_name,omitempty"`
	Task        string `protobuf:"bytes,2,opt,name=task,proto3" json:"task,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCareScheduleInfo) Descriptor deprecated

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

Deprecated: Use ListCareScheduleInfo.ProtoReflect.Descriptor instead.

func (*ListCareScheduleInfo) GetDescription

func (x *ListCareScheduleInfo) GetDescription() string

func (*ListCareScheduleInfo) GetPlantName

func (x *ListCareScheduleInfo) GetPlantName() string

func (*ListCareScheduleInfo) GetTask

func (x *ListCareScheduleInfo) GetTask() string

func (*ListCareScheduleInfo) ProtoMessage

func (*ListCareScheduleInfo) ProtoMessage()

func (*ListCareScheduleInfo) ProtoReflect

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

func (*ListCareScheduleInfo) Reset

func (x *ListCareScheduleInfo) Reset()

func (*ListCareScheduleInfo) String

func (x *ListCareScheduleInfo) String() string

type ListCareScheduleReq

type ListCareScheduleReq struct {
	DueDate *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=due_date,json=dueDate,proto3" json:"due_date,omitempty"`
	Keyword string                 `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Page    int64                  `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`
	Limited int64                  `protobuf:"varint,5,opt,name=limited,proto3" json:"limited,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCareScheduleReq) Descriptor deprecated

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

Deprecated: Use ListCareScheduleReq.ProtoReflect.Descriptor instead.

func (*ListCareScheduleReq) GetDueDate

func (x *ListCareScheduleReq) GetDueDate() *timestamppb.Timestamp

func (*ListCareScheduleReq) GetKeyword

func (x *ListCareScheduleReq) GetKeyword() string

func (*ListCareScheduleReq) GetLimited

func (x *ListCareScheduleReq) GetLimited() int64

func (*ListCareScheduleReq) GetPage

func (x *ListCareScheduleReq) GetPage() int64

func (*ListCareScheduleReq) ProtoMessage

func (*ListCareScheduleReq) ProtoMessage()

func (*ListCareScheduleReq) ProtoReflect

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

func (*ListCareScheduleReq) Reset

func (x *ListCareScheduleReq) Reset()

func (*ListCareScheduleReq) String

func (x *ListCareScheduleReq) String() string

type ListCareScheduleRes

type ListCareScheduleRes struct {
	Schedules []*CareScheduleInfo `protobuf:"bytes,1,rep,name=schedules,proto3" json:"schedules,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCareScheduleRes) Descriptor deprecated

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

Deprecated: Use ListCareScheduleRes.ProtoReflect.Descriptor instead.

func (*ListCareScheduleRes) GetSchedules

func (x *ListCareScheduleRes) GetSchedules() []*CareScheduleInfo

func (*ListCareScheduleRes) ProtoMessage

func (*ListCareScheduleRes) ProtoMessage()

func (*ListCareScheduleRes) ProtoReflect

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

func (*ListCareScheduleRes) Reset

func (x *ListCareScheduleRes) Reset()

func (*ListCareScheduleRes) String

func (x *ListCareScheduleRes) String() string

type ListForCareReminderReq

type ListForCareReminderReq struct {
	UserId  string                 `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	DueDate *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=due_date,json=dueDate,proto3" json:"due_date,omitempty"`
	// contains filtered or unexported fields
}

func (*ListForCareReminderReq) Descriptor deprecated

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

Deprecated: Use ListForCareReminderReq.ProtoReflect.Descriptor instead.

func (*ListForCareReminderReq) GetDueDate

func (x *ListForCareReminderReq) GetDueDate() *timestamppb.Timestamp

func (*ListForCareReminderReq) GetUserId

func (x *ListForCareReminderReq) GetUserId() string

func (*ListForCareReminderReq) ProtoMessage

func (*ListForCareReminderReq) ProtoMessage()

func (*ListForCareReminderReq) ProtoReflect

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

func (*ListForCareReminderReq) Reset

func (x *ListForCareReminderReq) Reset()

func (*ListForCareReminderReq) String

func (x *ListForCareReminderReq) String() string

type ListForCareReminderRes

type ListForCareReminderRes struct {
	List []*ListCareScheduleInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListForCareReminderRes) Descriptor deprecated

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

Deprecated: Use ListForCareReminderRes.ProtoReflect.Descriptor instead.

func (*ListForCareReminderRes) GetList

func (*ListForCareReminderRes) ProtoMessage

func (*ListForCareReminderRes) ProtoMessage()

func (*ListForCareReminderRes) ProtoReflect

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

func (*ListForCareReminderRes) Reset

func (x *ListForCareReminderRes) Reset()

func (*ListForCareReminderRes) String

func (x *ListForCareReminderRes) String() string

type ListGardenReq

type ListGardenReq struct {
	Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Page    int64  `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`
	Limited int64  `protobuf:"varint,5,opt,name=limited,proto3" json:"limited,omitempty"`
	// contains filtered or unexported fields
}

func (*ListGardenReq) Descriptor deprecated

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

Deprecated: Use ListGardenReq.ProtoReflect.Descriptor instead.

func (*ListGardenReq) GetKeyword

func (x *ListGardenReq) GetKeyword() string

func (*ListGardenReq) GetLimited

func (x *ListGardenReq) GetLimited() int64

func (*ListGardenReq) GetPage

func (x *ListGardenReq) GetPage() int64

func (*ListGardenReq) ProtoMessage

func (*ListGardenReq) ProtoMessage()

func (*ListGardenReq) ProtoReflect

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

func (*ListGardenReq) Reset

func (x *ListGardenReq) Reset()

func (*ListGardenReq) String

func (x *ListGardenReq) String() string

type ListGardenRes

type ListGardenRes struct {
	Gardens []*GardenInfo `protobuf:"bytes,1,rep,name=gardens,proto3" json:"gardens,omitempty"`
	// contains filtered or unexported fields
}

func (*ListGardenRes) Descriptor deprecated

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

Deprecated: Use ListGardenRes.ProtoReflect.Descriptor instead.

func (*ListGardenRes) GetGardens

func (x *ListGardenRes) GetGardens() []*GardenInfo

func (*ListGardenRes) ProtoMessage

func (*ListGardenRes) ProtoMessage()

func (*ListGardenRes) ProtoReflect

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

func (*ListGardenRes) Reset

func (x *ListGardenRes) Reset()

func (*ListGardenRes) String

func (x *ListGardenRes) String() string

type ListPermissionsReq

type ListPermissionsReq struct {
	Name    string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Page    int64  `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`
	Limited int64  `protobuf:"varint,5,opt,name=limited,proto3" json:"limited,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPermissionsReq) Descriptor deprecated

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

Deprecated: Use ListPermissionsReq.ProtoReflect.Descriptor instead.

func (*ListPermissionsReq) GetLimited

func (x *ListPermissionsReq) GetLimited() int64

func (*ListPermissionsReq) GetName

func (x *ListPermissionsReq) GetName() string

func (*ListPermissionsReq) GetPage

func (x *ListPermissionsReq) GetPage() int64

func (*ListPermissionsReq) ProtoMessage

func (*ListPermissionsReq) ProtoMessage()

func (*ListPermissionsReq) ProtoReflect

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

func (*ListPermissionsReq) Reset

func (x *ListPermissionsReq) Reset()

func (*ListPermissionsReq) String

func (x *ListPermissionsReq) String() string

type ListPermissionsRes

type ListPermissionsRes struct {
	Permissions []*PermissionInfo `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPermissionsRes) Descriptor deprecated

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

Deprecated: Use ListPermissionsRes.ProtoReflect.Descriptor instead.

func (*ListPermissionsRes) GetPermissions

func (x *ListPermissionsRes) GetPermissions() []*PermissionInfo

func (*ListPermissionsRes) ProtoMessage

func (*ListPermissionsRes) ProtoMessage()

func (*ListPermissionsRes) ProtoReflect

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

func (*ListPermissionsRes) Reset

func (x *ListPermissionsRes) Reset()

func (*ListPermissionsRes) String

func (x *ListPermissionsRes) String() string

type ListPlantReq

type ListPlantReq struct {
	Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Page    int64  `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`
	Limited int64  `protobuf:"varint,5,opt,name=limited,proto3" json:"limited,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPlantReq) Descriptor deprecated

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

Deprecated: Use ListPlantReq.ProtoReflect.Descriptor instead.

func (*ListPlantReq) GetKeyword

func (x *ListPlantReq) GetKeyword() string

func (*ListPlantReq) GetLimited

func (x *ListPlantReq) GetLimited() int64

func (*ListPlantReq) GetPage

func (x *ListPlantReq) GetPage() int64

func (*ListPlantReq) ProtoMessage

func (*ListPlantReq) ProtoMessage()

func (*ListPlantReq) ProtoReflect

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

func (*ListPlantReq) Reset

func (x *ListPlantReq) Reset()

func (*ListPlantReq) String

func (x *ListPlantReq) String() string

type ListPlantRes

type ListPlantRes struct {
	Plants []*PlantInfo `protobuf:"bytes,1,rep,name=plants,proto3" json:"plants,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPlantRes) Descriptor deprecated

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

Deprecated: Use ListPlantRes.ProtoReflect.Descriptor instead.

func (*ListPlantRes) GetPlants

func (x *ListPlantRes) GetPlants() []*PlantInfo

func (*ListPlantRes) ProtoMessage

func (*ListPlantRes) ProtoMessage()

func (*ListPlantRes) ProtoReflect

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

func (*ListPlantRes) Reset

func (x *ListPlantRes) Reset()

func (*ListPlantRes) String

func (x *ListPlantRes) String() string

type ListRolePermissionsReq

type ListRolePermissionsReq struct {
	RoleId  string `protobuf:"bytes,3,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	Page    int64  `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`
	Limited int64  `protobuf:"varint,5,opt,name=limited,proto3" json:"limited,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRolePermissionsReq) Descriptor deprecated

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

Deprecated: Use ListRolePermissionsReq.ProtoReflect.Descriptor instead.

func (*ListRolePermissionsReq) GetLimited

func (x *ListRolePermissionsReq) GetLimited() int64

func (*ListRolePermissionsReq) GetPage

func (x *ListRolePermissionsReq) GetPage() int64

func (*ListRolePermissionsReq) GetRoleId

func (x *ListRolePermissionsReq) GetRoleId() string

func (*ListRolePermissionsReq) ProtoMessage

func (*ListRolePermissionsReq) ProtoMessage()

func (*ListRolePermissionsReq) ProtoReflect

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

func (*ListRolePermissionsReq) Reset

func (x *ListRolePermissionsReq) Reset()

func (*ListRolePermissionsReq) String

func (x *ListRolePermissionsReq) String() string

type ListRolePermissionsRes

type ListRolePermissionsRes struct {
	PermissionName []string `protobuf:"bytes,1,rep,name=permission_name,json=permissionName,proto3" json:"permission_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRolePermissionsRes) Descriptor deprecated

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

Deprecated: Use ListRolePermissionsRes.ProtoReflect.Descriptor instead.

func (*ListRolePermissionsRes) GetPermissionName

func (x *ListRolePermissionsRes) GetPermissionName() []string

func (*ListRolePermissionsRes) ProtoMessage

func (*ListRolePermissionsRes) ProtoMessage()

func (*ListRolePermissionsRes) ProtoReflect

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

func (*ListRolePermissionsRes) Reset

func (x *ListRolePermissionsRes) Reset()

func (*ListRolePermissionsRes) String

func (x *ListRolePermissionsRes) String() string

type ListRolesReq

type ListRolesReq struct {
	Name    string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Page    int64  `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`
	Limited int64  `protobuf:"varint,5,opt,name=limited,proto3" json:"limited,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRolesReq) Descriptor deprecated

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

Deprecated: Use ListRolesReq.ProtoReflect.Descriptor instead.

func (*ListRolesReq) GetLimited

func (x *ListRolesReq) GetLimited() int64

func (*ListRolesReq) GetName

func (x *ListRolesReq) GetName() string

func (*ListRolesReq) GetPage

func (x *ListRolesReq) GetPage() int64

func (*ListRolesReq) ProtoMessage

func (*ListRolesReq) ProtoMessage()

func (*ListRolesReq) ProtoReflect

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

func (*ListRolesReq) Reset

func (x *ListRolesReq) Reset()

func (*ListRolesReq) String

func (x *ListRolesReq) String() string

type ListRolesRes

type ListRolesRes struct {
	Roles []*RoleInfo `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRolesRes) Descriptor deprecated

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

Deprecated: Use ListRolesRes.ProtoReflect.Descriptor instead.

func (*ListRolesRes) GetRoles

func (x *ListRolesRes) GetRoles() []*RoleInfo

func (*ListRolesRes) ProtoMessage

func (*ListRolesRes) ProtoMessage()

func (*ListRolesRes) ProtoReflect

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

func (*ListRolesRes) Reset

func (x *ListRolesRes) Reset()

func (*ListRolesRes) String

func (x *ListRolesRes) String() string

type ListUserReq

type ListUserReq struct {
	Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Page    int64  `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`
	Limited int64  `protobuf:"varint,5,opt,name=limited,proto3" json:"limited,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserReq) Descriptor deprecated

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

Deprecated: Use ListUserReq.ProtoReflect.Descriptor instead.

func (*ListUserReq) GetKeyword

func (x *ListUserReq) GetKeyword() string

func (*ListUserReq) GetLimited

func (x *ListUserReq) GetLimited() int64

func (*ListUserReq) GetPage

func (x *ListUserReq) GetPage() int64

func (*ListUserReq) ProtoMessage

func (*ListUserReq) ProtoMessage()

func (*ListUserReq) ProtoReflect

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

func (*ListUserReq) Reset

func (x *ListUserReq) Reset()

func (*ListUserReq) String

func (x *ListUserReq) String() string

type ListUserRes

type ListUserRes struct {
	Users []*UserInfo `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserRes) Descriptor deprecated

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

Deprecated: Use ListUserRes.ProtoReflect.Descriptor instead.

func (*ListUserRes) GetUsers

func (x *ListUserRes) GetUsers() []*UserInfo

func (*ListUserRes) ProtoMessage

func (*ListUserRes) ProtoMessage()

func (*ListUserRes) ProtoReflect

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

func (*ListUserRes) Reset

func (x *ListUserRes) Reset()

func (*ListUserRes) String

func (x *ListUserRes) String() string

type ListUserRolesReq

type ListUserRolesReq struct {
	UserId  string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Page    int64  `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`
	Limited int64  `protobuf:"varint,5,opt,name=limited,proto3" json:"limited,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserRolesReq) Descriptor deprecated

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

Deprecated: Use ListUserRolesReq.ProtoReflect.Descriptor instead.

func (*ListUserRolesReq) GetLimited

func (x *ListUserRolesReq) GetLimited() int64

func (*ListUserRolesReq) GetPage

func (x *ListUserRolesReq) GetPage() int64

func (*ListUserRolesReq) GetUserId

func (x *ListUserRolesReq) GetUserId() string

func (*ListUserRolesReq) ProtoMessage

func (*ListUserRolesReq) ProtoMessage()

func (*ListUserRolesReq) ProtoReflect

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

func (*ListUserRolesReq) Reset

func (x *ListUserRolesReq) Reset()

func (*ListUserRolesReq) String

func (x *ListUserRolesReq) String() string

type ListUserRolesRes

type ListUserRolesRes struct {
	UserRoles []*UserRoleInfo `protobuf:"bytes,1,rep,name=user_roles,json=userRoles,proto3" json:"user_roles,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserRolesRes) Descriptor deprecated

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

Deprecated: Use ListUserRolesRes.ProtoReflect.Descriptor instead.

func (*ListUserRolesRes) GetUserRoles

func (x *ListUserRolesRes) GetUserRoles() []*UserRoleInfo

func (*ListUserRolesRes) ProtoMessage

func (*ListUserRolesRes) ProtoMessage()

func (*ListUserRolesRes) ProtoReflect

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

func (*ListUserRolesRes) Reset

func (x *ListUserRolesRes) Reset()

func (*ListUserRolesRes) String

func (x *ListUserRolesRes) String() string

type Location

type Location struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Country   string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"`
	LocalTime string `protobuf:"bytes,3,opt,name=local_time,json=localTime,proto3" json:"local_time,omitempty"`
	UtcOffset string `protobuf:"bytes,4,opt,name=utc_offset,json=utcOffset,proto3" json:"utc_offset,omitempty"`
	// contains filtered or unexported fields
}

func (*Location) Descriptor deprecated

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

Deprecated: Use Location.ProtoReflect.Descriptor instead.

func (*Location) GetCountry

func (x *Location) GetCountry() string

func (*Location) GetLocalTime

func (x *Location) GetLocalTime() string

func (*Location) GetName

func (x *Location) GetName() string

func (*Location) GetUtcOffset

func (x *Location) GetUtcOffset() string

func (*Location) ProtoMessage

func (*Location) ProtoMessage()

func (*Location) ProtoReflect

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

func (*Location) Reset

func (x *Location) Reset()

func (*Location) String

func (x *Location) String() string

type LoginReq

type LoginReq struct {
	Email       string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Password    string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	LoginAsRole string `protobuf:"bytes,3,opt,name=login_as_role,json=loginAsRole,proto3" json:"login_as_role,omitempty"`
	// contains filtered or unexported fields
}

LoginReq represents for a login request

func (*LoginReq) Descriptor deprecated

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

Deprecated: Use LoginReq.ProtoReflect.Descriptor instead.

func (*LoginReq) GetEmail

func (x *LoginReq) GetEmail() string

func (*LoginReq) GetLoginAsRole

func (x *LoginReq) GetLoginAsRole() string

func (*LoginReq) GetPassword

func (x *LoginReq) GetPassword() string

func (*LoginReq) ProtoMessage

func (*LoginReq) ProtoMessage()

func (*LoginReq) ProtoReflect

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

func (*LoginReq) Reset

func (x *LoginReq) Reset()

func (*LoginReq) String

func (x *LoginReq) String() string

type LoginRes

type LoginRes struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginRes) Descriptor deprecated

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

Deprecated: Use LoginRes.ProtoReflect.Descriptor instead.

func (*LoginRes) GetToken

func (x *LoginRes) GetToken() string

func (*LoginRes) ProtoMessage

func (*LoginRes) ProtoMessage()

func (*LoginRes) ProtoReflect

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

func (*LoginRes) Reset

func (x *LoginRes) Reset()

func (*LoginRes) String

func (x *LoginRes) String() string

type Media

type Media struct {
	Id          string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	TokenId     uint64                 `protobuf:"varint,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	Name        string                 `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Collection  string                 `protobuf:"bytes,4,opt,name=collection,proto3" json:"collection,omitempty"`
	MetadataUrl string                 `protobuf:"bytes,5,opt,name=metadata_url,json=metadataUrl,proto3" json:"metadata_url,omitempty"`
	MediaUrl    string                 `protobuf:"bytes,6,opt,name=media_url,json=mediaUrl,proto3" json:"media_url,omitempty"`
	Mint        string                 `protobuf:"bytes,7,opt,name=mint,proto3" json:"mint,omitempty"`
	Creator     string                 `protobuf:"bytes,8,opt,name=creator,proto3" json:"creator,omitempty"`
	Owner       string                 `protobuf:"bytes,9,opt,name=owner,proto3" json:"owner,omitempty"`
	Tags        []string               `protobuf:"bytes,10,rep,name=tags,proto3" json:"tags,omitempty"`
	CategoryId  string                 `protobuf:"bytes,11,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
	Signature   string                 `protobuf:"bytes,12,opt,name=signature,proto3" json:"signature,omitempty"`
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	DeletedAt   *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	Description string                 `protobuf:"bytes,16,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Media) Descriptor deprecated

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

Deprecated: Use Media.ProtoReflect.Descriptor instead.

func (*Media) GetCategoryId

func (x *Media) GetCategoryId() string

func (*Media) GetCollection

func (x *Media) GetCollection() string

func (*Media) GetCreatedAt

func (x *Media) GetCreatedAt() *timestamppb.Timestamp

func (*Media) GetCreator

func (x *Media) GetCreator() string

func (*Media) GetDeletedAt

func (x *Media) GetDeletedAt() *timestamppb.Timestamp

func (*Media) GetDescription

func (x *Media) GetDescription() string

func (*Media) GetId

func (x *Media) GetId() string

func (*Media) GetMediaUrl

func (x *Media) GetMediaUrl() string

func (*Media) GetMetadataUrl

func (x *Media) GetMetadataUrl() string

func (*Media) GetMint

func (x *Media) GetMint() string

func (*Media) GetName

func (x *Media) GetName() string

func (*Media) GetOwner

func (x *Media) GetOwner() string

func (*Media) GetSignature

func (x *Media) GetSignature() string

func (*Media) GetTags

func (x *Media) GetTags() []string

func (*Media) GetTokenId

func (x *Media) GetTokenId() uint64

func (*Media) GetUpdatedAt

func (x *Media) GetUpdatedAt() *timestamppb.Timestamp

func (*Media) ProtoMessage

func (*Media) ProtoMessage()

func (*Media) ProtoReflect

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

func (*Media) Reset

func (x *Media) Reset()

func (*Media) String

func (x *Media) String() string

type OTPSrvClient

type OTPSrvClient interface {
	GetOTP(ctx context.Context, in *GetOTPReq, opts ...grpc.CallOption) (*GetOTPRes, error)
	ConfirmOTP(ctx context.Context, in *ConfirmOTPReq, opts ...grpc.CallOption) (*ConfirmOTPRes, error)
	SendOTP(ctx context.Context, in *SendOTPReq, opts ...grpc.CallOption) (*SendOTPRes, error)
}

OTPSrvClient is the client API for OTPSrv 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 NewOTPSrvClient

func NewOTPSrvClient(cc grpc.ClientConnInterface) OTPSrvClient

type OTPSrvServer

type OTPSrvServer interface {
	GetOTP(context.Context, *GetOTPReq) (*GetOTPRes, error)
	ConfirmOTP(context.Context, *ConfirmOTPReq) (*ConfirmOTPRes, error)
	SendOTP(context.Context, *SendOTPReq) (*SendOTPRes, error)
	// contains filtered or unexported methods
}

OTPSrvServer is the server API for OTPSrv service. All implementations must embed UnimplementedOTPSrvServer for forward compatibility.

type PaginationReq

type PaginationReq struct {
	PageNumber int32 `protobuf:"varint,1,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"`
	PageLimit  int32 `protobuf:"varint,2,opt,name=page_limit,json=pageLimit,proto3" json:"page_limit,omitempty"`
	// contains filtered or unexported fields
}

func (*PaginationReq) Descriptor deprecated

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

Deprecated: Use PaginationReq.ProtoReflect.Descriptor instead.

func (*PaginationReq) GetPageLimit

func (x *PaginationReq) GetPageLimit() int32

func (*PaginationReq) GetPageNumber

func (x *PaginationReq) GetPageNumber() int32

func (*PaginationReq) ProtoMessage

func (*PaginationReq) ProtoMessage()

func (*PaginationReq) ProtoReflect

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

func (*PaginationReq) Reset

func (x *PaginationReq) Reset()

func (*PaginationReq) String

func (x *PaginationReq) String() string

type PaginationRes

type PaginationRes struct {
	PageCurrent int32 `protobuf:"varint,1,opt,name=page_current,json=pageCurrent,proto3" json:"page_current,omitempty"`
	PageLimit   int32 `protobuf:"varint,2,opt,name=page_limit,json=pageLimit,proto3" json:"page_limit,omitempty"`
	TotalPage   int32 `protobuf:"varint,3,opt,name=total_page,json=totalPage,proto3" json:"total_page,omitempty"`
	TotalRecord int64 `protobuf:"varint,4,opt,name=total_record,json=totalRecord,proto3" json:"total_record,omitempty"`
	// contains filtered or unexported fields
}

func (*PaginationRes) Descriptor deprecated

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

Deprecated: Use PaginationRes.ProtoReflect.Descriptor instead.

func (*PaginationRes) GetPageCurrent

func (x *PaginationRes) GetPageCurrent() int32

func (*PaginationRes) GetPageLimit

func (x *PaginationRes) GetPageLimit() int32

func (*PaginationRes) GetTotalPage

func (x *PaginationRes) GetTotalPage() int32

func (*PaginationRes) GetTotalRecord

func (x *PaginationRes) GetTotalRecord() int64

func (*PaginationRes) ProtoMessage

func (*PaginationRes) ProtoMessage()

func (*PaginationRes) ProtoReflect

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

func (*PaginationRes) Reset

func (x *PaginationRes) Reset()

func (*PaginationRes) String

func (x *PaginationRes) String() string

type PermissionInfo

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

func (*PermissionInfo) Descriptor deprecated

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

Deprecated: Use PermissionInfo.ProtoReflect.Descriptor instead.

func (*PermissionInfo) GetId

func (x *PermissionInfo) GetId() string

func (*PermissionInfo) GetName

func (x *PermissionInfo) GetName() string

func (*PermissionInfo) ProtoMessage

func (*PermissionInfo) ProtoMessage()

func (*PermissionInfo) ProtoReflect

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

func (*PermissionInfo) Reset

func (x *PermissionInfo) Reset()

func (*PermissionInfo) String

func (x *PermissionInfo) String() string

type PermissionSrvClient

PermissionSrvClient is the client API for PermissionSrv 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.

type PermissionSrvServer

PermissionSrvServer is the server API for PermissionSrv service. All implementations must embed UnimplementedPermissionSrvServer for forward compatibility.

type PlantInfo

type PlantInfo struct {
	Id              string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                                  // ID cây trồng
	PlantName       string                 `protobuf:"bytes,2,opt,name=plant_name,json=plantName,proto3" json:"plant_name,omitempty"`                   // Tên cây
	Type            string                 `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`                                              // Loại cây
	PlantDate       *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=plant_date,json=plantDate,proto3" json:"plant_date,omitempty"`                   // Ngày trồng (epoch time)
	Height          float32                `protobuf:"fixed32,5,opt,name=height,proto3" json:"height,omitempty"`                                        // Chiều cao cây
	HealthStatus    string                 `protobuf:"bytes,6,opt,name=health_status,json=healthStatus,proto3" json:"health_status,omitempty"`          // Tình trạng sức khỏe cây (ví dụ: khỏe mạnh, bệnh tật, ...)
	ImagePlant      string                 `protobuf:"bytes,7,opt,name=image_plant,json=imagePlant,proto3" json:"image_plant,omitempty"`                // URL hình ảnh cây trồng
	ExpectedHarvest *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=expected_harvest,json=expectedHarvest,proto3" json:"expected_harvest,omitempty"` // Ngày dự kiến thu hoạch (epoch time)
	GardenId        string                 `protobuf:"bytes,9,opt,name=garden_id,json=gardenId,proto3" json:"garden_id,omitempty"`
	CreatedBy       string                 `protobuf:"bytes,10,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// contains filtered or unexported fields
}

func (*PlantInfo) Descriptor deprecated

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

Deprecated: Use PlantInfo.ProtoReflect.Descriptor instead.

func (*PlantInfo) GetCreatedBy

func (x *PlantInfo) GetCreatedBy() string

func (*PlantInfo) GetExpectedHarvest

func (x *PlantInfo) GetExpectedHarvest() *timestamppb.Timestamp

func (*PlantInfo) GetGardenId

func (x *PlantInfo) GetGardenId() string

func (*PlantInfo) GetHealthStatus

func (x *PlantInfo) GetHealthStatus() string

func (*PlantInfo) GetHeight

func (x *PlantInfo) GetHeight() float32

func (*PlantInfo) GetId

func (x *PlantInfo) GetId() string

func (*PlantInfo) GetImagePlant

func (x *PlantInfo) GetImagePlant() string

func (*PlantInfo) GetPlantDate

func (x *PlantInfo) GetPlantDate() *timestamppb.Timestamp

func (*PlantInfo) GetPlantName

func (x *PlantInfo) GetPlantName() string

func (*PlantInfo) GetType

func (x *PlantInfo) GetType() string

func (*PlantInfo) ProtoMessage

func (*PlantInfo) ProtoMessage()

func (*PlantInfo) ProtoReflect

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

func (*PlantInfo) Reset

func (x *PlantInfo) Reset()

func (*PlantInfo) String

func (x *PlantInfo) String() string

type PlantSrvClient

type PlantSrvClient interface {
	Create(ctx context.Context, in *CreatePlantReq, opts ...grpc.CallOption) (*CreatePlantRes, error)
	Read(ctx context.Context, in *ReadPlantReq, opts ...grpc.CallOption) (*ReadPlantRes, error)
	List(ctx context.Context, in *ListPlantReq, opts ...grpc.CallOption) (*ListPlantRes, error)
	Update(ctx context.Context, in *UpdatePlantReq, opts ...grpc.CallOption) (*UpdatePlantRes, error)
	Delete(ctx context.Context, in *DeletePlantReq, opts ...grpc.CallOption) (*DeletePlantRes, error)
	UpdateAvatarPlant(ctx context.Context, in *UpdateAvatarPlantReq, opts ...grpc.CallOption) (*UpdateAvatarPlantRes, error)
	CheckPlantExist(ctx context.Context, in *CheckPlantExistReq, opts ...grpc.CallOption) (*CheckPlantExistRes, error)
	GetPlantName(ctx context.Context, in *GetPlantNameReq, opts ...grpc.CallOption) (*GetPlantNameRes, error)
}

PlantSrvClient is the client API for PlantSrv 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 NewPlantSrvClient

func NewPlantSrvClient(cc grpc.ClientConnInterface) PlantSrvClient

type PlantSrvServer

PlantSrvServer is the server API for PlantSrv service. All implementations must embed UnimplementedPlantSrvServer for forward compatibility.

type ReadCareScheduleReq

type ReadCareScheduleReq struct {
	Filter *CareScheduleInfo `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadCareScheduleReq) Descriptor deprecated

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

Deprecated: Use ReadCareScheduleReq.ProtoReflect.Descriptor instead.

func (*ReadCareScheduleReq) GetFilter

func (x *ReadCareScheduleReq) GetFilter() *CareScheduleInfo

func (*ReadCareScheduleReq) ProtoMessage

func (*ReadCareScheduleReq) ProtoMessage()

func (*ReadCareScheduleReq) ProtoReflect

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

func (*ReadCareScheduleReq) Reset

func (x *ReadCareScheduleReq) Reset()

func (*ReadCareScheduleReq) String

func (x *ReadCareScheduleReq) String() string

type ReadCareScheduleRes

type ReadCareScheduleRes struct {
	CareSchedule *CareScheduleInfo `protobuf:"bytes,1,opt,name=careSchedule,proto3" json:"careSchedule,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadCareScheduleRes) Descriptor deprecated

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

Deprecated: Use ReadCareScheduleRes.ProtoReflect.Descriptor instead.

func (*ReadCareScheduleRes) GetCareSchedule

func (x *ReadCareScheduleRes) GetCareSchedule() *CareScheduleInfo

func (*ReadCareScheduleRes) ProtoMessage

func (*ReadCareScheduleRes) ProtoMessage()

func (*ReadCareScheduleRes) ProtoReflect

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

func (*ReadCareScheduleRes) Reset

func (x *ReadCareScheduleRes) Reset()

func (*ReadCareScheduleRes) String

func (x *ReadCareScheduleRes) String() string

type ReadGardenReq

type ReadGardenReq struct {
	Filter *GardenInfo `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadGardenReq) Descriptor deprecated

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

Deprecated: Use ReadGardenReq.ProtoReflect.Descriptor instead.

func (*ReadGardenReq) GetFilter

func (x *ReadGardenReq) GetFilter() *GardenInfo

func (*ReadGardenReq) ProtoMessage

func (*ReadGardenReq) ProtoMessage()

func (*ReadGardenReq) ProtoReflect

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

func (*ReadGardenReq) Reset

func (x *ReadGardenReq) Reset()

func (*ReadGardenReq) String

func (x *ReadGardenReq) String() string

type ReadGardenRes

type ReadGardenRes struct {
	Garden *GardenInfo `protobuf:"bytes,1,opt,name=garden,proto3" json:"garden,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadGardenRes) Descriptor deprecated

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

Deprecated: Use ReadGardenRes.ProtoReflect.Descriptor instead.

func (*ReadGardenRes) GetGarden

func (x *ReadGardenRes) GetGarden() *GardenInfo

func (*ReadGardenRes) ProtoMessage

func (*ReadGardenRes) ProtoMessage()

func (*ReadGardenRes) ProtoReflect

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

func (*ReadGardenRes) Reset

func (x *ReadGardenRes) Reset()

func (*ReadGardenRes) String

func (x *ReadGardenRes) String() string

type ReadPermissionReq

type ReadPermissionReq struct {
	Filter *PermissionInfo `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadPermissionReq) Descriptor deprecated

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

Deprecated: Use ReadPermissionReq.ProtoReflect.Descriptor instead.

func (*ReadPermissionReq) GetFilter

func (x *ReadPermissionReq) GetFilter() *PermissionInfo

func (*ReadPermissionReq) ProtoMessage

func (*ReadPermissionReq) ProtoMessage()

func (*ReadPermissionReq) ProtoReflect

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

func (*ReadPermissionReq) Reset

func (x *ReadPermissionReq) Reset()

func (*ReadPermissionReq) String

func (x *ReadPermissionReq) String() string

type ReadPermissionRes

type ReadPermissionRes struct {
	Permission *PermissionInfo `protobuf:"bytes,1,opt,name=permission,proto3" json:"permission,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadPermissionRes) Descriptor deprecated

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

Deprecated: Use ReadPermissionRes.ProtoReflect.Descriptor instead.

func (*ReadPermissionRes) GetPermission

func (x *ReadPermissionRes) GetPermission() *PermissionInfo

func (*ReadPermissionRes) ProtoMessage

func (*ReadPermissionRes) ProtoMessage()

func (*ReadPermissionRes) ProtoReflect

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

func (*ReadPermissionRes) Reset

func (x *ReadPermissionRes) Reset()

func (*ReadPermissionRes) String

func (x *ReadPermissionRes) String() string

type ReadPlantReq

type ReadPlantReq struct {
	Filter *PlantInfo `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadPlantReq) Descriptor deprecated

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

Deprecated: Use ReadPlantReq.ProtoReflect.Descriptor instead.

func (*ReadPlantReq) GetFilter

func (x *ReadPlantReq) GetFilter() *PlantInfo

func (*ReadPlantReq) ProtoMessage

func (*ReadPlantReq) ProtoMessage()

func (*ReadPlantReq) ProtoReflect

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

func (*ReadPlantReq) Reset

func (x *ReadPlantReq) Reset()

func (*ReadPlantReq) String

func (x *ReadPlantReq) String() string

type ReadPlantRes

type ReadPlantRes struct {
	Plant *PlantInfo `protobuf:"bytes,1,opt,name=plant,proto3" json:"plant,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadPlantRes) Descriptor deprecated

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

Deprecated: Use ReadPlantRes.ProtoReflect.Descriptor instead.

func (*ReadPlantRes) GetPlant

func (x *ReadPlantRes) GetPlant() *PlantInfo

func (*ReadPlantRes) ProtoMessage

func (*ReadPlantRes) ProtoMessage()

func (*ReadPlantRes) ProtoReflect

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

func (*ReadPlantRes) Reset

func (x *ReadPlantRes) Reset()

func (*ReadPlantRes) String

func (x *ReadPlantRes) String() string

type ReadRoleReq

type ReadRoleReq struct {
	Filter *RoleInfo `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadRoleReq) Descriptor deprecated

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

Deprecated: Use ReadRoleReq.ProtoReflect.Descriptor instead.

func (*ReadRoleReq) GetFilter

func (x *ReadRoleReq) GetFilter() *RoleInfo

func (*ReadRoleReq) ProtoMessage

func (*ReadRoleReq) ProtoMessage()

func (*ReadRoleReq) ProtoReflect

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

func (*ReadRoleReq) Reset

func (x *ReadRoleReq) Reset()

func (*ReadRoleReq) String

func (x *ReadRoleReq) String() string

type ReadRoleRes

type ReadRoleRes struct {
	Role *RoleInfo `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadRoleRes) Descriptor deprecated

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

Deprecated: Use ReadRoleRes.ProtoReflect.Descriptor instead.

func (*ReadRoleRes) GetRole

func (x *ReadRoleRes) GetRole() *RoleInfo

func (*ReadRoleRes) ProtoMessage

func (*ReadRoleRes) ProtoMessage()

func (*ReadRoleRes) ProtoReflect

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

func (*ReadRoleRes) Reset

func (x *ReadRoleRes) Reset()

func (*ReadRoleRes) String

func (x *ReadRoleRes) String() string

type ReadUserReq

type ReadUserReq struct {
	Filter *UserInfo `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadUserReq) Descriptor deprecated

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

Deprecated: Use ReadUserReq.ProtoReflect.Descriptor instead.

func (*ReadUserReq) GetFilter

func (x *ReadUserReq) GetFilter() *UserInfo

func (*ReadUserReq) ProtoMessage

func (*ReadUserReq) ProtoMessage()

func (*ReadUserReq) ProtoReflect

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

func (*ReadUserReq) Reset

func (x *ReadUserReq) Reset()

func (*ReadUserReq) String

func (x *ReadUserReq) String() string

type ReadUserRes

type ReadUserRes struct {
	User *UserInfo `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadUserRes) Descriptor deprecated

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

Deprecated: Use ReadUserRes.ProtoReflect.Descriptor instead.

func (*ReadUserRes) GetUser

func (x *ReadUserRes) GetUser() *UserInfo

func (*ReadUserRes) ProtoMessage

func (*ReadUserRes) ProtoMessage()

func (*ReadUserRes) ProtoReflect

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

func (*ReadUserRes) Reset

func (x *ReadUserRes) Reset()

func (*ReadUserRes) String

func (x *ReadUserRes) String() string

type RegisterUserReq

type RegisterUserReq struct {
	FullName        string `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
	Email           string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	Password        string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	ConfirmPassword string `protobuf:"bytes,4,opt,name=confirm_password,json=confirmPassword,proto3" json:"confirm_password,omitempty"`
	Avatar          string `protobuf:"bytes,5,opt,name=avatar,proto3" json:"avatar,omitempty"`
	Address         string `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

RegisterUserReq represents for a register request

func (*RegisterUserReq) Descriptor deprecated

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

Deprecated: Use RegisterUserReq.ProtoReflect.Descriptor instead.

func (*RegisterUserReq) GetAddress

func (x *RegisterUserReq) GetAddress() string

func (*RegisterUserReq) GetAvatar

func (x *RegisterUserReq) GetAvatar() string

func (*RegisterUserReq) GetConfirmPassword

func (x *RegisterUserReq) GetConfirmPassword() string

func (*RegisterUserReq) GetEmail

func (x *RegisterUserReq) GetEmail() string

func (*RegisterUserReq) GetFullName

func (x *RegisterUserReq) GetFullName() string

func (*RegisterUserReq) GetPassword

func (x *RegisterUserReq) GetPassword() string

func (*RegisterUserReq) ProtoMessage

func (*RegisterUserReq) ProtoMessage()

func (*RegisterUserReq) ProtoReflect

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

func (*RegisterUserReq) Reset

func (x *RegisterUserReq) Reset()

func (*RegisterUserReq) String

func (x *RegisterUserReq) String() string

type RegisterUserRes

type RegisterUserRes struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

UserRes : user info

func (*RegisterUserRes) Descriptor deprecated

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

Deprecated: Use RegisterUserRes.ProtoReflect.Descriptor instead.

func (*RegisterUserRes) GetSuccess

func (x *RegisterUserRes) GetSuccess() bool

func (*RegisterUserRes) ProtoMessage

func (*RegisterUserRes) ProtoMessage()

func (*RegisterUserRes) ProtoReflect

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

func (*RegisterUserRes) Reset

func (x *RegisterUserRes) Reset()

func (*RegisterUserRes) String

func (x *RegisterUserRes) String() string

type RoleInfo

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

func (*RoleInfo) Descriptor deprecated

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

Deprecated: Use RoleInfo.ProtoReflect.Descriptor instead.

func (*RoleInfo) GetId

func (x *RoleInfo) GetId() string

func (*RoleInfo) GetName

func (x *RoleInfo) GetName() string

func (*RoleInfo) ProtoMessage

func (*RoleInfo) ProtoMessage()

func (*RoleInfo) ProtoReflect

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

func (*RoleInfo) Reset

func (x *RoleInfo) Reset()

func (*RoleInfo) String

func (x *RoleInfo) String() string

type RolePermissionInfo

type RolePermissionInfo struct {
	PermissionId string `protobuf:"bytes,1,opt,name=permission_id,json=permissionId,proto3" json:"permission_id,omitempty"`
	RoleId       string `protobuf:"bytes,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RolePermissionInfo) Descriptor deprecated

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

Deprecated: Use RolePermissionInfo.ProtoReflect.Descriptor instead.

func (*RolePermissionInfo) GetPermissionId

func (x *RolePermissionInfo) GetPermissionId() string

func (*RolePermissionInfo) GetRoleId

func (x *RolePermissionInfo) GetRoleId() string

func (*RolePermissionInfo) ProtoMessage

func (*RolePermissionInfo) ProtoMessage()

func (*RolePermissionInfo) ProtoReflect

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

func (*RolePermissionInfo) Reset

func (x *RolePermissionInfo) Reset()

func (*RolePermissionInfo) String

func (x *RolePermissionInfo) String() string

type RolePermissionSrvClient

type RolePermissionSrvClient interface {
	CreatePermissionForRole(ctx context.Context, in *CreateRolePermissionReq, opts ...grpc.CallOption) (*CreateRolePermissionRes, error)
	UpdatePermissionForRole(ctx context.Context, in *UpdateRolePermissionReq, opts ...grpc.CallOption) (*UpdateRolePermissionRes, error)
	ListPermissionOfRole(ctx context.Context, in *ListRolePermissionsReq, opts ...grpc.CallOption) (*ListRolePermissionsRes, error)
	DeletePermissionOfRole(ctx context.Context, in *DeleteRolePermissionReq, opts ...grpc.CallOption) (*DeleteRolePermissionRes, error)
}

RolePermissionSrvClient is the client API for RolePermissionSrv 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.

type RolePermissionSrvServer

type RolePermissionSrvServer interface {
	CreatePermissionForRole(context.Context, *CreateRolePermissionReq) (*CreateRolePermissionRes, error)
	UpdatePermissionForRole(context.Context, *UpdateRolePermissionReq) (*UpdateRolePermissionRes, error)
	ListPermissionOfRole(context.Context, *ListRolePermissionsReq) (*ListRolePermissionsRes, error)
	DeletePermissionOfRole(context.Context, *DeleteRolePermissionReq) (*DeleteRolePermissionRes, error)
	// contains filtered or unexported methods
}

RolePermissionSrvServer is the server API for RolePermissionSrv service. All implementations must embed UnimplementedRolePermissionSrvServer for forward compatibility.

type RoleSrvClient

type RoleSrvClient interface {
	Create(ctx context.Context, in *CreateRoleReq, opts ...grpc.CallOption) (*CreateRoleRes, error)
	Update(ctx context.Context, in *UpdateRoleReq, opts ...grpc.CallOption) (*UpdateRoleRes, error)
	List(ctx context.Context, in *ListRolesReq, opts ...grpc.CallOption) (*ListRolesRes, error)
	Read(ctx context.Context, in *ReadRoleReq, opts ...grpc.CallOption) (*ReadRoleRes, error)
	Delete(ctx context.Context, in *DeleteRoleReq, opts ...grpc.CallOption) (*DeleteRoleRes, error)
}

RoleSrvClient is the client API for RoleSrv 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 NewRoleSrvClient

func NewRoleSrvClient(cc grpc.ClientConnInterface) RoleSrvClient

type RoleSrvServer

type RoleSrvServer interface {
	Create(context.Context, *CreateRoleReq) (*CreateRoleRes, error)
	Update(context.Context, *UpdateRoleReq) (*UpdateRoleRes, error)
	List(context.Context, *ListRolesReq) (*ListRolesRes, error)
	Read(context.Context, *ReadRoleReq) (*ReadRoleRes, error)
	Delete(context.Context, *DeleteRoleReq) (*DeleteRoleRes, error)
	// contains filtered or unexported methods
}

RoleSrvServer is the server API for RoleSrv service. All implementations must embed UnimplementedRoleSrvServer for forward compatibility.

type SendCareScheduleReminderReq

type SendCareScheduleReminderReq struct {
	ReceiverId string `protobuf:"bytes,1,opt,name=receiver_id,json=receiverId,proto3" json:"receiver_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SendCareScheduleReminderReq) Descriptor deprecated

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

Deprecated: Use SendCareScheduleReminderReq.ProtoReflect.Descriptor instead.

func (*SendCareScheduleReminderReq) GetReceiverId

func (x *SendCareScheduleReminderReq) GetReceiverId() string

func (*SendCareScheduleReminderReq) ProtoMessage

func (*SendCareScheduleReminderReq) ProtoMessage()

func (*SendCareScheduleReminderReq) ProtoReflect

func (*SendCareScheduleReminderReq) Reset

func (x *SendCareScheduleReminderReq) Reset()

func (*SendCareScheduleReminderReq) String

func (x *SendCareScheduleReminderReq) String() string

type SendCareScheduleReminderRes

type SendCareScheduleReminderRes struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*SendCareScheduleReminderRes) Descriptor deprecated

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

Deprecated: Use SendCareScheduleReminderRes.ProtoReflect.Descriptor instead.

func (*SendCareScheduleReminderRes) GetSuccess

func (x *SendCareScheduleReminderRes) GetSuccess() bool

func (*SendCareScheduleReminderRes) ProtoMessage

func (*SendCareScheduleReminderRes) ProtoMessage()

func (*SendCareScheduleReminderRes) ProtoReflect

func (*SendCareScheduleReminderRes) Reset

func (x *SendCareScheduleReminderRes) Reset()

func (*SendCareScheduleReminderRes) String

func (x *SendCareScheduleReminderRes) String() string

type SendOTPReq

type SendOTPReq struct {
	Otp   string `protobuf:"bytes,1,opt,name=otp,proto3" json:"otp,omitempty"`
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*SendOTPReq) Descriptor deprecated

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

Deprecated: Use SendOTPReq.ProtoReflect.Descriptor instead.

func (*SendOTPReq) GetEmail

func (x *SendOTPReq) GetEmail() string

func (*SendOTPReq) GetOtp

func (x *SendOTPReq) GetOtp() string

func (*SendOTPReq) ProtoMessage

func (*SendOTPReq) ProtoMessage()

func (*SendOTPReq) ProtoReflect

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

func (*SendOTPReq) Reset

func (x *SendOTPReq) Reset()

func (*SendOTPReq) String

func (x *SendOTPReq) String() string

type SendOTPRes

type SendOTPRes struct {
	Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	// contains filtered or unexported fields
}

func (*SendOTPRes) Descriptor deprecated

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

Deprecated: Use SendOTPRes.ProtoReflect.Descriptor instead.

func (*SendOTPRes) GetOk

func (x *SendOTPRes) GetOk() bool

func (*SendOTPRes) ProtoMessage

func (*SendOTPRes) ProtoMessage()

func (*SendOTPRes) ProtoReflect

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

func (*SendOTPRes) Reset

func (x *SendOTPRes) Reset()

func (*SendOTPRes) String

func (x *SendOTPRes) String() string

type StorageSrvClient

type StorageSrvClient interface {
	UploadAvatar(ctx context.Context, in *UploadAvatarRequest, opts ...grpc.CallOption) (*UploadAvatarResponse, error)
	GetPresignedGetObjectURL(ctx context.Context, in *GetPresignedGetObjectURLRequest, opts ...grpc.CallOption) (*GetPresignedGetObjectURLResponse, error)
	CheckObjectExist(ctx context.Context, in *CheckObjectExistResquest, opts ...grpc.CallOption) (*CheckObjectExistResponse, error)
}

StorageSrvClient is the client API for StorageSrv 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 NewStorageSrvClient

func NewStorageSrvClient(cc grpc.ClientConnInterface) StorageSrvClient

type StorageSrvServer

type StorageSrvServer interface {
	UploadAvatar(context.Context, *UploadAvatarRequest) (*UploadAvatarResponse, error)
	GetPresignedGetObjectURL(context.Context, *GetPresignedGetObjectURLRequest) (*GetPresignedGetObjectURLResponse, error)
	CheckObjectExist(context.Context, *CheckObjectExistResquest) (*CheckObjectExistResponse, error)
	// contains filtered or unexported methods
}

StorageSrvServer is the server API for StorageSrv service. All implementations must embed UnimplementedStorageSrvServer for forward compatibility.

type UnimplementedCareScheduleReminderSrvServer

type UnimplementedCareScheduleReminderSrvServer struct{}

UnimplementedCareScheduleReminderSrvServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedCareScheduleReminderSrvServer) SendCareScheduleReminder

type UnimplementedCareScheduleSrvServer

type UnimplementedCareScheduleSrvServer struct{}

UnimplementedCareScheduleSrvServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedCareScheduleSrvServer) Create

func (UnimplementedCareScheduleSrvServer) Delete

func (UnimplementedCareScheduleSrvServer) List

func (UnimplementedCareScheduleSrvServer) ListForCareRemider

func (UnimplementedCareScheduleSrvServer) Read

func (UnimplementedCareScheduleSrvServer) Update

type UnimplementedGardenSrvServer

type UnimplementedGardenSrvServer struct{}

UnimplementedGardenSrvServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedGardenSrvServer) Create

func (UnimplementedGardenSrvServer) Delete

func (UnimplementedGardenSrvServer) List

func (UnimplementedGardenSrvServer) Read

func (UnimplementedGardenSrvServer) Update

type UnimplementedOTPSrvServer

type UnimplementedOTPSrvServer struct{}

UnimplementedOTPSrvServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedOTPSrvServer) ConfirmOTP

func (UnimplementedOTPSrvServer) GetOTP

func (UnimplementedOTPSrvServer) SendOTP

type UnimplementedPermissionSrvServer

type UnimplementedPermissionSrvServer struct{}

UnimplementedPermissionSrvServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedPermissionSrvServer) Create

func (UnimplementedPermissionSrvServer) Delete

func (UnimplementedPermissionSrvServer) List

func (UnimplementedPermissionSrvServer) Read

func (UnimplementedPermissionSrvServer) Update

type UnimplementedPlantSrvServer

type UnimplementedPlantSrvServer struct{}

UnimplementedPlantSrvServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedPlantSrvServer) CheckPlantExist

func (UnimplementedPlantSrvServer) Create

func (UnimplementedPlantSrvServer) Delete

func (UnimplementedPlantSrvServer) GetPlantName

func (UnimplementedPlantSrvServer) List

func (UnimplementedPlantSrvServer) Read

func (UnimplementedPlantSrvServer) Update

func (UnimplementedPlantSrvServer) UpdateAvatarPlant

type UnimplementedRolePermissionSrvServer

type UnimplementedRolePermissionSrvServer struct{}

UnimplementedRolePermissionSrvServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedRolePermissionSrvServer) CreatePermissionForRole

func (UnimplementedRolePermissionSrvServer) DeletePermissionOfRole

func (UnimplementedRolePermissionSrvServer) ListPermissionOfRole

func (UnimplementedRolePermissionSrvServer) UpdatePermissionForRole

type UnimplementedRoleSrvServer

type UnimplementedRoleSrvServer struct{}

UnimplementedRoleSrvServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedRoleSrvServer) Create

func (UnimplementedRoleSrvServer) Delete

func (UnimplementedRoleSrvServer) List

func (UnimplementedRoleSrvServer) Read

func (UnimplementedRoleSrvServer) Update

type UnimplementedStorageSrvServer

type UnimplementedStorageSrvServer struct{}

UnimplementedStorageSrvServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedStorageSrvServer) CheckObjectExist

func (UnimplementedStorageSrvServer) UploadAvatar

type UnimplementedUserRoleSrvServer

type UnimplementedUserRoleSrvServer struct{}

UnimplementedUserRoleSrvServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedUserRoleSrvServer) CreateRoleForUser

func (UnimplementedUserRoleSrvServer) DeleteRoleOfUser

func (UnimplementedUserRoleSrvServer) ListRoleOfUser

func (UnimplementedUserRoleSrvServer) UpdateRoleForUser

type UnimplementedUserSrvServer

type UnimplementedUserSrvServer struct{}

UnimplementedUserSrvServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedUserSrvServer) ChangePassword

func (UnimplementedUserSrvServer) Delete

func (UnimplementedUserSrvServer) List

func (UnimplementedUserSrvServer) Login

func (UnimplementedUserSrvServer) Read

func (UnimplementedUserSrvServer) Register

func (UnimplementedUserSrvServer) Update

func (UnimplementedUserSrvServer) UpdateAvatar

type UnimplementedWeatherSrvServer

type UnimplementedWeatherSrvServer struct{}

UnimplementedWeatherSrvServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedWeatherSrvServer) GetWeather

type UnsafeCareScheduleReminderSrvServer

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

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

type UnsafeCareScheduleSrvServer

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

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

type UnsafeGardenSrvServer

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

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

type UnsafeOTPSrvServer

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

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

type UnsafePermissionSrvServer

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

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

type UnsafePlantSrvServer

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

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

type UnsafeRolePermissionSrvServer

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

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

type UnsafeRoleSrvServer

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

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

type UnsafeStorageSrvServer

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

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

type UnsafeUserRoleSrvServer

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

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

type UnsafeUserSrvServer

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

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

type UnsafeWeatherSrvServer

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

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

type UpdateAvatarPlantReq

type UpdateAvatarPlantReq struct {
	PlantId string `protobuf:"bytes,1,opt,name=plant_id,json=plantId,proto3" json:"plant_id,omitempty"`
	Path    string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAvatarPlantReq) Descriptor deprecated

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

Deprecated: Use UpdateAvatarPlantReq.ProtoReflect.Descriptor instead.

func (*UpdateAvatarPlantReq) GetPath

func (x *UpdateAvatarPlantReq) GetPath() string

func (*UpdateAvatarPlantReq) GetPlantId

func (x *UpdateAvatarPlantReq) GetPlantId() string

func (*UpdateAvatarPlantReq) ProtoMessage

func (*UpdateAvatarPlantReq) ProtoMessage()

func (*UpdateAvatarPlantReq) ProtoReflect

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

func (*UpdateAvatarPlantReq) Reset

func (x *UpdateAvatarPlantReq) Reset()

func (*UpdateAvatarPlantReq) String

func (x *UpdateAvatarPlantReq) String() string

type UpdateAvatarPlantRes

type UpdateAvatarPlantRes struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAvatarPlantRes) Descriptor deprecated

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

Deprecated: Use UpdateAvatarPlantRes.ProtoReflect.Descriptor instead.

func (*UpdateAvatarPlantRes) GetSuccess

func (x *UpdateAvatarPlantRes) GetSuccess() bool

func (*UpdateAvatarPlantRes) ProtoMessage

func (*UpdateAvatarPlantRes) ProtoMessage()

func (*UpdateAvatarPlantRes) ProtoReflect

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

func (*UpdateAvatarPlantRes) Reset

func (x *UpdateAvatarPlantRes) Reset()

func (*UpdateAvatarPlantRes) String

func (x *UpdateAvatarPlantRes) String() string

type UpdateAvatarReq

type UpdateAvatarReq struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAvatarReq) Descriptor deprecated

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

Deprecated: Use UpdateAvatarReq.ProtoReflect.Descriptor instead.

func (*UpdateAvatarReq) GetPath

func (x *UpdateAvatarReq) GetPath() string

func (*UpdateAvatarReq) ProtoMessage

func (*UpdateAvatarReq) ProtoMessage()

func (*UpdateAvatarReq) ProtoReflect

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

func (*UpdateAvatarReq) Reset

func (x *UpdateAvatarReq) Reset()

func (*UpdateAvatarReq) String

func (x *UpdateAvatarReq) String() string

type UpdateAvatarRes

type UpdateAvatarRes struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAvatarRes) Descriptor deprecated

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

Deprecated: Use UpdateAvatarRes.ProtoReflect.Descriptor instead.

func (*UpdateAvatarRes) GetSuccess

func (x *UpdateAvatarRes) GetSuccess() bool

func (*UpdateAvatarRes) ProtoMessage

func (*UpdateAvatarRes) ProtoMessage()

func (*UpdateAvatarRes) ProtoReflect

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

func (*UpdateAvatarRes) Reset

func (x *UpdateAvatarRes) Reset()

func (*UpdateAvatarRes) String

func (x *UpdateAvatarRes) String() string

type UpdateCareScheduleReq

type UpdateCareScheduleReq struct {
	CareSchedule *CareScheduleInfo `protobuf:"bytes,1,opt,name=careSchedule,proto3" json:"careSchedule,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCareScheduleReq) Descriptor deprecated

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

Deprecated: Use UpdateCareScheduleReq.ProtoReflect.Descriptor instead.

func (*UpdateCareScheduleReq) GetCareSchedule

func (x *UpdateCareScheduleReq) GetCareSchedule() *CareScheduleInfo

func (*UpdateCareScheduleReq) ProtoMessage

func (*UpdateCareScheduleReq) ProtoMessage()

func (*UpdateCareScheduleReq) ProtoReflect

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

func (*UpdateCareScheduleReq) Reset

func (x *UpdateCareScheduleReq) Reset()

func (*UpdateCareScheduleReq) String

func (x *UpdateCareScheduleReq) String() string

type UpdateCareScheduleRes

type UpdateCareScheduleRes struct {
	Schedule *CareScheduleInfo `protobuf:"bytes,1,opt,name=schedule,proto3" json:"schedule,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCareScheduleRes) Descriptor deprecated

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

Deprecated: Use UpdateCareScheduleRes.ProtoReflect.Descriptor instead.

func (*UpdateCareScheduleRes) GetSchedule

func (x *UpdateCareScheduleRes) GetSchedule() *CareScheduleInfo

func (*UpdateCareScheduleRes) ProtoMessage

func (*UpdateCareScheduleRes) ProtoMessage()

func (*UpdateCareScheduleRes) ProtoReflect

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

func (*UpdateCareScheduleRes) Reset

func (x *UpdateCareScheduleRes) Reset()

func (*UpdateCareScheduleRes) String

func (x *UpdateCareScheduleRes) String() string

type UpdateGardenReq

type UpdateGardenReq struct {
	Garden *GardenInfo `protobuf:"bytes,1,opt,name=garden,proto3" json:"garden,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateGardenReq) Descriptor deprecated

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

Deprecated: Use UpdateGardenReq.ProtoReflect.Descriptor instead.

func (*UpdateGardenReq) GetGarden

func (x *UpdateGardenReq) GetGarden() *GardenInfo

func (*UpdateGardenReq) ProtoMessage

func (*UpdateGardenReq) ProtoMessage()

func (*UpdateGardenReq) ProtoReflect

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

func (*UpdateGardenReq) Reset

func (x *UpdateGardenReq) Reset()

func (*UpdateGardenReq) String

func (x *UpdateGardenReq) String() string

type UpdateGardenRes

type UpdateGardenRes struct {
	Garden *GardenInfo `protobuf:"bytes,1,opt,name=garden,proto3" json:"garden,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateGardenRes) Descriptor deprecated

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

Deprecated: Use UpdateGardenRes.ProtoReflect.Descriptor instead.

func (*UpdateGardenRes) GetGarden

func (x *UpdateGardenRes) GetGarden() *GardenInfo

func (*UpdateGardenRes) ProtoMessage

func (*UpdateGardenRes) ProtoMessage()

func (*UpdateGardenRes) ProtoReflect

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

func (*UpdateGardenRes) Reset

func (x *UpdateGardenRes) Reset()

func (*UpdateGardenRes) String

func (x *UpdateGardenRes) String() string

type UpdatePermissionReq

type UpdatePermissionReq struct {
	Permission *PermissionInfo `protobuf:"bytes,1,opt,name=permission,proto3" json:"permission,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePermissionReq) Descriptor deprecated

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

Deprecated: Use UpdatePermissionReq.ProtoReflect.Descriptor instead.

func (*UpdatePermissionReq) GetPermission

func (x *UpdatePermissionReq) GetPermission() *PermissionInfo

func (*UpdatePermissionReq) ProtoMessage

func (*UpdatePermissionReq) ProtoMessage()

func (*UpdatePermissionReq) ProtoReflect

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

func (*UpdatePermissionReq) Reset

func (x *UpdatePermissionReq) Reset()

func (*UpdatePermissionReq) String

func (x *UpdatePermissionReq) String() string

type UpdatePermissionRes

type UpdatePermissionRes struct {
	Permission *PermissionInfo `protobuf:"bytes,1,opt,name=permission,proto3" json:"permission,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePermissionRes) Descriptor deprecated

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

Deprecated: Use UpdatePermissionRes.ProtoReflect.Descriptor instead.

func (*UpdatePermissionRes) GetPermission

func (x *UpdatePermissionRes) GetPermission() *PermissionInfo

func (*UpdatePermissionRes) ProtoMessage

func (*UpdatePermissionRes) ProtoMessage()

func (*UpdatePermissionRes) ProtoReflect

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

func (*UpdatePermissionRes) Reset

func (x *UpdatePermissionRes) Reset()

func (*UpdatePermissionRes) String

func (x *UpdatePermissionRes) String() string

type UpdatePlantReq

type UpdatePlantReq struct {
	Plant *PlantInfo `protobuf:"bytes,1,opt,name=plant,proto3" json:"plant,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePlantReq) Descriptor deprecated

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

Deprecated: Use UpdatePlantReq.ProtoReflect.Descriptor instead.

func (*UpdatePlantReq) GetPlant

func (x *UpdatePlantReq) GetPlant() *PlantInfo

func (*UpdatePlantReq) ProtoMessage

func (*UpdatePlantReq) ProtoMessage()

func (*UpdatePlantReq) ProtoReflect

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

func (*UpdatePlantReq) Reset

func (x *UpdatePlantReq) Reset()

func (*UpdatePlantReq) String

func (x *UpdatePlantReq) String() string

type UpdatePlantRes

type UpdatePlantRes struct {
	Plant *PlantInfo `protobuf:"bytes,1,opt,name=plant,proto3" json:"plant,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePlantRes) Descriptor deprecated

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

Deprecated: Use UpdatePlantRes.ProtoReflect.Descriptor instead.

func (*UpdatePlantRes) GetPlant

func (x *UpdatePlantRes) GetPlant() *PlantInfo

func (*UpdatePlantRes) ProtoMessage

func (*UpdatePlantRes) ProtoMessage()

func (*UpdatePlantRes) ProtoReflect

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

func (*UpdatePlantRes) Reset

func (x *UpdatePlantRes) Reset()

func (*UpdatePlantRes) String

func (x *UpdatePlantRes) String() string

type UpdateRolePermissionReq

type UpdateRolePermissionReq struct {
	RoleId          string `protobuf:"bytes,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	OldPermissionId string `protobuf:"bytes,2,opt,name=old_permission_id,json=oldPermissionId,proto3" json:"old_permission_id,omitempty"`
	NewPermissionId string `protobuf:"bytes,3,opt,name=new_permission_id,json=newPermissionId,proto3" json:"new_permission_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRolePermissionReq) Descriptor deprecated

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

Deprecated: Use UpdateRolePermissionReq.ProtoReflect.Descriptor instead.

func (*UpdateRolePermissionReq) GetNewPermissionId

func (x *UpdateRolePermissionReq) GetNewPermissionId() string

func (*UpdateRolePermissionReq) GetOldPermissionId

func (x *UpdateRolePermissionReq) GetOldPermissionId() string

func (*UpdateRolePermissionReq) GetRoleId

func (x *UpdateRolePermissionReq) GetRoleId() string

func (*UpdateRolePermissionReq) ProtoMessage

func (*UpdateRolePermissionReq) ProtoMessage()

func (*UpdateRolePermissionReq) ProtoReflect

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

func (*UpdateRolePermissionReq) Reset

func (x *UpdateRolePermissionReq) Reset()

func (*UpdateRolePermissionReq) String

func (x *UpdateRolePermissionReq) String() string

type UpdateRolePermissionRes

type UpdateRolePermissionRes struct {
	RolePermission *RolePermissionInfo `protobuf:"bytes,1,opt,name=role_permission,json=rolePermission,proto3" json:"role_permission,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRolePermissionRes) Descriptor deprecated

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

Deprecated: Use UpdateRolePermissionRes.ProtoReflect.Descriptor instead.

func (*UpdateRolePermissionRes) GetRolePermission

func (x *UpdateRolePermissionRes) GetRolePermission() *RolePermissionInfo

func (*UpdateRolePermissionRes) ProtoMessage

func (*UpdateRolePermissionRes) ProtoMessage()

func (*UpdateRolePermissionRes) ProtoReflect

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

func (*UpdateRolePermissionRes) Reset

func (x *UpdateRolePermissionRes) Reset()

func (*UpdateRolePermissionRes) String

func (x *UpdateRolePermissionRes) String() string

type UpdateRoleReq

type UpdateRoleReq struct {
	Role *RoleInfo `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRoleReq) Descriptor deprecated

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

Deprecated: Use UpdateRoleReq.ProtoReflect.Descriptor instead.

func (*UpdateRoleReq) GetRole

func (x *UpdateRoleReq) GetRole() *RoleInfo

func (*UpdateRoleReq) ProtoMessage

func (*UpdateRoleReq) ProtoMessage()

func (*UpdateRoleReq) ProtoReflect

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

func (*UpdateRoleReq) Reset

func (x *UpdateRoleReq) Reset()

func (*UpdateRoleReq) String

func (x *UpdateRoleReq) String() string

type UpdateRoleRes

type UpdateRoleRes struct {
	Role *RoleInfo `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRoleRes) Descriptor deprecated

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

Deprecated: Use UpdateRoleRes.ProtoReflect.Descriptor instead.

func (*UpdateRoleRes) GetRole

func (x *UpdateRoleRes) GetRole() *RoleInfo

func (*UpdateRoleRes) ProtoMessage

func (*UpdateRoleRes) ProtoMessage()

func (*UpdateRoleRes) ProtoReflect

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

func (*UpdateRoleRes) Reset

func (x *UpdateRoleRes) Reset()

func (*UpdateRoleRes) String

func (x *UpdateRoleRes) String() string

type UpdateUserReq

type UpdateUserReq struct {
	User *UserInfo `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserReq) Descriptor deprecated

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

Deprecated: Use UpdateUserReq.ProtoReflect.Descriptor instead.

func (*UpdateUserReq) GetUser

func (x *UpdateUserReq) GetUser() *UserInfo

func (*UpdateUserReq) ProtoMessage

func (*UpdateUserReq) ProtoMessage()

func (*UpdateUserReq) ProtoReflect

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

func (*UpdateUserReq) Reset

func (x *UpdateUserReq) Reset()

func (*UpdateUserReq) String

func (x *UpdateUserReq) String() string

type UpdateUserRes

type UpdateUserRes struct {
	User *UserInfo `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserRes) Descriptor deprecated

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

Deprecated: Use UpdateUserRes.ProtoReflect.Descriptor instead.

func (*UpdateUserRes) GetUser

func (x *UpdateUserRes) GetUser() *UserInfo

func (*UpdateUserRes) ProtoMessage

func (*UpdateUserRes) ProtoMessage()

func (*UpdateUserRes) ProtoReflect

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

func (*UpdateUserRes) Reset

func (x *UpdateUserRes) Reset()

func (*UpdateUserRes) String

func (x *UpdateUserRes) String() string

type UpdateUserRoleReq

type UpdateUserRoleReq struct {
	UserId    string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	OldRoleId string `protobuf:"bytes,2,opt,name=old_role_id,json=oldRoleId,proto3" json:"old_role_id,omitempty"`
	NewRoleId string `protobuf:"bytes,3,opt,name=new_role_id,json=newRoleId,proto3" json:"new_role_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserRoleReq) Descriptor deprecated

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

Deprecated: Use UpdateUserRoleReq.ProtoReflect.Descriptor instead.

func (*UpdateUserRoleReq) GetNewRoleId

func (x *UpdateUserRoleReq) GetNewRoleId() string

func (*UpdateUserRoleReq) GetOldRoleId

func (x *UpdateUserRoleReq) GetOldRoleId() string

func (*UpdateUserRoleReq) GetUserId

func (x *UpdateUserRoleReq) GetUserId() string

func (*UpdateUserRoleReq) ProtoMessage

func (*UpdateUserRoleReq) ProtoMessage()

func (*UpdateUserRoleReq) ProtoReflect

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

func (*UpdateUserRoleReq) Reset

func (x *UpdateUserRoleReq) Reset()

func (*UpdateUserRoleReq) String

func (x *UpdateUserRoleReq) String() string

type UpdateUserRoleRes

type UpdateUserRoleRes struct {
	UserRole *UserRoleInfo `protobuf:"bytes,1,opt,name=user_role,json=userRole,proto3" json:"user_role,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserRoleRes) Descriptor deprecated

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

Deprecated: Use UpdateUserRoleRes.ProtoReflect.Descriptor instead.

func (*UpdateUserRoleRes) GetUserRole

func (x *UpdateUserRoleRes) GetUserRole() *UserRoleInfo

func (*UpdateUserRoleRes) ProtoMessage

func (*UpdateUserRoleRes) ProtoMessage()

func (*UpdateUserRoleRes) ProtoReflect

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

func (*UpdateUserRoleRes) Reset

func (x *UpdateUserRoleRes) Reset()

func (*UpdateUserRoleRes) String

func (x *UpdateUserRoleRes) String() string

type UploadAvatarRequest

type UploadAvatarRequest struct {
	PictureName string `protobuf:"bytes,1,opt,name=pictureName,proto3" json:"pictureName,omitempty"` // anhSinhVien1.png
	// contains filtered or unexported fields
}

func (*UploadAvatarRequest) Descriptor deprecated

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

Deprecated: Use UploadAvatarRequest.ProtoReflect.Descriptor instead.

func (*UploadAvatarRequest) GetPictureName

func (x *UploadAvatarRequest) GetPictureName() string

func (*UploadAvatarRequest) ProtoMessage

func (*UploadAvatarRequest) ProtoMessage()

func (*UploadAvatarRequest) ProtoReflect

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

func (*UploadAvatarRequest) Reset

func (x *UploadAvatarRequest) Reset()

func (*UploadAvatarRequest) String

func (x *UploadAvatarRequest) String() string

type UploadAvatarResponse

type UploadAvatarResponse struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // token_anhSinhVien1.png
	Url  string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`   // https://localhost:9000/put ....
	// contains filtered or unexported fields
}

func (*UploadAvatarResponse) Descriptor deprecated

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

Deprecated: Use UploadAvatarResponse.ProtoReflect.Descriptor instead.

func (*UploadAvatarResponse) GetPath

func (x *UploadAvatarResponse) GetPath() string

func (*UploadAvatarResponse) GetUrl

func (x *UploadAvatarResponse) GetUrl() string

func (*UploadAvatarResponse) ProtoMessage

func (*UploadAvatarResponse) ProtoMessage()

func (*UploadAvatarResponse) ProtoReflect

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

func (*UploadAvatarResponse) Reset

func (x *UploadAvatarResponse) Reset()

func (*UploadAvatarResponse) String

func (x *UploadAvatarResponse) String() string

type UserInfo

type UserInfo struct {
	Id          string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	FullName    string                 `protobuf:"bytes,2,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
	Email       string                 `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	Password    string                 `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	Avatar      string                 `protobuf:"bytes,5,opt,name=avatar,proto3" json:"avatar,omitempty"`
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	Address     string                 `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

UserInfo represents for an user information

func (*UserInfo) Descriptor deprecated

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

Deprecated: Use UserInfo.ProtoReflect.Descriptor instead.

func (*UserInfo) GetAddress

func (x *UserInfo) GetAddress() string

func (*UserInfo) GetAvatar

func (x *UserInfo) GetAvatar() string

func (*UserInfo) GetCreatedTime

func (x *UserInfo) GetCreatedTime() *timestamppb.Timestamp

func (*UserInfo) GetEmail

func (x *UserInfo) GetEmail() string

func (*UserInfo) GetFullName

func (x *UserInfo) GetFullName() string

func (*UserInfo) GetId

func (x *UserInfo) GetId() string

func (*UserInfo) GetPassword

func (x *UserInfo) GetPassword() string

func (*UserInfo) ProtoMessage

func (*UserInfo) ProtoMessage()

func (*UserInfo) ProtoReflect

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

func (*UserInfo) Reset

func (x *UserInfo) Reset()

func (*UserInfo) String

func (x *UserInfo) String() string

type UserRoleInfo

type UserRoleInfo struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	RoleId string `protobuf:"bytes,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UserRoleInfo) Descriptor deprecated

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

Deprecated: Use UserRoleInfo.ProtoReflect.Descriptor instead.

func (*UserRoleInfo) GetRoleId

func (x *UserRoleInfo) GetRoleId() string

func (*UserRoleInfo) GetUserId

func (x *UserRoleInfo) GetUserId() string

func (*UserRoleInfo) ProtoMessage

func (*UserRoleInfo) ProtoMessage()

func (*UserRoleInfo) ProtoReflect

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

func (*UserRoleInfo) Reset

func (x *UserRoleInfo) Reset()

func (*UserRoleInfo) String

func (x *UserRoleInfo) String() string

type UserRoleSrvClient

type UserRoleSrvClient interface {
	CreateRoleForUser(ctx context.Context, in *CreateUserRoleReq, opts ...grpc.CallOption) (*CreateUserRoleRes, error)
	UpdateRoleForUser(ctx context.Context, in *UpdateUserRoleReq, opts ...grpc.CallOption) (*UpdateUserRoleRes, error)
	ListRoleOfUser(ctx context.Context, in *ListUserRolesReq, opts ...grpc.CallOption) (*ListUserRolesRes, error)
	DeleteRoleOfUser(ctx context.Context, in *DeleteUserRoleReq, opts ...grpc.CallOption) (*DeleteUserRoleRes, error)
}

UserRoleSrvClient is the client API for UserRoleSrv 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.

type UserRoleSrvServer

type UserRoleSrvServer interface {
	CreateRoleForUser(context.Context, *CreateUserRoleReq) (*CreateUserRoleRes, error)
	UpdateRoleForUser(context.Context, *UpdateUserRoleReq) (*UpdateUserRoleRes, error)
	ListRoleOfUser(context.Context, *ListUserRolesReq) (*ListUserRolesRes, error)
	DeleteRoleOfUser(context.Context, *DeleteUserRoleReq) (*DeleteUserRoleRes, error)
	// contains filtered or unexported methods
}

UserRoleSrvServer is the server API for UserRoleSrv service. All implementations must embed UnimplementedUserRoleSrvServer for forward compatibility.

type UserSrvClient

type UserSrvClient interface {
	// auth rpc
	Register(ctx context.Context, in *RegisterUserReq, opts ...grpc.CallOption) (*RegisterUserRes, error)
	Login(ctx context.Context, in *LoginReq, opts ...grpc.CallOption) (*LoginRes, error)
	Read(ctx context.Context, in *ReadUserReq, opts ...grpc.CallOption) (*ReadUserRes, error)
	List(ctx context.Context, in *ListUserReq, opts ...grpc.CallOption) (*ListUserRes, error)
	Update(ctx context.Context, in *UpdateUserReq, opts ...grpc.CallOption) (*UpdateUserRes, error)
	Delete(ctx context.Context, in *DeleteUserReq, opts ...grpc.CallOption) (*DeleteUserRes, error)
	ChangePassword(ctx context.Context, in *ChangePasswordReq, opts ...grpc.CallOption) (*ChangePasswordRes, error)
	UpdateAvatar(ctx context.Context, in *UpdateAvatarReq, opts ...grpc.CallOption) (*UpdateAvatarRes, error)
}

UserSrvClient is the client API for UserSrv 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.

UserSrv: business logic of user-service

func NewUserSrvClient

func NewUserSrvClient(cc grpc.ClientConnInterface) UserSrvClient

type UserSrvServer

type UserSrvServer interface {
	// auth rpc
	Register(context.Context, *RegisterUserReq) (*RegisterUserRes, error)
	Login(context.Context, *LoginReq) (*LoginRes, error)
	Read(context.Context, *ReadUserReq) (*ReadUserRes, error)
	List(context.Context, *ListUserReq) (*ListUserRes, error)
	Update(context.Context, *UpdateUserReq) (*UpdateUserRes, error)
	Delete(context.Context, *DeleteUserReq) (*DeleteUserRes, error)
	ChangePassword(context.Context, *ChangePasswordReq) (*ChangePasswordRes, error)
	UpdateAvatar(context.Context, *UpdateAvatarReq) (*UpdateAvatarRes, error)
	// contains filtered or unexported methods
}

UserSrvServer is the server API for UserSrv service. All implementations must embed UnimplementedUserSrvServer for forward compatibility.

UserSrv: business logic of user-service

type WeatherSrvClient

type WeatherSrvClient interface {
	GetWeather(ctx context.Context, in *GetWeatherReq, opts ...grpc.CallOption) (*GetWeatherRes, error)
}

WeatherSrvClient is the client API for WeatherSrv 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 NewWeatherSrvClient

func NewWeatherSrvClient(cc grpc.ClientConnInterface) WeatherSrvClient

type WeatherSrvServer

type WeatherSrvServer interface {
	GetWeather(context.Context, *GetWeatherReq) (*GetWeatherRes, error)
	// contains filtered or unexported methods
}

WeatherSrvServer is the server API for WeatherSrv service. All implementations must embed UnimplementedWeatherSrvServer for forward compatibility.

Jump to

Keyboard shortcuts

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